IR_x86
stringlengths
592
249k
IR_arm
stringlengths
558
250k
filename
stringlengths
17
191
; ModuleID = 'AnghaBench/postgres/src/backend/utils/adt/extr_timestamp.c_timestamptz_trunc_internal.c' source_filename = "AnghaBench/postgres/src/backend/utils/adt/extr_timestamp.c_timestamptz_trunc_internal.c" target datalayout = "e-m:e-p270:32:32-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.pg_tm = type { i32, i32, i32, i32, i32, i32 } @UNITS = dso_local local_unnamed_addr global i32 0, align 4 @ERROR = dso_local local_unnamed_addr global i32 0, align 4 @ERRCODE_DATETIME_VALUE_OUT_OF_RANGE = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [23 x i8] c"timestamp out of range\00", align 1 @MONTHS_PER_YEAR = dso_local local_unnamed_addr global i32 0, align 4 @ERRCODE_FEATURE_NOT_SUPPORTED = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [50 x i8] c"timestamp with time zone units \22%s\22 not supported\00", align 1 @ERRCODE_INVALID_PARAMETER_VALUE = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [51 x i8] c"timestamp with time zone units \22%s\22 not recognized\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @timestamptz_trunc_internal], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i64 @timestamptz_trunc_internal(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca %struct.pg_tm, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #3 %9 = tail call i32 @VARDATA_ANY(ptr noundef %0) #3 %10 = tail call i32 @VARSIZE_ANY_EXHDR(ptr noundef %0) #3 %11 = tail call ptr @downcase_truncate_identifier(i32 noundef %9, i32 noundef %10, i32 noundef 0) #3 %12 = call i32 @DecodeUnits(i32 noundef 0, ptr noundef %11, ptr noundef nonnull %6) #3 %13 = load i32, ptr @UNITS, align 4, !tbaa !5 %14 = icmp eq i32 %12, %13 br i1 %14, label %15, label %137 15: ; preds = %3 %16 = call i64 @timestamp2tm(i64 noundef %1, ptr noundef nonnull %5, ptr noundef nonnull %8, ptr noundef nonnull %7, ptr noundef null, ptr noundef %2) #3 %17 = icmp eq i64 %16, 0 br i1 %17, label %24, label %18 18: ; preds = %15 %19 = load i32, ptr @ERROR, align 4, !tbaa !5 %20 = load i32, ptr @ERRCODE_DATETIME_VALUE_OUT_OF_RANGE, align 4, !tbaa !5 %21 = call i32 @errcode(i32 noundef %20) #3 %22 = call i32 (ptr, ...) @errmsg(ptr noundef nonnull @.str) #3 %23 = call i32 @ereport(i32 noundef %19, i32 noundef %22) #3 br label %24 24: ; preds = %18, %15 %25 = load i32, ptr %6, align 4 switch i32 %25, label %110 [ i32 129, label %34 i32 135, label %58 i32 140, label %32 i32 138, label %30 i32 128, label %97 i32 131, label %26 i32 132, label %103 i32 139, label %116 i32 137, label %124 i32 133, label %122 i32 130, label %121 i32 134, label %105 i32 136, label %127 ] 26: ; preds = %24 %27 = getelementptr inbounds %struct.pg_tm, ptr %8, i64 0, i32 1 %28 = load i32, ptr %27, align 4, !tbaa !9 %29 = freeze i32 %28 br label %97 30: ; preds = %24 %31 = load i32, ptr %8, align 4, !tbaa !11 br label %86 32: ; preds = %24 %33 = load i32, ptr %8, align 4, !tbaa !11 br label %71 34: ; preds = %24 %35 = load i32, ptr %8, align 4, !tbaa !11 %36 = getelementptr inbounds %struct.pg_tm, ptr %8, i64 0, i32 1 %37 = load i32, ptr %36, align 4, !tbaa !9 %38 = getelementptr inbounds %struct.pg_tm, ptr %8, i64 0, i32 2 %39 = load i32, ptr %38, align 4, !tbaa !12 %40 = call i32 @date2isoweek(i32 noundef %35, i32 noundef %37, i32 noundef %39) #3 %41 = icmp sgt i32 %40, 51 %42 = load i32, ptr %36, align 4 %43 = icmp eq i32 %42, 1 %44 = select i1 %41, i1 %43, i1 false br i1 %44, label %45, label %48 45: ; preds = %34 %46 = load i32, ptr %8, align 4, !tbaa !11 %47 = add nsw i32 %46, -1 store i32 %47, ptr %8, align 4, !tbaa !11 br label %56 48: ; preds = %34 %49 = icmp slt i32 %40, 2 %50 = load i32, ptr @MONTHS_PER_YEAR, align 4 %51 = icmp eq i32 %42, %50 %52 = select i1 %49, i1 %51, i1 false br i1 %52, label %53, label %56 53: ; preds = %48 %54 = load i32, ptr %8, align 4, !tbaa !11 %55 = add nsw i32 %54, 1 store i32 %55, ptr %8, align 4, !tbaa !11 br label %56 56: ; preds = %45, %53, %48 %57 = call i32 @isoweek2date(i32 noundef %40, ptr noundef nonnull %8, ptr noundef nonnull %36, ptr noundef nonnull %38) #3 br label %116 58: ; preds = %24 %59 = load i32, ptr %8, align 4, !tbaa !11 %60 = freeze i32 %59 %61 = icmp sgt i32 %60, 0 br i1 %61, label %62, label %66 62: ; preds = %58 %63 = add nuw i32 %60, 999 %64 = srem i32 %63, 1000 %65 = sub i32 %60, %64 br label %71 66: ; preds = %58 %67 = sub i32 1000, %60 %68 = srem i32 %67, 1000 %69 = add i32 %60, -999 %70 = add i32 %69, %68 br label %71 71: ; preds = %32, %62, %66 %72 = phi i32 [ %33, %32 ], [ %65, %62 ], [ %70, %66 ] %73 = freeze i32 %72 %74 = icmp sgt i32 %73, 0 br i1 %74, label %75, label %79 75: ; preds = %71 %76 = add nuw i32 %73, 99 %77 = srem i32 %76, 100 %78 = sub i32 %73, %77 br label %84 79: ; preds = %71 %80 = sub i32 100, %73 %81 = srem i32 %80, 100 %82 = add i32 %73, -99 %83 = add i32 %82, %81 br label %84 84: ; preds = %75, %79 %85 = phi i32 [ %83, %79 ], [ %78, %75 ] store i32 %85, ptr %8, align 4, !tbaa !11 switch i32 %25, label %86 [ i32 140, label %97 i32 135, label %97 ] 86: ; preds = %30, %84 %87 = phi i32 [ %31, %30 ], [ %85, %84 ] %88 = freeze i32 %87 %89 = icmp sgt i32 %88, 0 br i1 %89, label %90, label %93 90: ; preds = %86 %91 = urem i32 %88, 10 %92 = sub nuw nsw i32 %88, %91 store i32 %92, ptr %8, align 4, !tbaa !11 br label %97 93: ; preds = %86 %94 = sub i32 9, %88 %95 = srem i32 %94, 10 %96 = sub i32 %95, %94 store i32 %96, ptr %8, align 4, !tbaa !11 br label %97 97: ; preds = %24, %90, %93, %84, %84, %26 %98 = phi i32 [ %29, %26 ], [ 1, %84 ], [ 1, %84 ], [ 1, %93 ], [ 1, %90 ], [ 1, %24 ] %99 = getelementptr inbounds %struct.pg_tm, ptr %8, i64 0, i32 1 %100 = add i32 %98, -1 %101 = srem i32 %100, 3 %102 = sub i32 %98, %101 store i32 %102, ptr %99, align 4, !tbaa !9 br label %103 103: ; preds = %24, %97 %104 = getelementptr inbounds %struct.pg_tm, ptr %8, i64 0, i32 2 store i32 1, ptr %104, align 4, !tbaa !12 br label %116 105: ; preds = %24 %106 = load i32, ptr %7, align 4, !tbaa !5 %107 = freeze i32 %106 %108 = srem i32 %107, 1000 %109 = sub nsw i32 %107, %108 store i32 %109, ptr %7, align 4, !tbaa !5 br label %127 110: ; preds = %24 %111 = load i32, ptr @ERROR, align 4, !tbaa !5 %112 = load i32, ptr @ERRCODE_FEATURE_NOT_SUPPORTED, align 4, !tbaa !5 %113 = call i32 @errcode(i32 noundef %112) #3 %114 = call i32 (ptr, ...) @errmsg(ptr noundef nonnull @.str.1, ptr noundef %11) #3 %115 = call i32 @ereport(i32 noundef %111, i32 noundef %114) #3 store i64 0, ptr %4, align 8, !tbaa !13 br label %127 116: ; preds = %103, %24, %56 %117 = getelementptr inbounds %struct.pg_tm, ptr %8, i64 0, i32 5 store i32 0, ptr %117, align 4, !tbaa !15 %118 = getelementptr inbounds %struct.pg_tm, ptr %8, i64 0, i32 4 store i32 0, ptr %118, align 4, !tbaa !16 %119 = getelementptr inbounds %struct.pg_tm, ptr %8, i64 0, i32 3 store i32 0, ptr %119, align 4, !tbaa !17 store i32 0, ptr %7, align 4, !tbaa !5 %120 = call i32 @DetermineTimeZoneOffset(ptr noundef nonnull %8, ptr noundef %2) #3 store i32 %120, ptr %5, align 4, !tbaa !5 br label %127 121: ; preds = %24 store i32 0, ptr %7, align 4, !tbaa !5 br label %127 122: ; preds = %24 %123 = getelementptr inbounds %struct.pg_tm, ptr %8, i64 0, i32 3 store i32 0, ptr %123, align 4, !tbaa !17 store i32 0, ptr %7, align 4, !tbaa !5 br label %127 124: ; preds = %24 %125 = getelementptr inbounds %struct.pg_tm, ptr %8, i64 0, i32 4 store i32 0, ptr %125, align 4, !tbaa !16 %126 = getelementptr inbounds %struct.pg_tm, ptr %8, i64 0, i32 3 store i32 0, ptr %126, align 4, !tbaa !17 store i32 0, ptr %7, align 4, !tbaa !5 br label %127 127: ; preds = %124, %122, %121, %110, %24, %105, %116 %128 = load i32, ptr %7, align 4, !tbaa !5 %129 = call i64 @tm2timestamp(ptr noundef nonnull %8, i32 noundef %128, ptr noundef nonnull %5, ptr noundef nonnull %4) #3 %130 = icmp eq i64 %129, 0 br i1 %130, label %143, label %131 131: ; preds = %127 %132 = load i32, ptr @ERROR, align 4, !tbaa !5 %133 = load i32, ptr @ERRCODE_DATETIME_VALUE_OUT_OF_RANGE, align 4, !tbaa !5 %134 = call i32 @errcode(i32 noundef %133) #3 %135 = call i32 (ptr, ...) @errmsg(ptr noundef nonnull @.str) #3 %136 = call i32 @ereport(i32 noundef %132, i32 noundef %135) #3 br label %143 137: ; preds = %3 %138 = load i32, ptr @ERROR, align 4, !tbaa !5 %139 = load i32, ptr @ERRCODE_INVALID_PARAMETER_VALUE, align 4, !tbaa !5 %140 = call i32 @errcode(i32 noundef %139) #3 %141 = call i32 (ptr, ...) @errmsg(ptr noundef nonnull @.str.2, ptr noundef %11) #3 %142 = call i32 @ereport(i32 noundef %138, i32 noundef %141) #3 store i64 0, ptr %4, align 8, !tbaa !13 br label %143 143: ; preds = %127, %131, %137 %144 = load i64, ptr %4, align 8, !tbaa !13 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret i64 %144 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @downcase_truncate_identifier(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @VARDATA_ANY(ptr noundef) local_unnamed_addr #2 declare i32 @VARSIZE_ANY_EXHDR(ptr noundef) local_unnamed_addr #2 declare i32 @DecodeUnits(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @timestamp2tm(i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr 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 @date2isoweek(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @isoweek2date(i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @DetermineTimeZoneOffset(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @tm2timestamp(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !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 = !{!"pg_tm", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20} !11 = !{!10, !6, i64 0} !12 = !{!10, !6, i64 8} !13 = !{!14, !14, i64 0} !14 = !{!"long", !7, i64 0} !15 = !{!10, !6, i64 20} !16 = !{!10, !6, i64 16} !17 = !{!10, !6, i64 12}
; ModuleID = 'AnghaBench/postgres/src/backend/utils/adt/extr_timestamp.c_timestamptz_trunc_internal.c' source_filename = "AnghaBench/postgres/src/backend/utils/adt/extr_timestamp.c_timestamptz_trunc_internal.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.pg_tm = type { i32, i32, i32, i32, i32, i32 } @UNITS = common local_unnamed_addr global i32 0, align 4 @ERROR = common local_unnamed_addr global i32 0, align 4 @ERRCODE_DATETIME_VALUE_OUT_OF_RANGE = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [23 x i8] c"timestamp out of range\00", align 1 @MONTHS_PER_YEAR = common local_unnamed_addr global i32 0, align 4 @ERRCODE_FEATURE_NOT_SUPPORTED = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [50 x i8] c"timestamp with time zone units \22%s\22 not supported\00", align 1 @ERRCODE_INVALID_PARAMETER_VALUE = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [51 x i8] c"timestamp with time zone units \22%s\22 not recognized\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @timestamptz_trunc_internal], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i64 @timestamptz_trunc_internal(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca %struct.pg_tm, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #3 %9 = tail call i32 @VARDATA_ANY(ptr noundef %0) #3 %10 = tail call i32 @VARSIZE_ANY_EXHDR(ptr noundef %0) #3 %11 = tail call ptr @downcase_truncate_identifier(i32 noundef %9, i32 noundef %10, i32 noundef 0) #3 %12 = call i32 @DecodeUnits(i32 noundef 0, ptr noundef %11, ptr noundef nonnull %6) #3 %13 = load i32, ptr @UNITS, align 4, !tbaa !6 %14 = icmp eq i32 %12, %13 br i1 %14, label %15, label %135 15: ; preds = %3 %16 = call i64 @timestamp2tm(i64 noundef %1, ptr noundef nonnull %5, ptr noundef nonnull %8, ptr noundef nonnull %7, ptr noundef null, ptr noundef %2) #3 %17 = icmp eq i64 %16, 0 br i1 %17, label %24, label %18 18: ; preds = %15 %19 = load i32, ptr @ERROR, align 4, !tbaa !6 %20 = load i32, ptr @ERRCODE_DATETIME_VALUE_OUT_OF_RANGE, align 4, !tbaa !6 %21 = call i32 @errcode(i32 noundef %20) #3 %22 = call i32 (ptr, ...) @errmsg(ptr noundef nonnull @.str) #3 %23 = call i32 @ereport(i32 noundef %19, i32 noundef %22) #3 br label %24 24: ; preds = %18, %15 %25 = load i32, ptr %6, align 4 switch i32 %25, label %110 [ i32 129, label %34 i32 135, label %58 i32 140, label %32 i32 138, label %30 i32 128, label %97 i32 131, label %26 i32 132, label %103 i32 139, label %116 i32 137, label %123 i32 133, label %121 i32 130, label %120 i32 134, label %105 i32 136, label %125 ] 26: ; preds = %24 %27 = getelementptr inbounds i8, ptr %8, i64 4 %28 = load i32, ptr %27, align 4, !tbaa !10 %29 = freeze i32 %28 br label %97 30: ; preds = %24 %31 = load i32, ptr %8, align 4, !tbaa !12 br label %86 32: ; preds = %24 %33 = load i32, ptr %8, align 4, !tbaa !12 br label %71 34: ; preds = %24 %35 = load i32, ptr %8, align 4, !tbaa !12 %36 = getelementptr inbounds i8, ptr %8, i64 4 %37 = load i32, ptr %36, align 4, !tbaa !10 %38 = getelementptr inbounds i8, ptr %8, i64 8 %39 = load i32, ptr %38, align 4, !tbaa !13 %40 = call i32 @date2isoweek(i32 noundef %35, i32 noundef %37, i32 noundef %39) #3 %41 = icmp sgt i32 %40, 51 %42 = load i32, ptr %36, align 4 %43 = icmp eq i32 %42, 1 %44 = select i1 %41, i1 %43, i1 false br i1 %44, label %45, label %48 45: ; preds = %34 %46 = load i32, ptr %8, align 4, !tbaa !12 %47 = add nsw i32 %46, -1 store i32 %47, ptr %8, align 4, !tbaa !12 br label %56 48: ; preds = %34 %49 = icmp slt i32 %40, 2 %50 = load i32, ptr @MONTHS_PER_YEAR, align 4 %51 = icmp eq i32 %42, %50 %52 = select i1 %49, i1 %51, i1 false br i1 %52, label %53, label %56 53: ; preds = %48 %54 = load i32, ptr %8, align 4, !tbaa !12 %55 = add nsw i32 %54, 1 store i32 %55, ptr %8, align 4, !tbaa !12 br label %56 56: ; preds = %45, %53, %48 %57 = call i32 @isoweek2date(i32 noundef %40, ptr noundef nonnull %8, ptr noundef nonnull %36, ptr noundef nonnull %38) #3 br label %116 58: ; preds = %24 %59 = load i32, ptr %8, align 4, !tbaa !12 %60 = freeze i32 %59 %61 = icmp sgt i32 %60, 0 br i1 %61, label %62, label %66 62: ; preds = %58 %63 = add nuw nsw i32 %60, 999 %64 = urem i32 %63, 1000 %65 = sub nsw i32 %60, %64 br label %71 66: ; preds = %58 %67 = sub i32 1000, %60 %68 = urem i32 %67, 1000 %69 = add i32 %60, -999 %70 = add i32 %69, %68 br label %71 71: ; preds = %32, %62, %66 %72 = phi i32 [ %33, %32 ], [ %65, %62 ], [ %70, %66 ] %73 = freeze i32 %72 %74 = icmp sgt i32 %73, 0 br i1 %74, label %75, label %79 75: ; preds = %71 %76 = add nuw nsw i32 %73, 99 %77 = urem i32 %76, 100 %78 = sub nsw i32 %73, %77 br label %84 79: ; preds = %71 %80 = sub i32 100, %73 %81 = urem i32 %80, 100 %82 = add i32 %73, -99 %83 = add i32 %82, %81 br label %84 84: ; preds = %75, %79 %85 = phi i32 [ %83, %79 ], [ %78, %75 ] store i32 %85, ptr %8, align 4, !tbaa !12 switch i32 %25, label %86 [ i32 140, label %97 i32 135, label %97 ] 86: ; preds = %30, %84 %87 = phi i32 [ %31, %30 ], [ %85, %84 ] %88 = freeze i32 %87 %89 = icmp sgt i32 %88, 0 br i1 %89, label %90, label %93 90: ; preds = %86 %91 = urem i32 %88, 10 %92 = sub nuw nsw i32 %88, %91 store i32 %92, ptr %8, align 4, !tbaa !12 br label %97 93: ; preds = %86 %94 = sub i32 9, %88 %95 = urem i32 %94, 10 %96 = sub i32 %95, %94 store i32 %96, ptr %8, align 4, !tbaa !12 br label %97 97: ; preds = %24, %90, %93, %84, %84, %26 %98 = phi i32 [ %29, %26 ], [ 1, %84 ], [ 1, %84 ], [ 1, %93 ], [ 1, %90 ], [ 1, %24 ] %99 = getelementptr inbounds i8, ptr %8, i64 4 %100 = add i32 %98, -1 %101 = srem i32 %100, 3 %102 = sub i32 %98, %101 store i32 %102, ptr %99, align 4, !tbaa !10 br label %103 103: ; preds = %24, %97 %104 = getelementptr inbounds i8, ptr %8, i64 8 store i32 1, ptr %104, align 4, !tbaa !13 br label %116 105: ; preds = %24 %106 = load i32, ptr %7, align 4, !tbaa !6 %107 = freeze i32 %106 %108 = srem i32 %107, 1000 %109 = sub nsw i32 %107, %108 store i32 %109, ptr %7, align 4, !tbaa !6 br label %125 110: ; preds = %24 %111 = load i32, ptr @ERROR, align 4, !tbaa !6 %112 = load i32, ptr @ERRCODE_FEATURE_NOT_SUPPORTED, align 4, !tbaa !6 %113 = call i32 @errcode(i32 noundef %112) #3 %114 = call i32 (ptr, ...) @errmsg(ptr noundef nonnull @.str.1, ptr noundef %11) #3 %115 = call i32 @ereport(i32 noundef %111, i32 noundef %114) #3 store i64 0, ptr %4, align 8, !tbaa !14 br label %125 116: ; preds = %103, %24, %56 %117 = getelementptr inbounds i8, ptr %8, i64 20 store i32 0, ptr %117, align 4, !tbaa !16 %118 = getelementptr inbounds i8, ptr %8, i64 12 store <2 x i32> zeroinitializer, ptr %118, align 4, !tbaa !6 store i32 0, ptr %7, align 4, !tbaa !6 %119 = call i32 @DetermineTimeZoneOffset(ptr noundef nonnull %8, ptr noundef %2) #3 store i32 %119, ptr %5, align 4, !tbaa !6 br label %125 120: ; preds = %24 store i32 0, ptr %7, align 4, !tbaa !6 br label %125 121: ; preds = %24 %122 = getelementptr inbounds i8, ptr %8, i64 12 store i32 0, ptr %122, align 4, !tbaa !17 store i32 0, ptr %7, align 4, !tbaa !6 br label %125 123: ; preds = %24 %124 = getelementptr inbounds i8, ptr %8, i64 12 store <2 x i32> zeroinitializer, ptr %124, align 4, !tbaa !6 store i32 0, ptr %7, align 4, !tbaa !6 br label %125 125: ; preds = %123, %121, %120, %110, %24, %105, %116 %126 = load i32, ptr %7, align 4, !tbaa !6 %127 = call i64 @tm2timestamp(ptr noundef nonnull %8, i32 noundef %126, ptr noundef nonnull %5, ptr noundef nonnull %4) #3 %128 = icmp eq i64 %127, 0 br i1 %128, label %141, label %129 129: ; preds = %125 %130 = load i32, ptr @ERROR, align 4, !tbaa !6 %131 = load i32, ptr @ERRCODE_DATETIME_VALUE_OUT_OF_RANGE, align 4, !tbaa !6 %132 = call i32 @errcode(i32 noundef %131) #3 %133 = call i32 (ptr, ...) @errmsg(ptr noundef nonnull @.str) #3 %134 = call i32 @ereport(i32 noundef %130, i32 noundef %133) #3 br label %141 135: ; preds = %3 %136 = load i32, ptr @ERROR, align 4, !tbaa !6 %137 = load i32, ptr @ERRCODE_INVALID_PARAMETER_VALUE, align 4, !tbaa !6 %138 = call i32 @errcode(i32 noundef %137) #3 %139 = call i32 (ptr, ...) @errmsg(ptr noundef nonnull @.str.2, ptr noundef %11) #3 %140 = call i32 @ereport(i32 noundef %136, i32 noundef %139) #3 store i64 0, ptr %4, align 8, !tbaa !14 br label %141 141: ; preds = %125, %129, %135 %142 = load i64, ptr %4, align 8, !tbaa !14 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret i64 %142 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @downcase_truncate_identifier(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @VARDATA_ANY(ptr noundef) local_unnamed_addr #2 declare i32 @VARSIZE_ANY_EXHDR(ptr noundef) local_unnamed_addr #2 declare i32 @DecodeUnits(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @timestamp2tm(i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr 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 @date2isoweek(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @isoweek2date(i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @DetermineTimeZoneOffset(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @tm2timestamp(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !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 = !{!"pg_tm", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20} !12 = !{!11, !7, i64 0} !13 = !{!11, !7, i64 8} !14 = !{!15, !15, i64 0} !15 = !{!"long", !8, i64 0} !16 = !{!11, !7, i64 20} !17 = !{!11, !7, i64 12}
postgres_src_backend_utils_adt_extr_timestamp.c_timestamptz_trunc_internal
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/ctxfi/extr_ctmixer.c_ct_alsa_mix_switch_put.c' source_filename = "AnghaBench/fastsocket/kernel/sound/pci/ctxfi/extr_ctmixer.c_ct_alsa_mix_switch_put.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @ct_alsa_mix_switch_put], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @ct_alsa_mix_switch_put(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = tail call ptr @snd_kcontrol_chip(ptr noundef %0) #2 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = load i32, ptr %0, align 4, !tbaa !10 %6 = load ptr, ptr %1, align 8, !tbaa !13 %7 = load i32, ptr %6, align 4, !tbaa !17 %8 = tail call i32 @get_switch_state(ptr noundef %4, i32 noundef %5) #2 %9 = icmp eq i32 %8, %7 br i1 %9, label %13, label %10 10: ; preds = %2 %11 = tail call i32 @set_switch_state(ptr noundef %4, i32 noundef %5, i32 noundef %7) #2 %12 = tail call i32 @do_switch(ptr noundef nonnull %3, i32 noundef %5, i32 noundef %7) #2 br label %13 13: ; preds = %2, %10 %14 = phi i32 [ 1, %10 ], [ 0, %2 ] ret i32 %14 } declare ptr @snd_kcontrol_chip(ptr noundef) local_unnamed_addr #1 declare i32 @get_switch_state(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @set_switch_state(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @do_switch(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"ct_atc", !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 = !{!"snd_kcontrol", !12, i64 0} !12 = !{!"int", !8, i64 0} !13 = !{!14, !7, i64 0} !14 = !{!"snd_ctl_elem_value", !15, i64 0} !15 = !{!"TYPE_4__", !16, i64 0} !16 = !{!"TYPE_3__", !7, i64 0} !17 = !{!12, !12, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/ctxfi/extr_ctmixer.c_ct_alsa_mix_switch_put.c' source_filename = "AnghaBench/fastsocket/kernel/sound/pci/ctxfi/extr_ctmixer.c_ct_alsa_mix_switch_put.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 @ct_alsa_mix_switch_put], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @ct_alsa_mix_switch_put(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = tail call ptr @snd_kcontrol_chip(ptr noundef %0) #2 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = load i32, ptr %0, align 4, !tbaa !11 %6 = load ptr, ptr %1, align 8, !tbaa !14 %7 = load i32, ptr %6, align 4, !tbaa !18 %8 = tail call i32 @get_switch_state(ptr noundef %4, i32 noundef %5) #2 %9 = icmp eq i32 %8, %7 br i1 %9, label %13, label %10 10: ; preds = %2 %11 = tail call i32 @set_switch_state(ptr noundef %4, i32 noundef %5, i32 noundef %7) #2 %12 = tail call i32 @do_switch(ptr noundef nonnull %3, i32 noundef %5, i32 noundef %7) #2 br label %13 13: ; preds = %2, %10 %14 = phi i32 [ 1, %10 ], [ 0, %2 ] ret i32 %14 } declare ptr @snd_kcontrol_chip(ptr noundef) local_unnamed_addr #1 declare i32 @get_switch_state(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @set_switch_state(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @do_switch(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"ct_atc", !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 = !{!"snd_kcontrol", !13, i64 0} !13 = !{!"int", !9, i64 0} !14 = !{!15, !8, i64 0} !15 = !{!"snd_ctl_elem_value", !16, i64 0} !16 = !{!"TYPE_4__", !17, i64 0} !17 = !{!"TYPE_3__", !8, i64 0} !18 = !{!13, !13, i64 0}
fastsocket_kernel_sound_pci_ctxfi_extr_ctmixer.c_ct_alsa_mix_switch_put
; ModuleID = 'AnghaBench/libgit2/tests/rebase/extr_merge.c_test_rebase_merge__detached_finish.c' source_filename = "AnghaBench/libgit2/tests/rebase/extr_merge.c_test_rebase_merge__detached_finish.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { i32 } @GIT_CHECKOUT_OPTIONS_INIT = dso_local local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 4 @repo = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [17 x i8] c"refs/heads/gravy\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"refs/heads/veal\00", align 1 @GIT_CHECKOUT_FORCE = dso_local local_unnamed_addr global i32 0, align 4 @signature = dso_local local_unnamed_addr global i32 0, align 4 @GIT_ITEROVER = dso_local local_unnamed_addr global i32 0, align 4 @GIT_REPOSITORY_STATE_NONE = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [5 x i8] c"HEAD\00", align 1 @GIT_REFERENCE_DIRECT = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @test_rebase_merge__detached_finish() local_unnamed_addr #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca %struct.TYPE_4__, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #3 %11 = load i32, ptr @repo, align 4, !tbaa !5 %12 = call i32 @git_reference_lookup(ptr noundef nonnull %2, i32 noundef %11, ptr noundef nonnull @.str) #3 %13 = call i32 @cl_git_pass(i32 noundef %12) #3 %14 = load i32, ptr @repo, align 4, !tbaa !5 %15 = call i32 @git_reference_lookup(ptr noundef nonnull %3, i32 noundef %14, ptr noundef nonnull @.str.1) #3 %16 = call i32 @cl_git_pass(i32 noundef %15) #3 %17 = load i32, ptr @repo, align 4, !tbaa !5 %18 = load ptr, ptr %2, align 8, !tbaa !9 %19 = call i32 @git_annotated_commit_from_ref(ptr noundef nonnull %5, i32 noundef %17, ptr noundef %18) #3 %20 = call i32 @cl_git_pass(i32 noundef %19) #3 %21 = load i32, ptr @repo, align 4, !tbaa !5 %22 = load ptr, ptr %3, align 8, !tbaa !9 %23 = call i32 @git_annotated_commit_from_ref(ptr noundef nonnull %6, i32 noundef %21, ptr noundef %22) #3 %24 = call i32 @cl_git_pass(i32 noundef %23) #3 %25 = load i32, ptr @repo, align 4, !tbaa !5 %26 = load ptr, ptr %5, align 8, !tbaa !9 %27 = call i32 @git_repository_set_head_detached_from_annotated(i32 noundef %25, ptr noundef %26) #3 %28 = call i32 @cl_git_pass(i32 noundef %27) #3 %29 = load i32, ptr @GIT_CHECKOUT_FORCE, align 4, !tbaa !5 store i32 %29, ptr %10, align 4, !tbaa !11 %30 = load i32, ptr @repo, align 4, !tbaa !5 %31 = call i32 @git_checkout_head(i32 noundef %30, ptr noundef nonnull %10) #3 %32 = load i32, ptr @repo, align 4, !tbaa !5 %33 = load ptr, ptr %6, align 8, !tbaa !9 %34 = call i32 @git_rebase_init(ptr noundef nonnull %1, i32 noundef %32, ptr noundef null, ptr noundef %33, ptr noundef null, ptr noundef null) #3 %35 = call i32 @cl_git_pass(i32 noundef %34) #3 %36 = load ptr, ptr %1, align 8, !tbaa !9 %37 = call i32 @git_rebase_next(ptr noundef nonnull %7, ptr noundef %36) #3 %38 = call i32 @cl_git_pass(i32 noundef %37) #3 %39 = load ptr, ptr %1, align 8, !tbaa !9 %40 = load i32, ptr @signature, align 4, !tbaa !5 %41 = call i32 @git_rebase_commit(ptr noundef nonnull %8, ptr noundef %39, ptr noundef null, i32 noundef %40, ptr noundef null, ptr noundef null) #3 %42 = call i32 @cl_git_pass(i32 noundef %41) #3 %43 = load ptr, ptr %1, align 8, !tbaa !9 %44 = call i32 @git_rebase_next(ptr noundef nonnull %7, ptr noundef %43) #3 %45 = call i32 @cl_git_fail(i32 noundef %44) #3 %46 = load i32, ptr @GIT_ITEROVER, align 4, !tbaa !5 %47 = call i32 @cl_assert_equal_i(i32 noundef %46, i32 noundef %44) #3 %48 = load ptr, ptr %1, align 8, !tbaa !9 %49 = load i32, ptr @signature, align 4, !tbaa !5 %50 = call i32 @git_rebase_finish(ptr noundef %48, i32 noundef %49) #3 %51 = call i32 @cl_git_pass(i32 noundef %50) #3 %52 = load i32, ptr @GIT_REPOSITORY_STATE_NONE, align 4, !tbaa !5 %53 = load i32, ptr @repo, align 4, !tbaa !5 %54 = call i32 @git_repository_state(i32 noundef %53) #3 %55 = call i32 @cl_assert_equal_i(i32 noundef %52, i32 noundef %54) #3 %56 = load i32, ptr @repo, align 4, !tbaa !5 %57 = call i32 @git_reference_lookup(ptr noundef nonnull %4, i32 noundef %56, ptr noundef nonnull @.str.2) #3 %58 = call i32 @cl_git_pass(i32 noundef %57) #3 %59 = load i32, ptr @GIT_REFERENCE_DIRECT, align 4, !tbaa !5 %60 = load ptr, ptr %4, align 8, !tbaa !9 %61 = call i32 @git_reference_type(ptr noundef %60) #3 %62 = call i32 @cl_assert_equal_i(i32 noundef %59, i32 noundef %61) #3 %63 = load i32, ptr @repo, align 4, !tbaa !5 %64 = call i32 @git_reflog_read(ptr noundef nonnull %9, i32 noundef %63, ptr noundef nonnull @.str.2) #3 %65 = call i32 @cl_git_pass(i32 noundef %64) #3 %66 = load ptr, ptr %9, align 8, !tbaa !9 %67 = call ptr @git_reflog_entry_byindex(ptr noundef %66, i32 noundef 0) #3 %68 = call i32 @cl_assert(ptr noundef %67) #3 %69 = load ptr, ptr %6, align 8, !tbaa !9 %70 = call ptr @git_annotated_commit_id(ptr noundef %69) #3 %71 = call i32 @git_reflog_entry_id_old(ptr noundef %67) #3 %72 = call i32 @cl_assert_equal_oid(ptr noundef %70, i32 noundef %71) #3 %73 = call i32 @git_reflog_entry_id_new(ptr noundef %67) #3 %74 = call i32 @cl_assert_equal_oid(ptr noundef nonnull %8, i32 noundef %73) #3 %75 = load ptr, ptr %9, align 8, !tbaa !9 %76 = call i32 @git_reflog_free(ptr noundef %75) #3 %77 = load ptr, ptr %5, align 8, !tbaa !9 %78 = call i32 @git_annotated_commit_free(ptr noundef %77) #3 %79 = load ptr, ptr %6, align 8, !tbaa !9 %80 = call i32 @git_annotated_commit_free(ptr noundef %79) #3 %81 = load ptr, ptr %4, align 8, !tbaa !9 %82 = call i32 @git_reference_free(ptr noundef %81) #3 %83 = load ptr, ptr %2, align 8, !tbaa !9 %84 = call i32 @git_reference_free(ptr noundef %83) #3 %85 = load ptr, ptr %3, align 8, !tbaa !9 %86 = call i32 @git_reference_free(ptr noundef %85) #3 %87 = load ptr, ptr %1, align 8, !tbaa !9 %88 = call i32 @git_rebase_free(ptr noundef %87) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @cl_git_pass(i32 noundef) local_unnamed_addr #2 declare i32 @git_reference_lookup(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @git_annotated_commit_from_ref(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @git_repository_set_head_detached_from_annotated(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @git_checkout_head(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @git_rebase_init(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @git_rebase_next(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @git_rebase_commit(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @cl_git_fail(i32 noundef) local_unnamed_addr #2 declare i32 @cl_assert_equal_i(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @git_rebase_finish(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @git_repository_state(i32 noundef) local_unnamed_addr #2 declare i32 @git_reference_type(ptr noundef) local_unnamed_addr #2 declare i32 @git_reflog_read(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @cl_assert(ptr noundef) local_unnamed_addr #2 declare ptr @git_reflog_entry_byindex(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @cl_assert_equal_oid(ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @git_annotated_commit_id(ptr noundef) local_unnamed_addr #2 declare i32 @git_reflog_entry_id_old(ptr noundef) local_unnamed_addr #2 declare i32 @git_reflog_entry_id_new(ptr noundef) local_unnamed_addr #2 declare i32 @git_reflog_free(ptr noundef) local_unnamed_addr #2 declare i32 @git_annotated_commit_free(ptr noundef) local_unnamed_addr #2 declare i32 @git_reference_free(ptr noundef) local_unnamed_addr #2 declare i32 @git_rebase_free(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !6, i64 0} !12 = !{!"TYPE_4__", !6, i64 0}
; ModuleID = 'AnghaBench/libgit2/tests/rebase/extr_merge.c_test_rebase_merge__detached_finish.c' source_filename = "AnghaBench/libgit2/tests/rebase/extr_merge.c_test_rebase_merge__detached_finish.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_4__ = type { i32 } @GIT_CHECKOUT_OPTIONS_INIT = common local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 4 @repo = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [17 x i8] c"refs/heads/gravy\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"refs/heads/veal\00", align 1 @GIT_CHECKOUT_FORCE = common local_unnamed_addr global i32 0, align 4 @signature = common local_unnamed_addr global i32 0, align 4 @GIT_ITEROVER = common local_unnamed_addr global i32 0, align 4 @GIT_REPOSITORY_STATE_NONE = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [5 x i8] c"HEAD\00", align 1 @GIT_REFERENCE_DIRECT = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @test_rebase_merge__detached_finish() local_unnamed_addr #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca %struct.TYPE_4__, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #3 %11 = load i32, ptr @repo, align 4, !tbaa !6 %12 = call i32 @git_reference_lookup(ptr noundef nonnull %2, i32 noundef %11, ptr noundef nonnull @.str) #3 %13 = call i32 @cl_git_pass(i32 noundef %12) #3 %14 = load i32, ptr @repo, align 4, !tbaa !6 %15 = call i32 @git_reference_lookup(ptr noundef nonnull %3, i32 noundef %14, ptr noundef nonnull @.str.1) #3 %16 = call i32 @cl_git_pass(i32 noundef %15) #3 %17 = load i32, ptr @repo, align 4, !tbaa !6 %18 = load ptr, ptr %2, align 8, !tbaa !10 %19 = call i32 @git_annotated_commit_from_ref(ptr noundef nonnull %5, i32 noundef %17, ptr noundef %18) #3 %20 = call i32 @cl_git_pass(i32 noundef %19) #3 %21 = load i32, ptr @repo, align 4, !tbaa !6 %22 = load ptr, ptr %3, align 8, !tbaa !10 %23 = call i32 @git_annotated_commit_from_ref(ptr noundef nonnull %6, i32 noundef %21, ptr noundef %22) #3 %24 = call i32 @cl_git_pass(i32 noundef %23) #3 %25 = load i32, ptr @repo, align 4, !tbaa !6 %26 = load ptr, ptr %5, align 8, !tbaa !10 %27 = call i32 @git_repository_set_head_detached_from_annotated(i32 noundef %25, ptr noundef %26) #3 %28 = call i32 @cl_git_pass(i32 noundef %27) #3 %29 = load i32, ptr @GIT_CHECKOUT_FORCE, align 4, !tbaa !6 store i32 %29, ptr %10, align 4, !tbaa !12 %30 = load i32, ptr @repo, align 4, !tbaa !6 %31 = call i32 @git_checkout_head(i32 noundef %30, ptr noundef nonnull %10) #3 %32 = load i32, ptr @repo, align 4, !tbaa !6 %33 = load ptr, ptr %6, align 8, !tbaa !10 %34 = call i32 @git_rebase_init(ptr noundef nonnull %1, i32 noundef %32, ptr noundef null, ptr noundef %33, ptr noundef null, ptr noundef null) #3 %35 = call i32 @cl_git_pass(i32 noundef %34) #3 %36 = load ptr, ptr %1, align 8, !tbaa !10 %37 = call i32 @git_rebase_next(ptr noundef nonnull %7, ptr noundef %36) #3 %38 = call i32 @cl_git_pass(i32 noundef %37) #3 %39 = load ptr, ptr %1, align 8, !tbaa !10 %40 = load i32, ptr @signature, align 4, !tbaa !6 %41 = call i32 @git_rebase_commit(ptr noundef nonnull %8, ptr noundef %39, ptr noundef null, i32 noundef %40, ptr noundef null, ptr noundef null) #3 %42 = call i32 @cl_git_pass(i32 noundef %41) #3 %43 = load ptr, ptr %1, align 8, !tbaa !10 %44 = call i32 @git_rebase_next(ptr noundef nonnull %7, ptr noundef %43) #3 %45 = call i32 @cl_git_fail(i32 noundef %44) #3 %46 = load i32, ptr @GIT_ITEROVER, align 4, !tbaa !6 %47 = call i32 @cl_assert_equal_i(i32 noundef %46, i32 noundef %44) #3 %48 = load ptr, ptr %1, align 8, !tbaa !10 %49 = load i32, ptr @signature, align 4, !tbaa !6 %50 = call i32 @git_rebase_finish(ptr noundef %48, i32 noundef %49) #3 %51 = call i32 @cl_git_pass(i32 noundef %50) #3 %52 = load i32, ptr @GIT_REPOSITORY_STATE_NONE, align 4, !tbaa !6 %53 = load i32, ptr @repo, align 4, !tbaa !6 %54 = call i32 @git_repository_state(i32 noundef %53) #3 %55 = call i32 @cl_assert_equal_i(i32 noundef %52, i32 noundef %54) #3 %56 = load i32, ptr @repo, align 4, !tbaa !6 %57 = call i32 @git_reference_lookup(ptr noundef nonnull %4, i32 noundef %56, ptr noundef nonnull @.str.2) #3 %58 = call i32 @cl_git_pass(i32 noundef %57) #3 %59 = load i32, ptr @GIT_REFERENCE_DIRECT, align 4, !tbaa !6 %60 = load ptr, ptr %4, align 8, !tbaa !10 %61 = call i32 @git_reference_type(ptr noundef %60) #3 %62 = call i32 @cl_assert_equal_i(i32 noundef %59, i32 noundef %61) #3 %63 = load i32, ptr @repo, align 4, !tbaa !6 %64 = call i32 @git_reflog_read(ptr noundef nonnull %9, i32 noundef %63, ptr noundef nonnull @.str.2) #3 %65 = call i32 @cl_git_pass(i32 noundef %64) #3 %66 = load ptr, ptr %9, align 8, !tbaa !10 %67 = call ptr @git_reflog_entry_byindex(ptr noundef %66, i32 noundef 0) #3 %68 = call i32 @cl_assert(ptr noundef %67) #3 %69 = load ptr, ptr %6, align 8, !tbaa !10 %70 = call ptr @git_annotated_commit_id(ptr noundef %69) #3 %71 = call i32 @git_reflog_entry_id_old(ptr noundef %67) #3 %72 = call i32 @cl_assert_equal_oid(ptr noundef %70, i32 noundef %71) #3 %73 = call i32 @git_reflog_entry_id_new(ptr noundef %67) #3 %74 = call i32 @cl_assert_equal_oid(ptr noundef nonnull %8, i32 noundef %73) #3 %75 = load ptr, ptr %9, align 8, !tbaa !10 %76 = call i32 @git_reflog_free(ptr noundef %75) #3 %77 = load ptr, ptr %5, align 8, !tbaa !10 %78 = call i32 @git_annotated_commit_free(ptr noundef %77) #3 %79 = load ptr, ptr %6, align 8, !tbaa !10 %80 = call i32 @git_annotated_commit_free(ptr noundef %79) #3 %81 = load ptr, ptr %4, align 8, !tbaa !10 %82 = call i32 @git_reference_free(ptr noundef %81) #3 %83 = load ptr, ptr %2, align 8, !tbaa !10 %84 = call i32 @git_reference_free(ptr noundef %83) #3 %85 = load ptr, ptr %3, align 8, !tbaa !10 %86 = call i32 @git_reference_free(ptr noundef %85) #3 %87 = load ptr, ptr %1, align 8, !tbaa !10 %88 = call i32 @git_rebase_free(ptr noundef %87) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @cl_git_pass(i32 noundef) local_unnamed_addr #2 declare i32 @git_reference_lookup(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @git_annotated_commit_from_ref(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @git_repository_set_head_detached_from_annotated(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @git_checkout_head(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @git_rebase_init(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @git_rebase_next(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @git_rebase_commit(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @cl_git_fail(i32 noundef) local_unnamed_addr #2 declare i32 @cl_assert_equal_i(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @git_rebase_finish(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @git_repository_state(i32 noundef) local_unnamed_addr #2 declare i32 @git_reference_type(ptr noundef) local_unnamed_addr #2 declare i32 @git_reflog_read(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @cl_assert(ptr noundef) local_unnamed_addr #2 declare ptr @git_reflog_entry_byindex(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @cl_assert_equal_oid(ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @git_annotated_commit_id(ptr noundef) local_unnamed_addr #2 declare i32 @git_reflog_entry_id_old(ptr noundef) local_unnamed_addr #2 declare i32 @git_reflog_entry_id_new(ptr noundef) local_unnamed_addr #2 declare i32 @git_reflog_free(ptr noundef) local_unnamed_addr #2 declare i32 @git_annotated_commit_free(ptr noundef) local_unnamed_addr #2 declare i32 @git_reference_free(ptr noundef) local_unnamed_addr #2 declare i32 @git_rebase_free(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_4__", !7, i64 0}
libgit2_tests_rebase_extr_merge.c_test_rebase_merge__detached_finish
; ModuleID = 'AnghaBench/linux/net/rfkill/extr_core.c_soft_show.c' source_filename = "AnghaBench/linux/net/rfkill/extr_core.c_soft_show.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @RFKILL_BLOCK_SW = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @soft_show], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @soft_show(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 { %4 = tail call ptr @to_rfkill(ptr noundef %0) #2 %5 = load i32, ptr %4, align 4, !tbaa !5 %6 = load i32, ptr @RFKILL_BLOCK_SW, align 4, !tbaa !10 %7 = and i32 %6, %5 %8 = icmp ne i32 %7, 0 %9 = zext i1 %8 to i32 %10 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, i32 noundef %9) #2 ret i32 %10 } declare ptr @to_rfkill(ptr noundef) local_unnamed_addr #1 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 = !{!"rfkill", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/net/rfkill/extr_core.c_soft_show.c' source_filename = "AnghaBench/linux/net/rfkill/extr_core.c_soft_show.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @RFKILL_BLOCK_SW = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @soft_show], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @soft_show(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 { %4 = tail call ptr @to_rfkill(ptr noundef %0) #2 %5 = load i32, ptr %4, align 4, !tbaa !6 %6 = load i32, ptr @RFKILL_BLOCK_SW, align 4, !tbaa !11 %7 = and i32 %6, %5 %8 = icmp ne i32 %7, 0 %9 = zext i1 %8 to i32 %10 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, i32 noundef %9) #2 ret i32 %10 } declare ptr @to_rfkill(ptr noundef) local_unnamed_addr #1 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 = !{!"rfkill", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
linux_net_rfkill_extr_core.c_soft_show
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/tls/extr_libtommath.c_mp_clamp.c' source_filename = "AnghaBench/freebsd/contrib/wpa/src/tls/extr_libtommath.c_mp_clamp.c" target datalayout = "e-m:e-p270:32:32-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, i32 } @MP_ZPOS = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @mp_clamp], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define internal void @mp_clamp(ptr nocapture noundef %0) #0 { %2 = load i32, ptr %0, align 8, !tbaa !5 %3 = icmp sgt i32 %2, 0 br i1 %3, label %4, label %17 4: ; preds = %1 %5 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1 %6 = load ptr, ptr %5, align 8, !tbaa !11 %7 = getelementptr i64, ptr %6, i64 -1 br label %8 8: ; preds = %4, %14 %9 = phi i32 [ %2, %4 ], [ %15, %14 ] %10 = zext nneg i32 %9 to i64 %11 = getelementptr i64, ptr %7, i64 %10 %12 = load i64, ptr %11, align 8, !tbaa !12 %13 = icmp eq i64 %12, 0 br i1 %13, label %14, label %22 14: ; preds = %8 %15 = add nsw i32 %9, -1 store i32 %15, ptr %0, align 8, !tbaa !5 %16 = icmp sgt i32 %9, 1 br i1 %16, label %8, label %19, !llvm.loop !14 17: ; preds = %1 %18 = icmp eq i32 %2, 0 br i1 %18, label %19, label %22 19: ; preds = %14, %17 %20 = load i32, ptr @MP_ZPOS, align 4, !tbaa !16 %21 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2 store i32 %20, ptr %21, align 8, !tbaa !17 br label %22 22: ; preds = %8, %19, %17 ret void } attributes #0 = { nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_3__", !7, i64 0, !10, i64 8, !7, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !10, i64 8} !12 = !{!13, !13, i64 0} !13 = !{!"long", !8, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"} !16 = !{!7, !7, i64 0} !17 = !{!6, !7, i64 16}
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/tls/extr_libtommath.c_mp_clamp.c' source_filename = "AnghaBench/freebsd/contrib/wpa/src/tls/extr_libtommath.c_mp_clamp.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MP_ZPOS = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @mp_clamp], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) define internal void @mp_clamp(ptr nocapture noundef %0) #0 { %2 = load i32, ptr %0, align 8, !tbaa !6 %3 = icmp sgt i32 %2, 0 br i1 %3, label %4, label %17 4: ; preds = %1 %5 = getelementptr inbounds i8, ptr %0, i64 8 %6 = load ptr, ptr %5, align 8, !tbaa !12 %7 = getelementptr i8, ptr %6, i64 -8 br label %8 8: ; preds = %4, %14 %9 = phi i32 [ %2, %4 ], [ %15, %14 ] %10 = zext nneg i32 %9 to i64 %11 = getelementptr i64, ptr %7, i64 %10 %12 = load i64, ptr %11, align 8, !tbaa !13 %13 = icmp eq i64 %12, 0 br i1 %13, label %14, label %22 14: ; preds = %8 %15 = add nsw i32 %9, -1 store i32 %15, ptr %0, align 8, !tbaa !6 %16 = icmp sgt i32 %9, 1 br i1 %16, label %8, label %19, !llvm.loop !15 17: ; preds = %1 %18 = icmp eq i32 %2, 0 br i1 %18, label %19, label %22 19: ; preds = %14, %17 %20 = load i32, ptr @MP_ZPOS, align 4, !tbaa !17 %21 = getelementptr inbounds i8, ptr %0, i64 16 store i32 %20, ptr %21, align 8, !tbaa !18 br label %22 22: ; preds = %8, %19, %17 ret void } attributes #0 = { nofree norecurse nosync nounwind ssp memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_3__", !8, i64 0, !11, i64 8, !8, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !11, i64 8} !13 = !{!14, !14, i64 0} !14 = !{!"long", !9, i64 0} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"} !17 = !{!8, !8, i64 0} !18 = !{!7, !8, i64 16}
freebsd_contrib_wpa_src_tls_extr_libtommath.c_mp_clamp
; ModuleID = 'AnghaBench/reactos/sdk/tools/hpp/extr_hpp.c_EvaluateConstant.c' source_filename = "AnghaBench/reactos/sdk/tools/hpp/extr_hpp.c_EvaluateConstant.c" target datalayout = "e-m:e-p270:32:32-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 @EvaluateConstant(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call ptr @FindDefine(ptr noundef %0, ptr noundef %1) #2 %4 = icmp eq ptr %3, null br i1 %4, label %7, label %5 5: ; preds = %2 %6 = load i32, ptr %3, align 4, !tbaa !5 br label %7 7: ; preds = %2, %5 %8 = phi i32 [ %6, %5 ], [ 0, %2 ] ret i32 %8 } declare ptr @FindDefine(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_3__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/reactos/sdk/tools/hpp/extr_hpp.c_EvaluateConstant.c' source_filename = "AnghaBench/reactos/sdk/tools/hpp/extr_hpp.c_EvaluateConstant.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 @EvaluateConstant(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call ptr @FindDefine(ptr noundef %0, ptr noundef %1) #2 %4 = icmp eq ptr %3, null br i1 %4, label %7, label %5 5: ; preds = %2 %6 = load i32, ptr %3, align 4, !tbaa !6 br label %7 7: ; preds = %2, %5 %8 = phi i32 [ %6, %5 ], [ 0, %2 ] ret i32 %8 } declare ptr @FindDefine(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_3__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
reactos_sdk_tools_hpp_extr_hpp.c_EvaluateConstant
; ModuleID = 'AnghaBench/freebsd/sys/net/extr_mp_ring.c_ifmp_ring_check_drainage.c' source_filename = "AnghaBench/freebsd/sys/net/extr_mp_ring.c_ifmp_ring_check_drainage.c" target datalayout = "e-m:e-p270:32:32-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.ifmp_ring = type { i64, ptr, i32 } @STALLED = dso_local local_unnamed_addr global i64 0, align 8 @ABDICATED = dso_local local_unnamed_addr global i64 0, align 8 @BUSY = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local void @ifmp_ring_check_drainage(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i64, ptr %0, align 8, !tbaa !5 %4 = load i64, ptr @STALLED, align 8, !tbaa !12 %5 = icmp eq i64 %3, %4 %6 = load i64, ptr @ABDICATED, align 8 %7 = icmp eq i64 %3, %6 %8 = select i1 %5, i1 true, i1 %7 br i1 %8, label %9, label %22 9: ; preds = %2 br i1 %7, label %15, label %10 10: ; preds = %9 %11 = getelementptr inbounds %struct.ifmp_ring, ptr %0, i64 0, i32 1 %12 = load ptr, ptr %11, align 8, !tbaa !13 %13 = tail call i64 %12(ptr noundef nonnull %0) #2 %14 = icmp eq i64 %13, 0 br i1 %14, label %22, label %15 15: ; preds = %10, %9 %16 = tail call i32 @MPASS(i32 noundef 0) #2 %17 = load i64, ptr @BUSY, align 8, !tbaa !12 %18 = tail call i32 @atomic_cmpset_acq_64(ptr noundef nonnull %0, i64 noundef %3, i64 noundef %17) #2 %19 = icmp eq i32 %18, 0 br i1 %19, label %22, label %20 20: ; preds = %15 %21 = tail call i32 @drain_ring_lockless(ptr noundef nonnull %0, i64 %17, i64 noundef %3, i32 noundef %1) #2 br label %22 22: ; preds = %15, %10, %2, %20 ret void } declare i32 @MPASS(i32 noundef) local_unnamed_addr #1 declare i32 @atomic_cmpset_acq_64(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @drain_ring_lockless(ptr noundef, i64, 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 = !{!"ifmp_ring", !7, i64 0, !10, i64 8, !11, i64 16} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!7, !7, i64 0} !13 = !{!6, !10, i64 8}
; ModuleID = 'AnghaBench/freebsd/sys/net/extr_mp_ring.c_ifmp_ring_check_drainage.c' source_filename = "AnghaBench/freebsd/sys/net/extr_mp_ring.c_ifmp_ring_check_drainage.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @STALLED = common local_unnamed_addr global i64 0, align 8 @ABDICATED = common local_unnamed_addr global i64 0, align 8 @BUSY = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define void @ifmp_ring_check_drainage(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i64, ptr %0, align 8, !tbaa !6 %4 = load i64, ptr @STALLED, align 8, !tbaa !13 %5 = icmp eq i64 %3, %4 %6 = load i64, ptr @ABDICATED, align 8 %7 = icmp eq i64 %3, %6 %8 = select i1 %5, i1 true, i1 %7 br i1 %8, label %9, label %22 9: ; preds = %2 br i1 %7, label %15, label %10 10: ; preds = %9 %11 = getelementptr inbounds i8, ptr %0, i64 8 %12 = load ptr, ptr %11, align 8, !tbaa !14 %13 = tail call i64 %12(ptr noundef nonnull %0) #2 %14 = icmp eq i64 %13, 0 br i1 %14, label %22, label %15 15: ; preds = %10, %9 %16 = tail call i32 @MPASS(i32 noundef 0) #2 %17 = load i64, ptr @BUSY, align 8, !tbaa !13 %18 = tail call i32 @atomic_cmpset_acq_64(ptr noundef nonnull %0, i64 noundef %3, i64 noundef %17) #2 %19 = icmp eq i32 %18, 0 br i1 %19, label %22, label %20 20: ; preds = %15 %21 = tail call i32 @drain_ring_lockless(ptr noundef nonnull %0, i64 %17, i64 noundef %3, i32 noundef %1) #2 br label %22 22: ; preds = %15, %10, %2, %20 ret void } declare i32 @MPASS(i32 noundef) local_unnamed_addr #1 declare i32 @atomic_cmpset_acq_64(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @drain_ring_lockless(ptr noundef, i64, 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 = !{!"ifmp_ring", !8, i64 0, !11, i64 8, !12, i64 16} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!8, !8, i64 0} !14 = !{!7, !11, i64 8}
freebsd_sys_net_extr_mp_ring.c_ifmp_ring_check_drainage
; ModuleID = 'AnghaBench/toxcore/toxdns/extr_toxdns.c_decode.c' source_filename = "AnghaBench/toxcore/toxdns/extr_toxdns.c_decode.c" target datalayout = "e-m:e-p270:32:32-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 @decode], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable define internal i32 @decode(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { store i8 0, ptr %0, align 1, !tbaa !5 %3 = load i8, ptr %1, align 1, !tbaa !5 %4 = icmp eq i8 %3, 0 br i1 %4, label %44, label %5 5: ; preds = %2, %38 %6 = phi i8 [ %39, %38 ], [ 0, %2 ] %7 = phi i8 [ %42, %38 ], [ %3, %2 ] %8 = phi i8 [ %41, %38 ], [ 0, %2 ] %9 = phi ptr [ %40, %38 ], [ %0, %2 ] %10 = phi ptr [ %11, %38 ], [ %1, %2 ] %11 = getelementptr inbounds i8, ptr %10, i64 1 %12 = add i8 %7, -65 %13 = icmp ult i8 %12, 26 br i1 %13, label %22, label %14 14: ; preds = %5 %15 = add i8 %7, -97 %16 = icmp ult i8 %15, 26 br i1 %16, label %22, label %17 17: ; preds = %14 %18 = add i8 %7, -48 %19 = icmp ult i8 %18, 6 br i1 %19, label %20, label %50 20: ; preds = %17 %21 = add nsw i8 %7, -22 br label %22 22: ; preds = %14, %5, %20 %23 = phi i8 [ %21, %20 ], [ %12, %5 ], [ %15, %14 ] %24 = zext nneg i8 %23 to i32 %25 = zext nneg i8 %8 to i32 %26 = shl i32 %24, %25 %27 = trunc i32 %26 to i8 %28 = or i8 %6, %27 store i8 %28, ptr %9, align 1, !tbaa !5 %29 = add i8 %8, 5 %30 = icmp sgt i8 %29, 7 br i1 %30, label %31, label %38 31: ; preds = %22 %32 = add nsw i8 %8, -3 %33 = getelementptr inbounds i8, ptr %9, i64 1 %34 = zext nneg i8 %32 to i32 %35 = sub nsw i32 5, %34 %36 = lshr i32 %24, %35 %37 = trunc i32 %36 to i8 store i8 %37, ptr %33, align 1, !tbaa !5 br label %38 38: ; preds = %22, %31 %39 = phi i8 [ %37, %31 ], [ %28, %22 ] %40 = phi ptr [ %33, %31 ], [ %9, %22 ] %41 = phi i8 [ %32, %31 ], [ %29, %22 ] %42 = load i8, ptr %11, align 1, !tbaa !5 %43 = icmp eq i8 %42, 0 br i1 %43, label %44, label %5, !llvm.loop !8 44: ; preds = %38, %2 %45 = phi ptr [ %0, %2 ], [ %40, %38 ] %46 = ptrtoint ptr %45 to i64 %47 = ptrtoint ptr %0 to i64 %48 = sub i64 %46, %47 %49 = trunc i64 %48 to i32 br label %50 50: ; preds = %17, %44 %51 = phi i32 [ %49, %44 ], [ -1, %17 ] ret i32 %51 } attributes #0 = { nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = distinct !{!8, !9} !9 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/toxcore/toxdns/extr_toxdns.c_decode.c' source_filename = "AnghaBench/toxcore/toxdns/extr_toxdns.c_decode.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 @decode], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind ssp memory(readwrite, inaccessiblemem: none) uwtable(sync) define internal i32 @decode(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { store i8 0, ptr %0, align 1, !tbaa !6 %3 = load i8, ptr %1, align 1, !tbaa !6 %4 = icmp eq i8 %3, 0 br i1 %4, label %44, label %5 5: ; preds = %2, %38 %6 = phi i8 [ %39, %38 ], [ 0, %2 ] %7 = phi i8 [ %42, %38 ], [ %3, %2 ] %8 = phi i8 [ %41, %38 ], [ 0, %2 ] %9 = phi ptr [ %40, %38 ], [ %0, %2 ] %10 = phi ptr [ %11, %38 ], [ %1, %2 ] %11 = getelementptr inbounds i8, ptr %10, i64 1 %12 = add i8 %7, -65 %13 = icmp ult i8 %12, 26 br i1 %13, label %22, label %14 14: ; preds = %5 %15 = add i8 %7, -97 %16 = icmp ult i8 %15, 26 br i1 %16, label %22, label %17 17: ; preds = %14 %18 = add i8 %7, -48 %19 = icmp ult i8 %18, 6 br i1 %19, label %20, label %50 20: ; preds = %17 %21 = add nsw i8 %7, -22 br label %22 22: ; preds = %14, %5, %20 %23 = phi i8 [ %21, %20 ], [ %12, %5 ], [ %15, %14 ] %24 = zext nneg i8 %23 to i32 %25 = zext nneg i8 %8 to i32 %26 = shl i32 %24, %25 %27 = trunc i32 %26 to i8 %28 = or i8 %6, %27 store i8 %28, ptr %9, align 1, !tbaa !6 %29 = add i8 %8, 5 %30 = icmp sgt i8 %29, 7 br i1 %30, label %31, label %38 31: ; preds = %22 %32 = add nsw i8 %8, -3 %33 = getelementptr inbounds i8, ptr %9, i64 1 %34 = zext nneg i8 %32 to i32 %35 = sub nsw i32 5, %34 %36 = lshr i32 %24, %35 %37 = trunc nuw nsw i32 %36 to i8 store i8 %37, ptr %33, align 1, !tbaa !6 br label %38 38: ; preds = %22, %31 %39 = phi i8 [ %37, %31 ], [ %28, %22 ] %40 = phi ptr [ %33, %31 ], [ %9, %22 ] %41 = phi i8 [ %32, %31 ], [ %29, %22 ] %42 = load i8, ptr %11, align 1, !tbaa !6 %43 = icmp eq i8 %42, 0 br i1 %43, label %44, label %5, !llvm.loop !9 44: ; preds = %38, %2 %45 = phi ptr [ %0, %2 ], [ %40, %38 ] %46 = ptrtoint ptr %45 to i64 %47 = ptrtoint ptr %0 to i64 %48 = sub i64 %46, %47 %49 = trunc i64 %48 to i32 br label %50 50: ; preds = %17, %44 %51 = phi i32 [ %49, %44 ], [ -1, %17 ] ret i32 %51 } attributes #0 = { nofree norecurse nosync nounwind ssp memory(readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"}
toxcore_toxdns_extr_toxdns.c_decode
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/dma/extr_mv_xor.c_mv_xor_err_interrupt_handler.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/dma/extr_mv_xor.c_mv_xor_err_interrupt_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.mv_xor_chan = type { i32, ptr } @.str = private unnamed_addr constant [19 x i8] c"ignore this error\0A\00", align 1 @KERN_ERR = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [38 x i8] c"error on chan %d. intr cause 0x%08x.\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @mv_xor_err_interrupt_handler], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @mv_xor_err_interrupt_handler(ptr noundef %0, i32 noundef %1) #0 { %3 = and i32 %1, 16 %4 = icmp eq i32 %3, 0 br i1 %4, label %10, label %5 5: ; preds = %2 %6 = getelementptr inbounds %struct.mv_xor_chan, ptr %0, i64 0, i32 1 %7 = load ptr, ptr %6, align 8, !tbaa !5 %8 = load i32, ptr %7, align 4, !tbaa !11 %9 = tail call i32 @dev_dbg(i32 noundef %8, ptr noundef nonnull @.str) #2 br label %19 10: ; preds = %2 %11 = load i32, ptr @KERN_ERR, align 4, !tbaa !14 %12 = getelementptr inbounds %struct.mv_xor_chan, ptr %0, i64 0, i32 1 %13 = load ptr, ptr %12, align 8, !tbaa !5 %14 = load i32, ptr %13, align 4, !tbaa !11 %15 = load i32, ptr %0, align 8, !tbaa !15 %16 = tail call i32 @dev_printk(i32 noundef %11, i32 noundef %14, ptr noundef nonnull @.str.1, i32 noundef %15, i32 noundef %1) #2 %17 = tail call i32 @mv_dump_xor_regs(ptr noundef nonnull %0) #2 %18 = tail call i32 (...) @BUG() #2 br label %19 19: ; preds = %10, %5 ret void } declare i32 @dev_dbg(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @dev_printk(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mv_dump_xor_regs(ptr noundef) local_unnamed_addr #1 declare i32 @BUG(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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 = !{!"mv_xor_chan", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!12, !7, i64 0} !12 = !{!"TYPE_4__", !13, i64 0} !13 = !{!"TYPE_3__", !7, i64 0} !14 = !{!7, !7, i64 0} !15 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/dma/extr_mv_xor.c_mv_xor_err_interrupt_handler.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/dma/extr_mv_xor.c_mv_xor_err_interrupt_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 [19 x i8] c"ignore this error\0A\00", align 1 @KERN_ERR = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [38 x i8] c"error on chan %d. intr cause 0x%08x.\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @mv_xor_err_interrupt_handler], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @mv_xor_err_interrupt_handler(ptr noundef %0, i32 noundef %1) #0 { %3 = and i32 %1, 16 %4 = icmp eq i32 %3, 0 br i1 %4, label %10, label %5 5: ; preds = %2 %6 = getelementptr inbounds i8, ptr %0, i64 8 %7 = load ptr, ptr %6, align 8, !tbaa !6 %8 = load i32, ptr %7, align 4, !tbaa !12 %9 = tail call i32 @dev_dbg(i32 noundef %8, ptr noundef nonnull @.str) #2 br label %19 10: ; preds = %2 %11 = load i32, ptr @KERN_ERR, align 4, !tbaa !15 %12 = getelementptr inbounds i8, ptr %0, i64 8 %13 = load ptr, ptr %12, align 8, !tbaa !6 %14 = load i32, ptr %13, align 4, !tbaa !12 %15 = load i32, ptr %0, align 8, !tbaa !16 %16 = tail call i32 @dev_printk(i32 noundef %11, i32 noundef %14, ptr noundef nonnull @.str.1, i32 noundef %15, i32 noundef %1) #2 %17 = tail call i32 @mv_dump_xor_regs(ptr noundef nonnull %0) #2 %18 = tail call i32 @BUG() #2 br label %19 19: ; preds = %10, %5 ret void } declare i32 @dev_dbg(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @dev_printk(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mv_dump_xor_regs(ptr noundef) local_unnamed_addr #1 declare i32 @BUG(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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 = !{!"mv_xor_chan", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!13, !8, i64 0} !13 = !{!"TYPE_4__", !14, i64 0} !14 = !{!"TYPE_3__", !8, i64 0} !15 = !{!8, !8, i64 0} !16 = !{!7, !8, i64 0}
fastsocket_kernel_drivers_dma_extr_mv_xor.c_mv_xor_err_interrupt_handler
; ModuleID = 'AnghaBench/redis/src/extr_t_zset.c_zsetLength.c' source_filename = "AnghaBench/redis/src/extr_t_zset.c_zsetLength.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_7__ = type { i64, i64 } @OBJ_ENCODING_ZIPLIST = dso_local local_unnamed_addr global i64 0, align 8 @OBJ_ENCODING_SKIPLIST = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [28 x i8] c"Unknown sorted set encoding\00", align 1 ; Function Attrs: nounwind uwtable define dso_local i64 @zsetLength(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i64, ptr %0, align 8, !tbaa !5 %3 = load i64, ptr @OBJ_ENCODING_ZIPLIST, align 8, !tbaa !10 %4 = icmp eq i64 %2, %3 br i1 %4, label %5, label %9 5: ; preds = %1 %6 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 1 %7 = load i64, ptr %6, align 8, !tbaa !11 %8 = tail call i64 @zzlLength(i64 noundef %7) #2 br label %20 9: ; preds = %1 %10 = load i64, ptr @OBJ_ENCODING_SKIPLIST, align 8, !tbaa !10 %11 = icmp eq i64 %2, %10 br i1 %11, label %12, label %18 12: ; preds = %9 %13 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 1 %14 = load i64, ptr %13, align 8, !tbaa !11 %15 = inttoptr i64 %14 to ptr %16 = load ptr, ptr %15, align 8, !tbaa !12 %17 = load i64, ptr %16, align 8, !tbaa !15 br label %20 18: ; preds = %9 %19 = tail call i32 @serverPanic(ptr noundef nonnull @.str) #2 br label %20 20: ; preds = %12, %18, %5 %21 = phi i64 [ %8, %5 ], [ %17, %12 ], [ 0, %18 ] ret i64 %21 } declare i64 @zzlLength(i64 noundef) local_unnamed_addr #1 declare i32 @serverPanic(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_7__", !7, i64 0, !7, i64 8} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!6, !7, i64 8} !12 = !{!13, !14, i64 0} !13 = !{!"TYPE_6__", !14, i64 0} !14 = !{!"any pointer", !8, i64 0} !15 = !{!16, !7, i64 0} !16 = !{!"TYPE_5__", !7, i64 0}
; ModuleID = 'AnghaBench/redis/src/extr_t_zset.c_zsetLength.c' source_filename = "AnghaBench/redis/src/extr_t_zset.c_zsetLength.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @OBJ_ENCODING_ZIPLIST = common local_unnamed_addr global i64 0, align 8 @OBJ_ENCODING_SKIPLIST = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [28 x i8] c"Unknown sorted set encoding\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define i64 @zsetLength(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i64, ptr %0, align 8, !tbaa !6 %3 = load i64, ptr @OBJ_ENCODING_ZIPLIST, align 8, !tbaa !11 %4 = icmp eq i64 %2, %3 br i1 %4, label %5, label %9 5: ; preds = %1 %6 = getelementptr inbounds i8, ptr %0, i64 8 %7 = load i64, ptr %6, align 8, !tbaa !12 %8 = tail call i64 @zzlLength(i64 noundef %7) #2 br label %20 9: ; preds = %1 %10 = load i64, ptr @OBJ_ENCODING_SKIPLIST, align 8, !tbaa !11 %11 = icmp eq i64 %2, %10 br i1 %11, label %12, label %18 12: ; preds = %9 %13 = getelementptr inbounds i8, ptr %0, i64 8 %14 = load i64, ptr %13, align 8, !tbaa !12 %15 = inttoptr i64 %14 to ptr %16 = load ptr, ptr %15, align 8, !tbaa !13 %17 = load i64, ptr %16, align 8, !tbaa !16 br label %20 18: ; preds = %9 %19 = tail call i32 @serverPanic(ptr noundef nonnull @.str) #2 br label %20 20: ; preds = %12, %18, %5 %21 = phi i64 [ %8, %5 ], [ %17, %12 ], [ 0, %18 ] ret i64 %21 } declare i64 @zzlLength(i64 noundef) local_unnamed_addr #1 declare i32 @serverPanic(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_7__", !8, i64 0, !8, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!7, !8, i64 8} !13 = !{!14, !15, i64 0} !14 = !{!"TYPE_6__", !15, i64 0} !15 = !{!"any pointer", !9, i64 0} !16 = !{!17, !8, i64 0} !17 = !{!"TYPE_5__", !8, i64 0}
redis_src_extr_t_zset.c_zsetLength
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_c-parser.c_c_parser_objc_synchronized_statement.c' source_filename = "AnghaBench/freebsd/contrib/gcc/extr_c-parser.c_c_parser_objc_synchronized_statement.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @RID_AT_SYNCHRONIZED = dso_local local_unnamed_addr global i32 0, align 4 @CPP_OPEN_PAREN = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [15 x i8] c"expected %<(%>\00", align 1 @CPP_CLOSE_PAREN = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [15 x i8] c"expected %<)%>\00", align 1 @error_mark_node = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @c_parser_objc_synchronized_statement], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @c_parser_objc_synchronized_statement(ptr noundef %0) #0 { %2 = load i32, ptr @RID_AT_SYNCHRONIZED, align 4, !tbaa !5 %3 = tail call i32 @c_parser_next_token_is_keyword(ptr noundef %0, i32 noundef %2) #2 %4 = tail call i32 @gcc_assert(i32 noundef %3) #2 %5 = tail call i32 @c_parser_consume_token(ptr noundef %0) #2 %6 = tail call ptr @c_parser_peek_token(ptr noundef %0) #2 %7 = load i32, ptr %6, align 4, !tbaa !9 %8 = load i32, ptr @CPP_OPEN_PAREN, align 4, !tbaa !5 %9 = tail call i64 @c_parser_require(ptr noundef %0, i32 noundef %8, ptr noundef nonnull @.str) #2 %10 = icmp eq i64 %9, 0 br i1 %10, label %15, label %11 11: ; preds = %1 %12 = tail call i32 @c_parser_expression(ptr noundef %0) #2 %13 = load i32, ptr @CPP_CLOSE_PAREN, align 4, !tbaa !5 %14 = tail call i32 @c_parser_skip_until_found(ptr noundef %0, i32 noundef %13, ptr noundef nonnull @.str.1) #2 br label %17 15: ; preds = %1 %16 = load i32, ptr @error_mark_node, align 4, !tbaa !5 br label %17 17: ; preds = %15, %11 %18 = phi i32 [ %12, %11 ], [ %16, %15 ] %19 = tail call i32 @c_parser_objc_synch_compound_statement(ptr noundef %0) #2 %20 = tail call i32 @objc_build_synchronized(i32 noundef %7, i32 noundef %18, i32 noundef %19) #2 ret void } declare i32 @gcc_assert(i32 noundef) local_unnamed_addr #1 declare i32 @c_parser_next_token_is_keyword(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @c_parser_consume_token(ptr noundef) local_unnamed_addr #1 declare ptr @c_parser_peek_token(ptr noundef) local_unnamed_addr #1 declare i64 @c_parser_require(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @c_parser_expression(ptr noundef) local_unnamed_addr #1 declare i32 @c_parser_skip_until_found(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @c_parser_objc_synch_compound_statement(ptr noundef) local_unnamed_addr #1 declare i32 @objc_build_synchronized(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"TYPE_3__", !6, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_c-parser.c_c_parser_objc_synchronized_statement.c' source_filename = "AnghaBench/freebsd/contrib/gcc/extr_c-parser.c_c_parser_objc_synchronized_statement.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @RID_AT_SYNCHRONIZED = common local_unnamed_addr global i32 0, align 4 @CPP_OPEN_PAREN = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [15 x i8] c"expected %<(%>\00", align 1 @CPP_CLOSE_PAREN = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [15 x i8] c"expected %<)%>\00", align 1 @error_mark_node = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @c_parser_objc_synchronized_statement], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @c_parser_objc_synchronized_statement(ptr noundef %0) #0 { %2 = load i32, ptr @RID_AT_SYNCHRONIZED, align 4, !tbaa !6 %3 = tail call i32 @c_parser_next_token_is_keyword(ptr noundef %0, i32 noundef %2) #2 %4 = tail call i32 @gcc_assert(i32 noundef %3) #2 %5 = tail call i32 @c_parser_consume_token(ptr noundef %0) #2 %6 = tail call ptr @c_parser_peek_token(ptr noundef %0) #2 %7 = load i32, ptr %6, align 4, !tbaa !10 %8 = load i32, ptr @CPP_OPEN_PAREN, align 4, !tbaa !6 %9 = tail call i64 @c_parser_require(ptr noundef %0, i32 noundef %8, ptr noundef nonnull @.str) #2 %10 = icmp eq i64 %9, 0 br i1 %10, label %15, label %11 11: ; preds = %1 %12 = tail call i32 @c_parser_expression(ptr noundef %0) #2 %13 = load i32, ptr @CPP_CLOSE_PAREN, align 4, !tbaa !6 %14 = tail call i32 @c_parser_skip_until_found(ptr noundef %0, i32 noundef %13, ptr noundef nonnull @.str.1) #2 br label %17 15: ; preds = %1 %16 = load i32, ptr @error_mark_node, align 4, !tbaa !6 br label %17 17: ; preds = %15, %11 %18 = phi i32 [ %12, %11 ], [ %16, %15 ] %19 = tail call i32 @c_parser_objc_synch_compound_statement(ptr noundef %0) #2 %20 = tail call i32 @objc_build_synchronized(i32 noundef %7, i32 noundef %18, i32 noundef %19) #2 ret void } declare i32 @gcc_assert(i32 noundef) local_unnamed_addr #1 declare i32 @c_parser_next_token_is_keyword(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @c_parser_consume_token(ptr noundef) local_unnamed_addr #1 declare ptr @c_parser_peek_token(ptr noundef) local_unnamed_addr #1 declare i64 @c_parser_require(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @c_parser_expression(ptr noundef) local_unnamed_addr #1 declare i32 @c_parser_skip_until_found(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @c_parser_objc_synch_compound_statement(ptr noundef) local_unnamed_addr #1 declare i32 @objc_build_synchronized(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_3__", !7, i64 0}
freebsd_contrib_gcc_extr_c-parser.c_c_parser_objc_synchronized_statement
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/panel/extr_panel.c_phys_scan_contacts.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/panel/extr_panel.c_phys_scan_contacts.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @phys_curr = dso_local local_unnamed_addr global i32 0, align 4 @phys_prev = dso_local local_unnamed_addr global i32 0, align 4 @phys_read = dso_local local_unnamed_addr global i32 0, align 4 @phys_read_prev = dso_local local_unnamed_addr global i32 0, align 4 @pprt = dso_local local_unnamed_addr global i32 0, align 4 @scan_mask_o = dso_local local_unnamed_addr global i8 0, align 1 @scan_mask_i = dso_local local_unnamed_addr global i8 0, align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @phys_scan_contacts], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @phys_scan_contacts() #0 { %1 = load i32, ptr @phys_curr, align 4, !tbaa !5 store i32 %1, ptr @phys_prev, align 4, !tbaa !5 %2 = load i32, ptr @phys_read, align 4, !tbaa !5 store i32 %2, ptr @phys_read_prev, align 4, !tbaa !5 store i32 0, ptr @phys_read, align 4, !tbaa !5 %3 = load i32, ptr @pprt, align 4, !tbaa !5 %4 = tail call signext i8 @r_dtr(i32 noundef %3) #2 %5 = load i8, ptr @scan_mask_o, align 1, !tbaa !9 %6 = or i8 %5, %4 %7 = load i32, ptr @pprt, align 4, !tbaa !5 %8 = xor i8 %5, -1 %9 = and i8 %4, %8 %10 = tail call i32 @w_dtr(i32 noundef %7, i8 noundef signext %9) #2 %11 = load i32, ptr @pprt, align 4, !tbaa !5 %12 = tail call i32 @r_str(i32 noundef %11) #2 %13 = tail call signext i8 @PNL_PINPUT(i32 noundef %12) #2 %14 = load i8, ptr @scan_mask_i, align 1, !tbaa !9 %15 = and i8 %14, %13 %16 = load i32, ptr @pprt, align 4, !tbaa !5 %17 = tail call i32 @w_dtr(i32 noundef %16, i8 noundef signext %6) #2 %18 = load i32, ptr @pprt, align 4, !tbaa !5 %19 = tail call i32 @r_str(i32 noundef %18) #2 %20 = tail call signext i8 @PNL_PINPUT(i32 noundef %19) #2 %21 = load i8, ptr @scan_mask_i, align 1, !tbaa !9 %22 = and i8 %21, %20 %23 = icmp eq i8 %15, %22 br i1 %23, label %57, label %24 24: ; preds = %0 %25 = xor i8 %22, -1 %26 = load i8, ptr @scan_mask_o, align 1, !tbaa !9 br label %27 27: ; preds = %24, %50 %28 = phi i8 [ %26, %24 ], [ %51, %50 ] %29 = phi i32 [ 0, %24 ], [ %52, %50 ] %30 = shl nuw nsw i32 1, %29 %31 = sext i8 %28 to i32 %32 = and i32 %30, %31 %33 = icmp eq i32 %32, 0 br i1 %33, label %50, label %34 34: ; preds = %27 %35 = load i32, ptr @pprt, align 4, !tbaa !5 %36 = trunc i32 %30 to i8 %37 = xor i8 %36, -1 %38 = and i8 %6, %37 %39 = tail call i32 @w_dtr(i32 noundef %35, i8 noundef signext %38) #2 %40 = load i32, ptr @pprt, align 4, !tbaa !5 %41 = tail call i32 @r_str(i32 noundef %40) #2 %42 = tail call signext i8 @PNL_PINPUT(i32 noundef %41) #2 %43 = and i8 %42, %25 %44 = sext i8 %43 to i32 %45 = mul nuw nsw i32 %29, 5 %46 = shl i32 %44, %45 %47 = load i32, ptr @phys_read, align 4, !tbaa !5 %48 = or i32 %46, %47 store i32 %48, ptr @phys_read, align 4, !tbaa !5 %49 = load i8, ptr @scan_mask_o, align 1, !tbaa !9 br label %50 50: ; preds = %27, %34 %51 = phi i8 [ %28, %27 ], [ %49, %34 ] %52 = add nuw nsw i32 %29, 1 %53 = icmp eq i32 %52, 8 br i1 %53, label %54, label %27, !llvm.loop !10 54: ; preds = %50 %55 = load i32, ptr @pprt, align 4, !tbaa !5 %56 = tail call i32 @w_dtr(i32 noundef %55, i8 noundef signext %6) #2 br label %57 57: ; preds = %54, %0 %58 = load i32, ptr @phys_prev, align 4, !tbaa !5 %59 = load i32, ptr @phys_read, align 4, !tbaa !5 %60 = load i32, ptr @phys_read_prev, align 4, !tbaa !5 %61 = xor i32 %60, %59 %62 = and i32 %61, %58 %63 = and i32 %60, %59 %64 = or i32 %62, %63 store i32 %64, ptr @phys_curr, align 4, !tbaa !5 ret void } declare signext i8 @r_dtr(i32 noundef) local_unnamed_addr #1 declare i32 @w_dtr(i32 noundef, i8 noundef signext) local_unnamed_addr #1 declare signext i8 @PNL_PINPUT(i32 noundef) local_unnamed_addr #1 declare i32 @r_str(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!7, !7, i64 0} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/panel/extr_panel.c_phys_scan_contacts.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/panel/extr_panel.c_phys_scan_contacts.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @phys_curr = common local_unnamed_addr global i32 0, align 4 @phys_prev = common local_unnamed_addr global i32 0, align 4 @phys_read = common local_unnamed_addr global i32 0, align 4 @phys_read_prev = common local_unnamed_addr global i32 0, align 4 @pprt = common local_unnamed_addr global i32 0, align 4 @scan_mask_o = common local_unnamed_addr global i8 0, align 1 @scan_mask_i = common local_unnamed_addr global i8 0, align 1 @llvm.used = appending global [1 x ptr] [ptr @phys_scan_contacts], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @phys_scan_contacts() #0 { %1 = load i32, ptr @phys_curr, align 4, !tbaa !6 store i32 %1, ptr @phys_prev, align 4, !tbaa !6 %2 = load i32, ptr @phys_read, align 4, !tbaa !6 store i32 %2, ptr @phys_read_prev, align 4, !tbaa !6 store i32 0, ptr @phys_read, align 4, !tbaa !6 %3 = load i32, ptr @pprt, align 4, !tbaa !6 %4 = tail call signext i8 @r_dtr(i32 noundef %3) #2 %5 = load i8, ptr @scan_mask_o, align 1, !tbaa !10 %6 = or i8 %5, %4 %7 = load i32, ptr @pprt, align 4, !tbaa !6 %8 = xor i8 %5, -1 %9 = and i8 %4, %8 %10 = tail call i32 @w_dtr(i32 noundef %7, i8 noundef signext %9) #2 %11 = load i32, ptr @pprt, align 4, !tbaa !6 %12 = tail call i32 @r_str(i32 noundef %11) #2 %13 = tail call signext i8 @PNL_PINPUT(i32 noundef %12) #2 %14 = load i8, ptr @scan_mask_i, align 1, !tbaa !10 %15 = and i8 %14, %13 %16 = load i32, ptr @pprt, align 4, !tbaa !6 %17 = tail call i32 @w_dtr(i32 noundef %16, i8 noundef signext %6) #2 %18 = load i32, ptr @pprt, align 4, !tbaa !6 %19 = tail call i32 @r_str(i32 noundef %18) #2 %20 = tail call signext i8 @PNL_PINPUT(i32 noundef %19) #2 %21 = load i8, ptr @scan_mask_i, align 1, !tbaa !10 %22 = and i8 %21, %20 %23 = icmp eq i8 %15, %22 br i1 %23, label %57, label %24 24: ; preds = %0 %25 = xor i8 %22, -1 %26 = load i8, ptr @scan_mask_o, align 1, !tbaa !10 br label %27 27: ; preds = %24, %50 %28 = phi i8 [ %26, %24 ], [ %51, %50 ] %29 = phi i32 [ 0, %24 ], [ %52, %50 ] %30 = shl nuw nsw i32 1, %29 %31 = sext i8 %28 to i32 %32 = and i32 %30, %31 %33 = icmp eq i32 %32, 0 br i1 %33, label %50, label %34 34: ; preds = %27 %35 = load i32, ptr @pprt, align 4, !tbaa !6 %36 = trunc nuw i32 %30 to i8 %37 = xor i8 %36, -1 %38 = and i8 %6, %37 %39 = tail call i32 @w_dtr(i32 noundef %35, i8 noundef signext %38) #2 %40 = load i32, ptr @pprt, align 4, !tbaa !6 %41 = tail call i32 @r_str(i32 noundef %40) #2 %42 = tail call signext i8 @PNL_PINPUT(i32 noundef %41) #2 %43 = and i8 %42, %25 %44 = sext i8 %43 to i32 %45 = mul nuw nsw i32 %29, 5 %46 = shl i32 %44, %45 %47 = load i32, ptr @phys_read, align 4, !tbaa !6 %48 = or i32 %46, %47 store i32 %48, ptr @phys_read, align 4, !tbaa !6 %49 = load i8, ptr @scan_mask_o, align 1, !tbaa !10 br label %50 50: ; preds = %27, %34 %51 = phi i8 [ %28, %27 ], [ %49, %34 ] %52 = add nuw nsw i32 %29, 1 %53 = icmp eq i32 %52, 8 br i1 %53, label %54, label %27, !llvm.loop !11 54: ; preds = %50 %55 = load i32, ptr @pprt, align 4, !tbaa !6 %56 = tail call i32 @w_dtr(i32 noundef %55, i8 noundef signext %6) #2 br label %57 57: ; preds = %54, %0 %58 = load i32, ptr @phys_prev, align 4, !tbaa !6 %59 = load i32, ptr @phys_read, align 4, !tbaa !6 %60 = load i32, ptr @phys_read_prev, align 4, !tbaa !6 %61 = xor i32 %60, %59 %62 = and i32 %61, %58 %63 = and i32 %60, %59 %64 = or i32 %62, %63 store i32 %64, ptr @phys_curr, align 4, !tbaa !6 ret void } declare signext i8 @r_dtr(i32 noundef) local_unnamed_addr #1 declare i32 @w_dtr(i32 noundef, i8 noundef signext) local_unnamed_addr #1 declare signext i8 @PNL_PINPUT(i32 noundef) local_unnamed_addr #1 declare i32 @r_str(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!8, !8, i64 0} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"}
fastsocket_kernel_drivers_staging_panel_extr_panel.c_phys_scan_contacts
; ModuleID = 'AnghaBench/linux/fs/jfs/extr_jfs_txnmgr.c_txCommit.c' source_filename = "AnghaBench/linux/fs/jfs/extr_jfs_txnmgr.c_txCommit.c" target datalayout = "e-m:e-p270:32:32-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.commit = type { i32, ptr, %struct.lrd, ptr, i32, ptr } %struct.lrd = type { i64, i32, i64, i32 } %struct.inode = type { i64, ptr } %struct.tblock = type { i32, i32, %struct.TYPE_6__, i64, i64, i32 } %struct.TYPE_6__ = type { ptr } %struct.jfs_inode_info = type { i64, i64, i32, i64, i64 } %struct.TYPE_7__ = type { i32, i64 } @.str = private unnamed_addr constant [30 x i8] c"txCommit, tid = %d, flag = %d\00", align 1 @EROFS = dso_local local_unnamed_addr global i32 0, align 4 @COMMIT_FORCE = dso_local local_unnamed_addr global i32 0, align 4 @COMMIT_SYNC = dso_local local_unnamed_addr global i32 0, align 4 @COMMIT_LAZY = dso_local local_unnamed_addr global i32 0, align 4 @COMMIT_Dirty = dso_local local_unnamed_addr global i32 0, align 4 @COMMIT_DELETE = dso_local local_unnamed_addr global i32 0, align 4 @I_SYNC = dso_local local_unnamed_addr global i32 0, align 4 @COMMIT_Nolink = dso_local local_unnamed_addr global i32 0, align 4 @LOG_COMMIT = dso_local local_unnamed_addr global i32 0, align 4 @tblkGC_LAZY = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [33 x i8] c"txCommit: tid = %d, returning %d\00", align 1 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @txCommit(i32 noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = alloca %struct.commit, align 8 call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %5) #5 %6 = tail call i32 @jfs_info(ptr noundef nonnull @.str, i32 noundef %0, i32 noundef %3) #5 %7 = load ptr, ptr %2, align 8, !tbaa !5 %8 = tail call i64 @isReadOnly(ptr noundef %7) #5 %9 = icmp eq i64 %8, 0 br i1 %9, label %13, label %10 10: ; preds = %4 %11 = load i32, ptr @EROFS, align 4, !tbaa !9 %12 = sub nsw i32 0, %11 br label %198 13: ; preds = %4 %14 = load ptr, ptr %2, align 8, !tbaa !5 %15 = getelementptr inbounds %struct.inode, ptr %14, i64 0, i32 1 %16 = load ptr, ptr %15, align 8, !tbaa !11 %17 = getelementptr inbounds %struct.commit, ptr %5, i64 0, i32 5 store ptr %16, ptr %17, align 8, !tbaa !14 %18 = getelementptr inbounds %struct.commit, ptr %5, i64 0, i32 4 store i32 %0, ptr %18, align 8, !tbaa !17 %19 = icmp eq i32 %0, 0 br i1 %19, label %20, label %22 20: ; preds = %13 %21 = tail call i32 @txBegin(ptr noundef %16, i32 noundef 0) #5 br label %22 22: ; preds = %20, %13 %23 = phi i32 [ %21, %20 ], [ %0, %13 ] %24 = tail call ptr @tid_to_tblock(i32 noundef %23) #5 %25 = tail call ptr @JFS_SBI(ptr noundef %16) #5 %26 = load ptr, ptr %25, align 8, !tbaa !18 %27 = getelementptr inbounds %struct.commit, ptr %5, i64 0, i32 3 store ptr %26, ptr %27, align 8, !tbaa !20 %28 = getelementptr inbounds %struct.commit, ptr %5, i64 0, i32 2 %29 = getelementptr inbounds %struct.tblock, ptr %24, i64 0, i32 5 %30 = load i32, ptr %29, align 8, !tbaa !21 %31 = tail call i32 @cpu_to_le32(i32 noundef %30) #5 %32 = getelementptr inbounds %struct.commit, ptr %5, i64 0, i32 2, i32 3 store i32 %31, ptr %32, align 8, !tbaa !24 %33 = getelementptr inbounds %struct.commit, ptr %5, i64 0, i32 2, i32 2 store i64 0, ptr %33, align 8, !tbaa !25 %34 = load i32, ptr %24, align 8, !tbaa !26 %35 = or i32 %34, %3 store i32 %35, ptr %24, align 8, !tbaa !26 %36 = load i32, ptr @COMMIT_FORCE, align 4, !tbaa !9 %37 = load i32, ptr @COMMIT_SYNC, align 4, !tbaa !9 %38 = or i32 %37, %36 %39 = and i32 %38, %3 %40 = icmp eq i32 %39, 0 br i1 %40, label %41, label %44 41: ; preds = %22 %42 = load i32, ptr @COMMIT_LAZY, align 4, !tbaa !9 %43 = or i32 %42, %35 store i32 %43, ptr %24, align 8, !tbaa !26 br label %44 44: ; preds = %41, %22 %45 = getelementptr inbounds %struct.commit, ptr %5, i64 0, i32 1 store ptr %2, ptr %45, align 8, !tbaa !27 store i32 %1, ptr %5, align 8, !tbaa !28 %46 = getelementptr inbounds %struct.tblock, ptr %24, i64 0, i32 4 %47 = getelementptr inbounds %struct.tblock, ptr %24, i64 0, i32 3 %48 = tail call i32 @llvm.smax.i32(i32 %1, i32 0) %49 = zext nneg i32 %48 to i64 %50 = zext i32 %1 to i64 br label %51 51: ; preds = %111, %44 %52 = phi ptr [ %89, %111 ], [ %2, %44 ] %53 = phi i64 [ %59, %111 ], [ 0, %44 ] %54 = phi i64 [ %114, %111 ], [ 1, %44 ] %55 = icmp eq i64 %53, %49 br i1 %55, label %115, label %56 56: ; preds = %51 %57 = getelementptr inbounds ptr, ptr %52, i64 %53 %58 = load ptr, ptr %57, align 8, !tbaa !5 %59 = add nuw nsw i64 %53, 1 %60 = trunc i64 %59 to i32 %61 = icmp slt i32 %60, %1 br i1 %61, label %62, label %87 62: ; preds = %56 %63 = load i64, ptr %58, align 8, !tbaa !29 br label %64 64: ; preds = %62, %78 %65 = phi ptr [ %52, %62 ], [ %79, %78 ] %66 = phi ptr [ %52, %62 ], [ %80, %78 ] %67 = phi i64 [ %54, %62 ], [ %82, %78 ] %68 = phi i64 [ %63, %62 ], [ %81, %78 ] %69 = getelementptr inbounds ptr, ptr %66, i64 %67 %70 = load ptr, ptr %69, align 8, !tbaa !5 %71 = load i64, ptr %70, align 8, !tbaa !29 %72 = icmp sgt i64 %71, %68 br i1 %72, label %73, label %78 73: ; preds = %64 %74 = getelementptr inbounds ptr, ptr %66, i64 %53 %75 = load ptr, ptr %74, align 8, !tbaa !5 store ptr %75, ptr %69, align 8, !tbaa !5 %76 = load ptr, ptr %45, align 8, !tbaa !27 %77 = getelementptr inbounds ptr, ptr %76, i64 %53 store ptr %70, ptr %77, align 8, !tbaa !5 br label %78 78: ; preds = %64, %73 %79 = phi ptr [ %76, %73 ], [ %65, %64 ] %80 = phi ptr [ %76, %73 ], [ %66, %64 ] %81 = phi i64 [ %71, %73 ], [ %68, %64 ] %82 = add nuw nsw i64 %67, 1 %83 = icmp eq i64 %82, %50 br i1 %83, label %84, label %64, !llvm.loop !30 84: ; preds = %78 %85 = getelementptr inbounds ptr, ptr %79, i64 %53 %86 = load ptr, ptr %85, align 8, !tbaa !5 br label %87 87: ; preds = %84, %56 %88 = phi ptr [ %86, %84 ], [ %58, %56 ] %89 = phi ptr [ %79, %84 ], [ %52, %56 ] %90 = tail call ptr @JFS_IP(ptr noundef %88) #5 %91 = load i32, ptr @COMMIT_Dirty, align 4, !tbaa !9 %92 = tail call i32 @clear_cflag(i32 noundef %91, ptr noundef %88) #5 %93 = getelementptr inbounds %struct.jfs_inode_info, ptr %90, i64 0, i32 4 %94 = load i64, ptr %93, align 8, !tbaa !32 %95 = icmp eq i64 %94, 0 br i1 %95, label %111, label %96 96: ; preds = %87 %97 = load i64, ptr %46, align 8, !tbaa !34 %98 = getelementptr inbounds %struct.jfs_inode_info, ptr %90, i64 0, i32 3 %99 = load i64, ptr %98, align 8, !tbaa !35 %100 = tail call ptr @lid_to_tlock(i64 noundef %99) #5 store i64 %97, ptr %100, align 8, !tbaa !36 %101 = load i64, ptr %93, align 8, !tbaa !32 store i64 %101, ptr %46, align 8, !tbaa !34 %102 = load i64, ptr %47, align 8, !tbaa !38 %103 = icmp eq i64 %102, 0 br i1 %103, label %104, label %106 104: ; preds = %96 %105 = load i64, ptr %98, align 8, !tbaa !35 store i64 %105, ptr %47, align 8, !tbaa !38 br label %106 106: ; preds = %104, %96 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %98, i8 0, i64 16, i1 false) %107 = tail call i32 (...) @TXN_LOCK() #5 %108 = getelementptr inbounds %struct.jfs_inode_info, ptr %90, i64 0, i32 2 %109 = tail call i32 @list_del_init(ptr noundef nonnull %108) #5 %110 = tail call i32 (...) @TXN_UNLOCK() #5 br label %111 111: ; preds = %106, %87 %112 = tail call i32 @diWrite(i32 noundef %23, ptr noundef %88) #5 %113 = icmp eq i32 %112, 0 %114 = add nuw nsw i64 %54, 1 br i1 %113, label %51, label %196, !llvm.loop !39 115: ; preds = %51 %116 = call i32 @txLog(ptr noundef %26, ptr noundef nonnull %24, ptr noundef nonnull %5) #5 %117 = icmp eq i32 %116, 0 br i1 %117, label %118, label %198 118: ; preds = %115 %119 = load i32, ptr %24, align 8, !tbaa !26 %120 = load i32, ptr @COMMIT_DELETE, align 4, !tbaa !9 %121 = and i32 %120, %119 %122 = icmp eq i32 %121, 0 br i1 %122, label %137, label %123 123: ; preds = %118 %124 = getelementptr inbounds %struct.tblock, ptr %24, i64 0, i32 2 %125 = load ptr, ptr %124, align 8, !tbaa !40 %126 = call i32 @ihold(ptr noundef %125) #5 %127 = load ptr, ptr %124, align 8, !tbaa !40 %128 = load i32, ptr %127, align 8, !tbaa !41 %129 = load i32, ptr @I_SYNC, align 4, !tbaa !9 %130 = and i32 %129, %128 %131 = icmp eq i32 %130, 0 %132 = load i32, ptr %24, align 8, !tbaa !26 br i1 %131, label %137, label %133 133: ; preds = %123 %134 = load i32, ptr @COMMIT_LAZY, align 4, !tbaa !9 %135 = xor i32 %134, -1 %136 = and i32 %132, %135 store i32 %136, ptr %24, align 8, !tbaa !26 br label %137 137: ; preds = %123, %133, %118 %138 = phi i32 [ %132, %123 ], [ %136, %133 ], [ %119, %118 ] %139 = load i32, ptr @COMMIT_DELETE, align 4, !tbaa !9 %140 = and i32 %139, %138 %141 = icmp eq i32 %140, 0 br i1 %141, label %153, label %142 142: ; preds = %137 %143 = getelementptr inbounds %struct.tblock, ptr %24, i64 0, i32 2 %144 = load ptr, ptr %143, align 8, !tbaa !40 %145 = getelementptr inbounds %struct.TYPE_7__, ptr %144, i64 0, i32 1 %146 = load i64, ptr %145, align 8, !tbaa !43 %147 = icmp eq i64 %146, 0 br i1 %147, label %148, label %153 148: ; preds = %142 %149 = load i32, ptr @COMMIT_Nolink, align 4, !tbaa !9 %150 = call i32 @test_cflag(i32 noundef %149, ptr noundef nonnull %144) #5 %151 = icmp eq i32 %150, 0 %152 = zext i1 %151 to i32 br label %153 153: ; preds = %142, %148, %137 %154 = phi i32 [ 1, %137 ], [ 0, %142 ], [ %152, %148 ] %155 = call i32 @ASSERT(i32 noundef %154) #5 %156 = load i32, ptr @LOG_COMMIT, align 4, !tbaa !9 %157 = call i32 @cpu_to_le16(i32 noundef %156) #5 %158 = getelementptr inbounds %struct.commit, ptr %5, i64 0, i32 2, i32 1 store i32 %157, ptr %158, align 8, !tbaa !44 store i64 0, ptr %28, align 8, !tbaa !45 %159 = call i32 @lmLog(ptr noundef %26, ptr noundef nonnull %24, ptr noundef nonnull %28, ptr noundef null) #5 %160 = call i32 @lmGroupCommit(ptr noundef %26, ptr noundef nonnull %24) #5 %161 = load i32, ptr @COMMIT_FORCE, align 4, !tbaa !9 %162 = and i32 %161, %3 %163 = icmp eq i32 %162, 0 br i1 %163, label %167, label %164 164: ; preds = %153 %165 = call i32 @txForce(ptr noundef nonnull %24) #5 %166 = load i32, ptr @COMMIT_FORCE, align 4, !tbaa !9 br label %167 167: ; preds = %164, %153 %168 = phi i32 [ %166, %164 ], [ %161, %153 ] %169 = load i32, ptr %24, align 8, !tbaa !26 %170 = and i32 %168, %169 %171 = icmp eq i32 %170, 0 br i1 %171, label %174, label %172 172: ; preds = %167 %173 = call i32 @txUpdateMap(ptr noundef nonnull %24) #5 br label %174 174: ; preds = %172, %167 %175 = call i32 @txRelease(ptr noundef nonnull %24) #5 %176 = getelementptr inbounds %struct.tblock, ptr %24, i64 0, i32 1 %177 = load i32, ptr %176, align 4, !tbaa !46 %178 = load i32, ptr @tblkGC_LAZY, align 4, !tbaa !9 %179 = and i32 %178, %177 %180 = icmp eq i32 %179, 0 br i1 %180, label %181, label %183 181: ; preds = %174 %182 = call i32 @txUnlock(ptr noundef nonnull %24) #5 br label %183 183: ; preds = %181, %174 %184 = load i32, ptr %5, align 8, !tbaa !28 %185 = icmp sgt i32 %184, 0 br i1 %185, label %186, label %198 186: ; preds = %183, %186 %187 = phi i64 [ %192, %186 ], [ 0, %183 ] %188 = load ptr, ptr %45, align 8, !tbaa !27 %189 = getelementptr inbounds ptr, ptr %188, i64 %187 %190 = load ptr, ptr %189, align 8, !tbaa !5 %191 = call ptr @JFS_IP(ptr noundef %190) #5 %192 = add nuw nsw i64 %187, 1 call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %191, i8 0, i64 16, i1 false) %193 = load i32, ptr %5, align 8, !tbaa !28 %194 = sext i32 %193 to i64 %195 = icmp slt i64 %192, %194 br i1 %195, label %186, label %198, !llvm.loop !47 196: ; preds = %111 %197 = tail call i32 @txAbort(i32 noundef %23, i32 noundef 1) #5 br label %198 198: ; preds = %186, %183, %196, %115, %10 %199 = phi i32 [ %12, %10 ], [ %112, %196 ], [ %116, %115 ], [ 0, %183 ], [ 0, %186 ] %200 = phi i32 [ %0, %10 ], [ %23, %196 ], [ %23, %115 ], [ %23, %183 ], [ %23, %186 ] %201 = call i32 @jfs_info(ptr noundef nonnull @.str.1, i32 noundef %200, i32 noundef %199) #5 call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %5) #5 ret i32 %199 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @jfs_info(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @isReadOnly(ptr noundef) local_unnamed_addr #2 declare i32 @txBegin(ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @tid_to_tblock(i32 noundef) local_unnamed_addr #2 declare ptr @JFS_SBI(ptr noundef) local_unnamed_addr #2 declare i32 @cpu_to_le32(i32 noundef) local_unnamed_addr #2 declare ptr @JFS_IP(ptr noundef) local_unnamed_addr #2 declare i32 @clear_cflag(i32 noundef, ptr noundef) local_unnamed_addr #2 declare ptr @lid_to_tlock(i64 noundef) local_unnamed_addr #2 declare i32 @TXN_LOCK(...) local_unnamed_addr #2 declare i32 @list_del_init(ptr noundef) local_unnamed_addr #2 declare i32 @TXN_UNLOCK(...) local_unnamed_addr #2 declare i32 @diWrite(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @txLog(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ihold(ptr noundef) local_unnamed_addr #2 declare i32 @ASSERT(i32 noundef) local_unnamed_addr #2 declare i32 @test_cflag(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @cpu_to_le16(i32 noundef) local_unnamed_addr #2 declare i32 @lmLog(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @lmGroupCommit(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @txForce(ptr noundef) local_unnamed_addr #2 declare i32 @txUpdateMap(ptr noundef) local_unnamed_addr #2 declare i32 @txRelease(ptr noundef) local_unnamed_addr #2 declare i32 @txUnlock(ptr noundef) local_unnamed_addr #2 declare i32 @txAbort(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 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.smax.i32(i32, i32) #3 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="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 nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #5 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!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 8} !12 = !{!"inode", !13, i64 0, !6, i64 8} !13 = !{!"long", !7, i64 0} !14 = !{!15, !6, i64 64} !15 = !{!"commit", !10, i64 0, !6, i64 8, !16, i64 16, !6, i64 48, !10, i64 56, !6, i64 64} !16 = !{!"lrd", !13, i64 0, !10, i64 8, !13, i64 16, !10, i64 24} !17 = !{!15, !10, i64 56} !18 = !{!19, !6, i64 0} !19 = !{!"TYPE_9__", !6, i64 0} !20 = !{!15, !6, i64 48} !21 = !{!22, !10, i64 32} !22 = !{!"tblock", !10, i64 0, !10, i64 4, !23, i64 8, !13, i64 16, !13, i64 24, !10, i64 32} !23 = !{!"TYPE_6__", !6, i64 0} !24 = !{!16, !10, i64 24} !25 = !{!16, !13, i64 16} !26 = !{!22, !10, i64 0} !27 = !{!15, !6, i64 8} !28 = !{!15, !10, i64 0} !29 = !{!12, !13, i64 0} !30 = distinct !{!30, !31} !31 = !{!"llvm.loop.mustprogress"} !32 = !{!33, !13, i64 32} !33 = !{!"jfs_inode_info", !13, i64 0, !13, i64 8, !10, i64 16, !13, i64 24, !13, i64 32} !34 = !{!22, !13, i64 24} !35 = !{!33, !13, i64 24} !36 = !{!37, !13, i64 0} !37 = !{!"TYPE_8__", !13, i64 0} !38 = !{!22, !13, i64 16} !39 = distinct !{!39, !31} !40 = !{!22, !6, i64 8} !41 = !{!42, !10, i64 0} !42 = !{!"TYPE_7__", !10, i64 0, !13, i64 8} !43 = !{!42, !13, i64 8} !44 = !{!16, !10, i64 8} !45 = !{!16, !13, i64 0} !46 = !{!22, !10, i64 4} !47 = distinct !{!47, !31}
; ModuleID = 'AnghaBench/linux/fs/jfs/extr_jfs_txnmgr.c_txCommit.c' source_filename = "AnghaBench/linux/fs/jfs/extr_jfs_txnmgr.c_txCommit.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.commit = type { i32, ptr, %struct.lrd, ptr, i32, ptr } %struct.lrd = type { i64, i32, i64, i32 } @.str = private unnamed_addr constant [30 x i8] c"txCommit, tid = %d, flag = %d\00", align 1 @EROFS = common local_unnamed_addr global i32 0, align 4 @COMMIT_FORCE = common local_unnamed_addr global i32 0, align 4 @COMMIT_SYNC = common local_unnamed_addr global i32 0, align 4 @COMMIT_LAZY = common local_unnamed_addr global i32 0, align 4 @COMMIT_Dirty = common local_unnamed_addr global i32 0, align 4 @COMMIT_DELETE = common local_unnamed_addr global i32 0, align 4 @I_SYNC = common local_unnamed_addr global i32 0, align 4 @COMMIT_Nolink = common local_unnamed_addr global i32 0, align 4 @LOG_COMMIT = common local_unnamed_addr global i32 0, align 4 @tblkGC_LAZY = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [33 x i8] c"txCommit: tid = %d, returning %d\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define noundef i32 @txCommit(i32 noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = alloca %struct.commit, align 8 call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %5) #5 %6 = tail call i32 @jfs_info(ptr noundef nonnull @.str, i32 noundef %0, i32 noundef %3) #5 %7 = load ptr, ptr %2, align 8, !tbaa !6 %8 = tail call i64 @isReadOnly(ptr noundef %7) #5 %9 = icmp eq i64 %8, 0 br i1 %9, label %13, label %10 10: ; preds = %4 %11 = load i32, ptr @EROFS, align 4, !tbaa !10 %12 = sub nsw i32 0, %11 br label %198 13: ; preds = %4 %14 = load ptr, ptr %2, align 8, !tbaa !6 %15 = getelementptr inbounds i8, ptr %14, i64 8 %16 = load ptr, ptr %15, align 8, !tbaa !12 %17 = getelementptr inbounds i8, ptr %5, i64 64 store ptr %16, ptr %17, align 8, !tbaa !15 %18 = getelementptr inbounds i8, ptr %5, i64 56 store i32 %0, ptr %18, align 8, !tbaa !18 %19 = icmp eq i32 %0, 0 br i1 %19, label %20, label %22 20: ; preds = %13 %21 = tail call i32 @txBegin(ptr noundef %16, i32 noundef 0) #5 br label %22 22: ; preds = %20, %13 %23 = phi i32 [ %21, %20 ], [ %0, %13 ] %24 = tail call ptr @tid_to_tblock(i32 noundef %23) #5 %25 = tail call ptr @JFS_SBI(ptr noundef %16) #5 %26 = load ptr, ptr %25, align 8, !tbaa !19 %27 = getelementptr inbounds i8, ptr %5, i64 48 store ptr %26, ptr %27, align 8, !tbaa !21 %28 = getelementptr inbounds i8, ptr %5, i64 16 %29 = getelementptr inbounds i8, ptr %24, i64 32 %30 = load i32, ptr %29, align 8, !tbaa !22 %31 = tail call i32 @cpu_to_le32(i32 noundef %30) #5 %32 = getelementptr inbounds i8, ptr %5, i64 40 store i32 %31, ptr %32, align 8, !tbaa !25 %33 = getelementptr inbounds i8, ptr %5, i64 32 store i64 0, ptr %33, align 8, !tbaa !26 %34 = load i32, ptr %24, align 8, !tbaa !27 %35 = or i32 %34, %3 store i32 %35, ptr %24, align 8, !tbaa !27 %36 = load i32, ptr @COMMIT_FORCE, align 4, !tbaa !10 %37 = load i32, ptr @COMMIT_SYNC, align 4, !tbaa !10 %38 = or i32 %37, %36 %39 = and i32 %38, %3 %40 = icmp eq i32 %39, 0 br i1 %40, label %41, label %44 41: ; preds = %22 %42 = load i32, ptr @COMMIT_LAZY, align 4, !tbaa !10 %43 = or i32 %42, %35 store i32 %43, ptr %24, align 8, !tbaa !27 br label %44 44: ; preds = %41, %22 %45 = getelementptr inbounds i8, ptr %5, i64 8 store ptr %2, ptr %45, align 8, !tbaa !28 store i32 %1, ptr %5, align 8, !tbaa !29 %46 = getelementptr inbounds i8, ptr %24, i64 24 %47 = getelementptr inbounds i8, ptr %24, i64 16 %48 = tail call i32 @llvm.smax.i32(i32 %1, i32 0) %49 = zext nneg i32 %48 to i64 %50 = zext i32 %1 to i64 br label %51 51: ; preds = %111, %44 %52 = phi ptr [ %89, %111 ], [ %2, %44 ] %53 = phi i64 [ %59, %111 ], [ 0, %44 ] %54 = phi i64 [ %114, %111 ], [ 1, %44 ] %55 = icmp eq i64 %53, %49 br i1 %55, label %115, label %56 56: ; preds = %51 %57 = getelementptr inbounds ptr, ptr %52, i64 %53 %58 = load ptr, ptr %57, align 8, !tbaa !6 %59 = add nuw nsw i64 %53, 1 %60 = trunc nuw i64 %59 to i32 %61 = icmp slt i32 %60, %1 br i1 %61, label %62, label %87 62: ; preds = %56 %63 = load i64, ptr %58, align 8, !tbaa !30 br label %64 64: ; preds = %62, %78 %65 = phi ptr [ %52, %62 ], [ %79, %78 ] %66 = phi ptr [ %52, %62 ], [ %80, %78 ] %67 = phi i64 [ %54, %62 ], [ %82, %78 ] %68 = phi i64 [ %63, %62 ], [ %81, %78 ] %69 = getelementptr inbounds ptr, ptr %66, i64 %67 %70 = load ptr, ptr %69, align 8, !tbaa !6 %71 = load i64, ptr %70, align 8, !tbaa !30 %72 = icmp sgt i64 %71, %68 br i1 %72, label %73, label %78 73: ; preds = %64 %74 = getelementptr inbounds ptr, ptr %66, i64 %53 %75 = load ptr, ptr %74, align 8, !tbaa !6 store ptr %75, ptr %69, align 8, !tbaa !6 %76 = load ptr, ptr %45, align 8, !tbaa !28 %77 = getelementptr inbounds ptr, ptr %76, i64 %53 store ptr %70, ptr %77, align 8, !tbaa !6 br label %78 78: ; preds = %64, %73 %79 = phi ptr [ %76, %73 ], [ %65, %64 ] %80 = phi ptr [ %76, %73 ], [ %66, %64 ] %81 = phi i64 [ %71, %73 ], [ %68, %64 ] %82 = add nuw nsw i64 %67, 1 %83 = icmp eq i64 %82, %50 br i1 %83, label %84, label %64, !llvm.loop !31 84: ; preds = %78 %85 = getelementptr inbounds ptr, ptr %79, i64 %53 %86 = load ptr, ptr %85, align 8, !tbaa !6 br label %87 87: ; preds = %84, %56 %88 = phi ptr [ %86, %84 ], [ %58, %56 ] %89 = phi ptr [ %79, %84 ], [ %52, %56 ] %90 = tail call ptr @JFS_IP(ptr noundef %88) #5 %91 = load i32, ptr @COMMIT_Dirty, align 4, !tbaa !10 %92 = tail call i32 @clear_cflag(i32 noundef %91, ptr noundef %88) #5 %93 = getelementptr inbounds i8, ptr %90, i64 32 %94 = load i64, ptr %93, align 8, !tbaa !33 %95 = icmp eq i64 %94, 0 br i1 %95, label %111, label %96 96: ; preds = %87 %97 = load i64, ptr %46, align 8, !tbaa !35 %98 = getelementptr inbounds i8, ptr %90, i64 24 %99 = load i64, ptr %98, align 8, !tbaa !36 %100 = tail call ptr @lid_to_tlock(i64 noundef %99) #5 store i64 %97, ptr %100, align 8, !tbaa !37 %101 = load i64, ptr %93, align 8, !tbaa !33 store i64 %101, ptr %46, align 8, !tbaa !35 %102 = load i64, ptr %47, align 8, !tbaa !39 %103 = icmp eq i64 %102, 0 br i1 %103, label %104, label %106 104: ; preds = %96 %105 = load i64, ptr %98, align 8, !tbaa !36 store i64 %105, ptr %47, align 8, !tbaa !39 br label %106 106: ; preds = %104, %96 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %98, i8 0, i64 16, i1 false) %107 = tail call i32 @TXN_LOCK() #5 %108 = getelementptr inbounds i8, ptr %90, i64 16 %109 = tail call i32 @list_del_init(ptr noundef nonnull %108) #5 %110 = tail call i32 @TXN_UNLOCK() #5 br label %111 111: ; preds = %106, %87 %112 = tail call i32 @diWrite(i32 noundef %23, ptr noundef %88) #5 %113 = icmp eq i32 %112, 0 %114 = add nuw nsw i64 %54, 1 br i1 %113, label %51, label %196, !llvm.loop !40 115: ; preds = %51 %116 = call i32 @txLog(ptr noundef %26, ptr noundef nonnull %24, ptr noundef nonnull %5) #5 %117 = icmp eq i32 %116, 0 br i1 %117, label %118, label %198 118: ; preds = %115 %119 = load i32, ptr %24, align 8, !tbaa !27 %120 = load i32, ptr @COMMIT_DELETE, align 4, !tbaa !10 %121 = and i32 %120, %119 %122 = icmp eq i32 %121, 0 br i1 %122, label %137, label %123 123: ; preds = %118 %124 = getelementptr inbounds i8, ptr %24, i64 8 %125 = load ptr, ptr %124, align 8, !tbaa !41 %126 = call i32 @ihold(ptr noundef %125) #5 %127 = load ptr, ptr %124, align 8, !tbaa !41 %128 = load i32, ptr %127, align 8, !tbaa !42 %129 = load i32, ptr @I_SYNC, align 4, !tbaa !10 %130 = and i32 %129, %128 %131 = icmp eq i32 %130, 0 %132 = load i32, ptr %24, align 8, !tbaa !27 br i1 %131, label %137, label %133 133: ; preds = %123 %134 = load i32, ptr @COMMIT_LAZY, align 4, !tbaa !10 %135 = xor i32 %134, -1 %136 = and i32 %132, %135 store i32 %136, ptr %24, align 8, !tbaa !27 br label %137 137: ; preds = %123, %133, %118 %138 = phi i32 [ %132, %123 ], [ %136, %133 ], [ %119, %118 ] %139 = load i32, ptr @COMMIT_DELETE, align 4, !tbaa !10 %140 = and i32 %139, %138 %141 = icmp eq i32 %140, 0 br i1 %141, label %153, label %142 142: ; preds = %137 %143 = getelementptr inbounds i8, ptr %24, i64 8 %144 = load ptr, ptr %143, align 8, !tbaa !41 %145 = getelementptr inbounds i8, ptr %144, i64 8 %146 = load i64, ptr %145, align 8, !tbaa !44 %147 = icmp eq i64 %146, 0 br i1 %147, label %148, label %153 148: ; preds = %142 %149 = load i32, ptr @COMMIT_Nolink, align 4, !tbaa !10 %150 = call i32 @test_cflag(i32 noundef %149, ptr noundef nonnull %144) #5 %151 = icmp eq i32 %150, 0 %152 = zext i1 %151 to i32 br label %153 153: ; preds = %142, %148, %137 %154 = phi i32 [ 1, %137 ], [ 0, %142 ], [ %152, %148 ] %155 = call i32 @ASSERT(i32 noundef %154) #5 %156 = load i32, ptr @LOG_COMMIT, align 4, !tbaa !10 %157 = call i32 @cpu_to_le16(i32 noundef %156) #5 %158 = getelementptr inbounds i8, ptr %5, i64 24 store i32 %157, ptr %158, align 8, !tbaa !45 store i64 0, ptr %28, align 8, !tbaa !46 %159 = call i32 @lmLog(ptr noundef %26, ptr noundef nonnull %24, ptr noundef nonnull %28, ptr noundef null) #5 %160 = call i32 @lmGroupCommit(ptr noundef %26, ptr noundef nonnull %24) #5 %161 = load i32, ptr @COMMIT_FORCE, align 4, !tbaa !10 %162 = and i32 %161, %3 %163 = icmp eq i32 %162, 0 br i1 %163, label %167, label %164 164: ; preds = %153 %165 = call i32 @txForce(ptr noundef nonnull %24) #5 %166 = load i32, ptr @COMMIT_FORCE, align 4, !tbaa !10 br label %167 167: ; preds = %164, %153 %168 = phi i32 [ %166, %164 ], [ %161, %153 ] %169 = load i32, ptr %24, align 8, !tbaa !27 %170 = and i32 %168, %169 %171 = icmp eq i32 %170, 0 br i1 %171, label %174, label %172 172: ; preds = %167 %173 = call i32 @txUpdateMap(ptr noundef nonnull %24) #5 br label %174 174: ; preds = %172, %167 %175 = call i32 @txRelease(ptr noundef nonnull %24) #5 %176 = getelementptr inbounds i8, ptr %24, i64 4 %177 = load i32, ptr %176, align 4, !tbaa !47 %178 = load i32, ptr @tblkGC_LAZY, align 4, !tbaa !10 %179 = and i32 %178, %177 %180 = icmp eq i32 %179, 0 br i1 %180, label %181, label %183 181: ; preds = %174 %182 = call i32 @txUnlock(ptr noundef nonnull %24) #5 br label %183 183: ; preds = %181, %174 %184 = load i32, ptr %5, align 8, !tbaa !29 %185 = icmp sgt i32 %184, 0 br i1 %185, label %186, label %198 186: ; preds = %183, %186 %187 = phi i64 [ %192, %186 ], [ 0, %183 ] %188 = load ptr, ptr %45, align 8, !tbaa !28 %189 = getelementptr inbounds ptr, ptr %188, i64 %187 %190 = load ptr, ptr %189, align 8, !tbaa !6 %191 = call ptr @JFS_IP(ptr noundef %190) #5 %192 = add nuw nsw i64 %187, 1 call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %191, i8 0, i64 16, i1 false) %193 = load i32, ptr %5, align 8, !tbaa !29 %194 = sext i32 %193 to i64 %195 = icmp slt i64 %192, %194 br i1 %195, label %186, label %198, !llvm.loop !48 196: ; preds = %111 %197 = tail call i32 @txAbort(i32 noundef %23, i32 noundef 1) #5 br label %198 198: ; preds = %186, %183, %196, %115, %10 %199 = phi i32 [ %12, %10 ], [ %112, %196 ], [ %116, %115 ], [ 0, %183 ], [ 0, %186 ] %200 = phi i32 [ %0, %10 ], [ %23, %196 ], [ %23, %115 ], [ %23, %183 ], [ %23, %186 ] %201 = call i32 @jfs_info(ptr noundef nonnull @.str.1, i32 noundef %200, i32 noundef %199) #5 call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %5) #5 ret i32 %199 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @jfs_info(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @isReadOnly(ptr noundef) local_unnamed_addr #2 declare i32 @txBegin(ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @tid_to_tblock(i32 noundef) local_unnamed_addr #2 declare ptr @JFS_SBI(ptr noundef) local_unnamed_addr #2 declare i32 @cpu_to_le32(i32 noundef) local_unnamed_addr #2 declare ptr @JFS_IP(ptr noundef) local_unnamed_addr #2 declare i32 @clear_cflag(i32 noundef, ptr noundef) local_unnamed_addr #2 declare ptr @lid_to_tlock(i64 noundef) local_unnamed_addr #2 declare i32 @TXN_LOCK(...) local_unnamed_addr #2 declare i32 @list_del_init(ptr noundef) local_unnamed_addr #2 declare i32 @TXN_UNLOCK(...) local_unnamed_addr #2 declare i32 @diWrite(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @txLog(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ihold(ptr noundef) local_unnamed_addr #2 declare i32 @ASSERT(i32 noundef) local_unnamed_addr #2 declare i32 @test_cflag(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @cpu_to_le16(i32 noundef) local_unnamed_addr #2 declare i32 @lmLog(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @lmGroupCommit(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @txForce(ptr noundef) local_unnamed_addr #2 declare i32 @txUpdateMap(ptr noundef) local_unnamed_addr #2 declare i32 @txRelease(ptr noundef) local_unnamed_addr #2 declare i32 @txUnlock(ptr noundef) local_unnamed_addr #2 declare i32 @txAbort(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 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.smax.i32(i32, i32) #3 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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 nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #5 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!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 8} !13 = !{!"inode", !14, i64 0, !7, i64 8} !14 = !{!"long", !8, i64 0} !15 = !{!16, !7, i64 64} !16 = !{!"commit", !11, i64 0, !7, i64 8, !17, i64 16, !7, i64 48, !11, i64 56, !7, i64 64} !17 = !{!"lrd", !14, i64 0, !11, i64 8, !14, i64 16, !11, i64 24} !18 = !{!16, !11, i64 56} !19 = !{!20, !7, i64 0} !20 = !{!"TYPE_9__", !7, i64 0} !21 = !{!16, !7, i64 48} !22 = !{!23, !11, i64 32} !23 = !{!"tblock", !11, i64 0, !11, i64 4, !24, i64 8, !14, i64 16, !14, i64 24, !11, i64 32} !24 = !{!"TYPE_6__", !7, i64 0} !25 = !{!17, !11, i64 24} !26 = !{!17, !14, i64 16} !27 = !{!23, !11, i64 0} !28 = !{!16, !7, i64 8} !29 = !{!16, !11, i64 0} !30 = !{!13, !14, i64 0} !31 = distinct !{!31, !32} !32 = !{!"llvm.loop.mustprogress"} !33 = !{!34, !14, i64 32} !34 = !{!"jfs_inode_info", !14, i64 0, !14, i64 8, !11, i64 16, !14, i64 24, !14, i64 32} !35 = !{!23, !14, i64 24} !36 = !{!34, !14, i64 24} !37 = !{!38, !14, i64 0} !38 = !{!"TYPE_8__", !14, i64 0} !39 = !{!23, !14, i64 16} !40 = distinct !{!40, !32} !41 = !{!23, !7, i64 8} !42 = !{!43, !11, i64 0} !43 = !{!"TYPE_7__", !11, i64 0, !14, i64 8} !44 = !{!43, !14, i64 8} !45 = !{!17, !11, i64 8} !46 = !{!17, !14, i64 0} !47 = !{!23, !11, i64 4} !48 = distinct !{!48, !32}
linux_fs_jfs_extr_jfs_txnmgr.c_txCommit
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/bfa/extr_bfa_fcs_lport.c_bfa_fcs_lport_del_rport.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/bfa/extr_bfa_fcs_lport.c_bfa_fcs_lport_del_rport.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.bfa_fcs_lport_s = type { i32, i32 } @BFA_FCS_PORT_SM_DELRPORT = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @bfa_fcs_lport_del_rport(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds %struct.bfa_fcs_lport_s, ptr %0, i64 0, i32 1 %4 = tail call i32 @bfa_q_is_on_q(ptr noundef nonnull %3, ptr noundef %1) #2 %5 = icmp eq i32 %4, 0 %6 = zext i1 %5 to i32 %7 = tail call i32 @WARN_ON(i32 noundef %6) #2 %8 = tail call i32 @list_del(ptr noundef %1) #2 %9 = load i32, ptr %0, align 4, !tbaa !5 %10 = add nsw i32 %9, -1 store i32 %10, ptr %0, align 4, !tbaa !5 %11 = load i32, ptr @BFA_FCS_PORT_SM_DELRPORT, align 4, !tbaa !10 %12 = tail call i32 @bfa_sm_send_event(ptr noundef nonnull %0, i32 noundef %11) #2 ret void } declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #1 declare i32 @bfa_q_is_on_q(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @list_del(ptr noundef) local_unnamed_addr #1 declare i32 @bfa_sm_send_event(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 = !{!"bfa_fcs_lport_s", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/bfa/extr_bfa_fcs_lport.c_bfa_fcs_lport_del_rport.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/bfa/extr_bfa_fcs_lport.c_bfa_fcs_lport_del_rport.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BFA_FCS_PORT_SM_DELRPORT = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @bfa_fcs_lport_del_rport(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds i8, ptr %0, i64 4 %4 = tail call i32 @bfa_q_is_on_q(ptr noundef nonnull %3, ptr noundef %1) #2 %5 = icmp eq i32 %4, 0 %6 = zext i1 %5 to i32 %7 = tail call i32 @WARN_ON(i32 noundef %6) #2 %8 = tail call i32 @list_del(ptr noundef %1) #2 %9 = load i32, ptr %0, align 4, !tbaa !6 %10 = add nsw i32 %9, -1 store i32 %10, ptr %0, align 4, !tbaa !6 %11 = load i32, ptr @BFA_FCS_PORT_SM_DELRPORT, align 4, !tbaa !11 %12 = tail call i32 @bfa_sm_send_event(ptr noundef nonnull %0, i32 noundef %11) #2 ret void } declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #1 declare i32 @bfa_q_is_on_q(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @list_del(ptr noundef) local_unnamed_addr #1 declare i32 @bfa_sm_send_event(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 = !{!"bfa_fcs_lport_s", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
fastsocket_kernel_drivers_scsi_bfa_extr_bfa_fcs_lport.c_bfa_fcs_lport_del_rport
; ModuleID = 'AnghaBench/jemalloc/src/extr_prof_data.c_prof_tctx_merge_iter.c' source_filename = "AnghaBench/jemalloc/src/extr_prof_data.c_prof_tctx_merge_iter.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_6__ = type { i32, ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @prof_tctx_merge_iter], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noalias noundef ptr @prof_tctx_merge_iter(ptr nocapture readnone %0, ptr noundef %1, ptr noundef %2) #0 { %4 = getelementptr inbounds %struct.TYPE_6__, ptr %1, i64 0, i32 1 %5 = load ptr, ptr %4, align 8, !tbaa !5 %6 = load i32, ptr %5, align 4, !tbaa !11 %7 = tail call i32 @malloc_mutex_assert_owner(ptr noundef %2, i32 noundef %6) #2 %8 = load i32, ptr %1, align 8, !tbaa !13 switch i32 %8, label %12 [ i32 129, label %14 i32 130, label %9 i32 128, label %9 ] 9: ; preds = %3, %3 %10 = load ptr, ptr %4, align 8, !tbaa !5 %11 = tail call i32 @prof_tctx_merge_gctx(ptr noundef %2, ptr noundef nonnull %1, ptr noundef %10) #2 br label %14 12: ; preds = %3 %13 = tail call i32 (...) @not_reached() #2 br label %14 14: ; preds = %12, %9, %3 ret ptr null } declare i32 @malloc_mutex_assert_owner(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @prof_tctx_merge_gctx(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @not_reached(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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_6__", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!12, !7, i64 0} !12 = !{!"TYPE_7__", !7, i64 0} !13 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/jemalloc/src/extr_prof_data.c_prof_tctx_merge_iter.c' source_filename = "AnghaBench/jemalloc/src/extr_prof_data.c_prof_tctx_merge_iter.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 @prof_tctx_merge_iter], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef ptr @prof_tctx_merge_iter(ptr nocapture readnone %0, ptr noundef %1, ptr noundef %2) #0 { %4 = getelementptr inbounds i8, ptr %1, i64 8 %5 = load ptr, ptr %4, align 8, !tbaa !6 %6 = load i32, ptr %5, align 4, !tbaa !12 %7 = tail call i32 @malloc_mutex_assert_owner(ptr noundef %2, i32 noundef %6) #2 %8 = load i32, ptr %1, align 8, !tbaa !14 switch i32 %8, label %12 [ i32 129, label %14 i32 130, label %9 i32 128, label %9 ] 9: ; preds = %3, %3 %10 = load ptr, ptr %4, align 8, !tbaa !6 %11 = tail call i32 @prof_tctx_merge_gctx(ptr noundef %2, ptr noundef nonnull %1, ptr noundef %10) #2 br label %14 12: ; preds = %3 %13 = tail call i32 @not_reached() #2 br label %14 14: ; preds = %12, %9, %3 ret ptr null } declare i32 @malloc_mutex_assert_owner(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @prof_tctx_merge_gctx(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @not_reached(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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_6__", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!13, !8, i64 0} !13 = !{!"TYPE_7__", !8, i64 0} !14 = !{!7, !8, i64 0}
jemalloc_src_extr_prof_data.c_prof_tctx_merge_iter
; ModuleID = 'AnghaBench/linux/drivers/usb/core/extr_sysfs.c_version_show.c' source_filename = "AnghaBench/linux/drivers/usb/core/extr_sysfs.c_version_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 [10 x i8] c"%2x.%02x\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @version_show], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @version_show(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 { %4 = tail call ptr @to_usb_device(ptr noundef %0) #2 %5 = load i32, ptr %4, align 4, !tbaa !5 %6 = tail call i32 @le16_to_cpu(i32 noundef %5) #2 %7 = ashr i32 %6, 8 %8 = and i32 %6, 255 %9 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, i32 noundef %7, i32 noundef %8) #2 ret i32 %9 } declare ptr @to_usb_device(ptr noundef) local_unnamed_addr #1 declare i32 @le16_to_cpu(i32 noundef) local_unnamed_addr #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !8, i64 0} !6 = !{!"usb_device", !7, i64 0} !7 = !{!"TYPE_2__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/usb/core/extr_sysfs.c_version_show.c' source_filename = "AnghaBench/linux/drivers/usb/core/extr_sysfs.c_version_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 [10 x i8] c"%2x.%02x\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @version_show], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @version_show(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 { %4 = tail call ptr @to_usb_device(ptr noundef %0) #2 %5 = load i32, ptr %4, align 4, !tbaa !6 %6 = tail call i32 @le16_to_cpu(i32 noundef %5) #2 %7 = ashr i32 %6, 8 %8 = and i32 %6, 255 %9 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, i32 noundef %7, i32 noundef %8) #2 ret i32 %9 } declare ptr @to_usb_device(ptr noundef) local_unnamed_addr #1 declare i32 @le16_to_cpu(i32 noundef) local_unnamed_addr #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !9, i64 0} !7 = !{!"usb_device", !8, i64 0} !8 = !{!"TYPE_2__", !9, i64 0} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"}
linux_drivers_usb_core_extr_sysfs.c_version_show
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/x86/kernel/cpu/cpufreq/extr_powernow-k6.c_powernow_k6_get.c' source_filename = "AnghaBench/fastsocket/kernel/arch/x86/kernel/cpu/cpufreq/extr_powernow-k6.c_powernow_k6_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" @busfreq = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @powernow_k6_get], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @powernow_k6_get(i32 %0) #0 { %2 = load i32, ptr @busfreq, align 4, !tbaa !5 %3 = tail call i32 (...) @powernow_k6_get_cpu_multiplier() #2 %4 = mul i32 %3, %2 ret i32 %4 } declare i32 @powernow_k6_get_cpu_multiplier(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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/arch/x86/kernel/cpu/cpufreq/extr_powernow-k6.c_powernow_k6_get.c' source_filename = "AnghaBench/fastsocket/kernel/arch/x86/kernel/cpu/cpufreq/extr_powernow-k6.c_powernow_k6_get.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @busfreq = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @powernow_k6_get], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @powernow_k6_get(i32 %0) #0 { %2 = load i32, ptr @busfreq, align 4, !tbaa !6 %3 = tail call i32 @powernow_k6_get_cpu_multiplier() #2 %4 = mul i32 %3, %2 ret i32 %4 } declare i32 @powernow_k6_get_cpu_multiplier(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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_arch_x86_kernel_cpu_cpufreq_extr_powernow-k6.c_powernow_k6_get
; ModuleID = 'AnghaBench/freebsd/crypto/heimdal/lib/hx509/extr_crypto.c_CMSCBCParam_set.c' source_filename = "AnghaBench/freebsd/crypto/heimdal/lib/hx509/extr_crypto.c_CMSCBCParam_set.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_5__ = type { i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @CMSCBCParam_set], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @CMSCBCParam_set(i32 noundef %0, ptr nocapture noundef readonly %1, i32 %2, ptr noundef %3) #0 { %5 = icmp eq ptr %3, null br i1 %5, label %14, label %6 6: ; preds = %4 %7 = getelementptr inbounds %struct.TYPE_5__, ptr %1, i64 0, i32 1 %8 = load i32, ptr %7, align 4, !tbaa !5 %9 = load i32, ptr %1, align 4, !tbaa !10 %10 = tail call i32 @decode_CMSCBCParameter(i32 noundef %8, i32 noundef %9, ptr noundef nonnull %3, ptr noundef null) #2 %11 = icmp eq i32 %10, 0 br i1 %11, label %14, label %12 12: ; preds = %6 %13 = tail call i32 @hx509_clear_error_string(i32 noundef %0) #2 br label %14 14: ; preds = %6, %12, %4 %15 = phi i32 [ 0, %4 ], [ %10, %12 ], [ 0, %6 ] ret i32 %15 } declare i32 @decode_CMSCBCParameter(i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hx509_clear_error_string(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 4} !6 = !{!"TYPE_5__", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/crypto/heimdal/lib/hx509/extr_crypto.c_CMSCBCParam_set.c' source_filename = "AnghaBench/freebsd/crypto/heimdal/lib/hx509/extr_crypto.c_CMSCBCParam_set.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @CMSCBCParam_set], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @CMSCBCParam_set(i32 noundef %0, ptr nocapture noundef readonly %1, i32 %2, ptr noundef %3) #0 { %5 = icmp eq ptr %3, null br i1 %5, label %14, label %6 6: ; preds = %4 %7 = getelementptr inbounds i8, ptr %1, i64 4 %8 = load i32, ptr %7, align 4, !tbaa !6 %9 = load i32, ptr %1, align 4, !tbaa !11 %10 = tail call i32 @decode_CMSCBCParameter(i32 noundef %8, i32 noundef %9, ptr noundef nonnull %3, ptr noundef null) #2 %11 = icmp eq i32 %10, 0 br i1 %11, label %14, label %12 12: ; preds = %6 %13 = tail call i32 @hx509_clear_error_string(i32 noundef %0) #2 br label %14 14: ; preds = %6, %12, %4 %15 = phi i32 [ 0, %4 ], [ %10, %12 ], [ 0, %6 ] ret i32 %15 } declare i32 @decode_CMSCBCParameter(i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hx509_clear_error_string(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 4} !7 = !{!"TYPE_5__", !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}
freebsd_crypto_heimdal_lib_hx509_extr_crypto.c_CMSCBCParam_set
; ModuleID = 'AnghaBench/freebsd/sys/dev/cxgbe/cudbg/extr_fastlz_api.c_readU32.c' source_filename = "AnghaBench/freebsd/sys/dev/cxgbe/cudbg/extr_fastlz_api.c_readU32.c" target datalayout = "e-m:e-p270:32:32-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 @readU32], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define internal i64 @readU32(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 1 %3 = sext i32 %2 to i64 ret i64 %3 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/sys/dev/cxgbe/cudbg/extr_fastlz_api.c_readU32.c' source_filename = "AnghaBench/freebsd/sys/dev/cxgbe/cudbg/extr_fastlz_api.c_readU32.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 @readU32], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) define internal range(i64 -2147483648, 2147483648) i64 @readU32(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 1 %3 = sext i32 %2 to i64 ret i64 %3 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_sys_dev_cxgbe_cudbg_extr_fastlz_api.c_readU32
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/x86/kernel/cpu/extr_perf_event.c_change_rdpmc.c' source_filename = "AnghaBench/fastsocket/kernel/arch/x86/kernel/cpu/extr_perf_event.c_change_rdpmc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @X86_CR4_PCE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @change_rdpmc], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @change_rdpmc(ptr noundef readnone %0) #0 { %2 = icmp eq ptr %0, null %3 = load i32, ptr @X86_CR4_PCE, align 4, !tbaa !5 br i1 %2, label %6, label %4 4: ; preds = %1 %5 = tail call i32 @set_in_cr4(i32 noundef %3) #2 br label %8 6: ; preds = %1 %7 = tail call i32 @clear_in_cr4(i32 noundef %3) #2 br label %8 8: ; preds = %6, %4 ret void } declare i32 @set_in_cr4(i32 noundef) local_unnamed_addr #1 declare i32 @clear_in_cr4(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/x86/kernel/cpu/extr_perf_event.c_change_rdpmc.c' source_filename = "AnghaBench/fastsocket/kernel/arch/x86/kernel/cpu/extr_perf_event.c_change_rdpmc.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @X86_CR4_PCE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @change_rdpmc], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @change_rdpmc(ptr noundef readnone %0) #0 { %2 = icmp eq ptr %0, null %3 = load i32, ptr @X86_CR4_PCE, align 4, !tbaa !6 br i1 %2, label %6, label %4 4: ; preds = %1 %5 = tail call i32 @set_in_cr4(i32 noundef %3) #2 br label %8 6: ; preds = %1 %7 = tail call i32 @clear_in_cr4(i32 noundef %3) #2 br label %8 8: ; preds = %6, %4 ret void } declare i32 @set_in_cr4(i32 noundef) local_unnamed_addr #1 declare i32 @clear_in_cr4(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_arch_x86_kernel_cpu_extr_perf_event.c_change_rdpmc
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/ocfs2/dlm/extr_dlmthread.c___dlm_lockres_has_locks.c' source_filename = "AnghaBench/fastsocket/kernel/fs/ocfs2/dlm/extr_dlmthread.c___dlm_lockres_has_locks.c" target datalayout = "e-m:e-p270:32:32-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.dlm_lock_resource = type { i32, i32, i32 } ; Function Attrs: nounwind uwtable define dso_local noundef i32 @__dlm_lockres_has_locks(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds %struct.dlm_lock_resource, ptr %0, i64 0, i32 2 %3 = tail call i64 @list_empty(ptr noundef nonnull %2) #2 %4 = icmp eq i64 %3, 0 br i1 %4, label %12, label %5 5: ; preds = %1 %6 = getelementptr inbounds %struct.dlm_lock_resource, ptr %0, i64 0, i32 1 %7 = tail call i64 @list_empty(ptr noundef nonnull %6) #2 %8 = icmp eq i64 %7, 0 br i1 %8, label %12, label %9 9: ; preds = %5 %10 = tail call i64 @list_empty(ptr noundef %0) #2 %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %9, %5, %1 br label %13 13: ; preds = %9, %12 %14 = phi i32 [ 1, %12 ], [ 0, %9 ] ret i32 %14 } declare i64 @list_empty(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/ocfs2/dlm/extr_dlmthread.c___dlm_lockres_has_locks.c' source_filename = "AnghaBench/fastsocket/kernel/fs/ocfs2/dlm/extr_dlmthread.c___dlm_lockres_has_locks.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 0, 2) i32 @__dlm_lockres_has_locks(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = tail call i64 @list_empty(ptr noundef nonnull %2) #2 %4 = icmp eq i64 %3, 0 br i1 %4, label %12, label %5 5: ; preds = %1 %6 = getelementptr inbounds i8, ptr %0, i64 4 %7 = tail call i64 @list_empty(ptr noundef nonnull %6) #2 %8 = icmp eq i64 %7, 0 br i1 %8, label %12, label %9 9: ; preds = %5 %10 = tail call i64 @list_empty(ptr noundef %0) #2 %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %9, %5, %1 br label %13 13: ; preds = %9, %12 %14 = phi i32 [ 1, %12 ], [ 0, %9 ] ret i32 %14 } declare i64 @list_empty(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
fastsocket_kernel_fs_ocfs2_dlm_extr_dlmthread.c___dlm_lockres_has_locks
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/iwlegacy/extr_3945-rs.c_il3945_rate_control_unregister.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/iwlegacy/extr_3945-rs.c_il3945_rate_control_unregister.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @rs_ops = dso_local global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @il3945_rate_control_unregister() local_unnamed_addr #0 { %1 = tail call i32 @ieee80211_rate_control_unregister(ptr noundef nonnull @rs_ops) #2 ret void } declare i32 @ieee80211_rate_control_unregister(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/iwlegacy/extr_3945-rs.c_il3945_rate_control_unregister.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/iwlegacy/extr_3945-rs.c_il3945_rate_control_unregister.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @rs_ops = common global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @il3945_rate_control_unregister() local_unnamed_addr #0 { %1 = tail call i32 @ieee80211_rate_control_unregister(ptr noundef nonnull @rs_ops) #2 ret void } declare i32 @ieee80211_rate_control_unregister(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
fastsocket_kernel_drivers_net_wireless_iwlegacy_extr_3945-rs.c_il3945_rate_control_unregister
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/em28xx/extr_em28xx-video.c_ac97_get_ctrl.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/em28xx/extr_em28xx-video.c_ac97_get_ctrl.c" target datalayout = "e-m:e-p270:32:32-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.em28xx = type { i32, i32 } %struct.v4l2_control = type { i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @ac97_get_ctrl], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define internal noundef i32 @ac97_get_ctrl(ptr nocapture noundef readonly %0, ptr nocapture noundef %1) #0 { %3 = load i32, ptr %1, align 4, !tbaa !5 switch i32 %3, label %10 [ i32 129, label %4 i32 128, label %6 ] 4: ; preds = %2 %5 = getelementptr inbounds %struct.em28xx, ptr %0, i64 0, i32 1 br label %6 6: ; preds = %2, %4 %7 = phi ptr [ %5, %4 ], [ %0, %2 ] %8 = load i32, ptr %7, align 4, !tbaa !10 %9 = getelementptr inbounds %struct.v4l2_control, ptr %1, i64 0, i32 1 store i32 %8, ptr %9, align 4, !tbaa !11 br label %10 10: ; preds = %6, %2 %11 = phi i32 [ 1, %2 ], [ 0, %6 ] ret i32 %11 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"v4l2_control", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!6, !7, i64 4}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/em28xx/extr_em28xx-video.c_ac97_get_ctrl.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/em28xx/extr_em28xx-video.c_ac97_get_ctrl.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 @ac97_get_ctrl], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) define internal range(i32 0, 2) i32 @ac97_get_ctrl(ptr nocapture noundef readonly %0, ptr nocapture noundef %1) #0 { %3 = load i32, ptr %1, align 4, !tbaa !6 switch i32 %3, label %10 [ i32 129, label %4 i32 128, label %6 ] 4: ; preds = %2 %5 = getelementptr inbounds i8, ptr %0, i64 4 br label %6 6: ; preds = %2, %4 %7 = phi ptr [ %5, %4 ], [ %0, %2 ] %8 = load i32, ptr %7, align 4, !tbaa !11 %9 = getelementptr inbounds i8, ptr %1, i64 4 store i32 %8, ptr %9, align 4, !tbaa !12 br label %10 10: ; preds = %6, %2 %11 = phi i32 [ 1, %2 ], [ 0, %6 ] ret i32 %11 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"v4l2_control", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!7, !8, i64 4}
fastsocket_kernel_drivers_media_video_em28xx_extr_em28xx-video.c_ac97_get_ctrl
; ModuleID = 'AnghaBench/linux/arch/nios2/boot/compressed/extr_console.c_putchar.c' source_filename = "AnghaBench/linux/arch/nios2/boot/compressed/extr_console.c_putchar.c" target datalayout = "e-m:e-p270:32:32-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 @putchar], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noundef i32 @putchar(i32 noundef returned %0) #0 { ret i32 %0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/arch/nios2/boot/compressed/extr_console.c_putchar.c' source_filename = "AnghaBench/linux/arch/nios2/boot/compressed/extr_console.c_putchar.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 @putchar], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal noundef i32 @putchar(i32 noundef returned %0) #0 { ret i32 %0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_arch_nios2_boot_compressed_extr_console.c_putchar
; ModuleID = 'AnghaBench/RetroArch/libretro-common/hash/extr_rhash.c_sha256_hash.c' source_filename = "AnghaBench/RetroArch/libretro-common/hash/extr_rhash.c_sha256_hash.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.sha256_ctx = type { i32 } %union.anon = type { [32 x i64] } @.str = private unnamed_addr constant [5 x i8] c"%02x\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @sha256_hash(ptr noundef %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 { %4 = alloca %struct.sha256_ctx, align 4 %5 = alloca %union.anon, align 8 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %5) #3 %6 = call i32 @sha256_init(ptr noundef nonnull %4) #3 %7 = trunc i64 %2 to i32 %8 = call i32 @sha256_chunk(ptr noundef nonnull %4, ptr noundef %1, i32 noundef %7) #3 %9 = call i32 @sha256_final(ptr noundef nonnull %4) #3 %10 = call i32 @sha256_subhash(ptr noundef nonnull %4, ptr noundef nonnull %5) #3 br label %11 11: ; preds = %3, %11 %12 = phi i64 [ 0, %3 ], [ %19, %11 ] %13 = shl nuw nsw i64 %12, 1 %14 = getelementptr inbounds i8, ptr %0, i64 %13 %15 = getelementptr inbounds [32 x i64], ptr %5, i64 0, i64 %12 %16 = load i64, ptr %15, align 8, !tbaa !5 %17 = trunc i64 %16 to i32 %18 = call i32 @snprintf(ptr noundef %14, i32 noundef 3, ptr noundef nonnull @.str, i32 noundef %17) #3 %19 = add nuw nsw i64 %12, 1 %20 = icmp eq i64 %19, 32 br i1 %20, label %21, label %11, !llvm.loop !8 21: ; preds = %11 call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @sha256_init(ptr noundef) local_unnamed_addr #2 declare i32 @sha256_chunk(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @sha256_final(ptr noundef) local_unnamed_addr #2 declare i32 @sha256_subhash(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !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/hash/extr_rhash.c_sha256_hash.c' source_filename = "AnghaBench/RetroArch/libretro-common/hash/extr_rhash.c_sha256_hash.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.sha256_ctx = type { i32 } %union.anon = type { [32 x i64] } @.str = private unnamed_addr constant [5 x i8] c"%02x\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @sha256_hash(ptr noundef %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 { %4 = alloca %struct.sha256_ctx, align 4 %5 = alloca %union.anon, align 8 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %5) #3 %6 = call i32 @sha256_init(ptr noundef nonnull %4) #3 %7 = trunc i64 %2 to i32 %8 = call i32 @sha256_chunk(ptr noundef nonnull %4, ptr noundef %1, i32 noundef %7) #3 %9 = call i32 @sha256_final(ptr noundef nonnull %4) #3 %10 = call i32 @sha256_subhash(ptr noundef nonnull %4, ptr noundef nonnull %5) #3 br label %11 11: ; preds = %3, %11 %12 = phi i64 [ 0, %3 ], [ %19, %11 ] %13 = shl nuw nsw i64 %12, 1 %14 = getelementptr inbounds i8, ptr %0, i64 %13 %15 = getelementptr inbounds [32 x i64], ptr %5, i64 0, i64 %12 %16 = load i64, ptr %15, align 8, !tbaa !6 %17 = trunc i64 %16 to i32 %18 = call i32 @snprintf(ptr noundef %14, i32 noundef 3, ptr noundef nonnull @.str, i32 noundef %17) #3 %19 = add nuw nsw i64 %12, 1 %20 = icmp eq i64 %19, 32 br i1 %20, label %21, label %11, !llvm.loop !9 21: ; preds = %11 call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @sha256_init(ptr noundef) local_unnamed_addr #2 declare i32 @sha256_chunk(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @sha256_final(ptr noundef) local_unnamed_addr #2 declare i32 @sha256_subhash(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !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_hash_extr_rhash.c_sha256_hash
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_uw-thread.c_libthread_stub.c' source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_uw-thread.c_libthread_stub.c" target datalayout = "e-m:e-p270:32:32-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 { ptr } %struct.thread_map = type { i32, i32, i32 } %struct.TYPE_12__ = type { i32 } %struct.TYPE_11__ = type { i32, i32, i64 } @null_ptid = dso_local local_unnamed_addr global i64 0, align 8 @DECR_PC_AFTER_BREAK = dso_local local_unnamed_addr global i64 0, align 8 @thr_brk_addr = dso_local local_unnamed_addr global i64 0, align 8 @SP_REGNUM = dso_local local_unnamed_addr global i32 0, align 4 @base_ops = dso_local global %struct.TYPE_14__ zeroinitializer, align 8 @SP_ARG0 = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [13 x i8] c"[Exited %s]\0A\00", align 1 @inferior_ptid = dso_local local_unnamed_addr global i64 0, align 8 @switchto_thread = dso_local local_unnamed_addr global ptr null, align 8 @.str.1 = private unnamed_addr constant [41 x i8] c"unexpected condition in libthread_stub()\00", align 1 @pid = dso_local local_unnamed_addr global i64 0, align 8 @.str.3 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @libthread_stub], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @libthread_stub(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i32, align 4 %4 = alloca %struct.thread_map, align 4 %5 = alloca %struct.TYPE_12__, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %6 = load i64, ptr @null_ptid, align 8, !tbaa !5 %7 = tail call i64 @read_pc_pid(i64 noundef %0) #3 %8 = load i64, ptr @DECR_PC_AFTER_BREAK, align 8, !tbaa !5 %9 = sub nsw i64 %7, %8 %10 = load i64, ptr @thr_brk_addr, align 8, !tbaa !5 %11 = icmp eq i64 %9, %10 br i1 %11, label %12, label %132 12: ; preds = %1 %13 = load i32, ptr @SP_REGNUM, align 4, !tbaa !9 %14 = tail call i64 @read_register_pid(i32 noundef %13, i64 noundef %0) #3 %15 = load ptr, ptr @base_ops, align 8, !tbaa !11 %16 = load i64, ptr @SP_ARG0, align 8, !tbaa !5 %17 = add nsw i64 %16, %14 %18 = call i32 %15(i64 noundef %17, ptr noundef nonnull %2, i32 noundef 8, i32 noundef 0, ptr noundef null, ptr noundef nonnull @base_ops) #3 %19 = icmp eq i32 %18, 0 br i1 %19, label %115, label %20 20: ; preds = %12 %21 = load ptr, ptr @base_ops, align 8, !tbaa !11 %22 = load i64, ptr @SP_ARG0, align 8, !tbaa !5 %23 = add i64 %14, 8 %24 = add i64 %23, %22 %25 = call i32 %21(i64 noundef %24, ptr noundef nonnull %3, i32 noundef 4, i32 noundef 0, ptr noundef null, ptr noundef nonnull @base_ops) #3 %26 = icmp eq i32 %25, 0 br i1 %26, label %115, label %27 27: ; preds = %20 %28 = call i64 (...) @find_main() #3 %29 = load i32, ptr %3, align 4, !tbaa !9 switch i32 %29, label %118 [ i32 134, label %30 i32 131, label %34 i32 130, label %34 i32 133, label %80 i32 136, label %80 i32 135, label %115 i32 129, label %115 i32 128, label %115 i32 132, label %115 ] 30: ; preds = %27 %31 = load i64, ptr %2, align 8, !tbaa !5 %32 = icmp eq i64 %31, 0 br i1 %32, label %33, label %39 33: ; preds = %30 store i64 %28, ptr %2, align 8, !tbaa !5 br label %36 34: ; preds = %27, %27 %35 = load i64, ptr %2, align 8, !tbaa !5 br label %36 36: ; preds = %34, %33 %37 = phi i64 [ %35, %34 ], [ %28, %33 ] %38 = icmp eq i64 %37, 0 br i1 %38, label %118, label %39 39: ; preds = %30, %36 %40 = phi i64 [ %37, %36 ], [ %31, %30 ] %41 = call i32 @read_map(i64 noundef %40, ptr noundef nonnull %4) #3 %42 = icmp eq i32 %41, 0 br i1 %42, label %115, label %43 43: ; preds = %39 %44 = call i32 @PIDGET(i64 noundef %0) #3 %45 = getelementptr inbounds %struct.thread_map, ptr %4, i64 0, i32 2 %46 = load i32, ptr %45, align 4, !tbaa !14 %47 = call i64 @MKTID(i32 noundef %44, i32 noundef %46) #3 %48 = load i32, ptr %3, align 4, !tbaa !9 switch i32 %48, label %118 [ i32 131, label %49 i32 130, label %64 i32 134, label %72 ] 49: ; preds = %43 %50 = getelementptr inbounds %struct.thread_map, ptr %4, i64 0, i32 1 %51 = load i32, ptr %50, align 4, !tbaa !16 %52 = icmp eq i32 %51, 0 br i1 %52, label %59, label %53 53: ; preds = %49 %54 = sext i32 %51 to i64 %55 = call i32 @read_lwp(i64 noundef %54, ptr noundef nonnull %5) #3 %56 = icmp eq i32 %55, 0 br i1 %56, label %115, label %57 57: ; preds = %53 %58 = load i32, ptr %5, align 4, !tbaa !17 br label %59 59: ; preds = %49, %57 %60 = phi i32 [ %58, %57 ], [ 0, %49 ] %61 = load i32, ptr %45, align 4, !tbaa !14 %62 = load i64, ptr %2, align 8, !tbaa !5 %63 = call i32 @add_thread_uw(i32 noundef %61, i32 noundef %60, i64 noundef %62, i64 noundef %47) #3 br label %118 64: ; preds = %43 %65 = call i32 @target_pid_to_str(i64 noundef %47) #3 %66 = call i32 @printf_unfiltered(ptr noundef nonnull @.str, i32 noundef %65) #3 %67 = call i32 @delete_thread(i64 noundef %47) #3 %68 = load i64, ptr @inferior_ptid, align 8, !tbaa !5 %69 = call i32 @ptid_equal(i64 noundef %47, i64 noundef %68) #3 %70 = icmp eq i32 %69, 0 br i1 %70, label %118, label %71 71: ; preds = %64 store i64 %0, ptr @inferior_ptid, align 8, !tbaa !5 br label %118 72: ; preds = %43 %73 = load ptr, ptr @switchto_thread, align 8, !tbaa !19 %74 = icmp eq ptr %73, null br i1 %74, label %75, label %115 75: ; preds = %72 %76 = call ptr @find_thread_pid(i64 noundef %47) #3 store ptr %76, ptr @switchto_thread, align 8, !tbaa !19 %77 = icmp eq ptr %76, null br i1 %77, label %115, label %78 78: ; preds = %75 %79 = load ptr, ptr %76, align 8, !tbaa !20 store i32 0, ptr %79, align 8, !tbaa !22 br label %118 80: ; preds = %27, %27 %81 = load ptr, ptr @switchto_thread, align 8, !tbaa !19 %82 = icmp eq ptr %81, null br i1 %82, label %115, label %83 83: ; preds = %80 %84 = icmp eq i32 %29, 133 br i1 %84, label %85, label %112 85: ; preds = %83 %86 = load ptr, ptr %81, align 8, !tbaa !20 %87 = getelementptr inbounds %struct.TYPE_11__, ptr %86, i64 0, i32 2 %88 = load i64, ptr %87, align 8, !tbaa !24 %89 = call i32 @read_map(i64 noundef %88, ptr noundef nonnull %4) #3 %90 = icmp eq i32 %89, 0 br i1 %90, label %115, label %91 91: ; preds = %85 %92 = getelementptr inbounds %struct.thread_map, ptr %4, i64 0, i32 1 %93 = load i32, ptr %92, align 4, !tbaa !16 %94 = icmp eq i32 %93, 0 br i1 %94, label %95, label %97 95: ; preds = %91 %96 = load ptr, ptr @switchto_thread, align 8, !tbaa !19 br label %112 97: ; preds = %91 %98 = sext i32 %93 to i64 %99 = call i32 @read_lwp(i64 noundef %98, ptr noundef nonnull %5) #3 %100 = icmp eq i32 %99, 0 br i1 %100, label %115, label %101 101: ; preds = %97 %102 = load i32, ptr %5, align 4, !tbaa !17 %103 = call ptr @find_thread_lwp(i32 noundef %102) #3 %104 = icmp eq ptr %103, null br i1 %104, label %107, label %105 105: ; preds = %101 %106 = load ptr, ptr %103, align 8, !tbaa !25 store i32 0, ptr %106, align 4, !tbaa !27 br label %107 107: ; preds = %105, %101 %108 = load i32, ptr %5, align 4, !tbaa !17 %109 = load ptr, ptr @switchto_thread, align 8, !tbaa !19 %110 = load ptr, ptr %109, align 8, !tbaa !20 %111 = getelementptr inbounds %struct.TYPE_11__, ptr %110, i64 0, i32 1 store i32 %108, ptr %111, align 4, !tbaa !29 br label %112 112: ; preds = %95, %107, %83 %113 = phi ptr [ %96, %95 ], [ %109, %107 ], [ %81, %83 ] %114 = load ptr, ptr %113, align 8, !tbaa !20 store i32 1, ptr %114, align 8, !tbaa !22 store ptr null, ptr @switchto_thread, align 8, !tbaa !19 br label %118 115: ; preds = %27, %27, %27, %27, %97, %85, %80, %75, %72, %53, %39, %20, %12 %116 = phi i64 [ %6, %27 ], [ %6, %27 ], [ %6, %27 ], [ %6, %27 ], [ %6, %97 ], [ %6, %85 ], [ %6, %80 ], [ %47, %72 ], [ %47, %75 ], [ %47, %53 ], [ %6, %39 ], [ %6, %20 ], [ %6, %12 ] %117 = call i32 @DBG(ptr noundef nonnull @.str.1) #3 br label %118 118: ; preds = %59, %78, %71, %64, %43, %36, %27, %115, %112 %119 = phi i64 [ %6, %27 ], [ %116, %115 ], [ %6, %112 ], [ %47, %43 ], [ %47, %78 ], [ %47, %71 ], [ %47, %64 ], [ %47, %59 ], [ %6, %36 ] %120 = load i64, ptr @pid, align 8, !tbaa !5 %121 = call i32 @dbgpid(i64 noundef %120) #3 %122 = call i32 @dbgpid(i64 noundef %119) #3 %123 = load i32, ptr %3, align 4, !tbaa !9 %124 = call i32 @dbgchange(i32 noundef %123) #3 %125 = icmp eq i64 %119, 0 br i1 %125, label %129, label %126 126: ; preds = %118 %127 = load i32, ptr %4, align 4, !tbaa !30 %128 = call ptr @dbgstate(i32 noundef %127) #3 br label %129 129: ; preds = %118, %126 %130 = phi ptr [ %128, %126 ], [ @.str.3, %118 ] %131 = call i32 @DBG2(ptr noundef %130) #3 br label %132 132: ; preds = %1, %129 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @read_pc_pid(i64 noundef) local_unnamed_addr #2 declare i64 @read_register_pid(i32 noundef, i64 noundef) local_unnamed_addr #2 declare i64 @find_main(...) local_unnamed_addr #2 declare i32 @read_map(i64 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @MKTID(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @PIDGET(i64 noundef) local_unnamed_addr #2 declare i32 @read_lwp(i64 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @add_thread_uw(i32 noundef, i32 noundef, i64 noundef, i64 noundef) local_unnamed_addr #2 declare i32 @printf_unfiltered(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @target_pid_to_str(i64 noundef) local_unnamed_addr #2 declare i32 @delete_thread(i64 noundef) local_unnamed_addr #2 declare i32 @ptid_equal(i64 noundef, i64 noundef) local_unnamed_addr #2 declare ptr @find_thread_pid(i64 noundef) local_unnamed_addr #2 declare ptr @find_thread_lwp(i32 noundef) local_unnamed_addr #2 declare i32 @DBG(ptr noundef) local_unnamed_addr #2 declare i32 @DBG2(ptr noundef) local_unnamed_addr #2 declare i32 @dbgpid(i64 noundef) local_unnamed_addr #2 declare i32 @dbgchange(i32 noundef) local_unnamed_addr #2 declare ptr @dbgstate(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 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_14__", !13, i64 0} !13 = !{!"any pointer", !7, i64 0} !14 = !{!15, !10, i64 8} !15 = !{!"thread_map", !10, i64 0, !10, i64 4, !10, i64 8} !16 = !{!15, !10, i64 4} !17 = !{!18, !10, i64 0} !18 = !{!"TYPE_12__", !10, i64 0} !19 = !{!13, !13, i64 0} !20 = !{!21, !13, i64 0} !21 = !{!"TYPE_13__", !13, i64 0} !22 = !{!23, !10, i64 0} !23 = !{!"TYPE_11__", !10, i64 0, !10, i64 4, !6, i64 8} !24 = !{!23, !6, i64 8} !25 = !{!26, !13, i64 0} !26 = !{!"thread_info", !13, i64 0} !27 = !{!28, !10, i64 0} !28 = !{!"TYPE_10__", !10, i64 0} !29 = !{!23, !10, i64 4} !30 = !{!15, !10, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_uw-thread.c_libthread_stub.c' source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_uw-thread.c_libthread_stub.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_14__ = type { ptr } %struct.thread_map = type { i32, i32, i32 } %struct.TYPE_12__ = type { i32 } @null_ptid = common local_unnamed_addr global i64 0, align 8 @DECR_PC_AFTER_BREAK = common local_unnamed_addr global i64 0, align 8 @thr_brk_addr = common local_unnamed_addr global i64 0, align 8 @SP_REGNUM = common local_unnamed_addr global i32 0, align 4 @base_ops = common global %struct.TYPE_14__ zeroinitializer, align 8 @SP_ARG0 = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [13 x i8] c"[Exited %s]\0A\00", align 1 @inferior_ptid = common local_unnamed_addr global i64 0, align 8 @switchto_thread = common local_unnamed_addr global ptr null, align 8 @.str.1 = private unnamed_addr constant [41 x i8] c"unexpected condition in libthread_stub()\00", align 1 @pid = common local_unnamed_addr global i64 0, align 8 @.str.3 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @llvm.used = appending global [1 x ptr] [ptr @libthread_stub], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @libthread_stub(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i32, align 4 %4 = alloca %struct.thread_map, align 4 %5 = alloca %struct.TYPE_12__, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %6 = load i64, ptr @null_ptid, align 8, !tbaa !6 %7 = tail call i64 @read_pc_pid(i64 noundef %0) #3 %8 = load i64, ptr @DECR_PC_AFTER_BREAK, align 8, !tbaa !6 %9 = sub nsw i64 %7, %8 %10 = load i64, ptr @thr_brk_addr, align 8, !tbaa !6 %11 = icmp eq i64 %9, %10 br i1 %11, label %12, label %132 12: ; preds = %1 %13 = load i32, ptr @SP_REGNUM, align 4, !tbaa !10 %14 = tail call i64 @read_register_pid(i32 noundef %13, i64 noundef %0) #3 %15 = load ptr, ptr @base_ops, align 8, !tbaa !12 %16 = load i64, ptr @SP_ARG0, align 8, !tbaa !6 %17 = add nsw i64 %16, %14 %18 = call i32 %15(i64 noundef %17, ptr noundef nonnull %2, i32 noundef 8, i32 noundef 0, ptr noundef null, ptr noundef nonnull @base_ops) #3 %19 = icmp eq i32 %18, 0 br i1 %19, label %115, label %20 20: ; preds = %12 %21 = load ptr, ptr @base_ops, align 8, !tbaa !12 %22 = load i64, ptr @SP_ARG0, align 8, !tbaa !6 %23 = add i64 %14, 8 %24 = add i64 %23, %22 %25 = call i32 %21(i64 noundef %24, ptr noundef nonnull %3, i32 noundef 4, i32 noundef 0, ptr noundef null, ptr noundef nonnull @base_ops) #3 %26 = icmp eq i32 %25, 0 br i1 %26, label %115, label %27 27: ; preds = %20 %28 = call i64 @find_main() #3 %29 = load i32, ptr %3, align 4, !tbaa !10 switch i32 %29, label %118 [ i32 134, label %30 i32 131, label %34 i32 130, label %34 i32 133, label %80 i32 136, label %80 i32 135, label %115 i32 129, label %115 i32 128, label %115 i32 132, label %115 ] 30: ; preds = %27 %31 = load i64, ptr %2, align 8, !tbaa !6 %32 = icmp eq i64 %31, 0 br i1 %32, label %33, label %39 33: ; preds = %30 store i64 %28, ptr %2, align 8, !tbaa !6 br label %36 34: ; preds = %27, %27 %35 = load i64, ptr %2, align 8, !tbaa !6 br label %36 36: ; preds = %34, %33 %37 = phi i64 [ %35, %34 ], [ %28, %33 ] %38 = icmp eq i64 %37, 0 br i1 %38, label %118, label %39 39: ; preds = %30, %36 %40 = phi i64 [ %37, %36 ], [ %31, %30 ] %41 = call i32 @read_map(i64 noundef %40, ptr noundef nonnull %4) #3 %42 = icmp eq i32 %41, 0 br i1 %42, label %115, label %43 43: ; preds = %39 %44 = call i32 @PIDGET(i64 noundef %0) #3 %45 = getelementptr inbounds i8, ptr %4, i64 8 %46 = load i32, ptr %45, align 4, !tbaa !15 %47 = call i64 @MKTID(i32 noundef %44, i32 noundef %46) #3 %48 = load i32, ptr %3, align 4, !tbaa !10 switch i32 %48, label %118 [ i32 131, label %49 i32 130, label %64 i32 134, label %72 ] 49: ; preds = %43 %50 = getelementptr inbounds i8, ptr %4, i64 4 %51 = load i32, ptr %50, align 4, !tbaa !17 %52 = icmp eq i32 %51, 0 br i1 %52, label %59, label %53 53: ; preds = %49 %54 = sext i32 %51 to i64 %55 = call i32 @read_lwp(i64 noundef %54, ptr noundef nonnull %5) #3 %56 = icmp eq i32 %55, 0 br i1 %56, label %115, label %57 57: ; preds = %53 %58 = load i32, ptr %5, align 4, !tbaa !18 br label %59 59: ; preds = %49, %57 %60 = phi i32 [ %58, %57 ], [ 0, %49 ] %61 = load i32, ptr %45, align 4, !tbaa !15 %62 = load i64, ptr %2, align 8, !tbaa !6 %63 = call i32 @add_thread_uw(i32 noundef %61, i32 noundef %60, i64 noundef %62, i64 noundef %47) #3 br label %118 64: ; preds = %43 %65 = call i32 @target_pid_to_str(i64 noundef %47) #3 %66 = call i32 @printf_unfiltered(ptr noundef nonnull @.str, i32 noundef %65) #3 %67 = call i32 @delete_thread(i64 noundef %47) #3 %68 = load i64, ptr @inferior_ptid, align 8, !tbaa !6 %69 = call i32 @ptid_equal(i64 noundef %47, i64 noundef %68) #3 %70 = icmp eq i32 %69, 0 br i1 %70, label %118, label %71 71: ; preds = %64 store i64 %0, ptr @inferior_ptid, align 8, !tbaa !6 br label %118 72: ; preds = %43 %73 = load ptr, ptr @switchto_thread, align 8, !tbaa !20 %74 = icmp eq ptr %73, null br i1 %74, label %75, label %115 75: ; preds = %72 %76 = call ptr @find_thread_pid(i64 noundef %47) #3 store ptr %76, ptr @switchto_thread, align 8, !tbaa !20 %77 = icmp eq ptr %76, null br i1 %77, label %115, label %78 78: ; preds = %75 %79 = load ptr, ptr %76, align 8, !tbaa !21 store i32 0, ptr %79, align 8, !tbaa !23 br label %118 80: ; preds = %27, %27 %81 = load ptr, ptr @switchto_thread, align 8, !tbaa !20 %82 = icmp eq ptr %81, null br i1 %82, label %115, label %83 83: ; preds = %80 %84 = icmp eq i32 %29, 133 br i1 %84, label %85, label %112 85: ; preds = %83 %86 = load ptr, ptr %81, align 8, !tbaa !21 %87 = getelementptr inbounds i8, ptr %86, i64 8 %88 = load i64, ptr %87, align 8, !tbaa !25 %89 = call i32 @read_map(i64 noundef %88, ptr noundef nonnull %4) #3 %90 = icmp eq i32 %89, 0 br i1 %90, label %115, label %91 91: ; preds = %85 %92 = getelementptr inbounds i8, ptr %4, i64 4 %93 = load i32, ptr %92, align 4, !tbaa !17 %94 = icmp eq i32 %93, 0 br i1 %94, label %95, label %97 95: ; preds = %91 %96 = load ptr, ptr @switchto_thread, align 8, !tbaa !20 br label %112 97: ; preds = %91 %98 = sext i32 %93 to i64 %99 = call i32 @read_lwp(i64 noundef %98, ptr noundef nonnull %5) #3 %100 = icmp eq i32 %99, 0 br i1 %100, label %115, label %101 101: ; preds = %97 %102 = load i32, ptr %5, align 4, !tbaa !18 %103 = call ptr @find_thread_lwp(i32 noundef %102) #3 %104 = icmp eq ptr %103, null br i1 %104, label %107, label %105 105: ; preds = %101 %106 = load ptr, ptr %103, align 8, !tbaa !26 store i32 0, ptr %106, align 4, !tbaa !28 br label %107 107: ; preds = %105, %101 %108 = load i32, ptr %5, align 4, !tbaa !18 %109 = load ptr, ptr @switchto_thread, align 8, !tbaa !20 %110 = load ptr, ptr %109, align 8, !tbaa !21 %111 = getelementptr inbounds i8, ptr %110, i64 4 store i32 %108, ptr %111, align 4, !tbaa !30 br label %112 112: ; preds = %95, %107, %83 %113 = phi ptr [ %96, %95 ], [ %109, %107 ], [ %81, %83 ] %114 = load ptr, ptr %113, align 8, !tbaa !21 store i32 1, ptr %114, align 8, !tbaa !23 store ptr null, ptr @switchto_thread, align 8, !tbaa !20 br label %118 115: ; preds = %27, %27, %27, %27, %97, %85, %80, %75, %72, %53, %39, %20, %12 %116 = phi i64 [ %6, %27 ], [ %6, %27 ], [ %6, %27 ], [ %6, %27 ], [ %6, %97 ], [ %6, %85 ], [ %6, %80 ], [ %47, %72 ], [ %47, %75 ], [ %47, %53 ], [ %6, %39 ], [ %6, %20 ], [ %6, %12 ] %117 = call i32 @DBG(ptr noundef nonnull @.str.1) #3 br label %118 118: ; preds = %59, %78, %71, %64, %43, %36, %27, %115, %112 %119 = phi i64 [ %6, %27 ], [ %116, %115 ], [ %6, %112 ], [ %47, %43 ], [ %47, %78 ], [ %47, %71 ], [ %47, %64 ], [ %47, %59 ], [ %6, %36 ] %120 = load i64, ptr @pid, align 8, !tbaa !6 %121 = call i32 @dbgpid(i64 noundef %120) #3 %122 = call i32 @dbgpid(i64 noundef %119) #3 %123 = load i32, ptr %3, align 4, !tbaa !10 %124 = call i32 @dbgchange(i32 noundef %123) #3 %125 = icmp eq i64 %119, 0 br i1 %125, label %129, label %126 126: ; preds = %118 %127 = load i32, ptr %4, align 4, !tbaa !31 %128 = call ptr @dbgstate(i32 noundef %127) #3 br label %129 129: ; preds = %118, %126 %130 = phi ptr [ %128, %126 ], [ @.str.3, %118 ] %131 = call i32 @DBG2(ptr noundef %130) #3 br label %132 132: ; preds = %1, %129 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @read_pc_pid(i64 noundef) local_unnamed_addr #2 declare i64 @read_register_pid(i32 noundef, i64 noundef) local_unnamed_addr #2 declare i64 @find_main(...) local_unnamed_addr #2 declare i32 @read_map(i64 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @MKTID(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @PIDGET(i64 noundef) local_unnamed_addr #2 declare i32 @read_lwp(i64 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @add_thread_uw(i32 noundef, i32 noundef, i64 noundef, i64 noundef) local_unnamed_addr #2 declare i32 @printf_unfiltered(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @target_pid_to_str(i64 noundef) local_unnamed_addr #2 declare i32 @delete_thread(i64 noundef) local_unnamed_addr #2 declare i32 @ptid_equal(i64 noundef, i64 noundef) local_unnamed_addr #2 declare ptr @find_thread_pid(i64 noundef) local_unnamed_addr #2 declare ptr @find_thread_lwp(i32 noundef) local_unnamed_addr #2 declare i32 @DBG(ptr noundef) local_unnamed_addr #2 declare i32 @DBG2(ptr noundef) local_unnamed_addr #2 declare i32 @dbgpid(i64 noundef) local_unnamed_addr #2 declare i32 @dbgchange(i32 noundef) local_unnamed_addr #2 declare ptr @dbgstate(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 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"TYPE_14__", !14, i64 0} !14 = !{!"any pointer", !8, i64 0} !15 = !{!16, !11, i64 8} !16 = !{!"thread_map", !11, i64 0, !11, i64 4, !11, i64 8} !17 = !{!16, !11, i64 4} !18 = !{!19, !11, i64 0} !19 = !{!"TYPE_12__", !11, i64 0} !20 = !{!14, !14, i64 0} !21 = !{!22, !14, i64 0} !22 = !{!"TYPE_13__", !14, i64 0} !23 = !{!24, !11, i64 0} !24 = !{!"TYPE_11__", !11, i64 0, !11, i64 4, !7, i64 8} !25 = !{!24, !7, i64 8} !26 = !{!27, !14, i64 0} !27 = !{!"thread_info", !14, i64 0} !28 = !{!29, !11, i64 0} !29 = !{!"TYPE_10__", !11, i64 0} !30 = !{!24, !11, i64 4} !31 = !{!16, !11, i64 0}
freebsd_contrib_gdb_gdb_extr_uw-thread.c_libthread_stub
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/gma500/extr_psb_intel_sdvo.c_psb_intel_sdvo_get_input_pixel_clock_range.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/gma500/extr_psb_intel_sdvo.c_psb_intel_sdvo_get_input_pixel_clock_range.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.psb_intel_sdvo_pixel_clock_range = type { i32, i32 } @SDVO_CMD_GET_INPUT_PIXEL_CLOCK_RANGE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @psb_intel_sdvo_get_input_pixel_clock_range], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @psb_intel_sdvo_get_input_pixel_clock_range(ptr noundef %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2) #0 { %4 = alloca %struct.psb_intel_sdvo_pixel_clock_range, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %5 = tail call i32 @BUILD_BUG_ON(i32 noundef 1) #3 %6 = load i32, ptr @SDVO_CMD_GET_INPUT_PIXEL_CLOCK_RANGE, align 4, !tbaa !5 %7 = call i32 @psb_intel_sdvo_get_value(ptr noundef %0, i32 noundef %6, ptr noundef nonnull %4, i32 noundef 8) #3 %8 = icmp eq i32 %7, 0 br i1 %8, label %15, label %9 9: ; preds = %3 %10 = load i32, ptr %4, align 4, !tbaa !9 %11 = mul nsw i32 %10, 10 store i32 %11, ptr %1, align 4, !tbaa !5 %12 = getelementptr inbounds %struct.psb_intel_sdvo_pixel_clock_range, ptr %4, i64 0, i32 1 %13 = load i32, ptr %12, align 4, !tbaa !11 %14 = mul nsw i32 %13, 10 store i32 %14, ptr %2, align 4, !tbaa !5 br label %15 15: ; preds = %3, %9 %16 = phi i32 [ 1, %9 ], [ 0, %3 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret i32 %16 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @BUILD_BUG_ON(i32 noundef) local_unnamed_addr #2 declare i32 @psb_intel_sdvo_get_value(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !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 = !{!"psb_intel_sdvo_pixel_clock_range", !6, i64 0, !6, i64 4} !11 = !{!10, !6, i64 4}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/gma500/extr_psb_intel_sdvo.c_psb_intel_sdvo_get_input_pixel_clock_range.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/gma500/extr_psb_intel_sdvo.c_psb_intel_sdvo_get_input_pixel_clock_range.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.psb_intel_sdvo_pixel_clock_range = type { i32, i32 } @SDVO_CMD_GET_INPUT_PIXEL_CLOCK_RANGE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @psb_intel_sdvo_get_input_pixel_clock_range], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @psb_intel_sdvo_get_input_pixel_clock_range(ptr noundef %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2) #0 { %4 = alloca %struct.psb_intel_sdvo_pixel_clock_range, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %5 = tail call i32 @BUILD_BUG_ON(i32 noundef 1) #3 %6 = load i32, ptr @SDVO_CMD_GET_INPUT_PIXEL_CLOCK_RANGE, align 4, !tbaa !6 %7 = call i32 @psb_intel_sdvo_get_value(ptr noundef %0, i32 noundef %6, ptr noundef nonnull %4, i32 noundef 8) #3 %8 = icmp eq i32 %7, 0 br i1 %8, label %15, label %9 9: ; preds = %3 %10 = load i32, ptr %4, align 4, !tbaa !10 %11 = mul nsw i32 %10, 10 store i32 %11, ptr %1, align 4, !tbaa !6 %12 = getelementptr inbounds i8, ptr %4, i64 4 %13 = load i32, ptr %12, align 4, !tbaa !12 %14 = mul nsw i32 %13, 10 store i32 %14, ptr %2, align 4, !tbaa !6 br label %15 15: ; preds = %3, %9 %16 = phi i32 [ 1, %9 ], [ 0, %3 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret i32 %16 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @BUILD_BUG_ON(i32 noundef) local_unnamed_addr #2 declare i32 @psb_intel_sdvo_get_value(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !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 = !{!"psb_intel_sdvo_pixel_clock_range", !7, i64 0, !7, i64 4} !12 = !{!11, !7, i64 4}
linux_drivers_gpu_drm_gma500_extr_psb_intel_sdvo.c_psb_intel_sdvo_get_input_pixel_clock_range
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/core/engine/software/extr_nv50.c_nv50_software_mthd_vblsem_value.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/core/engine/software/extr_nv50.c_nv50_software_mthd_vblsem_value.c" target datalayout = "e-m:e-p270:32:32-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 @nv50_software_mthd_vblsem_value], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @nv50_software_mthd_vblsem_value(ptr nocapture noundef readonly %0, i32 %1, ptr nocapture noundef readonly %2, i32 %3) #0 { %5 = load i32, ptr %0, align 4, !tbaa !5 %6 = tail call i64 @nv_engctx(i32 noundef %5) #2 %7 = inttoptr i64 %6 to ptr %8 = load i32, ptr %2, align 4, !tbaa !10 store i32 %8, ptr %7, align 4, !tbaa !11 ret i32 0 } declare i64 @nv_engctx(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 = !{!"nouveau_object", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!12, !7, i64 0} !12 = !{!"nv50_software_chan", !13, i64 0} !13 = !{!"TYPE_4__", !14, i64 0} !14 = !{!"TYPE_3__", !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/core/engine/software/extr_nv50.c_nv50_software_mthd_vblsem_value.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/core/engine/software/extr_nv50.c_nv50_software_mthd_vblsem_value.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 @nv50_software_mthd_vblsem_value], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @nv50_software_mthd_vblsem_value(ptr nocapture noundef readonly %0, i32 %1, ptr nocapture noundef readonly %2, i32 %3) #0 { %5 = load i32, ptr %0, align 4, !tbaa !6 %6 = tail call i64 @nv_engctx(i32 noundef %5) #2 %7 = inttoptr i64 %6 to ptr %8 = load i32, ptr %2, align 4, !tbaa !11 store i32 %8, ptr %7, align 4, !tbaa !12 ret i32 0 } declare i64 @nv_engctx(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 = !{!"nouveau_object", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!13, !8, i64 0} !13 = !{!"nv50_software_chan", !14, i64 0} !14 = !{!"TYPE_4__", !15, i64 0} !15 = !{!"TYPE_3__", !8, i64 0}
fastsocket_kernel_drivers_gpu_drm_nouveau_core_engine_software_extr_nv50.c_nv50_software_mthd_vblsem_value
; ModuleID = 'AnghaBench/kphp-kdb/common/extr_xz_dec.c_crc32_validate.c' source_filename = "AnghaBench/kphp-kdb/common/extr_xz_dec.c_crc32_validate.c" target datalayout = "e-m:e-p270:32:32-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.xz_buf = type { i64, i64, ptr } %struct.xz_dec = type { i32, i32 } @XZ_OK = dso_local local_unnamed_addr global i32 0, align 4 @XZ_DATA_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @XZ_STREAM_END = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @crc32_validate], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define internal i32 @crc32_validate(ptr nocapture noundef %0, ptr nocapture noundef %1) #0 { %3 = getelementptr inbounds %struct.xz_buf, ptr %1, i64 0, i32 1 %4 = load i64, ptr %3, align 8, !tbaa !5 %5 = load i64, ptr %1, align 8, !tbaa !11 %6 = getelementptr inbounds %struct.xz_dec, ptr %0, i64 0, i32 1 %7 = getelementptr inbounds %struct.xz_buf, ptr %1, i64 0, i32 2 br label %8 8: ; preds = %21, %2 %9 = phi i64 [ %17, %21 ], [ %5, %2 ] %10 = icmp eq i64 %9, %4 br i1 %10, label %25, label %11 11: ; preds = %8 %12 = load i32, ptr %6, align 4, !tbaa !12 %13 = load i32, ptr %0, align 4, !tbaa !15 %14 = ashr i32 %12, %13 %15 = and i32 %14, 255 %16 = load ptr, ptr %7, align 8, !tbaa !16 %17 = add nsw i64 %9, 1 store i64 %17, ptr %1, align 8, !tbaa !11 %18 = getelementptr inbounds i32, ptr %16, i64 %9 %19 = load i32, ptr %18, align 4, !tbaa !17 %20 = icmp eq i32 %15, %19 br i1 %20, label %21, label %25 21: ; preds = %11 %22 = add nsw i32 %13, 8 store i32 %22, ptr %0, align 4, !tbaa !15 %23 = icmp slt i32 %13, 24 br i1 %23, label %8, label %24, !llvm.loop !18 24: ; preds = %21 store i32 0, ptr %6, align 4, !tbaa !12 store i32 0, ptr %0, align 4, !tbaa !15 br label %25 25: ; preds = %11, %8, %24 %26 = phi ptr [ @XZ_STREAM_END, %24 ], [ @XZ_DATA_ERROR, %11 ], [ @XZ_OK, %8 ] %27 = load i32, ptr %26, align 4, !tbaa !17 ret i32 %27 } attributes #0 = { nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 8} !6 = !{!"xz_buf", !7, i64 0, !7, i64 8, !10, i64 16} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !7, i64 0} !12 = !{!13, !14, i64 4} !13 = !{!"xz_dec", !14, i64 0, !14, i64 4} !14 = !{!"int", !8, i64 0} !15 = !{!13, !14, i64 0} !16 = !{!6, !10, i64 16} !17 = !{!14, !14, i64 0} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/kphp-kdb/common/extr_xz_dec.c_crc32_validate.c' source_filename = "AnghaBench/kphp-kdb/common/extr_xz_dec.c_crc32_validate.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @XZ_OK = common local_unnamed_addr global i32 0, align 4 @XZ_DATA_ERROR = common local_unnamed_addr global i32 0, align 4 @XZ_STREAM_END = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @crc32_validate], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) define internal i32 @crc32_validate(ptr nocapture noundef %0, ptr nocapture noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %1, i64 8 %4 = load i64, ptr %3, align 8, !tbaa !6 %5 = load i64, ptr %1, align 8, !tbaa !12 %6 = getelementptr inbounds i8, ptr %0, i64 4 %7 = getelementptr inbounds i8, ptr %1, i64 16 br label %8 8: ; preds = %21, %2 %9 = phi i64 [ %17, %21 ], [ %5, %2 ] %10 = icmp eq i64 %9, %4 br i1 %10, label %25, label %11 11: ; preds = %8 %12 = load i32, ptr %6, align 4, !tbaa !13 %13 = load i32, ptr %0, align 4, !tbaa !16 %14 = ashr i32 %12, %13 %15 = and i32 %14, 255 %16 = load ptr, ptr %7, align 8, !tbaa !17 %17 = add nsw i64 %9, 1 store i64 %17, ptr %1, align 8, !tbaa !12 %18 = getelementptr inbounds i32, ptr %16, i64 %9 %19 = load i32, ptr %18, align 4, !tbaa !18 %20 = icmp eq i32 %15, %19 br i1 %20, label %21, label %25 21: ; preds = %11 %22 = add nsw i32 %13, 8 store i32 %22, ptr %0, align 4, !tbaa !16 %23 = icmp slt i32 %13, 24 br i1 %23, label %8, label %24, !llvm.loop !19 24: ; preds = %21 store <2 x i32> zeroinitializer, ptr %0, align 4, !tbaa !18 br label %25 25: ; preds = %11, %8, %24 %26 = phi ptr [ @XZ_STREAM_END, %24 ], [ @XZ_DATA_ERROR, %11 ], [ @XZ_OK, %8 ] %27 = load i32, ptr %26, align 4, !tbaa !18 ret i32 %27 } attributes #0 = { nofree norecurse nosync nounwind ssp memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 8} !7 = !{!"xz_buf", !8, i64 0, !8, i64 8, !11, i64 16} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !8, i64 0} !13 = !{!14, !15, i64 4} !14 = !{!"xz_dec", !15, i64 0, !15, i64 4} !15 = !{!"int", !9, i64 0} !16 = !{!14, !15, i64 0} !17 = !{!7, !11, i64 16} !18 = !{!15, !15, i64 0} !19 = distinct !{!19, !20} !20 = !{!"llvm.loop.mustprogress"}
kphp-kdb_common_extr_xz_dec.c_crc32_validate
; ModuleID = 'AnghaBench/linux/arch/x86/boot/extr_cmdline.c___cmdline_find_option.c' source_filename = "AnghaBench/linux/arch/x86/boot/extr_cmdline.c___cmdline_find_option.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local i32 @__cmdline_find_option(i64 noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2, i32 noundef %3) local_unnamed_addr #0 { %5 = icmp eq i64 %0, 0 br i1 %5, label %65, label %6 6: ; preds = %4 %7 = trunc i64 %0 to i32 %8 = and i32 %7, 15 %9 = lshr i64 %0, 4 %10 = tail call i32 @set_fs(i64 noundef %9) #2 %11 = add nsw i32 %3, -1 br label %12 12: ; preds = %6, %54 %13 = phi i32 [ 0, %6 ], [ %58, %54 ] %14 = phi ptr [ %2, %6 ], [ %57, %54 ] %15 = phi ptr [ null, %6 ], [ %56, %54 ] %16 = phi i32 [ -1, %6 ], [ %55, %54 ] %17 = phi i32 [ %8, %6 ], [ %18, %54 ] %18 = add nuw nsw i32 %17, 1 %19 = tail call signext i8 @rdfs8(i32 noundef %17) #2 %20 = icmp eq i8 %19, 0 br i1 %20, label %60, label %21 21: ; preds = %12 switch i32 %13, label %53 [ i32 0, label %22 i32 1, label %25 i32 2, label %39 i32 3, label %43 ] 22: ; preds = %21 %23 = tail call i32 @myisspace(i8 noundef signext %19) #2 %24 = icmp eq i32 %23, 0 br i1 %24, label %25, label %54 25: ; preds = %22, %21 %26 = phi ptr [ %15, %21 ], [ %1, %22 ] %27 = icmp eq i8 %19, 61 br i1 %27, label %28, label %31 28: ; preds = %25 %29 = load i8, ptr %26, align 1, !tbaa !5 %30 = icmp eq i8 %29, 0 br i1 %30, label %54, label %31 31: ; preds = %28, %25 %32 = tail call i32 @myisspace(i8 noundef signext %19) #2 %33 = icmp eq i32 %32, 0 br i1 %33, label %34, label %54 34: ; preds = %31 %35 = getelementptr inbounds i8, ptr %26, i64 1 %36 = load i8, ptr %26, align 1, !tbaa !5 %37 = icmp eq i8 %19, %36 %38 = select i1 %37, i32 1, i32 2 br label %54 39: ; preds = %21 %40 = tail call i32 @myisspace(i8 noundef signext %19) #2 %41 = icmp eq i32 %40, 0 %42 = select i1 %41, i32 2, i32 0 br label %54 43: ; preds = %21 %44 = tail call i32 @myisspace(i8 noundef signext %19) #2 %45 = icmp eq i32 %44, 0 br i1 %45, label %46, label %54 46: ; preds = %43 %47 = icmp slt i32 %16, %11 br i1 %47, label %48, label %50 48: ; preds = %46 %49 = getelementptr inbounds i8, ptr %14, i64 1 store i8 %19, ptr %14, align 1, !tbaa !5 br label %50 50: ; preds = %48, %46 %51 = phi ptr [ %49, %48 ], [ %14, %46 ] %52 = add nsw i32 %16, 1 br label %54 53: ; preds = %21 unreachable 54: ; preds = %39, %34, %43, %31, %28, %50, %22 %55 = phi i32 [ %52, %50 ], [ %16, %22 ], [ 0, %28 ], [ %16, %31 ], [ %16, %34 ], [ %16, %39 ], [ %16, %43 ] %56 = phi ptr [ %15, %50 ], [ %15, %22 ], [ %26, %28 ], [ %26, %31 ], [ %35, %34 ], [ %15, %39 ], [ %15, %43 ] %57 = phi ptr [ %51, %50 ], [ %14, %22 ], [ %2, %28 ], [ %14, %31 ], [ %14, %34 ], [ %14, %39 ], [ %14, %43 ] %58 = phi i32 [ 3, %50 ], [ 0, %22 ], [ 3, %28 ], [ 0, %31 ], [ %38, %34 ], [ %42, %39 ], [ 0, %43 ] %59 = icmp eq i32 %18, 65536 br i1 %59, label %60, label %12, !llvm.loop !8 60: ; preds = %54, %12 %61 = phi i32 [ %55, %54 ], [ %16, %12 ] %62 = phi ptr [ %57, %54 ], [ %14, %12 ] %63 = icmp eq i32 %3, 0 br i1 %63, label %65, label %64 64: ; preds = %60 store i8 0, ptr %62, align 1, !tbaa !5 br label %65 65: ; preds = %60, %64, %4 %66 = phi i32 [ -1, %4 ], [ %61, %64 ], [ %61, %60 ] ret i32 %66 } declare i32 @set_fs(i64 noundef) local_unnamed_addr #1 declare signext i8 @rdfs8(i32 noundef) local_unnamed_addr #1 declare i32 @myisspace(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 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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/linux/arch/x86/boot/extr_cmdline.c___cmdline_find_option.c' source_filename = "AnghaBench/linux/arch/x86/boot/extr_cmdline.c___cmdline_find_option.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 @__cmdline_find_option(i64 noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2, i32 noundef %3) local_unnamed_addr #0 { %5 = icmp eq i64 %0, 0 br i1 %5, label %65, label %6 6: ; preds = %4 %7 = trunc i64 %0 to i32 %8 = and i32 %7, 15 %9 = lshr i64 %0, 4 %10 = tail call i32 @set_fs(i64 noundef %9) #2 %11 = add nsw i32 %3, -1 br label %12 12: ; preds = %6, %54 %13 = phi i32 [ 0, %6 ], [ %58, %54 ] %14 = phi ptr [ %2, %6 ], [ %57, %54 ] %15 = phi ptr [ null, %6 ], [ %56, %54 ] %16 = phi i32 [ -1, %6 ], [ %55, %54 ] %17 = phi i32 [ %8, %6 ], [ %18, %54 ] %18 = add nuw nsw i32 %17, 1 %19 = tail call signext i8 @rdfs8(i32 noundef %17) #2 %20 = icmp eq i8 %19, 0 br i1 %20, label %60, label %21 21: ; preds = %12 switch i32 %13, label %53 [ i32 0, label %22 i32 1, label %25 i32 2, label %39 i32 3, label %43 ] 22: ; preds = %21 %23 = tail call i32 @myisspace(i8 noundef signext %19) #2 %24 = icmp eq i32 %23, 0 br i1 %24, label %25, label %54 25: ; preds = %22, %21 %26 = phi ptr [ %15, %21 ], [ %1, %22 ] %27 = icmp eq i8 %19, 61 br i1 %27, label %28, label %31 28: ; preds = %25 %29 = load i8, ptr %26, align 1, !tbaa !6 %30 = icmp eq i8 %29, 0 br i1 %30, label %54, label %31 31: ; preds = %28, %25 %32 = tail call i32 @myisspace(i8 noundef signext %19) #2 %33 = icmp eq i32 %32, 0 br i1 %33, label %34, label %54 34: ; preds = %31 %35 = getelementptr inbounds i8, ptr %26, i64 1 %36 = load i8, ptr %26, align 1, !tbaa !6 %37 = icmp eq i8 %19, %36 %38 = select i1 %37, i32 1, i32 2 br label %54 39: ; preds = %21 %40 = tail call i32 @myisspace(i8 noundef signext %19) #2 %41 = icmp eq i32 %40, 0 %42 = select i1 %41, i32 2, i32 0 br label %54 43: ; preds = %21 %44 = tail call i32 @myisspace(i8 noundef signext %19) #2 %45 = icmp eq i32 %44, 0 br i1 %45, label %46, label %54 46: ; preds = %43 %47 = icmp slt i32 %16, %11 br i1 %47, label %48, label %50 48: ; preds = %46 %49 = getelementptr inbounds i8, ptr %14, i64 1 store i8 %19, ptr %14, align 1, !tbaa !6 br label %50 50: ; preds = %48, %46 %51 = phi ptr [ %49, %48 ], [ %14, %46 ] %52 = add nsw i32 %16, 1 br label %54 53: ; preds = %21 unreachable 54: ; preds = %39, %34, %43, %31, %28, %50, %22 %55 = phi i32 [ %52, %50 ], [ %16, %22 ], [ 0, %28 ], [ %16, %31 ], [ %16, %34 ], [ %16, %39 ], [ %16, %43 ] %56 = phi ptr [ %15, %50 ], [ %15, %22 ], [ %26, %28 ], [ %26, %31 ], [ %35, %34 ], [ %15, %39 ], [ %15, %43 ] %57 = phi ptr [ %51, %50 ], [ %14, %22 ], [ %2, %28 ], [ %14, %31 ], [ %14, %34 ], [ %14, %39 ], [ %14, %43 ] %58 = phi i32 [ 3, %50 ], [ 0, %22 ], [ 3, %28 ], [ 0, %31 ], [ %38, %34 ], [ %42, %39 ], [ 0, %43 ] %59 = icmp eq i32 %18, 65536 br i1 %59, label %60, label %12, !llvm.loop !9 60: ; preds = %54, %12 %61 = phi i32 [ %55, %54 ], [ %16, %12 ] %62 = phi ptr [ %57, %54 ], [ %14, %12 ] %63 = icmp eq i32 %3, 0 br i1 %63, label %65, label %64 64: ; preds = %60 store i8 0, ptr %62, align 1, !tbaa !6 br label %65 65: ; preds = %60, %64, %4 %66 = phi i32 [ -1, %4 ], [ %61, %64 ], [ %61, %60 ] ret i32 %66 } declare i32 @set_fs(i64 noundef) local_unnamed_addr #1 declare signext i8 @rdfs8(i32 noundef) local_unnamed_addr #1 declare i32 @myisspace(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 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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"}
linux_arch_x86_boot_extr_cmdline.c___cmdline_find_option
; ModuleID = 'AnghaBench/raspberry-pi-os/exercises/lesson04/3/bl4ckout31/src/extr_printf.c_putchw.c' source_filename = "AnghaBench/raspberry-pi-os/exercises/lesson04/3/bl4ckout31/src/extr_printf.c_putchw.c" target datalayout = "e-m:e-p270:32:32-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 @putchw], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @putchw(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2, i8 noundef signext %3, ptr nocapture noundef readonly %4) #0 { %6 = icmp eq i8 %3, 0 %7 = select i1 %6, i8 32, i8 48 %8 = load i8, ptr %4, align 1, !tbaa !5 %9 = icmp ne i8 %8, 0 %10 = icmp sgt i32 %2, 0 %11 = and i1 %9, %10 br i1 %11, label %15, label %12 12: ; preds = %15, %5 %13 = phi i32 [ %2, %5 ], [ %19, %15 ] %14 = icmp sgt i32 %13, 0 br i1 %14, label %29, label %26 15: ; preds = %5, %15 %16 = phi ptr [ %18, %15 ], [ %4, %5 ] %17 = phi i32 [ %19, %15 ], [ %2, %5 ] %18 = getelementptr inbounds i8, ptr %16, i64 1 %19 = add nsw i32 %17, -1 %20 = load i8, ptr %18, align 1, !tbaa !5 %21 = icmp ne i8 %20, 0 %22 = icmp ugt i32 %17, 1 %23 = select i1 %21, i1 %22, i1 false br i1 %23, label %15, label %12, !llvm.loop !8 24: ; preds = %29 %25 = load i8, ptr %4, align 1, !tbaa !5 br label %26 26: ; preds = %24, %12 %27 = phi i8 [ %25, %24 ], [ %8, %12 ] %28 = icmp eq i8 %27, 0 br i1 %28, label %41, label %34 29: ; preds = %12, %29 %30 = phi i32 [ %31, %29 ], [ %13, %12 ] %31 = add nsw i32 %30, -1 %32 = tail call i32 %1(ptr noundef %0, i8 noundef signext %7) #1 %33 = icmp ugt i32 %30, 1 br i1 %33, label %29, label %24, !llvm.loop !10 34: ; preds = %26, %34 %35 = phi i8 [ %39, %34 ], [ %27, %26 ] %36 = phi ptr [ %37, %34 ], [ %4, %26 ] %37 = getelementptr inbounds i8, ptr %36, i64 1 %38 = tail call i32 %1(ptr noundef %0, i8 noundef signext %35) #1 %39 = load i8, ptr %37, align 1, !tbaa !5 %40 = icmp eq i8 %39, 0 br i1 %40, label %41, label %34, !llvm.loop !11 41: ; preds = %34, %26 ret void } attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"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/raspberry-pi-os/exercises/lesson04/3/bl4ckout31/src/extr_printf.c_putchw.c' source_filename = "AnghaBench/raspberry-pi-os/exercises/lesson04/3/bl4ckout31/src/extr_printf.c_putchw.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 @putchw], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @putchw(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2, i8 noundef signext %3, ptr nocapture noundef readonly %4) #0 { %6 = icmp eq i8 %3, 0 %7 = select i1 %6, i8 32, i8 48 %8 = load i8, ptr %4, align 1, !tbaa !6 %9 = icmp ne i8 %8, 0 %10 = icmp sgt i32 %2, 0 %11 = and i1 %9, %10 br i1 %11, label %15, label %12 12: ; preds = %15, %5 %13 = phi i32 [ %2, %5 ], [ %19, %15 ] %14 = icmp sgt i32 %13, 0 br i1 %14, label %29, label %26 15: ; preds = %5, %15 %16 = phi ptr [ %18, %15 ], [ %4, %5 ] %17 = phi i32 [ %19, %15 ], [ %2, %5 ] %18 = getelementptr inbounds i8, ptr %16, i64 1 %19 = add nsw i32 %17, -1 %20 = load i8, ptr %18, align 1, !tbaa !6 %21 = icmp ne i8 %20, 0 %22 = icmp ugt i32 %17, 1 %23 = select i1 %21, i1 %22, i1 false br i1 %23, label %15, label %12, !llvm.loop !9 24: ; preds = %29 %25 = load i8, ptr %4, align 1, !tbaa !6 br label %26 26: ; preds = %24, %12 %27 = phi i8 [ %25, %24 ], [ %8, %12 ] %28 = icmp eq i8 %27, 0 br i1 %28, label %41, label %34 29: ; preds = %12, %29 %30 = phi i32 [ %31, %29 ], [ %13, %12 ] %31 = add nsw i32 %30, -1 %32 = tail call i32 %1(ptr noundef %0, i8 noundef signext %7) #1 %33 = icmp ugt i32 %30, 1 br i1 %33, label %29, label %24, !llvm.loop !11 34: ; preds = %26, %34 %35 = phi i8 [ %39, %34 ], [ %27, %26 ] %36 = phi ptr [ %37, %34 ], [ %4, %26 ] %37 = getelementptr inbounds i8, ptr %36, i64 1 %38 = tail call i32 %1(ptr noundef %0, i8 noundef signext %35) #1 %39 = load i8, ptr %37, align 1, !tbaa !6 %40 = icmp eq i8 %39, 0 br i1 %40, label %41, label %34, !llvm.loop !12 41: ; preds = %34, %26 ret void } attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"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}
raspberry-pi-os_exercises_lesson04_3_bl4ckout31_src_extr_printf.c_putchw
; ModuleID = 'AnghaBench/linux/arch/powerpc/sysdev/extr_mpic_timer.c_convert_ticks_to_time.c' source_filename = "AnghaBench/linux/arch/powerpc/sysdev/extr_mpic_timer.c_convert_ticks_to_time.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @convert_ticks_to_time], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @convert_ticks_to_time(ptr nocapture noundef readonly %0, i64 noundef %1, ptr nocapture noundef writeonly %2) #0 { %4 = load i32, ptr %0, align 4, !tbaa !5 %5 = tail call i64 @div_u64(i64 noundef %1, i32 noundef %4) #2 store i64 %5, ptr %2, align 8, !tbaa !10 ret void } declare i64 @div_u64(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 = !{!"timer_group_priv", !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}
; ModuleID = 'AnghaBench/linux/arch/powerpc/sysdev/extr_mpic_timer.c_convert_ticks_to_time.c' source_filename = "AnghaBench/linux/arch/powerpc/sysdev/extr_mpic_timer.c_convert_ticks_to_time.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @convert_ticks_to_time], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @convert_ticks_to_time(ptr nocapture noundef readonly %0, i64 noundef %1, ptr nocapture noundef writeonly %2) #0 { %4 = load i32, ptr %0, align 4, !tbaa !6 %5 = tail call i64 @div_u64(i64 noundef %1, i32 noundef %4) #2 store i64 %5, ptr %2, align 8, !tbaa !11 ret void } declare i64 @div_u64(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 = !{!"timer_group_priv", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"long", !9, i64 0}
linux_arch_powerpc_sysdev_extr_mpic_timer.c_convert_ticks_to_time
; ModuleID = 'AnghaBench/openssl/ssl/extr_ssl_lib.c_SSL_CTX_set1_cert_store.c' source_filename = "AnghaBench/openssl/ssl/extr_ssl_lib.c_SSL_CTX_set1_cert_store.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local void @SSL_CTX_set1_cert_store(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = icmp eq ptr %1, null br i1 %3, label %6, label %4 4: ; preds = %2 %5 = tail call i32 @X509_STORE_up_ref(ptr noundef nonnull %1) #2 br label %6 6: ; preds = %4, %2 %7 = tail call i32 @SSL_CTX_set_cert_store(ptr noundef %0, ptr noundef %1) #2 ret void } declare i32 @X509_STORE_up_ref(ptr noundef) local_unnamed_addr #1 declare i32 @SSL_CTX_set_cert_store(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/openssl/ssl/extr_ssl_lib.c_SSL_CTX_set1_cert_store.c' source_filename = "AnghaBench/openssl/ssl/extr_ssl_lib.c_SSL_CTX_set1_cert_store.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 @SSL_CTX_set1_cert_store(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = icmp eq ptr %1, null br i1 %3, label %6, label %4 4: ; preds = %2 %5 = tail call i32 @X509_STORE_up_ref(ptr noundef nonnull %1) #2 br label %6 6: ; preds = %4, %2 %7 = tail call i32 @SSL_CTX_set_cert_store(ptr noundef %0, ptr noundef %1) #2 ret void } declare i32 @X509_STORE_up_ref(ptr noundef) local_unnamed_addr #1 declare i32 @SSL_CTX_set_cert_store(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)"}
openssl_ssl_extr_ssl_lib.c_SSL_CTX_set1_cert_store
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/eap_peer/extr_eap_fast.c_eap_fast_get_phase2_key.c' source_filename = "AnghaBench/freebsd/contrib/wpa/src/eap_peer/extr_eap_fast.c_eap_fast_get_phase2_key.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.eap_fast_data = type { ptr, ptr } %struct.TYPE_2__ = type { i64, i64, ptr, ptr } @MSG_DEBUG = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [39 x i8] c"EAP-FAST: Phase 2 method not available\00", align 1 @.str.1 = private unnamed_addr constant [50 x i8] c"EAP-FAST: Could not get key material from Phase 2\00", align 1 @EAP_VENDOR_IETF = dso_local local_unnamed_addr global i64 0, align 8 @EAP_TYPE_MSCHAPV2 = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @eap_fast_get_phase2_key], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @eap_fast_get_phase2_key(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2, i64 noundef %3) #0 { %5 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 %6 = tail call i32 @os_memset(ptr noundef %2, i32 noundef 0, i64 noundef %3) #3 %7 = load ptr, ptr %1, align 8, !tbaa !5 %8 = icmp eq ptr %7, null br i1 %8, label %13, label %9 9: ; preds = %4 %10 = getelementptr inbounds %struct.eap_fast_data, ptr %1, i64 0, i32 1 %11 = load ptr, ptr %10, align 8, !tbaa !10 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %16 13: ; preds = %9, %4 %14 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !11 %15 = tail call i32 @wpa_printf(i32 noundef %14, ptr noundef nonnull @.str) #3 br label %63 16: ; preds = %9 %17 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 0, i32 3 %18 = load ptr, ptr %17, align 8, !tbaa !13 %19 = icmp eq ptr %18, null br i1 %19, label %63, label %20 20: ; preds = %16 %21 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 0, i32 2 %22 = load ptr, ptr %21, align 8, !tbaa !16 %23 = icmp eq ptr %22, null br i1 %23, label %63, label %24 24: ; preds = %20 %25 = tail call i32 %18(ptr noundef %0, ptr noundef nonnull %11) #3 %26 = icmp eq i32 %25, 0 br i1 %26, label %34, label %27 27: ; preds = %24 %28 = load ptr, ptr %1, align 8, !tbaa !5 %29 = getelementptr inbounds %struct.TYPE_2__, ptr %28, i64 0, i32 2 %30 = load ptr, ptr %29, align 8, !tbaa !16 %31 = load ptr, ptr %10, align 8, !tbaa !10 %32 = call ptr %30(ptr noundef %0, ptr noundef %31, ptr noundef nonnull %5) #3 %33 = icmp eq ptr %32, null br i1 %33, label %34, label %37 34: ; preds = %27, %24 %35 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !11 %36 = call i32 @wpa_printf(i32 noundef %35, ptr noundef nonnull @.str.1) #3 br label %63 37: ; preds = %27 %38 = load i64, ptr %5, align 8, !tbaa !17 %39 = icmp ugt i64 %38, %3 br i1 %39, label %40, label %41 40: ; preds = %37 store i64 %3, ptr %5, align 8, !tbaa !17 br label %41 41: ; preds = %40, %37 %42 = phi i64 [ %3, %40 ], [ %38, %37 ] %43 = icmp eq i64 %42, 32 br i1 %43, label %44, label %59 44: ; preds = %41 %45 = load ptr, ptr %1, align 8, !tbaa !5 %46 = load i64, ptr %45, align 8, !tbaa !18 %47 = load i64, ptr @EAP_VENDOR_IETF, align 8, !tbaa !17 %48 = icmp eq i64 %46, %47 br i1 %48, label %49, label %59 49: ; preds = %44 %50 = getelementptr inbounds %struct.TYPE_2__, ptr %45, i64 0, i32 1 %51 = load i64, ptr %50, align 8, !tbaa !19 %52 = load i64, ptr @EAP_TYPE_MSCHAPV2, align 8, !tbaa !17 %53 = icmp eq i64 %51, %52 br i1 %53, label %54, label %59 54: ; preds = %49 %55 = getelementptr inbounds i32, ptr %32, i64 16 %56 = call i32 @os_memcpy(ptr noundef %2, ptr noundef nonnull %55, i64 noundef 16) #3 %57 = getelementptr inbounds i32, ptr %2, i64 16 %58 = call i32 @os_memcpy(ptr noundef nonnull %57, ptr noundef nonnull %32, i64 noundef 16) #3 br label %61 59: ; preds = %49, %44, %41 %60 = call i32 @os_memcpy(ptr noundef %2, ptr noundef nonnull %32, i64 noundef %42) #3 br label %61 61: ; preds = %59, %54 %62 = call i32 @os_free(ptr noundef nonnull %32) #3 br label %63 63: ; preds = %16, %20, %61, %34, %13 %64 = phi i32 [ -1, %13 ], [ -1, %34 ], [ 0, %61 ], [ 0, %20 ], [ 0, %16 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 ret i32 %64 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @os_memset(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #2 declare i32 @wpa_printf(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @os_memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @os_free(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"eap_fast_data", !7, i64 0, !7, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 8} !11 = !{!12, !12, i64 0} !12 = !{!"int", !8, i64 0} !13 = !{!14, !7, i64 24} !14 = !{!"TYPE_2__", !15, i64 0, !15, i64 8, !7, i64 16, !7, i64 24} !15 = !{!"long", !8, i64 0} !16 = !{!14, !7, i64 16} !17 = !{!15, !15, i64 0} !18 = !{!14, !15, i64 0} !19 = !{!14, !15, i64 8}
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/eap_peer/extr_eap_fast.c_eap_fast_get_phase2_key.c' source_filename = "AnghaBench/freebsd/contrib/wpa/src/eap_peer/extr_eap_fast.c_eap_fast_get_phase2_key.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MSG_DEBUG = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [39 x i8] c"EAP-FAST: Phase 2 method not available\00", align 1 @.str.1 = private unnamed_addr constant [50 x i8] c"EAP-FAST: Could not get key material from Phase 2\00", align 1 @EAP_VENDOR_IETF = common local_unnamed_addr global i64 0, align 8 @EAP_TYPE_MSCHAPV2 = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @eap_fast_get_phase2_key], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -1, 1) i32 @eap_fast_get_phase2_key(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2, i64 noundef %3) #0 { %5 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 %6 = tail call i32 @os_memset(ptr noundef %2, i32 noundef 0, i64 noundef %3) #3 %7 = load ptr, ptr %1, align 8, !tbaa !6 %8 = icmp eq ptr %7, null br i1 %8, label %13, label %9 9: ; preds = %4 %10 = getelementptr inbounds i8, ptr %1, i64 8 %11 = load ptr, ptr %10, align 8, !tbaa !11 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %16 13: ; preds = %9, %4 %14 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !12 %15 = tail call i32 @wpa_printf(i32 noundef %14, ptr noundef nonnull @.str) #3 br label %63 16: ; preds = %9 %17 = getelementptr inbounds i8, ptr %7, i64 24 %18 = load ptr, ptr %17, align 8, !tbaa !14 %19 = icmp eq ptr %18, null br i1 %19, label %63, label %20 20: ; preds = %16 %21 = getelementptr inbounds i8, ptr %7, i64 16 %22 = load ptr, ptr %21, align 8, !tbaa !17 %23 = icmp eq ptr %22, null br i1 %23, label %63, label %24 24: ; preds = %20 %25 = tail call i32 %18(ptr noundef %0, ptr noundef nonnull %11) #3 %26 = icmp eq i32 %25, 0 br i1 %26, label %34, label %27 27: ; preds = %24 %28 = load ptr, ptr %1, align 8, !tbaa !6 %29 = getelementptr inbounds i8, ptr %28, i64 16 %30 = load ptr, ptr %29, align 8, !tbaa !17 %31 = load ptr, ptr %10, align 8, !tbaa !11 %32 = call ptr %30(ptr noundef %0, ptr noundef %31, ptr noundef nonnull %5) #3 %33 = icmp eq ptr %32, null br i1 %33, label %34, label %37 34: ; preds = %27, %24 %35 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !12 %36 = call i32 @wpa_printf(i32 noundef %35, ptr noundef nonnull @.str.1) #3 br label %63 37: ; preds = %27 %38 = load i64, ptr %5, align 8, !tbaa !18 %39 = icmp ugt i64 %38, %3 br i1 %39, label %40, label %41 40: ; preds = %37 store i64 %3, ptr %5, align 8, !tbaa !18 br label %41 41: ; preds = %40, %37 %42 = phi i64 [ %3, %40 ], [ %38, %37 ] %43 = icmp eq i64 %42, 32 br i1 %43, label %44, label %59 44: ; preds = %41 %45 = load ptr, ptr %1, align 8, !tbaa !6 %46 = load i64, ptr %45, align 8, !tbaa !19 %47 = load i64, ptr @EAP_VENDOR_IETF, align 8, !tbaa !18 %48 = icmp eq i64 %46, %47 br i1 %48, label %49, label %59 49: ; preds = %44 %50 = getelementptr inbounds i8, ptr %45, i64 8 %51 = load i64, ptr %50, align 8, !tbaa !20 %52 = load i64, ptr @EAP_TYPE_MSCHAPV2, align 8, !tbaa !18 %53 = icmp eq i64 %51, %52 br i1 %53, label %54, label %59 54: ; preds = %49 %55 = getelementptr inbounds i8, ptr %32, i64 64 %56 = call i32 @os_memcpy(ptr noundef %2, ptr noundef nonnull %55, i64 noundef 16) #3 %57 = getelementptr inbounds i8, ptr %2, i64 64 %58 = call i32 @os_memcpy(ptr noundef nonnull %57, ptr noundef nonnull %32, i64 noundef 16) #3 br label %61 59: ; preds = %49, %44, %41 %60 = call i32 @os_memcpy(ptr noundef %2, ptr noundef nonnull %32, i64 noundef %42) #3 br label %61 61: ; preds = %59, %54 %62 = call i32 @os_free(ptr noundef nonnull %32) #3 br label %63 63: ; preds = %16, %20, %61, %34, %13 %64 = phi i32 [ -1, %13 ], [ -1, %34 ], [ 0, %61 ], [ 0, %20 ], [ 0, %16 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 ret i32 %64 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @os_memset(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #2 declare i32 @wpa_printf(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @os_memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @os_free(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"eap_fast_data", !8, i64 0, !8, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 8} !12 = !{!13, !13, i64 0} !13 = !{!"int", !9, i64 0} !14 = !{!15, !8, i64 24} !15 = !{!"TYPE_2__", !16, i64 0, !16, i64 8, !8, i64 16, !8, i64 24} !16 = !{!"long", !9, i64 0} !17 = !{!15, !8, i64 16} !18 = !{!16, !16, i64 0} !19 = !{!15, !16, i64 0} !20 = !{!15, !16, i64 8}
freebsd_contrib_wpa_src_eap_peer_extr_eap_fast.c_eap_fast_get_phase2_key
; ModuleID = 'AnghaBench/linux/lib/zstd/extr_compress.c_ZSTD_BtFindBestMatch_extDict.c' source_filename = "AnghaBench/linux/lib/zstd/extr_compress.c_ZSTD_BtFindBestMatch_extDict.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_5__ = type { i32, ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @ZSTD_BtFindBestMatch_extDict], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i64 @ZSTD_BtFindBestMatch_extDict(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5) #0 { %7 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1 %8 = load ptr, ptr %7, align 8, !tbaa !5 %9 = load i32, ptr %0, align 8, !tbaa !11 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds i32, ptr %8, i64 %10 %12 = icmp ugt ptr %11, %1 br i1 %12, label %16, label %13 13: ; preds = %6 %14 = tail call i32 @ZSTD_updateTree_extDict(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2, i32 noundef %4, i32 noundef %5) #2 %15 = tail call i64 @ZSTD_insertBtAndFindBestMatch(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef 1) #2 br label %16 16: ; preds = %6, %13 %17 = phi i64 [ %15, %13 ], [ 0, %6 ] ret i64 %17 } declare i32 @ZSTD_updateTree_extDict(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @ZSTD_insertBtAndFindBestMatch(ptr noundef, ptr noundef, ptr noundef, 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 = !{!"TYPE_5__", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/lib/zstd/extr_compress.c_ZSTD_BtFindBestMatch_extDict.c' source_filename = "AnghaBench/linux/lib/zstd/extr_compress.c_ZSTD_BtFindBestMatch_extDict.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @ZSTD_BtFindBestMatch_extDict], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i64 @ZSTD_BtFindBestMatch_extDict(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5) #0 { %7 = getelementptr inbounds i8, ptr %0, i64 8 %8 = load ptr, ptr %7, align 8, !tbaa !6 %9 = load i32, ptr %0, align 8, !tbaa !12 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds i32, ptr %8, i64 %10 %12 = icmp ugt ptr %11, %1 br i1 %12, label %16, label %13 13: ; preds = %6 %14 = tail call i32 @ZSTD_updateTree_extDict(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2, i32 noundef %4, i32 noundef %5) #2 %15 = tail call i64 @ZSTD_insertBtAndFindBestMatch(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef 1) #2 br label %16 16: ; preds = %6, %13 %17 = phi i64 [ %15, %13 ], [ 0, %6 ] ret i64 %17 } declare i32 @ZSTD_updateTree_extDict(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @ZSTD_insertBtAndFindBestMatch(ptr noundef, ptr noundef, ptr noundef, 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 = !{!"TYPE_5__", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !8, i64 0}
linux_lib_zstd_extr_compress.c_ZSTD_BtFindBestMatch_extDict
; ModuleID = 'AnghaBench/fastsocket/kernel/mm/extr_slab.c_do_drain.c' source_filename = "AnghaBench/fastsocket/kernel/mm/extr_slab.c_do_drain.c" target datalayout = "e-m:e-p270:32:32-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.array_cache = type { i64, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @do_drain], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @do_drain(ptr noundef %0) #0 { %2 = tail call i32 (...) @numa_node_id() #2 %3 = tail call i32 (...) @check_irq_off() #2 %4 = tail call ptr @cpu_cache_get(ptr noundef %0) #2 %5 = load ptr, ptr %0, align 8, !tbaa !5 %6 = sext i32 %2 to i64 %7 = getelementptr inbounds ptr, ptr %5, i64 %6 %8 = load ptr, ptr %7, align 8, !tbaa !10 %9 = tail call i32 @spin_lock(ptr noundef %8) #2 %10 = getelementptr inbounds %struct.array_cache, ptr %4, i64 0, i32 1 %11 = load i32, ptr %10, align 8, !tbaa !11 %12 = load i64, ptr %4, align 8, !tbaa !15 %13 = tail call i32 @free_block(ptr noundef nonnull %0, i32 noundef %11, i64 noundef %12, i32 noundef %2) #2 %14 = load ptr, ptr %0, align 8, !tbaa !5 %15 = getelementptr inbounds ptr, ptr %14, i64 %6 %16 = load ptr, ptr %15, align 8, !tbaa !10 %17 = tail call i32 @spin_unlock(ptr noundef %16) #2 store i64 0, ptr %4, align 8, !tbaa !15 ret void } declare i32 @numa_node_id(...) local_unnamed_addr #1 declare i32 @check_irq_off(...) local_unnamed_addr #1 declare ptr @cpu_cache_get(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1 declare i32 @free_block(ptr noundef, i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"kmem_cache", !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 8} !12 = !{!"array_cache", !13, i64 0, !14, i64 8} !13 = !{!"long", !8, i64 0} !14 = !{!"int", !8, i64 0} !15 = !{!12, !13, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/mm/extr_slab.c_do_drain.c' source_filename = "AnghaBench/fastsocket/kernel/mm/extr_slab.c_do_drain.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 @do_drain], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @do_drain(ptr noundef %0) #0 { %2 = tail call i32 @numa_node_id() #2 %3 = tail call i32 @check_irq_off() #2 %4 = tail call ptr @cpu_cache_get(ptr noundef %0) #2 %5 = load ptr, ptr %0, align 8, !tbaa !6 %6 = sext i32 %2 to i64 %7 = getelementptr inbounds ptr, ptr %5, i64 %6 %8 = load ptr, ptr %7, align 8, !tbaa !11 %9 = tail call i32 @spin_lock(ptr noundef %8) #2 %10 = getelementptr inbounds i8, ptr %4, i64 8 %11 = load i32, ptr %10, align 8, !tbaa !12 %12 = load i64, ptr %4, align 8, !tbaa !16 %13 = tail call i32 @free_block(ptr noundef nonnull %0, i32 noundef %11, i64 noundef %12, i32 noundef %2) #2 %14 = load ptr, ptr %0, align 8, !tbaa !6 %15 = getelementptr inbounds ptr, ptr %14, i64 %6 %16 = load ptr, ptr %15, align 8, !tbaa !11 %17 = tail call i32 @spin_unlock(ptr noundef %16) #2 store i64 0, ptr %4, align 8, !tbaa !16 ret void } declare i32 @numa_node_id(...) local_unnamed_addr #1 declare i32 @check_irq_off(...) local_unnamed_addr #1 declare ptr @cpu_cache_get(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1 declare i32 @free_block(ptr noundef, i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"kmem_cache", !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 8} !13 = !{!"array_cache", !14, i64 0, !15, i64 8} !14 = !{!"long", !9, i64 0} !15 = !{!"int", !9, i64 0} !16 = !{!13, !14, i64 0}
fastsocket_kernel_mm_extr_slab.c_do_drain
; ModuleID = 'AnghaBench/radare2/libr/asm/p/extr_asm_nios2.c_memory_error_func.c' source_filename = "AnghaBench/radare2/libr/asm/p/extr_asm_nios2.c_memory_error_func.c" target datalayout = "e-m:e-p270:32:32-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 @memory_error_func], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal void @memory_error_func(i32 %0, i32 %1, ptr nocapture readnone %2) #0 { ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/radare2/libr/asm/p/extr_asm_nios2.c_memory_error_func.c' source_filename = "AnghaBench/radare2/libr/asm/p/extr_asm_nios2.c_memory_error_func.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 @memory_error_func], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal void @memory_error_func(i32 %0, i32 %1, ptr nocapture readnone %2) #0 { ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
radare2_libr_asm_p_extr_asm_nios2.c_memory_error_func
; ModuleID = 'AnghaBench/ijkplayer/ijkmedia/ijksdl/gles2/extr_renderer_yuv420p.c_yuv420p_getBufferWidth.c' source_filename = "AnghaBench/ijkplayer/ijkmedia/ijksdl/gles2/extr_renderer_yuv420p.c_yuv420p_getBufferWidth.c" target datalayout = "e-m:e-p270:32:32-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 @yuv420p_getBufferWidth], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable define internal i32 @yuv420p_getBufferWidth(ptr nocapture readnone %0, ptr noundef readonly %1) #0 { %3 = icmp eq ptr %1, null br i1 %3, label %7, label %4 4: ; preds = %2 %5 = load ptr, ptr %1, align 8, !tbaa !5 %6 = load i32, ptr %5, align 4, !tbaa !10 br label %7 7: ; preds = %2, %4 %8 = phi i32 [ %6, %4 ], [ 0, %2 ] ret i32 %8 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_3__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/ijkplayer/ijkmedia/ijksdl/gles2/extr_renderer_yuv420p.c_yuv420p_getBufferWidth.c' source_filename = "AnghaBench/ijkplayer/ijkmedia/ijksdl/gles2/extr_renderer_yuv420p.c_yuv420p_getBufferWidth.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 @yuv420p_getBufferWidth], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) define internal i32 @yuv420p_getBufferWidth(ptr nocapture readnone %0, ptr noundef readonly %1) #0 { %3 = icmp eq ptr %1, null br i1 %3, label %7, label %4 4: ; preds = %2 %5 = load ptr, ptr %1, align 8, !tbaa !6 %6 = load i32, ptr %5, align 4, !tbaa !11 br label %7 7: ; preds = %2, %4 %8 = phi i32 [ %6, %4 ], [ 0, %2 ] ret i32 %8 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_3__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0}
ijkplayer_ijkmedia_ijksdl_gles2_extr_renderer_yuv420p.c_yuv420p_getBufferWidth
; ModuleID = 'AnghaBench/linux/arch/mips/kernel/extr_stacktrace.c_save_context_stack.c' source_filename = "AnghaBench/linux/arch/mips/kernel/extr_stacktrace.c_save_context_stack.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @THREAD_SIZE = dso_local local_unnamed_addr global i64 0, align 8 @raw_show_trace = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @save_context_stack], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @save_context_stack(ptr noundef %0, ptr nocapture readnone %1, ptr nocapture noundef readonly %2, i32 noundef %3) #0 { %5 = load ptr, ptr %2, align 8, !tbaa !5 %6 = getelementptr inbounds i64, ptr %5, i64 29 %7 = load i64, ptr %6, align 8, !tbaa !11 %8 = tail call i32 @save_raw_context_stack(ptr noundef %0, i64 noundef %7, i32 noundef %3) #2 ret void } declare i32 @save_raw_context_stack(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"pt_regs", !7, i64 0, !10, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!10, !10, i64 0}
; ModuleID = 'AnghaBench/linux/arch/mips/kernel/extr_stacktrace.c_save_context_stack.c' source_filename = "AnghaBench/linux/arch/mips/kernel/extr_stacktrace.c_save_context_stack.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @THREAD_SIZE = common local_unnamed_addr global i64 0, align 8 @raw_show_trace = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @save_context_stack], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @save_context_stack(ptr noundef %0, ptr nocapture readnone %1, ptr nocapture noundef readonly %2, i32 noundef %3) #0 { %5 = load ptr, ptr %2, align 8, !tbaa !6 %6 = getelementptr inbounds i8, ptr %5, i64 232 %7 = load i64, ptr %6, align 8, !tbaa !12 %8 = tail call i32 @save_raw_context_stack(ptr noundef %0, i64 noundef %7, i32 noundef %3) #2 ret void } declare i32 @save_raw_context_stack(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"pt_regs", !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 = !{!11, !11, i64 0}
linux_arch_mips_kernel_extr_stacktrace.c_save_context_stack
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/cxgb3/extr_xgmac.c_t3_mac_disable_exact_filters.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/cxgb3/extr_xgmac.c_t3_mac_disable_exact_filters.c" target datalayout = "e-m:e-p270:32:32-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.cmac = type { i32, i32 } @A_XGM_RX_EXACT_MATCH_LOW_1 = dso_local local_unnamed_addr global i32 0, align 4 @EXACT_ADDR_FILTERS = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @t3_mac_disable_exact_filters(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i32, ptr @EXACT_ADDR_FILTERS, align 4, !tbaa !5 %3 = icmp eq i32 %2, 0 br i1 %3, label %20, label %4 4: ; preds = %1 %5 = load i32, ptr @A_XGM_RX_EXACT_MATCH_LOW_1, align 4, !tbaa !5 %6 = load i32, ptr %0, align 4, !tbaa !9 %7 = add i32 %5, %6 %8 = getelementptr inbounds %struct.cmac, ptr %0, i64 0, i32 1 br label %9 9: ; preds = %4, %9 %10 = phi i32 [ 0, %4 ], [ %16, %9 ] %11 = phi i32 [ %7, %4 ], [ %17, %9 ] %12 = load i32, ptr %8, align 4, !tbaa !11 %13 = tail call i32 @t3_read_reg(i32 noundef %12, i32 noundef %11) #2 %14 = load i32, ptr %8, align 4, !tbaa !11 %15 = tail call i32 @t3_write_reg(i32 noundef %14, i32 noundef %11, i32 noundef %13) #2 %16 = add nuw i32 %10, 1 %17 = add i32 %11, 8 %18 = load i32, ptr @EXACT_ADDR_FILTERS, align 4, !tbaa !5 %19 = icmp ult i32 %16, %18 br i1 %19, label %9, label %20, !llvm.loop !12 20: ; preds = %9, %1 %21 = getelementptr inbounds %struct.cmac, ptr %0, i64 0, i32 1 %22 = load i32, ptr %21, align 4, !tbaa !11 %23 = load i32, ptr @A_XGM_RX_EXACT_MATCH_LOW_1, align 4, !tbaa !5 %24 = tail call i32 @t3_read_reg(i32 noundef %22, i32 noundef %23) #2 ret void } declare i32 @t3_read_reg(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @t3_write_reg(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"cmac", !6, i64 0, !6, i64 4} !11 = !{!10, !6, i64 4} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/cxgb3/extr_xgmac.c_t3_mac_disable_exact_filters.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/cxgb3/extr_xgmac.c_t3_mac_disable_exact_filters.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @A_XGM_RX_EXACT_MATCH_LOW_1 = common local_unnamed_addr global i32 0, align 4 @EXACT_ADDR_FILTERS = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @t3_mac_disable_exact_filters(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i32, ptr @EXACT_ADDR_FILTERS, align 4, !tbaa !6 %3 = icmp eq i32 %2, 0 br i1 %3, label %20, label %4 4: ; preds = %1 %5 = load i32, ptr @A_XGM_RX_EXACT_MATCH_LOW_1, align 4, !tbaa !6 %6 = load i32, ptr %0, align 4, !tbaa !10 %7 = add i32 %5, %6 %8 = getelementptr inbounds i8, ptr %0, i64 4 br label %9 9: ; preds = %4, %9 %10 = phi i32 [ 0, %4 ], [ %16, %9 ] %11 = phi i32 [ %7, %4 ], [ %17, %9 ] %12 = load i32, ptr %8, align 4, !tbaa !12 %13 = tail call i32 @t3_read_reg(i32 noundef %12, i32 noundef %11) #2 %14 = load i32, ptr %8, align 4, !tbaa !12 %15 = tail call i32 @t3_write_reg(i32 noundef %14, i32 noundef %11, i32 noundef %13) #2 %16 = add nuw i32 %10, 1 %17 = add i32 %11, 8 %18 = load i32, ptr @EXACT_ADDR_FILTERS, align 4, !tbaa !6 %19 = icmp ult i32 %16, %18 br i1 %19, label %9, label %20, !llvm.loop !13 20: ; preds = %9, %1 %21 = getelementptr inbounds i8, ptr %0, i64 4 %22 = load i32, ptr %21, align 4, !tbaa !12 %23 = load i32, ptr @A_XGM_RX_EXACT_MATCH_LOW_1, align 4, !tbaa !6 %24 = tail call i32 @t3_read_reg(i32 noundef %22, i32 noundef %23) #2 ret void } declare i32 @t3_read_reg(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @t3_write_reg(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"cmac", !7, i64 0, !7, i64 4} !12 = !{!11, !7, i64 4} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"}
fastsocket_kernel_drivers_net_cxgb3_extr_xgmac.c_t3_mac_disable_exact_filters
; ModuleID = 'AnghaBench/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/extr_crypto_scrypt-common.c_escrypt_r.c' source_filename = "AnghaBench/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/extr_crypto_scrypt-common.c_escrypt_r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @crypto_pwhash_scryptsalsa208sha256_STRHASHBYTES = dso_local local_unnamed_addr global i32 0, align 4 @crypto_pwhash_scryptsalsa208sha256_STRHASHBYTES_ENCODED = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local noundef ptr @escrypt_r(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef %4, i64 noundef %5) local_unnamed_addr #0 { %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = load i32, ptr @crypto_pwhash_scryptsalsa208sha256_STRHASHBYTES, align 4, !tbaa !5 %11 = zext i32 %10 to i64 %12 = alloca i64, i64 %11, align 16 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #4 %13 = call ptr @escrypt_parse_setting(ptr noundef %3, ptr noundef nonnull %7, ptr noundef nonnull %8, ptr noundef nonnull %9) #4 %14 = icmp eq ptr %13, null br i1 %14, label %60, label %15 15: ; preds = %6 %16 = load i32, ptr %7, align 4, !tbaa !5 %17 = shl nuw i32 1, %16 %18 = ptrtoint ptr %13 to i64 %19 = ptrtoint ptr %3 to i64 %20 = sub i64 %18, %19 %21 = ashr exact i64 %20, 3 %22 = call i64 @strrchr(ptr noundef nonnull %13, i8 noundef signext 36) #4 %23 = icmp eq i64 %22, 0 br i1 %23, label %27, label %24 24: ; preds = %15 %25 = sub i64 %22, %18 %26 = ashr exact i64 %25, 3 br label %29 27: ; preds = %15 %28 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %13) br label %29 29: ; preds = %27, %24 %30 = phi i64 [ %26, %24 ], [ %28, %27 ] %31 = add i64 %30, %21 %32 = load i64, ptr @crypto_pwhash_scryptsalsa208sha256_STRHASHBYTES_ENCODED, align 8, !tbaa !9 %33 = add i64 %31, 2 %34 = add i64 %33, %32 %35 = icmp ugt i64 %34, %5 %36 = icmp ult i64 %34, %30 %37 = or i1 %35, %36 br i1 %37, label %60, label %38 38: ; preds = %29 %39 = load i32, ptr %8, align 4, !tbaa !5 %40 = load i32, ptr %9, align 4, !tbaa !5 %41 = shl i32 %10, 3 %42 = call i64 @escrypt_kdf_nosse(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef nonnull %13, i64 noundef %30, i32 noundef %17, i32 noundef %39, i32 noundef %40, ptr noundef nonnull %12, i32 noundef %41) #4 %43 = icmp eq i64 %42, 0 br i1 %43, label %44, label %60 44: ; preds = %38 %45 = call i32 @memcpy(ptr noundef %4, ptr noundef %3, i64 noundef %31) #4 %46 = getelementptr inbounds i64, ptr %4, i64 %31 %47 = getelementptr inbounds i64, ptr %46, i64 1 store i64 36, ptr %46, align 8, !tbaa !9 %48 = ptrtoint ptr %47 to i64 %49 = ptrtoint ptr %4 to i64 %50 = sub i64 %48, %49 %51 = ashr exact i64 %50, 3 %52 = sub i64 %5, %51 %53 = call ptr @encode64(ptr noundef nonnull %47, i64 noundef %52, ptr noundef nonnull %12, i32 noundef %41) #4 %54 = call i32 @sodium_memzero(ptr noundef nonnull %12, i32 noundef %41) #4 %55 = icmp ne ptr %53, null %56 = getelementptr inbounds i64, ptr %4, i64 %5 %57 = icmp ult ptr %53, %56 %58 = select i1 %55, i1 %57, i1 false br i1 %58, label %59, label %60 59: ; preds = %44 store i64 0, ptr %53, align 8, !tbaa !9 br label %60 60: ; preds = %44, %38, %29, %6, %59 %61 = phi ptr [ %4, %59 ], [ null, %6 ], [ null, %29 ], [ null, %38 ], [ null, %44 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #4 ret ptr %61 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @escrypt_parse_setting(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @strrchr(ptr noundef, i8 noundef signext) local_unnamed_addr #2 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #3 declare i64 @escrypt_kdf_nosse(ptr noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare ptr @encode64(ptr noundef, i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @sodium_memzero(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 = { 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 #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/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/extr_crypto_scrypt-common.c_escrypt_r.c' source_filename = "AnghaBench/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/extr_crypto_scrypt-common.c_escrypt_r.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @crypto_pwhash_scryptsalsa208sha256_STRHASHBYTES = common local_unnamed_addr global i32 0, align 4 @crypto_pwhash_scryptsalsa208sha256_STRHASHBYTES_ENCODED = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define noundef ptr @escrypt_r(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef %4, i64 noundef %5) local_unnamed_addr #0 { %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = load i32, ptr @crypto_pwhash_scryptsalsa208sha256_STRHASHBYTES, align 4, !tbaa !6 %11 = zext i32 %10 to i64 %12 = alloca i64, i64 %11, align 8 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #4 %13 = call ptr @escrypt_parse_setting(ptr noundef %3, ptr noundef nonnull %7, ptr noundef nonnull %8, ptr noundef nonnull %9) #4 %14 = icmp eq ptr %13, null br i1 %14, label %60, label %15 15: ; preds = %6 %16 = load i32, ptr %7, align 4, !tbaa !6 %17 = shl nuw i32 1, %16 %18 = ptrtoint ptr %13 to i64 %19 = ptrtoint ptr %3 to i64 %20 = sub i64 %18, %19 %21 = ashr exact i64 %20, 3 %22 = call i64 @strrchr(ptr noundef nonnull %13, i8 noundef signext 36) #4 %23 = icmp eq i64 %22, 0 br i1 %23, label %27, label %24 24: ; preds = %15 %25 = sub i64 %22, %18 %26 = ashr exact i64 %25, 3 br label %29 27: ; preds = %15 %28 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %13) #4 br label %29 29: ; preds = %27, %24 %30 = phi i64 [ %26, %24 ], [ %28, %27 ] %31 = add i64 %30, %21 %32 = load i64, ptr @crypto_pwhash_scryptsalsa208sha256_STRHASHBYTES_ENCODED, align 8, !tbaa !10 %33 = add i64 %31, 2 %34 = add i64 %33, %32 %35 = icmp ugt i64 %34, %5 %36 = icmp ult i64 %34, %30 %37 = or i1 %35, %36 br i1 %37, label %60, label %38 38: ; preds = %29 %39 = load i32, ptr %8, align 4, !tbaa !6 %40 = load i32, ptr %9, align 4, !tbaa !6 %41 = shl i32 %10, 3 %42 = call i64 @escrypt_kdf_nosse(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef nonnull %13, i64 noundef %30, i32 noundef %17, i32 noundef %39, i32 noundef %40, ptr noundef nonnull %12, i32 noundef %41) #4 %43 = icmp eq i64 %42, 0 br i1 %43, label %44, label %60 44: ; preds = %38 %45 = call i32 @memcpy(ptr noundef %4, ptr noundef %3, i64 noundef %31) #4 %46 = getelementptr inbounds i64, ptr %4, i64 %31 %47 = getelementptr inbounds i8, ptr %46, i64 8 store i64 36, ptr %46, align 8, !tbaa !10 %48 = ptrtoint ptr %47 to i64 %49 = ptrtoint ptr %4 to i64 %50 = sub i64 %48, %49 %51 = ashr exact i64 %50, 3 %52 = sub i64 %5, %51 %53 = call ptr @encode64(ptr noundef nonnull %47, i64 noundef %52, ptr noundef nonnull %12, i32 noundef %41) #4 %54 = call i32 @sodium_memzero(ptr noundef nonnull %12, i32 noundef %41) #4 %55 = icmp ne ptr %53, null %56 = getelementptr inbounds i64, ptr %4, i64 %5 %57 = icmp ult ptr %53, %56 %58 = select i1 %55, i1 %57, i1 false br i1 %58, label %59, label %60 59: ; preds = %44 store i64 0, ptr %53, align 8, !tbaa !10 br label %60 60: ; preds = %44, %38, %29, %6, %59 %61 = phi ptr [ %4, %59 ], [ null, %6 ], [ null, %29 ], [ null, %38 ], [ null, %44 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #4 ret ptr %61 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @escrypt_parse_setting(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @strrchr(ptr noundef, i8 noundef signext) local_unnamed_addr #2 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #3 declare i64 @escrypt_kdf_nosse(ptr noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare ptr @encode64(ptr noundef, i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @sodium_memzero(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 = { 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 #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}
libsodium_src_libsodium_crypto_pwhash_scryptsalsa208sha256_extr_crypto_scrypt-common.c_escrypt_r
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/isdn/hisax/extr_l3dss1.c_l3dss1_proceed_req.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/isdn/hisax/extr_l3dss1.c_l3dss1_proceed_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" @MT_CALL_PROCEEDING = dso_local local_unnamed_addr global i32 0, align 4 @CC_PROCEED_SEND = dso_local local_unnamed_addr global i32 0, align 4 @INDICATION = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @l3dss1_proceed_req], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @l3dss1_proceed_req(ptr noundef %0, i32 %1, ptr nocapture readnone %2) #0 { %4 = tail call i32 @newl3state(ptr noundef %0, i32 noundef 9) #2 %5 = load i32, ptr @MT_CALL_PROCEEDING, align 4, !tbaa !5 %6 = tail call i32 @l3dss1_message(ptr noundef %0, i32 noundef %5) #2 %7 = load ptr, ptr %0, align 8, !tbaa !9 %8 = load ptr, ptr %7, align 8, !tbaa !12 %9 = load i32, ptr @CC_PROCEED_SEND, align 4, !tbaa !5 %10 = load i32, ptr @INDICATION, align 4, !tbaa !5 %11 = or i32 %10, %9 %12 = tail call i32 %8(ptr noundef nonnull %7, i32 noundef %11, ptr noundef nonnull %0) #2 ret void } declare i32 @newl3state(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @l3dss1_message(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"l3_process", !11, i64 0} !11 = !{!"any pointer", !7, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"TYPE_4__", !14, i64 0} !14 = !{!"TYPE_3__", !11, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/isdn/hisax/extr_l3dss1.c_l3dss1_proceed_req.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/isdn/hisax/extr_l3dss1.c_l3dss1_proceed_req.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MT_CALL_PROCEEDING = common local_unnamed_addr global i32 0, align 4 @CC_PROCEED_SEND = common local_unnamed_addr global i32 0, align 4 @INDICATION = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @l3dss1_proceed_req], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @l3dss1_proceed_req(ptr noundef %0, i32 %1, ptr nocapture readnone %2) #0 { %4 = tail call i32 @newl3state(ptr noundef %0, i32 noundef 9) #2 %5 = load i32, ptr @MT_CALL_PROCEEDING, align 4, !tbaa !6 %6 = tail call i32 @l3dss1_message(ptr noundef %0, i32 noundef %5) #2 %7 = load ptr, ptr %0, align 8, !tbaa !10 %8 = load ptr, ptr %7, align 8, !tbaa !13 %9 = load i32, ptr @CC_PROCEED_SEND, align 4, !tbaa !6 %10 = load i32, ptr @INDICATION, align 4, !tbaa !6 %11 = or i32 %10, %9 %12 = tail call i32 %8(ptr noundef nonnull %7, i32 noundef %11, ptr noundef nonnull %0) #2 ret void } declare i32 @newl3state(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @l3dss1_message(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"l3_process", !12, i64 0} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !12, i64 0} !14 = !{!"TYPE_4__", !15, i64 0} !15 = !{!"TYPE_3__", !12, i64 0}
fastsocket_kernel_drivers_isdn_hisax_extr_l3dss1.c_l3dss1_proceed_req
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/parport/extr_parport_amiga.c_control_amiga_to_pc.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/parport/extr_parport_amiga.c_control_amiga_to_pc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @PARPORT_CONTROL_SELECT = dso_local local_unnamed_addr global i8 0, align 1 @PARPORT_CONTROL_AUTOFD = dso_local local_unnamed_addr global i8 0, align 1 @PARPORT_CONTROL_STROBE = dso_local local_unnamed_addr global i8 0, align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @control_amiga_to_pc], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define internal zeroext i8 @control_amiga_to_pc(i8 zeroext %0) #0 { %2 = load i8, ptr @PARPORT_CONTROL_SELECT, align 1, !tbaa !5 %3 = load i8, ptr @PARPORT_CONTROL_AUTOFD, align 1, !tbaa !5 %4 = or i8 %3, %2 %5 = load i8, ptr @PARPORT_CONTROL_STROBE, align 1, !tbaa !5 %6 = or i8 %4, %5 ret i8 %6 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/parport/extr_parport_amiga.c_control_amiga_to_pc.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/parport/extr_parport_amiga.c_control_amiga_to_pc.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PARPORT_CONTROL_SELECT = common local_unnamed_addr global i8 0, align 1 @PARPORT_CONTROL_AUTOFD = common local_unnamed_addr global i8 0, align 1 @PARPORT_CONTROL_STROBE = common local_unnamed_addr global i8 0, align 1 @llvm.used = appending global [1 x ptr] [ptr @control_amiga_to_pc], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define internal zeroext i8 @control_amiga_to_pc(i8 zeroext %0) #0 { %2 = load i8, ptr @PARPORT_CONTROL_SELECT, align 1, !tbaa !6 %3 = load i8, ptr @PARPORT_CONTROL_AUTOFD, align 1, !tbaa !6 %4 = or i8 %3, %2 %5 = load i8, ptr @PARPORT_CONTROL_STROBE, align 1, !tbaa !6 %6 = or i8 %4, %5 ret i8 %6 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_drivers_parport_extr_parport_amiga.c_control_amiga_to_pc
; ModuleID = 'AnghaBench/linux/fs/cifs/extr_inode.c_cifs_setattr.c' source_filename = "AnghaBench/linux/fs/cifs/extr_inode.c_cifs_setattr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local i32 @cifs_setattr(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr %0, align 4, !tbaa !5 %4 = tail call ptr @CIFS_SB(i32 noundef %3) #2 %5 = tail call ptr @cifs_sb_master_tcon(ptr noundef %4) #2 %6 = load i64, ptr %5, align 8, !tbaa !10 %7 = icmp eq i64 %6, 0 br i1 %7, label %10, label %8 8: ; preds = %2 %9 = tail call i32 @cifs_setattr_unix(ptr noundef nonnull %0, ptr noundef %1) #2 br label %12 10: ; preds = %2 %11 = tail call i32 @cifs_setattr_nounix(ptr noundef nonnull %0, ptr noundef %1) #2 br label %12 12: ; preds = %10, %8 %13 = phi i32 [ %9, %8 ], [ %11, %10 ] ret i32 %13 } declare ptr @CIFS_SB(i32 noundef) local_unnamed_addr #1 declare ptr @cifs_sb_master_tcon(ptr noundef) local_unnamed_addr #1 declare i32 @cifs_setattr_unix(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @cifs_setattr_nounix(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"dentry", !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 = !{!"cifs_tcon", !12, i64 0} !12 = !{!"long", !8, i64 0}
; ModuleID = 'AnghaBench/linux/fs/cifs/extr_inode.c_cifs_setattr.c' source_filename = "AnghaBench/linux/fs/cifs/extr_inode.c_cifs_setattr.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 @cifs_setattr(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr %0, align 4, !tbaa !6 %4 = tail call ptr @CIFS_SB(i32 noundef %3) #2 %5 = tail call ptr @cifs_sb_master_tcon(ptr noundef %4) #2 %6 = load i64, ptr %5, align 8, !tbaa !11 %7 = icmp eq i64 %6, 0 br i1 %7, label %10, label %8 8: ; preds = %2 %9 = tail call i32 @cifs_setattr_unix(ptr noundef nonnull %0, ptr noundef %1) #2 br label %12 10: ; preds = %2 %11 = tail call i32 @cifs_setattr_nounix(ptr noundef nonnull %0, ptr noundef %1) #2 br label %12 12: ; preds = %10, %8 %13 = phi i32 [ %9, %8 ], [ %11, %10 ] ret i32 %13 } declare ptr @CIFS_SB(i32 noundef) local_unnamed_addr #1 declare ptr @cifs_sb_master_tcon(ptr noundef) local_unnamed_addr #1 declare i32 @cifs_setattr_unix(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @cifs_setattr_nounix(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"dentry", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 0} !12 = !{!"cifs_tcon", !13, i64 0} !13 = !{!"long", !9, i64 0}
linux_fs_cifs_extr_inode.c_cifs_setattr
; ModuleID = 'AnghaBench/linux/drivers/md/persistent-data/extr_dm-space-map-common.c_sm_lookup_bitmap.c' source_filename = "AnghaBench/linux/drivers/md/persistent-data/extr_dm-space-map-common.c_sm_lookup_bitmap.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ENTRIES_SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @ENTRIES_PER_WORD = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @sm_lookup_bitmap], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @sm_lookup_bitmap(ptr noundef %0, i32 noundef %1) #0 { %3 = load i32, ptr @ENTRIES_SHIFT, align 4, !tbaa !5 %4 = lshr i32 %1, %3 %5 = zext i32 %4 to i64 %6 = getelementptr inbounds i32, ptr %0, i64 %5 %7 = load i32, ptr @ENTRIES_PER_WORD, align 4, !tbaa !5 %8 = add i32 %7, 2147483647 %9 = and i32 %8, %1 %10 = shl i32 %9, 1 %11 = tail call i32 @test_bit_le(i32 noundef %10, ptr noundef %6) #2 %12 = icmp eq i32 %11, 0 %13 = or disjoint i32 %10, 1 %14 = tail call i32 @test_bit_le(i32 noundef %13, ptr noundef %6) #2 %15 = icmp ne i32 %14, 0 %16 = zext i1 %15 to i32 %17 = select i1 %12, i32 0, i32 2 %18 = or disjoint i32 %17, %16 ret i32 %18 } declare i32 @test_bit_le(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/md/persistent-data/extr_dm-space-map-common.c_sm_lookup_bitmap.c' source_filename = "AnghaBench/linux/drivers/md/persistent-data/extr_dm-space-map-common.c_sm_lookup_bitmap.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ENTRIES_SHIFT = common local_unnamed_addr global i32 0, align 4 @ENTRIES_PER_WORD = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @sm_lookup_bitmap], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 4) i32 @sm_lookup_bitmap(ptr noundef %0, i32 noundef %1) #0 { %3 = load i32, ptr @ENTRIES_SHIFT, align 4, !tbaa !6 %4 = lshr i32 %1, %3 %5 = zext i32 %4 to i64 %6 = getelementptr inbounds i32, ptr %0, i64 %5 %7 = load i32, ptr @ENTRIES_PER_WORD, align 4, !tbaa !6 %8 = add i32 %7, 2147483647 %9 = and i32 %8, %1 %10 = shl i32 %9, 1 %11 = tail call i32 @test_bit_le(i32 noundef %10, ptr noundef %6) #2 %12 = icmp eq i32 %11, 0 %13 = or disjoint i32 %10, 1 %14 = tail call i32 @test_bit_le(i32 noundef %13, ptr noundef %6) #2 %15 = icmp ne i32 %14, 0 %16 = zext i1 %15 to i32 %17 = select i1 %12, i32 0, i32 2 %18 = or disjoint i32 %17, %16 ret i32 %18 } declare i32 @test_bit_le(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"}
linux_drivers_md_persistent-data_extr_dm-space-map-common.c_sm_lookup_bitmap
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/evp/extr_evp_lib.c_EVP_MD_CTX_pkey_ctx.c' source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/evp/extr_evp_lib.c_EVP_MD_CTX_pkey_ctx.c" target datalayout = "e-m:e-p270:32:32-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 @EVP_MD_CTX_pkey_ctx(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 ret ptr %2 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_3__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/evp/extr_evp_lib.c_EVP_MD_CTX_pkey_ctx.c' source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/evp/extr_evp_lib.c_EVP_MD_CTX_pkey_ctx.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 @EVP_MD_CTX_pkey_ctx(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 ret ptr %2 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_3__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
freebsd_crypto_openssl_crypto_evp_extr_evp_lib.c_EVP_MD_CTX_pkey_ctx
; ModuleID = 'AnghaBench/linux/drivers/char/mwave/extr_smapi.c_smapi_set_DSP_power_state.c' source_filename = "AnghaBench/linux/drivers/char/mwave/extr_smapi.c_smapi_set_DSP_power_state.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @EIO = dso_local local_unnamed_addr global i32 0, align 4 @TRACE_SMAPI = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [47 x i8] c"smapi::smapi_set_DSP_power_state entry bOn %x\0A\00", align 1 @.str.1 = private unnamed_addr constant [46 x i8] c"smapi::smapi_set_DSP_power_state exit bRC %x\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @smapi_set_DSP_power_state(i32 noundef %0) local_unnamed_addr #0 { %2 = alloca i16, align 2 %3 = alloca i16, align 2 %4 = alloca i16, align 2 %5 = alloca i16, align 2 %6 = alloca i16, align 2 %7 = alloca i16, align 2 call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %2) #3 call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %6) #3 call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %7) #3 %8 = load i32, ptr @TRACE_SMAPI, align 4, !tbaa !5 %9 = tail call i32 @PRINTK_2(i32 noundef %8, ptr noundef nonnull @.str, i32 noundef %0) #3 %10 = icmp ne i32 %0, 0 %11 = zext i1 %10 to i16 %12 = call i32 @smapi_request(i32 noundef 18689, i32 noundef 0, i32 noundef 0, i16 noundef zeroext %11, ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %6, ptr noundef nonnull %7) #3 %13 = load i32, ptr @TRACE_SMAPI, align 4, !tbaa !5 %14 = call i32 @PRINTK_2(i32 noundef %13, ptr noundef nonnull @.str.1, i32 noundef %12) #3 call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %2) #3 ret i32 %12 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @PRINTK_2(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @smapi_request(i32 noundef, i32 noundef, i32 noundef, i16 noundef zeroext, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/char/mwave/extr_smapi.c_smapi_set_DSP_power_state.c' source_filename = "AnghaBench/linux/drivers/char/mwave/extr_smapi.c_smapi_set_DSP_power_state.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EIO = common local_unnamed_addr global i32 0, align 4 @TRACE_SMAPI = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [47 x i8] c"smapi::smapi_set_DSP_power_state entry bOn %x\0A\00", align 1 @.str.1 = private unnamed_addr constant [46 x i8] c"smapi::smapi_set_DSP_power_state exit bRC %x\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define noundef i32 @smapi_set_DSP_power_state(i32 noundef %0) local_unnamed_addr #0 { %2 = alloca i16, align 2 %3 = alloca i16, align 2 %4 = alloca i16, align 2 %5 = alloca i16, align 2 %6 = alloca i16, align 2 %7 = alloca i16, align 2 call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %2) #3 call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %6) #3 call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %7) #3 %8 = load i32, ptr @TRACE_SMAPI, align 4, !tbaa !6 %9 = tail call i32 @PRINTK_2(i32 noundef %8, ptr noundef nonnull @.str, i32 noundef %0) #3 %10 = icmp ne i32 %0, 0 %11 = zext i1 %10 to i16 %12 = call i32 @smapi_request(i32 noundef 18689, i32 noundef 0, i32 noundef 0, i16 noundef zeroext %11, ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %6, ptr noundef nonnull %7) #3 %13 = load i32, ptr @TRACE_SMAPI, align 4, !tbaa !6 %14 = call i32 @PRINTK_2(i32 noundef %13, ptr noundef nonnull @.str.1, i32 noundef %12) #3 call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %2) #3 ret i32 %12 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @PRINTK_2(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @smapi_request(i32 noundef, i32 noundef, i32 noundef, i16 noundef zeroext, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_char_mwave_extr_smapi.c_smapi_set_DSP_power_state
; ModuleID = 'AnghaBench/linux/drivers/irqchip/extr_irq-gic-v3-its.c_its_encode_phys_id.c' source_filename = "AnghaBench/linux/drivers/irqchip/extr_irq-gic-v3-its.c_its_encode_phys_id.c" target datalayout = "e-m:e-p270:32:32-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 @its_encode_phys_id], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @its_encode_phys_id(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = getelementptr inbounds i32, ptr %3, i64 1 %5 = tail call i32 @its_mask_encode(ptr noundef nonnull %4, i32 noundef %1, i32 noundef 63, i32 noundef 32) #2 ret void } declare i32 @its_mask_encode(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, !7, i64 0} !6 = !{!"its_cmd_block", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/irqchip/extr_irq-gic-v3-its.c_its_encode_phys_id.c' source_filename = "AnghaBench/linux/drivers/irqchip/extr_irq-gic-v3-its.c_its_encode_phys_id.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 @its_encode_phys_id], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @its_encode_phys_id(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = getelementptr inbounds i8, ptr %3, i64 4 %5 = tail call i32 @its_mask_encode(ptr noundef nonnull %4, i32 noundef %1, i32 noundef 63, i32 noundef 32) #2 ret void } declare i32 @its_mask_encode(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, !8, i64 0} !7 = !{!"its_cmd_block", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_drivers_irqchip_extr_irq-gic-v3-its.c_its_encode_phys_id
; ModuleID = 'AnghaBench/linux/kernel/sched/extr_wait.c_do_wait_intr_irq.c' source_filename = "AnghaBench/linux/kernel/sched/extr_wait.c_do_wait_intr_irq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @TASK_INTERRUPTIBLE = dso_local local_unnamed_addr global i32 0, align 4 @current = dso_local local_unnamed_addr global i32 0, align 4 @ERESTARTSYS = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @do_wait_intr_irq(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @list_empty(ptr noundef %1) #2 %4 = tail call i64 @likely(i32 noundef %3) #2 %5 = icmp eq i64 %4, 0 br i1 %5, label %8, label %6 6: ; preds = %2 %7 = tail call i32 @__add_wait_queue_entry_tail(ptr noundef %0, ptr noundef %1) #2 br label %8 8: ; preds = %6, %2 %9 = load i32, ptr @TASK_INTERRUPTIBLE, align 4, !tbaa !5 %10 = tail call i32 @set_current_state(i32 noundef %9) #2 %11 = load i32, ptr @current, align 4, !tbaa !5 %12 = tail call i64 @signal_pending(i32 noundef %11) #2 %13 = icmp eq i64 %12, 0 br i1 %13, label %17, label %14 14: ; preds = %8 %15 = load i32, ptr @ERESTARTSYS, align 4, !tbaa !5 %16 = sub nsw i32 0, %15 br label %21 17: ; preds = %8 %18 = tail call i32 @spin_unlock_irq(ptr noundef %0) #2 %19 = tail call i32 (...) @schedule() #2 %20 = tail call i32 @spin_lock_irq(ptr noundef %0) #2 br label %21 21: ; preds = %17, %14 %22 = phi i32 [ %16, %14 ], [ 0, %17 ] ret i32 %22 } declare i64 @likely(i32 noundef) local_unnamed_addr #1 declare i32 @list_empty(ptr noundef) local_unnamed_addr #1 declare i32 @__add_wait_queue_entry_tail(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @set_current_state(i32 noundef) local_unnamed_addr #1 declare i64 @signal_pending(i32 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irq(ptr noundef) local_unnamed_addr #1 declare i32 @schedule(...) local_unnamed_addr #1 declare i32 @spin_lock_irq(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/kernel/sched/extr_wait.c_do_wait_intr_irq.c' source_filename = "AnghaBench/linux/kernel/sched/extr_wait.c_do_wait_intr_irq.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @TASK_INTERRUPTIBLE = common local_unnamed_addr global i32 0, align 4 @current = common local_unnamed_addr global i32 0, align 4 @ERESTARTSYS = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 -2147483647, -2147483648) i32 @do_wait_intr_irq(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @list_empty(ptr noundef %1) #2 %4 = tail call i64 @likely(i32 noundef %3) #2 %5 = icmp eq i64 %4, 0 br i1 %5, label %8, label %6 6: ; preds = %2 %7 = tail call i32 @__add_wait_queue_entry_tail(ptr noundef %0, ptr noundef %1) #2 br label %8 8: ; preds = %6, %2 %9 = load i32, ptr @TASK_INTERRUPTIBLE, align 4, !tbaa !6 %10 = tail call i32 @set_current_state(i32 noundef %9) #2 %11 = load i32, ptr @current, align 4, !tbaa !6 %12 = tail call i64 @signal_pending(i32 noundef %11) #2 %13 = icmp eq i64 %12, 0 br i1 %13, label %17, label %14 14: ; preds = %8 %15 = load i32, ptr @ERESTARTSYS, align 4, !tbaa !6 %16 = sub nsw i32 0, %15 br label %21 17: ; preds = %8 %18 = tail call i32 @spin_unlock_irq(ptr noundef %0) #2 %19 = tail call i32 @schedule() #2 %20 = tail call i32 @spin_lock_irq(ptr noundef %0) #2 br label %21 21: ; preds = %17, %14 %22 = phi i32 [ %16, %14 ], [ 0, %17 ] ret i32 %22 } declare i64 @likely(i32 noundef) local_unnamed_addr #1 declare i32 @list_empty(ptr noundef) local_unnamed_addr #1 declare i32 @__add_wait_queue_entry_tail(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @set_current_state(i32 noundef) local_unnamed_addr #1 declare i64 @signal_pending(i32 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irq(ptr noundef) local_unnamed_addr #1 declare i32 @schedule(...) local_unnamed_addr #1 declare i32 @spin_lock_irq(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_kernel_sched_extr_wait.c_do_wait_intr_irq
; ModuleID = 'AnghaBench/freebsd/lib/libusb/extr_libusb20.c_libusb20_be_get_dev_quirk.c' source_filename = "AnghaBench/freebsd/lib/libusb/extr_libusb20.c_libusb20_be_get_dev_quirk.c" target datalayout = "e-m:e-p270:32:32-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 @libusb20_be_get_dev_quirk(ptr noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = load ptr, ptr %0, align 8, !tbaa !5 %5 = load ptr, ptr %4, align 8, !tbaa !10 %6 = tail call i32 %5(ptr noundef nonnull %0, i32 noundef %1, ptr noundef %2) #1 ret i32 %6 } attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"libusb20_backend", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_2__", !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/lib/libusb/extr_libusb20.c_libusb20_be_get_dev_quirk.c' source_filename = "AnghaBench/freebsd/lib/libusb/extr_libusb20.c_libusb20_be_get_dev_quirk.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 @libusb20_be_get_dev_quirk(ptr noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = load ptr, ptr %0, align 8, !tbaa !6 %5 = load ptr, ptr %4, align 8, !tbaa !11 %6 = tail call i32 %5(ptr noundef nonnull %0, i32 noundef %1, ptr noundef %2) #1 ret i32 %6 } attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"libusb20_backend", !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}
freebsd_lib_libusb_extr_libusb20.c_libusb20_be_get_dev_quirk
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/core/subdev/devinit/extr_nv10.c_nv10_devinit_meminit.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/core/subdev/devinit/extr_nv10.c_nv10_devinit_meminit.c" target datalayout = "e-m:e-p270:32:32-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 } @__const.nv10_devinit_meminit.mem_width = private unnamed_addr constant [3 x i32] [i32 16, i32 0, i32 32], align 4 @.str = private unnamed_addr constant [18 x i8] c"failed to map fb\0A\00", align 1 @NV10_PFB_REFCTRL = dso_local local_unnamed_addr global i32 0, align 4 @NV10_PFB_REFCTRL_VALID_1 = dso_local local_unnamed_addr global i32 0, align 4 @NV04_PFB_CFG0 = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @nv10_devinit_meminit], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @nv10_devinit_meminit(ptr noundef %0) #0 { %2 = tail call ptr @nv_device(ptr noundef %0) #2 %3 = load i32, ptr %2, align 4, !tbaa !5 %4 = tail call ptr @nv_device(ptr noundef %0) #2 %5 = getelementptr inbounds %struct.TYPE_2__, ptr %4, i64 0, i32 1 %6 = load i32, ptr %5, align 4, !tbaa !10 %7 = tail call ptr @fbmem_init(i32 noundef %6) #2 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %11 9: ; preds = %1 %10 = tail call i32 @nv_error(ptr noundef %0, ptr noundef nonnull @.str) #2 br label %110 11: ; preds = %1 %12 = icmp sgt i32 %3, 22 %13 = select i1 %12, i64 3, i64 2 %14 = load i32, ptr @NV10_PFB_REFCTRL, align 4, !tbaa !11 %15 = load i32, ptr @NV10_PFB_REFCTRL_VALID_1, align 4, !tbaa !11 %16 = tail call i32 @nv_wr32(ptr noundef %0, i32 noundef %14, i32 noundef %15) #2 br label %17 17: ; preds = %49, %11 %18 = phi i64 [ 0, %11 ], [ %58, %49 ] %19 = load i32, ptr @NV04_PFB_CFG0, align 4, !tbaa !11 %20 = getelementptr inbounds [3 x i32], ptr @__const.nv10_devinit_meminit.mem_width, i64 0, i64 %18 %21 = load i32, ptr %20, align 4, !tbaa !11 %22 = tail call i32 @nv_mask(ptr noundef %0, i32 noundef %19, i32 noundef 48, i32 noundef %21) #2 %23 = tail call i32 @fbmem_poke(ptr noundef nonnull %7, i32 noundef 28, i32 noundef 0) #2 %24 = tail call i32 @fbmem_poke(ptr noundef nonnull %7, i32 noundef 28, i32 noundef 0) #2 %25 = tail call i32 @fbmem_poke(ptr noundef nonnull %7, i32 noundef 28, i32 noundef 0) #2 %26 = tail call i32 @fbmem_poke(ptr noundef nonnull %7, i32 noundef 28, i32 noundef 0) #2 %27 = tail call i32 @fbmem_poke(ptr noundef nonnull %7, i32 noundef 28, i32 noundef -559038737) #2 %28 = tail call i32 @fbmem_poke(ptr noundef nonnull %7, i32 noundef 60, i32 noundef 0) #2 %29 = tail call i32 @fbmem_peek(ptr noundef nonnull %7, i32 noundef 28) #2 %30 = icmp eq i32 %29, -559038737 br i1 %30, label %61, label %31 31: ; preds = %17 %32 = tail call i32 @fbmem_poke(ptr noundef nonnull %7, i32 noundef 28, i32 noundef 0) #2 %33 = tail call i32 @fbmem_poke(ptr noundef nonnull %7, i32 noundef 28, i32 noundef 0) #2 %34 = tail call i32 @fbmem_poke(ptr noundef nonnull %7, i32 noundef 28, i32 noundef 0) #2 %35 = tail call i32 @fbmem_poke(ptr noundef nonnull %7, i32 noundef 28, i32 noundef 0) #2 %36 = tail call i32 @fbmem_poke(ptr noundef nonnull %7, i32 noundef 28, i32 noundef -559038737) #2 %37 = tail call i32 @fbmem_poke(ptr noundef nonnull %7, i32 noundef 60, i32 noundef 0) #2 %38 = tail call i32 @fbmem_peek(ptr noundef nonnull %7, i32 noundef 28) #2 %39 = icmp eq i32 %38, -559038737 br i1 %39, label %61, label %40 40: ; preds = %31 %41 = tail call i32 @fbmem_poke(ptr noundef nonnull %7, i32 noundef 28, i32 noundef 0) #2 %42 = tail call i32 @fbmem_poke(ptr noundef nonnull %7, i32 noundef 28, i32 noundef 0) #2 %43 = tail call i32 @fbmem_poke(ptr noundef nonnull %7, i32 noundef 28, i32 noundef 0) #2 %44 = tail call i32 @fbmem_poke(ptr noundef nonnull %7, i32 noundef 28, i32 noundef 0) #2 %45 = tail call i32 @fbmem_poke(ptr noundef nonnull %7, i32 noundef 28, i32 noundef -559038737) #2 %46 = tail call i32 @fbmem_poke(ptr noundef nonnull %7, i32 noundef 60, i32 noundef 0) #2 %47 = tail call i32 @fbmem_peek(ptr noundef nonnull %7, i32 noundef 28) #2 %48 = icmp eq i32 %47, -559038737 br i1 %48, label %61, label %49 49: ; preds = %40 %50 = tail call i32 @fbmem_poke(ptr noundef nonnull %7, i32 noundef 28, i32 noundef 0) #2 %51 = tail call i32 @fbmem_poke(ptr noundef nonnull %7, i32 noundef 28, i32 noundef 0) #2 %52 = tail call i32 @fbmem_poke(ptr noundef nonnull %7, i32 noundef 28, i32 noundef 0) #2 %53 = tail call i32 @fbmem_poke(ptr noundef nonnull %7, i32 noundef 28, i32 noundef 0) #2 %54 = tail call i32 @fbmem_poke(ptr noundef nonnull %7, i32 noundef 28, i32 noundef -559038737) #2 %55 = tail call i32 @fbmem_poke(ptr noundef nonnull %7, i32 noundef 60, i32 noundef 0) #2 %56 = tail call i32 @fbmem_peek(ptr noundef nonnull %7, i32 noundef 28) #2 %57 = icmp eq i32 %56, -559038737 %58 = add nuw nsw i64 %18, 1 %59 = icmp eq i64 %58, %13 %60 = select i1 %57, i1 true, i1 %59 br i1 %60, label %61, label %17, !llvm.loop !12 61: ; preds = %17, %31, %40, %49 %62 = tail call i32 @nv_rd32(ptr noundef %0, i32 noundef 1049100) #2 %63 = add nsw i32 %62, -1048576 %64 = tail call i32 @fbmem_poke(ptr noundef nonnull %7, i32 noundef %63, i32 noundef -1118077474) #2 %65 = tail call i32 @fbmem_poke(ptr noundef nonnull %7, i32 noundef 0, i32 noundef 0) #2 %66 = tail call i32 @fbmem_peek(ptr noundef nonnull %7, i32 noundef 0) #2 %67 = tail call i32 @fbmem_peek(ptr noundef nonnull %7, i32 noundef 0) #2 %68 = tail call i32 @fbmem_peek(ptr noundef nonnull %7, i32 noundef 0) #2 %69 = tail call i32 @fbmem_peek(ptr noundef nonnull %7, i32 noundef 0) #2 %70 = tail call i32 @fbmem_peek(ptr noundef nonnull %7, i32 noundef %63) #2 %71 = icmp eq i32 %70, -1118077474 br i1 %71, label %108, label %72 72: ; preds = %61 %73 = tail call i32 @nv_rd32(ptr noundef %0, i32 noundef 1049100) #2 %74 = add nsw i32 %73, -1048576 %75 = tail call i32 @fbmem_poke(ptr noundef nonnull %7, i32 noundef %74, i32 noundef -1118077474) #2 %76 = tail call i32 @fbmem_poke(ptr noundef nonnull %7, i32 noundef 0, i32 noundef 0) #2 %77 = tail call i32 @fbmem_peek(ptr noundef nonnull %7, i32 noundef 0) #2 %78 = tail call i32 @fbmem_peek(ptr noundef nonnull %7, i32 noundef 0) #2 %79 = tail call i32 @fbmem_peek(ptr noundef nonnull %7, i32 noundef 0) #2 %80 = tail call i32 @fbmem_peek(ptr noundef nonnull %7, i32 noundef 0) #2 %81 = tail call i32 @fbmem_peek(ptr noundef nonnull %7, i32 noundef %74) #2 %82 = icmp eq i32 %81, -1118077474 br i1 %82, label %108, label %83 83: ; preds = %72 %84 = tail call i32 @nv_rd32(ptr noundef %0, i32 noundef 1049100) #2 %85 = add nsw i32 %84, -1048576 %86 = tail call i32 @fbmem_poke(ptr noundef nonnull %7, i32 noundef %85, i32 noundef -1118077474) #2 %87 = tail call i32 @fbmem_poke(ptr noundef nonnull %7, i32 noundef 0, i32 noundef 0) #2 %88 = tail call i32 @fbmem_peek(ptr noundef nonnull %7, i32 noundef 0) #2 %89 = tail call i32 @fbmem_peek(ptr noundef nonnull %7, i32 noundef 0) #2 %90 = tail call i32 @fbmem_peek(ptr noundef nonnull %7, i32 noundef 0) #2 %91 = tail call i32 @fbmem_peek(ptr noundef nonnull %7, i32 noundef 0) #2 %92 = tail call i32 @fbmem_peek(ptr noundef nonnull %7, i32 noundef %85) #2 %93 = icmp eq i32 %92, -1118077474 br i1 %93, label %108, label %94 94: ; preds = %83 %95 = tail call i32 @nv_rd32(ptr noundef %0, i32 noundef 1049100) #2 %96 = add nsw i32 %95, -1048576 %97 = tail call i32 @fbmem_poke(ptr noundef nonnull %7, i32 noundef %96, i32 noundef -1118077474) #2 %98 = tail call i32 @fbmem_poke(ptr noundef nonnull %7, i32 noundef 0, i32 noundef 0) #2 %99 = tail call i32 @fbmem_peek(ptr noundef nonnull %7, i32 noundef 0) #2 %100 = tail call i32 @fbmem_peek(ptr noundef nonnull %7, i32 noundef 0) #2 %101 = tail call i32 @fbmem_peek(ptr noundef nonnull %7, i32 noundef 0) #2 %102 = tail call i32 @fbmem_peek(ptr noundef nonnull %7, i32 noundef 0) #2 %103 = tail call i32 @fbmem_peek(ptr noundef nonnull %7, i32 noundef %96) #2 %104 = icmp eq i32 %103, -1118077474 br i1 %104, label %108, label %105 105: ; preds = %94 %106 = load i32, ptr @NV04_PFB_CFG0, align 4, !tbaa !11 %107 = tail call i32 @nv_mask(ptr noundef %0, i32 noundef %106, i32 noundef 4096, i32 noundef 0) #2 br label %108 108: ; preds = %61, %72, %83, %94, %105 %109 = tail call i32 @fbmem_fini(ptr noundef nonnull %7) #2 br label %110 110: ; preds = %108, %9 ret void } declare ptr @nv_device(ptr noundef) local_unnamed_addr #1 declare ptr @fbmem_init(i32 noundef) local_unnamed_addr #1 declare i32 @nv_error(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @nv_wr32(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @nv_mask(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @fbmem_poke(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @fbmem_peek(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @nv_rd32(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @fbmem_fini(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_2__", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 4} !11 = !{!7, !7, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/core/subdev/devinit/extr_nv10.c_nv10_devinit_meminit.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/core/subdev/devinit/extr_nv10.c_nv10_devinit_meminit.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @__const.nv10_devinit_meminit.mem_width = private unnamed_addr constant [3 x i32] [i32 16, i32 0, i32 32], align 4 @.str = private unnamed_addr constant [18 x i8] c"failed to map fb\0A\00", align 1 @NV10_PFB_REFCTRL = common local_unnamed_addr global i32 0, align 4 @NV10_PFB_REFCTRL_VALID_1 = common local_unnamed_addr global i32 0, align 4 @NV04_PFB_CFG0 = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @nv10_devinit_meminit], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @nv10_devinit_meminit(ptr noundef %0) #0 { %2 = tail call ptr @nv_device(ptr noundef %0) #2 %3 = load i32, ptr %2, align 4, !tbaa !6 %4 = tail call ptr @nv_device(ptr noundef %0) #2 %5 = getelementptr inbounds i8, ptr %4, i64 4 %6 = load i32, ptr %5, align 4, !tbaa !11 %7 = tail call ptr @fbmem_init(i32 noundef %6) #2 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %11 9: ; preds = %1 %10 = tail call i32 @nv_error(ptr noundef %0, ptr noundef nonnull @.str) #2 br label %110 11: ; preds = %1 %12 = icmp sgt i32 %3, 22 %13 = select i1 %12, i64 3, i64 2 %14 = load i32, ptr @NV10_PFB_REFCTRL, align 4, !tbaa !12 %15 = load i32, ptr @NV10_PFB_REFCTRL_VALID_1, align 4, !tbaa !12 %16 = tail call i32 @nv_wr32(ptr noundef %0, i32 noundef %14, i32 noundef %15) #2 br label %17 17: ; preds = %49, %11 %18 = phi i64 [ 0, %11 ], [ %58, %49 ] %19 = load i32, ptr @NV04_PFB_CFG0, align 4, !tbaa !12 %20 = getelementptr inbounds [3 x i32], ptr @__const.nv10_devinit_meminit.mem_width, i64 0, i64 %18 %21 = load i32, ptr %20, align 4, !tbaa !12 %22 = tail call i32 @nv_mask(ptr noundef %0, i32 noundef %19, i32 noundef 48, i32 noundef %21) #2 %23 = tail call i32 @fbmem_poke(ptr noundef nonnull %7, i32 noundef 28, i32 noundef 0) #2 %24 = tail call i32 @fbmem_poke(ptr noundef nonnull %7, i32 noundef 28, i32 noundef 0) #2 %25 = tail call i32 @fbmem_poke(ptr noundef nonnull %7, i32 noundef 28, i32 noundef 0) #2 %26 = tail call i32 @fbmem_poke(ptr noundef nonnull %7, i32 noundef 28, i32 noundef 0) #2 %27 = tail call i32 @fbmem_poke(ptr noundef nonnull %7, i32 noundef 28, i32 noundef -559038737) #2 %28 = tail call i32 @fbmem_poke(ptr noundef nonnull %7, i32 noundef 60, i32 noundef 0) #2 %29 = tail call i32 @fbmem_peek(ptr noundef nonnull %7, i32 noundef 28) #2 %30 = icmp eq i32 %29, -559038737 br i1 %30, label %61, label %31 31: ; preds = %17 %32 = tail call i32 @fbmem_poke(ptr noundef nonnull %7, i32 noundef 28, i32 noundef 0) #2 %33 = tail call i32 @fbmem_poke(ptr noundef nonnull %7, i32 noundef 28, i32 noundef 0) #2 %34 = tail call i32 @fbmem_poke(ptr noundef nonnull %7, i32 noundef 28, i32 noundef 0) #2 %35 = tail call i32 @fbmem_poke(ptr noundef nonnull %7, i32 noundef 28, i32 noundef 0) #2 %36 = tail call i32 @fbmem_poke(ptr noundef nonnull %7, i32 noundef 28, i32 noundef -559038737) #2 %37 = tail call i32 @fbmem_poke(ptr noundef nonnull %7, i32 noundef 60, i32 noundef 0) #2 %38 = tail call i32 @fbmem_peek(ptr noundef nonnull %7, i32 noundef 28) #2 %39 = icmp eq i32 %38, -559038737 br i1 %39, label %61, label %40 40: ; preds = %31 %41 = tail call i32 @fbmem_poke(ptr noundef nonnull %7, i32 noundef 28, i32 noundef 0) #2 %42 = tail call i32 @fbmem_poke(ptr noundef nonnull %7, i32 noundef 28, i32 noundef 0) #2 %43 = tail call i32 @fbmem_poke(ptr noundef nonnull %7, i32 noundef 28, i32 noundef 0) #2 %44 = tail call i32 @fbmem_poke(ptr noundef nonnull %7, i32 noundef 28, i32 noundef 0) #2 %45 = tail call i32 @fbmem_poke(ptr noundef nonnull %7, i32 noundef 28, i32 noundef -559038737) #2 %46 = tail call i32 @fbmem_poke(ptr noundef nonnull %7, i32 noundef 60, i32 noundef 0) #2 %47 = tail call i32 @fbmem_peek(ptr noundef nonnull %7, i32 noundef 28) #2 %48 = icmp eq i32 %47, -559038737 br i1 %48, label %61, label %49 49: ; preds = %40 %50 = tail call i32 @fbmem_poke(ptr noundef nonnull %7, i32 noundef 28, i32 noundef 0) #2 %51 = tail call i32 @fbmem_poke(ptr noundef nonnull %7, i32 noundef 28, i32 noundef 0) #2 %52 = tail call i32 @fbmem_poke(ptr noundef nonnull %7, i32 noundef 28, i32 noundef 0) #2 %53 = tail call i32 @fbmem_poke(ptr noundef nonnull %7, i32 noundef 28, i32 noundef 0) #2 %54 = tail call i32 @fbmem_poke(ptr noundef nonnull %7, i32 noundef 28, i32 noundef -559038737) #2 %55 = tail call i32 @fbmem_poke(ptr noundef nonnull %7, i32 noundef 60, i32 noundef 0) #2 %56 = tail call i32 @fbmem_peek(ptr noundef nonnull %7, i32 noundef 28) #2 %57 = icmp eq i32 %56, -559038737 %58 = add nuw nsw i64 %18, 1 %59 = icmp eq i64 %58, %13 %60 = select i1 %57, i1 true, i1 %59 br i1 %60, label %61, label %17, !llvm.loop !13 61: ; preds = %17, %31, %40, %49 %62 = tail call i32 @nv_rd32(ptr noundef %0, i32 noundef 1049100) #2 %63 = add nsw i32 %62, -1048576 %64 = tail call i32 @fbmem_poke(ptr noundef nonnull %7, i32 noundef %63, i32 noundef -1118077474) #2 %65 = tail call i32 @fbmem_poke(ptr noundef nonnull %7, i32 noundef 0, i32 noundef 0) #2 %66 = tail call i32 @fbmem_peek(ptr noundef nonnull %7, i32 noundef 0) #2 %67 = tail call i32 @fbmem_peek(ptr noundef nonnull %7, i32 noundef 0) #2 %68 = tail call i32 @fbmem_peek(ptr noundef nonnull %7, i32 noundef 0) #2 %69 = tail call i32 @fbmem_peek(ptr noundef nonnull %7, i32 noundef 0) #2 %70 = tail call i32 @fbmem_peek(ptr noundef nonnull %7, i32 noundef %63) #2 %71 = icmp eq i32 %70, -1118077474 br i1 %71, label %108, label %72 72: ; preds = %61 %73 = tail call i32 @nv_rd32(ptr noundef %0, i32 noundef 1049100) #2 %74 = add nsw i32 %73, -1048576 %75 = tail call i32 @fbmem_poke(ptr noundef nonnull %7, i32 noundef %74, i32 noundef -1118077474) #2 %76 = tail call i32 @fbmem_poke(ptr noundef nonnull %7, i32 noundef 0, i32 noundef 0) #2 %77 = tail call i32 @fbmem_peek(ptr noundef nonnull %7, i32 noundef 0) #2 %78 = tail call i32 @fbmem_peek(ptr noundef nonnull %7, i32 noundef 0) #2 %79 = tail call i32 @fbmem_peek(ptr noundef nonnull %7, i32 noundef 0) #2 %80 = tail call i32 @fbmem_peek(ptr noundef nonnull %7, i32 noundef 0) #2 %81 = tail call i32 @fbmem_peek(ptr noundef nonnull %7, i32 noundef %74) #2 %82 = icmp eq i32 %81, -1118077474 br i1 %82, label %108, label %83 83: ; preds = %72 %84 = tail call i32 @nv_rd32(ptr noundef %0, i32 noundef 1049100) #2 %85 = add nsw i32 %84, -1048576 %86 = tail call i32 @fbmem_poke(ptr noundef nonnull %7, i32 noundef %85, i32 noundef -1118077474) #2 %87 = tail call i32 @fbmem_poke(ptr noundef nonnull %7, i32 noundef 0, i32 noundef 0) #2 %88 = tail call i32 @fbmem_peek(ptr noundef nonnull %7, i32 noundef 0) #2 %89 = tail call i32 @fbmem_peek(ptr noundef nonnull %7, i32 noundef 0) #2 %90 = tail call i32 @fbmem_peek(ptr noundef nonnull %7, i32 noundef 0) #2 %91 = tail call i32 @fbmem_peek(ptr noundef nonnull %7, i32 noundef 0) #2 %92 = tail call i32 @fbmem_peek(ptr noundef nonnull %7, i32 noundef %85) #2 %93 = icmp eq i32 %92, -1118077474 br i1 %93, label %108, label %94 94: ; preds = %83 %95 = tail call i32 @nv_rd32(ptr noundef %0, i32 noundef 1049100) #2 %96 = add nsw i32 %95, -1048576 %97 = tail call i32 @fbmem_poke(ptr noundef nonnull %7, i32 noundef %96, i32 noundef -1118077474) #2 %98 = tail call i32 @fbmem_poke(ptr noundef nonnull %7, i32 noundef 0, i32 noundef 0) #2 %99 = tail call i32 @fbmem_peek(ptr noundef nonnull %7, i32 noundef 0) #2 %100 = tail call i32 @fbmem_peek(ptr noundef nonnull %7, i32 noundef 0) #2 %101 = tail call i32 @fbmem_peek(ptr noundef nonnull %7, i32 noundef 0) #2 %102 = tail call i32 @fbmem_peek(ptr noundef nonnull %7, i32 noundef 0) #2 %103 = tail call i32 @fbmem_peek(ptr noundef nonnull %7, i32 noundef %96) #2 %104 = icmp eq i32 %103, -1118077474 br i1 %104, label %108, label %105 105: ; preds = %94 %106 = load i32, ptr @NV04_PFB_CFG0, align 4, !tbaa !12 %107 = tail call i32 @nv_mask(ptr noundef %0, i32 noundef %106, i32 noundef 4096, i32 noundef 0) #2 br label %108 108: ; preds = %61, %72, %83, %94, %105 %109 = tail call i32 @fbmem_fini(ptr noundef nonnull %7) #2 br label %110 110: ; preds = %108, %9 ret void } declare ptr @nv_device(ptr noundef) local_unnamed_addr #1 declare ptr @fbmem_init(i32 noundef) local_unnamed_addr #1 declare i32 @nv_error(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @nv_wr32(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @nv_mask(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @fbmem_poke(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @fbmem_peek(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @nv_rd32(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @fbmem_fini(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_2__", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 4} !12 = !{!8, !8, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"}
fastsocket_kernel_drivers_gpu_drm_nouveau_core_subdev_devinit_extr_nv10.c_nv10_devinit_meminit
; ModuleID = 'AnghaBench/zfs/module/nvpair/extr_nvpair.c_nvlist_lookup_uint16_array.c' source_filename = "AnghaBench/zfs/module/nvpair/extr_nvpair.c_nvlist_lookup_uint16_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" @DATA_TYPE_UINT16_ARRAY = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @nvlist_lookup_uint16_array(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 { %5 = load i32, ptr @DATA_TYPE_UINT16_ARRAY, align 4, !tbaa !5 %6 = tail call i32 @nvlist_lookup_common(ptr noundef %0, ptr noundef %1, i32 noundef %5, ptr noundef %3, ptr noundef %2) #2 ret i32 %6 } declare i32 @nvlist_lookup_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"}
; ModuleID = 'AnghaBench/zfs/module/nvpair/extr_nvpair.c_nvlist_lookup_uint16_array.c' source_filename = "AnghaBench/zfs/module/nvpair/extr_nvpair.c_nvlist_lookup_uint16_array.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @DATA_TYPE_UINT16_ARRAY = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @nvlist_lookup_uint16_array(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 { %5 = load i32, ptr @DATA_TYPE_UINT16_ARRAY, align 4, !tbaa !6 %6 = tail call i32 @nvlist_lookup_common(ptr noundef %0, ptr noundef %1, i32 noundef %5, ptr noundef %3, ptr noundef %2) #2 ret i32 %6 } declare i32 @nvlist_lookup_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"}
zfs_module_nvpair_extr_nvpair.c_nvlist_lookup_uint16_array
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/extr_gp100.c_gp100_gr_zbc_clear_color.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/extr_gp100.c_gp100_gr_zbc_clear_color.c" target datalayout = "e-m:e-p270:32:32-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.gf100_gr = type { ptr, %struct.TYPE_7__ } %struct.TYPE_7__ = type { %struct.TYPE_6__ } %struct.TYPE_6__ = type { %struct.TYPE_5__ } %struct.TYPE_5__ = type { ptr } %struct.TYPE_8__ = type { i32, ptr } ; Function Attrs: nounwind uwtable define dso_local void @gp100_gr_zbc_clear_color(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds %struct.gf100_gr, ptr %0, i64 0, i32 1 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = add nsw i32 %1, -1 %6 = load ptr, ptr %0, align 8, !tbaa !13 %7 = sext i32 %1 to i64 %8 = getelementptr inbounds %struct.TYPE_8__, ptr %6, i64 %7 %9 = load i32, ptr %8, align 8, !tbaa !14 %10 = icmp eq i32 %9, 0 br i1 %10, label %42, label %11 11: ; preds = %2 %12 = shl nsw i32 %5, 2 %13 = add nsw i32 %12, 4292624 %14 = getelementptr inbounds %struct.TYPE_8__, ptr %6, i64 %7, i32 1 %15 = load ptr, ptr %14, align 8, !tbaa !17 %16 = load i32, ptr %15, align 4, !tbaa !18 %17 = tail call i32 @nvkm_wr32(ptr noundef %4, i32 noundef %13, i32 noundef %16) #2 %18 = add nsw i32 %12, 4292684 %19 = load ptr, ptr %0, align 8, !tbaa !13 %20 = getelementptr inbounds %struct.TYPE_8__, ptr %19, i64 %7, i32 1 %21 = load ptr, ptr %20, align 8, !tbaa !17 %22 = getelementptr inbounds i32, ptr %21, i64 1 %23 = load i32, ptr %22, align 4, !tbaa !18 %24 = tail call i32 @nvkm_wr32(ptr noundef %4, i32 noundef %18, i32 noundef %23) #2 %25 = add nsw i32 %12, 4292744 %26 = load ptr, ptr %0, align 8, !tbaa !13 %27 = getelementptr inbounds %struct.TYPE_8__, ptr %26, i64 %7, i32 1 %28 = load ptr, ptr %27, align 8, !tbaa !17 %29 = getelementptr inbounds i32, ptr %28, i64 2 %30 = load i32, ptr %29, align 4, !tbaa !18 %31 = tail call i32 @nvkm_wr32(ptr noundef %4, i32 noundef %25, i32 noundef %30) #2 %32 = add nsw i32 %12, 4292804 %33 = load ptr, ptr %0, align 8, !tbaa !13 %34 = getelementptr inbounds %struct.TYPE_8__, ptr %33, i64 %7, i32 1 %35 = load ptr, ptr %34, align 8, !tbaa !17 %36 = getelementptr inbounds i32, ptr %35, i64 3 %37 = load i32, ptr %36, align 4, !tbaa !18 %38 = tail call i32 @nvkm_wr32(ptr noundef %4, i32 noundef %32, i32 noundef %37) #2 %39 = load ptr, ptr %0, align 8, !tbaa !13 %40 = getelementptr inbounds %struct.TYPE_8__, ptr %39, i64 %7 %41 = load i32, ptr %40, align 8, !tbaa !14 br label %42 42: ; preds = %11, %2 %43 = phi i32 [ %41, %11 ], [ 0, %2 ] %44 = sdiv i32 %5, 4 %45 = shl nsw i32 %44, 2 %46 = add nsw i32 %45, 4292864 %47 = srem i32 %5, 4 %48 = mul nsw i32 %47, 7 %49 = shl nuw nsw i32 127, %48 %50 = shl i32 %43, %48 %51 = tail call i32 @nvkm_mask(ptr noundef %4, i32 noundef %46, i32 noundef %49, i32 noundef %50) #2 ret void } declare i32 @nvkm_wr32(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @nvkm_mask(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, !7, i64 8} !6 = !{!"gf100_gr", !7, i64 0, !10, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_7__", !11, i64 0} !11 = !{!"TYPE_6__", !12, i64 0} !12 = !{!"TYPE_5__", !7, i64 0} !13 = !{!6, !7, i64 0} !14 = !{!15, !16, i64 0} !15 = !{!"TYPE_8__", !16, i64 0, !7, i64 8} !16 = !{!"int", !8, i64 0} !17 = !{!15, !7, i64 8} !18 = !{!16, !16, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/extr_gp100.c_gp100_gr_zbc_clear_color.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/extr_gp100.c_gp100_gr_zbc_clear_color.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_8__ = type { i32, ptr } ; Function Attrs: nounwind ssp uwtable(sync) define void @gp100_gr_zbc_clear_color(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = add nsw i32 %1, -1 %6 = load ptr, ptr %0, align 8, !tbaa !14 %7 = sext i32 %1 to i64 %8 = getelementptr inbounds %struct.TYPE_8__, ptr %6, i64 %7 %9 = load i32, ptr %8, align 8, !tbaa !15 %10 = icmp eq i32 %9, 0 br i1 %10, label %42, label %11 11: ; preds = %2 %12 = shl nsw i32 %5, 2 %13 = add nsw i32 %12, 4292624 %14 = getelementptr inbounds i8, ptr %8, i64 8 %15 = load ptr, ptr %14, align 8, !tbaa !18 %16 = load i32, ptr %15, align 4, !tbaa !19 %17 = tail call i32 @nvkm_wr32(ptr noundef %4, i32 noundef %13, i32 noundef %16) #2 %18 = add nsw i32 %12, 4292684 %19 = load ptr, ptr %0, align 8, !tbaa !14 %20 = getelementptr inbounds %struct.TYPE_8__, ptr %19, i64 %7, i32 1 %21 = load ptr, ptr %20, align 8, !tbaa !18 %22 = getelementptr inbounds i8, ptr %21, i64 4 %23 = load i32, ptr %22, align 4, !tbaa !19 %24 = tail call i32 @nvkm_wr32(ptr noundef %4, i32 noundef %18, i32 noundef %23) #2 %25 = add nsw i32 %12, 4292744 %26 = load ptr, ptr %0, align 8, !tbaa !14 %27 = getelementptr inbounds %struct.TYPE_8__, ptr %26, i64 %7, i32 1 %28 = load ptr, ptr %27, align 8, !tbaa !18 %29 = getelementptr inbounds i8, ptr %28, i64 8 %30 = load i32, ptr %29, align 4, !tbaa !19 %31 = tail call i32 @nvkm_wr32(ptr noundef %4, i32 noundef %25, i32 noundef %30) #2 %32 = add nsw i32 %12, 4292804 %33 = load ptr, ptr %0, align 8, !tbaa !14 %34 = getelementptr inbounds %struct.TYPE_8__, ptr %33, i64 %7, i32 1 %35 = load ptr, ptr %34, align 8, !tbaa !18 %36 = getelementptr inbounds i8, ptr %35, i64 12 %37 = load i32, ptr %36, align 4, !tbaa !19 %38 = tail call i32 @nvkm_wr32(ptr noundef %4, i32 noundef %32, i32 noundef %37) #2 %39 = load ptr, ptr %0, align 8, !tbaa !14 %40 = getelementptr inbounds %struct.TYPE_8__, ptr %39, i64 %7 %41 = load i32, ptr %40, align 8, !tbaa !15 br label %42 42: ; preds = %11, %2 %43 = phi i32 [ %41, %11 ], [ 0, %2 ] %44 = sdiv i32 %5, 4 %45 = shl nsw i32 %44, 2 %46 = add nsw i32 %45, 4292864 %47 = mul i32 %44, 4 %48 = sub i32 %5, %47 %49 = mul nsw i32 %48, 7 %50 = shl nuw nsw i32 127, %49 %51 = shl i32 %43, %49 %52 = tail call i32 @nvkm_mask(ptr noundef %4, i32 noundef %46, i32 noundef %50, i32 noundef %51) #2 ret void } declare i32 @nvkm_wr32(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @nvkm_mask(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, !8, i64 8} !7 = !{!"gf100_gr", !8, i64 0, !11, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_7__", !12, i64 0} !12 = !{!"TYPE_6__", !13, i64 0} !13 = !{!"TYPE_5__", !8, i64 0} !14 = !{!7, !8, i64 0} !15 = !{!16, !17, i64 0} !16 = !{!"TYPE_8__", !17, i64 0, !8, i64 8} !17 = !{!"int", !9, i64 0} !18 = !{!16, !8, i64 8} !19 = !{!17, !17, i64 0}
linux_drivers_gpu_drm_nouveau_nvkm_engine_gr_extr_gp100.c_gp100_gr_zbc_clear_color
; ModuleID = 'AnghaBench/linux/fs/gfs2/extr_glock.c___gfs2_glock_put.c' source_filename = "AnghaBench/linux/fs/gfs2/extr_glock.c___gfs2_glock_put.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.gfs2_glock = type { i32, %struct.TYPE_8__, %struct.TYPE_7__ } %struct.TYPE_8__ = type { i32 } %struct.TYPE_7__ = type { ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @__gfs2_glock_put], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @__gfs2_glock_put(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.gfs2_glock, ptr %0, i64 0, i32 2 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = tail call ptr @gfs2_glock2aspace(ptr noundef %0) #2 %5 = getelementptr inbounds %struct.gfs2_glock, ptr %0, i64 0, i32 1 %6 = tail call i32 @lockref_mark_dead(ptr noundef nonnull %5) #2 %7 = tail call i32 @gfs2_glock_remove_from_lru(ptr noundef %0) #2 %8 = tail call i32 @spin_unlock(ptr noundef nonnull %5) #2 %9 = tail call i32 @list_empty(ptr noundef %0) #2 %10 = icmp eq i32 %9, 0 %11 = zext i1 %10 to i32 %12 = tail call i32 @GLOCK_BUG_ON(ptr noundef %0, i32 noundef %11) #2 %13 = icmp eq ptr %4, null br i1 %13, label %18, label %14 14: ; preds = %1 %15 = load i64, ptr %4, align 8, !tbaa !13 %16 = icmp ne i64 %15, 0 %17 = zext i1 %16 to i32 br label %18 18: ; preds = %14, %1 %19 = phi i32 [ 0, %1 ], [ %17, %14 ] %20 = tail call i32 @GLOCK_BUG_ON(ptr noundef nonnull %0, i32 noundef %19) #2 %21 = tail call i32 @trace_gfs2_glock_put(ptr noundef nonnull %0) #2 %22 = load ptr, ptr %3, align 8, !tbaa !16 %23 = load ptr, ptr %22, align 8, !tbaa !19 %24 = tail call i32 %23(ptr noundef nonnull %0) #2 ret void } declare ptr @gfs2_glock2aspace(ptr noundef) local_unnamed_addr #1 declare i32 @lockref_mark_dead(ptr noundef) local_unnamed_addr #1 declare i32 @gfs2_glock_remove_from_lru(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @GLOCK_BUG_ON(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @list_empty(ptr noundef) local_unnamed_addr #1 declare i32 @trace_gfs2_glock_put(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !12, i64 8} !6 = !{!"gfs2_glock", !7, i64 0, !10, i64 4, !11, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_8__", !7, i64 0} !11 = !{!"TYPE_7__", !12, i64 0} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !15, i64 0} !14 = !{!"address_space", !15, i64 0} !15 = !{!"long", !8, i64 0} !16 = !{!17, !12, i64 0} !17 = !{!"gfs2_sbd", !18, i64 0} !18 = !{!"TYPE_6__", !12, i64 0} !19 = !{!20, !12, i64 0} !20 = !{!"TYPE_5__", !12, i64 0}
; ModuleID = 'AnghaBench/linux/fs/gfs2/extr_glock.c___gfs2_glock_put.c' source_filename = "AnghaBench/linux/fs/gfs2/extr_glock.c___gfs2_glock_put.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 @__gfs2_glock_put], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @__gfs2_glock_put(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = tail call ptr @gfs2_glock2aspace(ptr noundef %0) #2 %5 = getelementptr inbounds i8, ptr %0, i64 4 %6 = tail call i32 @lockref_mark_dead(ptr noundef nonnull %5) #2 %7 = tail call i32 @gfs2_glock_remove_from_lru(ptr noundef %0) #2 %8 = tail call i32 @spin_unlock(ptr noundef nonnull %5) #2 %9 = tail call i32 @list_empty(ptr noundef %0) #2 %10 = icmp eq i32 %9, 0 %11 = zext i1 %10 to i32 %12 = tail call i32 @GLOCK_BUG_ON(ptr noundef %0, i32 noundef %11) #2 %13 = icmp eq ptr %4, null br i1 %13, label %18, label %14 14: ; preds = %1 %15 = load i64, ptr %4, align 8, !tbaa !14 %16 = icmp ne i64 %15, 0 %17 = zext i1 %16 to i32 br label %18 18: ; preds = %14, %1 %19 = phi i32 [ 0, %1 ], [ %17, %14 ] %20 = tail call i32 @GLOCK_BUG_ON(ptr noundef nonnull %0, i32 noundef %19) #2 %21 = tail call i32 @trace_gfs2_glock_put(ptr noundef nonnull %0) #2 %22 = load ptr, ptr %3, align 8, !tbaa !17 %23 = load ptr, ptr %22, align 8, !tbaa !20 %24 = tail call i32 %23(ptr noundef nonnull %0) #2 ret void } declare ptr @gfs2_glock2aspace(ptr noundef) local_unnamed_addr #1 declare i32 @lockref_mark_dead(ptr noundef) local_unnamed_addr #1 declare i32 @gfs2_glock_remove_from_lru(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @GLOCK_BUG_ON(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @list_empty(ptr noundef) local_unnamed_addr #1 declare i32 @trace_gfs2_glock_put(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !13, i64 8} !7 = !{!"gfs2_glock", !8, i64 0, !11, i64 4, !12, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_8__", !8, i64 0} !12 = !{!"TYPE_7__", !13, i64 0} !13 = !{!"any pointer", !9, i64 0} !14 = !{!15, !16, i64 0} !15 = !{!"address_space", !16, i64 0} !16 = !{!"long", !9, i64 0} !17 = !{!18, !13, i64 0} !18 = !{!"gfs2_sbd", !19, i64 0} !19 = !{!"TYPE_6__", !13, i64 0} !20 = !{!21, !13, i64 0} !21 = !{!"TYPE_5__", !13, i64 0}
linux_fs_gfs2_extr_glock.c___gfs2_glock_put
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/handwired/promethium/extr_matrix.c_matrix_scan_kb.c' source_filename = "AnghaBench/qmk_firmware/keyboards/handwired/promethium/extr_matrix.c_matrix_scan_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 weak dso_local void @matrix_scan_kb() local_unnamed_addr #0 { %1 = tail call i32 (...) @matrix_scan_user() #2 ret void } declare i32 @matrix_scan_user(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/handwired/promethium/extr_matrix.c_matrix_scan_kb.c' source_filename = "AnghaBench/qmk_firmware/keyboards/handwired/promethium/extr_matrix.c_matrix_scan_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 weak void @matrix_scan_kb() local_unnamed_addr #0 { %1 = tail call i32 @matrix_scan_user() #2 ret void } declare i32 @matrix_scan_user(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{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_handwired_promethium_extr_matrix.c_matrix_scan_kb
; ModuleID = 'AnghaBench/freebsd/sys/cam/scsi/extr_scsi_xpt.c_scsi_dev_advinfo.c' source_filename = "AnghaBench/freebsd/sys/cam/scsi/extr_scsi_xpt.c_scsi_dev_advinfo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { ptr, ptr } %struct.cam_ed = type { ptr, i32, ptr, i32, ptr, i32, ptr, i32, ptr, i32 } %struct.ccb_dev_advinfo = type { i32, i32, ptr, i32, i32 } @MA_OWNED = dso_local local_unnamed_addr global i32 0, align 4 @CAM_REQ_INVALID = dso_local local_unnamed_addr global ptr null, align 8 @CDAI_FLAG_STORE = dso_local local_unnamed_addr global i32 0, align 4 @M_CAMXPT = dso_local local_unnamed_addr global i32 0, align 4 @M_NOWAIT = dso_local local_unnamed_addr global i32 0, align 4 @CAM_REQ_ABORTED = dso_local local_unnamed_addr global ptr null, align 8 @CAM_REQ_CMP = dso_local local_unnamed_addr global ptr null, align 8 @AC_ADVINFO_CHANGED = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @scsi_dev_advinfo], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @scsi_dev_advinfo(ptr nocapture noundef %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = load i32, ptr @MA_OWNED, align 4, !tbaa !8 %4 = tail call i32 @xpt_path_assert(ptr noundef %2, i32 noundef %3) #3 %5 = load ptr, ptr @CAM_REQ_INVALID, align 8, !tbaa !10 %6 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1 store ptr %5, ptr %6, align 8, !tbaa !5 %7 = load ptr, ptr %0, align 8 %8 = load ptr, ptr %7, align 8, !tbaa !12 %9 = ptrtoint ptr %7 to i64 %10 = trunc i64 %9 to i32 %11 = lshr i64 %9, 32 %12 = trunc i64 %11 to i32 switch i32 %10, label %154 [ i32 129, label %13 i32 128, label %29 i32 131, label %45 i32 130, label %85 i32 132, label %124 ] 13: ; preds = %1 %14 = load i32, ptr @CDAI_FLAG_STORE, align 4, !tbaa !8 %15 = and i32 %14, %12 %16 = icmp eq i32 %15, 0 br i1 %16, label %17, label %154 17: ; preds = %13 %18 = getelementptr inbounds %struct.cam_ed, ptr %8, i64 0, i32 9 %19 = load i32, ptr %18, align 8, !tbaa !14 %20 = getelementptr inbounds %struct.ccb_dev_advinfo, ptr %0, i64 0, i32 4 store i32 %19, ptr %20, align 4, !tbaa !16 %21 = icmp eq i32 %19, 0 br i1 %21, label %139, label %22 22: ; preds = %17 %23 = getelementptr inbounds %struct.ccb_dev_advinfo, ptr %0, i64 0, i32 3 %24 = load i32, ptr %23, align 8, !tbaa !18 %25 = tail call i32 @llvm.smin.i32(i32 %19, i32 %24) %26 = getelementptr inbounds %struct.cam_ed, ptr %8, i64 0, i32 8 %27 = load ptr, ptr %26, align 8, !tbaa !19 %28 = tail call i32 @memcpy(ptr noundef %5, ptr noundef %27, i32 noundef %25) #3 br label %139 29: ; preds = %1 %30 = load i32, ptr @CDAI_FLAG_STORE, align 4, !tbaa !8 %31 = and i32 %30, %12 %32 = icmp eq i32 %31, 0 br i1 %32, label %33, label %154 33: ; preds = %29 %34 = getelementptr inbounds %struct.cam_ed, ptr %8, i64 0, i32 7 %35 = load i32, ptr %34, align 8, !tbaa !20 %36 = getelementptr inbounds %struct.ccb_dev_advinfo, ptr %0, i64 0, i32 4 store i32 %35, ptr %36, align 4, !tbaa !16 %37 = icmp eq i32 %35, 0 br i1 %37, label %139, label %38 38: ; preds = %33 %39 = getelementptr inbounds %struct.ccb_dev_advinfo, ptr %0, i64 0, i32 3 %40 = load i32, ptr %39, align 8, !tbaa !18 %41 = tail call i32 @llvm.smin.i32(i32 %35, i32 %40) %42 = getelementptr inbounds %struct.cam_ed, ptr %8, i64 0, i32 6 %43 = load ptr, ptr %42, align 8, !tbaa !21 %44 = tail call i32 @memcpy(ptr noundef %5, ptr noundef %43, i32 noundef %41) #3 br label %139 45: ; preds = %1 %46 = load i32, ptr @CDAI_FLAG_STORE, align 4, !tbaa !8 %47 = and i32 %46, %12 %48 = icmp eq i32 %47, 0 br i1 %48, label %73, label %49 49: ; preds = %45 %50 = getelementptr inbounds %struct.cam_ed, ptr %8, i64 0, i32 4 %51 = load ptr, ptr %50, align 8, !tbaa !22 %52 = icmp eq ptr %51, null br i1 %52, label %57, label %53 53: ; preds = %49 %54 = load i32, ptr @M_CAMXPT, align 4, !tbaa !8 %55 = tail call i32 @free(ptr noundef nonnull %51, i32 noundef %54) #3 store ptr null, ptr %50, align 8, !tbaa !22 %56 = getelementptr inbounds %struct.cam_ed, ptr %8, i64 0, i32 5 store i32 0, ptr %56, align 8, !tbaa !23 br label %57 57: ; preds = %53, %49 %58 = getelementptr inbounds %struct.ccb_dev_advinfo, ptr %0, i64 0, i32 3 %59 = load i32, ptr %58, align 8, !tbaa !18 %60 = icmp eq i32 %59, 0 br i1 %60, label %139, label %61 61: ; preds = %57 %62 = load i32, ptr @M_CAMXPT, align 4, !tbaa !8 %63 = load i32, ptr @M_NOWAIT, align 4, !tbaa !8 %64 = tail call ptr @malloc(i32 noundef %59, i32 noundef %62, i32 noundef %63) #3 store ptr %64, ptr %50, align 8, !tbaa !22 %65 = icmp eq ptr %64, null br i1 %65, label %66, label %68 66: ; preds = %61 %67 = load ptr, ptr @CAM_REQ_ABORTED, align 8, !tbaa !10 store ptr %67, ptr %6, align 8, !tbaa !5 br label %154 68: ; preds = %61 %69 = load i32, ptr %58, align 8, !tbaa !18 %70 = getelementptr inbounds %struct.cam_ed, ptr %8, i64 0, i32 5 store i32 %69, ptr %70, align 8, !tbaa !23 %71 = load ptr, ptr %6, align 8, !tbaa !24 %72 = tail call i32 @memcpy(ptr noundef nonnull %64, ptr noundef %71, i32 noundef %69) #3 br label %139 73: ; preds = %45 %74 = getelementptr inbounds %struct.cam_ed, ptr %8, i64 0, i32 5 %75 = load i32, ptr %74, align 8, !tbaa !23 %76 = getelementptr inbounds %struct.ccb_dev_advinfo, ptr %0, i64 0, i32 4 store i32 %75, ptr %76, align 4, !tbaa !16 %77 = icmp eq i32 %75, 0 br i1 %77, label %139, label %78 78: ; preds = %73 %79 = getelementptr inbounds %struct.ccb_dev_advinfo, ptr %0, i64 0, i32 3 %80 = load i32, ptr %79, align 8, !tbaa !18 %81 = tail call i32 @llvm.smin.i32(i32 %75, i32 %80) %82 = getelementptr inbounds %struct.cam_ed, ptr %8, i64 0, i32 4 %83 = load ptr, ptr %82, align 8, !tbaa !22 %84 = tail call i32 @memcpy(ptr noundef %5, ptr noundef %83, i32 noundef %81) #3 br label %139 85: ; preds = %1 %86 = load i32, ptr @CDAI_FLAG_STORE, align 4, !tbaa !8 %87 = and i32 %86, %12 %88 = icmp eq i32 %87, 0 br i1 %88, label %112, label %89 89: ; preds = %85 %90 = getelementptr inbounds %struct.cam_ed, ptr %8, i64 0, i32 2 %91 = load ptr, ptr %90, align 8, !tbaa !25 %92 = icmp eq ptr %91, null br i1 %92, label %96, label %93 93: ; preds = %89 %94 = load i32, ptr @M_CAMXPT, align 4, !tbaa !8 %95 = tail call i32 @free(ptr noundef nonnull %91, i32 noundef %94) #3 store ptr null, ptr %90, align 8, !tbaa !25 br label %96 96: ; preds = %93, %89 %97 = getelementptr inbounds %struct.ccb_dev_advinfo, ptr %0, i64 0, i32 3 %98 = load i32, ptr %97, align 8, !tbaa !18 %99 = getelementptr inbounds %struct.cam_ed, ptr %8, i64 0, i32 3 store i32 %98, ptr %99, align 8, !tbaa !26 %100 = icmp eq i32 %98, 0 br i1 %100, label %139, label %101 101: ; preds = %96 %102 = load i32, ptr @M_CAMXPT, align 4, !tbaa !8 %103 = load i32, ptr @M_NOWAIT, align 4, !tbaa !8 %104 = tail call ptr @malloc(i32 noundef %98, i32 noundef %102, i32 noundef %103) #3 store ptr %104, ptr %90, align 8, !tbaa !25 %105 = icmp eq ptr %104, null br i1 %105, label %106, label %108 106: ; preds = %101 %107 = load ptr, ptr @CAM_REQ_ABORTED, align 8, !tbaa !10 store ptr %107, ptr %6, align 8, !tbaa !5 br label %154 108: ; preds = %101 %109 = load ptr, ptr %6, align 8, !tbaa !24 %110 = load i32, ptr %97, align 8, !tbaa !18 %111 = tail call i32 @memcpy(ptr noundef nonnull %104, ptr noundef %109, i32 noundef %110) #3 br label %139 112: ; preds = %85 %113 = getelementptr inbounds %struct.cam_ed, ptr %8, i64 0, i32 3 %114 = load i32, ptr %113, align 8, !tbaa !26 %115 = getelementptr inbounds %struct.ccb_dev_advinfo, ptr %0, i64 0, i32 4 store i32 %114, ptr %115, align 4, !tbaa !16 %116 = icmp eq i32 %114, 0 br i1 %116, label %139, label %117 117: ; preds = %112 %118 = getelementptr inbounds %struct.ccb_dev_advinfo, ptr %0, i64 0, i32 3 %119 = load i32, ptr %118, align 8, !tbaa !18 %120 = tail call i32 @llvm.smin.i32(i32 %114, i32 %119) %121 = getelementptr inbounds %struct.cam_ed, ptr %8, i64 0, i32 2 %122 = load ptr, ptr %121, align 8, !tbaa !25 %123 = tail call i32 @memcpy(ptr noundef %5, ptr noundef %122, i32 noundef %120) #3 br label %139 124: ; preds = %1 %125 = load i32, ptr @CDAI_FLAG_STORE, align 4, !tbaa !8 %126 = and i32 %125, %12 %127 = icmp eq i32 %126, 0 br i1 %127, label %128, label %154 128: ; preds = %124 %129 = getelementptr inbounds %struct.cam_ed, ptr %8, i64 0, i32 1 %130 = load i32, ptr %129, align 8, !tbaa !27 %131 = getelementptr inbounds %struct.ccb_dev_advinfo, ptr %0, i64 0, i32 4 store i32 %130, ptr %131, align 4, !tbaa !16 %132 = icmp eq i32 %130, 0 br i1 %132, label %139, label %133 133: ; preds = %128 %134 = getelementptr inbounds %struct.ccb_dev_advinfo, ptr %0, i64 0, i32 3 %135 = load i32, ptr %134, align 8, !tbaa !18 %136 = tail call i32 @llvm.smin.i32(i32 %130, i32 %135) %137 = load ptr, ptr %8, align 8, !tbaa !28 %138 = tail call i32 @memcpy(ptr noundef %5, ptr noundef %137, i32 noundef %136) #3 br label %139 139: ; preds = %128, %108, %117, %112, %96, %68, %78, %73, %57, %33, %17, %133, %38, %22 %140 = load ptr, ptr @CAM_REQ_CMP, align 8, !tbaa !10 store ptr %140, ptr %6, align 8, !tbaa !5 %141 = getelementptr inbounds %struct.ccb_dev_advinfo, ptr %0, i64 0, i32 1 %142 = load i32, ptr %141, align 4, !tbaa !29 %143 = load i32, ptr @CDAI_FLAG_STORE, align 4, !tbaa !8 %144 = and i32 %143, %142 %145 = icmp eq i32 %144, 0 br i1 %145, label %154, label %146 146: ; preds = %139 %147 = load i32, ptr @AC_ADVINFO_CHANGED, align 4, !tbaa !8 %148 = load ptr, ptr %0, align 8 %149 = ptrtoint ptr %148 to i64 %150 = shl i64 %149, 32 %151 = ashr exact i64 %150, 32 %152 = inttoptr i64 %151 to ptr %153 = tail call i32 @xpt_async(i32 noundef %147, ptr noundef %148, ptr noundef %152) #3 br label %154 154: ; preds = %139, %146, %1, %124, %29, %13, %106, %66 ret void } declare i32 @xpt_path_assert(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @free(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @malloc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @xpt_async(i32 noundef, ptr noundef, 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 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = !{!9, !9, i64 0} !9 = !{!"int", !6, i64 0} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !6, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"TYPE_5__", !11, i64 0} !14 = !{!15, !9, i64 72} !15 = !{!"cam_ed", !11, i64 0, !9, i64 8, !11, i64 16, !9, i64 24, !11, i64 32, !9, i64 40, !11, i64 48, !9, i64 56, !11, i64 64, !9, i64 72} !16 = !{!17, !9, i64 20} !17 = !{!"ccb_dev_advinfo", !9, i64 0, !9, i64 4, !11, i64 8, !9, i64 16, !9, i64 20} !18 = !{!17, !9, i64 16} !19 = !{!15, !11, i64 64} !20 = !{!15, !9, i64 56} !21 = !{!15, !11, i64 48} !22 = !{!15, !11, i64 32} !23 = !{!15, !9, i64 40} !24 = !{!17, !11, i64 8} !25 = !{!15, !11, i64 16} !26 = !{!15, !9, i64 24} !27 = !{!15, !9, i64 8} !28 = !{!15, !11, i64 0} !29 = !{!17, !9, i64 4}
; ModuleID = 'AnghaBench/freebsd/sys/cam/scsi/extr_scsi_xpt.c_scsi_dev_advinfo.c' source_filename = "AnghaBench/freebsd/sys/cam/scsi/extr_scsi_xpt.c_scsi_dev_advinfo.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MA_OWNED = common local_unnamed_addr global i32 0, align 4 @CAM_REQ_INVALID = common local_unnamed_addr global ptr null, align 8 @CDAI_FLAG_STORE = common local_unnamed_addr global i32 0, align 4 @M_CAMXPT = common local_unnamed_addr global i32 0, align 4 @M_NOWAIT = common local_unnamed_addr global i32 0, align 4 @CAM_REQ_ABORTED = common local_unnamed_addr global ptr null, align 8 @CAM_REQ_CMP = common local_unnamed_addr global ptr null, align 8 @AC_ADVINFO_CHANGED = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @scsi_dev_advinfo], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @scsi_dev_advinfo(ptr nocapture noundef %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = load i32, ptr @MA_OWNED, align 4, !tbaa !9 %4 = tail call i32 @xpt_path_assert(ptr noundef %2, i32 noundef %3) #3 %5 = load ptr, ptr @CAM_REQ_INVALID, align 8, !tbaa !11 %6 = getelementptr inbounds i8, ptr %0, i64 8 store ptr %5, ptr %6, align 8, !tbaa !6 %7 = load ptr, ptr %0, align 8 %8 = load ptr, ptr %7, align 8, !tbaa !13 %9 = ptrtoint ptr %7 to i64 %10 = trunc i64 %9 to i32 %11 = lshr i64 %9, 32 %12 = trunc nuw i64 %11 to i32 switch i32 %10, label %154 [ i32 129, label %13 i32 128, label %29 i32 131, label %45 i32 130, label %85 i32 132, label %124 ] 13: ; preds = %1 %14 = load i32, ptr @CDAI_FLAG_STORE, align 4, !tbaa !9 %15 = and i32 %14, %12 %16 = icmp eq i32 %15, 0 br i1 %16, label %17, label %154 17: ; preds = %13 %18 = getelementptr inbounds i8, ptr %8, i64 72 %19 = load i32, ptr %18, align 8, !tbaa !15 %20 = getelementptr inbounds i8, ptr %0, i64 20 store i32 %19, ptr %20, align 4, !tbaa !17 %21 = icmp eq i32 %19, 0 br i1 %21, label %139, label %22 22: ; preds = %17 %23 = getelementptr inbounds i8, ptr %0, i64 16 %24 = load i32, ptr %23, align 8, !tbaa !19 %25 = tail call i32 @llvm.smin.i32(i32 %19, i32 %24) %26 = getelementptr inbounds i8, ptr %8, i64 64 %27 = load ptr, ptr %26, align 8, !tbaa !20 %28 = tail call i32 @memcpy(ptr noundef %5, ptr noundef %27, i32 noundef %25) #3 br label %139 29: ; preds = %1 %30 = load i32, ptr @CDAI_FLAG_STORE, align 4, !tbaa !9 %31 = and i32 %30, %12 %32 = icmp eq i32 %31, 0 br i1 %32, label %33, label %154 33: ; preds = %29 %34 = getelementptr inbounds i8, ptr %8, i64 56 %35 = load i32, ptr %34, align 8, !tbaa !21 %36 = getelementptr inbounds i8, ptr %0, i64 20 store i32 %35, ptr %36, align 4, !tbaa !17 %37 = icmp eq i32 %35, 0 br i1 %37, label %139, label %38 38: ; preds = %33 %39 = getelementptr inbounds i8, ptr %0, i64 16 %40 = load i32, ptr %39, align 8, !tbaa !19 %41 = tail call i32 @llvm.smin.i32(i32 %35, i32 %40) %42 = getelementptr inbounds i8, ptr %8, i64 48 %43 = load ptr, ptr %42, align 8, !tbaa !22 %44 = tail call i32 @memcpy(ptr noundef %5, ptr noundef %43, i32 noundef %41) #3 br label %139 45: ; preds = %1 %46 = load i32, ptr @CDAI_FLAG_STORE, align 4, !tbaa !9 %47 = and i32 %46, %12 %48 = icmp eq i32 %47, 0 br i1 %48, label %73, label %49 49: ; preds = %45 %50 = getelementptr inbounds i8, ptr %8, i64 32 %51 = load ptr, ptr %50, align 8, !tbaa !23 %52 = icmp eq ptr %51, null br i1 %52, label %57, label %53 53: ; preds = %49 %54 = load i32, ptr @M_CAMXPT, align 4, !tbaa !9 %55 = tail call i32 @free(ptr noundef nonnull %51, i32 noundef %54) #3 store ptr null, ptr %50, align 8, !tbaa !23 %56 = getelementptr inbounds i8, ptr %8, i64 40 store i32 0, ptr %56, align 8, !tbaa !24 br label %57 57: ; preds = %53, %49 %58 = getelementptr inbounds i8, ptr %0, i64 16 %59 = load i32, ptr %58, align 8, !tbaa !19 %60 = icmp eq i32 %59, 0 br i1 %60, label %139, label %61 61: ; preds = %57 %62 = load i32, ptr @M_CAMXPT, align 4, !tbaa !9 %63 = load i32, ptr @M_NOWAIT, align 4, !tbaa !9 %64 = tail call ptr @malloc(i32 noundef %59, i32 noundef %62, i32 noundef %63) #3 store ptr %64, ptr %50, align 8, !tbaa !23 %65 = icmp eq ptr %64, null br i1 %65, label %66, label %68 66: ; preds = %61 %67 = load ptr, ptr @CAM_REQ_ABORTED, align 8, !tbaa !11 store ptr %67, ptr %6, align 8, !tbaa !6 br label %154 68: ; preds = %61 %69 = load i32, ptr %58, align 8, !tbaa !19 %70 = getelementptr inbounds i8, ptr %8, i64 40 store i32 %69, ptr %70, align 8, !tbaa !24 %71 = load ptr, ptr %6, align 8, !tbaa !25 %72 = tail call i32 @memcpy(ptr noundef nonnull %64, ptr noundef %71, i32 noundef %69) #3 br label %139 73: ; preds = %45 %74 = getelementptr inbounds i8, ptr %8, i64 40 %75 = load i32, ptr %74, align 8, !tbaa !24 %76 = getelementptr inbounds i8, ptr %0, i64 20 store i32 %75, ptr %76, align 4, !tbaa !17 %77 = icmp eq i32 %75, 0 br i1 %77, label %139, label %78 78: ; preds = %73 %79 = getelementptr inbounds i8, ptr %0, i64 16 %80 = load i32, ptr %79, align 8, !tbaa !19 %81 = tail call i32 @llvm.smin.i32(i32 %75, i32 %80) %82 = getelementptr inbounds i8, ptr %8, i64 32 %83 = load ptr, ptr %82, align 8, !tbaa !23 %84 = tail call i32 @memcpy(ptr noundef %5, ptr noundef %83, i32 noundef %81) #3 br label %139 85: ; preds = %1 %86 = load i32, ptr @CDAI_FLAG_STORE, align 4, !tbaa !9 %87 = and i32 %86, %12 %88 = icmp eq i32 %87, 0 br i1 %88, label %112, label %89 89: ; preds = %85 %90 = getelementptr inbounds i8, ptr %8, i64 16 %91 = load ptr, ptr %90, align 8, !tbaa !26 %92 = icmp eq ptr %91, null br i1 %92, label %96, label %93 93: ; preds = %89 %94 = load i32, ptr @M_CAMXPT, align 4, !tbaa !9 %95 = tail call i32 @free(ptr noundef nonnull %91, i32 noundef %94) #3 store ptr null, ptr %90, align 8, !tbaa !26 br label %96 96: ; preds = %93, %89 %97 = getelementptr inbounds i8, ptr %0, i64 16 %98 = load i32, ptr %97, align 8, !tbaa !19 %99 = getelementptr inbounds i8, ptr %8, i64 24 store i32 %98, ptr %99, align 8, !tbaa !27 %100 = icmp eq i32 %98, 0 br i1 %100, label %139, label %101 101: ; preds = %96 %102 = load i32, ptr @M_CAMXPT, align 4, !tbaa !9 %103 = load i32, ptr @M_NOWAIT, align 4, !tbaa !9 %104 = tail call ptr @malloc(i32 noundef %98, i32 noundef %102, i32 noundef %103) #3 store ptr %104, ptr %90, align 8, !tbaa !26 %105 = icmp eq ptr %104, null br i1 %105, label %106, label %108 106: ; preds = %101 %107 = load ptr, ptr @CAM_REQ_ABORTED, align 8, !tbaa !11 store ptr %107, ptr %6, align 8, !tbaa !6 br label %154 108: ; preds = %101 %109 = load ptr, ptr %6, align 8, !tbaa !25 %110 = load i32, ptr %97, align 8, !tbaa !19 %111 = tail call i32 @memcpy(ptr noundef nonnull %104, ptr noundef %109, i32 noundef %110) #3 br label %139 112: ; preds = %85 %113 = getelementptr inbounds i8, ptr %8, i64 24 %114 = load i32, ptr %113, align 8, !tbaa !27 %115 = getelementptr inbounds i8, ptr %0, i64 20 store i32 %114, ptr %115, align 4, !tbaa !17 %116 = icmp eq i32 %114, 0 br i1 %116, label %139, label %117 117: ; preds = %112 %118 = getelementptr inbounds i8, ptr %0, i64 16 %119 = load i32, ptr %118, align 8, !tbaa !19 %120 = tail call i32 @llvm.smin.i32(i32 %114, i32 %119) %121 = getelementptr inbounds i8, ptr %8, i64 16 %122 = load ptr, ptr %121, align 8, !tbaa !26 %123 = tail call i32 @memcpy(ptr noundef %5, ptr noundef %122, i32 noundef %120) #3 br label %139 124: ; preds = %1 %125 = load i32, ptr @CDAI_FLAG_STORE, align 4, !tbaa !9 %126 = and i32 %125, %12 %127 = icmp eq i32 %126, 0 br i1 %127, label %128, label %154 128: ; preds = %124 %129 = getelementptr inbounds i8, ptr %8, i64 8 %130 = load i32, ptr %129, align 8, !tbaa !28 %131 = getelementptr inbounds i8, ptr %0, i64 20 store i32 %130, ptr %131, align 4, !tbaa !17 %132 = icmp eq i32 %130, 0 br i1 %132, label %139, label %133 133: ; preds = %128 %134 = getelementptr inbounds i8, ptr %0, i64 16 %135 = load i32, ptr %134, align 8, !tbaa !19 %136 = tail call i32 @llvm.smin.i32(i32 %130, i32 %135) %137 = load ptr, ptr %8, align 8, !tbaa !29 %138 = tail call i32 @memcpy(ptr noundef %5, ptr noundef %137, i32 noundef %136) #3 br label %139 139: ; preds = %128, %108, %117, %112, %96, %68, %78, %73, %57, %33, %17, %133, %38, %22 %140 = load ptr, ptr @CAM_REQ_CMP, align 8, !tbaa !11 store ptr %140, ptr %6, align 8, !tbaa !6 %141 = getelementptr inbounds i8, ptr %0, i64 4 %142 = load i32, ptr %141, align 4, !tbaa !30 %143 = load i32, ptr @CDAI_FLAG_STORE, align 4, !tbaa !9 %144 = and i32 %143, %142 %145 = icmp eq i32 %144, 0 br i1 %145, label %154, label %146 146: ; preds = %139 %147 = load i32, ptr @AC_ADVINFO_CHANGED, align 4, !tbaa !9 %148 = load ptr, ptr %0, align 8 %149 = ptrtoint ptr %148 to i64 %150 = shl i64 %149, 32 %151 = ashr exact i64 %150, 32 %152 = inttoptr i64 %151 to ptr %153 = tail call i32 @xpt_async(i32 noundef %147, ptr noundef %148, ptr noundef %152) #3 br label %154 154: ; preds = %139, %146, %1, %124, %29, %13, %106, %66 ret void } declare i32 @xpt_path_assert(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @free(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @malloc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @xpt_async(i32 noundef, ptr noundef, 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 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"any pointer", !7, i64 0} !13 = !{!14, !12, i64 0} !14 = !{!"TYPE_5__", !12, i64 0} !15 = !{!16, !10, i64 72} !16 = !{!"cam_ed", !12, i64 0, !10, i64 8, !12, i64 16, !10, i64 24, !12, i64 32, !10, i64 40, !12, i64 48, !10, i64 56, !12, i64 64, !10, i64 72} !17 = !{!18, !10, i64 20} !18 = !{!"ccb_dev_advinfo", !10, i64 0, !10, i64 4, !12, i64 8, !10, i64 16, !10, i64 20} !19 = !{!18, !10, i64 16} !20 = !{!16, !12, i64 64} !21 = !{!16, !10, i64 56} !22 = !{!16, !12, i64 48} !23 = !{!16, !12, i64 32} !24 = !{!16, !10, i64 40} !25 = !{!18, !12, i64 8} !26 = !{!16, !12, i64 16} !27 = !{!16, !10, i64 24} !28 = !{!16, !10, i64 8} !29 = !{!16, !12, i64 0} !30 = !{!18, !10, i64 4}
freebsd_sys_cam_scsi_extr_scsi_xpt.c_scsi_dev_advinfo
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/brcm80211/brcmsmac/phy/extr_phy_cmn.c_wlc_phy_antsel_type_set.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/brcm80211/brcmsmac/phy/extr_phy_cmn.c_wlc_phy_antsel_type_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: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable define dso_local void @wlc_phy_antsel_type_set(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 = !{!"brcms_phy", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/brcm80211/brcmsmac/phy/extr_phy_cmn.c_wlc_phy_antsel_type_set.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/brcm80211/brcmsmac/phy/extr_phy_cmn.c_wlc_phy_antsel_type_set.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 @wlc_phy_antsel_type_set(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 = !{!"brcms_phy", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_drivers_net_wireless_brcm80211_brcmsmac_phy_extr_phy_cmn.c_wlc_phy_antsel_type_set
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_dp.c_ilk_get_aux_clock_divider.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_dp.c_ilk_get_aux_clock_divider.c" target datalayout = "e-m:e-p270:32:32-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.drm_i915_private = type { i32, %struct.TYPE_4__ } %struct.TYPE_4__ = type { %struct.TYPE_3__ } %struct.TYPE_3__ = type { i32 } @AUX_CH_A = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @ilk_get_aux_clock_divider], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ilk_get_aux_clock_divider(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call ptr @dp_to_i915(ptr noundef %0) #2 %4 = tail call ptr @dp_to_dig_port(ptr noundef %0) #2 %5 = icmp eq i32 %1, 0 br i1 %5, label %6, label %14 6: ; preds = %2 %7 = load i64, ptr %4, align 8, !tbaa !5 %8 = load i64, ptr @AUX_CH_A, align 8, !tbaa !10 %9 = icmp eq i64 %7, %8 %10 = getelementptr inbounds %struct.drm_i915_private, ptr %3, i64 0, i32 1 %11 = select i1 %9, ptr %10, ptr %3 %12 = load i32, ptr %11, align 4, !tbaa !11 %13 = tail call i32 @DIV_ROUND_CLOSEST(i32 noundef %12, i32 noundef 2000) #2 br label %14 14: ; preds = %6, %2 %15 = phi i32 [ 0, %2 ], [ %13, %6 ] ret i32 %15 } declare ptr @dp_to_i915(ptr noundef) local_unnamed_addr #1 declare ptr @dp_to_dig_port(ptr noundef) local_unnamed_addr #1 declare i32 @DIV_ROUND_CLOSEST(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"intel_digital_port", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_dp.c_ilk_get_aux_clock_divider.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_dp.c_ilk_get_aux_clock_divider.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @AUX_CH_A = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @ilk_get_aux_clock_divider], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ilk_get_aux_clock_divider(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call ptr @dp_to_i915(ptr noundef %0) #2 %4 = tail call ptr @dp_to_dig_port(ptr noundef %0) #2 %5 = icmp eq i32 %1, 0 br i1 %5, label %6, label %14 6: ; preds = %2 %7 = load i64, ptr %4, align 8, !tbaa !6 %8 = load i64, ptr @AUX_CH_A, align 8, !tbaa !11 %9 = icmp eq i64 %7, %8 %10 = select i1 %9, i64 4, i64 0 %11 = getelementptr inbounds i8, ptr %3, i64 %10 %12 = load i32, ptr %11, align 4, !tbaa !12 %13 = tail call i32 @DIV_ROUND_CLOSEST(i32 noundef %12, i32 noundef 2000) #2 br label %14 14: ; preds = %6, %2 %15 = phi i32 [ 0, %2 ], [ %13, %6 ] ret i32 %15 } declare ptr @dp_to_i915(ptr noundef) local_unnamed_addr #1 declare ptr @dp_to_dig_port(ptr noundef) local_unnamed_addr #1 declare i32 @DIV_ROUND_CLOSEST(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"intel_digital_port", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"int", !9, i64 0}
linux_drivers_gpu_drm_i915_display_extr_intel_dp.c_ilk_get_aux_clock_divider
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/disp/dpu1/extr_dpu_encoder_phys_cmd.c_dpu_encoder_phys_cmd_get_hw_resources.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/disp/dpu1/extr_dpu_encoder_phys_cmd.c_dpu_encoder_phys_cmd_get_hw_resources.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @INTF_MODE_CMD = dso_local local_unnamed_addr global i32 0, align 4 @INTF_0 = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @dpu_encoder_phys_cmd_get_hw_resources], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable define internal void @dpu_encoder_phys_cmd_get_hw_resources(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 { %3 = load i32, ptr @INTF_MODE_CMD, align 4, !tbaa !5 %4 = load ptr, ptr %1, align 8, !tbaa !9 %5 = load i64, ptr %0, align 8, !tbaa !12 %6 = load i64, ptr @INTF_0, align 8, !tbaa !15 %7 = sub i64 %5, %6 %8 = getelementptr inbounds i32, ptr %4, i64 %7 store i32 %3, ptr %8, align 4, !tbaa !5 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"dpu_encoder_hw_resources", !11, i64 0} !11 = !{!"any pointer", !7, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"dpu_encoder_phys", !14, i64 0} !14 = !{!"long", !7, i64 0} !15 = !{!14, !14, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/disp/dpu1/extr_dpu_encoder_phys_cmd.c_dpu_encoder_phys_cmd_get_hw_resources.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/disp/dpu1/extr_dpu_encoder_phys_cmd.c_dpu_encoder_phys_cmd_get_hw_resources.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @INTF_MODE_CMD = common local_unnamed_addr global i32 0, align 4 @INTF_0 = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @dpu_encoder_phys_cmd_get_hw_resources], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, inaccessiblemem: none) uwtable(sync) define internal void @dpu_encoder_phys_cmd_get_hw_resources(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 { %3 = load i32, ptr @INTF_MODE_CMD, align 4, !tbaa !6 %4 = load ptr, ptr %1, align 8, !tbaa !10 %5 = load i64, ptr %0, align 8, !tbaa !13 %6 = load i64, ptr @INTF_0, align 8, !tbaa !16 %7 = sub i64 %5, %6 %8 = getelementptr inbounds i32, ptr %4, i64 %7 store i32 %3, ptr %8, align 4, !tbaa !6 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"dpu_encoder_hw_resources", !12, i64 0} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !15, i64 0} !14 = !{!"dpu_encoder_phys", !15, i64 0} !15 = !{!"long", !8, i64 0} !16 = !{!15, !15, i64 0}
linux_drivers_gpu_drm_msm_disp_dpu1_extr_dpu_encoder_phys_cmd.c_dpu_encoder_phys_cmd_get_hw_resources
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/extr_neofb.c_neofb_copyarea.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/video/extr_neofb.c_neofb_copyarea.c" target datalayout = "e-m:e-p270:32:32-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 @neofb_copyarea], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @neofb_copyarea(ptr noundef %0, ptr noundef %1) #0 { %3 = load i32, ptr %0, align 4, !tbaa !5 %4 = and i32 %3, -4 %5 = icmp eq i32 %4, 128 br i1 %5, label %6, label %8 6: ; preds = %2 %7 = tail call i32 @neo2200_copyarea(ptr noundef nonnull %0, ptr noundef %1) #2 br label %10 8: ; preds = %2 %9 = tail call i32 @cfb_copyarea(ptr noundef nonnull %0, ptr noundef %1) #2 br label %10 10: ; preds = %8, %6 ret void } declare i32 @neo2200_copyarea(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @cfb_copyarea(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !8, i64 0} !6 = !{!"fb_info", !7, i64 0} !7 = !{!"TYPE_2__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/extr_neofb.c_neofb_copyarea.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/video/extr_neofb.c_neofb_copyarea.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 @neofb_copyarea], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @neofb_copyarea(ptr noundef %0, ptr noundef %1) #0 { %3 = load i32, ptr %0, align 4, !tbaa !6 %4 = and i32 %3, -4 %5 = icmp eq i32 %4, 128 br i1 %5, label %6, label %8 6: ; preds = %2 %7 = tail call i32 @neo2200_copyarea(ptr noundef nonnull %0, ptr noundef %1) #2 br label %10 8: ; preds = %2 %9 = tail call i32 @cfb_copyarea(ptr noundef nonnull %0, ptr noundef %1) #2 br label %10 10: ; preds = %8, %6 ret void } declare i32 @neo2200_copyarea(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @cfb_copyarea(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !9, i64 0} !7 = !{!"fb_info", !8, i64 0} !8 = !{!"TYPE_2__", !9, i64 0} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_drivers_video_extr_neofb.c_neofb_copyarea
; ModuleID = 'AnghaBench/postgres/src/backend/utils/adt/extr_float.c_check_float8_array.c' source_filename = "AnghaBench/postgres/src/backend/utils/adt/extr_float.c_check_float8_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" @FLOAT8OID = dso_local local_unnamed_addr global i64 0, align 8 @ERROR = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [37 x i8] c"%s: expected %d-element float8 array\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @check_float8_array], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @check_float8_array(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = tail call i32 @ARR_NDIM(ptr noundef %0) #2 %5 = icmp eq i32 %4, 1 br i1 %5, label %6, label %17 6: ; preds = %3 %7 = tail call ptr @ARR_DIMS(ptr noundef %0) #2 %8 = load i32, ptr %7, align 4, !tbaa !5 %9 = icmp eq i32 %8, %2 br i1 %9, label %10, label %17 10: ; preds = %6 %11 = tail call i64 @ARR_HASNULL(ptr noundef %0) #2 %12 = icmp eq i64 %11, 0 br i1 %12, label %13, label %17 13: ; preds = %10 %14 = tail call i64 @ARR_ELEMTYPE(ptr noundef %0) #2 %15 = load i64, ptr @FLOAT8OID, align 8, !tbaa !9 %16 = icmp eq i64 %14, %15 br i1 %16, label %20, label %17 17: ; preds = %13, %10, %6, %3 %18 = load i32, ptr @ERROR, align 4, !tbaa !5 %19 = tail call i32 @elog(i32 noundef %18, ptr noundef nonnull @.str, ptr noundef %1, i32 noundef %2) #2 br label %20 20: ; preds = %17, %13 %21 = tail call i64 @ARR_DATA_PTR(ptr noundef %0) #2 %22 = inttoptr i64 %21 to ptr ret ptr %22 } declare i32 @ARR_NDIM(ptr noundef) local_unnamed_addr #1 declare ptr @ARR_DIMS(ptr noundef) local_unnamed_addr #1 declare i64 @ARR_HASNULL(ptr noundef) local_unnamed_addr #1 declare i64 @ARR_ELEMTYPE(ptr noundef) local_unnamed_addr #1 declare i32 @elog(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @ARR_DATA_PTR(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/postgres/src/backend/utils/adt/extr_float.c_check_float8_array.c' source_filename = "AnghaBench/postgres/src/backend/utils/adt/extr_float.c_check_float8_array.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @FLOAT8OID = common local_unnamed_addr global i64 0, align 8 @ERROR = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [37 x i8] c"%s: expected %d-element float8 array\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @check_float8_array], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @check_float8_array(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = tail call i32 @ARR_NDIM(ptr noundef %0) #2 %5 = icmp eq i32 %4, 1 br i1 %5, label %6, label %17 6: ; preds = %3 %7 = tail call ptr @ARR_DIMS(ptr noundef %0) #2 %8 = load i32, ptr %7, align 4, !tbaa !6 %9 = icmp eq i32 %8, %2 br i1 %9, label %10, label %17 10: ; preds = %6 %11 = tail call i64 @ARR_HASNULL(ptr noundef %0) #2 %12 = icmp eq i64 %11, 0 br i1 %12, label %13, label %17 13: ; preds = %10 %14 = tail call i64 @ARR_ELEMTYPE(ptr noundef %0) #2 %15 = load i64, ptr @FLOAT8OID, align 8, !tbaa !10 %16 = icmp eq i64 %14, %15 br i1 %16, label %20, label %17 17: ; preds = %13, %10, %6, %3 %18 = load i32, ptr @ERROR, align 4, !tbaa !6 %19 = tail call i32 @elog(i32 noundef %18, ptr noundef nonnull @.str, ptr noundef %1, i32 noundef %2) #2 br label %20 20: ; preds = %17, %13 %21 = tail call i64 @ARR_DATA_PTR(ptr noundef %0) #2 %22 = inttoptr i64 %21 to ptr ret ptr %22 } declare i32 @ARR_NDIM(ptr noundef) local_unnamed_addr #1 declare ptr @ARR_DIMS(ptr noundef) local_unnamed_addr #1 declare i64 @ARR_HASNULL(ptr noundef) local_unnamed_addr #1 declare i64 @ARR_ELEMTYPE(ptr noundef) local_unnamed_addr #1 declare i32 @elog(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @ARR_DATA_PTR(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0}
postgres_src_backend_utils_adt_extr_float.c_check_float8_array
; ModuleID = 'AnghaBench/freebsd/sys/dev/ofw/extr_ofw_console.c_ofwtty_close.c' source_filename = "AnghaBench/freebsd/sys/dev/ofw/extr_ofw_console.c_ofwtty_close.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ofw_timer = dso_local global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ofwtty_close], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ofwtty_close(ptr nocapture readnone %0) #0 { %2 = tail call i32 @callout_stop(ptr noundef nonnull @ofw_timer) #2 ret void } declare i32 @callout_stop(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/dev/ofw/extr_ofw_console.c_ofwtty_close.c' source_filename = "AnghaBench/freebsd/sys/dev/ofw/extr_ofw_console.c_ofwtty_close.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ofw_timer = common global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ofwtty_close], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ofwtty_close(ptr nocapture readnone %0) #0 { %2 = tail call i32 @callout_stop(ptr noundef nonnull @ofw_timer) #2 ret void } declare i32 @callout_stop(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_dev_ofw_extr_ofw_console.c_ofwtty_close
; ModuleID = 'AnghaBench/linux/drivers/media/common/videobuf2/extr_videobuf2-core.c___vb2_queue_cancel.c' source_filename = "AnghaBench/linux/drivers/media/common/videobuf2/extr_videobuf2-core.c___vb2_queue_cancel.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.vb2_queue = type { i32, ptr, i32, i32, i32, i32, i64, i64, i64, i64, i64, i64 } %struct.vb2_buffer = type { i64, i32, i64, ptr, %struct.TYPE_5__, i64, i64, ptr } %struct.TYPE_5__ = type { ptr } %struct.media_request = type { i32, i32 } %struct.TYPE_4__ = type { i32 } @stop_streaming = dso_local local_unnamed_addr global i32 0, align 4 @VB2_BUF_STATE_ACTIVE = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [72 x i8] c"driver bug: stop_streaming operation is leaving buf %p in active state\0A\00", align 1 @VB2_BUF_STATE_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @MEDIA_REQUEST_STATE_QUEUED = dso_local local_unnamed_addr global i32 0, align 4 @buf_request_complete = dso_local local_unnamed_addr global i32 0, align 4 @finish = dso_local local_unnamed_addr global i32 0, align 4 @buf_finish = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @__vb2_queue_cancel], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @__vb2_queue_cancel(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.vb2_queue, ptr %0, i64 0, i32 10 %3 = load i64, ptr %2, align 8, !tbaa !5 %4 = icmp eq i64 %3, 0 br i1 %4, label %8, label %5 5: ; preds = %1 %6 = load i32, ptr @stop_streaming, align 4, !tbaa !12 %7 = tail call i32 @call_void_qop(ptr noundef nonnull %0, i32 noundef %6, ptr noundef nonnull %0) #3 br label %8 8: ; preds = %5, %1 %9 = getelementptr inbounds %struct.vb2_queue, ptr %0, i64 0, i32 3 %10 = tail call i32 @atomic_read(ptr noundef nonnull %9) #3 %11 = tail call i64 @WARN_ON(i32 noundef %10) #3 %12 = icmp eq i64 %11, 0 br i1 %12, label %46, label %13 13: ; preds = %8 %14 = load i32, ptr %0, align 8, !tbaa !13 %15 = icmp eq i32 %14, 0 br i1 %15, label %43, label %16 16: ; preds = %13 %17 = getelementptr inbounds %struct.vb2_queue, ptr %0, i64 0, i32 1 %18 = load i64, ptr @VB2_BUF_STATE_ACTIVE, align 8, !tbaa !14 br label %19 19: ; preds = %16, %37 %20 = phi i32 [ %14, %16 ], [ %38, %37 ] %21 = phi i64 [ %18, %16 ], [ %39, %37 ] %22 = phi i64 [ 0, %16 ], [ %40, %37 ] %23 = load ptr, ptr %17, align 8, !tbaa !15 %24 = getelementptr inbounds ptr, ptr %23, i64 %22 %25 = load ptr, ptr %24, align 8, !tbaa !16 %26 = load i64, ptr %25, align 8, !tbaa !17 %27 = icmp eq i64 %26, %21 br i1 %27, label %28, label %37 28: ; preds = %19 %29 = tail call i32 @pr_warn(ptr noundef nonnull @.str, ptr noundef nonnull %25) #3 %30 = load ptr, ptr %17, align 8, !tbaa !15 %31 = getelementptr inbounds ptr, ptr %30, i64 %22 %32 = load ptr, ptr %31, align 8, !tbaa !16 %33 = load i32, ptr @VB2_BUF_STATE_ERROR, align 4, !tbaa !12 %34 = tail call i32 @vb2_buffer_done(ptr noundef %32, i32 noundef %33) #3 %35 = load i64, ptr @VB2_BUF_STATE_ACTIVE, align 8, !tbaa !14 %36 = load i32, ptr %0, align 8, !tbaa !13 br label %37 37: ; preds = %19, %28 %38 = phi i32 [ %20, %19 ], [ %36, %28 ] %39 = phi i64 [ %21, %19 ], [ %35, %28 ] %40 = add nuw nsw i64 %22, 1 %41 = zext i32 %38 to i64 %42 = icmp ult i64 %40, %41 br i1 %42, label %19, label %43, !llvm.loop !20 43: ; preds = %37, %13 %44 = tail call i32 @atomic_read(ptr noundef nonnull %9) #3 %45 = tail call i64 @WARN_ON(i32 noundef %44) #3 br label %46 46: ; preds = %43, %8 %47 = getelementptr inbounds %struct.vb2_queue, ptr %0, i64 0, i32 6 %48 = getelementptr inbounds %struct.vb2_queue, ptr %0, i64 0, i32 5 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(48) %47, i8 0, i64 48, i1 false) %49 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %48) #3 %50 = getelementptr inbounds %struct.vb2_queue, ptr %0, i64 0, i32 4 %51 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %50) #3 %52 = tail call i32 @atomic_set(ptr noundef nonnull %9, i32 noundef 0) #3 %53 = getelementptr inbounds %struct.vb2_queue, ptr %0, i64 0, i32 2 %54 = tail call i32 @wake_up_all(ptr noundef nonnull %53) #3 %55 = load i32, ptr %0, align 8, !tbaa !13 %56 = icmp eq i32 %55, 0 br i1 %56, label %125, label %57 57: ; preds = %46 %58 = getelementptr inbounds %struct.vb2_queue, ptr %0, i64 0, i32 1 br label %59 59: ; preds = %57, %119 %60 = phi i64 [ 0, %57 ], [ %121, %119 ] %61 = load ptr, ptr %58, align 8, !tbaa !15 %62 = getelementptr inbounds ptr, ptr %61, i64 %60 %63 = load ptr, ptr %62, align 8, !tbaa !16 %64 = getelementptr inbounds %struct.vb2_buffer, ptr %63, i64 0, i32 4 %65 = load ptr, ptr %64, align 8, !tbaa !22 %66 = icmp eq ptr %65, null br i1 %66, label %77, label %67 67: ; preds = %59 %68 = getelementptr inbounds %struct.media_request, ptr %65, i64 0, i32 1 %69 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %68, i64 noundef undef) #3 %70 = load i32, ptr %65, align 4, !tbaa !23 %71 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %68, i64 noundef undef) #3 %72 = load i32, ptr @MEDIA_REQUEST_STATE_QUEUED, align 4, !tbaa !12 %73 = icmp eq i32 %70, %72 br i1 %73, label %74, label %77 74: ; preds = %67 %75 = load i32, ptr @buf_request_complete, align 4, !tbaa !12 %76 = tail call i32 @call_void_vb_qop(ptr noundef nonnull %63, i32 noundef %75, ptr noundef nonnull %63) #3 br label %77 77: ; preds = %67, %74, %59 %78 = getelementptr inbounds %struct.vb2_buffer, ptr %63, i64 0, i32 6 %79 = load i64, ptr %78, align 8, !tbaa !25 %80 = icmp eq i64 %79, 0 br i1 %80, label %99, label %81 81: ; preds = %77 %82 = getelementptr inbounds %struct.vb2_buffer, ptr %63, i64 0, i32 1 %83 = load i32, ptr %82, align 8, !tbaa !26 %84 = icmp eq i32 %83, 0 br i1 %84, label %98, label %85 85: ; preds = %81 %86 = getelementptr inbounds %struct.vb2_buffer, ptr %63, i64 0, i32 7 br label %87 87: ; preds = %85, %87 %88 = phi i64 [ 0, %85 ], [ %94, %87 ] %89 = load i32, ptr @finish, align 4, !tbaa !12 %90 = load ptr, ptr %86, align 8, !tbaa !27 %91 = getelementptr inbounds %struct.TYPE_4__, ptr %90, i64 %88 %92 = load i32, ptr %91, align 4, !tbaa !28 %93 = tail call i32 @call_void_memop(ptr noundef nonnull %63, i32 noundef %89, i32 noundef %92) #3 %94 = add nuw nsw i64 %88, 1 %95 = load i32, ptr %82, align 8, !tbaa !26 %96 = zext i32 %95 to i64 %97 = icmp ult i64 %94, %96 br i1 %97, label %87, label %98, !llvm.loop !30 98: ; preds = %87, %81 store i64 0, ptr %78, align 8, !tbaa !25 br label %99 99: ; preds = %98, %77 %100 = getelementptr inbounds %struct.vb2_buffer, ptr %63, i64 0, i32 5 %101 = load i64, ptr %100, align 8, !tbaa !31 %102 = icmp eq i64 %101, 0 br i1 %102, label %106, label %103 103: ; preds = %99 %104 = load i32, ptr @buf_finish, align 4, !tbaa !12 %105 = tail call i32 @call_void_vb_qop(ptr noundef nonnull %63, i32 noundef %104, ptr noundef nonnull %63) #3 store i64 0, ptr %100, align 8, !tbaa !31 br label %106 106: ; preds = %103, %99 %107 = tail call i32 @__vb2_dqbuf(ptr noundef nonnull %63) #3 %108 = load ptr, ptr %64, align 8, !tbaa !22 %109 = icmp eq ptr %108, null br i1 %109, label %113, label %110 110: ; preds = %106 %111 = tail call i32 @media_request_object_unbind(ptr noundef nonnull %64) #3 %112 = tail call i32 @media_request_object_put(ptr noundef nonnull %64) #3 br label %113 113: ; preds = %110, %106 %114 = getelementptr inbounds %struct.vb2_buffer, ptr %63, i64 0, i32 3 %115 = load ptr, ptr %114, align 8, !tbaa !32 %116 = icmp eq ptr %115, null br i1 %116, label %119, label %117 117: ; preds = %113 %118 = tail call i32 @media_request_put(ptr noundef nonnull %115) #3 br label %119 119: ; preds = %117, %113 %120 = getelementptr inbounds %struct.vb2_buffer, ptr %63, i64 0, i32 2 %121 = add nuw nsw i64 %60, 1 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %120, i8 0, i64 16, i1 false) %122 = load i32, ptr %0, align 8, !tbaa !13 %123 = zext i32 %122 to i64 %124 = icmp ult i64 %121, %123 br i1 %124, label %59, label %125, !llvm.loop !33 125: ; preds = %119, %46 ret void } declare i32 @call_void_qop(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @WARN_ON(i32 noundef) local_unnamed_addr #1 declare i32 @atomic_read(ptr noundef) local_unnamed_addr #1 declare i32 @pr_warn(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @vb2_buffer_done(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @INIT_LIST_HEAD(ptr noundef) local_unnamed_addr #1 declare i32 @atomic_set(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @wake_up_all(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @call_void_vb_qop(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @call_void_memop(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @__vb2_dqbuf(ptr noundef) local_unnamed_addr #1 declare i32 @media_request_object_unbind(ptr noundef) local_unnamed_addr #1 declare i32 @media_request_object_put(ptr noundef) local_unnamed_addr #1 declare i32 @media_request_put(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !11, i64 64} !6 = !{!"vb2_queue", !7, i64 0, !10, i64 8, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !11, i64 64, !11, i64 72} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!7, !7, i64 0} !13 = !{!6, !7, i64 0} !14 = !{!11, !11, i64 0} !15 = !{!6, !10, i64 8} !16 = !{!10, !10, i64 0} !17 = !{!18, !11, i64 0} !18 = !{!"vb2_buffer", !11, i64 0, !7, i64 8, !11, i64 16, !10, i64 24, !19, i64 32, !11, i64 40, !11, i64 48, !10, i64 56} !19 = !{!"TYPE_5__", !10, i64 0} !20 = distinct !{!20, !21} !21 = !{!"llvm.loop.mustprogress"} !22 = !{!18, !10, i64 32} !23 = !{!24, !7, i64 0} !24 = !{!"media_request", !7, i64 0, !7, i64 4} !25 = !{!18, !11, i64 48} !26 = !{!18, !7, i64 8} !27 = !{!18, !10, i64 56} !28 = !{!29, !7, i64 0} !29 = !{!"TYPE_4__", !7, i64 0} !30 = distinct !{!30, !21} !31 = !{!18, !11, i64 40} !32 = !{!18, !10, i64 24} !33 = distinct !{!33, !21}
; ModuleID = 'AnghaBench/linux/drivers/media/common/videobuf2/extr_videobuf2-core.c___vb2_queue_cancel.c' source_filename = "AnghaBench/linux/drivers/media/common/videobuf2/extr_videobuf2-core.c___vb2_queue_cancel.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_4__ = type { i32 } @stop_streaming = common local_unnamed_addr global i32 0, align 4 @VB2_BUF_STATE_ACTIVE = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [72 x i8] c"driver bug: stop_streaming operation is leaving buf %p in active state\0A\00", align 1 @VB2_BUF_STATE_ERROR = common local_unnamed_addr global i32 0, align 4 @MEDIA_REQUEST_STATE_QUEUED = common local_unnamed_addr global i32 0, align 4 @buf_request_complete = common local_unnamed_addr global i32 0, align 4 @finish = common local_unnamed_addr global i32 0, align 4 @buf_finish = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @__vb2_queue_cancel], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @__vb2_queue_cancel(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 64 %3 = load i64, ptr %2, align 8, !tbaa !6 %4 = icmp eq i64 %3, 0 br i1 %4, label %8, label %5 5: ; preds = %1 %6 = load i32, ptr @stop_streaming, align 4, !tbaa !13 %7 = tail call i32 @call_void_qop(ptr noundef nonnull %0, i32 noundef %6, ptr noundef nonnull %0) #3 br label %8 8: ; preds = %5, %1 %9 = getelementptr inbounds i8, ptr %0, i64 20 %10 = tail call i32 @atomic_read(ptr noundef nonnull %9) #3 %11 = tail call i64 @WARN_ON(i32 noundef %10) #3 %12 = icmp eq i64 %11, 0 br i1 %12, label %46, label %13 13: ; preds = %8 %14 = load i32, ptr %0, align 8, !tbaa !14 %15 = icmp eq i32 %14, 0 br i1 %15, label %43, label %16 16: ; preds = %13 %17 = getelementptr inbounds i8, ptr %0, i64 8 %18 = load i64, ptr @VB2_BUF_STATE_ACTIVE, align 8, !tbaa !15 br label %19 19: ; preds = %16, %37 %20 = phi i32 [ %14, %16 ], [ %38, %37 ] %21 = phi i64 [ %18, %16 ], [ %39, %37 ] %22 = phi i64 [ 0, %16 ], [ %40, %37 ] %23 = load ptr, ptr %17, align 8, !tbaa !16 %24 = getelementptr inbounds ptr, ptr %23, i64 %22 %25 = load ptr, ptr %24, align 8, !tbaa !17 %26 = load i64, ptr %25, align 8, !tbaa !18 %27 = icmp eq i64 %26, %21 br i1 %27, label %28, label %37 28: ; preds = %19 %29 = tail call i32 @pr_warn(ptr noundef nonnull @.str, ptr noundef nonnull %25) #3 %30 = load ptr, ptr %17, align 8, !tbaa !16 %31 = getelementptr inbounds ptr, ptr %30, i64 %22 %32 = load ptr, ptr %31, align 8, !tbaa !17 %33 = load i32, ptr @VB2_BUF_STATE_ERROR, align 4, !tbaa !13 %34 = tail call i32 @vb2_buffer_done(ptr noundef %32, i32 noundef %33) #3 %35 = load i64, ptr @VB2_BUF_STATE_ACTIVE, align 8, !tbaa !15 %36 = load i32, ptr %0, align 8, !tbaa !14 br label %37 37: ; preds = %19, %28 %38 = phi i32 [ %20, %19 ], [ %36, %28 ] %39 = phi i64 [ %21, %19 ], [ %35, %28 ] %40 = add nuw nsw i64 %22, 1 %41 = zext i32 %38 to i64 %42 = icmp ult i64 %40, %41 br i1 %42, label %19, label %43, !llvm.loop !21 43: ; preds = %37, %13 %44 = tail call i32 @atomic_read(ptr noundef nonnull %9) #3 %45 = tail call i64 @WARN_ON(i32 noundef %44) #3 br label %46 46: ; preds = %43, %8 %47 = getelementptr inbounds i8, ptr %0, i64 32 %48 = getelementptr inbounds i8, ptr %0, i64 28 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(48) %47, i8 0, i64 48, i1 false) %49 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %48) #3 %50 = getelementptr inbounds i8, ptr %0, i64 24 %51 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %50) #3 %52 = tail call i32 @atomic_set(ptr noundef nonnull %9, i32 noundef 0) #3 %53 = getelementptr inbounds i8, ptr %0, i64 16 %54 = tail call i32 @wake_up_all(ptr noundef nonnull %53) #3 %55 = load i32, ptr %0, align 8, !tbaa !14 %56 = icmp eq i32 %55, 0 br i1 %56, label %125, label %57 57: ; preds = %46 %58 = getelementptr inbounds i8, ptr %0, i64 8 br label %59 59: ; preds = %57, %119 %60 = phi i64 [ 0, %57 ], [ %121, %119 ] %61 = load ptr, ptr %58, align 8, !tbaa !16 %62 = getelementptr inbounds ptr, ptr %61, i64 %60 %63 = load ptr, ptr %62, align 8, !tbaa !17 %64 = getelementptr inbounds i8, ptr %63, i64 32 %65 = load ptr, ptr %64, align 8, !tbaa !23 %66 = icmp eq ptr %65, null br i1 %66, label %77, label %67 67: ; preds = %59 %68 = getelementptr inbounds i8, ptr %65, i64 4 %69 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %68, i64 noundef undef) #3 %70 = load i32, ptr %65, align 4, !tbaa !24 %71 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %68, i64 noundef undef) #3 %72 = load i32, ptr @MEDIA_REQUEST_STATE_QUEUED, align 4, !tbaa !13 %73 = icmp eq i32 %70, %72 br i1 %73, label %74, label %77 74: ; preds = %67 %75 = load i32, ptr @buf_request_complete, align 4, !tbaa !13 %76 = tail call i32 @call_void_vb_qop(ptr noundef nonnull %63, i32 noundef %75, ptr noundef nonnull %63) #3 br label %77 77: ; preds = %67, %74, %59 %78 = getelementptr inbounds i8, ptr %63, i64 48 %79 = load i64, ptr %78, align 8, !tbaa !26 %80 = icmp eq i64 %79, 0 br i1 %80, label %99, label %81 81: ; preds = %77 %82 = getelementptr inbounds i8, ptr %63, i64 8 %83 = load i32, ptr %82, align 8, !tbaa !27 %84 = icmp eq i32 %83, 0 br i1 %84, label %98, label %85 85: ; preds = %81 %86 = getelementptr inbounds i8, ptr %63, i64 56 br label %87 87: ; preds = %85, %87 %88 = phi i64 [ 0, %85 ], [ %94, %87 ] %89 = load i32, ptr @finish, align 4, !tbaa !13 %90 = load ptr, ptr %86, align 8, !tbaa !28 %91 = getelementptr inbounds %struct.TYPE_4__, ptr %90, i64 %88 %92 = load i32, ptr %91, align 4, !tbaa !29 %93 = tail call i32 @call_void_memop(ptr noundef nonnull %63, i32 noundef %89, i32 noundef %92) #3 %94 = add nuw nsw i64 %88, 1 %95 = load i32, ptr %82, align 8, !tbaa !27 %96 = zext i32 %95 to i64 %97 = icmp ult i64 %94, %96 br i1 %97, label %87, label %98, !llvm.loop !31 98: ; preds = %87, %81 store i64 0, ptr %78, align 8, !tbaa !26 br label %99 99: ; preds = %98, %77 %100 = getelementptr inbounds i8, ptr %63, i64 40 %101 = load i64, ptr %100, align 8, !tbaa !32 %102 = icmp eq i64 %101, 0 br i1 %102, label %106, label %103 103: ; preds = %99 %104 = load i32, ptr @buf_finish, align 4, !tbaa !13 %105 = tail call i32 @call_void_vb_qop(ptr noundef nonnull %63, i32 noundef %104, ptr noundef nonnull %63) #3 store i64 0, ptr %100, align 8, !tbaa !32 br label %106 106: ; preds = %103, %99 %107 = tail call i32 @__vb2_dqbuf(ptr noundef nonnull %63) #3 %108 = load ptr, ptr %64, align 8, !tbaa !23 %109 = icmp eq ptr %108, null br i1 %109, label %113, label %110 110: ; preds = %106 %111 = tail call i32 @media_request_object_unbind(ptr noundef nonnull %64) #3 %112 = tail call i32 @media_request_object_put(ptr noundef nonnull %64) #3 br label %113 113: ; preds = %110, %106 %114 = getelementptr inbounds i8, ptr %63, i64 24 %115 = load ptr, ptr %114, align 8, !tbaa !33 %116 = icmp eq ptr %115, null br i1 %116, label %119, label %117 117: ; preds = %113 %118 = tail call i32 @media_request_put(ptr noundef nonnull %115) #3 br label %119 119: ; preds = %117, %113 %120 = getelementptr inbounds i8, ptr %63, i64 16 %121 = add nuw nsw i64 %60, 1 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %120, i8 0, i64 16, i1 false) %122 = load i32, ptr %0, align 8, !tbaa !14 %123 = zext i32 %122 to i64 %124 = icmp ult i64 %121, %123 br i1 %124, label %59, label %125, !llvm.loop !34 125: ; preds = %119, %46 ret void } declare i32 @call_void_qop(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @WARN_ON(i32 noundef) local_unnamed_addr #1 declare i32 @atomic_read(ptr noundef) local_unnamed_addr #1 declare i32 @pr_warn(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @vb2_buffer_done(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @INIT_LIST_HEAD(ptr noundef) local_unnamed_addr #1 declare i32 @atomic_set(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @wake_up_all(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @call_void_vb_qop(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @call_void_memop(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @__vb2_dqbuf(ptr noundef) local_unnamed_addr #1 declare i32 @media_request_object_unbind(ptr noundef) local_unnamed_addr #1 declare i32 @media_request_object_put(ptr noundef) local_unnamed_addr #1 declare i32 @media_request_put(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !12, i64 64} !7 = !{!"vb2_queue", !8, i64 0, !11, i64 8, !8, i64 16, !8, i64 20, !8, i64 24, !8, i64 28, !12, i64 32, !12, i64 40, !12, i64 48, !12, i64 56, !12, i64 64, !12, i64 72} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!"long", !9, i64 0} !13 = !{!8, !8, i64 0} !14 = !{!7, !8, i64 0} !15 = !{!12, !12, i64 0} !16 = !{!7, !11, i64 8} !17 = !{!11, !11, i64 0} !18 = !{!19, !12, i64 0} !19 = !{!"vb2_buffer", !12, i64 0, !8, i64 8, !12, i64 16, !11, i64 24, !20, i64 32, !12, i64 40, !12, i64 48, !11, i64 56} !20 = !{!"TYPE_5__", !11, i64 0} !21 = distinct !{!21, !22} !22 = !{!"llvm.loop.mustprogress"} !23 = !{!19, !11, i64 32} !24 = !{!25, !8, i64 0} !25 = !{!"media_request", !8, i64 0, !8, i64 4} !26 = !{!19, !12, i64 48} !27 = !{!19, !8, i64 8} !28 = !{!19, !11, i64 56} !29 = !{!30, !8, i64 0} !30 = !{!"TYPE_4__", !8, i64 0} !31 = distinct !{!31, !22} !32 = !{!19, !12, i64 40} !33 = !{!19, !11, i64 24} !34 = distinct !{!34, !22}
linux_drivers_media_common_videobuf2_extr_videobuf2-core.c___vb2_queue_cancel
; ModuleID = 'AnghaBench/vlc/src/network/extr_stream.c_vlc_tls_ConnectWrite.c' source_filename = "AnghaBench/vlc/src/network/extr_stream.c_vlc_tls_ConnectWrite.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @vlc_tls_socket_ops = dso_local global i32 0, align 4 @EINPROGRESS = dso_local local_unnamed_addr global i64 0, align 8 @EOPNOTSUPP = dso_local local_unnamed_addr global i64 0, align 8 @MSG_FASTOPEN = dso_local local_unnamed_addr global i32 0, align 4 @MSG_NOSIGNAL = dso_local local_unnamed_addr global i32 0, align 4 @errno = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @vlc_tls_ConnectWrite], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i64 @vlc_tls_ConnectWrite(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { store ptr @vlc_tls_socket_ops, ptr %0, align 8, !tbaa !5 %4 = tail call i64 @vlc_tls_Connect(ptr noundef nonnull %0) #2 %5 = icmp eq i64 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %3 %7 = tail call i64 @vlc_tls_SocketWrite(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %2) #2 br label %8 8: ; preds = %3, %6 %9 = phi i64 [ %7, %6 ], [ -1, %3 ] ret i64 %9 } declare i64 @vlc_tls_Connect(ptr noundef) local_unnamed_addr #1 declare i64 @vlc_tls_SocketWrite(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 = !{!"TYPE_7__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/vlc/src/network/extr_stream.c_vlc_tls_ConnectWrite.c' source_filename = "AnghaBench/vlc/src/network/extr_stream.c_vlc_tls_ConnectWrite.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @vlc_tls_socket_ops = common global i32 0, align 4 @EINPROGRESS = common local_unnamed_addr global i64 0, align 8 @EOPNOTSUPP = common local_unnamed_addr global i64 0, align 8 @MSG_FASTOPEN = common local_unnamed_addr global i32 0, align 4 @MSG_NOSIGNAL = common local_unnamed_addr global i32 0, align 4 @errno = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @vlc_tls_ConnectWrite], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i64 @vlc_tls_ConnectWrite(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { store ptr @vlc_tls_socket_ops, ptr %0, align 8, !tbaa !6 %4 = tail call i64 @vlc_tls_Connect(ptr noundef nonnull %0) #2 %5 = icmp eq i64 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %3 %7 = tail call i64 @vlc_tls_SocketWrite(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %2) #2 br label %8 8: ; preds = %3, %6 %9 = phi i64 [ %7, %6 ], [ -1, %3 ] ret i64 %9 } declare i64 @vlc_tls_Connect(ptr noundef) local_unnamed_addr #1 declare i64 @vlc_tls_SocketWrite(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 = !{!"TYPE_7__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
vlc_src_network_extr_stream.c_vlc_tls_ConnectWrite
; ModuleID = 'AnghaBench/freebsd/crypto/heimdal/lib/hx509/extr_cert.c_hx509_verify_signature.c' source_filename = "AnghaBench/freebsd/crypto/heimdal/lib/hx509/extr_cert.c_hx509_verify_signature.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local i32 @hx509_verify_signature(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) local_unnamed_addr #0 { %6 = tail call i32 @_hx509_verify_signature(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #2 ret i32 %6 } declare i32 @_hx509_verify_signature(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/crypto/heimdal/lib/hx509/extr_cert.c_hx509_verify_signature.c' source_filename = "AnghaBench/freebsd/crypto/heimdal/lib/hx509/extr_cert.c_hx509_verify_signature.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nounwind ssp uwtable(sync) define i32 @hx509_verify_signature(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) local_unnamed_addr #0 { %6 = tail call i32 @_hx509_verify_signature(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #2 ret i32 %6 } declare i32 @_hx509_verify_signature(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_crypto_heimdal_lib_hx509_extr_cert.c_hx509_verify_signature
; ModuleID = 'AnghaBench/freebsd/contrib/ntp/sntp/libevent/test/extr_regress.gen.c_kill_new.c' source_filename = "AnghaBench/freebsd/contrib/ntp/sntp/libevent/test/extr_regress.gen.c_kill_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" ; Function Attrs: nounwind uwtable define dso_local ptr @kill_new() local_unnamed_addr #0 { %1 = tail call ptr @kill_new_with_arg(ptr noundef null) #2 ret ptr %1 } declare ptr @kill_new_with_arg(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/contrib/ntp/sntp/libevent/test/extr_regress.gen.c_kill_new.c' source_filename = "AnghaBench/freebsd/contrib/ntp/sntp/libevent/test/extr_regress.gen.c_kill_new.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 @kill_new() local_unnamed_addr #0 { %1 = tail call ptr @kill_new_with_arg(ptr noundef null) #2 ret ptr %1 } declare ptr @kill_new_with_arg(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_contrib_ntp_sntp_libevent_test_extr_regress.gen.c_kill_new
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/em28xx/extr_em28xx-input.c_em28xx_register_snapshot_button.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/em28xx/extr_em28xx-input.c_em28xx_register_snapshot_button.c" target datalayout = "e-m:e-p270:32:32-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.em28xx = type { i32, ptr, ptr, i32 } %struct.input_dev = type { ptr, ptr, %struct.TYPE_7__, %struct.TYPE_6__, i64, i64, i32, i32 } %struct.TYPE_7__ = type { ptr } %struct.TYPE_6__ = type { i32, ptr, ptr, i32 } %struct.TYPE_8__ = type { i32, %struct.TYPE_5__ } %struct.TYPE_5__ = type { i32, i32 } @.str = private unnamed_addr constant [32 x i8] c"Registering snapshot button...\0A\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"input_allocate_device failed\0A\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"/sbutton\00", align 1 @em28xx_query_sbutton = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [23 x i8] c"em28xx snapshot button\00", align 1 @EV_KEY = dso_local local_unnamed_addr global i32 0, align 4 @EV_REP = dso_local local_unnamed_addr global i32 0, align 4 @EM28XX_SNAPSHOT_KEY = dso_local local_unnamed_addr global i32 0, align 4 @BUS_USB = dso_local local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [30 x i8] c"input_register_device failed\0A\00", align 1 @EM28XX_SBUTTON_QUERY_INTERVAL = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @em28xx_register_snapshot_button(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @em28xx_info(ptr noundef nonnull @.str) #3 %3 = tail call ptr (...) @input_allocate_device() #3 %4 = icmp eq ptr %3, null br i1 %4, label %5, label %7 5: ; preds = %1 %6 = tail call i32 @em28xx_errdev(ptr noundef nonnull @.str.1) #3 br label %56 7: ; preds = %1 %8 = getelementptr inbounds %struct.em28xx, ptr %0, i64 0, i32 2 %9 = load ptr, ptr %8, align 8, !tbaa !5 %10 = getelementptr inbounds %struct.em28xx, ptr %0, i64 0, i32 3 %11 = load i32, ptr %10, align 8, !tbaa !11 %12 = tail call i32 @usb_make_path(ptr noundef %9, i32 noundef %11, i32 noundef 4) #3 %13 = load i32, ptr %10, align 8, !tbaa !11 %14 = tail call i32 @strlcat(i32 noundef %13, ptr noundef nonnull @.str.2, i32 noundef 4) #3 %15 = load i32, ptr @em28xx_query_sbutton, align 4, !tbaa !12 %16 = tail call i32 @INIT_DELAYED_WORK(ptr noundef %0, i32 noundef %15) #3 store ptr @.str.3, ptr %3, align 8, !tbaa !13 %17 = load i32, ptr %10, align 8, !tbaa !11 %18 = getelementptr inbounds %struct.input_dev, ptr %3, i64 0, i32 7 store i32 %17, ptr %18, align 4, !tbaa !18 %19 = load i32, ptr @EV_KEY, align 4, !tbaa !12 %20 = tail call i32 @BIT_MASK(i32 noundef %19) #3 %21 = load i32, ptr @EV_REP, align 4, !tbaa !12 %22 = tail call i32 @BIT_MASK(i32 noundef %21) #3 %23 = or i32 %22, %20 %24 = getelementptr inbounds %struct.input_dev, ptr %3, i64 0, i32 1 %25 = load ptr, ptr %24, align 8, !tbaa !19 store i32 %23, ptr %25, align 4, !tbaa !12 %26 = load i32, ptr @EM28XX_SNAPSHOT_KEY, align 4, !tbaa !12 %27 = getelementptr inbounds %struct.input_dev, ptr %3, i64 0, i32 6 %28 = load i32, ptr %27, align 8, !tbaa !20 %29 = tail call i32 @set_bit(i32 noundef %26, i32 noundef %28) #3 %30 = getelementptr inbounds %struct.input_dev, ptr %3, i64 0, i32 4 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %30, i8 0, i64 16, i1 false) %31 = load i32, ptr @BUS_USB, align 4, !tbaa !12 %32 = getelementptr inbounds %struct.input_dev, ptr %3, i64 0, i32 3 %33 = getelementptr inbounds %struct.input_dev, ptr %3, i64 0, i32 3, i32 3 store i32 %31, ptr %33, align 8, !tbaa !21 %34 = load ptr, ptr %8, align 8, !tbaa !5 %35 = getelementptr inbounds %struct.TYPE_8__, ptr %34, i64 0, i32 1, i32 1 %36 = load i32, ptr %35, align 4, !tbaa !22 %37 = tail call ptr @le16_to_cpu(i32 noundef %36) #3 %38 = getelementptr inbounds %struct.input_dev, ptr %3, i64 0, i32 3, i32 2 store ptr %37, ptr %38, align 8, !tbaa !25 %39 = load ptr, ptr %8, align 8, !tbaa !5 %40 = getelementptr inbounds %struct.TYPE_8__, ptr %39, i64 0, i32 1 %41 = load i32, ptr %40, align 4, !tbaa !26 %42 = tail call ptr @le16_to_cpu(i32 noundef %41) #3 %43 = getelementptr inbounds %struct.input_dev, ptr %3, i64 0, i32 3, i32 1 store ptr %42, ptr %43, align 8, !tbaa !27 store i32 1, ptr %32, align 8, !tbaa !28 %44 = load ptr, ptr %8, align 8, !tbaa !5 %45 = getelementptr inbounds %struct.input_dev, ptr %3, i64 0, i32 2 store ptr %44, ptr %45, align 8, !tbaa !29 %46 = tail call i32 @input_register_device(ptr noundef nonnull %3) #3 %47 = icmp eq i32 %46, 0 br i1 %47, label %51, label %48 48: ; preds = %7 %49 = tail call i32 @em28xx_errdev(ptr noundef nonnull @.str.4) #3 %50 = tail call i32 @input_free_device(ptr noundef nonnull %3) #3 br label %56 51: ; preds = %7 %52 = getelementptr inbounds %struct.em28xx, ptr %0, i64 0, i32 1 store ptr %3, ptr %52, align 8, !tbaa !30 %53 = load i32, ptr @EM28XX_SBUTTON_QUERY_INTERVAL, align 4, !tbaa !12 %54 = tail call i32 @msecs_to_jiffies(i32 noundef %53) #3 %55 = tail call i32 @schedule_delayed_work(ptr noundef nonnull %0, i32 noundef %54) #3 br label %56 56: ; preds = %51, %48, %5 ret void } declare i32 @em28xx_info(ptr noundef) local_unnamed_addr #1 declare ptr @input_allocate_device(...) local_unnamed_addr #1 declare i32 @em28xx_errdev(ptr noundef) local_unnamed_addr #1 declare i32 @usb_make_path(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @strlcat(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @INIT_DELAYED_WORK(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @BIT_MASK(i32 noundef) local_unnamed_addr #1 declare i32 @set_bit(i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @le16_to_cpu(i32 noundef) local_unnamed_addr #1 declare i32 @input_register_device(ptr noundef) local_unnamed_addr #1 declare i32 @input_free_device(ptr noundef) local_unnamed_addr #1 declare i32 @schedule_delayed_work(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @msecs_to_jiffies(i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 16} !6 = !{!"em28xx", !7, i64 0, !10, i64 8, !10, i64 16, !7, i64 24} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !7, i64 24} !12 = !{!7, !7, i64 0} !13 = !{!14, !10, i64 0} !14 = !{!"input_dev", !10, i64 0, !10, i64 8, !15, i64 16, !16, i64 24, !17, i64 56, !17, i64 64, !7, i64 72, !7, i64 76} !15 = !{!"TYPE_7__", !10, i64 0} !16 = !{!"TYPE_6__", !7, i64 0, !10, i64 8, !10, i64 16, !7, i64 24} !17 = !{!"long", !8, i64 0} !18 = !{!14, !7, i64 76} !19 = !{!14, !10, i64 8} !20 = !{!14, !7, i64 72} !21 = !{!14, !7, i64 48} !22 = !{!23, !7, i64 8} !23 = !{!"TYPE_8__", !7, i64 0, !24, i64 4} !24 = !{!"TYPE_5__", !7, i64 0, !7, i64 4} !25 = !{!14, !10, i64 40} !26 = !{!23, !7, i64 4} !27 = !{!14, !10, i64 32} !28 = !{!14, !7, i64 24} !29 = !{!14, !10, i64 16} !30 = !{!6, !10, i64 8}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/em28xx/extr_em28xx-input.c_em28xx_register_snapshot_button.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/em28xx/extr_em28xx-input.c_em28xx_register_snapshot_button.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [32 x i8] c"Registering snapshot button...\0A\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"input_allocate_device failed\0A\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"/sbutton\00", align 1 @em28xx_query_sbutton = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [23 x i8] c"em28xx snapshot button\00", align 1 @EV_KEY = common local_unnamed_addr global i32 0, align 4 @EV_REP = common local_unnamed_addr global i32 0, align 4 @EM28XX_SNAPSHOT_KEY = common local_unnamed_addr global i32 0, align 4 @BUS_USB = common local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [30 x i8] c"input_register_device failed\0A\00", align 1 @EM28XX_SBUTTON_QUERY_INTERVAL = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @em28xx_register_snapshot_button(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @em28xx_info(ptr noundef nonnull @.str) #3 %3 = tail call ptr @input_allocate_device() #3 %4 = icmp eq ptr %3, null br i1 %4, label %5, label %7 5: ; preds = %1 %6 = tail call i32 @em28xx_errdev(ptr noundef nonnull @.str.1) #3 br label %56 7: ; preds = %1 %8 = getelementptr inbounds i8, ptr %0, i64 16 %9 = load ptr, ptr %8, align 8, !tbaa !6 %10 = getelementptr inbounds i8, ptr %0, i64 24 %11 = load i32, ptr %10, align 8, !tbaa !12 %12 = tail call i32 @usb_make_path(ptr noundef %9, i32 noundef %11, i32 noundef 4) #3 %13 = load i32, ptr %10, align 8, !tbaa !12 %14 = tail call i32 @strlcat(i32 noundef %13, ptr noundef nonnull @.str.2, i32 noundef 4) #3 %15 = load i32, ptr @em28xx_query_sbutton, align 4, !tbaa !13 %16 = tail call i32 @INIT_DELAYED_WORK(ptr noundef %0, i32 noundef %15) #3 store ptr @.str.3, ptr %3, align 8, !tbaa !14 %17 = load i32, ptr %10, align 8, !tbaa !12 %18 = getelementptr inbounds i8, ptr %3, i64 76 store i32 %17, ptr %18, align 4, !tbaa !19 %19 = load i32, ptr @EV_KEY, align 4, !tbaa !13 %20 = tail call i32 @BIT_MASK(i32 noundef %19) #3 %21 = load i32, ptr @EV_REP, align 4, !tbaa !13 %22 = tail call i32 @BIT_MASK(i32 noundef %21) #3 %23 = or i32 %22, %20 %24 = getelementptr inbounds i8, ptr %3, i64 8 %25 = load ptr, ptr %24, align 8, !tbaa !20 store i32 %23, ptr %25, align 4, !tbaa !13 %26 = load i32, ptr @EM28XX_SNAPSHOT_KEY, align 4, !tbaa !13 %27 = getelementptr inbounds i8, ptr %3, i64 72 %28 = load i32, ptr %27, align 8, !tbaa !21 %29 = tail call i32 @set_bit(i32 noundef %26, i32 noundef %28) #3 %30 = getelementptr inbounds i8, ptr %3, i64 56 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %30, i8 0, i64 16, i1 false) %31 = load i32, ptr @BUS_USB, align 4, !tbaa !13 %32 = getelementptr inbounds i8, ptr %3, i64 24 %33 = getelementptr inbounds i8, ptr %3, i64 48 store i32 %31, ptr %33, align 8, !tbaa !22 %34 = load ptr, ptr %8, align 8, !tbaa !6 %35 = getelementptr inbounds i8, ptr %34, i64 8 %36 = load i32, ptr %35, align 4, !tbaa !23 %37 = tail call ptr @le16_to_cpu(i32 noundef %36) #3 %38 = getelementptr inbounds i8, ptr %3, i64 40 store ptr %37, ptr %38, align 8, !tbaa !26 %39 = load ptr, ptr %8, align 8, !tbaa !6 %40 = getelementptr inbounds i8, ptr %39, i64 4 %41 = load i32, ptr %40, align 4, !tbaa !27 %42 = tail call ptr @le16_to_cpu(i32 noundef %41) #3 %43 = getelementptr inbounds i8, ptr %3, i64 32 store ptr %42, ptr %43, align 8, !tbaa !28 store i32 1, ptr %32, align 8, !tbaa !29 %44 = load ptr, ptr %8, align 8, !tbaa !6 %45 = getelementptr inbounds i8, ptr %3, i64 16 store ptr %44, ptr %45, align 8, !tbaa !30 %46 = tail call i32 @input_register_device(ptr noundef nonnull %3) #3 %47 = icmp eq i32 %46, 0 br i1 %47, label %51, label %48 48: ; preds = %7 %49 = tail call i32 @em28xx_errdev(ptr noundef nonnull @.str.4) #3 %50 = tail call i32 @input_free_device(ptr noundef nonnull %3) #3 br label %56 51: ; preds = %7 %52 = getelementptr inbounds i8, ptr %0, i64 8 store ptr %3, ptr %52, align 8, !tbaa !31 %53 = load i32, ptr @EM28XX_SBUTTON_QUERY_INTERVAL, align 4, !tbaa !13 %54 = tail call i32 @msecs_to_jiffies(i32 noundef %53) #3 %55 = tail call i32 @schedule_delayed_work(ptr noundef nonnull %0, i32 noundef %54) #3 br label %56 56: ; preds = %51, %48, %5 ret void } declare i32 @em28xx_info(ptr noundef) local_unnamed_addr #1 declare ptr @input_allocate_device(...) local_unnamed_addr #1 declare i32 @em28xx_errdev(ptr noundef) local_unnamed_addr #1 declare i32 @usb_make_path(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @strlcat(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @INIT_DELAYED_WORK(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @BIT_MASK(i32 noundef) local_unnamed_addr #1 declare i32 @set_bit(i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @le16_to_cpu(i32 noundef) local_unnamed_addr #1 declare i32 @input_register_device(ptr noundef) local_unnamed_addr #1 declare i32 @input_free_device(ptr noundef) local_unnamed_addr #1 declare i32 @schedule_delayed_work(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @msecs_to_jiffies(i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 16} !7 = !{!"em28xx", !8, i64 0, !11, i64 8, !11, i64 16, !8, i64 24} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !8, i64 24} !13 = !{!8, !8, i64 0} !14 = !{!15, !11, i64 0} !15 = !{!"input_dev", !11, i64 0, !11, i64 8, !16, i64 16, !17, i64 24, !18, i64 56, !18, i64 64, !8, i64 72, !8, i64 76} !16 = !{!"TYPE_7__", !11, i64 0} !17 = !{!"TYPE_6__", !8, i64 0, !11, i64 8, !11, i64 16, !8, i64 24} !18 = !{!"long", !9, i64 0} !19 = !{!15, !8, i64 76} !20 = !{!15, !11, i64 8} !21 = !{!15, !8, i64 72} !22 = !{!15, !8, i64 48} !23 = !{!24, !8, i64 8} !24 = !{!"TYPE_8__", !8, i64 0, !25, i64 4} !25 = !{!"TYPE_5__", !8, i64 0, !8, i64 4} !26 = !{!15, !11, i64 40} !27 = !{!24, !8, i64 4} !28 = !{!15, !11, i64 32} !29 = !{!15, !8, i64 24} !30 = !{!15, !11, i64 16} !31 = !{!7, !11, i64 8}
fastsocket_kernel_drivers_media_video_em28xx_extr_em28xx-input.c_em28xx_register_snapshot_button
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_navi10_ih.c_navi10_ih_disable_interrupts.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_navi10_ih.c_navi10_ih_disable_interrupts.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_3__ = type { i32, i64 } @OSSSYS = dso_local local_unnamed_addr global i32 0, align 4 @mmIH_RB_CNTL = dso_local local_unnamed_addr global i32 0, align 4 @IH_RB_CNTL = dso_local local_unnamed_addr global i32 0, align 4 @RB_ENABLE = dso_local local_unnamed_addr global i32 0, align 4 @ENABLE_INTR = dso_local local_unnamed_addr global i32 0, align 4 @mmIH_RB_RPTR = dso_local local_unnamed_addr global i32 0, align 4 @mmIH_RB_WPTR = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @navi10_ih_disable_interrupts], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @navi10_ih_disable_interrupts(ptr nocapture noundef writeonly %0) #0 { %2 = load i32, ptr @OSSSYS, align 4, !tbaa !5 %3 = load i32, ptr @mmIH_RB_CNTL, align 4, !tbaa !5 %4 = tail call i32 @RREG32_SOC15(i32 noundef %2, i32 noundef 0, i32 noundef %3) #2 %5 = load i32, ptr @IH_RB_CNTL, align 4, !tbaa !5 %6 = load i32, ptr @RB_ENABLE, align 4, !tbaa !5 %7 = tail call i32 @REG_SET_FIELD(i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef 0) #2 %8 = load i32, ptr @IH_RB_CNTL, align 4, !tbaa !5 %9 = load i32, ptr @ENABLE_INTR, align 4, !tbaa !5 %10 = tail call i32 @REG_SET_FIELD(i32 noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef 0) #2 %11 = load i32, ptr @OSSSYS, align 4, !tbaa !5 %12 = load i32, ptr @mmIH_RB_CNTL, align 4, !tbaa !5 %13 = tail call i32 @WREG32_SOC15(i32 noundef %11, i32 noundef 0, i32 noundef %12, i32 noundef %10) #2 %14 = load i32, ptr @OSSSYS, align 4, !tbaa !5 %15 = load i32, ptr @mmIH_RB_RPTR, align 4, !tbaa !5 %16 = tail call i32 @WREG32_SOC15(i32 noundef %14, i32 noundef 0, i32 noundef %15, i32 noundef 0) #2 %17 = load i32, ptr @OSSSYS, align 4, !tbaa !5 %18 = load i32, ptr @mmIH_RB_WPTR, align 4, !tbaa !5 %19 = tail call i32 @WREG32_SOC15(i32 noundef %17, i32 noundef 0, i32 noundef %18, i32 noundef 0) #2 store i32 0, ptr %0, align 8, !tbaa !9 %20 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1 store i64 0, ptr %20, align 8, !tbaa !14 ret void } declare i32 @RREG32_SOC15(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @REG_SET_FIELD(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @WREG32_SOC15(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"amdgpu_device", !11, i64 0} !11 = !{!"TYPE_4__", !12, i64 0} !12 = !{!"TYPE_3__", !6, i64 0, !13, i64 8} !13 = !{!"long", !7, i64 0} !14 = !{!10, !13, i64 8}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_navi10_ih.c_navi10_ih_disable_interrupts.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_navi10_ih.c_navi10_ih_disable_interrupts.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @OSSSYS = common local_unnamed_addr global i32 0, align 4 @mmIH_RB_CNTL = common local_unnamed_addr global i32 0, align 4 @IH_RB_CNTL = common local_unnamed_addr global i32 0, align 4 @RB_ENABLE = common local_unnamed_addr global i32 0, align 4 @ENABLE_INTR = common local_unnamed_addr global i32 0, align 4 @mmIH_RB_RPTR = common local_unnamed_addr global i32 0, align 4 @mmIH_RB_WPTR = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @navi10_ih_disable_interrupts], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @navi10_ih_disable_interrupts(ptr nocapture noundef writeonly %0) #0 { %2 = load i32, ptr @OSSSYS, align 4, !tbaa !6 %3 = load i32, ptr @mmIH_RB_CNTL, align 4, !tbaa !6 %4 = tail call i32 @RREG32_SOC15(i32 noundef %2, i32 noundef 0, i32 noundef %3) #2 %5 = load i32, ptr @IH_RB_CNTL, align 4, !tbaa !6 %6 = load i32, ptr @RB_ENABLE, align 4, !tbaa !6 %7 = tail call i32 @REG_SET_FIELD(i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef 0) #2 %8 = load i32, ptr @IH_RB_CNTL, align 4, !tbaa !6 %9 = load i32, ptr @ENABLE_INTR, align 4, !tbaa !6 %10 = tail call i32 @REG_SET_FIELD(i32 noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef 0) #2 %11 = load i32, ptr @OSSSYS, align 4, !tbaa !6 %12 = load i32, ptr @mmIH_RB_CNTL, align 4, !tbaa !6 %13 = tail call i32 @WREG32_SOC15(i32 noundef %11, i32 noundef 0, i32 noundef %12, i32 noundef %10) #2 %14 = load i32, ptr @OSSSYS, align 4, !tbaa !6 %15 = load i32, ptr @mmIH_RB_RPTR, align 4, !tbaa !6 %16 = tail call i32 @WREG32_SOC15(i32 noundef %14, i32 noundef 0, i32 noundef %15, i32 noundef 0) #2 %17 = load i32, ptr @OSSSYS, align 4, !tbaa !6 %18 = load i32, ptr @mmIH_RB_WPTR, align 4, !tbaa !6 %19 = tail call i32 @WREG32_SOC15(i32 noundef %17, i32 noundef 0, i32 noundef %18, i32 noundef 0) #2 store i32 0, ptr %0, align 8, !tbaa !10 %20 = getelementptr inbounds i8, ptr %0, i64 8 store i64 0, ptr %20, align 8, !tbaa !15 ret void } declare i32 @RREG32_SOC15(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @REG_SET_FIELD(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @WREG32_SOC15(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"amdgpu_device", !12, i64 0} !12 = !{!"TYPE_4__", !13, i64 0} !13 = !{!"TYPE_3__", !7, i64 0, !14, i64 8} !14 = !{!"long", !8, i64 0} !15 = !{!11, !14, i64 8}
linux_drivers_gpu_drm_amd_amdgpu_extr_navi10_ih.c_navi10_ih_disable_interrupts
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/powerpc/platforms/pseries/extr_hotplug-cpu.c_rtas_stop_self.c' source_filename = "AnghaBench/fastsocket/kernel/arch/powerpc/platforms/pseries/extr_hotplug-cpu.c_rtas_stop_self.c" target datalayout = "e-m:e-p270:32:32-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.rtas_args = type { i64 } @rtas_stop_self_args = dso_local global %struct.rtas_args zeroinitializer, align 8 @RTAS_UNKNOWN_SERVICE = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [34 x i8] c"cpu %u (hwid %u) Ready to die...\0A\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"Alas, I survived.\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @rtas_stop_self], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @rtas_stop_self() #0 { %1 = tail call i32 (...) @local_irq_disable() #2 %2 = load i64, ptr @rtas_stop_self_args, align 8, !tbaa !5 %3 = load i64, ptr @RTAS_UNKNOWN_SERVICE, align 8, !tbaa !10 %4 = icmp eq i64 %2, %3 %5 = zext i1 %4 to i32 %6 = tail call i32 @BUG_ON(i32 noundef %5) #2 %7 = tail call i32 (...) @smp_processor_id() #2 %8 = tail call i32 (...) @hard_smp_processor_id() #2 %9 = tail call i32 @printk(ptr noundef nonnull @.str, i32 noundef %7, i32 noundef %8) #2 %10 = tail call i32 @__pa(ptr noundef nonnull @rtas_stop_self_args) #2 %11 = tail call i32 @enter_rtas(i32 noundef %10) #2 %12 = tail call i32 @panic(ptr noundef nonnull @.str.1) #2 ret void } declare i32 @local_irq_disable(...) local_unnamed_addr #1 declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1 declare i32 @printk(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @smp_processor_id(...) local_unnamed_addr #1 declare i32 @hard_smp_processor_id(...) local_unnamed_addr #1 declare i32 @enter_rtas(i32 noundef) local_unnamed_addr #1 declare i32 @__pa(ptr noundef) local_unnamed_addr #1 declare i32 @panic(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 = !{!"rtas_args", !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/arch/powerpc/platforms/pseries/extr_hotplug-cpu.c_rtas_stop_self.c' source_filename = "AnghaBench/fastsocket/kernel/arch/powerpc/platforms/pseries/extr_hotplug-cpu.c_rtas_stop_self.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.rtas_args = type { i64 } @rtas_stop_self_args = common global %struct.rtas_args zeroinitializer, align 8 @RTAS_UNKNOWN_SERVICE = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [34 x i8] c"cpu %u (hwid %u) Ready to die...\0A\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"Alas, I survived.\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @rtas_stop_self], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @rtas_stop_self() #0 { %1 = tail call i32 @local_irq_disable() #2 %2 = load i64, ptr @rtas_stop_self_args, align 8, !tbaa !6 %3 = load i64, ptr @RTAS_UNKNOWN_SERVICE, align 8, !tbaa !11 %4 = icmp eq i64 %2, %3 %5 = zext i1 %4 to i32 %6 = tail call i32 @BUG_ON(i32 noundef %5) #2 %7 = tail call i32 @smp_processor_id() #2 %8 = tail call i32 @hard_smp_processor_id() #2 %9 = tail call i32 @printk(ptr noundef nonnull @.str, i32 noundef %7, i32 noundef %8) #2 %10 = tail call i32 @__pa(ptr noundef nonnull @rtas_stop_self_args) #2 %11 = tail call i32 @enter_rtas(i32 noundef %10) #2 %12 = tail call i32 @panic(ptr noundef nonnull @.str.1) #2 ret void } declare i32 @local_irq_disable(...) local_unnamed_addr #1 declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1 declare i32 @printk(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @smp_processor_id(...) local_unnamed_addr #1 declare i32 @hard_smp_processor_id(...) local_unnamed_addr #1 declare i32 @enter_rtas(i32 noundef) local_unnamed_addr #1 declare i32 @__pa(ptr noundef) local_unnamed_addr #1 declare i32 @panic(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 = !{!"rtas_args", !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_arch_powerpc_platforms_pseries_extr_hotplug-cpu.c_rtas_stop_self
; ModuleID = 'AnghaBench/ZipArchive/SSZipArchive/minizip/extr_mz_zip_rw.c_mz_zip_reader_set_sign_required.c' source_filename = "AnghaBench/ZipArchive/SSZipArchive/minizip/extr_mz_zip_rw.c_mz_zip_reader_set_sign_required.c" target datalayout = "e-m:e-p270:32:32-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 @mz_zip_reader_set_sign_required(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_2__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/ZipArchive/SSZipArchive/minizip/extr_mz_zip_rw.c_mz_zip_reader_set_sign_required.c' source_filename = "AnghaBench/ZipArchive/SSZipArchive/minizip/extr_mz_zip_rw.c_mz_zip_reader_set_sign_required.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 @mz_zip_reader_set_sign_required(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_2__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
ZipArchive_SSZipArchive_minizip_extr_mz_zip_rw.c_mz_zip_reader_set_sign_required
; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_ina2xx.c_ina2xx_read_reg.c' source_filename = "AnghaBench/linux/drivers/hwmon/extr_ina2xx.c_ina2xx_read_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" @.str = private unnamed_addr constant [27 x i8] c"Starting register %d read\0A\00", align 1 @.str.1 = private unnamed_addr constant [23 x i8] c"read %d, val = 0x%04x\0A\00", align 1 @INA2XX_CALIBRATION = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [37 x i8] c"chip not calibrated, reinitializing\0A\00", align 1 @INA2XX_MAX_DELAY = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [33 x i8] c"unable to reinitialize the chip\0A\00", align 1 @ENODEV = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ina2xx_read_reg], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ina2xx_read_reg(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = tail call ptr @dev_get_drvdata(ptr noundef %0) #3 %6 = tail call i32 (ptr, ptr, i32, ...) @dev_dbg(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %1) #3 br label %7 7: ; preds = %3, %32 %8 = phi i32 [ 5, %3 ], [ %35, %32 ] %9 = load i32, ptr %5, align 4, !tbaa !5 %10 = call i32 @regmap_read(i32 noundef %9, i32 noundef %1, ptr noundef %2) #3 %11 = icmp slt i32 %10, 0 br i1 %11, label %41, label %12 12: ; preds = %7 %13 = load i32, ptr %2, align 4, !tbaa !10 %14 = call i32 (ptr, ptr, i32, ...) @dev_dbg(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef %1, i32 noundef %13) #3 %15 = load i32, ptr %2, align 4, !tbaa !10 %16 = icmp eq i32 %15, 0 br i1 %16, label %17, label %41 17: ; preds = %12 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %18 = load i32, ptr %5, align 4, !tbaa !5 %19 = load i32, ptr @INA2XX_CALIBRATION, align 4, !tbaa !10 %20 = call i32 @regmap_read(i32 noundef %18, i32 noundef %19, ptr noundef nonnull %4) #3 %21 = icmp slt i32 %20, 0 br i1 %21, label %30, label %22 22: ; preds = %17 %23 = load i32, ptr %4, align 4, !tbaa !10 %24 = icmp eq i32 %23, 0 br i1 %24, label %26, label %25 25: ; preds = %22 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 br label %41 26: ; preds = %22 %27 = call i32 @dev_warn(ptr noundef %0, ptr noundef nonnull @.str.2) #3 %28 = call i32 @ina2xx_init(ptr noundef nonnull %5) #3 %29 = icmp slt i32 %28, 0 br i1 %29, label %30, label %32 30: ; preds = %17, %26 %31 = phi i32 [ %28, %26 ], [ %20, %17 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 br label %41 32: ; preds = %26 %33 = load i32, ptr @INA2XX_MAX_DELAY, align 4, !tbaa !10 %34 = call i32 @msleep(i32 noundef %33) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 %35 = add nsw i32 %8, -1 %36 = icmp eq i32 %35, 0 br i1 %36, label %37, label %7, !llvm.loop !11 37: ; preds = %32 %38 = call i32 @dev_err(ptr noundef %0, ptr noundef nonnull @.str.3) #3 %39 = load i32, ptr @ENODEV, align 4, !tbaa !10 %40 = sub nsw i32 0, %39 br label %41 41: ; preds = %12, %7, %25, %30, %37 %42 = phi i32 [ %40, %37 ], [ %31, %30 ], [ 0, %25 ], [ 0, %12 ], [ %10, %7 ] ret i32 %42 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #2 declare i32 @dev_dbg(ptr noundef, ptr noundef, i32 noundef, ...) local_unnamed_addr #2 declare i32 @regmap_read(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @dev_warn(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ina2xx_init(ptr noundef) local_unnamed_addr #2 declare i32 @msleep(i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"ina2xx_data", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_ina2xx.c_ina2xx_read_reg.c' source_filename = "AnghaBench/linux/drivers/hwmon/extr_ina2xx.c_ina2xx_read_reg.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [27 x i8] c"Starting register %d read\0A\00", align 1 @.str.1 = private unnamed_addr constant [23 x i8] c"read %d, val = 0x%04x\0A\00", align 1 @INA2XX_CALIBRATION = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [37 x i8] c"chip not calibrated, reinitializing\0A\00", align 1 @INA2XX_MAX_DELAY = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [33 x i8] c"unable to reinitialize the chip\0A\00", align 1 @ENODEV = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ina2xx_read_reg], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ina2xx_read_reg(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = tail call ptr @dev_get_drvdata(ptr noundef %0) #3 %6 = tail call i32 (ptr, ptr, i32, ...) @dev_dbg(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %1) #3 br label %7 7: ; preds = %3, %32 %8 = phi i32 [ 5, %3 ], [ %35, %32 ] %9 = load i32, ptr %5, align 4, !tbaa !6 %10 = call i32 @regmap_read(i32 noundef %9, i32 noundef %1, ptr noundef %2) #3 %11 = icmp slt i32 %10, 0 br i1 %11, label %41, label %12 12: ; preds = %7 %13 = load i32, ptr %2, align 4, !tbaa !11 %14 = call i32 (ptr, ptr, i32, ...) @dev_dbg(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef %1, i32 noundef %13) #3 %15 = load i32, ptr %2, align 4, !tbaa !11 %16 = icmp eq i32 %15, 0 br i1 %16, label %17, label %41 17: ; preds = %12 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %18 = load i32, ptr %5, align 4, !tbaa !6 %19 = load i32, ptr @INA2XX_CALIBRATION, align 4, !tbaa !11 %20 = call i32 @regmap_read(i32 noundef %18, i32 noundef %19, ptr noundef nonnull %4) #3 %21 = icmp slt i32 %20, 0 br i1 %21, label %30, label %22 22: ; preds = %17 %23 = load i32, ptr %4, align 4, !tbaa !11 %24 = icmp eq i32 %23, 0 br i1 %24, label %26, label %25 25: ; preds = %22 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 br label %41 26: ; preds = %22 %27 = call i32 @dev_warn(ptr noundef %0, ptr noundef nonnull @.str.2) #3 %28 = call i32 @ina2xx_init(ptr noundef nonnull %5) #3 %29 = icmp slt i32 %28, 0 br i1 %29, label %30, label %32 30: ; preds = %17, %26 %31 = phi i32 [ %28, %26 ], [ %20, %17 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 br label %41 32: ; preds = %26 %33 = load i32, ptr @INA2XX_MAX_DELAY, align 4, !tbaa !11 %34 = call i32 @msleep(i32 noundef %33) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 %35 = add nsw i32 %8, -1 %36 = icmp eq i32 %35, 0 br i1 %36, label %37, label %7, !llvm.loop !12 37: ; preds = %32 %38 = call i32 @dev_err(ptr noundef %0, ptr noundef nonnull @.str.3) #3 %39 = load i32, ptr @ENODEV, align 4, !tbaa !11 %40 = sub nsw i32 0, %39 br label %41 41: ; preds = %12, %7, %25, %30, %37 %42 = phi i32 [ %40, %37 ], [ %31, %30 ], [ 0, %25 ], [ 0, %12 ], [ %10, %7 ] ret i32 %42 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #2 declare i32 @dev_dbg(ptr noundef, ptr noundef, i32 noundef, ...) local_unnamed_addr #2 declare i32 @regmap_read(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @dev_warn(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ina2xx_init(ptr noundef) local_unnamed_addr #2 declare i32 @msleep(i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"ina2xx_data", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"}
linux_drivers_hwmon_extr_ina2xx.c_ina2xx_read_reg
; ModuleID = 'AnghaBench/freebsd/contrib/unbound/respip/extr_respip.c_generate_cname_request.c' source_filename = "AnghaBench/freebsd/contrib/unbound/respip/extr_respip.c_generate_cname_request.c" target datalayout = "e-m:e-p270:32:32-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.query_info = type { i32, i32, i32, i32 } %struct.module_qstate = type { ptr, %struct.TYPE_3__ } %struct.TYPE_3__ = type { i32, i32 } @BIT_RD = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @generate_cname_request], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @generate_cname_request(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca %struct.query_info, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 store ptr null, ptr %3, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #3 %5 = call i32 @memset(ptr noundef nonnull %4, i32 noundef 0, i32 noundef 16) #3 %6 = getelementptr inbounds %struct.query_info, ptr %4, i64 0, i32 2 %7 = getelementptr inbounds %struct.query_info, ptr %4, i64 0, i32 3 %8 = call i32 @get_cname_target(ptr noundef %1, ptr noundef nonnull %6, ptr noundef nonnull %7) #3 %9 = load i32, ptr %6, align 8, !tbaa !9 %10 = icmp eq i32 %9, 0 br i1 %10, label %22, label %11 11: ; preds = %2 %12 = getelementptr inbounds %struct.module_qstate, ptr %0, i64 0, i32 1 %13 = load <2 x i32>, ptr %12, align 8, !tbaa !12 store <2 x i32> %13, ptr %4, align 8, !tbaa !12 %14 = load ptr, ptr %0, align 8, !tbaa !13 %15 = load ptr, ptr %14, align 8, !tbaa !16 %16 = call i32 @fptr_whitelist_modenv_attach_sub(ptr noundef %15) #3 %17 = call i32 @fptr_ok(i32 noundef %16) #3 %18 = load ptr, ptr %0, align 8, !tbaa !13 %19 = load ptr, ptr %18, align 8, !tbaa !16 %20 = load i32, ptr @BIT_RD, align 4, !tbaa !12 %21 = call i32 %19(ptr noundef nonnull %0, ptr noundef nonnull %4, i32 noundef %20, i32 noundef 0, i32 noundef 0, ptr noundef nonnull %3) #3 br label %22 22: ; preds = %2, %11 %23 = phi i32 [ %21, %11 ], [ 0, %2 ] call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret i32 %23 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @get_cname_target(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @fptr_ok(i32 noundef) local_unnamed_addr #2 declare i32 @fptr_whitelist_modenv_attach_sub(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 8} !10 = !{!"query_info", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12} !11 = !{!"int", !7, i64 0} !12 = !{!11, !11, i64 0} !13 = !{!14, !6, i64 0} !14 = !{!"module_qstate", !6, i64 0, !15, i64 8} !15 = !{!"TYPE_3__", !11, i64 0, !11, i64 4} !16 = !{!17, !6, i64 0} !17 = !{!"TYPE_4__", !6, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/unbound/respip/extr_respip.c_generate_cname_request.c' source_filename = "AnghaBench/freebsd/contrib/unbound/respip/extr_respip.c_generate_cname_request.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.query_info = type { i32, i32, i32, i32 } @BIT_RD = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @generate_cname_request], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @generate_cname_request(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca %struct.query_info, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 store ptr null, ptr %3, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #3 %5 = call i32 @memset(ptr noundef nonnull %4, i32 noundef 0, i32 noundef 16) #3 %6 = getelementptr inbounds i8, ptr %4, i64 8 %7 = getelementptr inbounds i8, ptr %4, i64 12 %8 = call i32 @get_cname_target(ptr noundef %1, ptr noundef nonnull %6, ptr noundef nonnull %7) #3 %9 = load i32, ptr %6, align 8, !tbaa !10 %10 = icmp eq i32 %9, 0 br i1 %10, label %22, label %11 11: ; preds = %2 %12 = getelementptr inbounds i8, ptr %0, i64 8 %13 = load <2 x i32>, ptr %12, align 8, !tbaa !13 store <2 x i32> %13, ptr %4, align 8, !tbaa !13 %14 = load ptr, ptr %0, align 8, !tbaa !14 %15 = load ptr, ptr %14, align 8, !tbaa !17 %16 = call i32 @fptr_whitelist_modenv_attach_sub(ptr noundef %15) #3 %17 = call i32 @fptr_ok(i32 noundef %16) #3 %18 = load ptr, ptr %0, align 8, !tbaa !14 %19 = load ptr, ptr %18, align 8, !tbaa !17 %20 = load i32, ptr @BIT_RD, align 4, !tbaa !13 %21 = call i32 %19(ptr noundef nonnull %0, ptr noundef nonnull %4, i32 noundef %20, i32 noundef 0, i32 noundef 0, ptr noundef nonnull %3) #3 br label %22 22: ; preds = %2, %11 %23 = phi i32 [ %21, %11 ], [ 0, %2 ] call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret i32 %23 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @get_cname_target(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @fptr_ok(i32 noundef) local_unnamed_addr #2 declare i32 @fptr_whitelist_modenv_attach_sub(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 8} !11 = !{!"query_info", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12} !12 = !{!"int", !8, i64 0} !13 = !{!12, !12, i64 0} !14 = !{!15, !7, i64 0} !15 = !{!"module_qstate", !7, i64 0, !16, i64 8} !16 = !{!"TYPE_3__", !12, i64 0, !12, i64 4} !17 = !{!18, !7, i64 0} !18 = !{!"TYPE_4__", !7, i64 0}
freebsd_contrib_unbound_respip_extr_respip.c_generate_cname_request
; ModuleID = 'AnghaBench/linux/drivers/crypto/cavium/cpt/extr_cptvf_main.c_cptvf_free_irq_affinity.c' source_filename = "AnghaBench/linux/drivers/crypto/cavium/cpt/extr_cptvf_main.c_cptvf_free_irq_affinity.c" target datalayout = "e-m:e-p270:32:32-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.cpt_vf = type { ptr, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @cptvf_free_irq_affinity], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @cptvf_free_irq_affinity(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = getelementptr inbounds %struct.cpt_vf, ptr %0, i64 0, i32 1 %4 = load i32, ptr %3, align 8, !tbaa !5 %5 = tail call i32 @pci_irq_vector(i32 noundef %4, i32 noundef %1) #2 %6 = tail call i32 @irq_set_affinity_hint(i32 noundef %5, ptr noundef null) #2 %7 = load ptr, ptr %0, align 8, !tbaa !11 %8 = sext i32 %1 to i64 %9 = getelementptr inbounds i32, ptr %7, i64 %8 %10 = load i32, ptr %9, align 4, !tbaa !12 %11 = tail call i32 @free_cpumask_var(i32 noundef %10) #2 ret void } declare i32 @irq_set_affinity_hint(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @pci_irq_vector(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @free_cpumask_var(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 = !{!"cpt_vf", !7, i64 0, !10, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!6, !7, i64 0} !12 = !{!10, !10, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/crypto/cavium/cpt/extr_cptvf_main.c_cptvf_free_irq_affinity.c' source_filename = "AnghaBench/linux/drivers/crypto/cavium/cpt/extr_cptvf_main.c_cptvf_free_irq_affinity.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 @cptvf_free_irq_affinity], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @cptvf_free_irq_affinity(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load i32, ptr %3, align 8, !tbaa !6 %5 = tail call i32 @pci_irq_vector(i32 noundef %4, i32 noundef %1) #2 %6 = tail call i32 @irq_set_affinity_hint(i32 noundef %5, ptr noundef null) #2 %7 = load ptr, ptr %0, align 8, !tbaa !12 %8 = sext i32 %1 to i64 %9 = getelementptr inbounds i32, ptr %7, i64 %8 %10 = load i32, ptr %9, align 4, !tbaa !13 %11 = tail call i32 @free_cpumask_var(i32 noundef %10) #2 ret void } declare i32 @irq_set_affinity_hint(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @pci_irq_vector(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @free_cpumask_var(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 = !{!"cpt_vf", !8, i64 0, !11, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!7, !8, i64 0} !13 = !{!11, !11, i64 0}
linux_drivers_crypto_cavium_cpt_extr_cptvf_main.c_cptvf_free_irq_affinity
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/cxgb4/extr_t4_hw.c_ulptx_intr_handler.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/cxgb4/extr_t4_hw.c_ulptx_intr_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.intr_info = type { i32, ptr, i32, i32 } @ulptx_intr_handler.ulptx_intr_info = internal constant [6 x %struct.intr_info] [%struct.intr_info { i32 128, ptr @.str, i32 -1, i32 0 }, %struct.intr_info { i32 129, ptr @.str.1, i32 -1, i32 0 }, %struct.intr_info { i32 130, ptr @.str.2, i32 -1, i32 0 }, %struct.intr_info { i32 131, ptr @.str.3, i32 -1, i32 0 }, %struct.intr_info { i32 268435455, ptr @.str.4, i32 -1, i32 1 }, %struct.intr_info zeroinitializer], align 16 @.str = private unnamed_addr constant [34 x i8] c"ULPTX channel 3 PBL out of bounds\00", align 1 @.str.1 = private unnamed_addr constant [34 x i8] c"ULPTX channel 2 PBL out of bounds\00", align 1 @.str.2 = private unnamed_addr constant [34 x i8] c"ULPTX channel 1 PBL out of bounds\00", align 1 @.str.3 = private unnamed_addr constant [34 x i8] c"ULPTX channel 0 PBL out of bounds\00", align 1 @.str.4 = private unnamed_addr constant [19 x i8] c"ULPTX parity error\00", align 1 @ULP_TX_INT_CAUSE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ulptx_intr_handler], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ulptx_intr_handler(ptr noundef %0) #0 { %2 = load i32, ptr @ULP_TX_INT_CAUSE, align 4, !tbaa !5 %3 = tail call i64 @t4_handle_intr_status(ptr noundef %0, i32 noundef %2, ptr noundef nonnull @ulptx_intr_handler.ulptx_intr_info) #2 %4 = icmp eq i64 %3, 0 br i1 %4, label %7, label %5 5: ; preds = %1 %6 = tail call i32 @t4_fatal_err(ptr noundef %0) #2 br label %7 7: ; preds = %5, %1 ret void } declare i64 @t4_handle_intr_status(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @t4_fatal_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"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/cxgb4/extr_t4_hw.c_ulptx_intr_handler.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/cxgb4/extr_t4_hw.c_ulptx_intr_handler.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.intr_info = type { i32, ptr, i32, i32 } @ulptx_intr_handler.ulptx_intr_info = internal constant [6 x %struct.intr_info] [%struct.intr_info { i32 128, ptr @.str, i32 -1, i32 0 }, %struct.intr_info { i32 129, ptr @.str.1, i32 -1, i32 0 }, %struct.intr_info { i32 130, ptr @.str.2, i32 -1, i32 0 }, %struct.intr_info { i32 131, ptr @.str.3, i32 -1, i32 0 }, %struct.intr_info { i32 268435455, ptr @.str.4, i32 -1, i32 1 }, %struct.intr_info zeroinitializer], align 8 @.str = private unnamed_addr constant [34 x i8] c"ULPTX channel 3 PBL out of bounds\00", align 1 @.str.1 = private unnamed_addr constant [34 x i8] c"ULPTX channel 2 PBL out of bounds\00", align 1 @.str.2 = private unnamed_addr constant [34 x i8] c"ULPTX channel 1 PBL out of bounds\00", align 1 @.str.3 = private unnamed_addr constant [34 x i8] c"ULPTX channel 0 PBL out of bounds\00", align 1 @.str.4 = private unnamed_addr constant [19 x i8] c"ULPTX parity error\00", align 1 @ULP_TX_INT_CAUSE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ulptx_intr_handler], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ulptx_intr_handler(ptr noundef %0) #0 { %2 = load i32, ptr @ULP_TX_INT_CAUSE, align 4, !tbaa !6 %3 = tail call i64 @t4_handle_intr_status(ptr noundef %0, i32 noundef %2, ptr noundef nonnull @ulptx_intr_handler.ulptx_intr_info) #2 %4 = icmp eq i64 %3, 0 br i1 %4, label %7, label %5 5: ; preds = %1 %6 = tail call i32 @t4_fatal_err(ptr noundef %0) #2 br label %7 7: ; preds = %5, %1 ret void } declare i64 @t4_handle_intr_status(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @t4_fatal_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"}
fastsocket_kernel_drivers_net_cxgb4_extr_t4_hw.c_ulptx_intr_handler
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_amdgpu_device.c_amdgpu_device_need_post.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_amdgpu_device.c_amdgpu_device_need_post.c" target datalayout = "e-m:e-p270:32:32-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.amdgpu_device = type { i64, i32, %struct.TYPE_3__, i32 } %struct.TYPE_3__ = type { ptr } @CHIP_FIJI = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [20 x i8] c"amdgpu/fiji_smc.bin\00", align 1 @CHIP_BONAIRE = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local i32 @amdgpu_device_need_post(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i64 @amdgpu_sriov_vf(ptr noundef %0) #2 %3 = icmp eq i64 %2, 0 br i1 %3, label %4, label %40 4: ; preds = %1 %5 = tail call i64 @amdgpu_passthrough(ptr noundef %0) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %24, label %7 7: ; preds = %4 %8 = load i64, ptr %0, align 8, !tbaa !5 %9 = load i64, ptr @CHIP_FIJI, align 8, !tbaa !13 %10 = icmp eq i64 %8, %9 br i1 %10, label %11, label %24 11: ; preds = %7 %12 = getelementptr inbounds %struct.amdgpu_device, ptr %0, i64 0, i32 2 %13 = getelementptr inbounds %struct.amdgpu_device, ptr %0, i64 0, i32 3 %14 = load i32, ptr %13, align 8, !tbaa !14 %15 = tail call i32 @request_firmware(ptr noundef nonnull %12, ptr noundef nonnull @.str, i32 noundef %14) #2 %16 = icmp eq i32 %15, 0 br i1 %16, label %17, label %40 17: ; preds = %11 %18 = load ptr, ptr %12, align 8, !tbaa !15 %19 = load i64, ptr %18, align 8, !tbaa !16 %20 = inttoptr i64 %19 to ptr %21 = getelementptr inbounds i32, ptr %20, i64 69 %22 = load i32, ptr %21, align 4, !tbaa !18 %23 = icmp sgt i32 %22, 1445375 br i1 %23, label %24, label %40 24: ; preds = %7, %17, %4 %25 = getelementptr inbounds %struct.amdgpu_device, ptr %0, i64 0, i32 1 %26 = load i32, ptr %25, align 8, !tbaa !19 %27 = icmp eq i32 %26, 0 br i1 %27, label %29, label %28 28: ; preds = %24 store i32 0, ptr %25, align 8, !tbaa !19 br label %40 29: ; preds = %24 %30 = load i64, ptr %0, align 8, !tbaa !5 %31 = load i64, ptr @CHIP_BONAIRE, align 8, !tbaa !13 %32 = icmp slt i64 %30, %31 br i1 %32, label %35, label %33 33: ; preds = %29 %34 = tail call i32 @amdgpu_atombios_scratch_need_asic_init(ptr noundef nonnull %0) #2 br label %40 35: ; preds = %29 %36 = tail call i32 @amdgpu_asic_get_config_memsize(ptr noundef nonnull %0) #2 %37 = add i32 %36, 1 %38 = icmp ult i32 %37, 2 %39 = zext i1 %38 to i32 br label %40 40: ; preds = %11, %35, %1, %17, %33, %28 %41 = phi i32 [ 1, %28 ], [ %34, %33 ], [ 1, %17 ], [ 0, %1 ], [ %39, %35 ], [ 1, %11 ] ret i32 %41 } declare i64 @amdgpu_sriov_vf(ptr noundef) local_unnamed_addr #1 declare i64 @amdgpu_passthrough(ptr noundef) local_unnamed_addr #1 declare i32 @request_firmware(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @amdgpu_atombios_scratch_need_asic_init(ptr noundef) local_unnamed_addr #1 declare i32 @amdgpu_asic_get_config_memsize(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 = !{!"amdgpu_device", !7, i64 0, !10, i64 8, !11, i64 16, !10, i64 24} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!"TYPE_3__", !12, i64 0} !12 = !{!"any pointer", !8, i64 0} !13 = !{!7, !7, i64 0} !14 = !{!6, !10, i64 24} !15 = !{!6, !12, i64 16} !16 = !{!17, !7, i64 0} !17 = !{!"TYPE_4__", !7, i64 0} !18 = !{!10, !10, i64 0} !19 = !{!6, !10, i64 8}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_amdgpu_device.c_amdgpu_device_need_post.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_amdgpu_device.c_amdgpu_device_need_post.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CHIP_FIJI = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [20 x i8] c"amdgpu/fiji_smc.bin\00", align 1 @CHIP_BONAIRE = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @amdgpu_device_need_post(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i64 @amdgpu_sriov_vf(ptr noundef %0) #2 %3 = icmp eq i64 %2, 0 br i1 %3, label %4, label %40 4: ; preds = %1 %5 = tail call i64 @amdgpu_passthrough(ptr noundef %0) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %24, label %7 7: ; preds = %4 %8 = load i64, ptr %0, align 8, !tbaa !6 %9 = load i64, ptr @CHIP_FIJI, align 8, !tbaa !14 %10 = icmp eq i64 %8, %9 br i1 %10, label %11, label %24 11: ; preds = %7 %12 = getelementptr inbounds i8, ptr %0, i64 16 %13 = getelementptr inbounds i8, ptr %0, i64 24 %14 = load i32, ptr %13, align 8, !tbaa !15 %15 = tail call i32 @request_firmware(ptr noundef nonnull %12, ptr noundef nonnull @.str, i32 noundef %14) #2 %16 = icmp eq i32 %15, 0 br i1 %16, label %17, label %40 17: ; preds = %11 %18 = load ptr, ptr %12, align 8, !tbaa !16 %19 = load i64, ptr %18, align 8, !tbaa !17 %20 = inttoptr i64 %19 to ptr %21 = getelementptr inbounds i8, ptr %20, i64 276 %22 = load i32, ptr %21, align 4, !tbaa !19 %23 = icmp sgt i32 %22, 1445375 br i1 %23, label %24, label %40 24: ; preds = %7, %17, %4 %25 = getelementptr inbounds i8, ptr %0, i64 8 %26 = load i32, ptr %25, align 8, !tbaa !20 %27 = icmp eq i32 %26, 0 br i1 %27, label %29, label %28 28: ; preds = %24 store i32 0, ptr %25, align 8, !tbaa !20 br label %40 29: ; preds = %24 %30 = load i64, ptr %0, align 8, !tbaa !6 %31 = load i64, ptr @CHIP_BONAIRE, align 8, !tbaa !14 %32 = icmp slt i64 %30, %31 br i1 %32, label %35, label %33 33: ; preds = %29 %34 = tail call i32 @amdgpu_atombios_scratch_need_asic_init(ptr noundef nonnull %0) #2 br label %40 35: ; preds = %29 %36 = tail call i32 @amdgpu_asic_get_config_memsize(ptr noundef nonnull %0) #2 %37 = add i32 %36, 1 %38 = icmp ult i32 %37, 2 %39 = zext i1 %38 to i32 br label %40 40: ; preds = %11, %35, %1, %17, %33, %28 %41 = phi i32 [ 1, %28 ], [ %34, %33 ], [ 1, %17 ], [ 0, %1 ], [ %39, %35 ], [ 1, %11 ] ret i32 %41 } declare i64 @amdgpu_sriov_vf(ptr noundef) local_unnamed_addr #1 declare i64 @amdgpu_passthrough(ptr noundef) local_unnamed_addr #1 declare i32 @request_firmware(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @amdgpu_atombios_scratch_need_asic_init(ptr noundef) local_unnamed_addr #1 declare i32 @amdgpu_asic_get_config_memsize(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 = !{!"amdgpu_device", !8, i64 0, !11, i64 8, !12, i64 16, !11, i64 24} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!"TYPE_3__", !13, i64 0} !13 = !{!"any pointer", !9, i64 0} !14 = !{!8, !8, i64 0} !15 = !{!7, !11, i64 24} !16 = !{!7, !13, i64 16} !17 = !{!18, !8, i64 0} !18 = !{!"TYPE_4__", !8, i64 0} !19 = !{!11, !11, i64 0} !20 = !{!7, !11, i64 8}
linux_drivers_gpu_drm_amd_amdgpu_extr_amdgpu_device.c_amdgpu_device_need_post
; ModuleID = 'AnghaBench/linux/drivers/media/i2c/extr_ad9389b.c_ad9389b_get_edid.c' source_filename = "AnghaBench/linux/drivers/media/i2c/extr_ad9389b.c_ad9389b_get_edid.c" target datalayout = "e-m:e-p270:32:32-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.v4l2_edid = type { i64, i32, i32, i32 } %struct.TYPE_2__ = type { i32, ptr } @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @debug = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [26 x i8] c"EDID segment 0 not found\0A\00", align 1 @ENODATA = dso_local local_unnamed_addr global i32 0, align 4 @E2BIG = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ad9389b_get_edid], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ad9389b_get_edid(ptr noundef %0, ptr nocapture noundef %1) #0 { %3 = tail call ptr @get_ad9389b_state(ptr noundef %0) #2 %4 = load i64, ptr %1, align 8, !tbaa !5 %5 = icmp eq i64 %4, 0 br i1 %5, label %9, label %6 6: ; preds = %2 %7 = load i32, ptr @EINVAL, align 4, !tbaa !11 %8 = sub nsw i32 0, %7 br label %50 9: ; preds = %2 %10 = getelementptr inbounds %struct.v4l2_edid, ptr %1, i64 0, i32 1 %11 = load i32, ptr %10, align 8, !tbaa !12 %12 = icmp eq i32 %11, 0 %13 = icmp sgt i32 %11, 256 %14 = or i1 %12, %13 br i1 %14, label %15, label %18 15: ; preds = %9 %16 = load i32, ptr @EINVAL, align 4, !tbaa !11 %17 = sub nsw i32 0, %16 br label %50 18: ; preds = %9 %19 = load i32, ptr %3, align 8, !tbaa !13 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %26 21: ; preds = %18 %22 = load i32, ptr @debug, align 4, !tbaa !11 %23 = tail call i32 @v4l2_dbg(i32 noundef 1, i32 noundef %22, ptr noundef %0, ptr noundef nonnull @.str) #2 %24 = load i32, ptr @ENODATA, align 4, !tbaa !11 %25 = sub nsw i32 0, %24 br label %50 26: ; preds = %18 %27 = getelementptr inbounds %struct.v4l2_edid, ptr %1, i64 0, i32 2 %28 = load i32, ptr %27, align 4, !tbaa !17 %29 = shl nsw i32 %19, 1 %30 = icmp slt i32 %28, %29 br i1 %30, label %34, label %31 31: ; preds = %26 %32 = load i32, ptr @E2BIG, align 4, !tbaa !11 %33 = sub nsw i32 0, %32 br label %50 34: ; preds = %26 %35 = add nsw i32 %28, %11 %36 = icmp slt i32 %35, %29 br i1 %36, label %39, label %37 37: ; preds = %34 %38 = sub nsw i32 %29, %28 store i32 %38, ptr %10, align 8, !tbaa !12 br label %39 39: ; preds = %37, %34 %40 = phi i32 [ %38, %37 ], [ %11, %34 ] %41 = getelementptr inbounds %struct.v4l2_edid, ptr %1, i64 0, i32 3 %42 = load i32, ptr %41, align 8, !tbaa !18 %43 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 0, i32 1 %44 = load ptr, ptr %43, align 8, !tbaa !19 %45 = shl nsw i32 %28, 7 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i32, ptr %44, i64 %46 %48 = shl nsw i32 %40, 7 %49 = tail call i32 @memcpy(i32 noundef %42, ptr noundef %47, i32 noundef %48) #2 br label %50 50: ; preds = %39, %31, %21, %15, %6 %51 = phi i32 [ %8, %6 ], [ %17, %15 ], [ %33, %31 ], [ 0, %39 ], [ %25, %21 ] ret i32 %51 } declare ptr @get_ad9389b_state(ptr noundef) local_unnamed_addr #1 declare i32 @v4l2_dbg(i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @memcpy(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 = !{!"v4l2_edid", !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 = !{!10, !10, i64 0} !12 = !{!6, !10, i64 8} !13 = !{!14, !10, i64 0} !14 = !{!"ad9389b_state", !15, i64 0} !15 = !{!"TYPE_2__", !10, i64 0, !16, i64 8} !16 = !{!"any pointer", !8, i64 0} !17 = !{!6, !10, i64 12} !18 = !{!6, !10, i64 16} !19 = !{!14, !16, i64 8}
; ModuleID = 'AnghaBench/linux/drivers/media/i2c/extr_ad9389b.c_ad9389b_get_edid.c' source_filename = "AnghaBench/linux/drivers/media/i2c/extr_ad9389b.c_ad9389b_get_edid.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 @debug = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [26 x i8] c"EDID segment 0 not found\0A\00", align 1 @ENODATA = common local_unnamed_addr global i32 0, align 4 @E2BIG = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ad9389b_get_edid], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @ad9389b_get_edid(ptr noundef %0, ptr nocapture noundef %1) #0 { %3 = tail call ptr @get_ad9389b_state(ptr noundef %0) #2 %4 = load i64, ptr %1, align 8, !tbaa !6 %5 = icmp eq i64 %4, 0 br i1 %5, label %9, label %6 6: ; preds = %2 %7 = load i32, ptr @EINVAL, align 4, !tbaa !12 %8 = sub nsw i32 0, %7 br label %50 9: ; preds = %2 %10 = getelementptr inbounds i8, ptr %1, i64 8 %11 = load i32, ptr %10, align 8, !tbaa !13 %12 = icmp eq i32 %11, 0 %13 = icmp sgt i32 %11, 256 %14 = or i1 %12, %13 br i1 %14, label %15, label %18 15: ; preds = %9 %16 = load i32, ptr @EINVAL, align 4, !tbaa !12 %17 = sub nsw i32 0, %16 br label %50 18: ; preds = %9 %19 = load i32, ptr %3, align 8, !tbaa !14 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %26 21: ; preds = %18 %22 = load i32, ptr @debug, align 4, !tbaa !12 %23 = tail call i32 @v4l2_dbg(i32 noundef 1, i32 noundef %22, ptr noundef %0, ptr noundef nonnull @.str) #2 %24 = load i32, ptr @ENODATA, align 4, !tbaa !12 %25 = sub nsw i32 0, %24 br label %50 26: ; preds = %18 %27 = getelementptr inbounds i8, ptr %1, i64 12 %28 = load i32, ptr %27, align 4, !tbaa !18 %29 = shl nsw i32 %19, 1 %30 = icmp slt i32 %28, %29 br i1 %30, label %34, label %31 31: ; preds = %26 %32 = load i32, ptr @E2BIG, align 4, !tbaa !12 %33 = sub nsw i32 0, %32 br label %50 34: ; preds = %26 %35 = add nsw i32 %28, %11 %36 = icmp slt i32 %35, %29 br i1 %36, label %39, label %37 37: ; preds = %34 %38 = sub nsw i32 %29, %28 store i32 %38, ptr %10, align 8, !tbaa !13 br label %39 39: ; preds = %37, %34 %40 = phi i32 [ %38, %37 ], [ %11, %34 ] %41 = getelementptr inbounds i8, ptr %1, i64 16 %42 = load i32, ptr %41, align 8, !tbaa !19 %43 = getelementptr inbounds i8, ptr %3, i64 8 %44 = load ptr, ptr %43, align 8, !tbaa !20 %45 = shl nsw i32 %28, 7 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i32, ptr %44, i64 %46 %48 = shl nsw i32 %40, 7 %49 = tail call i32 @memcpy(i32 noundef %42, ptr noundef %47, i32 noundef %48) #2 br label %50 50: ; preds = %39, %31, %21, %15, %6 %51 = phi i32 [ %8, %6 ], [ %17, %15 ], [ %33, %31 ], [ 0, %39 ], [ %25, %21 ] ret i32 %51 } declare ptr @get_ad9389b_state(ptr noundef) local_unnamed_addr #1 declare i32 @v4l2_dbg(i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @memcpy(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 = !{!"v4l2_edid", !8, i64 0, !11, i64 8, !11, i64 12, !11, i64 16} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!11, !11, i64 0} !13 = !{!7, !11, i64 8} !14 = !{!15, !11, i64 0} !15 = !{!"ad9389b_state", !16, i64 0} !16 = !{!"TYPE_2__", !11, i64 0, !17, i64 8} !17 = !{!"any pointer", !9, i64 0} !18 = !{!7, !11, i64 12} !19 = !{!7, !11, i64 16} !20 = !{!15, !17, i64 8}
linux_drivers_media_i2c_extr_ad9389b.c_ad9389b_get_edid
; ModuleID = 'AnghaBench/lab/q3map2/libs/mathlib/extr_m4x4.c_m4x4_rotation_for_axisangle.c' source_filename = "AnghaBench/lab/q3map2/libs/mathlib/extr_m4x4.c_m4x4_rotation_for_axisangle.c" target datalayout = "e-m:e-p270:32:32-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: noreturn nounwind uwtable define dso_local void @m4x4_rotation_for_axisangle(i32 noundef %0, ptr nocapture noundef readnone %1, double noundef %2) local_unnamed_addr #0 { %4 = fmul double %2, 5.000000e-01 %5 = fptrunc double %4 to float %6 = tail call i64 @sin(float noundef %5) #2 unreachable } declare i64 @sin(float noundef) local_unnamed_addr #1 attributes #0 = { noreturn nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/lab/q3map2/libs/mathlib/extr_m4x4.c_m4x4_rotation_for_axisangle.c' source_filename = "AnghaBench/lab/q3map2/libs/mathlib/extr_m4x4.c_m4x4_rotation_for_axisangle.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: noreturn nounwind ssp uwtable(sync) define void @m4x4_rotation_for_axisangle(i32 noundef %0, ptr nocapture noundef readnone %1, double noundef %2) local_unnamed_addr #0 { %4 = fmul double %2, 5.000000e-01 %5 = fptrunc double %4 to float %6 = tail call i64 @sin(float noundef %5) #2 unreachable } declare i64 @sin(float noundef) local_unnamed_addr #1 attributes #0 = { noreturn nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
lab_q3map2_libs_mathlib_extr_m4x4.c_m4x4_rotation_for_axisangle
; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopnz.c_m68k_op_trapvc.c' source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopnz.c_m68k_op_trapvc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @CPU_TYPE = dso_local local_unnamed_addr global i32 0, align 4 @EXCEPTION_TRAPV = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @m68k_op_trapvc() local_unnamed_addr #0 { %1 = load i32, ptr @CPU_TYPE, align 4, !tbaa !5 %2 = tail call i64 @CPU_TYPE_IS_EC020_PLUS(i32 noundef %1) #2 %3 = icmp eq i64 %2, 0 br i1 %3, label %10, label %4 4: ; preds = %0 %5 = tail call i64 (...) @COND_VC() #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %12, label %7 7: ; preds = %4 %8 = load i32, ptr @EXCEPTION_TRAPV, align 4, !tbaa !5 %9 = tail call i32 @m68ki_exception_trap(i32 noundef %8) #2 br label %12 10: ; preds = %0 %11 = tail call i32 (...) @m68ki_exception_illegal() #2 br label %12 12: ; preds = %4, %7, %10 ret void } declare i64 @CPU_TYPE_IS_EC020_PLUS(i32 noundef) local_unnamed_addr #1 declare i64 @COND_VC(...) local_unnamed_addr #1 declare i32 @m68ki_exception_trap(i32 noundef) local_unnamed_addr #1 declare i32 @m68ki_exception_illegal(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopnz.c_m68k_op_trapvc.c' source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopnz.c_m68k_op_trapvc.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CPU_TYPE = common local_unnamed_addr global i32 0, align 4 @EXCEPTION_TRAPV = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @m68k_op_trapvc() local_unnamed_addr #0 { %1 = load i32, ptr @CPU_TYPE, align 4, !tbaa !6 %2 = tail call i64 @CPU_TYPE_IS_EC020_PLUS(i32 noundef %1) #2 %3 = icmp eq i64 %2, 0 br i1 %3, label %10, label %4 4: ; preds = %0 %5 = tail call i64 @COND_VC() #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %12, label %7 7: ; preds = %4 %8 = load i32, ptr @EXCEPTION_TRAPV, align 4, !tbaa !6 %9 = tail call i32 @m68ki_exception_trap(i32 noundef %8) #2 br label %12 10: ; preds = %0 %11 = tail call i32 @m68ki_exception_illegal() #2 br label %12 12: ; preds = %4, %7, %10 ret void } declare i64 @CPU_TYPE_IS_EC020_PLUS(i32 noundef) local_unnamed_addr #1 declare i64 @COND_VC(...) local_unnamed_addr #1 declare i32 @m68ki_exception_trap(i32 noundef) local_unnamed_addr #1 declare i32 @m68ki_exception_illegal(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
Provenance_Cores_Yabause_yabause_src_musashi_extr_m68kopnz.c_m68k_op_trapvc
; ModuleID = 'AnghaBench/tengine/modules/ngx_http_lua_module/src/extr_ngx_http_lua_args.c_ngx_http_lua_parse_args.c' source_filename = "AnghaBench/tengine/modules/ngx_http_lua_module/src/extr_ngx_http_lua_args.c_ngx_http_lua_parse_args.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @NGX_UNESCAPE_URI_COMPONENT = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [17 x i8] c"pushing key %.*s\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"pushing key or value %.*s\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"pushing boolean true\00", align 1 @.str.3 = private unnamed_addr constant [25 x i8] c"popping key and value...\00", align 1 @.str.4 = private unnamed_addr constant [17 x i8] c"setting table...\00", align 1 @.str.5 = private unnamed_addr constant [10 x i8] c"truncated\00", align 1 @NGX_LOG_DEBUG_HTTP = dso_local local_unnamed_addr global i32 0, align 4 @ngx_cycle = dso_local local_unnamed_addr global ptr null, align 8 @.str.6 = private unnamed_addr constant [28 x i8] c"lua hit query args limit %d\00", align 1 @.str.7 = private unnamed_addr constant [24 x i8] c"pushing boolean true...\00", align 1 @.str.8 = private unnamed_addr constant [11 x i8] c"gettop: %d\00", align 1 @.str.9 = private unnamed_addr constant [9 x i8] c"type: %s\00", align 1 @.str.10 = private unnamed_addr constant [35 x i8] c"internal error: stack in bad state\00", align 1 ; Function Attrs: nounwind uwtable define dso_local i32 @ngx_http_lua_parse_args(ptr noundef %0, ptr noundef %1, ptr noundef readnone %2, i32 noundef %3) local_unnamed_addr #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3 %8 = tail call i32 @lua_gettop(ptr noundef %0) #3 %9 = icmp eq ptr %1, %2 br i1 %9, label %92, label %10 10: ; preds = %4 %11 = icmp sgt i32 %3, 0 br label %12 12: ; preds = %10, %84 %13 = phi i32 [ 0, %10 ], [ %88, %84 ] %14 = phi i32 [ 0, %10 ], [ %87, %84 ] %15 = phi ptr [ %1, %10 ], [ %86, %84 ] %16 = phi ptr [ %1, %10 ], [ %85, %84 ] %17 = load i8, ptr %16, align 1, !tbaa !5 %18 = icmp ne i8 %17, 61 %19 = icmp ne i32 %14, 0 %20 = select i1 %18, i1 true, i1 %19 br i1 %20, label %39, label %21 21: ; preds = %12 store ptr %15, ptr %5, align 8, !tbaa !8 store ptr %15, ptr %6, align 8, !tbaa !8 %22 = ptrtoint ptr %16 to i64 %23 = ptrtoint ptr %15 to i64 %24 = sub i64 %22, %23 %25 = trunc i64 %24 to i32 %26 = load i32, ptr @NGX_UNESCAPE_URI_COMPONENT, align 4, !tbaa !10 %27 = call i32 @ngx_http_lua_unescape_uri(ptr noundef nonnull %6, ptr noundef nonnull %5, i32 noundef %25, i32 noundef %26) #3 %28 = load ptr, ptr %6, align 8, !tbaa !8 %29 = ptrtoint ptr %28 to i64 %30 = sub i64 %29, %23 %31 = trunc i64 %30 to i32 %32 = call i32 (ptr, ...) @dd(ptr noundef nonnull @.str, i32 noundef %31, ptr noundef %15) #3 %33 = load ptr, ptr %6, align 8, !tbaa !8 %34 = ptrtoint ptr %33 to i64 %35 = sub i64 %34, %23 %36 = trunc i64 %35 to i32 %37 = call i32 @lua_pushlstring(ptr noundef %0, ptr noundef %15, i32 noundef %36) #3 %38 = getelementptr inbounds i8, ptr %16, i64 1 br label %84 39: ; preds = %12 %40 = icmp eq i8 %17, 38 br i1 %40, label %41, label %82 41: ; preds = %39 store ptr %15, ptr %5, align 8, !tbaa !8 store ptr %15, ptr %6, align 8, !tbaa !8 %42 = ptrtoint ptr %16 to i64 %43 = ptrtoint ptr %15 to i64 %44 = sub i64 %42, %43 %45 = trunc i64 %44 to i32 %46 = load i32, ptr @NGX_UNESCAPE_URI_COMPONENT, align 4, !tbaa !10 %47 = call i32 @ngx_http_lua_unescape_uri(ptr noundef nonnull %6, ptr noundef nonnull %5, i32 noundef %45, i32 noundef %46) #3 %48 = load ptr, ptr %6, align 8, !tbaa !8 %49 = ptrtoint ptr %48 to i64 %50 = sub i64 %49, %43 %51 = trunc i64 %50 to i32 %52 = call i32 (ptr, ...) @dd(ptr noundef nonnull @.str.1, i32 noundef %51, ptr noundef %15) #3 %53 = load ptr, ptr %6, align 8, !tbaa !8 %54 = ptrtoint ptr %53 to i64 %55 = sub i64 %54, %43 %56 = trunc i64 %55 to i32 %57 = call i32 @lua_pushlstring(ptr noundef %0, ptr noundef %15, i32 noundef %56) #3 %58 = getelementptr inbounds i8, ptr %16, i64 1 br i1 %19, label %62, label %59 59: ; preds = %41 %60 = call i32 (ptr, ...) @dd(ptr noundef nonnull @.str.2) #3 %61 = call i32 @lua_pushboolean(ptr noundef %0, i32 noundef 1) #3 br label %62 62: ; preds = %41, %59 %63 = call i32 @lua_tolstring(ptr noundef %0, i32 noundef -2, ptr noundef nonnull %7) #3 %64 = load i64, ptr %7, align 8, !tbaa !12 %65 = icmp eq i64 %64, 0 br i1 %65, label %66, label %69 66: ; preds = %62 %67 = call i32 (ptr, ...) @dd(ptr noundef nonnull @.str.3) #3 %68 = call i32 @lua_pop(ptr noundef %0, i32 noundef 2) #3 br label %72 69: ; preds = %62 %70 = call i32 (ptr, ...) @dd(ptr noundef nonnull @.str.4) #3 %71 = call i32 @ngx_http_lua_set_multi_value_table(ptr noundef %0, i32 noundef %8) #3 br label %72 72: ; preds = %69, %66 br i1 %11, label %73, label %84 73: ; preds = %72 %74 = add nsw i32 %13, 1 %75 = icmp eq i32 %74, %3 br i1 %75, label %76, label %84 76: ; preds = %73 %77 = call i32 @lua_pushliteral(ptr noundef %0, ptr noundef nonnull @.str.5) #3 %78 = load i32, ptr @NGX_LOG_DEBUG_HTTP, align 4, !tbaa !10 %79 = load ptr, ptr @ngx_cycle, align 8, !tbaa !8 %80 = load i32, ptr %79, align 4, !tbaa !14 %81 = call i32 @ngx_log_debug1(i32 noundef %78, i32 noundef %80, i32 noundef 0, ptr noundef nonnull @.str.6, i32 noundef %3) #3 br label %138 82: ; preds = %39 %83 = getelementptr inbounds i8, ptr %16, i64 1 br label %84 84: ; preds = %82, %73, %72, %21 %85 = phi ptr [ %58, %73 ], [ %58, %72 ], [ %83, %82 ], [ %38, %21 ] %86 = phi ptr [ %58, %73 ], [ %58, %72 ], [ %15, %82 ], [ %38, %21 ] %87 = phi i32 [ 0, %73 ], [ 0, %72 ], [ %14, %82 ], [ 1, %21 ] %88 = phi i32 [ %74, %73 ], [ %13, %72 ], [ %13, %82 ], [ %13, %21 ] %89 = icmp eq ptr %85, %2 br i1 %89, label %90, label %12, !llvm.loop !16 90: ; preds = %84 %91 = icmp ne i32 %87, 0 br label %92 92: ; preds = %90, %4 %93 = phi ptr [ %1, %4 ], [ %2, %90 ] %94 = phi ptr [ %1, %4 ], [ %86, %90 ] %95 = phi i1 [ false, %4 ], [ %91, %90 ] %96 = icmp ne ptr %93, %94 %97 = select i1 %96, i1 true, i1 %95 br i1 %97, label %98, label %128 98: ; preds = %92 store ptr %94, ptr %5, align 8, !tbaa !8 store ptr %94, ptr %6, align 8, !tbaa !8 %99 = ptrtoint ptr %93 to i64 %100 = ptrtoint ptr %94 to i64 %101 = sub i64 %99, %100 %102 = trunc i64 %101 to i32 %103 = load i32, ptr @NGX_UNESCAPE_URI_COMPONENT, align 4, !tbaa !10 %104 = call i32 @ngx_http_lua_unescape_uri(ptr noundef nonnull %6, ptr noundef nonnull %5, i32 noundef %102, i32 noundef %103) #3 %105 = load ptr, ptr %6, align 8, !tbaa !8 %106 = ptrtoint ptr %105 to i64 %107 = sub i64 %106, %100 %108 = trunc i64 %107 to i32 %109 = call i32 (ptr, ...) @dd(ptr noundef nonnull @.str.1, i32 noundef %108, ptr noundef %94) #3 %110 = load ptr, ptr %6, align 8, !tbaa !8 %111 = ptrtoint ptr %110 to i64 %112 = sub i64 %111, %100 %113 = trunc i64 %112 to i32 %114 = call i32 @lua_pushlstring(ptr noundef %0, ptr noundef %94, i32 noundef %113) #3 br i1 %95, label %118, label %115 115: ; preds = %98 %116 = call i32 (ptr, ...) @dd(ptr noundef nonnull @.str.7) #3 %117 = call i32 @lua_pushboolean(ptr noundef %0, i32 noundef 1) #3 br label %118 118: ; preds = %115, %98 %119 = call i32 @lua_tolstring(ptr noundef %0, i32 noundef -2, ptr noundef nonnull %7) #3 %120 = load i64, ptr %7, align 8, !tbaa !12 %121 = icmp eq i64 %120, 0 br i1 %121, label %122, label %125 122: ; preds = %118 %123 = call i32 (ptr, ...) @dd(ptr noundef nonnull @.str.3) #3 %124 = call i32 @lua_pop(ptr noundef %0, i32 noundef 2) #3 br label %128 125: ; preds = %118 %126 = call i32 (ptr, ...) @dd(ptr noundef nonnull @.str.4) #3 %127 = call i32 @ngx_http_lua_set_multi_value_table(ptr noundef %0, i32 noundef %8) #3 br label %128 128: ; preds = %122, %125, %92 %129 = call i32 @lua_gettop(ptr noundef %0) #3 %130 = call i32 (ptr, ...) @dd(ptr noundef nonnull @.str.8, i32 noundef %129) #3 %131 = call i32 @lua_type(ptr noundef %0, i32 noundef 1) #3 %132 = call i32 @lua_typename(ptr noundef %0, i32 noundef %131) #3 %133 = call i32 (ptr, ...) @dd(ptr noundef nonnull @.str.9, i32 noundef %132) #3 %134 = call i32 @lua_gettop(ptr noundef %0) #3 %135 = icmp eq i32 %134, %8 br i1 %135, label %138, label %136 136: ; preds = %128 %137 = call i32 @luaL_error(ptr noundef %0, ptr noundef nonnull @.str.10) #3 br label %138 138: ; preds = %128, %136, %76 %139 = phi i32 [ 2, %76 ], [ %137, %136 ], [ 1, %128 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 ret i32 %139 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @lua_gettop(ptr noundef) local_unnamed_addr #2 declare i32 @ngx_http_lua_unescape_uri(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @dd(ptr noundef, ...) local_unnamed_addr #2 declare i32 @lua_pushlstring(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @lua_pushboolean(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @lua_tolstring(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @lua_pop(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ngx_http_lua_set_multi_value_table(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @lua_pushliteral(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ngx_log_debug1(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @lua_typename(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @lua_type(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @luaL_error(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = !{!9, !9, i64 0} !9 = !{!"any pointer", !6, i64 0} !10 = !{!11, !11, i64 0} !11 = !{!"int", !6, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"long", !6, i64 0} !14 = !{!15, !11, i64 0} !15 = !{!"TYPE_2__", !11, i64 0} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/tengine/modules/ngx_http_lua_module/src/extr_ngx_http_lua_args.c_ngx_http_lua_parse_args.c' source_filename = "AnghaBench/tengine/modules/ngx_http_lua_module/src/extr_ngx_http_lua_args.c_ngx_http_lua_parse_args.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @NGX_UNESCAPE_URI_COMPONENT = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [17 x i8] c"pushing key %.*s\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"pushing key or value %.*s\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"pushing boolean true\00", align 1 @.str.3 = private unnamed_addr constant [25 x i8] c"popping key and value...\00", align 1 @.str.4 = private unnamed_addr constant [17 x i8] c"setting table...\00", align 1 @.str.5 = private unnamed_addr constant [10 x i8] c"truncated\00", align 1 @NGX_LOG_DEBUG_HTTP = common local_unnamed_addr global i32 0, align 4 @ngx_cycle = common local_unnamed_addr global ptr null, align 8 @.str.6 = private unnamed_addr constant [28 x i8] c"lua hit query args limit %d\00", align 1 @.str.7 = private unnamed_addr constant [24 x i8] c"pushing boolean true...\00", align 1 @.str.8 = private unnamed_addr constant [11 x i8] c"gettop: %d\00", align 1 @.str.9 = private unnamed_addr constant [9 x i8] c"type: %s\00", align 1 @.str.10 = private unnamed_addr constant [35 x i8] c"internal error: stack in bad state\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @ngx_http_lua_parse_args(ptr noundef %0, ptr noundef %1, ptr noundef readnone %2, i32 noundef %3) local_unnamed_addr #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3 %8 = tail call i32 @lua_gettop(ptr noundef %0) #3 %9 = icmp eq ptr %1, %2 br i1 %9, label %92, label %10 10: ; preds = %4 %11 = icmp sgt i32 %3, 0 br label %12 12: ; preds = %10, %84 %13 = phi i32 [ 0, %10 ], [ %88, %84 ] %14 = phi i32 [ 0, %10 ], [ %87, %84 ] %15 = phi ptr [ %1, %10 ], [ %86, %84 ] %16 = phi ptr [ %1, %10 ], [ %85, %84 ] %17 = load i8, ptr %16, align 1, !tbaa !6 %18 = icmp ne i8 %17, 61 %19 = icmp ne i32 %14, 0 %20 = select i1 %18, i1 true, i1 %19 br i1 %20, label %39, label %21 21: ; preds = %12 store ptr %15, ptr %5, align 8, !tbaa !9 store ptr %15, ptr %6, align 8, !tbaa !9 %22 = ptrtoint ptr %16 to i64 %23 = ptrtoint ptr %15 to i64 %24 = sub i64 %22, %23 %25 = trunc i64 %24 to i32 %26 = load i32, ptr @NGX_UNESCAPE_URI_COMPONENT, align 4, !tbaa !11 %27 = call i32 @ngx_http_lua_unescape_uri(ptr noundef nonnull %6, ptr noundef nonnull %5, i32 noundef %25, i32 noundef %26) #3 %28 = load ptr, ptr %6, align 8, !tbaa !9 %29 = ptrtoint ptr %28 to i64 %30 = sub i64 %29, %23 %31 = trunc i64 %30 to i32 %32 = call i32 (ptr, ...) @dd(ptr noundef nonnull @.str, i32 noundef %31, ptr noundef %15) #3 %33 = load ptr, ptr %6, align 8, !tbaa !9 %34 = ptrtoint ptr %33 to i64 %35 = sub i64 %34, %23 %36 = trunc i64 %35 to i32 %37 = call i32 @lua_pushlstring(ptr noundef %0, ptr noundef %15, i32 noundef %36) #3 %38 = getelementptr inbounds i8, ptr %16, i64 1 br label %84 39: ; preds = %12 %40 = icmp eq i8 %17, 38 br i1 %40, label %41, label %82 41: ; preds = %39 store ptr %15, ptr %5, align 8, !tbaa !9 store ptr %15, ptr %6, align 8, !tbaa !9 %42 = ptrtoint ptr %16 to i64 %43 = ptrtoint ptr %15 to i64 %44 = sub i64 %42, %43 %45 = trunc i64 %44 to i32 %46 = load i32, ptr @NGX_UNESCAPE_URI_COMPONENT, align 4, !tbaa !11 %47 = call i32 @ngx_http_lua_unescape_uri(ptr noundef nonnull %6, ptr noundef nonnull %5, i32 noundef %45, i32 noundef %46) #3 %48 = load ptr, ptr %6, align 8, !tbaa !9 %49 = ptrtoint ptr %48 to i64 %50 = sub i64 %49, %43 %51 = trunc i64 %50 to i32 %52 = call i32 (ptr, ...) @dd(ptr noundef nonnull @.str.1, i32 noundef %51, ptr noundef %15) #3 %53 = load ptr, ptr %6, align 8, !tbaa !9 %54 = ptrtoint ptr %53 to i64 %55 = sub i64 %54, %43 %56 = trunc i64 %55 to i32 %57 = call i32 @lua_pushlstring(ptr noundef %0, ptr noundef %15, i32 noundef %56) #3 %58 = getelementptr inbounds i8, ptr %16, i64 1 br i1 %19, label %62, label %59 59: ; preds = %41 %60 = call i32 (ptr, ...) @dd(ptr noundef nonnull @.str.2) #3 %61 = call i32 @lua_pushboolean(ptr noundef %0, i32 noundef 1) #3 br label %62 62: ; preds = %41, %59 %63 = call i32 @lua_tolstring(ptr noundef %0, i32 noundef -2, ptr noundef nonnull %7) #3 %64 = load i64, ptr %7, align 8, !tbaa !13 %65 = icmp eq i64 %64, 0 br i1 %65, label %66, label %69 66: ; preds = %62 %67 = call i32 (ptr, ...) @dd(ptr noundef nonnull @.str.3) #3 %68 = call i32 @lua_pop(ptr noundef %0, i32 noundef 2) #3 br label %72 69: ; preds = %62 %70 = call i32 (ptr, ...) @dd(ptr noundef nonnull @.str.4) #3 %71 = call i32 @ngx_http_lua_set_multi_value_table(ptr noundef %0, i32 noundef %8) #3 br label %72 72: ; preds = %69, %66 br i1 %11, label %73, label %84 73: ; preds = %72 %74 = add nsw i32 %13, 1 %75 = icmp eq i32 %74, %3 br i1 %75, label %76, label %84 76: ; preds = %73 %77 = call i32 @lua_pushliteral(ptr noundef %0, ptr noundef nonnull @.str.5) #3 %78 = load i32, ptr @NGX_LOG_DEBUG_HTTP, align 4, !tbaa !11 %79 = load ptr, ptr @ngx_cycle, align 8, !tbaa !9 %80 = load i32, ptr %79, align 4, !tbaa !15 %81 = call i32 @ngx_log_debug1(i32 noundef %78, i32 noundef %80, i32 noundef 0, ptr noundef nonnull @.str.6, i32 noundef %3) #3 br label %138 82: ; preds = %39 %83 = getelementptr inbounds i8, ptr %16, i64 1 br label %84 84: ; preds = %82, %73, %72, %21 %85 = phi ptr [ %58, %73 ], [ %58, %72 ], [ %83, %82 ], [ %38, %21 ] %86 = phi ptr [ %58, %73 ], [ %58, %72 ], [ %15, %82 ], [ %38, %21 ] %87 = phi i32 [ 0, %73 ], [ 0, %72 ], [ %14, %82 ], [ 1, %21 ] %88 = phi i32 [ %74, %73 ], [ %13, %72 ], [ %13, %82 ], [ %13, %21 ] %89 = icmp eq ptr %85, %2 br i1 %89, label %90, label %12, !llvm.loop !17 90: ; preds = %84 %91 = icmp ne i32 %87, 0 br label %92 92: ; preds = %90, %4 %93 = phi ptr [ %1, %4 ], [ %2, %90 ] %94 = phi ptr [ %1, %4 ], [ %86, %90 ] %95 = phi i1 [ false, %4 ], [ %91, %90 ] %96 = icmp ne ptr %93, %94 %97 = select i1 %96, i1 true, i1 %95 br i1 %97, label %98, label %128 98: ; preds = %92 store ptr %94, ptr %5, align 8, !tbaa !9 store ptr %94, ptr %6, align 8, !tbaa !9 %99 = ptrtoint ptr %93 to i64 %100 = ptrtoint ptr %94 to i64 %101 = sub i64 %99, %100 %102 = trunc i64 %101 to i32 %103 = load i32, ptr @NGX_UNESCAPE_URI_COMPONENT, align 4, !tbaa !11 %104 = call i32 @ngx_http_lua_unescape_uri(ptr noundef nonnull %6, ptr noundef nonnull %5, i32 noundef %102, i32 noundef %103) #3 %105 = load ptr, ptr %6, align 8, !tbaa !9 %106 = ptrtoint ptr %105 to i64 %107 = sub i64 %106, %100 %108 = trunc i64 %107 to i32 %109 = call i32 (ptr, ...) @dd(ptr noundef nonnull @.str.1, i32 noundef %108, ptr noundef %94) #3 %110 = load ptr, ptr %6, align 8, !tbaa !9 %111 = ptrtoint ptr %110 to i64 %112 = sub i64 %111, %100 %113 = trunc i64 %112 to i32 %114 = call i32 @lua_pushlstring(ptr noundef %0, ptr noundef %94, i32 noundef %113) #3 br i1 %95, label %118, label %115 115: ; preds = %98 %116 = call i32 (ptr, ...) @dd(ptr noundef nonnull @.str.7) #3 %117 = call i32 @lua_pushboolean(ptr noundef %0, i32 noundef 1) #3 br label %118 118: ; preds = %115, %98 %119 = call i32 @lua_tolstring(ptr noundef %0, i32 noundef -2, ptr noundef nonnull %7) #3 %120 = load i64, ptr %7, align 8, !tbaa !13 %121 = icmp eq i64 %120, 0 br i1 %121, label %122, label %125 122: ; preds = %118 %123 = call i32 (ptr, ...) @dd(ptr noundef nonnull @.str.3) #3 %124 = call i32 @lua_pop(ptr noundef %0, i32 noundef 2) #3 br label %128 125: ; preds = %118 %126 = call i32 (ptr, ...) @dd(ptr noundef nonnull @.str.4) #3 %127 = call i32 @ngx_http_lua_set_multi_value_table(ptr noundef %0, i32 noundef %8) #3 br label %128 128: ; preds = %122, %125, %92 %129 = call i32 @lua_gettop(ptr noundef %0) #3 %130 = call i32 (ptr, ...) @dd(ptr noundef nonnull @.str.8, i32 noundef %129) #3 %131 = call i32 @lua_type(ptr noundef %0, i32 noundef 1) #3 %132 = call i32 @lua_typename(ptr noundef %0, i32 noundef %131) #3 %133 = call i32 (ptr, ...) @dd(ptr noundef nonnull @.str.9, i32 noundef %132) #3 %134 = call i32 @lua_gettop(ptr noundef %0) #3 %135 = icmp eq i32 %134, %8 br i1 %135, label %138, label %136 136: ; preds = %128 %137 = call i32 @luaL_error(ptr noundef %0, ptr noundef nonnull @.str.10) #3 br label %138 138: ; preds = %128, %136, %76 %139 = phi i32 [ 2, %76 ], [ %137, %136 ], [ 1, %128 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 ret i32 %139 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @lua_gettop(ptr noundef) local_unnamed_addr #2 declare i32 @ngx_http_lua_unescape_uri(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @dd(ptr noundef, ...) local_unnamed_addr #2 declare i32 @lua_pushlstring(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @lua_pushboolean(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @lua_tolstring(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @lua_pop(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ngx_http_lua_set_multi_value_table(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @lua_pushliteral(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ngx_log_debug1(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @lua_typename(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @lua_type(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @luaL_error(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"int", !7, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"long", !7, i64 0} !15 = !{!16, !12, i64 0} !16 = !{!"TYPE_2__", !12, i64 0} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"}
tengine_modules_ngx_http_lua_module_src_extr_ngx_http_lua_args.c_ngx_http_lua_parse_args
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_s390-tdep.c_is_power_of_two.c' source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_s390-tdep.c_is_power_of_two.c" target datalayout = "e-m:e-p270:32:32-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 @is_power_of_two], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal i32 @is_power_of_two(i32 noundef %0) #0 { %2 = tail call i32 @llvm.ctpop.i32(i32 %0), !range !5 %3 = icmp ult i32 %2, 2 %4 = zext i1 %3 to i32 ret i32 %4 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.ctpop.i32(i32) #1 attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{i32 0, i32 33}
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_s390-tdep.c_is_power_of_two.c' source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_s390-tdep.c_is_power_of_two.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @is_power_of_two], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal range(i32 0, 2) i32 @is_power_of_two(i32 noundef %0) #0 { %2 = tail call range(i32 0, 33) i32 @llvm.ctpop.i32(i32 %0) %3 = icmp ult i32 %2, 2 %4 = zext i1 %3 to i32 ret i32 %4 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.ctpop.i32(i32) #1 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" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_contrib_gdb_gdb_extr_s390-tdep.c_is_power_of_two
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/extr_rndis_wlan.c_rndis_akm_suite_to_key_mgmt.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/extr_rndis_wlan.c_rndis_akm_suite_to_key_mgmt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @RNDIS_WLAN_KEY_MGMT_NONE = dso_local local_unnamed_addr global i32 0, align 4 @RNDIS_WLAN_KEY_MGMT_802_1X = dso_local local_unnamed_addr global i32 0, align 4 @RNDIS_WLAN_KEY_MGMT_PSK = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @rndis_akm_suite_to_key_mgmt], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define internal i32 @rndis_akm_suite_to_key_mgmt(i32 noundef %0) #0 { %2 = icmp eq i32 %0, 128 %3 = icmp eq i32 %0, 129 %4 = load i32, ptr @RNDIS_WLAN_KEY_MGMT_802_1X, align 4 %5 = load i32, ptr @RNDIS_WLAN_KEY_MGMT_PSK, align 4 %6 = load i32, ptr @RNDIS_WLAN_KEY_MGMT_NONE, align 4 %7 = select i1 %2, i32 %5, i32 %6 %8 = select i1 %3, i32 %4, i32 %7 ret i32 %8 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/extr_rndis_wlan.c_rndis_akm_suite_to_key_mgmt.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/extr_rndis_wlan.c_rndis_akm_suite_to_key_mgmt.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @RNDIS_WLAN_KEY_MGMT_NONE = common local_unnamed_addr global i32 0, align 4 @RNDIS_WLAN_KEY_MGMT_802_1X = common local_unnamed_addr global i32 0, align 4 @RNDIS_WLAN_KEY_MGMT_PSK = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @rndis_akm_suite_to_key_mgmt], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define internal i32 @rndis_akm_suite_to_key_mgmt(i32 noundef %0) #0 { %2 = icmp eq i32 %0, 128 %3 = icmp eq i32 %0, 129 %4 = load i32, ptr @RNDIS_WLAN_KEY_MGMT_802_1X, align 4 %5 = load i32, ptr @RNDIS_WLAN_KEY_MGMT_PSK, align 4 %6 = load i32, ptr @RNDIS_WLAN_KEY_MGMT_NONE, align 4 %7 = select i1 %2, i32 %5, i32 %6 %8 = select i1 %3, i32 %4, i32 %7 ret i32 %8 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
fastsocket_kernel_drivers_net_wireless_extr_rndis_wlan.c_rndis_akm_suite_to_key_mgmt
; ModuleID = 'AnghaBench/linux/net/batman-adv/extr_translation-table.c_batadv_tt_local_dump.c' source_filename = "AnghaBench/linux/net/batman-adv/extr_translation-table.c_batadv_tt_local_dump.c" target datalayout = "e-m:e-p270:32:32-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.netlink_callback = type { ptr, i32, ptr } @BATADV_ATTR_MESH_IFINDEX = dso_local local_unnamed_addr global i32 0, align 4 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @ENODEV = dso_local local_unnamed_addr global i32 0, align 4 @BATADV_IF_ACTIVE = dso_local local_unnamed_addr global i64 0, align 8 @ENOENT = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @batadv_tt_local_dump(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = alloca i32, align 4 %4 = getelementptr inbounds %struct.netlink_callback, ptr %1, i64 0, i32 2 %5 = load ptr, ptr %4, align 8, !tbaa !5 %6 = load i32, ptr %5, align 4, !tbaa !11 %7 = tail call ptr @sock_net(i32 noundef %6) #3 %8 = load ptr, ptr %1, align 8, !tbaa !13 %9 = load i32, ptr %8, align 4, !tbaa !14 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %10 = getelementptr inbounds i32, ptr %8, i64 1 %11 = load i32, ptr %10, align 4, !tbaa !14 store i32 %11, ptr %3, align 4, !tbaa !14 %12 = load ptr, ptr %4, align 8, !tbaa !5 %13 = tail call i32 @NETLINK_CB(ptr noundef %12) #3 %14 = getelementptr inbounds %struct.netlink_callback, ptr %1, i64 0, i32 1 %15 = load i32, ptr %14, align 8, !tbaa !15 %16 = load i32, ptr @BATADV_ATTR_MESH_IFINDEX, align 4, !tbaa !14 %17 = tail call i32 @batadv_netlink_get_ifindex(i32 noundef %15, i32 noundef %16) #3 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %22 19: ; preds = %2 %20 = load i32, ptr @EINVAL, align 4, !tbaa !14 %21 = sub nsw i32 0, %20 br label %71 22: ; preds = %2 %23 = tail call ptr @dev_get_by_index(ptr noundef %7, i32 noundef %17) #3 %24 = icmp eq ptr %23, null br i1 %24, label %28, label %25 25: ; preds = %22 %26 = tail call i32 @batadv_softif_is_valid(ptr noundef nonnull %23) #3 %27 = icmp eq i32 %26, 0 br i1 %27, label %28, label %31 28: ; preds = %22, %25 %29 = load i32, ptr @ENODEV, align 4, !tbaa !14 %30 = sub nsw i32 0, %29 br label %62 31: ; preds = %25 %32 = tail call ptr @netdev_priv(ptr noundef nonnull %23) #3 %33 = tail call ptr @batadv_primary_if_get_selected(ptr noundef %32) #3 %34 = icmp eq ptr %33, null br i1 %34, label %39, label %35 35: ; preds = %31 %36 = load i64, ptr %33, align 8, !tbaa !16 %37 = load i64, ptr @BATADV_IF_ACTIVE, align 8, !tbaa !19 %38 = icmp eq i64 %36, %37 br i1 %38, label %42, label %39 39: ; preds = %35, %31 %40 = load i32, ptr @ENOENT, align 4, !tbaa !14 %41 = sub nsw i32 0, %40 br label %57 42: ; preds = %35 %43 = load ptr, ptr %32, align 8, !tbaa !20 %44 = load i32, ptr %43, align 4, !tbaa !23 %45 = icmp slt i32 %9, %44 br i1 %45, label %46, label %54 46: ; preds = %42, %50 %47 = phi i32 [ %51, %50 ], [ %9, %42 ] %48 = call i64 @batadv_tt_local_dump_bucket(ptr noundef %0, i32 noundef %13, ptr noundef nonnull %1, ptr noundef nonnull %32, ptr noundef nonnull %43, i32 noundef %47, ptr noundef nonnull %3) #3 %49 = icmp eq i64 %48, 0 br i1 %49, label %50, label %54 50: ; preds = %46 %51 = add nsw i32 %47, 1 %52 = load i32, ptr %43, align 4, !tbaa !23 %53 = icmp slt i32 %51, %52 br i1 %53, label %46, label %54, !llvm.loop !25 54: ; preds = %50, %46, %42 %55 = phi i32 [ %9, %42 ], [ %47, %46 ], [ %51, %50 ] %56 = load i32, ptr %0, align 4, !tbaa !27 br label %57 57: ; preds = %54, %39 %58 = phi i32 [ %41, %39 ], [ %56, %54 ] %59 = phi i32 [ %9, %39 ], [ %55, %54 ] br i1 %34, label %62, label %60 60: ; preds = %57 %61 = call i32 @batadv_hardif_put(ptr noundef nonnull %33) #3 br label %62 62: ; preds = %28, %60, %57 %63 = phi i32 [ %9, %28 ], [ %59, %60 ], [ %59, %57 ] %64 = phi i32 [ %30, %28 ], [ %58, %60 ], [ %58, %57 ] br i1 %24, label %67, label %65 65: ; preds = %62 %66 = call i32 @dev_put(ptr noundef nonnull %23) #3 br label %67 67: ; preds = %65, %62 %68 = load ptr, ptr %1, align 8, !tbaa !13 store i32 %63, ptr %68, align 4, !tbaa !14 %69 = load i32, ptr %3, align 4, !tbaa !14 %70 = getelementptr inbounds i32, ptr %68, i64 1 store i32 %69, ptr %70, align 4, !tbaa !14 br label %71 71: ; preds = %67, %19 %72 = phi i32 [ %64, %67 ], [ %21, %19 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret i32 %72 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @sock_net(i32 noundef) local_unnamed_addr #2 declare i32 @NETLINK_CB(ptr noundef) local_unnamed_addr #2 declare i32 @batadv_netlink_get_ifindex(i32 noundef, i32 noundef) local_unnamed_addr #2 declare ptr @dev_get_by_index(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @batadv_softif_is_valid(ptr noundef) local_unnamed_addr #2 declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #2 declare ptr @batadv_primary_if_get_selected(ptr noundef) local_unnamed_addr #2 declare i64 @batadv_tt_local_dump_bucket(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @batadv_hardif_put(ptr noundef) local_unnamed_addr #2 declare i32 @dev_put(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 16} !6 = !{!"netlink_callback", !7, i64 0, !10, i64 8, !7, i64 16} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!12, !10, i64 0} !12 = !{!"TYPE_6__", !10, i64 0} !13 = !{!6, !7, i64 0} !14 = !{!10, !10, i64 0} !15 = !{!6, !10, i64 8} !16 = !{!17, !18, i64 0} !17 = !{!"batadv_hard_iface", !18, i64 0} !18 = !{!"long", !8, i64 0} !19 = !{!18, !18, i64 0} !20 = !{!21, !7, i64 0} !21 = !{!"batadv_priv", !22, i64 0} !22 = !{!"TYPE_4__", !7, i64 0} !23 = !{!24, !10, i64 0} !24 = !{!"batadv_hashtable", !10, i64 0} !25 = distinct !{!25, !26} !26 = !{!"llvm.loop.mustprogress"} !27 = !{!28, !10, i64 0} !28 = !{!"sk_buff", !10, i64 0}
; ModuleID = 'AnghaBench/linux/net/batman-adv/extr_translation-table.c_batadv_tt_local_dump.c' source_filename = "AnghaBench/linux/net/batman-adv/extr_translation-table.c_batadv_tt_local_dump.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BATADV_ATTR_MESH_IFINDEX = common local_unnamed_addr global i32 0, align 4 @EINVAL = common local_unnamed_addr global i32 0, align 4 @ENODEV = common local_unnamed_addr global i32 0, align 4 @BATADV_IF_ACTIVE = common local_unnamed_addr global i64 0, align 8 @ENOENT = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @batadv_tt_local_dump(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = alloca i32, align 4 %4 = getelementptr inbounds i8, ptr %1, i64 16 %5 = load ptr, ptr %4, align 8, !tbaa !6 %6 = load i32, ptr %5, align 4, !tbaa !12 %7 = tail call ptr @sock_net(i32 noundef %6) #3 %8 = load ptr, ptr %1, align 8, !tbaa !14 %9 = load i32, ptr %8, align 4, !tbaa !15 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %10 = getelementptr inbounds i8, ptr %8, i64 4 %11 = load i32, ptr %10, align 4, !tbaa !15 store i32 %11, ptr %3, align 4, !tbaa !15 %12 = load ptr, ptr %4, align 8, !tbaa !6 %13 = tail call i32 @NETLINK_CB(ptr noundef %12) #3 %14 = getelementptr inbounds i8, ptr %1, i64 8 %15 = load i32, ptr %14, align 8, !tbaa !16 %16 = load i32, ptr @BATADV_ATTR_MESH_IFINDEX, align 4, !tbaa !15 %17 = tail call i32 @batadv_netlink_get_ifindex(i32 noundef %15, i32 noundef %16) #3 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %22 19: ; preds = %2 %20 = load i32, ptr @EINVAL, align 4, !tbaa !15 %21 = sub nsw i32 0, %20 br label %71 22: ; preds = %2 %23 = tail call ptr @dev_get_by_index(ptr noundef %7, i32 noundef %17) #3 %24 = icmp eq ptr %23, null br i1 %24, label %28, label %25 25: ; preds = %22 %26 = tail call i32 @batadv_softif_is_valid(ptr noundef nonnull %23) #3 %27 = icmp eq i32 %26, 0 br i1 %27, label %28, label %31 28: ; preds = %22, %25 %29 = load i32, ptr @ENODEV, align 4, !tbaa !15 %30 = sub nsw i32 0, %29 br label %62 31: ; preds = %25 %32 = tail call ptr @netdev_priv(ptr noundef nonnull %23) #3 %33 = tail call ptr @batadv_primary_if_get_selected(ptr noundef %32) #3 %34 = icmp eq ptr %33, null br i1 %34, label %39, label %35 35: ; preds = %31 %36 = load i64, ptr %33, align 8, !tbaa !17 %37 = load i64, ptr @BATADV_IF_ACTIVE, align 8, !tbaa !20 %38 = icmp eq i64 %36, %37 br i1 %38, label %42, label %39 39: ; preds = %35, %31 %40 = load i32, ptr @ENOENT, align 4, !tbaa !15 %41 = sub nsw i32 0, %40 br label %57 42: ; preds = %35 %43 = load ptr, ptr %32, align 8, !tbaa !21 %44 = load i32, ptr %43, align 4, !tbaa !24 %45 = icmp slt i32 %9, %44 br i1 %45, label %46, label %54 46: ; preds = %42, %50 %47 = phi i32 [ %51, %50 ], [ %9, %42 ] %48 = call i64 @batadv_tt_local_dump_bucket(ptr noundef %0, i32 noundef %13, ptr noundef nonnull %1, ptr noundef nonnull %32, ptr noundef nonnull %43, i32 noundef %47, ptr noundef nonnull %3) #3 %49 = icmp eq i64 %48, 0 br i1 %49, label %50, label %54 50: ; preds = %46 %51 = add nsw i32 %47, 1 %52 = load i32, ptr %43, align 4, !tbaa !24 %53 = icmp slt i32 %51, %52 br i1 %53, label %46, label %54, !llvm.loop !26 54: ; preds = %50, %46, %42 %55 = phi i32 [ %9, %42 ], [ %47, %46 ], [ %51, %50 ] %56 = load i32, ptr %0, align 4, !tbaa !28 br label %57 57: ; preds = %54, %39 %58 = phi i32 [ %41, %39 ], [ %56, %54 ] %59 = phi i32 [ %9, %39 ], [ %55, %54 ] br i1 %34, label %62, label %60 60: ; preds = %57 %61 = call i32 @batadv_hardif_put(ptr noundef nonnull %33) #3 br label %62 62: ; preds = %28, %60, %57 %63 = phi i32 [ %9, %28 ], [ %59, %60 ], [ %59, %57 ] %64 = phi i32 [ %30, %28 ], [ %58, %60 ], [ %58, %57 ] br i1 %24, label %67, label %65 65: ; preds = %62 %66 = call i32 @dev_put(ptr noundef nonnull %23) #3 br label %67 67: ; preds = %65, %62 %68 = load ptr, ptr %1, align 8, !tbaa !14 store i32 %63, ptr %68, align 4, !tbaa !15 %69 = load i32, ptr %3, align 4, !tbaa !15 %70 = getelementptr inbounds i8, ptr %68, i64 4 store i32 %69, ptr %70, align 4, !tbaa !15 br label %71 71: ; preds = %67, %19 %72 = phi i32 [ %64, %67 ], [ %21, %19 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret i32 %72 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @sock_net(i32 noundef) local_unnamed_addr #2 declare i32 @NETLINK_CB(ptr noundef) local_unnamed_addr #2 declare i32 @batadv_netlink_get_ifindex(i32 noundef, i32 noundef) local_unnamed_addr #2 declare ptr @dev_get_by_index(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @batadv_softif_is_valid(ptr noundef) local_unnamed_addr #2 declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #2 declare ptr @batadv_primary_if_get_selected(ptr noundef) local_unnamed_addr #2 declare i64 @batadv_tt_local_dump_bucket(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @batadv_hardif_put(ptr noundef) local_unnamed_addr #2 declare i32 @dev_put(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 16} !7 = !{!"netlink_callback", !8, i64 0, !11, i64 8, !8, i64 16} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"TYPE_6__", !11, i64 0} !14 = !{!7, !8, i64 0} !15 = !{!11, !11, i64 0} !16 = !{!7, !11, i64 8} !17 = !{!18, !19, i64 0} !18 = !{!"batadv_hard_iface", !19, i64 0} !19 = !{!"long", !9, i64 0} !20 = !{!19, !19, i64 0} !21 = !{!22, !8, i64 0} !22 = !{!"batadv_priv", !23, i64 0} !23 = !{!"TYPE_4__", !8, i64 0} !24 = !{!25, !11, i64 0} !25 = !{!"batadv_hashtable", !11, i64 0} !26 = distinct !{!26, !27} !27 = !{!"llvm.loop.mustprogress"} !28 = !{!29, !11, i64 0} !29 = !{!"sk_buff", !11, i64 0}
linux_net_batman-adv_extr_translation-table.c_batadv_tt_local_dump
; ModuleID = 'AnghaBench/Cello/src/extr_Tuple.c_Tuple_Methods.c' source_filename = "AnghaBench/Cello/src/extr_Tuple.c_Tuple_Methods.c" target datalayout = "e-m:e-p270:32:32-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.Method = type { ptr, ptr, ptr } @Tuple_Methods.methods = internal global [2 x %struct.Method] [%struct.Method { ptr @.str, ptr @.str.1, ptr @.str.2 }, %struct.Method zeroinitializer], align 16 @.str = private unnamed_addr constant [6 x i8] c"tuple\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"#define tuple(...)\00", align 1 @.str.2 = private unnamed_addr constant [41 x i8] c"Construct a `Tuple` object on the stack.\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @Tuple_Methods], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noundef nonnull ptr @Tuple_Methods() #0 { ret ptr @Tuple_Methods.methods } 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/Cello/src/extr_Tuple.c_Tuple_Methods.c' source_filename = "AnghaBench/Cello/src/extr_Tuple.c_Tuple_Methods.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.Method = type { ptr, ptr, ptr } @Tuple_Methods.methods = internal global [2 x %struct.Method] [%struct.Method { ptr @.str, ptr @.str.1, ptr @.str.2 }, %struct.Method zeroinitializer], align 8 @.str = private unnamed_addr constant [6 x i8] c"tuple\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"#define tuple(...)\00", align 1 @.str.2 = private unnamed_addr constant [41 x i8] c"Construct a `Tuple` object on the stack.\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @Tuple_Methods], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal noundef nonnull ptr @Tuple_Methods() #0 { ret ptr @Tuple_Methods.methods } 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)"}
Cello_src_extr_Tuple.c_Tuple_Methods
; ModuleID = 'AnghaBench/freebsd/contrib/processor-trace/libipt/test/src/extr_ptunit-packet.c_exstop.c' source_filename = "AnghaBench/freebsd/contrib/processor-trace/libipt/test/src/extr_ptunit-packet.c_exstop.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_6__ = type { %struct.TYPE_5__, i32 } %struct.TYPE_5__ = type { %struct.TYPE_4__ } %struct.TYPE_4__ = type { i32 } @ppt_exstop = dso_local local_unnamed_addr global i32 0, align 4 @pfix_test = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @exstop], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @exstop(ptr noundef %0, i32 noundef %1) #0 { %3 = load i32, ptr @ppt_exstop, align 4, !tbaa !5 %4 = load ptr, ptr %0, align 8, !tbaa !9 %5 = getelementptr inbounds %struct.TYPE_6__, ptr %4, i64 0, i32 1 store i32 %3, ptr %5, align 4, !tbaa !12 %6 = icmp ne i32 %1, 0 %7 = zext i1 %6 to i32 store i32 %7, ptr %4, align 4, !tbaa !16 %8 = load i32, ptr @pfix_test, align 4, !tbaa !5 %9 = tail call i32 @ptu_test(i32 noundef %8, ptr noundef nonnull %0) #2 %10 = tail call i32 (...) @ptu_passed() #2 ret i32 %10 } declare i32 @ptu_test(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @ptu_passed(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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 = !{!"packet_fixture", !11, i64 0} !11 = !{!"any pointer", !7, i64 0} !12 = !{!13, !6, i64 4} !13 = !{!"TYPE_6__", !14, i64 0, !6, i64 4} !14 = !{!"TYPE_5__", !15, i64 0} !15 = !{!"TYPE_4__", !6, i64 0} !16 = !{!13, !6, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/processor-trace/libipt/test/src/extr_ptunit-packet.c_exstop.c' source_filename = "AnghaBench/freebsd/contrib/processor-trace/libipt/test/src/extr_ptunit-packet.c_exstop.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ppt_exstop = common local_unnamed_addr global i32 0, align 4 @pfix_test = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @exstop], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @exstop(ptr noundef %0, i32 noundef %1) #0 { %3 = load i32, ptr @ppt_exstop, align 4, !tbaa !6 %4 = load ptr, ptr %0, align 8, !tbaa !10 %5 = getelementptr inbounds i8, ptr %4, i64 4 store i32 %3, ptr %5, align 4, !tbaa !13 %6 = icmp ne i32 %1, 0 %7 = zext i1 %6 to i32 store i32 %7, ptr %4, align 4, !tbaa !17 %8 = load i32, ptr @pfix_test, align 4, !tbaa !6 %9 = tail call i32 @ptu_test(i32 noundef %8, ptr noundef nonnull %0) #2 %10 = tail call i32 @ptu_passed() #2 ret i32 %10 } declare i32 @ptu_test(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @ptu_passed(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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 = !{!"packet_fixture", !12, i64 0} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !7, i64 4} !14 = !{!"TYPE_6__", !15, i64 0, !7, i64 4} !15 = !{!"TYPE_5__", !16, i64 0} !16 = !{!"TYPE_4__", !7, i64 0} !17 = !{!14, !7, i64 0}
freebsd_contrib_processor-trace_libipt_test_src_extr_ptunit-packet.c_exstop
; ModuleID = 'AnghaBench/linux/sound/pci/rme9652/extr_rme9652.c_snd_rme9652_get_spdif_out.c' source_filename = "AnghaBench/linux/sound/pci/rme9652/extr_rme9652.c_snd_rme9652_get_spdif_out.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @snd_rme9652_get_spdif_out], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @snd_rme9652_get_spdif_out(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = tail call ptr @snd_kcontrol_chip(ptr noundef %0) #2 %4 = tail call i32 @spin_lock_irq(ptr noundef %3) #2 %5 = tail call i32 @rme9652_spdif_out(ptr noundef %3) #2 %6 = load ptr, ptr %1, align 8, !tbaa !5 store i32 %5, ptr %6, align 4, !tbaa !12 %7 = tail call i32 @spin_unlock_irq(ptr noundef %3) #2 ret i32 0 } declare ptr @snd_kcontrol_chip(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock_irq(ptr noundef) local_unnamed_addr #1 declare i32 @rme9652_spdif_out(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irq(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !9, i64 0} !6 = !{!"snd_ctl_elem_value", !7, i64 0} !7 = !{!"TYPE_4__", !8, i64 0} !8 = !{!"TYPE_3__", !9, i64 0} !9 = !{!"any pointer", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!13, !13, i64 0} !13 = !{!"int", !10, i64 0}
; ModuleID = 'AnghaBench/linux/sound/pci/rme9652/extr_rme9652.c_snd_rme9652_get_spdif_out.c' source_filename = "AnghaBench/linux/sound/pci/rme9652/extr_rme9652.c_snd_rme9652_get_spdif_out.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @snd_rme9652_get_spdif_out], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @snd_rme9652_get_spdif_out(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = tail call ptr @snd_kcontrol_chip(ptr noundef %0) #2 %4 = tail call i32 @spin_lock_irq(ptr noundef %3) #2 %5 = tail call i32 @rme9652_spdif_out(ptr noundef %3) #2 %6 = load ptr, ptr %1, align 8, !tbaa !6 store i32 %5, ptr %6, align 4, !tbaa !13 %7 = tail call i32 @spin_unlock_irq(ptr noundef %3) #2 ret i32 0 } declare ptr @snd_kcontrol_chip(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock_irq(ptr noundef) local_unnamed_addr #1 declare i32 @rme9652_spdif_out(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irq(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !10, i64 0} !7 = !{!"snd_ctl_elem_value", !8, i64 0} !8 = !{!"TYPE_4__", !9, i64 0} !9 = !{!"TYPE_3__", !10, i64 0} !10 = !{!"any pointer", !11, i64 0} !11 = !{!"omnipotent char", !12, i64 0} !12 = !{!"Simple C/C++ TBAA"} !13 = !{!14, !14, i64 0} !14 = !{!"int", !11, i64 0}
linux_sound_pci_rme9652_extr_rme9652.c_snd_rme9652_get_spdif_out
; ModuleID = 'AnghaBench/linux/arch/powerpc/kernel/extr_process.c_restore_vsx.c' source_filename = "AnghaBench/linux/arch/powerpc/kernel/extr_process.c_restore_vsx.c" target datalayout = "e-m:e-p270:32:32-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 @restore_vsx], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noundef i32 @restore_vsx(ptr nocapture readnone %0) #0 { ret i32 0 } 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/arch/powerpc/kernel/extr_process.c_restore_vsx.c' source_filename = "AnghaBench/linux/arch/powerpc/kernel/extr_process.c_restore_vsx.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 @restore_vsx], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal noundef i32 @restore_vsx(ptr nocapture readnone %0) #0 { ret i32 0 } 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_arch_powerpc_kernel_extr_process.c_restore_vsx
; ModuleID = 'AnghaBench/FFmpeg/libavfilter/extr_drawutils.c_blend_pixel.c' source_filename = "AnghaBench/FFmpeg/libavfilter/extr_drawutils.c_blend_pixel.c" target datalayout = "e-m:e-p270:32:32-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 @blend_pixel], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define internal void @blend_pixel(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef readonly %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef %9) #0 { %11 = sub nsw i32 3, %5 %12 = lshr i32 7, %5 %13 = shl nuw i32 1, %5 %14 = shl nsw i32 -1, %13 %15 = xor i32 %14, -1 %16 = udiv i32 255, %15 %17 = icmp eq i32 %7, 0 br i1 %17, label %79, label %18 18: ; preds = %10 %19 = sext i32 %4 to i64 %20 = and i32 %6, 1 %21 = icmp eq i32 %6, 1 %22 = and i32 %6, -2 %23 = icmp eq i32 %20, 0 br label %24 24: ; preds = %18, %74 %25 = phi ptr [ %3, %18 ], [ %76, %74 ] %26 = phi i32 [ 0, %18 ], [ %75, %74 ] %27 = phi i32 [ 0, %18 ], [ %77, %74 ] switch i32 %6, label %28 [ i32 0, label %74 i32 1, label %58 ] 28: ; preds = %24, %28 %29 = phi i32 [ %55, %28 ], [ %9, %24 ] %30 = phi i32 [ %54, %28 ], [ %26, %24 ] %31 = phi i32 [ %56, %28 ], [ 0, %24 ] %32 = lshr i32 %29, %11 %33 = zext i32 %32 to i64 %34 = getelementptr inbounds i32, ptr %25, i64 %33 %35 = load i32, ptr %34, align 4, !tbaa !5 %36 = xor i32 %29, -1 %37 = and i32 %12, %36 %38 = shl i32 %37, %5 %39 = lshr i32 %35, %38 %40 = and i32 %39, %15 %41 = mul i32 %40, %16 %42 = add i32 %41, %30 %43 = add i32 %29, 1 %44 = lshr i32 %43, %11 %45 = zext i32 %44 to i64 %46 = getelementptr inbounds i32, ptr %25, i64 %45 %47 = load i32, ptr %46, align 4, !tbaa !5 %48 = sub i32 -2, %29 %49 = and i32 %12, %48 %50 = shl i32 %49, %5 %51 = lshr i32 %47, %50 %52 = and i32 %51, %15 %53 = mul i32 %52, %16 %54 = add i32 %53, %42 %55 = add i32 %29, 2 %56 = add i32 %31, 2 %57 = icmp eq i32 %56, %22 br i1 %57, label %58, label %28, !llvm.loop !9 58: ; preds = %28, %24 %59 = phi i32 [ undef, %24 ], [ %54, %28 ] %60 = phi i32 [ %9, %24 ], [ %55, %28 ] %61 = phi i32 [ %26, %24 ], [ %54, %28 ] br i1 %23, label %74, label %62 62: ; preds = %58 %63 = lshr i32 %60, %11 %64 = zext i32 %63 to i64 %65 = getelementptr inbounds i32, ptr %25, i64 %64 %66 = load i32, ptr %65, align 4, !tbaa !5 %67 = xor i32 %60, -1 %68 = and i32 %12, %67 %69 = shl i32 %68, %5 %70 = lshr i32 %66, %69 %71 = and i32 %70, %15 %72 = mul i32 %71, %16 %73 = add i32 %72, %61 br label %74 74: ; preds = %62, %58, %24 %75 = phi i32 [ %26, %24 ], [ %59, %58 ], [ %73, %62 ] %76 = getelementptr inbounds i32, ptr %25, i64 %19 %77 = add nuw i32 %27, 1 %78 = icmp eq i32 %77, %7 br i1 %78, label %79, label %24, !llvm.loop !11 79: ; preds = %74, %10 %80 = phi i32 [ 0, %10 ], [ %75, %74 ] %81 = lshr i32 %80, %8 %82 = mul i32 %81, %2 %83 = sub i32 16843009, %82 %84 = load i32, ptr %0, align 4, !tbaa !5 %85 = mul i32 %84, %83 %86 = mul i32 %82, %1 %87 = add i32 %85, %86 %88 = lshr i32 %87, 24 store i32 %88, ptr %0, align 4, !tbaa !5 ret void } attributes #0 = { nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"} !11 = distinct !{!11, !10}
; ModuleID = 'AnghaBench/FFmpeg/libavfilter/extr_drawutils.c_blend_pixel.c' source_filename = "AnghaBench/FFmpeg/libavfilter/extr_drawutils.c_blend_pixel.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 @blend_pixel], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) define internal void @blend_pixel(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef readonly %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef %9) #0 { %11 = sub nsw i32 3, %5 %12 = lshr i32 7, %5 %13 = shl nuw i32 1, %5 %14 = shl nsw i32 -1, %13 %15 = xor i32 %14, -1 %16 = udiv i32 255, %15 %17 = icmp eq i32 %7, 0 br i1 %17, label %86, label %18 18: ; preds = %10 %19 = sext i32 %4 to i64 %20 = and i32 %6, -2 %21 = add i32 %20, %9 %22 = icmp eq i32 %20, %6 br label %23 23: ; preds = %18, %81 %24 = phi ptr [ %3, %18 ], [ %83, %81 ] %25 = phi i32 [ 0, %18 ], [ %82, %81 ] %26 = phi i32 [ 0, %18 ], [ %84, %81 ] switch i32 %6, label %27 [ i32 0, label %81 i32 1, label %59 ] 27: ; preds = %23, %27 %28 = phi i32 [ %55, %27 ], [ 0, %23 ] %29 = phi i32 [ %53, %27 ], [ %25, %23 ] %30 = phi i32 [ %54, %27 ], [ 0, %23 ] %31 = add i32 %28, %9 %32 = add i32 %31, 1 %33 = lshr i32 %31, %11 %34 = lshr i32 %32, %11 %35 = zext i32 %33 to i64 %36 = zext i32 %34 to i64 %37 = getelementptr inbounds i32, ptr %24, i64 %35 %38 = getelementptr inbounds i32, ptr %24, i64 %36 %39 = load i32, ptr %37, align 4, !tbaa !6 %40 = load i32, ptr %38, align 4, !tbaa !6 %41 = xor i32 %31, -1 %42 = sub i32 -2, %31 %43 = and i32 %12, %41 %44 = and i32 %12, %42 %45 = shl i32 %43, %5 %46 = shl i32 %44, %5 %47 = lshr i32 %39, %45 %48 = lshr i32 %40, %46 %49 = and i32 %47, %15 %50 = and i32 %48, %15 %51 = mul i32 %49, %16 %52 = mul i32 %50, %16 %53 = add i32 %51, %29 %54 = add i32 %52, %30 %55 = add nuw i32 %28, 2 %56 = icmp eq i32 %55, %20 br i1 %56, label %57, label %27, !llvm.loop !10 57: ; preds = %27 %58 = add i32 %54, %53 br i1 %22, label %81, label %59 59: ; preds = %23, %57 %60 = phi i32 [ %9, %23 ], [ %21, %57 ] %61 = phi i32 [ 0, %23 ], [ %20, %57 ] %62 = phi i32 [ %25, %23 ], [ %58, %57 ] br label %63 63: ; preds = %59, %63 %64 = phi i32 [ %78, %63 ], [ %60, %59 ] %65 = phi i32 [ %79, %63 ], [ %61, %59 ] %66 = phi i32 [ %77, %63 ], [ %62, %59 ] %67 = lshr i32 %64, %11 %68 = zext i32 %67 to i64 %69 = getelementptr inbounds i32, ptr %24, i64 %68 %70 = load i32, ptr %69, align 4, !tbaa !6 %71 = xor i32 %64, -1 %72 = and i32 %12, %71 %73 = shl i32 %72, %5 %74 = lshr i32 %70, %73 %75 = and i32 %74, %15 %76 = mul i32 %75, %16 %77 = add i32 %76, %66 %78 = add i32 %64, 1 %79 = add nuw i32 %65, 1 %80 = icmp eq i32 %79, %6 br i1 %80, label %81, label %63, !llvm.loop !14 81: ; preds = %63, %57, %23 %82 = phi i32 [ %25, %23 ], [ %58, %57 ], [ %77, %63 ] %83 = getelementptr inbounds i32, ptr %24, i64 %19 %84 = add nuw i32 %26, 1 %85 = icmp eq i32 %84, %7 br i1 %85, label %86, label %23, !llvm.loop !15 86: ; preds = %81, %10 %87 = phi i32 [ 0, %10 ], [ %82, %81 ] %88 = lshr i32 %87, %8 %89 = mul i32 %88, %2 %90 = sub i32 16843009, %89 %91 = load i32, ptr %0, align 4, !tbaa !6 %92 = mul i32 %91, %90 %93 = mul i32 %89, %1 %94 = add i32 %92, %93 %95 = lshr i32 %94, 24 store i32 %95, ptr %0, align 4, !tbaa !6 ret void } attributes #0 = { nofree norecurse nosync nounwind ssp memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = distinct !{!10, !11, !12, !13} !11 = !{!"llvm.loop.mustprogress"} !12 = !{!"llvm.loop.isvectorized", i32 1} !13 = !{!"llvm.loop.unroll.runtime.disable"} !14 = distinct !{!14, !11, !12} !15 = distinct !{!15, !11}
FFmpeg_libavfilter_extr_drawutils.c_blend_pixel
; ModuleID = 'AnghaBench/esp-idf/components/wpa_supplicant/src/tls/extr_tls_internal.c_tls_prf_sha1_md5.c' source_filename = "AnghaBench/esp-idf/components/wpa_supplicant/src/tls/extr_tls_internal.c_tls_prf_sha1_md5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @MD5_MAC_LEN = dso_local local_unnamed_addr global i32 0, align 4 @SHA1_MAC_LEN = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @tls_prf_sha1_md5(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3, i64 noundef %4, ptr nocapture noundef writeonly %5, i64 noundef %6) local_unnamed_addr #0 { %8 = alloca [3 x ptr], align 16 %9 = alloca [3 x i64], align 16 %10 = alloca [3 x ptr], align 16 %11 = alloca [3 x i64], align 16 %12 = load i32, ptr @MD5_MAC_LEN, align 4, !tbaa !5 %13 = zext i32 %12 to i64 %14 = alloca i8, i64 %13, align 16 %15 = load i32, ptr @SHA1_MAC_LEN, align 4, !tbaa !5 %16 = zext i32 %15 to i64 %17 = alloca i8, i64 %16, align 16 %18 = alloca i8, i64 %13, align 16 %19 = alloca i8, i64 %16, align 16 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #3 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #3 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #3 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #3 %20 = and i64 %1, 1 %21 = icmp eq i64 %20, 0 br i1 %21, label %22, label %76 22: ; preds = %7 store ptr %14, ptr %8, align 16, !tbaa !9 %23 = sext i32 %12 to i64 store i64 %23, ptr %9, align 16, !tbaa !11 %24 = getelementptr inbounds [3 x ptr], ptr %8, i64 0, i64 1 store ptr %2, ptr %24, align 8, !tbaa !9 %25 = call i64 @os_strlen(ptr noundef %2) #3 %26 = getelementptr inbounds [3 x i64], ptr %9, i64 0, i64 1 store i64 %25, ptr %26, align 8, !tbaa !11 %27 = getelementptr inbounds [3 x ptr], ptr %8, i64 0, i64 2 store ptr %3, ptr %27, align 16, !tbaa !9 %28 = getelementptr inbounds [3 x i64], ptr %9, i64 0, i64 2 store i64 %4, ptr %28, align 16, !tbaa !11 store ptr %17, ptr %10, align 16, !tbaa !9 %29 = load i32, ptr @SHA1_MAC_LEN, align 4, !tbaa !5 %30 = sext i32 %29 to i64 store i64 %30, ptr %11, align 16, !tbaa !11 %31 = getelementptr inbounds [3 x ptr], ptr %10, i64 0, i64 1 store ptr %2, ptr %31, align 8, !tbaa !9 %32 = call i64 @os_strlen(ptr noundef %2) #3 %33 = getelementptr inbounds [3 x i64], ptr %11, i64 0, i64 1 store i64 %32, ptr %33, align 8, !tbaa !11 %34 = getelementptr inbounds [3 x ptr], ptr %10, i64 0, i64 2 store ptr %3, ptr %34, align 16, !tbaa !9 %35 = getelementptr inbounds [3 x i64], ptr %11, i64 0, i64 2 store i64 %4, ptr %35, align 16, !tbaa !11 %36 = lshr exact i64 %1, 1 %37 = getelementptr inbounds i8, ptr %0, i64 %36 %38 = call i32 @hmac_md5_vector(ptr noundef %0, i64 noundef %36, i32 noundef 2, ptr noundef nonnull %24, ptr noundef nonnull %26, ptr noundef nonnull %14) #3 %39 = call i32 @hmac_sha1_vector(ptr noundef %37, i64 noundef %36, i32 noundef 2, ptr noundef nonnull %31, ptr noundef nonnull %33, ptr noundef nonnull %17) #3 %40 = icmp eq i64 %6, 0 br i1 %40, label %76, label %41 41: ; preds = %22 %42 = load i32, ptr @SHA1_MAC_LEN, align 4, !tbaa !5 %43 = load i32, ptr @MD5_MAC_LEN, align 4, !tbaa !5 br label %44 44: ; preds = %41, %62 %45 = phi i32 [ %73, %62 ], [ %42, %41 ] %46 = phi i32 [ %72, %62 ], [ %43, %41 ] %47 = phi i64 [ %74, %62 ], [ 0, %41 ] %48 = load i32, ptr @MD5_MAC_LEN, align 4, !tbaa !5 %49 = icmp eq i32 %46, %48 br i1 %49, label %50, label %54 50: ; preds = %44 %51 = call i32 @hmac_md5_vector(ptr noundef %0, i64 noundef %36, i32 noundef 3, ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef nonnull %18) #3 %52 = load i32, ptr @MD5_MAC_LEN, align 4, !tbaa !5 %53 = call i32 @hmac_md5(ptr noundef %0, i64 noundef %36, ptr noundef nonnull %14, i32 noundef %52, ptr noundef nonnull %14) #3 br label %54 54: ; preds = %50, %44 %55 = phi i32 [ 0, %50 ], [ %46, %44 ] %56 = load i32, ptr @SHA1_MAC_LEN, align 4, !tbaa !5 %57 = icmp eq i32 %45, %56 br i1 %57, label %58, label %62 58: ; preds = %54 %59 = call i32 @hmac_sha1_vector(ptr noundef %37, i64 noundef %36, i32 noundef 3, ptr noundef nonnull %10, ptr noundef nonnull %11, ptr noundef nonnull %19) #3 %60 = load i32, ptr @SHA1_MAC_LEN, align 4, !tbaa !5 %61 = call i32 @hmac_sha1(ptr noundef %37, i64 noundef %36, ptr noundef nonnull %17, i32 noundef %60, ptr noundef nonnull %17) #3 br label %62 62: ; preds = %58, %54 %63 = phi i32 [ 0, %58 ], [ %45, %54 ] %64 = sext i32 %55 to i64 %65 = getelementptr inbounds i8, ptr %18, i64 %64 %66 = load i8, ptr %65, align 1, !tbaa !13 %67 = sext i32 %63 to i64 %68 = getelementptr inbounds i8, ptr %19, i64 %67 %69 = load i8, ptr %68, align 1, !tbaa !13 %70 = xor i8 %69, %66 %71 = getelementptr inbounds i8, ptr %5, i64 %47 store i8 %70, ptr %71, align 1, !tbaa !13 %72 = add nsw i32 %55, 1 %73 = add nsw i32 %63, 1 %74 = add nuw i64 %47, 1 %75 = icmp eq i64 %74, %6 br i1 %75, label %76, label %44, !llvm.loop !14 76: ; preds = %62, %22, %7 %77 = phi i32 [ -1, %7 ], [ 0, %22 ], [ 0, %62 ] call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #3 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #3 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #3 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #3 ret i32 %77 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @os_strlen(ptr noundef) local_unnamed_addr #2 declare i32 @hmac_md5_vector(ptr noundef, i64 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @hmac_sha1_vector(ptr noundef, i64 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @hmac_md5(ptr noundef, i64 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @hmac_sha1(ptr noundef, i64 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"long", !7, i64 0} !13 = !{!7, !7, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/esp-idf/components/wpa_supplicant/src/tls/extr_tls_internal.c_tls_prf_sha1_md5.c' source_filename = "AnghaBench/esp-idf/components/wpa_supplicant/src/tls/extr_tls_internal.c_tls_prf_sha1_md5.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MD5_MAC_LEN = common local_unnamed_addr global i32 0, align 4 @SHA1_MAC_LEN = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 -1, 1) i32 @tls_prf_sha1_md5(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3, i64 noundef %4, ptr nocapture noundef writeonly %5, i64 noundef %6) local_unnamed_addr #0 { %8 = alloca [3 x ptr], align 8 %9 = alloca [3 x i64], align 8 %10 = alloca [3 x ptr], align 8 %11 = alloca [3 x i64], align 8 %12 = load i32, ptr @MD5_MAC_LEN, align 4, !tbaa !6 %13 = zext i32 %12 to i64 %14 = alloca i8, i64 %13, align 1 %15 = load i32, ptr @SHA1_MAC_LEN, align 4, !tbaa !6 %16 = zext i32 %15 to i64 %17 = alloca i8, i64 %16, align 1 %18 = alloca i8, i64 %13, align 1 %19 = alloca i8, i64 %16, align 1 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #3 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #3 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #3 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #3 %20 = and i64 %1, 1 %21 = icmp eq i64 %20, 0 br i1 %21, label %22, label %76 22: ; preds = %7 store ptr %14, ptr %8, align 8, !tbaa !10 %23 = sext i32 %12 to i64 store i64 %23, ptr %9, align 8, !tbaa !12 %24 = getelementptr inbounds i8, ptr %8, i64 8 store ptr %2, ptr %24, align 8, !tbaa !10 %25 = call i64 @os_strlen(ptr noundef %2) #3 %26 = getelementptr inbounds i8, ptr %9, i64 8 store i64 %25, ptr %26, align 8, !tbaa !12 %27 = getelementptr inbounds i8, ptr %8, i64 16 store ptr %3, ptr %27, align 8, !tbaa !10 %28 = getelementptr inbounds i8, ptr %9, i64 16 store i64 %4, ptr %28, align 8, !tbaa !12 store ptr %17, ptr %10, align 8, !tbaa !10 %29 = load i32, ptr @SHA1_MAC_LEN, align 4, !tbaa !6 %30 = sext i32 %29 to i64 store i64 %30, ptr %11, align 8, !tbaa !12 %31 = getelementptr inbounds i8, ptr %10, i64 8 store ptr %2, ptr %31, align 8, !tbaa !10 %32 = call i64 @os_strlen(ptr noundef %2) #3 %33 = getelementptr inbounds i8, ptr %11, i64 8 store i64 %32, ptr %33, align 8, !tbaa !12 %34 = getelementptr inbounds i8, ptr %10, i64 16 store ptr %3, ptr %34, align 8, !tbaa !10 %35 = getelementptr inbounds i8, ptr %11, i64 16 store i64 %4, ptr %35, align 8, !tbaa !12 %36 = lshr exact i64 %1, 1 %37 = getelementptr inbounds i8, ptr %0, i64 %36 %38 = call i32 @hmac_md5_vector(ptr noundef %0, i64 noundef %36, i32 noundef 2, ptr noundef nonnull %24, ptr noundef nonnull %26, ptr noundef nonnull %14) #3 %39 = call i32 @hmac_sha1_vector(ptr noundef %37, i64 noundef %36, i32 noundef 2, ptr noundef nonnull %31, ptr noundef nonnull %33, ptr noundef nonnull %17) #3 %40 = icmp eq i64 %6, 0 br i1 %40, label %76, label %41 41: ; preds = %22 %42 = load i32, ptr @SHA1_MAC_LEN, align 4, !tbaa !6 %43 = load i32, ptr @MD5_MAC_LEN, align 4, !tbaa !6 br label %44 44: ; preds = %41, %62 %45 = phi i32 [ %73, %62 ], [ %42, %41 ] %46 = phi i32 [ %72, %62 ], [ %43, %41 ] %47 = phi i64 [ %74, %62 ], [ 0, %41 ] %48 = load i32, ptr @MD5_MAC_LEN, align 4, !tbaa !6 %49 = icmp eq i32 %46, %48 br i1 %49, label %50, label %54 50: ; preds = %44 %51 = call i32 @hmac_md5_vector(ptr noundef %0, i64 noundef %36, i32 noundef 3, ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef nonnull %18) #3 %52 = load i32, ptr @MD5_MAC_LEN, align 4, !tbaa !6 %53 = call i32 @hmac_md5(ptr noundef %0, i64 noundef %36, ptr noundef nonnull %14, i32 noundef %52, ptr noundef nonnull %14) #3 br label %54 54: ; preds = %50, %44 %55 = phi i32 [ 0, %50 ], [ %46, %44 ] %56 = load i32, ptr @SHA1_MAC_LEN, align 4, !tbaa !6 %57 = icmp eq i32 %45, %56 br i1 %57, label %58, label %62 58: ; preds = %54 %59 = call i32 @hmac_sha1_vector(ptr noundef %37, i64 noundef %36, i32 noundef 3, ptr noundef nonnull %10, ptr noundef nonnull %11, ptr noundef nonnull %19) #3 %60 = load i32, ptr @SHA1_MAC_LEN, align 4, !tbaa !6 %61 = call i32 @hmac_sha1(ptr noundef %37, i64 noundef %36, ptr noundef nonnull %17, i32 noundef %60, ptr noundef nonnull %17) #3 br label %62 62: ; preds = %58, %54 %63 = phi i32 [ 0, %58 ], [ %45, %54 ] %64 = sext i32 %55 to i64 %65 = getelementptr inbounds i8, ptr %18, i64 %64 %66 = load i8, ptr %65, align 1, !tbaa !14 %67 = sext i32 %63 to i64 %68 = getelementptr inbounds i8, ptr %19, i64 %67 %69 = load i8, ptr %68, align 1, !tbaa !14 %70 = xor i8 %69, %66 %71 = getelementptr inbounds i8, ptr %5, i64 %47 store i8 %70, ptr %71, align 1, !tbaa !14 %72 = add nsw i32 %55, 1 %73 = add nsw i32 %63, 1 %74 = add nuw i64 %47, 1 %75 = icmp eq i64 %74, %6 br i1 %75, label %76, label %44, !llvm.loop !15 76: ; preds = %62, %22, %7 %77 = phi i32 [ -1, %7 ], [ 0, %22 ], [ 0, %62 ] call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #3 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #3 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #3 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #3 ret i32 %77 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @os_strlen(ptr noundef) local_unnamed_addr #2 declare i32 @hmac_md5_vector(ptr noundef, i64 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @hmac_sha1_vector(ptr noundef, i64 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @hmac_md5(ptr noundef, i64 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @hmac_sha1(ptr noundef, i64 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!8, !8, i64 0} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"}
esp-idf_components_wpa_supplicant_src_tls_extr_tls_internal.c_tls_prf_sha1_md5
; ModuleID = 'AnghaBench/obs-studio/libobs/extr_obs-source.c_filter_async_audio.c' source_filename = "AnghaBench/obs-studio/libobs/extr_obs-source.c_filter_async_audio.c" target datalayout = "e-m:e-p270:32:32-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 { i64, ptr } %struct.obs_source = type { %struct.TYPE_7__, %struct.TYPE_6__, i32 } %struct.TYPE_7__ = type { i64 } %struct.TYPE_6__ = type { ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @filter_async_audio], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal ptr @filter_async_audio(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = load i64, ptr %0, align 8, !tbaa !5 %4 = icmp eq i64 %3, 0 br i1 %4, label %31, label %5 5: ; preds = %2 %6 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 1 br label %7 7: ; preds = %5, %27 %8 = phi i64 [ %3, %5 ], [ %29, %27 ] %9 = phi ptr [ %1, %5 ], [ %28, %27 ] %10 = load ptr, ptr %6, align 8, !tbaa !12 %11 = getelementptr ptr, ptr %10, i64 %8 %12 = getelementptr ptr, ptr %11, i64 -1 %13 = load ptr, ptr %12, align 8, !tbaa !13 %14 = getelementptr inbounds %struct.obs_source, ptr %13, i64 0, i32 2 %15 = load i32, ptr %14, align 8, !tbaa !14 %16 = icmp eq i32 %15, 0 br i1 %16, label %27, label %17 17: ; preds = %7 %18 = load i64, ptr %13, align 8, !tbaa !19 %19 = icmp eq i64 %18, 0 br i1 %19, label %27, label %20 20: ; preds = %17 %21 = getelementptr inbounds %struct.obs_source, ptr %13, i64 0, i32 1 %22 = load ptr, ptr %21, align 8, !tbaa !20 %23 = icmp eq ptr %22, null br i1 %23, label %27, label %24 24: ; preds = %20 %25 = tail call ptr %22(i64 noundef %18, ptr noundef %9) #1 %26 = icmp eq ptr %25, null br i1 %26, label %31, label %27 27: ; preds = %7, %20, %17, %24 %28 = phi ptr [ %25, %24 ], [ %9, %17 ], [ %9, %20 ], [ %9, %7 ] %29 = add i64 %8, -1 %30 = icmp eq i64 %29, 0 br i1 %30, label %31, label %7, !llvm.loop !21 31: ; preds = %27, %24, %2 %32 = phi ptr [ %1, %2 ], [ null, %24 ], [ %28, %27 ] ret ptr %32 } attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !8, i64 0} !6 = !{!"TYPE_9__", !7, i64 0} !7 = !{!"TYPE_8__", !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 = !{!6, !11, i64 8} !13 = !{!11, !11, i64 0} !14 = !{!15, !18, i64 16} !15 = !{!"obs_source", !16, i64 0, !17, i64 8, !18, i64 16} !16 = !{!"TYPE_7__", !8, i64 0} !17 = !{!"TYPE_6__", !11, i64 0} !18 = !{!"int", !9, i64 0} !19 = !{!15, !8, i64 0} !20 = !{!15, !11, i64 8} !21 = distinct !{!21, !22} !22 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/obs-studio/libobs/extr_obs-source.c_filter_async_audio.c' source_filename = "AnghaBench/obs-studio/libobs/extr_obs-source.c_filter_async_audio.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 @filter_async_audio], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal ptr @filter_async_audio(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = load i64, ptr %0, align 8, !tbaa !6 %4 = icmp eq i64 %3, 0 br i1 %4, label %31, label %5 5: ; preds = %2 %6 = getelementptr inbounds i8, ptr %0, i64 8 br label %7 7: ; preds = %5, %27 %8 = phi i64 [ %3, %5 ], [ %29, %27 ] %9 = phi ptr [ %1, %5 ], [ %28, %27 ] %10 = load ptr, ptr %6, align 8, !tbaa !13 %11 = getelementptr ptr, ptr %10, i64 %8 %12 = getelementptr i8, ptr %11, i64 -8 %13 = load ptr, ptr %12, align 8, !tbaa !14 %14 = getelementptr inbounds i8, ptr %13, i64 16 %15 = load i32, ptr %14, align 8, !tbaa !15 %16 = icmp eq i32 %15, 0 br i1 %16, label %27, label %17 17: ; preds = %7 %18 = load i64, ptr %13, align 8, !tbaa !20 %19 = icmp eq i64 %18, 0 br i1 %19, label %27, label %20 20: ; preds = %17 %21 = getelementptr inbounds i8, ptr %13, i64 8 %22 = load ptr, ptr %21, align 8, !tbaa !21 %23 = icmp eq ptr %22, null br i1 %23, label %27, label %24 24: ; preds = %20 %25 = tail call ptr %22(i64 noundef %18, ptr noundef %9) #1 %26 = icmp eq ptr %25, null br i1 %26, label %31, label %27 27: ; preds = %17, %20, %24, %7 %28 = phi ptr [ %9, %7 ], [ %25, %24 ], [ %9, %20 ], [ %9, %17 ] %29 = add i64 %8, -1 %30 = icmp eq i64 %29, 0 br i1 %30, label %31, label %7, !llvm.loop !22 31: ; preds = %27, %24, %2 %32 = phi ptr [ %1, %2 ], [ null, %24 ], [ %28, %27 ] ret ptr %32 } attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !9, i64 0} !7 = !{!"TYPE_9__", !8, i64 0} !8 = !{!"TYPE_8__", !9, i64 0, !12, i64 8} !9 = !{!"long", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!"any pointer", !10, i64 0} !13 = !{!7, !12, i64 8} !14 = !{!12, !12, i64 0} !15 = !{!16, !19, i64 16} !16 = !{!"obs_source", !17, i64 0, !18, i64 8, !19, i64 16} !17 = !{!"TYPE_7__", !9, i64 0} !18 = !{!"TYPE_6__", !12, i64 0} !19 = !{!"int", !10, i64 0} !20 = !{!16, !9, i64 0} !21 = !{!16, !12, i64 8} !22 = distinct !{!22, !23} !23 = !{!"llvm.loop.mustprogress"}
obs-studio_libobs_extr_obs-source.c_filter_async_audio
; ModuleID = 'AnghaBench/esp-idf/components/soc/esp32/extr_rtc_clk.c_rtc_clk_bbpll_enable.c' source_filename = "AnghaBench/esp-idf/components/soc/esp32/extr_rtc_clk.c_rtc_clk_bbpll_enable.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @RTC_CNTL_OPTIONS0_REG = dso_local local_unnamed_addr global i32 0, align 4 @RTC_CNTL_BIAS_I2C_FORCE_PD = dso_local local_unnamed_addr global i32 0, align 4 @RTC_CNTL_BB_I2C_FORCE_PD = dso_local local_unnamed_addr global i32 0, align 4 @RTC_CNTL_BBPLL_FORCE_PD = dso_local local_unnamed_addr global i32 0, align 4 @RTC_CNTL_BBPLL_I2C_FORCE_PD = dso_local local_unnamed_addr global i32 0, align 4 @I2C_BBPLL = dso_local local_unnamed_addr global i32 0, align 4 @I2C_BBPLL_IR_CAL_DELAY = dso_local local_unnamed_addr global i32 0, align 4 @BBPLL_IR_CAL_DELAY_VAL = dso_local local_unnamed_addr global i32 0, align 4 @I2C_BBPLL_IR_CAL_EXT_CAP = dso_local local_unnamed_addr global i32 0, align 4 @BBPLL_IR_CAL_EXT_CAP_VAL = dso_local local_unnamed_addr global i32 0, align 4 @I2C_BBPLL_OC_ENB_FCAL = dso_local local_unnamed_addr global i32 0, align 4 @BBPLL_OC_ENB_FCAL_VAL = dso_local local_unnamed_addr global i32 0, align 4 @I2C_BBPLL_OC_ENB_VCON = dso_local local_unnamed_addr global i32 0, align 4 @BBPLL_OC_ENB_VCON_VAL = dso_local local_unnamed_addr global i32 0, align 4 @I2C_BBPLL_BBADC_CAL_7_0 = dso_local local_unnamed_addr global i32 0, align 4 @BBPLL_BBADC_CAL_7_0_VAL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @rtc_clk_bbpll_enable], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @rtc_clk_bbpll_enable() #0 { %1 = load i32, ptr @RTC_CNTL_OPTIONS0_REG, align 4, !tbaa !5 %2 = load i32, ptr @RTC_CNTL_BIAS_I2C_FORCE_PD, align 4, !tbaa !5 %3 = load i32, ptr @RTC_CNTL_BB_I2C_FORCE_PD, align 4, !tbaa !5 %4 = or i32 %3, %2 %5 = load i32, ptr @RTC_CNTL_BBPLL_FORCE_PD, align 4, !tbaa !5 %6 = or i32 %4, %5 %7 = load i32, ptr @RTC_CNTL_BBPLL_I2C_FORCE_PD, align 4, !tbaa !5 %8 = or i32 %6, %7 %9 = tail call i32 @CLEAR_PERI_REG_MASK(i32 noundef %1, i32 noundef %8) #2 %10 = load i32, ptr @I2C_BBPLL, align 4, !tbaa !5 %11 = load i32, ptr @I2C_BBPLL_IR_CAL_DELAY, align 4, !tbaa !5 %12 = load i32, ptr @BBPLL_IR_CAL_DELAY_VAL, align 4, !tbaa !5 %13 = tail call i32 @I2C_WRITEREG_RTC(i32 noundef %10, i32 noundef %11, i32 noundef %12) #2 %14 = load i32, ptr @I2C_BBPLL, align 4, !tbaa !5 %15 = load i32, ptr @I2C_BBPLL_IR_CAL_EXT_CAP, align 4, !tbaa !5 %16 = load i32, ptr @BBPLL_IR_CAL_EXT_CAP_VAL, align 4, !tbaa !5 %17 = tail call i32 @I2C_WRITEREG_RTC(i32 noundef %14, i32 noundef %15, i32 noundef %16) #2 %18 = load i32, ptr @I2C_BBPLL, align 4, !tbaa !5 %19 = load i32, ptr @I2C_BBPLL_OC_ENB_FCAL, align 4, !tbaa !5 %20 = load i32, ptr @BBPLL_OC_ENB_FCAL_VAL, align 4, !tbaa !5 %21 = tail call i32 @I2C_WRITEREG_RTC(i32 noundef %18, i32 noundef %19, i32 noundef %20) #2 %22 = load i32, ptr @I2C_BBPLL, align 4, !tbaa !5 %23 = load i32, ptr @I2C_BBPLL_OC_ENB_VCON, align 4, !tbaa !5 %24 = load i32, ptr @BBPLL_OC_ENB_VCON_VAL, align 4, !tbaa !5 %25 = tail call i32 @I2C_WRITEREG_RTC(i32 noundef %22, i32 noundef %23, i32 noundef %24) #2 %26 = load i32, ptr @I2C_BBPLL, align 4, !tbaa !5 %27 = load i32, ptr @I2C_BBPLL_BBADC_CAL_7_0, align 4, !tbaa !5 %28 = load i32, ptr @BBPLL_BBADC_CAL_7_0_VAL, align 4, !tbaa !5 %29 = tail call i32 @I2C_WRITEREG_RTC(i32 noundef %26, i32 noundef %27, i32 noundef %28) #2 ret void } declare i32 @CLEAR_PERI_REG_MASK(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @I2C_WRITEREG_RTC(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/esp-idf/components/soc/esp32/extr_rtc_clk.c_rtc_clk_bbpll_enable.c' source_filename = "AnghaBench/esp-idf/components/soc/esp32/extr_rtc_clk.c_rtc_clk_bbpll_enable.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @RTC_CNTL_OPTIONS0_REG = common local_unnamed_addr global i32 0, align 4 @RTC_CNTL_BIAS_I2C_FORCE_PD = common local_unnamed_addr global i32 0, align 4 @RTC_CNTL_BB_I2C_FORCE_PD = common local_unnamed_addr global i32 0, align 4 @RTC_CNTL_BBPLL_FORCE_PD = common local_unnamed_addr global i32 0, align 4 @RTC_CNTL_BBPLL_I2C_FORCE_PD = common local_unnamed_addr global i32 0, align 4 @I2C_BBPLL = common local_unnamed_addr global i32 0, align 4 @I2C_BBPLL_IR_CAL_DELAY = common local_unnamed_addr global i32 0, align 4 @BBPLL_IR_CAL_DELAY_VAL = common local_unnamed_addr global i32 0, align 4 @I2C_BBPLL_IR_CAL_EXT_CAP = common local_unnamed_addr global i32 0, align 4 @BBPLL_IR_CAL_EXT_CAP_VAL = common local_unnamed_addr global i32 0, align 4 @I2C_BBPLL_OC_ENB_FCAL = common local_unnamed_addr global i32 0, align 4 @BBPLL_OC_ENB_FCAL_VAL = common local_unnamed_addr global i32 0, align 4 @I2C_BBPLL_OC_ENB_VCON = common local_unnamed_addr global i32 0, align 4 @BBPLL_OC_ENB_VCON_VAL = common local_unnamed_addr global i32 0, align 4 @I2C_BBPLL_BBADC_CAL_7_0 = common local_unnamed_addr global i32 0, align 4 @BBPLL_BBADC_CAL_7_0_VAL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @rtc_clk_bbpll_enable], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @rtc_clk_bbpll_enable() #0 { %1 = load i32, ptr @RTC_CNTL_OPTIONS0_REG, align 4, !tbaa !6 %2 = load i32, ptr @RTC_CNTL_BIAS_I2C_FORCE_PD, align 4, !tbaa !6 %3 = load i32, ptr @RTC_CNTL_BB_I2C_FORCE_PD, align 4, !tbaa !6 %4 = or i32 %3, %2 %5 = load i32, ptr @RTC_CNTL_BBPLL_FORCE_PD, align 4, !tbaa !6 %6 = or i32 %4, %5 %7 = load i32, ptr @RTC_CNTL_BBPLL_I2C_FORCE_PD, align 4, !tbaa !6 %8 = or i32 %6, %7 %9 = tail call i32 @CLEAR_PERI_REG_MASK(i32 noundef %1, i32 noundef %8) #2 %10 = load i32, ptr @I2C_BBPLL, align 4, !tbaa !6 %11 = load i32, ptr @I2C_BBPLL_IR_CAL_DELAY, align 4, !tbaa !6 %12 = load i32, ptr @BBPLL_IR_CAL_DELAY_VAL, align 4, !tbaa !6 %13 = tail call i32 @I2C_WRITEREG_RTC(i32 noundef %10, i32 noundef %11, i32 noundef %12) #2 %14 = load i32, ptr @I2C_BBPLL, align 4, !tbaa !6 %15 = load i32, ptr @I2C_BBPLL_IR_CAL_EXT_CAP, align 4, !tbaa !6 %16 = load i32, ptr @BBPLL_IR_CAL_EXT_CAP_VAL, align 4, !tbaa !6 %17 = tail call i32 @I2C_WRITEREG_RTC(i32 noundef %14, i32 noundef %15, i32 noundef %16) #2 %18 = load i32, ptr @I2C_BBPLL, align 4, !tbaa !6 %19 = load i32, ptr @I2C_BBPLL_OC_ENB_FCAL, align 4, !tbaa !6 %20 = load i32, ptr @BBPLL_OC_ENB_FCAL_VAL, align 4, !tbaa !6 %21 = tail call i32 @I2C_WRITEREG_RTC(i32 noundef %18, i32 noundef %19, i32 noundef %20) #2 %22 = load i32, ptr @I2C_BBPLL, align 4, !tbaa !6 %23 = load i32, ptr @I2C_BBPLL_OC_ENB_VCON, align 4, !tbaa !6 %24 = load i32, ptr @BBPLL_OC_ENB_VCON_VAL, align 4, !tbaa !6 %25 = tail call i32 @I2C_WRITEREG_RTC(i32 noundef %22, i32 noundef %23, i32 noundef %24) #2 %26 = load i32, ptr @I2C_BBPLL, align 4, !tbaa !6 %27 = load i32, ptr @I2C_BBPLL_BBADC_CAL_7_0, align 4, !tbaa !6 %28 = load i32, ptr @BBPLL_BBADC_CAL_7_0_VAL, align 4, !tbaa !6 %29 = tail call i32 @I2C_WRITEREG_RTC(i32 noundef %26, i32 noundef %27, i32 noundef %28) #2 ret void } declare i32 @CLEAR_PERI_REG_MASK(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @I2C_WRITEREG_RTC(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
esp-idf_components_soc_esp32_extr_rtc_clk.c_rtc_clk_bbpll_enable
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/extr_dr_ste.c_dr_ste_build_eth_l3_ipv6_dst_bit_mask.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/extr_dr_ste.c_dr_ste_build_eth_l3_ipv6_dst_bit_mask.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.mlx5dr_match_param = type { %struct.mlx5dr_match_spec, %struct.mlx5dr_match_spec } %struct.mlx5dr_match_spec = type { i32 } @eth_l3_ipv6_dst = dso_local local_unnamed_addr global i32 0, align 4 @dst_ip_127_96 = dso_local local_unnamed_addr global i32 0, align 4 @dst_ip_95_64 = dso_local local_unnamed_addr global i32 0, align 4 @dst_ip_63_32 = dso_local local_unnamed_addr global i32 0, align 4 @dst_ip_31_0 = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @dr_ste_build_eth_l3_ipv6_dst_bit_mask], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @dr_ste_build_eth_l3_ipv6_dst_bit_mask(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = icmp eq i32 %1, 0 %5 = getelementptr inbounds %struct.mlx5dr_match_param, ptr %0, i64 0, i32 1 %6 = select i1 %4, ptr %0, ptr %5 %7 = load i32, ptr @eth_l3_ipv6_dst, align 4, !tbaa !5 %8 = load i32, ptr @dst_ip_127_96, align 4, !tbaa !5 %9 = tail call i32 @DR_STE_SET_MASK_V(i32 noundef %7, ptr noundef %2, i32 noundef %8, ptr noundef %6, i32 noundef %8) #2 %10 = load i32, ptr @eth_l3_ipv6_dst, align 4, !tbaa !5 %11 = load i32, ptr @dst_ip_95_64, align 4, !tbaa !5 %12 = tail call i32 @DR_STE_SET_MASK_V(i32 noundef %10, ptr noundef %2, i32 noundef %11, ptr noundef %6, i32 noundef %11) #2 %13 = load i32, ptr @eth_l3_ipv6_dst, align 4, !tbaa !5 %14 = load i32, ptr @dst_ip_63_32, align 4, !tbaa !5 %15 = tail call i32 @DR_STE_SET_MASK_V(i32 noundef %13, ptr noundef %2, i32 noundef %14, ptr noundef %6, i32 noundef %14) #2 %16 = load i32, ptr @eth_l3_ipv6_dst, align 4, !tbaa !5 %17 = load i32, ptr @dst_ip_31_0, align 4, !tbaa !5 %18 = tail call i32 @DR_STE_SET_MASK_V(i32 noundef %16, ptr noundef %2, i32 noundef %17, ptr noundef %6, i32 noundef %17) #2 ret void } declare i32 @DR_STE_SET_MASK_V(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/extr_dr_ste.c_dr_ste_build_eth_l3_ipv6_dst_bit_mask.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/extr_dr_ste.c_dr_ste_build_eth_l3_ipv6_dst_bit_mask.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @eth_l3_ipv6_dst = common local_unnamed_addr global i32 0, align 4 @dst_ip_127_96 = common local_unnamed_addr global i32 0, align 4 @dst_ip_95_64 = common local_unnamed_addr global i32 0, align 4 @dst_ip_63_32 = common local_unnamed_addr global i32 0, align 4 @dst_ip_31_0 = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @dr_ste_build_eth_l3_ipv6_dst_bit_mask], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @dr_ste_build_eth_l3_ipv6_dst_bit_mask(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = icmp eq i32 %1, 0 %5 = select i1 %4, i64 0, i64 4 %6 = getelementptr inbounds i8, ptr %0, i64 %5 %7 = load i32, ptr @eth_l3_ipv6_dst, align 4, !tbaa !6 %8 = load i32, ptr @dst_ip_127_96, align 4, !tbaa !6 %9 = tail call i32 @DR_STE_SET_MASK_V(i32 noundef %7, ptr noundef %2, i32 noundef %8, ptr noundef %6, i32 noundef %8) #2 %10 = load i32, ptr @eth_l3_ipv6_dst, align 4, !tbaa !6 %11 = load i32, ptr @dst_ip_95_64, align 4, !tbaa !6 %12 = tail call i32 @DR_STE_SET_MASK_V(i32 noundef %10, ptr noundef %2, i32 noundef %11, ptr noundef %6, i32 noundef %11) #2 %13 = load i32, ptr @eth_l3_ipv6_dst, align 4, !tbaa !6 %14 = load i32, ptr @dst_ip_63_32, align 4, !tbaa !6 %15 = tail call i32 @DR_STE_SET_MASK_V(i32 noundef %13, ptr noundef %2, i32 noundef %14, ptr noundef %6, i32 noundef %14) #2 %16 = load i32, ptr @eth_l3_ipv6_dst, align 4, !tbaa !6 %17 = load i32, ptr @dst_ip_31_0, align 4, !tbaa !6 %18 = tail call i32 @DR_STE_SET_MASK_V(i32 noundef %16, ptr noundef %2, i32 noundef %17, ptr noundef %6, i32 noundef %17) #2 ret void } declare i32 @DR_STE_SET_MASK_V(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_net_ethernet_mellanox_mlx5_core_steering_extr_dr_ste.c_dr_ste_build_eth_l3_ipv6_dst_bit_mask
; ModuleID = 'AnghaBench/linux/net/ipv6/extr_icmp.c_ip6_err_gen_icmpv6_unreach.c' source_filename = "AnghaBench/linux/net/ipv6/extr_icmp.c_ip6_err_gen_icmpv6_unreach.c" target datalayout = "e-m:e-p270:32:32-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.in6_addr = type { i32 } %struct.sk_buff = type { i32, i64, i64 } @GFP_ATOMIC = dso_local local_unnamed_addr global i32 0, align 4 @ICMP_TIME_EXCEEDED = dso_local local_unnamed_addr global i32 0, align 4 @ICMPV6_TIME_EXCEED = dso_local local_unnamed_addr global i32 0, align 4 @ICMPV6_EXC_HOPLIMIT = dso_local local_unnamed_addr global i32 0, align 4 @ICMPV6_DEST_UNREACH = dso_local local_unnamed_addr global i32 0, align 4 @ICMPV6_ADDR_UNREACH = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @ip6_err_gen_icmpv6_unreach(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = alloca %struct.in6_addr, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %6 = sext i32 %1 to i64 %7 = add i32 %1, 12 %8 = tail call i32 @pskb_may_pull(ptr noundef %0, i32 noundef %7) #3 %9 = icmp eq i32 %8, 0 br i1 %9, label %77, label %10 10: ; preds = %4 %11 = icmp ugt i32 %3, 127 %12 = and i32 %3, 7 %13 = icmp eq i32 %12, 0 %14 = and i1 %11, %13 br i1 %14, label %15, label %21 15: ; preds = %10 %16 = load i32, ptr %0, align 8, !tbaa !5 %17 = icmp ult i32 %16, %3 br i1 %17, label %21, label %18 18: ; preds = %15 %19 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !11 %20 = tail call ptr @skb_copy(ptr noundef nonnull %0, i32 noundef %19) #3 br label %24 21: ; preds = %10, %15 %22 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !11 %23 = tail call ptr @skb_clone(ptr noundef %0, i32 noundef %22) #3 br label %24 24: ; preds = %21, %18 %25 = phi i1 [ false, %18 ], [ true, %21 ] %26 = phi i32 [ %3, %18 ], [ 0, %21 ] %27 = phi ptr [ %20, %18 ], [ %23, %21 ] %28 = icmp eq ptr %27, null br i1 %28, label %77, label %29 29: ; preds = %24 %30 = tail call i32 @skb_dst_drop(ptr noundef nonnull %27) #3 %31 = tail call i32 @skb_pull(ptr noundef nonnull %27, i32 noundef %1) #3 %32 = tail call i32 @skb_reset_network_header(ptr noundef nonnull %27) #3 %33 = getelementptr inbounds %struct.sk_buff, ptr %0, i64 0, i32 2 %34 = load i64, ptr %33, align 8, !tbaa !12 %35 = tail call i32 @dev_net(i64 noundef %34) #3 %36 = tail call ptr @ipv6_hdr(ptr noundef nonnull %27) #3 %37 = tail call ptr @rt6_lookup(i32 noundef %35, ptr noundef %36, ptr noundef null, i32 noundef 0, ptr noundef %0, i32 noundef 0) #3 %38 = icmp eq ptr %37, null br i1 %38, label %44, label %39 39: ; preds = %29 %40 = load i64, ptr %37, align 8, !tbaa !13 %41 = icmp eq i64 %40, 0 br i1 %41, label %44, label %42 42: ; preds = %39 %43 = getelementptr inbounds %struct.sk_buff, ptr %27, i64 0, i32 2 store i64 %40, ptr %43, align 8, !tbaa !12 br label %44 44: ; preds = %42, %39, %29 %45 = tail call ptr @ip_hdr(ptr noundef nonnull %0) #3 %46 = load i32, ptr %45, align 4, !tbaa !16 %47 = call i32 @ipv6_addr_set_v4mapped(i32 noundef %46, ptr noundef nonnull %5) #3 br i1 %25, label %62, label %48 48: ; preds = %44 %49 = call i32 @__skb_push(ptr noundef nonnull %27, i32 noundef %1) #3 %50 = call i32 @skb_reset_network_header(ptr noundef nonnull %27) #3 %51 = getelementptr inbounds %struct.sk_buff, ptr %27, i64 0, i32 1 %52 = load i64, ptr %51, align 8, !tbaa !18 %53 = add nsw i64 %52, %6 %54 = sub i32 %26, %1 %55 = call i32 @memmove(i64 noundef %52, i64 noundef %53, i32 noundef %54) #3 %56 = load i64, ptr %51, align 8, !tbaa !18 %57 = zext i32 %26 to i64 %58 = sub nsw i64 %57, %6 %59 = add i64 %58, %56 %60 = call i32 @memset(i64 noundef %59, i32 noundef 0, i32 noundef %1) #3 %61 = shl i32 %26, 21 br label %62 62: ; preds = %48, %44 %63 = phi i32 [ %61, %48 ], [ 0, %44 ] %64 = load i32, ptr @ICMP_TIME_EXCEEDED, align 4, !tbaa !11 %65 = icmp eq i32 %64, %2 %66 = load i32, ptr @ICMPV6_TIME_EXCEED, align 4 %67 = load i32, ptr @ICMPV6_DEST_UNREACH, align 4 %68 = select i1 %65, i32 %66, i32 %67 %69 = load i32, ptr @ICMPV6_EXC_HOPLIMIT, align 4 %70 = load i32, ptr @ICMPV6_ADDR_UNREACH, align 4 %71 = select i1 %65, i32 %69, i32 %70 %72 = call i32 @icmp6_send(ptr noundef nonnull %27, i32 noundef %68, i32 noundef %71, i32 noundef %63, ptr noundef nonnull %5) #3 br i1 %38, label %75, label %73 73: ; preds = %62 %74 = call i32 @ip6_rt_put(ptr noundef nonnull %37) #3 br label %75 75: ; preds = %73, %62 %76 = call i32 @kfree_skb(ptr noundef nonnull %27) #3 br label %77 77: ; preds = %24, %4, %75 %78 = phi i32 [ 0, %75 ], [ 1, %4 ], [ 1, %24 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 ret i32 %78 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @pskb_may_pull(ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @skb_copy(ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @skb_clone(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @skb_dst_drop(ptr noundef) local_unnamed_addr #2 declare i32 @skb_pull(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @skb_reset_network_header(ptr noundef) local_unnamed_addr #2 declare ptr @rt6_lookup(i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @dev_net(i64 noundef) local_unnamed_addr #2 declare ptr @ipv6_hdr(ptr noundef) local_unnamed_addr #2 declare i32 @ipv6_addr_set_v4mapped(i32 noundef, ptr noundef) local_unnamed_addr #2 declare ptr @ip_hdr(ptr noundef) local_unnamed_addr #2 declare i32 @__skb_push(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @memmove(i64 noundef, i64 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @memset(i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @icmp6_send(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ip6_rt_put(ptr noundef) local_unnamed_addr #2 declare i32 @kfree_skb(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 = !{!"sk_buff", !7, i64 0, !10, i64 8, !10, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!7, !7, i64 0} !12 = !{!6, !10, i64 16} !13 = !{!14, !10, i64 0} !14 = !{!"rt6_info", !15, i64 0} !15 = !{!"TYPE_4__", !10, i64 0} !16 = !{!17, !7, i64 0} !17 = !{!"TYPE_6__", !7, i64 0} !18 = !{!6, !10, i64 8}
; ModuleID = 'AnghaBench/linux/net/ipv6/extr_icmp.c_ip6_err_gen_icmpv6_unreach.c' source_filename = "AnghaBench/linux/net/ipv6/extr_icmp.c_ip6_err_gen_icmpv6_unreach.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.in6_addr = type { i32 } @GFP_ATOMIC = common local_unnamed_addr global i32 0, align 4 @ICMP_TIME_EXCEEDED = common local_unnamed_addr global i32 0, align 4 @ICMPV6_TIME_EXCEED = common local_unnamed_addr global i32 0, align 4 @ICMPV6_EXC_HOPLIMIT = common local_unnamed_addr global i32 0, align 4 @ICMPV6_DEST_UNREACH = common local_unnamed_addr global i32 0, align 4 @ICMPV6_ADDR_UNREACH = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 0, 2) i32 @ip6_err_gen_icmpv6_unreach(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = alloca %struct.in6_addr, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %6 = sext i32 %1 to i64 %7 = add i32 %1, 12 %8 = tail call i32 @pskb_may_pull(ptr noundef %0, i32 noundef %7) #3 %9 = icmp eq i32 %8, 0 br i1 %9, label %77, label %10 10: ; preds = %4 %11 = icmp ugt i32 %3, 127 %12 = and i32 %3, 7 %13 = icmp eq i32 %12, 0 %14 = and i1 %11, %13 br i1 %14, label %15, label %21 15: ; preds = %10 %16 = load i32, ptr %0, align 8, !tbaa !6 %17 = icmp ult i32 %16, %3 br i1 %17, label %21, label %18 18: ; preds = %15 %19 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !12 %20 = tail call ptr @skb_copy(ptr noundef nonnull %0, i32 noundef %19) #3 br label %24 21: ; preds = %10, %15 %22 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !12 %23 = tail call ptr @skb_clone(ptr noundef %0, i32 noundef %22) #3 br label %24 24: ; preds = %21, %18 %25 = phi i1 [ false, %18 ], [ true, %21 ] %26 = phi i32 [ %3, %18 ], [ 0, %21 ] %27 = phi ptr [ %20, %18 ], [ %23, %21 ] %28 = icmp eq ptr %27, null br i1 %28, label %77, label %29 29: ; preds = %24 %30 = tail call i32 @skb_dst_drop(ptr noundef nonnull %27) #3 %31 = tail call i32 @skb_pull(ptr noundef nonnull %27, i32 noundef %1) #3 %32 = tail call i32 @skb_reset_network_header(ptr noundef nonnull %27) #3 %33 = getelementptr inbounds i8, ptr %0, i64 16 %34 = load i64, ptr %33, align 8, !tbaa !13 %35 = tail call i32 @dev_net(i64 noundef %34) #3 %36 = tail call ptr @ipv6_hdr(ptr noundef nonnull %27) #3 %37 = tail call ptr @rt6_lookup(i32 noundef %35, ptr noundef %36, ptr noundef null, i32 noundef 0, ptr noundef %0, i32 noundef 0) #3 %38 = icmp eq ptr %37, null br i1 %38, label %44, label %39 39: ; preds = %29 %40 = load i64, ptr %37, align 8, !tbaa !14 %41 = icmp eq i64 %40, 0 br i1 %41, label %44, label %42 42: ; preds = %39 %43 = getelementptr inbounds i8, ptr %27, i64 16 store i64 %40, ptr %43, align 8, !tbaa !13 br label %44 44: ; preds = %42, %39, %29 %45 = tail call ptr @ip_hdr(ptr noundef nonnull %0) #3 %46 = load i32, ptr %45, align 4, !tbaa !17 %47 = call i32 @ipv6_addr_set_v4mapped(i32 noundef %46, ptr noundef nonnull %5) #3 br i1 %25, label %62, label %48 48: ; preds = %44 %49 = call i32 @__skb_push(ptr noundef nonnull %27, i32 noundef %1) #3 %50 = call i32 @skb_reset_network_header(ptr noundef nonnull %27) #3 %51 = getelementptr inbounds i8, ptr %27, i64 8 %52 = load i64, ptr %51, align 8, !tbaa !19 %53 = add nsw i64 %52, %6 %54 = sub i32 %26, %1 %55 = call i32 @memmove(i64 noundef %52, i64 noundef %53, i32 noundef %54) #3 %56 = load i64, ptr %51, align 8, !tbaa !19 %57 = zext i32 %26 to i64 %58 = sub nsw i64 %57, %6 %59 = add i64 %58, %56 %60 = call i32 @memset(i64 noundef %59, i32 noundef 0, i32 noundef %1) #3 %61 = shl i32 %26, 21 br label %62 62: ; preds = %48, %44 %63 = phi i32 [ %61, %48 ], [ 0, %44 ] %64 = load i32, ptr @ICMP_TIME_EXCEEDED, align 4, !tbaa !12 %65 = icmp eq i32 %64, %2 %66 = load i32, ptr @ICMPV6_TIME_EXCEED, align 4 %67 = load i32, ptr @ICMPV6_DEST_UNREACH, align 4 %68 = select i1 %65, i32 %66, i32 %67 %69 = load i32, ptr @ICMPV6_EXC_HOPLIMIT, align 4 %70 = load i32, ptr @ICMPV6_ADDR_UNREACH, align 4 %71 = select i1 %65, i32 %69, i32 %70 %72 = call i32 @icmp6_send(ptr noundef nonnull %27, i32 noundef %68, i32 noundef %71, i32 noundef %63, ptr noundef nonnull %5) #3 br i1 %38, label %75, label %73 73: ; preds = %62 %74 = call i32 @ip6_rt_put(ptr noundef nonnull %37) #3 br label %75 75: ; preds = %73, %62 %76 = call i32 @kfree_skb(ptr noundef nonnull %27) #3 br label %77 77: ; preds = %24, %4, %75 %78 = phi i32 [ 0, %75 ], [ 1, %4 ], [ 1, %24 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 ret i32 %78 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @pskb_may_pull(ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @skb_copy(ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @skb_clone(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @skb_dst_drop(ptr noundef) local_unnamed_addr #2 declare i32 @skb_pull(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @skb_reset_network_header(ptr noundef) local_unnamed_addr #2 declare ptr @rt6_lookup(i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @dev_net(i64 noundef) local_unnamed_addr #2 declare ptr @ipv6_hdr(ptr noundef) local_unnamed_addr #2 declare i32 @ipv6_addr_set_v4mapped(i32 noundef, ptr noundef) local_unnamed_addr #2 declare ptr @ip_hdr(ptr noundef) local_unnamed_addr #2 declare i32 @__skb_push(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @memmove(i64 noundef, i64 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @memset(i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @icmp6_send(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ip6_rt_put(ptr noundef) local_unnamed_addr #2 declare i32 @kfree_skb(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 = !{!"sk_buff", !8, i64 0, !11, i64 8, !11, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!7, !11, i64 16} !14 = !{!15, !11, i64 0} !15 = !{!"rt6_info", !16, i64 0} !16 = !{!"TYPE_4__", !11, i64 0} !17 = !{!18, !8, i64 0} !18 = !{!"TYPE_6__", !8, i64 0} !19 = !{!7, !11, i64 8}
linux_net_ipv6_extr_icmp.c_ip6_err_gen_icmpv6_unreach
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wimax/i2400m/extr_i2400m.h_i2400m_brh_command.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wimax/i2400m/extr_i2400m.h_i2400m_brh_command.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @I2400M_BRH_SIGNATURE = dso_local local_unnamed_addr global i32 0, align 4 @I2400M_BRH_DIRECT_ACCESS = dso_local local_unnamed_addr global i32 0, align 4 @I2400M_BRH_RESPONSE_REQUIRED = dso_local local_unnamed_addr global i32 0, align 4 @I2400M_BRH_USE_CHECKSUM = dso_local local_unnamed_addr global i32 0, align 4 @I2400M_BRH_OPCODE_MASK = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @i2400m_brh_command], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @i2400m_brh_command(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = load i32, ptr @I2400M_BRH_SIGNATURE, align 4, !tbaa !5 %5 = icmp eq i32 %2, 0 %6 = load i32, ptr @I2400M_BRH_DIRECT_ACCESS, align 4 %7 = select i1 %5, i32 0, i32 %6 %8 = or i32 %7, %4 %9 = load i32, ptr @I2400M_BRH_RESPONSE_REQUIRED, align 4, !tbaa !5 %10 = or i32 %8, %9 %11 = icmp eq i32 %1, 0 %12 = load i32, ptr @I2400M_BRH_USE_CHECKSUM, align 4 %13 = select i1 %11, i32 0, i32 %12 %14 = or i32 %10, %13 %15 = load i32, ptr @I2400M_BRH_OPCODE_MASK, align 4, !tbaa !5 %16 = and i32 %15, %0 %17 = or i32 %14, %16 %18 = tail call i32 @cpu_to_le32(i32 noundef %17) #2 ret i32 %18 } declare i32 @cpu_to_le32(i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wimax/i2400m/extr_i2400m.h_i2400m_brh_command.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wimax/i2400m/extr_i2400m.h_i2400m_brh_command.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @I2400M_BRH_SIGNATURE = common local_unnamed_addr global i32 0, align 4 @I2400M_BRH_DIRECT_ACCESS = common local_unnamed_addr global i32 0, align 4 @I2400M_BRH_RESPONSE_REQUIRED = common local_unnamed_addr global i32 0, align 4 @I2400M_BRH_USE_CHECKSUM = common local_unnamed_addr global i32 0, align 4 @I2400M_BRH_OPCODE_MASK = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @i2400m_brh_command], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal i32 @i2400m_brh_command(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = load i32, ptr @I2400M_BRH_SIGNATURE, align 4, !tbaa !6 %5 = icmp eq i32 %2, 0 %6 = load i32, ptr @I2400M_BRH_DIRECT_ACCESS, align 4 %7 = select i1 %5, i32 0, i32 %6 %8 = or i32 %7, %4 %9 = load i32, ptr @I2400M_BRH_RESPONSE_REQUIRED, align 4, !tbaa !6 %10 = or i32 %8, %9 %11 = icmp eq i32 %1, 0 %12 = load i32, ptr @I2400M_BRH_USE_CHECKSUM, align 4 %13 = select i1 %11, i32 0, i32 %12 %14 = or i32 %10, %13 %15 = load i32, ptr @I2400M_BRH_OPCODE_MASK, align 4, !tbaa !6 %16 = and i32 %15, %0 %17 = or i32 %14, %16 %18 = tail call i32 @cpu_to_le32(i32 noundef %17) #2 ret i32 %18 } declare i32 @cpu_to_le32(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"}
fastsocket_kernel_drivers_net_wimax_i2400m_extr_i2400m.h_i2400m_brh_command
; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_adt7462.c_fan_show.c' source_filename = "AnghaBench/linux/drivers/hwmon/extr_adt7462.c_fan_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 [3 x i8] c"0\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @fan_show], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @fan_show(ptr noundef %0, ptr noundef %1, ptr nocapture noundef writeonly %2) #0 { %4 = tail call ptr @to_sensor_dev_attr(ptr noundef %1) #4 %5 = tail call ptr @adt7462_update_device(ptr noundef %0) #4 %6 = load i64, ptr %4, align 8, !tbaa !5 %7 = tail call i32 @fan_enabled(ptr noundef %5, i64 noundef %6) #4 %8 = icmp eq i32 %7, 0 br i1 %8, label %16, label %9 9: ; preds = %3 %10 = load ptr, ptr %5, align 8, !tbaa !10 %11 = load i64, ptr %4, align 8, !tbaa !5 %12 = getelementptr inbounds i32, ptr %10, i64 %11 %13 = load i32, ptr %12, align 4, !tbaa !13 %14 = tail call i32 @FAN_DATA_VALID(i32 noundef %13) #4 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %17 16: ; preds = %9, %3 tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(3) %2, ptr noundef nonnull align 1 dereferenceable(3) @.str, i64 3, i1 false) br label %24 17: ; preds = %9 %18 = load ptr, ptr %5, align 8, !tbaa !10 %19 = load i64, ptr %4, align 8, !tbaa !5 %20 = getelementptr inbounds i32, ptr %18, i64 %19 %21 = load i32, ptr %20, align 4, !tbaa !13 %22 = tail call i32 @FAN_PERIOD_TO_RPM(i32 noundef %21) #4 %23 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %2, ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %22) br label %24 24: ; preds = %17, %16 %25 = phi i32 [ %23, %17 ], [ 2, %16 ] ret i32 %25 } declare ptr @to_sensor_dev_attr(ptr noundef) local_unnamed_addr #1 declare ptr @adt7462_update_device(ptr noundef) local_unnamed_addr #1 declare i32 @fan_enabled(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @FAN_DATA_VALID(i32 noundef) local_unnamed_addr #1 ; Function Attrs: nofree nounwind declare noundef i32 @sprintf(ptr noalias nocapture noundef writeonly, ptr nocapture noundef readonly, ...) local_unnamed_addr #2 declare i32 @FAN_PERIOD_TO_RPM(i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"sensor_device_attribute", !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 = !{!"adt7462_data", !12, i64 0} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_adt7462.c_fan_show.c' source_filename = "AnghaBench/linux/drivers/hwmon/extr_adt7462.c_fan_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 [3 x i8] c"0\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @fan_show], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @fan_show(ptr noundef %0, ptr noundef %1, ptr nocapture noundef writeonly %2) #0 { %4 = tail call ptr @to_sensor_dev_attr(ptr noundef %1) #4 %5 = tail call ptr @adt7462_update_device(ptr noundef %0) #4 %6 = load i64, ptr %4, align 8, !tbaa !6 %7 = tail call i32 @fan_enabled(ptr noundef %5, i64 noundef %6) #4 %8 = icmp eq i32 %7, 0 br i1 %8, label %16, label %9 9: ; preds = %3 %10 = load ptr, ptr %5, align 8, !tbaa !11 %11 = load i64, ptr %4, align 8, !tbaa !6 %12 = getelementptr inbounds i32, ptr %10, i64 %11 %13 = load i32, ptr %12, align 4, !tbaa !14 %14 = tail call i32 @FAN_DATA_VALID(i32 noundef %13) #4 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %17 16: ; preds = %9, %3 tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(3) %2, ptr noundef nonnull align 1 dereferenceable(3) @.str, i64 3, i1 false) br label %24 17: ; preds = %9 %18 = load ptr, ptr %5, align 8, !tbaa !11 %19 = load i64, ptr %4, align 8, !tbaa !6 %20 = getelementptr inbounds i32, ptr %18, i64 %19 %21 = load i32, ptr %20, align 4, !tbaa !14 %22 = tail call i32 @FAN_PERIOD_TO_RPM(i32 noundef %21) #4 %23 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %2, ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %22) br label %24 24: ; preds = %17, %16 %25 = phi i32 [ %23, %17 ], [ 2, %16 ] ret i32 %25 } declare ptr @to_sensor_dev_attr(ptr noundef) local_unnamed_addr #1 declare ptr @adt7462_update_device(ptr noundef) local_unnamed_addr #1 declare i32 @fan_enabled(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @FAN_DATA_VALID(i32 noundef) local_unnamed_addr #1 ; Function Attrs: nofree nounwind declare noundef i32 @sprintf(ptr noalias nocapture noundef writeonly, ptr nocapture noundef readonly, ...) local_unnamed_addr #2 declare i32 @FAN_PERIOD_TO_RPM(i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"sensor_device_attribute", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 0} !12 = !{!"adt7462_data", !13, i64 0} !13 = !{!"any pointer", !9, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"int", !9, i64 0}
linux_drivers_hwmon_extr_adt7462.c_fan_show
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/qlogic/qlcnic/extr_qlcnic_minidump.c_qlcnic_83xx_get_saved_state.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/qlogic/qlcnic/extr_qlcnic_minidump.c_qlcnic_83xx_get_saved_state.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/qlogic/qlcnic/extr_qlcnic_minidump.c_qlcnic_83xx_get_saved_state.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/qlogic/qlcnic/extr_qlcnic_minidump.c_qlcnic_83xx_get_saved_state.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_net_ethernet_qlogic_qlcnic_extr_qlcnic_minidump.c_qlcnic_83xx_get_saved_state
; ModuleID = 'AnghaBench/git/extr_read-cache.c_ie_modified.c' source_filename = "AnghaBench/git/extr_read-cache.c_ie_modified.c" target datalayout = "e-m:e-p270:32:32-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_entry = type { %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i64 } @MODE_CHANGED = dso_local local_unnamed_addr global i32 0, align 4 @TYPE_CHANGED = dso_local local_unnamed_addr global i32 0, align 4 @DATA_CHANGED = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @ie_modified(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = tail call i32 @ie_match_stat(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #2 %6 = icmp eq i32 %5, 0 br i1 %6, label %30, label %7 7: ; preds = %4 %8 = load i32, ptr @MODE_CHANGED, align 4, !tbaa !5 %9 = load i32, ptr @TYPE_CHANGED, align 4, !tbaa !5 %10 = or i32 %9, %8 %11 = and i32 %10, %5 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %30 13: ; preds = %7 %14 = load i32, ptr @DATA_CHANGED, align 4, !tbaa !5 %15 = and i32 %14, %5 %16 = icmp eq i32 %15, 0 br i1 %16, label %25, label %17 17: ; preds = %13 %18 = getelementptr inbounds %struct.cache_entry, ptr %1, i64 0, i32 1 %19 = load i32, ptr %18, align 8, !tbaa !9 %20 = tail call i64 @S_ISGITLINK(i32 noundef %19) #2 %21 = icmp eq i64 %20, 0 br i1 %21, label %22, label %30 22: ; preds = %17 %23 = load i64, ptr %1, align 8, !tbaa !13 %24 = icmp eq i64 %23, 0 br i1 %24, label %25, label %30 25: ; preds = %22, %13 %26 = tail call i32 @ce_modified_check_fs(ptr noundef %0, ptr noundef %1, ptr noundef %2) #2 %27 = icmp eq i32 %26, 0 %28 = or i32 %26, %5 %29 = select i1 %27, i32 0, i32 %28 br label %30 30: ; preds = %25, %17, %22, %7, %4 %31 = phi i32 [ 0, %4 ], [ %5, %7 ], [ %5, %22 ], [ %5, %17 ], [ %29, %25 ] ret i32 %31 } declare i32 @ie_match_stat(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @S_ISGITLINK(i32 noundef) local_unnamed_addr #1 declare i32 @ce_modified_check_fs(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 8} !10 = !{!"cache_entry", !11, i64 0, !6, i64 8} !11 = !{!"TYPE_2__", !12, i64 0} !12 = !{!"long", !7, i64 0} !13 = !{!10, !12, i64 0}
; ModuleID = 'AnghaBench/git/extr_read-cache.c_ie_modified.c' source_filename = "AnghaBench/git/extr_read-cache.c_ie_modified.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MODE_CHANGED = common local_unnamed_addr global i32 0, align 4 @TYPE_CHANGED = common local_unnamed_addr global i32 0, align 4 @DATA_CHANGED = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @ie_modified(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = tail call i32 @ie_match_stat(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #2 %6 = icmp eq i32 %5, 0 br i1 %6, label %30, label %7 7: ; preds = %4 %8 = load i32, ptr @MODE_CHANGED, align 4, !tbaa !6 %9 = load i32, ptr @TYPE_CHANGED, align 4, !tbaa !6 %10 = or i32 %9, %8 %11 = and i32 %10, %5 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %30 13: ; preds = %7 %14 = load i32, ptr @DATA_CHANGED, align 4, !tbaa !6 %15 = and i32 %14, %5 %16 = icmp eq i32 %15, 0 br i1 %16, label %25, label %17 17: ; preds = %13 %18 = getelementptr inbounds i8, ptr %1, i64 8 %19 = load i32, ptr %18, align 8, !tbaa !10 %20 = tail call i64 @S_ISGITLINK(i32 noundef %19) #2 %21 = icmp eq i64 %20, 0 br i1 %21, label %22, label %30 22: ; preds = %17 %23 = load i64, ptr %1, align 8, !tbaa !14 %24 = icmp eq i64 %23, 0 br i1 %24, label %25, label %30 25: ; preds = %22, %13 %26 = tail call i32 @ce_modified_check_fs(ptr noundef %0, ptr noundef %1, ptr noundef %2) #2 %27 = icmp eq i32 %26, 0 %28 = or i32 %26, %5 %29 = select i1 %27, i32 0, i32 %28 br label %30 30: ; preds = %25, %17, %22, %7, %4 %31 = phi i32 [ 0, %4 ], [ %5, %7 ], [ %5, %22 ], [ %5, %17 ], [ %29, %25 ] ret i32 %31 } declare i32 @ie_match_stat(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @S_ISGITLINK(i32 noundef) local_unnamed_addr #1 declare i32 @ce_modified_check_fs(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 8} !11 = !{!"cache_entry", !12, i64 0, !7, i64 8} !12 = !{!"TYPE_2__", !13, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!11, !13, i64 0}
git_extr_read-cache.c_ie_modified
; ModuleID = 'AnghaBench/linux/drivers/block/drbd/extr_drbd_bitmap.c_drbd_bm_words.c' source_filename = "AnghaBench/linux/drivers/block/drbd/extr_drbd_bitmap.c_drbd_bm_words.c" target datalayout = "e-m:e-p270:32:32-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.drbd_bitmap = type { i64, ptr } ; Function Attrs: nounwind uwtable define dso_local i64 @drbd_bm_words(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = tail call i32 @expect(ptr noundef %2) #2 %4 = icmp eq i32 %3, 0 br i1 %4, label %12, label %5 5: ; preds = %1 %6 = getelementptr inbounds %struct.drbd_bitmap, ptr %2, i64 0, i32 1 %7 = load ptr, ptr %6, align 8, !tbaa !10 %8 = tail call i32 @expect(ptr noundef %7) #2 %9 = icmp eq i32 %8, 0 br i1 %9, label %12, label %10 10: ; preds = %5 %11 = load i64, ptr %2, align 8, !tbaa !13 br label %12 12: ; preds = %5, %1, %10 %13 = phi i64 [ %11, %10 ], [ 0, %1 ], [ 0, %5 ] ret i64 %13 } declare i32 @expect(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 = !{!"drbd_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 8} !11 = !{!"drbd_bitmap", !12, i64 0, !7, i64 8} !12 = !{!"long", !8, i64 0} !13 = !{!11, !12, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/block/drbd/extr_drbd_bitmap.c_drbd_bm_words.c' source_filename = "AnghaBench/linux/drivers/block/drbd/extr_drbd_bitmap.c_drbd_bm_words.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nounwind ssp uwtable(sync) define i64 @drbd_bm_words(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = tail call i32 @expect(ptr noundef %2) #2 %4 = icmp eq i32 %3, 0 br i1 %4, label %12, label %5 5: ; preds = %1 %6 = getelementptr inbounds i8, ptr %2, i64 8 %7 = load ptr, ptr %6, align 8, !tbaa !11 %8 = tail call i32 @expect(ptr noundef %7) #2 %9 = icmp eq i32 %8, 0 br i1 %9, label %12, label %10 10: ; preds = %5 %11 = load i64, ptr %2, align 8, !tbaa !14 br label %12 12: ; preds = %5, %1, %10 %13 = phi i64 [ %11, %10 ], [ 0, %1 ], [ 0, %5 ] ret i64 %13 } declare i32 @expect(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 = !{!"drbd_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 8} !12 = !{!"drbd_bitmap", !13, i64 0, !8, i64 8} !13 = !{!"long", !9, i64 0} !14 = !{!12, !13, i64 0}
linux_drivers_block_drbd_extr_drbd_bitmap.c_drbd_bm_words
; ModuleID = 'AnghaBench/openwrt/tools/firmware-utils/src/extr_buffalo-tftp.c_usage.c' source_filename = "AnghaBench/openwrt/tools/firmware-utils/src/extr_buffalo-tftp.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" @EXIT_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4 @stderr = dso_local local_unnamed_addr global ptr null, align 8 @stdout = dso_local local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [24 x i8] c"Usage: %s [OPTIONS...]\0A\00", align 1 @progname = dso_local local_unnamed_addr global ptr null, align 8 @.str.1 = private unnamed_addr constant [191 x i8] c"\0AOptions:\0A -d decrypt instead of encrypt\0A -i <file> read input from the file <file>\0A -o <file> write output to the file <file>\0A -h show this screen\0A\00", align 1 ; Function Attrs: noreturn nounwind uwtable define dso_local void @usage(i32 noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @EXIT_SUCCESS, align 4, !tbaa !5 %3 = icmp eq i32 %2, %0 %4 = load ptr, ptr @stderr, align 8 %5 = load ptr, ptr @stdout, align 8 %6 = select i1 %3, ptr %5, ptr %4 %7 = load ptr, ptr @progname, align 8, !tbaa !9 %8 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %6, ptr noundef nonnull @.str, ptr noundef %7) %9 = tail call i64 @fwrite(ptr nonnull @.str.1, i64 190, i64 1, ptr %6) %10 = tail call i32 @exit(i32 noundef %0) #4 unreachable } ; Function Attrs: nofree nounwind declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) local_unnamed_addr #2 ; Function Attrs: nofree nounwind declare noundef i64 @fwrite(ptr nocapture noundef, i64 noundef, i64 noundef, ptr nocapture noundef) local_unnamed_addr #3 attributes #0 = { noreturn nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nofree nounwind } attributes #4 = { noreturn nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !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/openwrt/tools/firmware-utils/src/extr_buffalo-tftp.c_usage.c' source_filename = "AnghaBench/openwrt/tools/firmware-utils/src/extr_buffalo-tftp.c_usage.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EXIT_SUCCESS = common local_unnamed_addr global i32 0, align 4 @stderr = common local_unnamed_addr global ptr null, align 8 @stdout = common local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [24 x i8] c"Usage: %s [OPTIONS...]\0A\00", align 1 @progname = common local_unnamed_addr global ptr null, align 8 @.str.1 = private unnamed_addr constant [191 x i8] c"\0AOptions:\0A -d decrypt instead of encrypt\0A -i <file> read input from the file <file>\0A -o <file> write output to the file <file>\0A -h show this screen\0A\00", align 1 ; Function Attrs: noreturn nounwind ssp uwtable(sync) define void @usage(i32 noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @EXIT_SUCCESS, align 4, !tbaa !6 %3 = icmp eq i32 %2, %0 %4 = load ptr, ptr @stderr, align 8 %5 = load ptr, ptr @stdout, align 8 %6 = select i1 %3, ptr %5, ptr %4 %7 = load ptr, ptr @progname, align 8, !tbaa !10 %8 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %6, ptr noundef nonnull @.str, ptr noundef %7) %9 = tail call i64 @fwrite(ptr nonnull @.str.1, i64 190, i64 1, ptr %6) %10 = tail call i32 @exit(i32 noundef %0) #4 unreachable } ; Function Attrs: nofree nounwind declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) local_unnamed_addr #2 ; Function Attrs: nofree nounwind declare noundef i64 @fwrite(ptr nocapture noundef, i64 noundef, i64 noundef, ptr nocapture noundef) local_unnamed_addr #3 attributes #0 = { noreturn nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { noreturn "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nofree nounwind } attributes #4 = { noreturn nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !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}
openwrt_tools_firmware-utils_src_extr_buffalo-tftp.c_usage
; ModuleID = 'AnghaBench/linux/drivers/block/extr_amiflop.c_dos_encode_block.c' source_filename = "AnghaBench/linux/drivers/block/extr_amiflop.c_dos_encode_block.c" target datalayout = "e-m:e-p270:32:32-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 @dos_encode_block], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @dos_encode_block(ptr nocapture noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) #0 { %4 = icmp sgt i32 %2, 0 br i1 %4, label %5, label %25 5: ; preds = %3, %5 %6 = phi i32 [ %23, %5 ], [ 0, %3 ] %7 = phi ptr [ %22, %5 ], [ %0, %3 ] %8 = phi ptr [ %9, %5 ], [ %1, %3 ] %9 = getelementptr inbounds i8, ptr %8, i64 1 %10 = load i8, ptr %8, align 1, !tbaa !5 %11 = zext i8 %10 to i32 %12 = tail call i32 @dos_encode_byte(i32 noundef %11) #2 %13 = getelementptr inbounds i32, ptr %7, i64 -1 %14 = load i32, ptr %13, align 4, !tbaa !8 %15 = and i32 %14, 1 %16 = icmp ne i32 %15, 0 %17 = and i32 %12, 16384 %18 = icmp ne i32 %17, 0 %19 = select i1 %16, i1 true, i1 %18 %20 = select i1 %19, i32 0, i32 32768 %21 = or i32 %20, %12 store i32 %21, ptr %7, align 4, !tbaa !8 %22 = getelementptr inbounds i32, ptr %7, i64 1 %23 = add nuw nsw i32 %6, 1 %24 = icmp eq i32 %23, %2 br i1 %24, label %25, label %5, !llvm.loop !10 25: ; preds = %5, %3 ret void } declare i32 @dos_encode_byte(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = !{!9, !9, i64 0} !9 = !{!"int", !6, i64 0} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/block/extr_amiflop.c_dos_encode_block.c' source_filename = "AnghaBench/linux/drivers/block/extr_amiflop.c_dos_encode_block.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 @dos_encode_block], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @dos_encode_block(ptr nocapture noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) #0 { %4 = icmp sgt i32 %2, 0 br i1 %4, label %5, label %25 5: ; preds = %3, %5 %6 = phi i32 [ %23, %5 ], [ 0, %3 ] %7 = phi ptr [ %22, %5 ], [ %0, %3 ] %8 = phi ptr [ %9, %5 ], [ %1, %3 ] %9 = getelementptr inbounds i8, ptr %8, i64 1 %10 = load i8, ptr %8, align 1, !tbaa !6 %11 = zext i8 %10 to i32 %12 = tail call i32 @dos_encode_byte(i32 noundef %11) #2 %13 = getelementptr inbounds i8, ptr %7, i64 -4 %14 = load i32, ptr %13, align 4, !tbaa !9 %15 = and i32 %14, 1 %16 = icmp ne i32 %15, 0 %17 = and i32 %12, 16384 %18 = icmp ne i32 %17, 0 %19 = select i1 %16, i1 true, i1 %18 %20 = select i1 %19, i32 0, i32 32768 %21 = or i32 %20, %12 store i32 %21, ptr %7, align 4, !tbaa !9 %22 = getelementptr inbounds i8, ptr %7, i64 4 %23 = add nuw nsw i32 %6, 1 %24 = icmp eq i32 %23, %2 br i1 %24, label %25, label %5, !llvm.loop !11 25: ; preds = %5, %3 ret void } declare i32 @dos_encode_byte(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"}
linux_drivers_block_extr_amiflop.c_dos_encode_block
; ModuleID = 'AnghaBench/linux/drivers/usb/chipidea/extr_ci_hdrc_imx.c_ci_hdrc_imx_shutdown.c' source_filename = "AnghaBench/linux/drivers/usb/chipidea/extr_ci_hdrc_imx.c_ci_hdrc_imx_shutdown.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @ci_hdrc_imx_shutdown], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ci_hdrc_imx_shutdown(ptr noundef %0) #0 { %2 = tail call i32 @ci_hdrc_imx_remove(ptr noundef %0) #2 ret void } declare i32 @ci_hdrc_imx_remove(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/usb/chipidea/extr_ci_hdrc_imx.c_ci_hdrc_imx_shutdown.c' source_filename = "AnghaBench/linux/drivers/usb/chipidea/extr_ci_hdrc_imx.c_ci_hdrc_imx_shutdown.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @ci_hdrc_imx_shutdown], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ci_hdrc_imx_shutdown(ptr noundef %0) #0 { %2 = tail call i32 @ci_hdrc_imx_remove(ptr noundef %0) #2 ret void } declare i32 @ci_hdrc_imx_remove(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_usb_chipidea_extr_ci_hdrc_imx.c_ci_hdrc_imx_shutdown