llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmpekh679c9.c'
source_filename = "/tmp/tmpekh679c9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"%lld\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"Yes\0A\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"No\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca [30 x i32], align 16
%9 = alloca [30 x i32], align 16
%10 = alloca [1050 x i8], align 16
%11 = alloca [1050 x i8], align 16
store i32 0, ptr %1, align 4
%12 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
br label %13
13: ; preds = %153, %0
%14 = load i64, ptr %2, align 8
%15 = add nsw i64 %14, -1
store i64 %15, ptr %2, align 8
%16 = icmp ne i64 %14, 0
br i1 %16, label %17, label %154
17: ; preds = %13
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
call void @llvm.memset.p0.i64(ptr align 16 %8, i8 0, i64 120, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 120, i1 false)
%18 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %10)
%19 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %11)
%20 = getelementptr inbounds [1050 x i8], ptr %10, i64 0, i64 0
%21 = call i32 @strlen(ptr noundef %20)
store i32 %21, ptr %3, align 4
%22 = getelementptr inbounds [1050 x i8], ptr %11, i64 0, i64 0
%23 = call i32 @strlen(ptr noundef %22)
store i32 %23, ptr %4, align 4
%24 = load i32, ptr %3, align 4
%25 = load i32, ptr %4, align 4
%26 = add nsw i32 %24, %25
%27 = icmp sgt i32 %26, 2
br i1 %27, label %28, label %146
28: ; preds = %17
store i32 0, ptr %7, align 4
br label %29
29: ; preds = %43, %28
%30 = load i32, ptr %7, align 4
%31 = load i32, ptr %3, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %33, label %46
33: ; preds = %29
%34 = load i32, ptr %7, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [1050 x i8], ptr %10, i64 0, i64 %35
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = sub nsw i32 %38, 96
store i32 %39, ptr %5, align 4
%40 = load i32, ptr %5, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds [30 x i32], ptr %8, i64 0, i64 %41
store i32 1, ptr %42, align 4
br label %43
43: ; preds = %33
%44 = load i32, ptr %7, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %7, align 4
br label %29, !llvm.loop !6
46: ; preds = %29
store i32 0, ptr %7, align 4
br label %47
47: ; preds = %61, %46
%48 = load i32, ptr %7, align 4
%49 = load i32, ptr %4, align 4
%50 = icmp slt i32 %48, %49
br i1 %50, label %51, label %64
51: ; preds = %47
%52 = load i32, ptr %7, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds [1050 x i8], ptr %11, i64 0, i64 %53
%55 = load i8, ptr %54, align 1
%56 = sext i8 %55 to i32
%57 = sub nsw i32 %56, 96
store i32 %57, ptr %5, align 4
%58 = load i32, ptr %5, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [30 x i32], ptr %9, i64 0, i64 %59
store i32 1, ptr %60, align 4
br label %61
61: ; preds = %51
%62 = load i32, ptr %7, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %7, align 4
br label %47, !llvm.loop !8
64: ; preds = %47
store i32 0, ptr %5, align 4
store i32 1, ptr %7, align 4
br label %65
65: ; preds = %100, %64
%66 = load i32, ptr %7, align 4
%67 = load i32, ptr %3, align 4
%68 = icmp slt i32 %66, %67
br i1 %68, label %69, label %103
69: ; preds = %65
%70 = load i32, ptr %7, align 4
%71 = sub nsw i32 %70, 1
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds [1050 x i8], ptr %10, i64 0, i64 %72
%74 = load i8, ptr %73, align 1
%75 = sext i8 %74 to i32
%76 = load i32, ptr %7, align 4
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds [1050 x i8], ptr %10, i64 0, i64 %77
%79 = load i8, ptr %78, align 1
%80 = sext i8 %79 to i32
%81 = icmp ne i32 %75, %80
br i1 %81, label %82, label %99
82: ; preds = %69
%83 = load i32, ptr %7, align 4
%84 = sub nsw i32 %83, 1
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds [1050 x i8], ptr %10, i64 0, i64 %85
%87 = load i8, ptr %86, align 1
%88 = sext i8 %87 to i32
%89 = sub nsw i32 %88, 96
store i32 %89, ptr %5, align 4
%90 = load i32, ptr %5, align 4
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds [30 x i32], ptr %9, i64 0, i64 %91
%93 = load i32, ptr %92, align 4
%94 = icmp eq i32 %93, 1
br i1 %94, label %95, label %98
95: ; preds = %82
%96 = load i32, ptr %6, align 4
%97 = add nsw i32 %96, 1
store i32 %97, ptr %6, align 4
br label %98
98: ; preds = %95, %82
br label %99
99: ; preds = %98, %69
br label %100
100: ; preds = %99
%101 = load i32, ptr %7, align 4
%102 = add nsw i32 %101, 1
store i32 %102, ptr %7, align 4
br label %65, !llvm.loop !9
103: ; preds = %65
%104 = load i32, ptr %6, align 4
%105 = icmp eq i32 %104, 0
br i1 %105, label %106, label %145
106: ; preds = %103
store i32 1, ptr %7, align 4
br label %107
107: ; preds = %141, %106
%108 = load i32, ptr %7, align 4
%109 = load i32, ptr %4, align 4
%110 = icmp slt i32 %108, %109
br i1 %110, label %111, label %144
111: ; preds = %107
%112 = load i32, ptr %7, align 4
%113 = sub nsw i32 %112, 1
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds [1050 x i8], ptr %11, i64 0, i64 %114
%116 = load i8, ptr %115, align 1
%117 = sext i8 %116 to i32
%118 = load i32, ptr %7, align 4
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds [1050 x i8], ptr %11, i64 0, i64 %119
%121 = load i8, ptr %120, align 1
%122 = sext i8 %121 to i32
%123 = icmp ne i32 %117, %122
br i1 %123, label %124, label %140
124: ; preds = %111
%125 = load i32, ptr %7, align 4
%126 = sext i32 %125 to i64
%127 = getelementptr inbounds [1050 x i8], ptr %11, i64 0, i64 %126
%128 = load i8, ptr %127, align 1
%129 = sext i8 %128 to i32
%130 = sub nsw i32 %129, 96
store i32 %130, ptr %5, align 4
%131 = load i32, ptr %5, align 4
%132 = sext i32 %131 to i64
%133 = getelementptr inbounds [30 x i32], ptr %8, i64 0, i64 %132
%134 = load i32, ptr %133, align 4
%135 = icmp eq i32 %134, 1
br i1 %135, label %136, label %139
136: ; preds = %124
%137 = load i32, ptr %6, align 4
%138 = add nsw i32 %137, 1
store i32 %138, ptr %6, align 4
br label %139
139: ; preds = %136, %124
br label %140
140: ; preds = %139, %111
br label %141
141: ; preds = %140
%142 = load i32, ptr %7, align 4
%143 = add nsw i32 %142, 1
store i32 %143, ptr %7, align 4
br label %107, !llvm.loop !10
144: ; preds = %107
br label %145
145: ; preds = %144, %103
br label %146
146: ; preds = %145, %17
%147 = load i32, ptr %6, align 4
%148 = icmp sgt i32 %147, 0
br i1 %148, label %149, label %151
149: ; preds = %146
%150 = call i32 @printf(ptr noundef @.str.2)
br label %153
151: ; preds = %146
%152 = call i32 @printf(ptr noundef @.str.3)
br label %153
153: ; preds = %151, %149
br label %13, !llvm.loop !11
154: ; preds = %13
ret i32 0
}
declare i32 @scanf(ptr noundef, ...) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="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) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpekh679c9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"%lld\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"Yes\0A\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"No\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca [30 x i32], align 16
%9 = alloca [30 x i32], align 16
%10 = alloca [1050 x i8], align 16
%11 = alloca [1050 x i8], align 16
store i32 0, ptr %1, align 4
%12 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
%13 = load i64, ptr %2, align 8
%14 = add nsw i64 %13, -1
store i64 %14, ptr %2, align 8
%15 = icmp ne i64 %13, 0
br i1 %15, label %.lr.ph11, label %164
.lr.ph11: ; preds = %0
br label %16
16: ; preds = %.lr.ph11, %160
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
call void @llvm.memset.p0.i64(ptr align 16 %8, i8 0, i64 120, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 120, i1 false)
%17 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %10)
%18 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %11)
%19 = getelementptr inbounds [1050 x i8], ptr %10, i64 0, i64 0
%20 = call i32 @strlen(ptr noundef %19)
store i32 %20, ptr %3, align 4
%21 = getelementptr inbounds [1050 x i8], ptr %11, i64 0, i64 0
%22 = call i32 @strlen(ptr noundef %21)
store i32 %22, ptr %4, align 4
%23 = load i32, ptr %3, align 4
%24 = load i32, ptr %4, align 4
%25 = add nsw i32 %23, %24
%26 = icmp sgt i32 %25, 2
br i1 %26, label %27, label %153
27: ; preds = %16
store i32 0, ptr %7, align 4
%28 = load i32, ptr %7, align 4
%29 = load i32, ptr %3, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %.lr.ph, label %47
.lr.ph: ; preds = %27
br label %31
31: ; preds = %.lr.ph, %41
%32 = load i32, ptr %7, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [1050 x i8], ptr %10, i64 0, i64 %33
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = sub nsw i32 %36, 96
store i32 %37, ptr %5, align 4
%38 = load i32, ptr %5, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds [30 x i32], ptr %8, i64 0, i64 %39
store i32 1, ptr %40, align 4
br label %41
41: ; preds = %31
%42 = load i32, ptr %7, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %7, align 4
%44 = load i32, ptr %7, align 4
%45 = load i32, ptr %3, align 4
%46 = icmp slt i32 %44, %45
br i1 %46, label %31, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %41
br label %47
47: ; preds = %._crit_edge, %27
store i32 0, ptr %7, align 4
%48 = load i32, ptr %7, align 4
%49 = load i32, ptr %4, align 4
%50 = icmp slt i32 %48, %49
br i1 %50, label %.lr.ph2, label %67
.lr.ph2: ; preds = %47
br label %51
51: ; preds = %.lr.ph2, %61
%52 = load i32, ptr %7, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds [1050 x i8], ptr %11, i64 0, i64 %53
%55 = load i8, ptr %54, align 1
%56 = sext i8 %55 to i32
%57 = sub nsw i32 %56, 96
store i32 %57, ptr %5, align 4
%58 = load i32, ptr %5, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [30 x i32], ptr %9, i64 0, i64 %59
store i32 1, ptr %60, align 4
br label %61
61: ; preds = %51
%62 = load i32, ptr %7, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %7, align 4
%64 = load i32, ptr %7, align 4
%65 = load i32, ptr %4, align 4
%66 = icmp slt i32 %64, %65
br i1 %66, label %51, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %61
br label %67
67: ; preds = %._crit_edge3, %47
store i32 0, ptr %5, align 4
store i32 1, ptr %7, align 4
%68 = load i32, ptr %7, align 4
%69 = load i32, ptr %3, align 4
%70 = icmp slt i32 %68, %69
br i1 %70, label %.lr.ph5, label %108
.lr.ph5: ; preds = %67
br label %71
71: ; preds = %.lr.ph5, %102
%72 = load i32, ptr %7, align 4
%73 = sub nsw i32 %72, 1
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds [1050 x i8], ptr %10, i64 0, i64 %74
%76 = load i8, ptr %75, align 1
%77 = sext i8 %76 to i32
%78 = load i32, ptr %7, align 4
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds [1050 x i8], ptr %10, i64 0, i64 %79
%81 = load i8, ptr %80, align 1
%82 = sext i8 %81 to i32
%83 = icmp ne i32 %77, %82
br i1 %83, label %84, label %101
84: ; preds = %71
%85 = load i32, ptr %7, align 4
%86 = sub nsw i32 %85, 1
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds [1050 x i8], ptr %10, i64 0, i64 %87
%89 = load i8, ptr %88, align 1
%90 = sext i8 %89 to i32
%91 = sub nsw i32 %90, 96
store i32 %91, ptr %5, align 4
%92 = load i32, ptr %5, align 4
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds [30 x i32], ptr %9, i64 0, i64 %93
%95 = load i32, ptr %94, align 4
%96 = icmp eq i32 %95, 1
br i1 %96, label %97, label %100
97: ; preds = %84
%98 = load i32, ptr %6, align 4
%99 = add nsw i32 %98, 1
store i32 %99, ptr %6, align 4
br label %100
100: ; preds = %97, %84
br label %101
101: ; preds = %100, %71
br label %102
102: ; preds = %101
%103 = load i32, ptr %7, align 4
%104 = add nsw i32 %103, 1
store i32 %104, ptr %7, align 4
%105 = load i32, ptr %7, align 4
%106 = load i32, ptr %3, align 4
%107 = icmp slt i32 %105, %106
br i1 %107, label %71, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %102
br label %108
108: ; preds = %._crit_edge6, %67
%109 = load i32, ptr %6, align 4
%110 = icmp eq i32 %109, 0
br i1 %110, label %111, label %152
111: ; preds = %108
store i32 1, ptr %7, align 4
%112 = load i32, ptr %7, align 4
%113 = load i32, ptr %4, align 4
%114 = icmp slt i32 %112, %113
br i1 %114, label %.lr.ph8, label %151
.lr.ph8: ; preds = %111
br label %115
115: ; preds = %.lr.ph8, %145
%116 = load i32, ptr %7, align 4
%117 = sub nsw i32 %116, 1
%118 = sext i32 %117 to i64
%119 = getelementptr inbounds [1050 x i8], ptr %11, i64 0, i64 %118
%120 = load i8, ptr %119, align 1
%121 = sext i8 %120 to i32
%122 = load i32, ptr %7, align 4
%123 = sext i32 %122 to i64
%124 = getelementptr inbounds [1050 x i8], ptr %11, i64 0, i64 %123
%125 = load i8, ptr %124, align 1
%126 = sext i8 %125 to i32
%127 = icmp ne i32 %121, %126
br i1 %127, label %128, label %144
128: ; preds = %115
%129 = load i32, ptr %7, align 4
%130 = sext i32 %129 to i64
%131 = getelementptr inbounds [1050 x i8], ptr %11, i64 0, i64 %130
%132 = load i8, ptr %131, align 1
%133 = sext i8 %132 to i32
%134 = sub nsw i32 %133, 96
store i32 %134, ptr %5, align 4
%135 = load i32, ptr %5, align 4
%136 = sext i32 %135 to i64
%137 = getelementptr inbounds [30 x i32], ptr %8, i64 0, i64 %136
%138 = load i32, ptr %137, align 4
%139 = icmp eq i32 %138, 1
br i1 %139, label %140, label %143
140: ; preds = %128
%141 = load i32, ptr %6, align 4
%142 = add nsw i32 %141, 1
store i32 %142, ptr %6, align 4
br label %143
143: ; preds = %140, %128
br label %144
144: ; preds = %143, %115
br label %145
145: ; preds = %144
%146 = load i32, ptr %7, align 4
%147 = add nsw i32 %146, 1
store i32 %147, ptr %7, align 4
%148 = load i32, ptr %7, align 4
%149 = load i32, ptr %4, align 4
%150 = icmp slt i32 %148, %149
br i1 %150, label %115, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %145
br label %151
151: ; preds = %._crit_edge9, %111
br label %152
152: ; preds = %151, %108
br label %153
153: ; preds = %152, %16
%154 = load i32, ptr %6, align 4
%155 = icmp sgt i32 %154, 0
br i1 %155, label %156, label %158
156: ; preds = %153
%157 = call i32 @printf(ptr noundef @.str.2)
br label %160
158: ; preds = %153
%159 = call i32 @printf(ptr noundef @.str.3)
br label %160
160: ; preds = %158, %156
%161 = load i64, ptr %2, align 8
%162 = add nsw i64 %161, -1
store i64 %162, ptr %2, align 8
%163 = icmp ne i64 %161, 0
br i1 %163, label %16, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %160
br label %164
164: ; preds = %._crit_edge12, %0
ret i32 0
}
declare i32 @scanf(ptr noundef, ...) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="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) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
|
; ModuleID = '/tmp/tmp_9aokvuo.c'
source_filename = "/tmp/tmp_9aokvuo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @dd_vline(i8 noundef zeroext %0, i8 noundef zeroext %1, i8 noundef zeroext %2) #0 {
%4 = alloca i8, align 1
%5 = alloca i8, align 1
%6 = alloca i8, align 1
store i8 %0, ptr %4, align 1
store i8 %1, ptr %5, align 1
store i8 %2, ptr %6, align 1
%7 = load i8, ptr %4, align 1
%8 = load i8, ptr %5, align 1
%9 = load i8, ptr %4, align 1
%10 = load i8, ptr %5, align 1
%11 = zext i8 %10 to i32
%12 = load i8, ptr %6, align 1
%13 = zext i8 %12 to i32
%14 = add nsw i32 %11, %13
%15 = trunc i32 %14 to i8
%16 = call i32 @dd_drawline(i8 noundef zeroext %7, i8 noundef zeroext %8, i8 noundef zeroext %9, i8 noundef zeroext %15)
ret void
}
declare i32 @dd_drawline(i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_9aokvuo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @dd_vline(i8 noundef zeroext %0, i8 noundef zeroext %1, i8 noundef zeroext %2) #0 {
%4 = alloca i8, align 1
%5 = alloca i8, align 1
%6 = alloca i8, align 1
store i8 %0, ptr %4, align 1
store i8 %1, ptr %5, align 1
store i8 %2, ptr %6, align 1
%7 = load i8, ptr %4, align 1
%8 = load i8, ptr %5, align 1
%9 = load i8, ptr %4, align 1
%10 = load i8, ptr %5, align 1
%11 = zext i8 %10 to i32
%12 = load i8, ptr %6, align 1
%13 = zext i8 %12 to i32
%14 = add nsw i32 %11, %13
%15 = trunc i32 %14 to i8
%16 = call i32 @dd_drawline(i8 noundef zeroext %7, i8 noundef zeroext %8, i8 noundef zeroext %9, i8 noundef zeroext %15)
ret void
}
declare i32 @dd_drawline(i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnxr8l8n0.c'
source_filename = "/tmp/tmpnxr8l8n0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"Result is %d \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @scan(i8 noundef signext %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i8, align 1
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i8 %0, ptr %4, align 1
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
store i32 8, ptr %8, align 4
store i32 0, ptr %7, align 4
br label %9
9: ; preds = %54, %3
%10 = load i32, ptr %7, align 4
%11 = load i32, ptr %8, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %13, label %57
13: ; preds = %9
%14 = load i8, ptr %4, align 1
%15 = sext i8 %14 to i32
%16 = icmp eq i32 %15, 43
br i1 %16, label %17, label %25
17: ; preds = %13
%18 = load ptr, ptr %6, align 8
%19 = load i32, ptr %7, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i32, ptr %18, i64 %20
%22 = load i32, ptr %21, align 4
%23 = load i32, ptr %5, align 4
%24 = add nsw i32 %23, %22
store i32 %24, ptr %5, align 4
br label %51
25: ; preds = %13
%26 = load i8, ptr %4, align 1
%27 = sext i8 %26 to i32
%28 = icmp eq i32 %27, 45
br i1 %28, label %29, label %37
29: ; preds = %25
%30 = load ptr, ptr %6, align 8
%31 = load i32, ptr %7, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i32, ptr %30, i64 %32
%34 = load i32, ptr %33, align 4
%35 = load i32, ptr %5, align 4
%36 = sub nsw i32 %35, %34
store i32 %36, ptr %5, align 4
br label %50
37: ; preds = %25
%38 = load i8, ptr %4, align 1
%39 = sext i8 %38 to i32
%40 = icmp eq i32 %39, 42
br i1 %40, label %41, label %49
41: ; preds = %37
%42 = load ptr, ptr %6, align 8
%43 = load i32, ptr %7, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i32, ptr %42, i64 %44
%46 = load i32, ptr %45, align 4
%47 = load i32, ptr %5, align 4
%48 = mul nsw i32 %47, %46
store i32 %48, ptr %5, align 4
br label %49
49: ; preds = %41, %37
br label %50
50: ; preds = %49, %29
br label %51
51: ; preds = %50, %17
%52 = load i32, ptr %5, align 4
%53 = call i32 @printf(ptr noundef @.str, i32 noundef %52)
br label %54
54: ; preds = %51
%55 = load i32, ptr %7, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %7, align 4
br label %9, !llvm.loop !6
57: ; preds = %9
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnxr8l8n0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"Result is %d \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @scan(i8 noundef signext %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i8, align 1
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i8 %0, ptr %4, align 1
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
store i32 8, ptr %8, align 4
store i32 0, ptr %7, align 4
%9 = load i32, ptr %7, align 4
%10 = load i32, ptr %8, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %.lr.ph, label %59
.lr.ph: ; preds = %3
br label %12
12: ; preds = %.lr.ph, %53
%13 = load i8, ptr %4, align 1
%14 = sext i8 %13 to i32
%15 = icmp eq i32 %14, 43
br i1 %15, label %16, label %24
16: ; preds = %12
%17 = load ptr, ptr %6, align 8
%18 = load i32, ptr %7, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i32, ptr %17, i64 %19
%21 = load i32, ptr %20, align 4
%22 = load i32, ptr %5, align 4
%23 = add nsw i32 %22, %21
store i32 %23, ptr %5, align 4
br label %50
24: ; preds = %12
%25 = load i8, ptr %4, align 1
%26 = sext i8 %25 to i32
%27 = icmp eq i32 %26, 45
br i1 %27, label %28, label %36
28: ; preds = %24
%29 = load ptr, ptr %6, align 8
%30 = load i32, ptr %7, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i32, ptr %29, i64 %31
%33 = load i32, ptr %32, align 4
%34 = load i32, ptr %5, align 4
%35 = sub nsw i32 %34, %33
store i32 %35, ptr %5, align 4
br label %49
36: ; preds = %24
%37 = load i8, ptr %4, align 1
%38 = sext i8 %37 to i32
%39 = icmp eq i32 %38, 42
br i1 %39, label %40, label %48
40: ; preds = %36
%41 = load ptr, ptr %6, align 8
%42 = load i32, ptr %7, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i32, ptr %41, i64 %43
%45 = load i32, ptr %44, align 4
%46 = load i32, ptr %5, align 4
%47 = mul nsw i32 %46, %45
store i32 %47, ptr %5, align 4
br label %48
48: ; preds = %40, %36
br label %49
49: ; preds = %48, %28
br label %50
50: ; preds = %49, %16
%51 = load i32, ptr %5, align 4
%52 = call i32 @printf(ptr noundef @.str, i32 noundef %51)
br label %53
53: ; preds = %50
%54 = load i32, ptr %7, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %7, align 4
%56 = load i32, ptr %7, align 4
%57 = load i32, ptr %8, align 4
%58 = icmp slt i32 %56, %57
br i1 %58, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %53
br label %59
59: ; preds = %._crit_edge, %3
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp84oenahc.c'
source_filename = "/tmp/tmp84oenahc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\09\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [100 x i32], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %7, align 4
%8 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
store i32 0, ptr %4, align 4
br label %9
9: ; preds = %18, %0
%10 = load i32, ptr %4, align 4
%11 = load i32, ptr %3, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %13, label %21
13: ; preds = %9
%14 = load i32, ptr %4, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %15
%17 = call i32 @scanf(ptr noundef @.str, ptr noundef %16)
br label %18
18: ; preds = %13
%19 = load i32, ptr %4, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %4, align 4
br label %9, !llvm.loop !6
21: ; preds = %9
store i32 0, ptr %4, align 4
br label %22
22: ; preds = %78, %21
%23 = load i32, ptr %4, align 4
%24 = load i32, ptr %3, align 4
%25 = load i32, ptr %7, align 4
%26 = sub nsw i32 %24, %25
%27 = icmp slt i32 %23, %26
br i1 %27, label %28, label %81
28: ; preds = %22
%29 = load i32, ptr %4, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %5, align 4
br label %31
31: ; preds = %74, %28
%32 = load i32, ptr %5, align 4
%33 = load i32, ptr %3, align 4
%34 = load i32, ptr %7, align 4
%35 = sub nsw i32 %33, %34
%36 = icmp slt i32 %32, %35
br i1 %36, label %37, label %77
37: ; preds = %31
%38 = load i32, ptr %4, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %39
%41 = load i32, ptr %40, align 4
%42 = load i32, ptr %5, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %43
%45 = load i32, ptr %44, align 4
%46 = icmp eq i32 %41, %45
br i1 %46, label %47, label %73
47: ; preds = %37
%48 = load i32, ptr %5, align 4
store i32 %48, ptr %6, align 4
br label %49
49: ; preds = %65, %47
%50 = load i32, ptr %6, align 4
%51 = load i32, ptr %3, align 4
%52 = sub nsw i32 %51, 1
%53 = load i32, ptr %7, align 4
%54 = sub nsw i32 %52, %53
%55 = icmp slt i32 %50, %54
br i1 %55, label %56, label %68
56: ; preds = %49
%57 = load i32, ptr %6, align 4
%58 = add nsw i32 %57, 1
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %59
%61 = load i32, ptr %60, align 4
%62 = load i32, ptr %6, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %63
store i32 %61, ptr %64, align 4
br label %65
65: ; preds = %56
%66 = load i32, ptr %6, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %6, align 4
br label %49, !llvm.loop !8
68: ; preds = %49
%69 = load i32, ptr %7, align 4
%70 = add nsw i32 %69, 1
store i32 %70, ptr %7, align 4
%71 = load i32, ptr %5, align 4
%72 = add nsw i32 %71, -1
store i32 %72, ptr %5, align 4
br label %73
73: ; preds = %68, %37
br label %74
74: ; preds = %73
%75 = load i32, ptr %5, align 4
%76 = add nsw i32 %75, 1
store i32 %76, ptr %5, align 4
br label %31, !llvm.loop !9
77: ; preds = %31
br label %78
78: ; preds = %77
%79 = load i32, ptr %4, align 4
%80 = add nsw i32 %79, 1
store i32 %80, ptr %4, align 4
br label %22, !llvm.loop !10
81: ; preds = %22
%82 = load i32, ptr %7, align 4
%83 = load i32, ptr %3, align 4
%84 = sub nsw i32 %83, %82
store i32 %84, ptr %3, align 4
store i32 0, ptr %4, align 4
br label %85
85: ; preds = %95, %81
%86 = load i32, ptr %4, align 4
%87 = load i32, ptr %3, align 4
%88 = icmp slt i32 %86, %87
br i1 %88, label %89, label %98
89: ; preds = %85
%90 = load i32, ptr %4, align 4
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %91
%93 = load i32, ptr %92, align 4
%94 = call i32 @printf(ptr noundef @.str.1, i32 noundef %93)
br label %95
95: ; preds = %89
%96 = load i32, ptr %4, align 4
%97 = add nsw i32 %96, 1
store i32 %97, ptr %4, align 4
br label %85, !llvm.loop !11
98: ; preds = %85
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp84oenahc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\09\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [100 x i32], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %7, align 4
%8 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
store i32 0, ptr %4, align 4
%9 = load i32, ptr %4, align 4
%10 = load i32, ptr %3, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %.lr.ph, label %23
.lr.ph: ; preds = %0
br label %12
12: ; preds = %.lr.ph, %17
%13 = load i32, ptr %4, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %14
%16 = call i32 @scanf(ptr noundef @.str, ptr noundef %15)
br label %17
17: ; preds = %12
%18 = load i32, ptr %4, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %4, align 4
%20 = load i32, ptr %4, align 4
%21 = load i32, ptr %3, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %23
23: ; preds = %._crit_edge, %0
store i32 0, ptr %4, align 4
%24 = load i32, ptr %4, align 4
%25 = load i32, ptr %3, align 4
%26 = load i32, ptr %7, align 4
%27 = sub nsw i32 %25, %26
%28 = icmp slt i32 %24, %27
br i1 %28, label %.lr.ph8, label %96
.lr.ph8: ; preds = %23
br label %29
29: ; preds = %.lr.ph8, %88
%30 = load i32, ptr %4, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %5, align 4
%32 = load i32, ptr %5, align 4
%33 = load i32, ptr %3, align 4
%34 = load i32, ptr %7, align 4
%35 = sub nsw i32 %33, %34
%36 = icmp slt i32 %32, %35
br i1 %36, label %.lr.ph5, label %87
.lr.ph5: ; preds = %29
br label %37
37: ; preds = %.lr.ph5, %79
%38 = load i32, ptr %4, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %39
%41 = load i32, ptr %40, align 4
%42 = load i32, ptr %5, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %43
%45 = load i32, ptr %44, align 4
%46 = icmp eq i32 %41, %45
br i1 %46, label %47, label %78
47: ; preds = %37
%48 = load i32, ptr %5, align 4
store i32 %48, ptr %6, align 4
%49 = load i32, ptr %6, align 4
%50 = load i32, ptr %3, align 4
%51 = sub nsw i32 %50, 1
%52 = load i32, ptr %7, align 4
%53 = sub nsw i32 %51, %52
%54 = icmp slt i32 %49, %53
br i1 %54, label %.lr.ph2, label %73
.lr.ph2: ; preds = %47
br label %55
55: ; preds = %.lr.ph2, %64
%56 = load i32, ptr %6, align 4
%57 = add nsw i32 %56, 1
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %58
%60 = load i32, ptr %59, align 4
%61 = load i32, ptr %6, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %62
store i32 %60, ptr %63, align 4
br label %64
64: ; preds = %55
%65 = load i32, ptr %6, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %6, align 4
%67 = load i32, ptr %6, align 4
%68 = load i32, ptr %3, align 4
%69 = sub nsw i32 %68, 1
%70 = load i32, ptr %7, align 4
%71 = sub nsw i32 %69, %70
%72 = icmp slt i32 %67, %71
br i1 %72, label %55, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %64
br label %73
73: ; preds = %._crit_edge3, %47
%74 = load i32, ptr %7, align 4
%75 = add nsw i32 %74, 1
store i32 %75, ptr %7, align 4
%76 = load i32, ptr %5, align 4
%77 = add nsw i32 %76, -1
store i32 %77, ptr %5, align 4
br label %78
78: ; preds = %73, %37
br label %79
79: ; preds = %78
%80 = load i32, ptr %5, align 4
%81 = add nsw i32 %80, 1
store i32 %81, ptr %5, align 4
%82 = load i32, ptr %5, align 4
%83 = load i32, ptr %3, align 4
%84 = load i32, ptr %7, align 4
%85 = sub nsw i32 %83, %84
%86 = icmp slt i32 %82, %85
br i1 %86, label %37, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %79
br label %87
87: ; preds = %._crit_edge6, %29
br label %88
88: ; preds = %87
%89 = load i32, ptr %4, align 4
%90 = add nsw i32 %89, 1
store i32 %90, ptr %4, align 4
%91 = load i32, ptr %4, align 4
%92 = load i32, ptr %3, align 4
%93 = load i32, ptr %7, align 4
%94 = sub nsw i32 %92, %93
%95 = icmp slt i32 %91, %94
br i1 %95, label %29, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %88
br label %96
96: ; preds = %._crit_edge9, %23
%97 = load i32, ptr %7, align 4
%98 = load i32, ptr %3, align 4
%99 = sub nsw i32 %98, %97
store i32 %99, ptr %3, align 4
store i32 0, ptr %4, align 4
%100 = load i32, ptr %4, align 4
%101 = load i32, ptr %3, align 4
%102 = icmp slt i32 %100, %101
br i1 %102, label %.lr.ph11, label %115
.lr.ph11: ; preds = %96
br label %103
103: ; preds = %.lr.ph11, %109
%104 = load i32, ptr %4, align 4
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %105
%107 = load i32, ptr %106, align 4
%108 = call i32 @printf(ptr noundef @.str.1, i32 noundef %107)
br label %109
109: ; preds = %103
%110 = load i32, ptr %4, align 4
%111 = add nsw i32 %110, 1
store i32 %111, ptr %4, align 4
%112 = load i32, ptr %4, align 4
%113 = load i32, ptr %3, align 4
%114 = icmp slt i32 %112, %113
br i1 %114, label %103, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %109
br label %115
115: ; preds = %._crit_edge12, %96
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
|
; ModuleID = '/tmp/tmp0nbfsjcw.c'
source_filename = "/tmp/tmp0nbfsjcw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0nbfsjcw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpy23mj33a.c'
source_filename = "/tmp/tmpy23mj33a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @touch(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @syscall(i32 noundef 39, ptr noundef %3, i32 noundef 0)
ret i32 %4
}
declare i32 @syscall(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy23mj33a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @touch(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @syscall(i32 noundef 39, ptr noundef %3, i32 noundef 0)
ret i32 %4
}
declare i32 @syscall(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpti0im7fy.c'
source_filename = "/tmp/tmpti0im7fy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @erff(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = call float @__ocml_erf_f32(float noundef %3)
ret float %4
}
declare float @__ocml_erf_f32(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpti0im7fy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @erff(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = call float @__ocml_erf_f32(float noundef %3)
ret float %4
}
declare float @__ocml_erf_f32(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9y97vn_m.c'
source_filename = "/tmp/tmp9y97vn_m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9y97vn_m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6gjbmr63.c'
source_filename = "/tmp/tmp6gjbmr63.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"%\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @flat_format_output(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca [1024 x i8], align 16
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%10 = load ptr, ptr %6, align 8
%11 = getelementptr inbounds i8, ptr %10, i64 0
store ptr %11, ptr %7, align 8
%12 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
%13 = load ptr, ptr %5, align 8
%14 = call i32 @strncpy(ptr noundef %12, ptr noundef %13, i32 noundef 1024)
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds i8, ptr %15, i64 0
store i8 0, ptr %16, align 1
br label %17
17: ; preds = %60, %3
%18 = load ptr, ptr %7, align 8
%19 = call ptr @strstr(ptr noundef %18, ptr noundef @.str)
store ptr %19, ptr %8, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %21, label %63
21: ; preds = %17
%22 = load ptr, ptr %5, align 8
%23 = load ptr, ptr %7, align 8
%24 = load ptr, ptr %8, align 8
%25 = load ptr, ptr %7, align 8
%26 = ptrtoint ptr %24 to i64
%27 = ptrtoint ptr %25 to i64
%28 = sub i64 %26, %27
%29 = call i32 @strncat(ptr noundef %22, ptr noundef %23, i64 noundef %28)
%30 = load ptr, ptr %8, align 8
%31 = getelementptr inbounds i8, ptr %30, i64 1
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = icmp eq i32 %33, 49
br i1 %34, label %35, label %39
35: ; preds = %21
%36 = load ptr, ptr %5, align 8
%37 = load ptr, ptr %4, align 8
%38 = call i32 @strcat(ptr noundef %36, ptr noundef %37)
br label %60
39: ; preds = %21
%40 = load ptr, ptr %8, align 8
%41 = getelementptr inbounds i8, ptr %40, i64 1
%42 = load i8, ptr %41, align 1
%43 = sext i8 %42 to i32
%44 = icmp eq i32 %43, 50
br i1 %44, label %45, label %49
45: ; preds = %39
%46 = load ptr, ptr %5, align 8
%47 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
%48 = call i32 @strcat(ptr noundef %46, ptr noundef %47)
br label %59
49: ; preds = %39
%50 = load ptr, ptr %8, align 8
%51 = getelementptr inbounds i8, ptr %50, i64 1
%52 = load i8, ptr %51, align 1
%53 = sext i8 %52 to i32
%54 = icmp eq i32 %53, 37
br i1 %54, label %55, label %58
55: ; preds = %49
%56 = load ptr, ptr %5, align 8
%57 = call i32 @strcat(ptr noundef %56, ptr noundef @.str)
br label %58
58: ; preds = %55, %49
br label %59
59: ; preds = %58, %45
br label %60
60: ; preds = %59, %35
%61 = load ptr, ptr %8, align 8
%62 = getelementptr inbounds i8, ptr %61, i64 2
store ptr %62, ptr %7, align 8
br label %17, !llvm.loop !6
63: ; preds = %17
%64 = load ptr, ptr %5, align 8
%65 = load ptr, ptr %7, align 8
%66 = call i32 @strcat(ptr noundef %64, ptr noundef %65)
ret void
}
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @strncat(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6gjbmr63.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"%\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @flat_format_output(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca [1024 x i8], align 16
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%10 = load ptr, ptr %6, align 8
%11 = getelementptr inbounds i8, ptr %10, i64 0
store ptr %11, ptr %7, align 8
%12 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
%13 = load ptr, ptr %5, align 8
%14 = call i32 @strncpy(ptr noundef %12, ptr noundef %13, i32 noundef 1024)
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds i8, ptr %15, i64 0
store i8 0, ptr %16, align 1
%17 = load ptr, ptr %7, align 8
%18 = call ptr @strstr(ptr noundef %17, ptr noundef @.str)
store ptr %18, ptr %8, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %.lr.ph, label %65
.lr.ph: ; preds = %3
br label %20
20: ; preds = %.lr.ph, %59
%21 = load ptr, ptr %5, align 8
%22 = load ptr, ptr %7, align 8
%23 = load ptr, ptr %8, align 8
%24 = load ptr, ptr %7, align 8
%25 = ptrtoint ptr %23 to i64
%26 = ptrtoint ptr %24 to i64
%27 = sub i64 %25, %26
%28 = call i32 @strncat(ptr noundef %21, ptr noundef %22, i64 noundef %27)
%29 = load ptr, ptr %8, align 8
%30 = getelementptr inbounds i8, ptr %29, i64 1
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = icmp eq i32 %32, 49
br i1 %33, label %34, label %38
34: ; preds = %20
%35 = load ptr, ptr %5, align 8
%36 = load ptr, ptr %4, align 8
%37 = call i32 @strcat(ptr noundef %35, ptr noundef %36)
br label %59
38: ; preds = %20
%39 = load ptr, ptr %8, align 8
%40 = getelementptr inbounds i8, ptr %39, i64 1
%41 = load i8, ptr %40, align 1
%42 = sext i8 %41 to i32
%43 = icmp eq i32 %42, 50
br i1 %43, label %44, label %48
44: ; preds = %38
%45 = load ptr, ptr %5, align 8
%46 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
%47 = call i32 @strcat(ptr noundef %45, ptr noundef %46)
br label %58
48: ; preds = %38
%49 = load ptr, ptr %8, align 8
%50 = getelementptr inbounds i8, ptr %49, i64 1
%51 = load i8, ptr %50, align 1
%52 = sext i8 %51 to i32
%53 = icmp eq i32 %52, 37
br i1 %53, label %54, label %57
54: ; preds = %48
%55 = load ptr, ptr %5, align 8
%56 = call i32 @strcat(ptr noundef %55, ptr noundef @.str)
br label %57
57: ; preds = %54, %48
br label %58
58: ; preds = %57, %44
br label %59
59: ; preds = %58, %34
%60 = load ptr, ptr %8, align 8
%61 = getelementptr inbounds i8, ptr %60, i64 2
store ptr %61, ptr %7, align 8
%62 = load ptr, ptr %7, align 8
%63 = call ptr @strstr(ptr noundef %62, ptr noundef @.str)
store ptr %63, ptr %8, align 8
%64 = icmp ne ptr %63, null
br i1 %64, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %59
br label %65
65: ; preds = %._crit_edge, %3
%66 = load ptr, ptr %5, align 8
%67 = load ptr, ptr %7, align 8
%68 = call i32 @strcat(ptr noundef %66, ptr noundef %67)
ret void
}
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @strncat(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpcu0c18ki.c'
source_filename = "/tmp/tmpcu0c18ki.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printPattern(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = call i32 @printf(ptr noundef @.str)
store i32 1, ptr %3, align 4
br label %5
5: ; preds = %12, %1
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %2, align 4
%8 = icmp sle i32 %6, %7
br i1 %8, label %9, label %15
9: ; preds = %5
%10 = load i32, ptr %3, align 4
%11 = call i32 @printRowOfAsterisks(i32 noundef %10)
br label %12
12: ; preds = %9
%13 = load i32, ptr %3, align 4
%14 = add nsw i32 %13, 2
store i32 %14, ptr %3, align 4
br label %5, !llvm.loop !6
15: ; preds = %5
%16 = load i32, ptr %2, align 4
%17 = srem i32 %16, 2
%18 = icmp ne i32 %17, 0
br i1 %18, label %19, label %22
19: ; preds = %15
%20 = load i32, ptr %3, align 4
%21 = sub nsw i32 %20, 4
store i32 %21, ptr %3, align 4
br label %25
22: ; preds = %15
%23 = load i32, ptr %3, align 4
%24 = sub nsw i32 %23, 2
store i32 %24, ptr %3, align 4
br label %25
25: ; preds = %22, %19
br label %26
26: ; preds = %32, %25
%27 = load i32, ptr %3, align 4
%28 = icmp sgt i32 %27, 0
br i1 %28, label %29, label %35
29: ; preds = %26
%30 = load i32, ptr %3, align 4
%31 = call i32 @printRowOfAsterisks(i32 noundef %30)
br label %32
32: ; preds = %29
%33 = load i32, ptr %3, align 4
%34 = sub nsw i32 %33, 2
store i32 %34, ptr %3, align 4
br label %26, !llvm.loop !8
35: ; preds = %26
%36 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @printRowOfAsterisks(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcu0c18ki.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printPattern(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = call i32 @printf(ptr noundef @.str)
store i32 1, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp sle i32 %5, %6
br i1 %7, label %.lr.ph, label %17
.lr.ph: ; preds = %1
br label %8
8: ; preds = %.lr.ph, %11
%9 = load i32, ptr %3, align 4
%10 = call i32 @printRowOfAsterisks(i32 noundef %9)
br label %11
11: ; preds = %8
%12 = load i32, ptr %3, align 4
%13 = add nsw i32 %12, 2
store i32 %13, ptr %3, align 4
%14 = load i32, ptr %3, align 4
%15 = load i32, ptr %2, align 4
%16 = icmp sle i32 %14, %15
br i1 %16, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %11
br label %17
17: ; preds = %._crit_edge, %1
%18 = load i32, ptr %2, align 4
%19 = srem i32 %18, 2
%20 = icmp ne i32 %19, 0
br i1 %20, label %21, label %24
21: ; preds = %17
%22 = load i32, ptr %3, align 4
%23 = sub nsw i32 %22, 4
store i32 %23, ptr %3, align 4
br label %27
24: ; preds = %17
%25 = load i32, ptr %3, align 4
%26 = sub nsw i32 %25, 2
store i32 %26, ptr %3, align 4
br label %27
27: ; preds = %24, %21
%28 = load i32, ptr %3, align 4
%29 = icmp sgt i32 %28, 0
br i1 %29, label %.lr.ph2, label %38
.lr.ph2: ; preds = %27
br label %30
30: ; preds = %.lr.ph2, %33
%31 = load i32, ptr %3, align 4
%32 = call i32 @printRowOfAsterisks(i32 noundef %31)
br label %33
33: ; preds = %30
%34 = load i32, ptr %3, align 4
%35 = sub nsw i32 %34, 2
store i32 %35, ptr %3, align 4
%36 = load i32, ptr %3, align 4
%37 = icmp sgt i32 %36, 0
br i1 %37, label %30, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %33
br label %38
38: ; preds = %._crit_edge3, %27
%39 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @printRowOfAsterisks(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmplvr7axiz.c'
source_filename = "/tmp/tmplvr7axiz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Joy_Omega_Fire1(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp ne i32 %3, 0
br i1 %4, label %5, label %7
5: ; preds = %1
%6 = call i32 @cpc_key_press(i32 noundef 84)
br label %9
7: ; preds = %1
%8 = call i32 @cpc_key_unpress(i32 noundef 84)
br label %9
9: ; preds = %7, %5
ret void
}
declare i32 @cpc_key_press(i32 noundef) #1
declare i32 @cpc_key_unpress(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplvr7axiz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Joy_Omega_Fire1(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp ne i32 %3, 0
br i1 %4, label %5, label %7
5: ; preds = %1
%6 = call i32 @cpc_key_press(i32 noundef 84)
br label %9
7: ; preds = %1
%8 = call i32 @cpc_key_unpress(i32 noundef 84)
br label %9
9: ; preds = %7, %5
ret void
}
declare i32 @cpc_key_press(i32 noundef) #1
declare i32 @cpc_key_unpress(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxs_9i4h4.c'
source_filename = "/tmp/tmpxs_9i4h4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"Invalid\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @token2String(i32 noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = call ptr @tokenCategory2String(i32 noundef %5)
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i64 @strcmp(ptr noundef %7, ptr noundef @.str)
%9 = icmp ne i64 %8, 0
br i1 %9, label %10, label %12
10: ; preds = %1
%11 = load ptr, ptr %4, align 8
store ptr %11, ptr %2, align 8
br label %15
12: ; preds = %1
%13 = load i32, ptr %3, align 4
%14 = call ptr @tokenType2String(i32 noundef %13)
store ptr %14, ptr %2, align 8
br label %15
15: ; preds = %12, %10
%16 = load ptr, ptr %2, align 8
ret ptr %16
}
declare ptr @tokenCategory2String(i32 noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare ptr @tokenType2String(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxs_9i4h4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"Invalid\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @token2String(i32 noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = call ptr @tokenCategory2String(i32 noundef %5)
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i64 @strcmp(ptr noundef %7, ptr noundef @.str)
%9 = icmp ne i64 %8, 0
br i1 %9, label %10, label %12
10: ; preds = %1
%11 = load ptr, ptr %4, align 8
store ptr %11, ptr %2, align 8
br label %15
12: ; preds = %1
%13 = load i32, ptr %3, align 4
%14 = call ptr @tokenType2String(i32 noundef %13)
store ptr %14, ptr %2, align 8
br label %15
15: ; preds = %12, %10
%16 = load ptr, ptr %2, align 8
ret ptr %16
}
declare ptr @tokenCategory2String(i32 noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare ptr @tokenType2String(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpby5xzoko.c'
source_filename = "/tmp/tmpby5xzoko.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"/dev/mycdrv\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [45 x i8] c"opened file: %s, with file descriptor = %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [30 x i8] c"read %d bytes which were:\0A%s\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 32, ptr %8, align 4
store ptr @.str, ptr %10, align 8
%11 = load i32, ptr %4, align 4
%12 = icmp sgt i32 %11, 1
br i1 %12, label %13, label %17
13: ; preds = %2
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 1
%16 = load ptr, ptr %15, align 8
store ptr %16, ptr %10, align 8
br label %17
17: ; preds = %13, %2
%18 = load i32, ptr %4, align 4
%19 = icmp sgt i32 %18, 2
br i1 %19, label %20, label %25
20: ; preds = %17
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 2
%23 = load ptr, ptr %22, align 8
%24 = call i32 @atoi(ptr noundef %23)
store i32 %24, ptr %8, align 4
br label %25
25: ; preds = %20, %17
%26 = load i32, ptr %8, align 4
%27 = call ptr @malloc(i32 noundef %26)
store ptr %27, ptr %9, align 8
%28 = load ptr, ptr %10, align 8
%29 = load i32, ptr @O_RDONLY, align 4
%30 = call i32 @open(ptr noundef %28, i32 noundef %29)
store i32 %30, ptr %6, align 4
%31 = load ptr, ptr %10, align 8
%32 = load i32, ptr %6, align 4
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %31, i32 noundef %32)
%34 = load i32, ptr %6, align 4
%35 = load ptr, ptr %9, align 8
%36 = load i32, ptr %8, align 4
%37 = call i32 @read(i32 noundef %34, ptr noundef %35, i32 noundef %36)
store i32 %37, ptr %7, align 4
%38 = load i32, ptr %7, align 4
%39 = load ptr, ptr %9, align 8
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %38, ptr noundef %39)
%41 = load i32, ptr %6, align 4
%42 = call i32 @close(i32 noundef %41)
%43 = load i32, ptr @EXIT_SUCCESS, align 4
%44 = call i32 @exit(i32 noundef %43) #3
unreachable
}
declare i32 @atoi(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="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 "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpby5xzoko.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"/dev/mycdrv\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [45 x i8] c"opened file: %s, with file descriptor = %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [30 x i8] c"read %d bytes which were:\0A%s\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 32, ptr %8, align 4
store ptr @.str, ptr %10, align 8
%11 = load i32, ptr %4, align 4
%12 = icmp sgt i32 %11, 1
br i1 %12, label %13, label %17
13: ; preds = %2
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 1
%16 = load ptr, ptr %15, align 8
store ptr %16, ptr %10, align 8
br label %17
17: ; preds = %13, %2
%18 = load i32, ptr %4, align 4
%19 = icmp sgt i32 %18, 2
br i1 %19, label %20, label %25
20: ; preds = %17
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 2
%23 = load ptr, ptr %22, align 8
%24 = call i32 @atoi(ptr noundef %23)
store i32 %24, ptr %8, align 4
br label %25
25: ; preds = %20, %17
%26 = load i32, ptr %8, align 4
%27 = call ptr @malloc(i32 noundef %26)
store ptr %27, ptr %9, align 8
%28 = load ptr, ptr %10, align 8
%29 = load i32, ptr @O_RDONLY, align 4
%30 = call i32 @open(ptr noundef %28, i32 noundef %29)
store i32 %30, ptr %6, align 4
%31 = load ptr, ptr %10, align 8
%32 = load i32, ptr %6, align 4
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %31, i32 noundef %32)
%34 = load i32, ptr %6, align 4
%35 = load ptr, ptr %9, align 8
%36 = load i32, ptr %8, align 4
%37 = call i32 @read(i32 noundef %34, ptr noundef %35, i32 noundef %36)
store i32 %37, ptr %7, align 4
%38 = load i32, ptr %7, align 4
%39 = load ptr, ptr %9, align 8
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %38, ptr noundef %39)
%41 = load i32, ptr %6, align 4
%42 = call i32 @close(i32 noundef %41)
%43 = load i32, ptr @EXIT_SUCCESS, align 4
%44 = call i32 @exit(i32 noundef %43) #3
unreachable
}
declare i32 @atoi(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="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 "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_9gyb259.c'
source_filename = "/tmp/tmp_9gyb259.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.passwd = type { ptr }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @getusername(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
store ptr null, ptr %3, align 8
%5 = load i32, ptr %2, align 4
%6 = call ptr @getpwuid(i32 noundef %5)
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %13
9: ; preds = %1
%10 = load ptr, ptr %4, align 8
%11 = getelementptr inbounds %struct.passwd, ptr %10, i32 0, i32 0
%12 = load ptr, ptr %11, align 8
store ptr %12, ptr %3, align 8
br label %13
13: ; preds = %9, %1
%14 = load ptr, ptr %3, align 8
ret ptr %14
}
declare ptr @getpwuid(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_9gyb259.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.passwd = type { ptr }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @getusername(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
store ptr null, ptr %3, align 8
%5 = load i32, ptr %2, align 4
%6 = call ptr @getpwuid(i32 noundef %5)
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %13
9: ; preds = %1
%10 = load ptr, ptr %4, align 8
%11 = getelementptr inbounds %struct.passwd, ptr %10, i32 0, i32 0
%12 = load ptr, ptr %11, align 8
store ptr %12, ptr %3, align 8
br label %13
13: ; preds = %9, %1
%14 = load ptr, ptr %3, align 8
ret ptr %14
}
declare ptr @getpwuid(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0j0m8msw.c'
source_filename = "/tmp/tmp0j0m8msw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [67 x i8] c"Tell me 10 numbers, then I tell you which number is the smallest:\0A\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"Tell me de %i number: \00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%i\00", align 1
@.str.3 = private unnamed_addr constant [28 x i8] c"The smallest number is: %i\0A\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"pause\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
br label %6
6: ; preds = %26, %0
%7 = load i32, ptr %3, align 4
%8 = icmp slt i32 %7, 10
br i1 %8, label %9, label %29
9: ; preds = %6
%10 = load i32, ptr %3, align 4
%11 = add nsw i32 %10, 1
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %11)
%13 = call i32 @scanf_s(ptr noundef @.str.2, ptr noundef %4)
%14 = load i32, ptr %3, align 4
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %18
16: ; preds = %9
%17 = load i32, ptr %4, align 4
store i32 %17, ptr %2, align 4
br label %25
18: ; preds = %9
%19 = load i32, ptr %2, align 4
%20 = load i32, ptr %4, align 4
%21 = icmp sgt i32 %19, %20
br i1 %21, label %22, label %24
22: ; preds = %18
%23 = load i32, ptr %4, align 4
store i32 %23, ptr %2, align 4
br label %24
24: ; preds = %22, %18
br label %25
25: ; preds = %24, %16
br label %26
26: ; preds = %25
%27 = load i32, ptr %3, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %3, align 4
br label %6, !llvm.loop !6
29: ; preds = %6
%30 = load i32, ptr %2, align 4
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %30)
%32 = call i32 @system(ptr noundef @.str.4)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf_s(ptr noundef, ptr noundef) #1
declare i32 @system(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0j0m8msw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [67 x i8] c"Tell me 10 numbers, then I tell you which number is the smallest:\0A\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"Tell me de %i number: \00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%i\00", align 1
@.str.3 = private unnamed_addr constant [28 x i8] c"The smallest number is: %i\0A\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"pause\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 %6, 10
br i1 %7, label %.lr.ph, label %30
.lr.ph: ; preds = %0
br label %8
8: ; preds = %.lr.ph, %25
%9 = load i32, ptr %3, align 4
%10 = add nsw i32 %9, 1
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %10)
%12 = call i32 @scanf_s(ptr noundef @.str.2, ptr noundef %4)
%13 = load i32, ptr %3, align 4
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %17
15: ; preds = %8
%16 = load i32, ptr %4, align 4
store i32 %16, ptr %2, align 4
br label %24
17: ; preds = %8
%18 = load i32, ptr %2, align 4
%19 = load i32, ptr %4, align 4
%20 = icmp sgt i32 %18, %19
br i1 %20, label %21, label %23
21: ; preds = %17
%22 = load i32, ptr %4, align 4
store i32 %22, ptr %2, align 4
br label %23
23: ; preds = %21, %17
br label %24
24: ; preds = %23, %15
br label %25
25: ; preds = %24
%26 = load i32, ptr %3, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %3, align 4
%28 = load i32, ptr %3, align 4
%29 = icmp slt i32 %28, 10
br i1 %29, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %30
30: ; preds = %._crit_edge, %0
%31 = load i32, ptr %2, align 4
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %31)
%33 = call i32 @system(ptr noundef @.str.4)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf_s(ptr noundef, ptr noundef) #1
declare i32 @system(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpxzz80fkf.c'
source_filename = "/tmp/tmpxzz80fkf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxzz80fkf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpd0naywp9.c'
source_filename = "/tmp/tmpd0naywp9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @test_mm_set_epi16(i16 noundef signext %0, i16 noundef signext %1, i16 noundef signext %2, i16 noundef signext %3, i16 noundef signext %4, i16 noundef signext %5, i16 noundef signext %6, i16 noundef signext %7) #0 {
%9 = alloca i16, align 2
%10 = alloca i16, align 2
%11 = alloca i16, align 2
%12 = alloca i16, align 2
%13 = alloca i16, align 2
%14 = alloca i16, align 2
%15 = alloca i16, align 2
%16 = alloca i16, align 2
store i16 %0, ptr %9, align 2
store i16 %1, ptr %10, align 2
store i16 %2, ptr %11, align 2
store i16 %3, ptr %12, align 2
store i16 %4, ptr %13, align 2
store i16 %5, ptr %14, align 2
store i16 %6, ptr %15, align 2
store i16 %7, ptr %16, align 2
%17 = load i16, ptr %9, align 2
%18 = load i16, ptr %10, align 2
%19 = load i16, ptr %11, align 2
%20 = load i16, ptr %12, align 2
%21 = load i16, ptr %13, align 2
%22 = load i16, ptr %14, align 2
%23 = load i16, ptr %15, align 2
%24 = load i16, ptr %16, align 2
%25 = call i32 @_mm_set_epi16(i16 noundef signext %17, i16 noundef signext %18, i16 noundef signext %19, i16 noundef signext %20, i16 noundef signext %21, i16 noundef signext %22, i16 noundef signext %23, i16 noundef signext %24)
ret i32 %25
}
declare i32 @_mm_set_epi16(i16 noundef signext, i16 noundef signext, i16 noundef signext, i16 noundef signext, i16 noundef signext, i16 noundef signext, i16 noundef signext, i16 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd0naywp9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @test_mm_set_epi16(i16 noundef signext %0, i16 noundef signext %1, i16 noundef signext %2, i16 noundef signext %3, i16 noundef signext %4, i16 noundef signext %5, i16 noundef signext %6, i16 noundef signext %7) #0 {
%9 = alloca i16, align 2
%10 = alloca i16, align 2
%11 = alloca i16, align 2
%12 = alloca i16, align 2
%13 = alloca i16, align 2
%14 = alloca i16, align 2
%15 = alloca i16, align 2
%16 = alloca i16, align 2
store i16 %0, ptr %9, align 2
store i16 %1, ptr %10, align 2
store i16 %2, ptr %11, align 2
store i16 %3, ptr %12, align 2
store i16 %4, ptr %13, align 2
store i16 %5, ptr %14, align 2
store i16 %6, ptr %15, align 2
store i16 %7, ptr %16, align 2
%17 = load i16, ptr %9, align 2
%18 = load i16, ptr %10, align 2
%19 = load i16, ptr %11, align 2
%20 = load i16, ptr %12, align 2
%21 = load i16, ptr %13, align 2
%22 = load i16, ptr %14, align 2
%23 = load i16, ptr %15, align 2
%24 = load i16, ptr %16, align 2
%25 = call i32 @_mm_set_epi16(i16 noundef signext %17, i16 noundef signext %18, i16 noundef signext %19, i16 noundef signext %20, i16 noundef signext %21, i16 noundef signext %22, i16 noundef signext %23, i16 noundef signext %24)
ret i32 %25
}
declare i32 @_mm_set_epi16(i16 noundef signext, i16 noundef signext, i16 noundef signext, i16 noundef signext, i16 noundef signext, i16 noundef signext, i16 noundef signext, i16 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp36zsiety.c'
source_filename = "/tmp/tmp36zsiety.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @pprint_substr(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
br label %7
7: ; preds = %19, %3
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = icmp sle i32 %8, %9
br i1 %10, label %11, label %22
11: ; preds = %7
%12 = load ptr, ptr %4, align 8
%13 = load i32, ptr %5, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i8, ptr %12, i64 %14
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %17)
br label %19
19: ; preds = %11
%20 = load i32, ptr %5, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %5, align 4
br label %7, !llvm.loop !6
22: ; preds = %7
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp36zsiety.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @pprint_substr(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %6, align 4
%9 = icmp sle i32 %7, %8
br i1 %9, label %.lr.ph, label %24
.lr.ph: ; preds = %3
br label %10
10: ; preds = %.lr.ph, %18
%11 = load ptr, ptr %4, align 8
%12 = load i32, ptr %5, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i8, ptr %11, i64 %13
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %16)
br label %18
18: ; preds = %10
%19 = load i32, ptr %5, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %5, align 4
%21 = load i32, ptr %5, align 4
%22 = load i32, ptr %6, align 4
%23 = icmp sle i32 %21, %22
br i1 %23, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %24
24: ; preds = %._crit_edge, %3
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpln21mou9.c'
source_filename = "/tmp/tmpln21mou9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [57 x i8] c"msg 5678:class_num:%d:action:get_field_num:field_num:%d:\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"id\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ssds_field_id(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca [16 x ptr], align 16
%12 = alloca i32, align 4
%13 = alloca [132 x i8], align 16
%14 = alloca [132 x i8], align 16
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
%15 = getelementptr inbounds [16 x ptr], ptr %11, i64 0, i64 0
store ptr %15, ptr %10, align 8
%16 = getelementptr inbounds [132 x i8], ptr %14, i64 0, i64 0
%17 = load i32, ptr %6, align 4
%18 = load i32, ptr %7, align 4
%19 = call i32 @sprintf(ptr noundef %16, ptr noundef @.str, i32 noundef %17, i32 noundef %18)
%20 = load i32, ptr %5, align 4
%21 = getelementptr inbounds [132 x i8], ptr %14, i64 0, i64 0
%22 = getelementptr inbounds [132 x i8], ptr %13, i64 0, i64 0
%23 = call i32 @ssds_send(i32 noundef %20, ptr noundef %21, ptr noundef %22)
store i32 %23, ptr %9, align 4
%24 = getelementptr inbounds [132 x i8], ptr %13, i64 0, i64 0
%25 = load ptr, ptr %10, align 8
%26 = call i32 @get_argc(ptr noundef %24, ptr noundef %25, i32 noundef 16)
store i32 %26, ptr %12, align 4
%27 = load i32, ptr %12, align 4
%28 = load ptr, ptr %10, align 8
%29 = load ptr, ptr %8, align 8
%30 = call i32 @get_arg_char(i32 noundef %27, ptr noundef %28, ptr noundef @.str.1, ptr noundef %29, i32 noundef 32)
store i32 %30, ptr %9, align 4
%31 = load i32, ptr %9, align 4
ret i32 %31
}
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @ssds_send(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @get_argc(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @get_arg_char(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpln21mou9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [57 x i8] c"msg 5678:class_num:%d:action:get_field_num:field_num:%d:\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"id\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ssds_field_id(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca [16 x ptr], align 16
%12 = alloca i32, align 4
%13 = alloca [132 x i8], align 16
%14 = alloca [132 x i8], align 16
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
%15 = getelementptr inbounds [16 x ptr], ptr %11, i64 0, i64 0
store ptr %15, ptr %10, align 8
%16 = getelementptr inbounds [132 x i8], ptr %14, i64 0, i64 0
%17 = load i32, ptr %6, align 4
%18 = load i32, ptr %7, align 4
%19 = call i32 @sprintf(ptr noundef %16, ptr noundef @.str, i32 noundef %17, i32 noundef %18)
%20 = load i32, ptr %5, align 4
%21 = getelementptr inbounds [132 x i8], ptr %14, i64 0, i64 0
%22 = getelementptr inbounds [132 x i8], ptr %13, i64 0, i64 0
%23 = call i32 @ssds_send(i32 noundef %20, ptr noundef %21, ptr noundef %22)
store i32 %23, ptr %9, align 4
%24 = getelementptr inbounds [132 x i8], ptr %13, i64 0, i64 0
%25 = load ptr, ptr %10, align 8
%26 = call i32 @get_argc(ptr noundef %24, ptr noundef %25, i32 noundef 16)
store i32 %26, ptr %12, align 4
%27 = load i32, ptr %12, align 4
%28 = load ptr, ptr %10, align 8
%29 = load ptr, ptr %8, align 8
%30 = call i32 @get_arg_char(i32 noundef %27, ptr noundef %28, ptr noundef @.str.1, ptr noundef %29, i32 noundef 32)
store i32 %30, ptr %9, align 4
%31 = load i32, ptr %9, align 4
ret i32 %31
}
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @ssds_send(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @get_argc(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @get_arg_char(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpx63uat5j.c'
source_filename = "/tmp/tmpx63uat5j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [44 x i8] c"\0ADebe recibir el n\C3\BAmero de vias de peaje\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [56 x i8] c"\0AEl nro de vias de peaje no cumple con los permitidos\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @validaParametrosInput(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%8 = load i32, ptr %4, align 4
%9 = icmp ne i32 %8, 2
br i1 %9, label %10, label %13
10: ; preds = %3
%11 = call i32 @printf(ptr noundef @.str)
%12 = call i32 @exit(i32 noundef 1) #3
unreachable
13: ; preds = %3
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 1
%16 = load ptr, ptr %15, align 8
%17 = call i32 @atoi(ptr noundef %16)
store i32 %17, ptr %7, align 4
%18 = load i32, ptr %7, align 4
%19 = load ptr, ptr %6, align 8
store i32 %18, ptr %19, align 4
%20 = load i32, ptr %7, align 4
%21 = icmp slt i32 %20, 0
br i1 %21, label %22, label %25
22: ; preds = %13
%23 = call i32 @printf(ptr noundef @.str.1)
%24 = call i32 @exit(i32 noundef 1) #3
unreachable
25: ; preds = %13
ret void
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="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 "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpx63uat5j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [44 x i8] c"\0ADebe recibir el n\C3\BAmero de vias de peaje\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [56 x i8] c"\0AEl nro de vias de peaje no cumple con los permitidos\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @validaParametrosInput(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%8 = load i32, ptr %4, align 4
%9 = icmp ne i32 %8, 2
br i1 %9, label %10, label %13
10: ; preds = %3
%11 = call i32 @printf(ptr noundef @.str)
%12 = call i32 @exit(i32 noundef 1) #3
unreachable
13: ; preds = %3
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 1
%16 = load ptr, ptr %15, align 8
%17 = call i32 @atoi(ptr noundef %16)
store i32 %17, ptr %7, align 4
%18 = load i32, ptr %7, align 4
%19 = load ptr, ptr %6, align 8
store i32 %18, ptr %19, align 4
%20 = load i32, ptr %7, align 4
%21 = icmp slt i32 %20, 0
br i1 %21, label %22, label %25
22: ; preds = %13
%23 = call i32 @printf(ptr noundef @.str.1)
%24 = call i32 @exit(i32 noundef 1) #3
unreachable
25: ; preds = %13
ret void
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="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 "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpuaxzelob.c'
source_filename = "/tmp/tmpuaxzelob.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.spi_ioc_transfer = type { i64, i32 }
@.str = private unnamed_addr constant [25 x i8] c"spi write then read fail\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @spi_write(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca %struct.spi_ioc_transfer, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
%9 = getelementptr inbounds %struct.spi_ioc_transfer, ptr %8, i32 0, i32 0
%10 = load ptr, ptr %5, align 8
%11 = ptrtoint ptr %10 to i64
store i64 %11, ptr %9, align 8
%12 = getelementptr inbounds %struct.spi_ioc_transfer, ptr %8, i32 0, i32 1
%13 = load i32, ptr %6, align 4
store i32 %13, ptr %12, align 8
%14 = load i32, ptr %4, align 4
%15 = call i32 @SPI_IOC_MESSAGE(i32 noundef 1)
%16 = call i32 @ioctl(i32 noundef %14, i32 noundef %15, ptr noundef %8)
store i32 %16, ptr %7, align 4
%17 = load i32, ptr %7, align 4
%18 = icmp slt i32 %17, 0
br i1 %18, label %19, label %21
19: ; preds = %3
%20 = call i32 @perror(ptr noundef @.str)
br label %21
21: ; preds = %19, %3
%22 = load i32, ptr %7, align 4
ret i32 %22
}
declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @SPI_IOC_MESSAGE(i32 noundef) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuaxzelob.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.spi_ioc_transfer = type { i64, i32 }
@.str = private unnamed_addr constant [25 x i8] c"spi write then read fail\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @spi_write(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca %struct.spi_ioc_transfer, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
%9 = getelementptr inbounds %struct.spi_ioc_transfer, ptr %8, i32 0, i32 0
%10 = load ptr, ptr %5, align 8
%11 = ptrtoint ptr %10 to i64
store i64 %11, ptr %9, align 8
%12 = getelementptr inbounds %struct.spi_ioc_transfer, ptr %8, i32 0, i32 1
%13 = load i32, ptr %6, align 4
store i32 %13, ptr %12, align 8
%14 = load i32, ptr %4, align 4
%15 = call i32 @SPI_IOC_MESSAGE(i32 noundef 1)
%16 = call i32 @ioctl(i32 noundef %14, i32 noundef %15, ptr noundef %8)
store i32 %16, ptr %7, align 4
%17 = load i32, ptr %7, align 4
%18 = icmp slt i32 %17, 0
br i1 %18, label %19, label %21
19: ; preds = %3
%20 = call i32 @perror(ptr noundef @.str)
br label %21
21: ; preds = %19, %3
%22 = load i32, ptr %7, align 4
ret i32 %22
}
declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @SPI_IOC_MESSAGE(i32 noundef) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0qn8x_nu.c'
source_filename = "/tmp/tmp0qn8x_nu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"CV_SUCCESS\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"CV_TSTOP_RETURN\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"CV_ROOT_RETURN\00", align 1
@.str.3 = private unnamed_addr constant [17 x i8] c"CV_TOO_MUCH_WORK\00", align 1
@.str.4 = private unnamed_addr constant [16 x i8] c"CV_TOO_MUCH_ACC\00", align 1
@.str.5 = private unnamed_addr constant [15 x i8] c"CV_ERR_FAILURE\00", align 1
@.str.6 = private unnamed_addr constant [16 x i8] c"CV_CONV_FAILURE\00", align 1
@.str.7 = private unnamed_addr constant [14 x i8] c"CV_LINIT_FAIL\00", align 1
@.str.8 = private unnamed_addr constant [15 x i8] c"CV_LSETUP_FAIL\00", align 1
@.str.9 = private unnamed_addr constant [15 x i8] c"CV_LSOLVE_FAIL\00", align 1
@.str.10 = private unnamed_addr constant [16 x i8] c"CV_RHSFUNC_FAIL\00", align 1
@.str.11 = private unnamed_addr constant [21 x i8] c"CV_FIRST_RHSFUNC_ERR\00", align 1
@.str.12 = private unnamed_addr constant [21 x i8] c"CV_REPTD_RHSFUNC_ERR\00", align 1
@.str.13 = private unnamed_addr constant [21 x i8] c"CV_UNREC_RHSFUNC_ERR\00", align 1
@.str.14 = private unnamed_addr constant [15 x i8] c"CV_RTFUNC_FAIL\00", align 1
@.str.15 = private unnamed_addr constant [12 x i8] c"CV_MEM_FAIL\00", align 1
@.str.16 = private unnamed_addr constant [12 x i8] c"CV_MEM_NULL\00", align 1
@.str.17 = private unnamed_addr constant [13 x i8] c"CV_ILL_INPUT\00", align 1
@.str.18 = private unnamed_addr constant [13 x i8] c"CV_NO_MALLOC\00", align 1
@.str.19 = private unnamed_addr constant [9 x i8] c"CV_BAD_K\00", align 1
@.str.20 = private unnamed_addr constant [9 x i8] c"CV_BAD_T\00", align 1
@.str.21 = private unnamed_addr constant [11 x i8] c"CV_BAD_DKY\00", align 1
@.str.22 = private unnamed_addr constant [13 x i8] c"CV_TOO_CLOSE\00", align 1
@.str.23 = private unnamed_addr constant [5 x i8] c"NONE\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @CVodeGetReturnFlagName(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%4 = call i64 @malloc(i32 noundef 24)
%5 = inttoptr i64 %4 to ptr
store ptr %5, ptr %3, align 8
%6 = load i32, ptr %2, align 4
switch i32 %6, label %76 [
i32 0, label %7
i32 1, label %10
i32 2, label %13
i32 -1, label %16
i32 -2, label %19
i32 -3, label %22
i32 -4, label %25
i32 -5, label %28
i32 -6, label %31
i32 -7, label %34
i32 -8, label %37
i32 -9, label %40
i32 -10, label %43
i32 -11, label %46
i32 -12, label %49
i32 -20, label %52
i32 -21, label %55
i32 -22, label %58
i32 -23, label %61
i32 -24, label %64
i32 -25, label %67
i32 -26, label %70
i32 -27, label %73
]
7: ; preds = %1
%8 = load ptr, ptr %3, align 8
%9 = call i32 @sprintf(ptr noundef %8, ptr noundef @.str)
br label %79
10: ; preds = %1
%11 = load ptr, ptr %3, align 8
%12 = call i32 @sprintf(ptr noundef %11, ptr noundef @.str.1)
br label %79
13: ; preds = %1
%14 = load ptr, ptr %3, align 8
%15 = call i32 @sprintf(ptr noundef %14, ptr noundef @.str.2)
br label %79
16: ; preds = %1
%17 = load ptr, ptr %3, align 8
%18 = call i32 @sprintf(ptr noundef %17, ptr noundef @.str.3)
br label %79
19: ; preds = %1
%20 = load ptr, ptr %3, align 8
%21 = call i32 @sprintf(ptr noundef %20, ptr noundef @.str.4)
br label %79
22: ; preds = %1
%23 = load ptr, ptr %3, align 8
%24 = call i32 @sprintf(ptr noundef %23, ptr noundef @.str.5)
br label %79
25: ; preds = %1
%26 = load ptr, ptr %3, align 8
%27 = call i32 @sprintf(ptr noundef %26, ptr noundef @.str.6)
br label %79
28: ; preds = %1
%29 = load ptr, ptr %3, align 8
%30 = call i32 @sprintf(ptr noundef %29, ptr noundef @.str.7)
br label %79
31: ; preds = %1
%32 = load ptr, ptr %3, align 8
%33 = call i32 @sprintf(ptr noundef %32, ptr noundef @.str.8)
br label %79
34: ; preds = %1
%35 = load ptr, ptr %3, align 8
%36 = call i32 @sprintf(ptr noundef %35, ptr noundef @.str.9)
br label %79
37: ; preds = %1
%38 = load ptr, ptr %3, align 8
%39 = call i32 @sprintf(ptr noundef %38, ptr noundef @.str.10)
br label %79
40: ; preds = %1
%41 = load ptr, ptr %3, align 8
%42 = call i32 @sprintf(ptr noundef %41, ptr noundef @.str.11)
br label %79
43: ; preds = %1
%44 = load ptr, ptr %3, align 8
%45 = call i32 @sprintf(ptr noundef %44, ptr noundef @.str.12)
br label %79
46: ; preds = %1
%47 = load ptr, ptr %3, align 8
%48 = call i32 @sprintf(ptr noundef %47, ptr noundef @.str.13)
br label %79
49: ; preds = %1
%50 = load ptr, ptr %3, align 8
%51 = call i32 @sprintf(ptr noundef %50, ptr noundef @.str.14)
br label %79
52: ; preds = %1
%53 = load ptr, ptr %3, align 8
%54 = call i32 @sprintf(ptr noundef %53, ptr noundef @.str.15)
br label %79
55: ; preds = %1
%56 = load ptr, ptr %3, align 8
%57 = call i32 @sprintf(ptr noundef %56, ptr noundef @.str.16)
br label %79
58: ; preds = %1
%59 = load ptr, ptr %3, align 8
%60 = call i32 @sprintf(ptr noundef %59, ptr noundef @.str.17)
br label %79
61: ; preds = %1
%62 = load ptr, ptr %3, align 8
%63 = call i32 @sprintf(ptr noundef %62, ptr noundef @.str.18)
br label %79
64: ; preds = %1
%65 = load ptr, ptr %3, align 8
%66 = call i32 @sprintf(ptr noundef %65, ptr noundef @.str.19)
br label %79
67: ; preds = %1
%68 = load ptr, ptr %3, align 8
%69 = call i32 @sprintf(ptr noundef %68, ptr noundef @.str.20)
br label %79
70: ; preds = %1
%71 = load ptr, ptr %3, align 8
%72 = call i32 @sprintf(ptr noundef %71, ptr noundef @.str.21)
br label %79
73: ; preds = %1
%74 = load ptr, ptr %3, align 8
%75 = call i32 @sprintf(ptr noundef %74, ptr noundef @.str.22)
br label %79
76: ; preds = %1
%77 = load ptr, ptr %3, align 8
%78 = call i32 @sprintf(ptr noundef %77, ptr noundef @.str.23)
br label %79
79: ; preds = %76, %73, %70, %67, %64, %61, %58, %55, %52, %49, %46, %43, %40, %37, %34, %31, %28, %25, %22, %19, %16, %13, %10, %7
%80 = load ptr, ptr %3, align 8
ret ptr %80
}
declare i64 @malloc(i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0qn8x_nu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"CV_SUCCESS\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"CV_TSTOP_RETURN\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"CV_ROOT_RETURN\00", align 1
@.str.3 = private unnamed_addr constant [17 x i8] c"CV_TOO_MUCH_WORK\00", align 1
@.str.4 = private unnamed_addr constant [16 x i8] c"CV_TOO_MUCH_ACC\00", align 1
@.str.5 = private unnamed_addr constant [15 x i8] c"CV_ERR_FAILURE\00", align 1
@.str.6 = private unnamed_addr constant [16 x i8] c"CV_CONV_FAILURE\00", align 1
@.str.7 = private unnamed_addr constant [14 x i8] c"CV_LINIT_FAIL\00", align 1
@.str.8 = private unnamed_addr constant [15 x i8] c"CV_LSETUP_FAIL\00", align 1
@.str.9 = private unnamed_addr constant [15 x i8] c"CV_LSOLVE_FAIL\00", align 1
@.str.10 = private unnamed_addr constant [16 x i8] c"CV_RHSFUNC_FAIL\00", align 1
@.str.11 = private unnamed_addr constant [21 x i8] c"CV_FIRST_RHSFUNC_ERR\00", align 1
@.str.12 = private unnamed_addr constant [21 x i8] c"CV_REPTD_RHSFUNC_ERR\00", align 1
@.str.13 = private unnamed_addr constant [21 x i8] c"CV_UNREC_RHSFUNC_ERR\00", align 1
@.str.14 = private unnamed_addr constant [15 x i8] c"CV_RTFUNC_FAIL\00", align 1
@.str.15 = private unnamed_addr constant [12 x i8] c"CV_MEM_FAIL\00", align 1
@.str.16 = private unnamed_addr constant [12 x i8] c"CV_MEM_NULL\00", align 1
@.str.17 = private unnamed_addr constant [13 x i8] c"CV_ILL_INPUT\00", align 1
@.str.18 = private unnamed_addr constant [13 x i8] c"CV_NO_MALLOC\00", align 1
@.str.19 = private unnamed_addr constant [9 x i8] c"CV_BAD_K\00", align 1
@.str.20 = private unnamed_addr constant [9 x i8] c"CV_BAD_T\00", align 1
@.str.21 = private unnamed_addr constant [11 x i8] c"CV_BAD_DKY\00", align 1
@.str.22 = private unnamed_addr constant [13 x i8] c"CV_TOO_CLOSE\00", align 1
@.str.23 = private unnamed_addr constant [5 x i8] c"NONE\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @CVodeGetReturnFlagName(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%4 = call i64 @malloc(i32 noundef 24)
%5 = inttoptr i64 %4 to ptr
store ptr %5, ptr %3, align 8
%6 = load i32, ptr %2, align 4
switch i32 %6, label %76 [
i32 0, label %7
i32 1, label %10
i32 2, label %13
i32 -1, label %16
i32 -2, label %19
i32 -3, label %22
i32 -4, label %25
i32 -5, label %28
i32 -6, label %31
i32 -7, label %34
i32 -8, label %37
i32 -9, label %40
i32 -10, label %43
i32 -11, label %46
i32 -12, label %49
i32 -20, label %52
i32 -21, label %55
i32 -22, label %58
i32 -23, label %61
i32 -24, label %64
i32 -25, label %67
i32 -26, label %70
i32 -27, label %73
]
7: ; preds = %1
%8 = load ptr, ptr %3, align 8
%9 = call i32 @sprintf(ptr noundef %8, ptr noundef @.str)
br label %79
10: ; preds = %1
%11 = load ptr, ptr %3, align 8
%12 = call i32 @sprintf(ptr noundef %11, ptr noundef @.str.1)
br label %79
13: ; preds = %1
%14 = load ptr, ptr %3, align 8
%15 = call i32 @sprintf(ptr noundef %14, ptr noundef @.str.2)
br label %79
16: ; preds = %1
%17 = load ptr, ptr %3, align 8
%18 = call i32 @sprintf(ptr noundef %17, ptr noundef @.str.3)
br label %79
19: ; preds = %1
%20 = load ptr, ptr %3, align 8
%21 = call i32 @sprintf(ptr noundef %20, ptr noundef @.str.4)
br label %79
22: ; preds = %1
%23 = load ptr, ptr %3, align 8
%24 = call i32 @sprintf(ptr noundef %23, ptr noundef @.str.5)
br label %79
25: ; preds = %1
%26 = load ptr, ptr %3, align 8
%27 = call i32 @sprintf(ptr noundef %26, ptr noundef @.str.6)
br label %79
28: ; preds = %1
%29 = load ptr, ptr %3, align 8
%30 = call i32 @sprintf(ptr noundef %29, ptr noundef @.str.7)
br label %79
31: ; preds = %1
%32 = load ptr, ptr %3, align 8
%33 = call i32 @sprintf(ptr noundef %32, ptr noundef @.str.8)
br label %79
34: ; preds = %1
%35 = load ptr, ptr %3, align 8
%36 = call i32 @sprintf(ptr noundef %35, ptr noundef @.str.9)
br label %79
37: ; preds = %1
%38 = load ptr, ptr %3, align 8
%39 = call i32 @sprintf(ptr noundef %38, ptr noundef @.str.10)
br label %79
40: ; preds = %1
%41 = load ptr, ptr %3, align 8
%42 = call i32 @sprintf(ptr noundef %41, ptr noundef @.str.11)
br label %79
43: ; preds = %1
%44 = load ptr, ptr %3, align 8
%45 = call i32 @sprintf(ptr noundef %44, ptr noundef @.str.12)
br label %79
46: ; preds = %1
%47 = load ptr, ptr %3, align 8
%48 = call i32 @sprintf(ptr noundef %47, ptr noundef @.str.13)
br label %79
49: ; preds = %1
%50 = load ptr, ptr %3, align 8
%51 = call i32 @sprintf(ptr noundef %50, ptr noundef @.str.14)
br label %79
52: ; preds = %1
%53 = load ptr, ptr %3, align 8
%54 = call i32 @sprintf(ptr noundef %53, ptr noundef @.str.15)
br label %79
55: ; preds = %1
%56 = load ptr, ptr %3, align 8
%57 = call i32 @sprintf(ptr noundef %56, ptr noundef @.str.16)
br label %79
58: ; preds = %1
%59 = load ptr, ptr %3, align 8
%60 = call i32 @sprintf(ptr noundef %59, ptr noundef @.str.17)
br label %79
61: ; preds = %1
%62 = load ptr, ptr %3, align 8
%63 = call i32 @sprintf(ptr noundef %62, ptr noundef @.str.18)
br label %79
64: ; preds = %1
%65 = load ptr, ptr %3, align 8
%66 = call i32 @sprintf(ptr noundef %65, ptr noundef @.str.19)
br label %79
67: ; preds = %1
%68 = load ptr, ptr %3, align 8
%69 = call i32 @sprintf(ptr noundef %68, ptr noundef @.str.20)
br label %79
70: ; preds = %1
%71 = load ptr, ptr %3, align 8
%72 = call i32 @sprintf(ptr noundef %71, ptr noundef @.str.21)
br label %79
73: ; preds = %1
%74 = load ptr, ptr %3, align 8
%75 = call i32 @sprintf(ptr noundef %74, ptr noundef @.str.22)
br label %79
76: ; preds = %1
%77 = load ptr, ptr %3, align 8
%78 = call i32 @sprintf(ptr noundef %77, ptr noundef @.str.23)
br label %79
79: ; preds = %76, %73, %70, %67, %64, %61, %58, %55, %52, %49, %46, %43, %40, %37, %34, %31, %28, %25, %22, %19, %16, %13, %10, %7
%80 = load ptr, ptr %3, align 8
ret ptr %80
}
declare i64 @malloc(i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvjzmuye0.c'
source_filename = "/tmp/tmpvjzmuye0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ADCIntRegister(i64 noundef %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
store i64 %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%8 = load i64, ptr %4, align 8
%9 = icmp eq i64 %8, 1073971200
br i1 %9, label %10, label %13
10: ; preds = %3
%11 = load i64, ptr %5, align 8
%12 = add i64 30, %11
br label %16
13: ; preds = %3
%14 = load i64, ptr %5, align 8
%15 = add i64 64, %14
br label %16
16: ; preds = %13, %10
%17 = phi i64 [ %12, %10 ], [ %15, %13 ]
store i64 %17, ptr %7, align 8
%18 = load i64, ptr %7, align 8
%19 = load ptr, ptr %6, align 8
%20 = call i32 @IntRegister(i64 noundef %18, ptr noundef %19)
%21 = load i64, ptr %7, align 8
%22 = call i32 @IntEnable(i64 noundef %21)
ret void
}
declare i32 @IntRegister(i64 noundef, ptr noundef) #1
declare i32 @IntEnable(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvjzmuye0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ADCIntRegister(i64 noundef %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
store i64 %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%8 = load i64, ptr %4, align 8
%9 = icmp eq i64 %8, 1073971200
br i1 %9, label %10, label %13
10: ; preds = %3
%11 = load i64, ptr %5, align 8
%12 = add i64 30, %11
br label %16
13: ; preds = %3
%14 = load i64, ptr %5, align 8
%15 = add i64 64, %14
br label %16
16: ; preds = %13, %10
%17 = phi i64 [ %12, %10 ], [ %15, %13 ]
store i64 %17, ptr %7, align 8
%18 = load i64, ptr %7, align 8
%19 = load ptr, ptr %6, align 8
%20 = call i32 @IntRegister(i64 noundef %18, ptr noundef %19)
%21 = load i64, ptr %7, align 8
%22 = call i32 @IntEnable(i64 noundef %21)
ret void
}
declare i32 @IntRegister(i64 noundef, ptr noundef) #1
declare i32 @IntEnable(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxiaen6dz.c'
source_filename = "/tmp/tmpxiaen6dz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @load(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call ptr @fopen(ptr noundef %4, ptr noundef @.str)
store ptr %5, ptr %3, align 8
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxiaen6dz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @load(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call ptr @fopen(ptr noundef %4, ptr noundef @.str)
store ptr %5, ptr %3, align 8
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3nr8hi69.c'
source_filename = "/tmp/tmp3nr8hi69.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3nr8hi69.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_jfg0i0f.c'
source_filename = "/tmp/tmp_jfg0i0f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @u_strlcpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load i64, ptr %6, align 8
%10 = call i32 @strncpy(ptr noundef %7, ptr noundef %8, i64 noundef %9)
%11 = load ptr, ptr %4, align 8
%12 = load i64, ptr %6, align 8
%13 = sub i64 %12, 1
%14 = getelementptr inbounds i8, ptr %11, i64 %13
store i8 0, ptr %14, align 1
%15 = load ptr, ptr %4, align 8
ret ptr %15
}
declare i32 @strncpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_jfg0i0f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @u_strlcpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load i64, ptr %6, align 8
%10 = call i32 @strncpy(ptr noundef %7, ptr noundef %8, i64 noundef %9)
%11 = load ptr, ptr %4, align 8
%12 = load i64, ptr %6, align 8
%13 = sub i64 %12, 1
%14 = getelementptr inbounds i8, ptr %11, i64 %13
store i8 0, ptr %14, align 1
%15 = load ptr, ptr %4, align 8
ret ptr %15
}
declare i32 @strncpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppq3v4dh3.c'
source_filename = "/tmp/tmppq3v4dh3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [35 x i8] c"http://rss.cnn.com/rss/edition.rss\00", align 1
@.str.1 = private unnamed_addr constant [37 x i8] c"http://www.rollingstone.com/news.rss\00", align 1
@.str.2 = private unnamed_addr constant [44 x i8] c"http://feeds.eonline.com/eonline/topstories\00", align 1
@__const.main.feeds = private unnamed_addr constant [3 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2], align 16
@.str.3 = private unnamed_addr constant [12 x i8] c"RSS_FEED=%s\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [24 x i8] c"Can't fork process: %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [16 x i8] c"/usr/bin/python\00", align 1
@.str.6 = private unnamed_addr constant [15 x i8] c"./rssgossip.py\00", align 1
@.str.7 = private unnamed_addr constant [22 x i8] c"Can't run script: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [3 x ptr], align 16
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca [255 x i8], align 16
%11 = alloca [2 x ptr], align 16
%12 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.feeds, i64 24, i1 false)
store i32 3, ptr %7, align 4
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 1
%15 = load ptr, ptr %14, align 8
store ptr %15, ptr %8, align 8
store i32 0, ptr %9, align 4
br label %16
16: ; preds = %53, %2
%17 = load i32, ptr %9, align 4
%18 = load i32, ptr %7, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %20, label %56
20: ; preds = %16
%21 = getelementptr inbounds [255 x i8], ptr %10, i64 0, i64 0
%22 = load i32, ptr %9, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [3 x ptr], ptr %6, i64 0, i64 %23
%25 = load ptr, ptr %24, align 8
%26 = call i32 @sprintf(ptr noundef %21, ptr noundef @.str.3, ptr noundef %25)
%27 = getelementptr inbounds [2 x ptr], ptr %11, i64 0, i64 0
%28 = getelementptr inbounds [255 x i8], ptr %10, i64 0, i64 0
store ptr %28, ptr %27, align 8
%29 = getelementptr inbounds ptr, ptr %27, i64 1
store ptr null, ptr %29, align 8
%30 = call i32 (...) @fork()
store i32 %30, ptr %12, align 4
%31 = load i32, ptr %12, align 4
%32 = icmp eq i32 %31, -1
br i1 %32, label %33, label %38
33: ; preds = %20
%34 = load i32, ptr @stderr, align 4
%35 = load i32, ptr @errno, align 4
%36 = call ptr @strerror(i32 noundef %35)
%37 = call i32 @fprintf(i32 noundef %34, ptr noundef @.str.4, ptr noundef %36)
store i32 1, ptr %3, align 4
br label %57
38: ; preds = %20
%39 = load i32, ptr %12, align 4
%40 = icmp ne i32 %39, 0
br i1 %40, label %52, label %41
41: ; preds = %38
%42 = load ptr, ptr %8, align 8
%43 = getelementptr inbounds [2 x ptr], ptr %11, i64 0, i64 0
%44 = call i32 @execle(ptr noundef @.str.5, ptr noundef @.str.5, ptr noundef @.str.6, ptr noundef %42, ptr noundef null, ptr noundef %43)
%45 = icmp eq i32 %44, -1
br i1 %45, label %46, label %51
46: ; preds = %41
%47 = load i32, ptr @stderr, align 4
%48 = load i32, ptr @errno, align 4
%49 = call ptr @strerror(i32 noundef %48)
%50 = call i32 @fprintf(i32 noundef %47, ptr noundef @.str.7, ptr noundef %49)
store i32 1, ptr %3, align 4
br label %57
51: ; preds = %41
br label %52
52: ; preds = %51, %38
br label %53
53: ; preds = %52
%54 = load i32, ptr %9, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %9, align 4
br label %16, !llvm.loop !6
56: ; preds = %16
store i32 0, ptr %3, align 4
br label %57
57: ; preds = %56, %46, %33
%58 = load i32, ptr %3, align 4
ret i32 %58
}
; 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) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @fork(...) #2
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #2
declare ptr @strerror(i32 noundef) #2
declare i32 @execle(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppq3v4dh3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [35 x i8] c"http://rss.cnn.com/rss/edition.rss\00", align 1
@.str.1 = private unnamed_addr constant [37 x i8] c"http://www.rollingstone.com/news.rss\00", align 1
@.str.2 = private unnamed_addr constant [44 x i8] c"http://feeds.eonline.com/eonline/topstories\00", align 1
@__const.main.feeds = private unnamed_addr constant [3 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2], align 16
@.str.3 = private unnamed_addr constant [12 x i8] c"RSS_FEED=%s\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [24 x i8] c"Can't fork process: %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [16 x i8] c"/usr/bin/python\00", align 1
@.str.6 = private unnamed_addr constant [15 x i8] c"./rssgossip.py\00", align 1
@.str.7 = private unnamed_addr constant [22 x i8] c"Can't run script: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [3 x ptr], align 16
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca [255 x i8], align 16
%11 = alloca [2 x ptr], align 16
%12 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.feeds, i64 24, i1 false)
store i32 3, ptr %7, align 4
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 1
%15 = load ptr, ptr %14, align 8
store ptr %15, ptr %8, align 8
store i32 0, ptr %9, align 4
%16 = load i32, ptr %9, align 4
%17 = load i32, ptr %7, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %.lr.ph, label %58
.lr.ph: ; preds = %2
br label %19
19: ; preds = %.lr.ph, %52
%20 = getelementptr inbounds [255 x i8], ptr %10, i64 0, i64 0
%21 = load i32, ptr %9, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [3 x ptr], ptr %6, i64 0, i64 %22
%24 = load ptr, ptr %23, align 8
%25 = call i32 @sprintf(ptr noundef %20, ptr noundef @.str.3, ptr noundef %24)
%26 = getelementptr inbounds [2 x ptr], ptr %11, i64 0, i64 0
%27 = getelementptr inbounds [255 x i8], ptr %10, i64 0, i64 0
store ptr %27, ptr %26, align 8
%28 = getelementptr inbounds ptr, ptr %26, i64 1
store ptr null, ptr %28, align 8
%29 = call i32 (...) @fork()
store i32 %29, ptr %12, align 4
%30 = load i32, ptr %12, align 4
%31 = icmp eq i32 %30, -1
br i1 %31, label %32, label %37
32: ; preds = %19
%33 = load i32, ptr @stderr, align 4
%34 = load i32, ptr @errno, align 4
%35 = call ptr @strerror(i32 noundef %34)
%36 = call i32 @fprintf(i32 noundef %33, ptr noundef @.str.4, ptr noundef %35)
store i32 1, ptr %3, align 4
br label %59
37: ; preds = %19
%38 = load i32, ptr %12, align 4
%39 = icmp ne i32 %38, 0
br i1 %39, label %51, label %40
40: ; preds = %37
%41 = load ptr, ptr %8, align 8
%42 = getelementptr inbounds [2 x ptr], ptr %11, i64 0, i64 0
%43 = call i32 @execle(ptr noundef @.str.5, ptr noundef @.str.5, ptr noundef @.str.6, ptr noundef %41, ptr noundef null, ptr noundef %42)
%44 = icmp eq i32 %43, -1
br i1 %44, label %45, label %50
45: ; preds = %40
%46 = load i32, ptr @stderr, align 4
%47 = load i32, ptr @errno, align 4
%48 = call ptr @strerror(i32 noundef %47)
%49 = call i32 @fprintf(i32 noundef %46, ptr noundef @.str.7, ptr noundef %48)
store i32 1, ptr %3, align 4
br label %59
50: ; preds = %40
br label %51
51: ; preds = %50, %37
br label %52
52: ; preds = %51
%53 = load i32, ptr %9, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %9, align 4
%55 = load i32, ptr %9, align 4
%56 = load i32, ptr %7, align 4
%57 = icmp slt i32 %55, %56
br i1 %57, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %52
br label %58
58: ; preds = %._crit_edge, %2
store i32 0, ptr %3, align 4
br label %59
59: ; preds = %58, %45, %32
%60 = load i32, ptr %3, align 4
ret i32 %60
}
; 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) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @fork(...) #2
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #2
declare ptr @strerror(i32 noundef) #2
declare i32 @execle(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp68gh2qw0.c'
source_filename = "/tmp/tmp68gh2qw0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"-sut\00", align 1
@.str.1 = private unnamed_addr constant [46 x i8] c"Error : SUT hostname not provided with option\00", align 1
@.str.2 = private unnamed_addr constant [62 x i8] c"Error : SUT hostname exceeded maximum length limit value <%d>\00", align 1
@.str.3 = private unnamed_addr constant [29 x i8] c"Error : Invalid SUT hostname\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @htxcmd_get_sut_hostname(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca [256 x i8], align 16
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store i32 1, ptr %7, align 4
br label %9
9: ; preds = %67, %3
%10 = load i32, ptr %7, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %13, label %70
13: ; preds = %9
%14 = load ptr, ptr %5, align 8
%15 = load i32, ptr %7, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds ptr, ptr %14, i64 %16
%18 = load ptr, ptr %17, align 8
%19 = call i32 @strlen(ptr noundef @.str)
%20 = call i64 @strncmp(ptr noundef @.str, ptr noundef %18, i32 noundef %19)
%21 = icmp eq i64 %20, 0
br i1 %21, label %22, label %66
22: ; preds = %13
%23 = load i32, ptr %7, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %7, align 4
%25 = load i32, ptr %7, align 4
%26 = load i32, ptr %4, align 4
%27 = icmp sge i32 %25, %26
br i1 %27, label %28, label %31
28: ; preds = %22
%29 = call i32 @htxcmd_display_usage(ptr noundef @.str.1)
%30 = call i32 @exit(i32 noundef 1) #3
unreachable
31: ; preds = %22
%32 = load ptr, ptr %5, align 8
%33 = load i32, ptr %7, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds ptr, ptr %32, i64 %34
%36 = load ptr, ptr %35, align 8
%37 = call i32 @strlen(ptr noundef %36)
%38 = icmp sgt i32 %37, 256
br i1 %38, label %39, label %45
39: ; preds = %31
%40 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0
%41 = call i32 @sprintf(ptr noundef %40, ptr noundef @.str.2, i32 noundef 256)
%42 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0
%43 = call i32 @htxcmd_display_usage(ptr noundef %42)
%44 = call i32 @exit(i32 noundef 1) #3
unreachable
45: ; preds = %31
%46 = load ptr, ptr %5, align 8
%47 = load i32, ptr %7, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds ptr, ptr %46, i64 %48
%50 = load ptr, ptr %49, align 8
%51 = getelementptr inbounds i8, ptr %50, i64 0
%52 = load i8, ptr %51, align 1
%53 = sext i8 %52 to i32
%54 = icmp ne i32 %53, 45
br i1 %54, label %55, label %63
55: ; preds = %45
%56 = load ptr, ptr %6, align 8
%57 = load ptr, ptr %5, align 8
%58 = load i32, ptr %7, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds ptr, ptr %57, i64 %59
%61 = load ptr, ptr %60, align 8
%62 = call i32 @strcpy(ptr noundef %56, ptr noundef %61)
br label %70
63: ; preds = %45
%64 = call i32 @htxcmd_display_usage(ptr noundef @.str.3)
%65 = call i32 @exit(i32 noundef 1) #3
unreachable
66: ; preds = %13
br label %67
67: ; preds = %66
%68 = load i32, ptr %7, align 4
%69 = add nsw i32 %68, 1
store i32 %69, ptr %7, align 4
br label %9, !llvm.loop !6
70: ; preds = %55, %9
%71 = load ptr, ptr %6, align 8
ret ptr %71
}
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @htxcmd_display_usage(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="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 "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp68gh2qw0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"-sut\00", align 1
@.str.1 = private unnamed_addr constant [46 x i8] c"Error : SUT hostname not provided with option\00", align 1
@.str.2 = private unnamed_addr constant [62 x i8] c"Error : SUT hostname exceeded maximum length limit value <%d>\00", align 1
@.str.3 = private unnamed_addr constant [29 x i8] c"Error : Invalid SUT hostname\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @htxcmd_get_sut_hostname(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca [256 x i8], align 16
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store i32 1, ptr %7, align 4
%9 = load i32, ptr %7, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %3
br label %12
12: ; preds = %.lr.ph, %66
%13 = load ptr, ptr %5, align 8
%14 = load i32, ptr %7, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds ptr, ptr %13, i64 %15
%17 = load ptr, ptr %16, align 8
%18 = call i32 @strlen(ptr noundef @.str)
%19 = call i64 @strncmp(ptr noundef @.str, ptr noundef %17, i32 noundef %18)
%20 = icmp eq i64 %19, 0
br i1 %20, label %21, label %65
21: ; preds = %12
%22 = load i32, ptr %7, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %7, align 4
%24 = load i32, ptr %7, align 4
%25 = load i32, ptr %4, align 4
%26 = icmp sge i32 %24, %25
br i1 %26, label %27, label %30
27: ; preds = %21
%28 = call i32 @htxcmd_display_usage(ptr noundef @.str.1)
%29 = call i32 @exit(i32 noundef 1) #3
unreachable
30: ; preds = %21
%31 = load ptr, ptr %5, align 8
%32 = load i32, ptr %7, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds ptr, ptr %31, i64 %33
%35 = load ptr, ptr %34, align 8
%36 = call i32 @strlen(ptr noundef %35)
%37 = icmp sgt i32 %36, 256
br i1 %37, label %38, label %44
38: ; preds = %30
%39 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0
%40 = call i32 @sprintf(ptr noundef %39, ptr noundef @.str.2, i32 noundef 256)
%41 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0
%42 = call i32 @htxcmd_display_usage(ptr noundef %41)
%43 = call i32 @exit(i32 noundef 1) #3
unreachable
44: ; preds = %30
%45 = load ptr, ptr %5, align 8
%46 = load i32, ptr %7, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds ptr, ptr %45, i64 %47
%49 = load ptr, ptr %48, align 8
%50 = getelementptr inbounds i8, ptr %49, i64 0
%51 = load i8, ptr %50, align 1
%52 = sext i8 %51 to i32
%53 = icmp ne i32 %52, 45
br i1 %53, label %54, label %62
54: ; preds = %44
%55 = load ptr, ptr %6, align 8
%56 = load ptr, ptr %5, align 8
%57 = load i32, ptr %7, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds ptr, ptr %56, i64 %58
%60 = load ptr, ptr %59, align 8
%61 = call i32 @strcpy(ptr noundef %55, ptr noundef %60)
br label %72
62: ; preds = %44
%63 = call i32 @htxcmd_display_usage(ptr noundef @.str.3)
%64 = call i32 @exit(i32 noundef 1) #3
unreachable
65: ; preds = %12
br label %66
66: ; preds = %65
%67 = load i32, ptr %7, align 4
%68 = add nsw i32 %67, 1
store i32 %68, ptr %7, align 4
%69 = load i32, ptr %7, align 4
%70 = load i32, ptr %4, align 4
%71 = icmp slt i32 %69, %70
br i1 %71, label %12, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %66
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %3
br label %72
72: ; preds = %.loopexit, %54
%73 = load ptr, ptr %6, align 8
ret ptr %73
}
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @htxcmd_display_usage(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="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 "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp0rpiolow.c'
source_filename = "/tmp/tmp0rpiolow.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIG_SETMASK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @reset_sigmask() #0 {
%1 = alloca i32, align 4
%2 = call i32 @sigemptyset(ptr noundef %1)
%3 = load i32, ptr @SIG_SETMASK, align 4
%4 = call i32 @sigprocmask(i32 noundef %3, ptr noundef %1, ptr noundef null)
ret void
}
declare i32 @sigemptyset(ptr noundef) #1
declare i32 @sigprocmask(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0rpiolow.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIG_SETMASK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @reset_sigmask() #0 {
%1 = alloca i32, align 4
%2 = call i32 @sigemptyset(ptr noundef %1)
%3 = load i32, ptr @SIG_SETMASK, align 4
%4 = call i32 @sigprocmask(i32 noundef %3, ptr noundef %1, ptr noundef null)
ret void
}
declare i32 @sigemptyset(ptr noundef) #1
declare i32 @sigprocmask(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpc0jto2x4.c'
source_filename = "/tmp/tmpc0jto2x4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_fdimf(float noundef %0, float noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca float, align 4
store float %0, ptr %3, align 4
store float %1, ptr %4, align 4
%5 = load float, ptr %3, align 4
%6 = load float, ptr %4, align 4
%7 = call i64 @fdimf(float noundef %5, float noundef %6)
%8 = load float, ptr %3, align 4
%9 = load float, ptr %4, align 4
%10 = call i64 @fdimf(float noundef %8, float noundef %9)
%11 = icmp ne i64 %7, %10
br i1 %11, label %12, label %14
12: ; preds = %2
%13 = call i32 (...) @link_failure_fdimf()
br label %14
14: ; preds = %12, %2
ret void
}
declare i64 @fdimf(float noundef, float noundef) #1
declare i32 @link_failure_fdimf(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc0jto2x4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_fdimf(float noundef %0, float noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca float, align 4
store float %0, ptr %3, align 4
store float %1, ptr %4, align 4
%5 = load float, ptr %3, align 4
%6 = load float, ptr %4, align 4
%7 = call i64 @fdimf(float noundef %5, float noundef %6)
%8 = load float, ptr %3, align 4
%9 = load float, ptr %4, align 4
%10 = call i64 @fdimf(float noundef %8, float noundef %9)
%11 = icmp ne i64 %7, %10
br i1 %11, label %12, label %14
12: ; preds = %2
%13 = call i32 (...) @link_failure_fdimf()
br label %14
14: ; preds = %12, %2
ret void
}
declare i64 @fdimf(float noundef, float noundef) #1
declare i32 @link_failure_fdimf(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp07h4rleb.c'
source_filename = "/tmp/tmp07h4rleb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp07h4rleb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgr0gn3i2.c'
source_filename = "/tmp/tmpgr0gn3i2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @__strAppendSub(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store i64 %3, ptr %8, align 8
%9 = load ptr, ptr %5, align 8
%10 = icmp ne ptr %9, null
%11 = zext i1 %10 to i32
%12 = call i32 @assert(i32 noundef %11)
%13 = load ptr, ptr %5, align 8
%14 = load ptr, ptr %13, align 8
%15 = icmp ne ptr %14, null
%16 = zext i1 %15 to i32
%17 = call i32 @assert(i32 noundef %16)
%18 = load ptr, ptr %6, align 8
%19 = icmp ne ptr %18, null
%20 = zext i1 %19 to i32
%21 = call i32 @assert(i32 noundef %20)
%22 = load i64, ptr %7, align 8
%23 = icmp uge i64 %22, 0
br i1 %23, label %24, label %29
24: ; preds = %4
%25 = load i64, ptr %7, align 8
%26 = load ptr, ptr %6, align 8
%27 = call i64 @strlen(ptr noundef %26)
%28 = icmp ule i64 %25, %27
br label %29
29: ; preds = %24, %4
%30 = phi i1 [ false, %4 ], [ %28, %24 ]
%31 = zext i1 %30 to i32
%32 = call i32 @assert(i32 noundef %31)
%33 = load i64, ptr %8, align 8
%34 = icmp uge i64 %33, 0
br i1 %34, label %35, label %42
35: ; preds = %29
%36 = load i64, ptr %8, align 8
%37 = load ptr, ptr %6, align 8
%38 = call i64 @strlen(ptr noundef %37)
%39 = load i64, ptr %7, align 8
%40 = sub i64 %38, %39
%41 = icmp ule i64 %36, %40
br label %42
42: ; preds = %35, %29
%43 = phi i1 [ false, %29 ], [ %41, %35 ]
%44 = zext i1 %43 to i32
%45 = call i32 @assert(i32 noundef %44)
%46 = load ptr, ptr %5, align 8
%47 = load ptr, ptr %46, align 8
%48 = load ptr, ptr %5, align 8
%49 = load ptr, ptr %48, align 8
%50 = call i64 @strlen(ptr noundef %49)
%51 = load i64, ptr %8, align 8
%52 = add i64 %50, %51
%53 = add i64 %52, 1
%54 = call i64 @realloc(ptr noundef %47, i64 noundef %53)
%55 = inttoptr i64 %54 to ptr
%56 = load ptr, ptr %5, align 8
store ptr %55, ptr %56, align 8
%57 = load ptr, ptr %5, align 8
%58 = load ptr, ptr %57, align 8
%59 = load ptr, ptr %6, align 8
%60 = load i64, ptr %7, align 8
%61 = getelementptr inbounds i8, ptr %59, i64 %60
%62 = load i64, ptr %8, align 8
%63 = call i32 @strncat(ptr noundef %58, ptr noundef %61, i64 noundef %62)
ret void
}
declare i32 @assert(i32 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i64 @realloc(ptr noundef, i64 noundef) #1
declare i32 @strncat(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgr0gn3i2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @__strAppendSub(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store i64 %3, ptr %8, align 8
%9 = load ptr, ptr %5, align 8
%10 = icmp ne ptr %9, null
%11 = zext i1 %10 to i32
%12 = call i32 @assert(i32 noundef %11)
%13 = load ptr, ptr %5, align 8
%14 = load ptr, ptr %13, align 8
%15 = icmp ne ptr %14, null
%16 = zext i1 %15 to i32
%17 = call i32 @assert(i32 noundef %16)
%18 = load ptr, ptr %6, align 8
%19 = icmp ne ptr %18, null
%20 = zext i1 %19 to i32
%21 = call i32 @assert(i32 noundef %20)
%22 = load i64, ptr %7, align 8
%23 = icmp uge i64 %22, 0
br i1 %23, label %24, label %29
24: ; preds = %4
%25 = load i64, ptr %7, align 8
%26 = load ptr, ptr %6, align 8
%27 = call i64 @strlen(ptr noundef %26)
%28 = icmp ule i64 %25, %27
br label %29
29: ; preds = %24, %4
%30 = phi i1 [ false, %4 ], [ %28, %24 ]
%31 = zext i1 %30 to i32
%32 = call i32 @assert(i32 noundef %31)
%33 = load i64, ptr %8, align 8
%34 = icmp uge i64 %33, 0
br i1 %34, label %35, label %42
35: ; preds = %29
%36 = load i64, ptr %8, align 8
%37 = load ptr, ptr %6, align 8
%38 = call i64 @strlen(ptr noundef %37)
%39 = load i64, ptr %7, align 8
%40 = sub i64 %38, %39
%41 = icmp ule i64 %36, %40
br label %42
42: ; preds = %35, %29
%43 = phi i1 [ false, %29 ], [ %41, %35 ]
%44 = zext i1 %43 to i32
%45 = call i32 @assert(i32 noundef %44)
%46 = load ptr, ptr %5, align 8
%47 = load ptr, ptr %46, align 8
%48 = load ptr, ptr %5, align 8
%49 = load ptr, ptr %48, align 8
%50 = call i64 @strlen(ptr noundef %49)
%51 = load i64, ptr %8, align 8
%52 = add i64 %50, %51
%53 = add i64 %52, 1
%54 = call i64 @realloc(ptr noundef %47, i64 noundef %53)
%55 = inttoptr i64 %54 to ptr
%56 = load ptr, ptr %5, align 8
store ptr %55, ptr %56, align 8
%57 = load ptr, ptr %5, align 8
%58 = load ptr, ptr %57, align 8
%59 = load ptr, ptr %6, align 8
%60 = load i64, ptr %7, align 8
%61 = getelementptr inbounds i8, ptr %59, i64 %60
%62 = load i64, ptr %8, align 8
%63 = call i32 @strncat(ptr noundef %58, ptr noundef %61, i64 noundef %62)
ret void
}
declare i32 @assert(i32 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i64 @realloc(ptr noundef, i64 noundef) #1
declare i32 @strncat(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6dvwlqp1.c'
source_filename = "/tmp/tmp6dvwlqp1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6dvwlqp1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpi_o6c4o1.c'
source_filename = "/tmp/tmpi_o6c4o1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [36 x i8] c"Cannot read number from ASCII table\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"Column field = %s.\00", align 1
@USHRT_MAX = dso_local global i16 0, align 2
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fffstru2(ptr noundef %0, i64 noundef %1, double noundef %2, double noundef %3, i64 noundef %4, double noundef %5, i32 noundef %6, ptr noundef %7, i16 noundef zeroext %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12) #0 {
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca i64, align 8
%17 = alloca double, align 8
%18 = alloca double, align 8
%19 = alloca i64, align 8
%20 = alloca double, align 8
%21 = alloca i32, align 4
%22 = alloca ptr, align 8
%23 = alloca i16, align 2
%24 = alloca ptr, align 8
%25 = alloca ptr, align 8
%26 = alloca ptr, align 8
%27 = alloca ptr, align 8
%28 = alloca i32, align 4
%29 = alloca i64, align 8
%30 = alloca double, align 8
%31 = alloca ptr, align 8
%32 = alloca [81 x i8], align 16
%33 = alloca ptr, align 8
%34 = alloca ptr, align 8
%35 = alloca i8, align 1
%36 = alloca i8, align 1
%37 = alloca double, align 8
%38 = alloca double, align 8
%39 = alloca i32, align 4
%40 = alloca i32, align 4
%41 = alloca i32, align 4
%42 = alloca i32, align 4
store ptr %0, ptr %15, align 8
store i64 %1, ptr %16, align 8
store double %2, ptr %17, align 8
store double %3, ptr %18, align 8
store i64 %4, ptr %19, align 8
store double %5, ptr %20, align 8
store i32 %6, ptr %21, align 4
store ptr %7, ptr %22, align 8
store i16 %8, ptr %23, align 2
store ptr %9, ptr %24, align 8
store ptr %10, ptr %25, align 8
store ptr %11, ptr %26, align 8
store ptr %12, ptr %27, align 8
store i8 48, ptr %36, align 1
%43 = load ptr, ptr %22, align 8
%44 = call i32 @strlen(ptr noundef %43)
store i32 %44, ptr %28, align 4
%45 = load ptr, ptr %15, align 8
store ptr %45, ptr %33, align 8
store i64 0, ptr %29, align 8
br label %46
46: ; preds = %368, %13
%47 = load i64, ptr %29, align 8
%48 = load i64, ptr %16, align 8
%49 = icmp slt i64 %47, %48
br i1 %49, label %50, label %371
50: ; preds = %46
%51 = load ptr, ptr %33, align 8
store ptr %51, ptr %31, align 8
%52 = load ptr, ptr %33, align 8
%53 = load i64, ptr %19, align 8
%54 = getelementptr inbounds i8, ptr %52, i64 %53
store ptr %54, ptr %34, align 8
%55 = load ptr, ptr %34, align 8
%56 = load i8, ptr %55, align 1
store i8 %56, ptr %35, align 1
%57 = load ptr, ptr %34, align 8
store i8 0, ptr %57, align 1
%58 = load ptr, ptr %22, align 8
%59 = getelementptr inbounds i8, ptr %58, i64 0
%60 = load i8, ptr %59, align 1
%61 = sext i8 %60 to i32
%62 = icmp ne i32 %61, 1
br i1 %62, label %63, label %90
63: ; preds = %50
%64 = load ptr, ptr %22, align 8
%65 = load ptr, ptr %33, align 8
%66 = load i32, ptr %28, align 4
%67 = call i32 @strncmp(ptr noundef %64, ptr noundef %65, i32 noundef %66)
%68 = icmp ne i32 %67, 0
br i1 %68, label %90, label %69
69: ; preds = %63
%70 = load i32, ptr %21, align 4
%71 = icmp ne i32 %70, 0
br i1 %71, label %72, label %86
72: ; preds = %69
%73 = load ptr, ptr %25, align 8
store i32 1, ptr %73, align 4
%74 = load i32, ptr %21, align 4
%75 = icmp eq i32 %74, 1
br i1 %75, label %76, label %81
76: ; preds = %72
%77 = load i16, ptr %23, align 2
%78 = load ptr, ptr %26, align 8
%79 = load i64, ptr %29, align 8
%80 = getelementptr inbounds i16, ptr %78, i64 %79
store i16 %77, ptr %80, align 2
br label %85
81: ; preds = %72
%82 = load ptr, ptr %24, align 8
%83 = load i64, ptr %29, align 8
%84 = getelementptr inbounds i8, ptr %82, i64 %83
store i8 1, ptr %84, align 1
br label %85
85: ; preds = %81, %76
br label %86
86: ; preds = %85, %69
%87 = load i64, ptr %19, align 8
%88 = load ptr, ptr %33, align 8
%89 = getelementptr inbounds i8, ptr %88, i64 %87
store ptr %89, ptr %33, align 8
br label %365
90: ; preds = %63, %50
store i32 0, ptr %42, align 4
store i32 1, ptr %40, align 4
store double 0.000000e+00, ptr %37, align 8
store double 1.000000e+00, ptr %38, align 8
store i32 0, ptr %39, align 4
store i32 1, ptr %41, align 4
br label %91
91: ; preds = %96, %90
%92 = load ptr, ptr %33, align 8
%93 = load i8, ptr %92, align 1
%94 = sext i8 %93 to i32
%95 = icmp eq i32 %94, 32
br i1 %95, label %96, label %99
96: ; preds = %91
%97 = load ptr, ptr %33, align 8
%98 = getelementptr inbounds i8, ptr %97, i32 1
store ptr %98, ptr %33, align 8
br label %91, !llvm.loop !6
99: ; preds = %91
%100 = load ptr, ptr %33, align 8
%101 = load i8, ptr %100, align 1
%102 = sext i8 %101 to i32
%103 = icmp eq i32 %102, 45
br i1 %103, label %109, label %104
104: ; preds = %99
%105 = load ptr, ptr %33, align 8
%106 = load i8, ptr %105, align 1
%107 = sext i8 %106 to i32
%108 = icmp eq i32 %107, 43
br i1 %108, label %109, label %127
109: ; preds = %104, %99
%110 = load ptr, ptr %33, align 8
%111 = load i8, ptr %110, align 1
%112 = sext i8 %111 to i32
%113 = icmp eq i32 %112, 45
br i1 %113, label %114, label %115
114: ; preds = %109
store i32 -1, ptr %40, align 4
br label %115
115: ; preds = %114, %109
%116 = load ptr, ptr %33, align 8
%117 = getelementptr inbounds i8, ptr %116, i32 1
store ptr %117, ptr %33, align 8
br label %118
118: ; preds = %123, %115
%119 = load ptr, ptr %33, align 8
%120 = load i8, ptr %119, align 1
%121 = sext i8 %120 to i32
%122 = icmp eq i32 %121, 32
br i1 %122, label %123, label %126
123: ; preds = %118
%124 = load ptr, ptr %33, align 8
%125 = getelementptr inbounds i8, ptr %124, i32 1
store ptr %125, ptr %33, align 8
br label %118, !llvm.loop !8
126: ; preds = %118
br label %127
127: ; preds = %126, %104
br label %128
128: ; preds = %161, %127
%129 = load ptr, ptr %33, align 8
%130 = load i8, ptr %129, align 1
%131 = sext i8 %130 to i32
%132 = icmp sge i32 %131, 48
br i1 %132, label %133, label %138
133: ; preds = %128
%134 = load ptr, ptr %33, align 8
%135 = load i8, ptr %134, align 1
%136 = sext i8 %135 to i32
%137 = icmp sle i32 %136, 57
br label %138
138: ; preds = %133, %128
%139 = phi i1 [ false, %128 ], [ %137, %133 ]
br i1 %139, label %140, label %162
140: ; preds = %138
%141 = load double, ptr %37, align 8
%142 = load ptr, ptr %33, align 8
%143 = load i8, ptr %142, align 1
%144 = sext i8 %143 to i32
%145 = sitofp i32 %144 to double
%146 = call double @llvm.fmuladd.f64(double %141, double 1.000000e+01, double %145)
%147 = load i8, ptr %36, align 1
%148 = sext i8 %147 to i32
%149 = sitofp i32 %148 to double
%150 = fsub double %146, %149
store double %150, ptr %37, align 8
%151 = load ptr, ptr %33, align 8
%152 = getelementptr inbounds i8, ptr %151, i32 1
store ptr %152, ptr %33, align 8
br label %153
153: ; preds = %158, %140
%154 = load ptr, ptr %33, align 8
%155 = load i8, ptr %154, align 1
%156 = sext i8 %155 to i32
%157 = icmp eq i32 %156, 32
br i1 %157, label %158, label %161
158: ; preds = %153
%159 = load ptr, ptr %33, align 8
%160 = getelementptr inbounds i8, ptr %159, i32 1
store ptr %160, ptr %33, align 8
br label %153, !llvm.loop !9
161: ; preds = %153
br label %128, !llvm.loop !10
162: ; preds = %138
%163 = load ptr, ptr %33, align 8
%164 = load i8, ptr %163, align 1
%165 = sext i8 %164 to i32
%166 = icmp eq i32 %165, 46
br i1 %166, label %167, label %216
167: ; preds = %162
store i32 1, ptr %42, align 4
%168 = load ptr, ptr %33, align 8
%169 = getelementptr inbounds i8, ptr %168, i32 1
store ptr %169, ptr %33, align 8
br label %170
170: ; preds = %175, %167
%171 = load ptr, ptr %33, align 8
%172 = load i8, ptr %171, align 1
%173 = sext i8 %172 to i32
%174 = icmp eq i32 %173, 32
br i1 %174, label %175, label %178
175: ; preds = %170
%176 = load ptr, ptr %33, align 8
%177 = getelementptr inbounds i8, ptr %176, i32 1
store ptr %177, ptr %33, align 8
br label %170, !llvm.loop !11
178: ; preds = %170
br label %179
179: ; preds = %214, %178
%180 = load ptr, ptr %33, align 8
%181 = load i8, ptr %180, align 1
%182 = sext i8 %181 to i32
%183 = icmp sge i32 %182, 48
br i1 %183, label %184, label %189
184: ; preds = %179
%185 = load ptr, ptr %33, align 8
%186 = load i8, ptr %185, align 1
%187 = sext i8 %186 to i32
%188 = icmp sle i32 %187, 57
br label %189
189: ; preds = %184, %179
%190 = phi i1 [ false, %179 ], [ %188, %184 ]
br i1 %190, label %191, label %215
191: ; preds = %189
%192 = load double, ptr %37, align 8
%193 = load ptr, ptr %33, align 8
%194 = load i8, ptr %193, align 1
%195 = sext i8 %194 to i32
%196 = sitofp i32 %195 to double
%197 = call double @llvm.fmuladd.f64(double %192, double 1.000000e+01, double %196)
%198 = load i8, ptr %36, align 1
%199 = sext i8 %198 to i32
%200 = sitofp i32 %199 to double
%201 = fsub double %197, %200
store double %201, ptr %37, align 8
%202 = load double, ptr %38, align 8
%203 = fmul double %202, 1.000000e+01
store double %203, ptr %38, align 8
%204 = load ptr, ptr %33, align 8
%205 = getelementptr inbounds i8, ptr %204, i32 1
store ptr %205, ptr %33, align 8
br label %206
206: ; preds = %211, %191
%207 = load ptr, ptr %33, align 8
%208 = load i8, ptr %207, align 1
%209 = sext i8 %208 to i32
%210 = icmp eq i32 %209, 32
br i1 %210, label %211, label %214
211: ; preds = %206
%212 = load ptr, ptr %33, align 8
%213 = getelementptr inbounds i8, ptr %212, i32 1
store ptr %213, ptr %33, align 8
br label %206, !llvm.loop !12
214: ; preds = %206
br label %179, !llvm.loop !13
215: ; preds = %189
br label %216
216: ; preds = %215, %162
%217 = load ptr, ptr %33, align 8
%218 = load i8, ptr %217, align 1
%219 = sext i8 %218 to i32
%220 = icmp eq i32 %219, 69
br i1 %220, label %226, label %221
221: ; preds = %216
%222 = load ptr, ptr %33, align 8
%223 = load i8, ptr %222, align 1
%224 = sext i8 %223 to i32
%225 = icmp eq i32 %224, 68
br i1 %225, label %226, label %300
226: ; preds = %221, %216
%227 = load ptr, ptr %33, align 8
%228 = getelementptr inbounds i8, ptr %227, i32 1
store ptr %228, ptr %33, align 8
br label %229
229: ; preds = %234, %226
%230 = load ptr, ptr %33, align 8
%231 = load i8, ptr %230, align 1
%232 = sext i8 %231 to i32
%233 = icmp eq i32 %232, 32
br i1 %233, label %234, label %237
234: ; preds = %229
%235 = load ptr, ptr %33, align 8
%236 = getelementptr inbounds i8, ptr %235, i32 1
store ptr %236, ptr %33, align 8
br label %229, !llvm.loop !14
237: ; preds = %229
%238 = load ptr, ptr %33, align 8
%239 = load i8, ptr %238, align 1
%240 = sext i8 %239 to i32
%241 = icmp eq i32 %240, 45
br i1 %241, label %247, label %242
242: ; preds = %237
%243 = load ptr, ptr %33, align 8
%244 = load i8, ptr %243, align 1
%245 = sext i8 %244 to i32
%246 = icmp eq i32 %245, 43
br i1 %246, label %247, label %265
247: ; preds = %242, %237
%248 = load ptr, ptr %33, align 8
%249 = load i8, ptr %248, align 1
%250 = sext i8 %249 to i32
%251 = icmp eq i32 %250, 45
br i1 %251, label %252, label %253
252: ; preds = %247
store i32 -1, ptr %41, align 4
br label %253
253: ; preds = %252, %247
%254 = load ptr, ptr %33, align 8
%255 = getelementptr inbounds i8, ptr %254, i32 1
store ptr %255, ptr %33, align 8
br label %256
256: ; preds = %261, %253
%257 = load ptr, ptr %33, align 8
%258 = load i8, ptr %257, align 1
%259 = sext i8 %258 to i32
%260 = icmp eq i32 %259, 32
br i1 %260, label %261, label %264
261: ; preds = %256
%262 = load ptr, ptr %33, align 8
%263 = getelementptr inbounds i8, ptr %262, i32 1
store ptr %263, ptr %33, align 8
br label %256, !llvm.loop !15
264: ; preds = %256
br label %265
265: ; preds = %264, %242
br label %266
266: ; preds = %298, %265
%267 = load ptr, ptr %33, align 8
%268 = load i8, ptr %267, align 1
%269 = sext i8 %268 to i32
%270 = icmp sge i32 %269, 48
br i1 %270, label %271, label %276
271: ; preds = %266
%272 = load ptr, ptr %33, align 8
%273 = load i8, ptr %272, align 1
%274 = sext i8 %273 to i32
%275 = icmp sle i32 %274, 57
br label %276
276: ; preds = %271, %266
%277 = phi i1 [ false, %266 ], [ %275, %271 ]
br i1 %277, label %278, label %299
278: ; preds = %276
%279 = load i32, ptr %39, align 4
%280 = mul nsw i32 %279, 10
%281 = load ptr, ptr %33, align 8
%282 = load i8, ptr %281, align 1
%283 = sext i8 %282 to i32
%284 = add nsw i32 %280, %283
%285 = load i8, ptr %36, align 1
%286 = sext i8 %285 to i32
%287 = sub nsw i32 %284, %286
store i32 %287, ptr %39, align 4
%288 = load ptr, ptr %33, align 8
%289 = getelementptr inbounds i8, ptr %288, i32 1
store ptr %289, ptr %33, align 8
br label %290
290: ; preds = %295, %278
%291 = load ptr, ptr %33, align 8
%292 = load i8, ptr %291, align 1
%293 = sext i8 %292 to i32
%294 = icmp eq i32 %293, 32
br i1 %294, label %295, label %298
295: ; preds = %290
%296 = load ptr, ptr %33, align 8
%297 = getelementptr inbounds i8, ptr %296, i32 1
store ptr %297, ptr %33, align 8
br label %290, !llvm.loop !16
298: ; preds = %290
br label %266, !llvm.loop !17
299: ; preds = %276
br label %300
300: ; preds = %299, %221
%301 = load ptr, ptr %33, align 8
%302 = load i8, ptr %301, align 1
%303 = sext i8 %302 to i32
%304 = icmp ne i32 %303, 0
br i1 %304, label %305, label %318
305: ; preds = %300
%306 = getelementptr inbounds [81 x i8], ptr %32, i64 0, i64 0
%307 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %306, ptr noundef @.str)
%308 = getelementptr inbounds [81 x i8], ptr %32, i64 0, i64 0
%309 = call i32 @ffpmsg(ptr noundef %308)
%310 = getelementptr inbounds [81 x i8], ptr %32, i64 0, i64 0
%311 = load ptr, ptr %31, align 8
%312 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %310, ptr noundef @.str.1, ptr noundef %311)
%313 = getelementptr inbounds [81 x i8], ptr %32, i64 0, i64 0
%314 = call i32 @ffpmsg(ptr noundef %313)
%315 = load i8, ptr %35, align 1
%316 = load ptr, ptr %34, align 8
store i8 %315, ptr %316, align 1
%317 = load ptr, ptr %27, align 8
store i32 409, ptr %317, align 4
store i32 409, ptr %14, align 4
br label %374
318: ; preds = %300
%319 = load i32, ptr %42, align 4
%320 = icmp ne i32 %319, 0
br i1 %320, label %323, label %321
321: ; preds = %318
%322 = load double, ptr %20, align 8
store double %322, ptr %38, align 8
br label %323
323: ; preds = %321, %318
%324 = load i32, ptr %40, align 4
%325 = sitofp i32 %324 to double
%326 = load double, ptr %37, align 8
%327 = fmul double %325, %326
%328 = load double, ptr %38, align 8
%329 = fdiv double %327, %328
%330 = load i32, ptr %41, align 4
%331 = load i32, ptr %39, align 4
%332 = mul nsw i32 %330, %331
%333 = sitofp i32 %332 to double
%334 = call i32 @pow(i32 noundef 10, double noundef %333)
%335 = sitofp i32 %334 to double
%336 = fmul double %329, %335
store double %336, ptr %30, align 8
%337 = load double, ptr %30, align 8
%338 = load double, ptr %17, align 8
%339 = load double, ptr %18, align 8
%340 = call double @llvm.fmuladd.f64(double %337, double %338, double %339)
store double %340, ptr %30, align 8
%341 = load double, ptr %30, align 8
%342 = fcmp olt double %341, -4.900000e-01
br i1 %342, label %343, label %348
343: ; preds = %323
%344 = load ptr, ptr %27, align 8
store i32 -11, ptr %344, align 4
%345 = load ptr, ptr %26, align 8
%346 = load i64, ptr %29, align 8
%347 = getelementptr inbounds i16, ptr %345, i64 %346
store i16 0, ptr %347, align 2
br label %364
348: ; preds = %323
%349 = load double, ptr %30, align 8
%350 = fcmp ogt double %349, 0x40EFFFEFAE147AE1
br i1 %350, label %351, label %357
351: ; preds = %348
%352 = load ptr, ptr %27, align 8
store i32 -11, ptr %352, align 4
%353 = load i16, ptr @USHRT_MAX, align 2
%354 = load ptr, ptr %26, align 8
%355 = load i64, ptr %29, align 8
%356 = getelementptr inbounds i16, ptr %354, i64 %355
store i16 %353, ptr %356, align 2
br label %363
357: ; preds = %348
%358 = load double, ptr %30, align 8
%359 = fptoui double %358 to i16
%360 = load ptr, ptr %26, align 8
%361 = load i64, ptr %29, align 8
%362 = getelementptr inbounds i16, ptr %360, i64 %361
store i16 %359, ptr %362, align 2
br label %363
363: ; preds = %357, %351
br label %364
364: ; preds = %363, %343
br label %365
365: ; preds = %364, %86
%366 = load i8, ptr %35, align 1
%367 = load ptr, ptr %34, align 8
store i8 %366, ptr %367, align 1
br label %368
368: ; preds = %365
%369 = load i64, ptr %29, align 8
%370 = add nsw i64 %369, 1
store i64 %370, ptr %29, align 8
br label %46, !llvm.loop !18
371: ; preds = %46
%372 = load ptr, ptr %27, align 8
%373 = load i32, ptr %372, align 4
store i32 %373, ptr %14, align 4
br label %374
374: ; preds = %371, %305
%375 = load i32, ptr %14, align 4
ret i32 %375
}
declare i32 @strlen(ptr noundef) #1
declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare i32 @sprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @ffpmsg(ptr noundef) #1
declare i32 @pow(i32 noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="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) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
!17 = distinct !{!17, !7}
!18 = distinct !{!18, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpi_o6c4o1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [36 x i8] c"Cannot read number from ASCII table\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"Column field = %s.\00", align 1
@USHRT_MAX = dso_local global i16 0, align 2
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fffstru2(ptr noundef %0, i64 noundef %1, double noundef %2, double noundef %3, i64 noundef %4, double noundef %5, i32 noundef %6, ptr noundef %7, i16 noundef zeroext %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12) #0 {
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca i64, align 8
%17 = alloca double, align 8
%18 = alloca double, align 8
%19 = alloca i64, align 8
%20 = alloca double, align 8
%21 = alloca i32, align 4
%22 = alloca ptr, align 8
%23 = alloca i16, align 2
%24 = alloca ptr, align 8
%25 = alloca ptr, align 8
%26 = alloca ptr, align 8
%27 = alloca ptr, align 8
%28 = alloca i32, align 4
%29 = alloca i64, align 8
%30 = alloca double, align 8
%31 = alloca ptr, align 8
%32 = alloca [81 x i8], align 16
%33 = alloca ptr, align 8
%34 = alloca ptr, align 8
%35 = alloca i8, align 1
%36 = alloca i8, align 1
%37 = alloca double, align 8
%38 = alloca double, align 8
%39 = alloca i32, align 4
%40 = alloca i32, align 4
%41 = alloca i32, align 4
%42 = alloca i32, align 4
store ptr %0, ptr %15, align 8
store i64 %1, ptr %16, align 8
store double %2, ptr %17, align 8
store double %3, ptr %18, align 8
store i64 %4, ptr %19, align 8
store double %5, ptr %20, align 8
store i32 %6, ptr %21, align 4
store ptr %7, ptr %22, align 8
store i16 %8, ptr %23, align 2
store ptr %9, ptr %24, align 8
store ptr %10, ptr %25, align 8
store ptr %11, ptr %26, align 8
store ptr %12, ptr %27, align 8
store i8 48, ptr %36, align 1
%43 = load ptr, ptr %22, align 8
%44 = call i32 @strlen(ptr noundef %43)
store i32 %44, ptr %28, align 4
%45 = load ptr, ptr %15, align 8
store ptr %45, ptr %33, align 8
store i64 0, ptr %29, align 8
%46 = load i64, ptr %29, align 8
%47 = load i64, ptr %16, align 8
%48 = icmp slt i64 %46, %47
br i1 %48, label %.lr.ph23, label %397
.lr.ph23: ; preds = %13
br label %49
49: ; preds = %.lr.ph23, %391
%50 = load ptr, ptr %33, align 8
store ptr %50, ptr %31, align 8
%51 = load ptr, ptr %33, align 8
%52 = load i64, ptr %19, align 8
%53 = getelementptr inbounds i8, ptr %51, i64 %52
store ptr %53, ptr %34, align 8
%54 = load ptr, ptr %34, align 8
%55 = load i8, ptr %54, align 1
store i8 %55, ptr %35, align 1
%56 = load ptr, ptr %34, align 8
store i8 0, ptr %56, align 1
%57 = load ptr, ptr %22, align 8
%58 = getelementptr inbounds i8, ptr %57, i64 0
%59 = load i8, ptr %58, align 1
%60 = sext i8 %59 to i32
%61 = icmp ne i32 %60, 1
br i1 %61, label %62, label %89
62: ; preds = %49
%63 = load ptr, ptr %22, align 8
%64 = load ptr, ptr %33, align 8
%65 = load i32, ptr %28, align 4
%66 = call i32 @strncmp(ptr noundef %63, ptr noundef %64, i32 noundef %65)
%67 = icmp ne i32 %66, 0
br i1 %67, label %89, label %68
68: ; preds = %62
%69 = load i32, ptr %21, align 4
%70 = icmp ne i32 %69, 0
br i1 %70, label %71, label %85
71: ; preds = %68
%72 = load ptr, ptr %25, align 8
store i32 1, ptr %72, align 4
%73 = load i32, ptr %21, align 4
%74 = icmp eq i32 %73, 1
br i1 %74, label %75, label %80
75: ; preds = %71
%76 = load i16, ptr %23, align 2
%77 = load ptr, ptr %26, align 8
%78 = load i64, ptr %29, align 8
%79 = getelementptr inbounds i16, ptr %77, i64 %78
store i16 %76, ptr %79, align 2
br label %84
80: ; preds = %71
%81 = load ptr, ptr %24, align 8
%82 = load i64, ptr %29, align 8
%83 = getelementptr inbounds i8, ptr %81, i64 %82
store i8 1, ptr %83, align 1
br label %84
84: ; preds = %80, %75
br label %85
85: ; preds = %84, %68
%86 = load i64, ptr %19, align 8
%87 = load ptr, ptr %33, align 8
%88 = getelementptr inbounds i8, ptr %87, i64 %86
store ptr %88, ptr %33, align 8
br label %388
89: ; preds = %62, %49
store i32 0, ptr %42, align 4
store i32 1, ptr %40, align 4
store double 0.000000e+00, ptr %37, align 8
store double 1.000000e+00, ptr %38, align 8
store i32 0, ptr %39, align 4
store i32 1, ptr %41, align 4
%90 = load ptr, ptr %33, align 8
%91 = load i8, ptr %90, align 1
%92 = sext i8 %91 to i32
%93 = icmp eq i32 %92, 32
br i1 %93, label %.lr.ph, label %101
.lr.ph: ; preds = %89
br label %94
94: ; preds = %.lr.ph, %94
%95 = load ptr, ptr %33, align 8
%96 = getelementptr inbounds i8, ptr %95, i32 1
store ptr %96, ptr %33, align 8
%97 = load ptr, ptr %33, align 8
%98 = load i8, ptr %97, align 1
%99 = sext i8 %98 to i32
%100 = icmp eq i32 %99, 32
br i1 %100, label %94, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %94
br label %101
101: ; preds = %._crit_edge, %89
%102 = load ptr, ptr %33, align 8
%103 = load i8, ptr %102, align 1
%104 = sext i8 %103 to i32
%105 = icmp eq i32 %104, 45
br i1 %105, label %111, label %106
106: ; preds = %101
%107 = load ptr, ptr %33, align 8
%108 = load i8, ptr %107, align 1
%109 = sext i8 %108 to i32
%110 = icmp eq i32 %109, 43
br i1 %110, label %111, label %132
111: ; preds = %106, %101
%112 = load ptr, ptr %33, align 8
%113 = load i8, ptr %112, align 1
%114 = sext i8 %113 to i32
%115 = icmp eq i32 %114, 45
br i1 %115, label %116, label %117
116: ; preds = %111
store i32 -1, ptr %40, align 4
br label %117
117: ; preds = %116, %111
%118 = load ptr, ptr %33, align 8
%119 = getelementptr inbounds i8, ptr %118, i32 1
store ptr %119, ptr %33, align 8
%120 = load ptr, ptr %33, align 8
%121 = load i8, ptr %120, align 1
%122 = sext i8 %121 to i32
%123 = icmp eq i32 %122, 32
br i1 %123, label %.lr.ph2, label %131
.lr.ph2: ; preds = %117
br label %124
124: ; preds = %.lr.ph2, %124
%125 = load ptr, ptr %33, align 8
%126 = getelementptr inbounds i8, ptr %125, i32 1
store ptr %126, ptr %33, align 8
%127 = load ptr, ptr %33, align 8
%128 = load i8, ptr %127, align 1
%129 = sext i8 %128 to i32
%130 = icmp eq i32 %129, 32
br i1 %130, label %124, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %124
br label %131
131: ; preds = %._crit_edge3, %117
br label %132
132: ; preds = %131, %106
br label %133
133: ; preds = %169, %132
%134 = load ptr, ptr %33, align 8
%135 = load i8, ptr %134, align 1
%136 = sext i8 %135 to i32
%137 = icmp sge i32 %136, 48
br i1 %137, label %138, label %143
138: ; preds = %133
%139 = load ptr, ptr %33, align 8
%140 = load i8, ptr %139, align 1
%141 = sext i8 %140 to i32
%142 = icmp sle i32 %141, 57
br label %143
143: ; preds = %138, %133
%144 = phi i1 [ false, %133 ], [ %142, %138 ]
br i1 %144, label %145, label %170
145: ; preds = %143
%146 = load double, ptr %37, align 8
%147 = load ptr, ptr %33, align 8
%148 = load i8, ptr %147, align 1
%149 = sext i8 %148 to i32
%150 = sitofp i32 %149 to double
%151 = call double @llvm.fmuladd.f64(double %146, double 1.000000e+01, double %150)
%152 = load i8, ptr %36, align 1
%153 = sext i8 %152 to i32
%154 = sitofp i32 %153 to double
%155 = fsub double %151, %154
store double %155, ptr %37, align 8
%156 = load ptr, ptr %33, align 8
%157 = getelementptr inbounds i8, ptr %156, i32 1
store ptr %157, ptr %33, align 8
%158 = load ptr, ptr %33, align 8
%159 = load i8, ptr %158, align 1
%160 = sext i8 %159 to i32
%161 = icmp eq i32 %160, 32
br i1 %161, label %.lr.ph5, label %169
.lr.ph5: ; preds = %145
br label %162
162: ; preds = %.lr.ph5, %162
%163 = load ptr, ptr %33, align 8
%164 = getelementptr inbounds i8, ptr %163, i32 1
store ptr %164, ptr %33, align 8
%165 = load ptr, ptr %33, align 8
%166 = load i8, ptr %165, align 1
%167 = sext i8 %166 to i32
%168 = icmp eq i32 %167, 32
br i1 %168, label %162, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %162
br label %169
169: ; preds = %._crit_edge6, %145
br label %133, !llvm.loop !10
170: ; preds = %143
%171 = load ptr, ptr %33, align 8
%172 = load i8, ptr %171, align 1
%173 = sext i8 %172 to i32
%174 = icmp eq i32 %173, 46
br i1 %174, label %175, label %230
175: ; preds = %170
store i32 1, ptr %42, align 4
%176 = load ptr, ptr %33, align 8
%177 = getelementptr inbounds i8, ptr %176, i32 1
store ptr %177, ptr %33, align 8
%178 = load ptr, ptr %33, align 8
%179 = load i8, ptr %178, align 1
%180 = sext i8 %179 to i32
%181 = icmp eq i32 %180, 32
br i1 %181, label %.lr.ph8, label %189
.lr.ph8: ; preds = %175
br label %182
182: ; preds = %.lr.ph8, %182
%183 = load ptr, ptr %33, align 8
%184 = getelementptr inbounds i8, ptr %183, i32 1
store ptr %184, ptr %33, align 8
%185 = load ptr, ptr %33, align 8
%186 = load i8, ptr %185, align 1
%187 = sext i8 %186 to i32
%188 = icmp eq i32 %187, 32
br i1 %188, label %182, label %._crit_edge9, !llvm.loop !11
._crit_edge9: ; preds = %182
br label %189
189: ; preds = %._crit_edge9, %175
br label %190
190: ; preds = %228, %189
%191 = load ptr, ptr %33, align 8
%192 = load i8, ptr %191, align 1
%193 = sext i8 %192 to i32
%194 = icmp sge i32 %193, 48
br i1 %194, label %195, label %200
195: ; preds = %190
%196 = load ptr, ptr %33, align 8
%197 = load i8, ptr %196, align 1
%198 = sext i8 %197 to i32
%199 = icmp sle i32 %198, 57
br label %200
200: ; preds = %195, %190
%201 = phi i1 [ false, %190 ], [ %199, %195 ]
br i1 %201, label %202, label %229
202: ; preds = %200
%203 = load double, ptr %37, align 8
%204 = load ptr, ptr %33, align 8
%205 = load i8, ptr %204, align 1
%206 = sext i8 %205 to i32
%207 = sitofp i32 %206 to double
%208 = call double @llvm.fmuladd.f64(double %203, double 1.000000e+01, double %207)
%209 = load i8, ptr %36, align 1
%210 = sext i8 %209 to i32
%211 = sitofp i32 %210 to double
%212 = fsub double %208, %211
store double %212, ptr %37, align 8
%213 = load double, ptr %38, align 8
%214 = fmul double %213, 1.000000e+01
store double %214, ptr %38, align 8
%215 = load ptr, ptr %33, align 8
%216 = getelementptr inbounds i8, ptr %215, i32 1
store ptr %216, ptr %33, align 8
%217 = load ptr, ptr %33, align 8
%218 = load i8, ptr %217, align 1
%219 = sext i8 %218 to i32
%220 = icmp eq i32 %219, 32
br i1 %220, label %.lr.ph11, label %228
.lr.ph11: ; preds = %202
br label %221
221: ; preds = %.lr.ph11, %221
%222 = load ptr, ptr %33, align 8
%223 = getelementptr inbounds i8, ptr %222, i32 1
store ptr %223, ptr %33, align 8
%224 = load ptr, ptr %33, align 8
%225 = load i8, ptr %224, align 1
%226 = sext i8 %225 to i32
%227 = icmp eq i32 %226, 32
br i1 %227, label %221, label %._crit_edge12, !llvm.loop !12
._crit_edge12: ; preds = %221
br label %228
228: ; preds = %._crit_edge12, %202
br label %190, !llvm.loop !13
229: ; preds = %200
br label %230
230: ; preds = %229, %170
%231 = load ptr, ptr %33, align 8
%232 = load i8, ptr %231, align 1
%233 = sext i8 %232 to i32
%234 = icmp eq i32 %233, 69
br i1 %234, label %240, label %235
235: ; preds = %230
%236 = load ptr, ptr %33, align 8
%237 = load i8, ptr %236, align 1
%238 = sext i8 %237 to i32
%239 = icmp eq i32 %238, 68
br i1 %239, label %240, label %323
240: ; preds = %235, %230
%241 = load ptr, ptr %33, align 8
%242 = getelementptr inbounds i8, ptr %241, i32 1
store ptr %242, ptr %33, align 8
%243 = load ptr, ptr %33, align 8
%244 = load i8, ptr %243, align 1
%245 = sext i8 %244 to i32
%246 = icmp eq i32 %245, 32
br i1 %246, label %.lr.ph14, label %254
.lr.ph14: ; preds = %240
br label %247
247: ; preds = %.lr.ph14, %247
%248 = load ptr, ptr %33, align 8
%249 = getelementptr inbounds i8, ptr %248, i32 1
store ptr %249, ptr %33, align 8
%250 = load ptr, ptr %33, align 8
%251 = load i8, ptr %250, align 1
%252 = sext i8 %251 to i32
%253 = icmp eq i32 %252, 32
br i1 %253, label %247, label %._crit_edge15, !llvm.loop !14
._crit_edge15: ; preds = %247
br label %254
254: ; preds = %._crit_edge15, %240
%255 = load ptr, ptr %33, align 8
%256 = load i8, ptr %255, align 1
%257 = sext i8 %256 to i32
%258 = icmp eq i32 %257, 45
br i1 %258, label %264, label %259
259: ; preds = %254
%260 = load ptr, ptr %33, align 8
%261 = load i8, ptr %260, align 1
%262 = sext i8 %261 to i32
%263 = icmp eq i32 %262, 43
br i1 %263, label %264, label %285
264: ; preds = %259, %254
%265 = load ptr, ptr %33, align 8
%266 = load i8, ptr %265, align 1
%267 = sext i8 %266 to i32
%268 = icmp eq i32 %267, 45
br i1 %268, label %269, label %270
269: ; preds = %264
store i32 -1, ptr %41, align 4
br label %270
270: ; preds = %269, %264
%271 = load ptr, ptr %33, align 8
%272 = getelementptr inbounds i8, ptr %271, i32 1
store ptr %272, ptr %33, align 8
%273 = load ptr, ptr %33, align 8
%274 = load i8, ptr %273, align 1
%275 = sext i8 %274 to i32
%276 = icmp eq i32 %275, 32
br i1 %276, label %.lr.ph17, label %284
.lr.ph17: ; preds = %270
br label %277
277: ; preds = %.lr.ph17, %277
%278 = load ptr, ptr %33, align 8
%279 = getelementptr inbounds i8, ptr %278, i32 1
store ptr %279, ptr %33, align 8
%280 = load ptr, ptr %33, align 8
%281 = load i8, ptr %280, align 1
%282 = sext i8 %281 to i32
%283 = icmp eq i32 %282, 32
br i1 %283, label %277, label %._crit_edge18, !llvm.loop !15
._crit_edge18: ; preds = %277
br label %284
284: ; preds = %._crit_edge18, %270
br label %285
285: ; preds = %284, %259
br label %286
286: ; preds = %321, %285
%287 = load ptr, ptr %33, align 8
%288 = load i8, ptr %287, align 1
%289 = sext i8 %288 to i32
%290 = icmp sge i32 %289, 48
br i1 %290, label %291, label %296
291: ; preds = %286
%292 = load ptr, ptr %33, align 8
%293 = load i8, ptr %292, align 1
%294 = sext i8 %293 to i32
%295 = icmp sle i32 %294, 57
br label %296
296: ; preds = %291, %286
%297 = phi i1 [ false, %286 ], [ %295, %291 ]
br i1 %297, label %298, label %322
298: ; preds = %296
%299 = load i32, ptr %39, align 4
%300 = mul nsw i32 %299, 10
%301 = load ptr, ptr %33, align 8
%302 = load i8, ptr %301, align 1
%303 = sext i8 %302 to i32
%304 = add nsw i32 %300, %303
%305 = load i8, ptr %36, align 1
%306 = sext i8 %305 to i32
%307 = sub nsw i32 %304, %306
store i32 %307, ptr %39, align 4
%308 = load ptr, ptr %33, align 8
%309 = getelementptr inbounds i8, ptr %308, i32 1
store ptr %309, ptr %33, align 8
%310 = load ptr, ptr %33, align 8
%311 = load i8, ptr %310, align 1
%312 = sext i8 %311 to i32
%313 = icmp eq i32 %312, 32
br i1 %313, label %.lr.ph20, label %321
.lr.ph20: ; preds = %298
br label %314
314: ; preds = %.lr.ph20, %314
%315 = load ptr, ptr %33, align 8
%316 = getelementptr inbounds i8, ptr %315, i32 1
store ptr %316, ptr %33, align 8
%317 = load ptr, ptr %33, align 8
%318 = load i8, ptr %317, align 1
%319 = sext i8 %318 to i32
%320 = icmp eq i32 %319, 32
br i1 %320, label %314, label %._crit_edge21, !llvm.loop !16
._crit_edge21: ; preds = %314
br label %321
321: ; preds = %._crit_edge21, %298
br label %286, !llvm.loop !17
322: ; preds = %296
br label %323
323: ; preds = %322, %235
%324 = load ptr, ptr %33, align 8
%325 = load i8, ptr %324, align 1
%326 = sext i8 %325 to i32
%327 = icmp ne i32 %326, 0
br i1 %327, label %328, label %341
328: ; preds = %323
%329 = getelementptr inbounds [81 x i8], ptr %32, i64 0, i64 0
%330 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %329, ptr noundef @.str)
%331 = getelementptr inbounds [81 x i8], ptr %32, i64 0, i64 0
%332 = call i32 @ffpmsg(ptr noundef %331)
%333 = getelementptr inbounds [81 x i8], ptr %32, i64 0, i64 0
%334 = load ptr, ptr %31, align 8
%335 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %333, ptr noundef @.str.1, ptr noundef %334)
%336 = getelementptr inbounds [81 x i8], ptr %32, i64 0, i64 0
%337 = call i32 @ffpmsg(ptr noundef %336)
%338 = load i8, ptr %35, align 1
%339 = load ptr, ptr %34, align 8
store i8 %338, ptr %339, align 1
%340 = load ptr, ptr %27, align 8
store i32 409, ptr %340, align 4
store i32 409, ptr %14, align 4
br label %400
341: ; preds = %323
%342 = load i32, ptr %42, align 4
%343 = icmp ne i32 %342, 0
br i1 %343, label %346, label %344
344: ; preds = %341
%345 = load double, ptr %20, align 8
store double %345, ptr %38, align 8
br label %346
346: ; preds = %344, %341
%347 = load i32, ptr %40, align 4
%348 = sitofp i32 %347 to double
%349 = load double, ptr %37, align 8
%350 = fmul double %348, %349
%351 = load double, ptr %38, align 8
%352 = fdiv double %350, %351
%353 = load i32, ptr %41, align 4
%354 = load i32, ptr %39, align 4
%355 = mul nsw i32 %353, %354
%356 = sitofp i32 %355 to double
%357 = call i32 @pow(i32 noundef 10, double noundef %356)
%358 = sitofp i32 %357 to double
%359 = fmul double %352, %358
store double %359, ptr %30, align 8
%360 = load double, ptr %30, align 8
%361 = load double, ptr %17, align 8
%362 = load double, ptr %18, align 8
%363 = call double @llvm.fmuladd.f64(double %360, double %361, double %362)
store double %363, ptr %30, align 8
%364 = load double, ptr %30, align 8
%365 = fcmp olt double %364, -4.900000e-01
br i1 %365, label %366, label %371
366: ; preds = %346
%367 = load ptr, ptr %27, align 8
store i32 -11, ptr %367, align 4
%368 = load ptr, ptr %26, align 8
%369 = load i64, ptr %29, align 8
%370 = getelementptr inbounds i16, ptr %368, i64 %369
store i16 0, ptr %370, align 2
br label %387
371: ; preds = %346
%372 = load double, ptr %30, align 8
%373 = fcmp ogt double %372, 0x40EFFFEFAE147AE1
br i1 %373, label %374, label %380
374: ; preds = %371
%375 = load ptr, ptr %27, align 8
store i32 -11, ptr %375, align 4
%376 = load i16, ptr @USHRT_MAX, align 2
%377 = load ptr, ptr %26, align 8
%378 = load i64, ptr %29, align 8
%379 = getelementptr inbounds i16, ptr %377, i64 %378
store i16 %376, ptr %379, align 2
br label %386
380: ; preds = %371
%381 = load double, ptr %30, align 8
%382 = fptoui double %381 to i16
%383 = load ptr, ptr %26, align 8
%384 = load i64, ptr %29, align 8
%385 = getelementptr inbounds i16, ptr %383, i64 %384
store i16 %382, ptr %385, align 2
br label %386
386: ; preds = %380, %374
br label %387
387: ; preds = %386, %366
br label %388
388: ; preds = %387, %85
%389 = load i8, ptr %35, align 1
%390 = load ptr, ptr %34, align 8
store i8 %389, ptr %390, align 1
br label %391
391: ; preds = %388
%392 = load i64, ptr %29, align 8
%393 = add nsw i64 %392, 1
store i64 %393, ptr %29, align 8
%394 = load i64, ptr %29, align 8
%395 = load i64, ptr %16, align 8
%396 = icmp slt i64 %394, %395
br i1 %396, label %49, label %._crit_edge24, !llvm.loop !18
._crit_edge24: ; preds = %391
br label %397
397: ; preds = %._crit_edge24, %13
%398 = load ptr, ptr %27, align 8
%399 = load i32, ptr %398, align 4
store i32 %399, ptr %14, align 4
br label %400
400: ; preds = %397, %328
%401 = load i32, ptr %14, align 4
ret i32 %401
}
declare i32 @strlen(ptr noundef) #1
declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare i32 @sprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @ffpmsg(ptr noundef) #1
declare i32 @pow(i32 noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="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) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
!17 = distinct !{!17, !7}
!18 = distinct !{!18, !7}
|
; ModuleID = '/tmp/tmpr2c4l247.c'
source_filename = "/tmp/tmpr2c4l247.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @convertToUppercase(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
br label %3
3: ; preds = %8, %1
%4 = load ptr, ptr %2, align 8
%5 = load i8, ptr %4, align 1
%6 = sext i8 %5 to i32
%7 = icmp ne i32 %6, 0
br i1 %7, label %8, label %15
8: ; preds = %3
%9 = load ptr, ptr %2, align 8
%10 = load i8, ptr %9, align 1
%11 = call signext i8 @toupper(i8 noundef signext %10)
%12 = load ptr, ptr %2, align 8
store i8 %11, ptr %12, align 1
%13 = load ptr, ptr %2, align 8
%14 = getelementptr inbounds i8, ptr %13, i32 1
store ptr %14, ptr %2, align 8
br label %3, !llvm.loop !6
15: ; preds = %3
ret void
}
declare signext i8 @toupper(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpr2c4l247.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @convertToUppercase(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load i8, ptr %3, align 1
%5 = sext i8 %4 to i32
%6 = icmp ne i32 %5, 0
br i1 %6, label %.lr.ph, label %18
.lr.ph: ; preds = %1
br label %7
7: ; preds = %.lr.ph, %7
%8 = load ptr, ptr %2, align 8
%9 = load i8, ptr %8, align 1
%10 = call signext i8 @toupper(i8 noundef signext %9)
%11 = load ptr, ptr %2, align 8
store i8 %10, ptr %11, align 1
%12 = load ptr, ptr %2, align 8
%13 = getelementptr inbounds i8, ptr %12, i32 1
store ptr %13, ptr %2, align 8
%14 = load ptr, ptr %2, align 8
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp ne i32 %16, 0
br i1 %17, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %7
br label %18
18: ; preds = %._crit_edge, %1
ret void
}
declare signext i8 @toupper(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp_4jhtlie.c'
source_filename = "/tmp/tmp_4jhtlie.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_4jhtlie.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxlzyql7l.c'
source_filename = "/tmp/tmpxlzyql7l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @randomized_selectf(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %5, align 4
%9 = sub nsw i32 %8, 1
%10 = load i32, ptr %6, align 4
%11 = sub nsw i32 %10, 1
%12 = call i32 @randomized_selectf_algo(ptr noundef %7, i32 noundef 0, i32 noundef %9, i32 noundef %11)
ret i32 %12
}
declare i32 @randomized_selectf_algo(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxlzyql7l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @randomized_selectf(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %5, align 4
%9 = sub nsw i32 %8, 1
%10 = load i32, ptr %6, align 4
%11 = sub nsw i32 %10, 1
%12 = call i32 @randomized_selectf_algo(ptr noundef %7, i32 noundef 0, i32 noundef %9, i32 noundef %11)
ret i32 %12
}
declare i32 @randomized_selectf_algo(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppemijf5a.c'
source_filename = "/tmp/tmppemijf5a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_umask() #0 {
%1 = alloca i32, align 4
%2 = call i32 @umask(i32 noundef 18)
store i32 %2, ptr %1, align 4
%3 = load i32, ptr %1, align 4
%4 = call i32 @umask(i32 noundef %3)
%5 = load i32, ptr %1, align 4
ret i32 %5
}
declare i32 @umask(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppemijf5a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_umask() #0 {
%1 = alloca i32, align 4
%2 = call i32 @umask(i32 noundef 18)
store i32 %2, ptr %1, align 4
%3 = load i32, ptr %1, align 4
%4 = call i32 @umask(i32 noundef %3)
%5 = load i32, ptr %1, align 4
ret i32 %5
}
declare i32 @umask(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpr1kh7215.c'
source_filename = "/tmp/tmpr1kh7215.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"Reading data\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @cread(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%8 = load i32, ptr %4, align 4
%9 = load ptr, ptr %5, align 8
%10 = load i32, ptr %6, align 4
%11 = call i32 @read(i32 noundef %8, ptr noundef %9, i32 noundef %10)
store i32 %11, ptr %7, align 4
%12 = icmp slt i32 %11, 0
br i1 %12, label %13, label %16
13: ; preds = %3
%14 = call i32 @perror(ptr noundef @.str)
%15 = call i32 @pthread_exit(ptr noundef inttoptr (i64 1 to ptr))
br label %16
16: ; preds = %13, %3
%17 = load i32, ptr %7, align 4
ret i32 %17
}
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @pthread_exit(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpr1kh7215.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"Reading data\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @cread(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%8 = load i32, ptr %4, align 4
%9 = load ptr, ptr %5, align 8
%10 = load i32, ptr %6, align 4
%11 = call i32 @read(i32 noundef %8, ptr noundef %9, i32 noundef %10)
store i32 %11, ptr %7, align 4
%12 = icmp slt i32 %11, 0
br i1 %12, label %13, label %16
13: ; preds = %3
%14 = call i32 @perror(ptr noundef @.str)
%15 = call i32 @pthread_exit(ptr noundef inttoptr (i64 1 to ptr))
br label %16
16: ; preds = %13, %3
%17 = load i32, ptr %7, align 4
ret i32 %17
}
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @pthread_exit(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpen1z_2b3.c'
source_filename = "/tmp/tmpen1z_2b3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpen1z_2b3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpb93vc46z.c'
source_filename = "/tmp/tmpb93vc46z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"Exiting...\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="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 "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb93vc46z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"Exiting...\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="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 "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2pd86l8r.c'
source_filename = "/tmp/tmp2pd86l8r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @purge_quoted_args(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp ne ptr %3, null
br i1 %4, label %5, label %24
5: ; preds = %1
br label %6
6: ; preds = %20, %5
%7 = load ptr, ptr %2, align 8
%8 = load ptr, ptr %7, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %23
10: ; preds = %6
%11 = load ptr, ptr %2, align 8
%12 = load ptr, ptr %11, align 8
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = icmp eq i32 %14, 34
br i1 %15, label %16, label %20
16: ; preds = %10
%17 = load ptr, ptr %2, align 8
%18 = load ptr, ptr %17, align 8
%19 = call i32 @free(ptr noundef %18)
br label %20
20: ; preds = %16, %10
%21 = load ptr, ptr %2, align 8
%22 = getelementptr inbounds ptr, ptr %21, i32 1
store ptr %22, ptr %2, align 8
br label %6, !llvm.loop !6
23: ; preds = %6
br label %24
24: ; preds = %23, %1
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2pd86l8r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @purge_quoted_args(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp ne ptr %3, null
br i1 %4, label %5, label %26
5: ; preds = %1
%6 = load ptr, ptr %2, align 8
%7 = load ptr, ptr %6, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %.lr.ph, label %25
.lr.ph: ; preds = %5
br label %9
9: ; preds = %.lr.ph, %19
%10 = load ptr, ptr %2, align 8
%11 = load ptr, ptr %10, align 8
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = icmp eq i32 %13, 34
br i1 %14, label %15, label %19
15: ; preds = %9
%16 = load ptr, ptr %2, align 8
%17 = load ptr, ptr %16, align 8
%18 = call i32 @free(ptr noundef %17)
br label %19
19: ; preds = %15, %9
%20 = load ptr, ptr %2, align 8
%21 = getelementptr inbounds ptr, ptr %20, i32 1
store ptr %21, ptr %2, align 8
%22 = load ptr, ptr %2, align 8
%23 = load ptr, ptr %22, align 8
%24 = icmp ne ptr %23, null
br i1 %24, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %25
25: ; preds = %._crit_edge, %5
br label %26
26: ; preds = %25, %1
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp_dpkj_9x.c'
source_filename = "/tmp/tmp_dpkj_9x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = call i32 (...) @rand()
store i32 %8, ptr %6, align 4
%9 = call i32 (...) @rand()
store i32 %9, ptr %7, align 4
%10 = load i32, ptr %6, align 4
%11 = load i32, ptr %7, align 4
%12 = sub nsw i32 %10, %11
ret i32 %12
}
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_dpkj_9x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = call i32 (...) @rand()
store i32 %8, ptr %6, align 4
%9 = call i32 (...) @rand()
store i32 %9, ptr %7, align 4
%10 = load i32, ptr %6, align 4
%11 = load i32, ptr %7, align 4
%12 = sub nsw i32 %10, %11
ret i32 %12
}
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9mmpjr6i.c'
source_filename = "/tmp/tmp9mmpjr6i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9mmpjr6i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpiw67ffsb.c'
source_filename = "/tmp/tmpiw67ffsb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @generateSurfacePoints(double noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca double, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store double %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
%11 = load i32, ptr %7, align 4
%12 = load ptr, ptr %8, align 8
%13 = call i32 @generateSurfacePointOnUnitSphere(i32 noundef %11, ptr noundef %12)
store i32 0, ptr %9, align 4
store i32 0, ptr %10, align 4
store i32 0, ptr %10, align 4
br label %14
14: ; preds = %54, %4
%15 = load i32, ptr %10, align 4
%16 = load i32, ptr %7, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %18, label %59
18: ; preds = %14
%19 = load double, ptr %5, align 8
%20 = load ptr, ptr %6, align 8
%21 = getelementptr inbounds double, ptr %20, i64 0
%22 = load double, ptr %21, align 8
%23 = fadd double %19, %22
%24 = load ptr, ptr %8, align 8
%25 = load i32, ptr %9, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds double, ptr %24, i64 %26
%28 = load double, ptr %27, align 8
%29 = fmul double %28, %23
store double %29, ptr %27, align 8
%30 = load double, ptr %5, align 8
%31 = load ptr, ptr %6, align 8
%32 = getelementptr inbounds double, ptr %31, i64 1
%33 = load double, ptr %32, align 8
%34 = fadd double %30, %33
%35 = load ptr, ptr %8, align 8
%36 = load i32, ptr %9, align 4
%37 = add nsw i32 %36, 1
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds double, ptr %35, i64 %38
%40 = load double, ptr %39, align 8
%41 = fmul double %40, %34
store double %41, ptr %39, align 8
%42 = load double, ptr %5, align 8
%43 = load ptr, ptr %6, align 8
%44 = getelementptr inbounds double, ptr %43, i64 2
%45 = load double, ptr %44, align 8
%46 = fadd double %42, %45
%47 = load ptr, ptr %8, align 8
%48 = load i32, ptr %9, align 4
%49 = add nsw i32 %48, 2
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds double, ptr %47, i64 %50
%52 = load double, ptr %51, align 8
%53 = fmul double %52, %46
store double %53, ptr %51, align 8
br label %54
54: ; preds = %18
%55 = load i32, ptr %10, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %10, align 4
%57 = load i32, ptr %9, align 4
%58 = add nsw i32 %57, 3
store i32 %58, ptr %9, align 4
br label %14, !llvm.loop !6
59: ; preds = %14
ret void
}
declare i32 @generateSurfacePointOnUnitSphere(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpiw67ffsb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @generateSurfacePoints(double noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca double, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store double %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
%11 = load i32, ptr %7, align 4
%12 = load ptr, ptr %8, align 8
%13 = call i32 @generateSurfacePointOnUnitSphere(i32 noundef %11, ptr noundef %12)
store i32 0, ptr %9, align 4
store i32 0, ptr %10, align 4
store i32 0, ptr %10, align 4
%14 = load i32, ptr %10, align 4
%15 = load i32, ptr %7, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %.lr.ph, label %61
.lr.ph: ; preds = %4
br label %17
17: ; preds = %.lr.ph, %53
%18 = load double, ptr %5, align 8
%19 = load ptr, ptr %6, align 8
%20 = getelementptr inbounds double, ptr %19, i64 0
%21 = load double, ptr %20, align 8
%22 = fadd double %18, %21
%23 = load ptr, ptr %8, align 8
%24 = load i32, ptr %9, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds double, ptr %23, i64 %25
%27 = load double, ptr %26, align 8
%28 = fmul double %27, %22
store double %28, ptr %26, align 8
%29 = load double, ptr %5, align 8
%30 = load ptr, ptr %6, align 8
%31 = getelementptr inbounds double, ptr %30, i64 1
%32 = load double, ptr %31, align 8
%33 = fadd double %29, %32
%34 = load ptr, ptr %8, align 8
%35 = load i32, ptr %9, align 4
%36 = add nsw i32 %35, 1
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds double, ptr %34, i64 %37
%39 = load double, ptr %38, align 8
%40 = fmul double %39, %33
store double %40, ptr %38, align 8
%41 = load double, ptr %5, align 8
%42 = load ptr, ptr %6, align 8
%43 = getelementptr inbounds double, ptr %42, i64 2
%44 = load double, ptr %43, align 8
%45 = fadd double %41, %44
%46 = load ptr, ptr %8, align 8
%47 = load i32, ptr %9, align 4
%48 = add nsw i32 %47, 2
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds double, ptr %46, i64 %49
%51 = load double, ptr %50, align 8
%52 = fmul double %51, %45
store double %52, ptr %50, align 8
br label %53
53: ; preds = %17
%54 = load i32, ptr %10, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %10, align 4
%56 = load i32, ptr %9, align 4
%57 = add nsw i32 %56, 3
store i32 %57, ptr %9, align 4
%58 = load i32, ptr %10, align 4
%59 = load i32, ptr %7, align 4
%60 = icmp slt i32 %58, %59
br i1 %60, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %53
br label %61
61: ; preds = %._crit_edge, %4
ret void
}
declare i32 @generateSurfacePointOnUnitSphere(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpj47kldh4.c'
source_filename = "/tmp/tmpj47kldh4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i8 @mk_rnd_u1() #0 {
%1 = call i32 (...) @rand()
%2 = and i32 %1, 1
%3 = trunc i32 %2 to i8
ret i8 %3
}
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj47kldh4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i8 @mk_rnd_u1() #0 {
%1 = call i32 (...) @rand()
%2 = and i32 %1, 1
%3 = trunc i32 %2 to i8
ret i8 %3
}
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpic9bgbkv.c'
source_filename = "/tmp/tmpic9bgbkv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_24__ = type { i32, i32 }
@avg_422_downsample_first_r_g_b_vectors_n_save_previous_sse2.mask = internal constant %struct.TYPE_24__ { i32 255, i32 0 }, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @avg_422_downsample_first_r_g_b_vectors_n_save_previous_sse2(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca %struct.TYPE_24__, align 4
%8 = alloca %struct.TYPE_24__, align 4
%9 = alloca %struct.TYPE_24__, align 4
%10 = alloca %struct.TYPE_24__, align 4
%11 = alloca %struct.TYPE_24__, align 4
%12 = alloca %struct.TYPE_24__, align 4
%13 = alloca %struct.TYPE_24__, align 4
%14 = alloca %struct.TYPE_24__, align 4
%15 = alloca %struct.TYPE_24__, align 4
%16 = alloca %struct.TYPE_24__, align 4
%17 = alloca %struct.TYPE_24__, align 4
%18 = alloca %struct.TYPE_24__, align 4
%19 = alloca %struct.TYPE_24__, align 4
%20 = alloca %struct.TYPE_24__, align 4
%21 = alloca %struct.TYPE_24__, align 4
%22 = alloca %struct.TYPE_24__, align 4
%23 = alloca %struct.TYPE_24__, align 4
%24 = alloca %struct.TYPE_24__, align 4
%25 = alloca %struct.TYPE_24__, align 4
%26 = alloca %struct.TYPE_24__, align 4
%27 = alloca %struct.TYPE_24__, align 4
%28 = alloca %struct.TYPE_24__, align 4
%29 = alloca %struct.TYPE_24__, align 4
%30 = alloca %struct.TYPE_24__, align 4
%31 = alloca %struct.TYPE_24__, align 4
%32 = alloca %struct.TYPE_24__, align 4
%33 = alloca %struct.TYPE_24__, align 4
%34 = alloca %struct.TYPE_24__, align 4
%35 = alloca %struct.TYPE_24__, align 4
%36 = alloca %struct.TYPE_24__, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
call void @llvm.memset.p0.i64(ptr align 4 %7, i8 0, i64 8, i1 false)
call void @llvm.memset.p0.i64(ptr align 4 %8, i8 0, i64 8, i1 false)
call void @llvm.memset.p0.i64(ptr align 4 %9, i8 0, i64 8, i1 false)
%37 = load ptr, ptr %5, align 8
%38 = getelementptr inbounds %struct.TYPE_24__, ptr %37, i64 0
%39 = load ptr, ptr %4, align 8
%40 = getelementptr inbounds %struct.TYPE_24__, ptr %39, i64 0
%41 = call i64 @_mm_load_si128(ptr noundef %40)
store i64 %41, ptr %10, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %38, ptr align 4 %10, i64 8, i1 false)
%42 = load ptr, ptr %5, align 8
%43 = getelementptr inbounds %struct.TYPE_24__, ptr %42, i64 1
%44 = load ptr, ptr %4, align 8
%45 = getelementptr inbounds %struct.TYPE_24__, ptr %44, i64 1
%46 = call i64 @_mm_load_si128(ptr noundef %45)
store i64 %46, ptr %11, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %43, ptr align 4 %11, i64 8, i1 false)
%47 = load ptr, ptr %5, align 8
%48 = getelementptr inbounds %struct.TYPE_24__, ptr %47, i64 2
%49 = load ptr, ptr %4, align 8
%50 = getelementptr inbounds %struct.TYPE_24__, ptr %49, i64 2
%51 = call i64 @_mm_load_si128(ptr noundef %50)
store i64 %51, ptr %12, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %48, ptr align 4 %12, i64 8, i1 false)
%52 = load ptr, ptr %4, align 8
%53 = getelementptr inbounds %struct.TYPE_24__, ptr %52, i64 0
%54 = load i64, ptr %53, align 4
%55 = load i64, ptr @avg_422_downsample_first_r_g_b_vectors_n_save_previous_sse2.mask, align 4
%56 = call i64 @_mm_and_si128(i64 %54, i64 %55)
store i64 %56, ptr %13, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %7, ptr align 4 %13, i64 8, i1 false)
%57 = load ptr, ptr %4, align 8
%58 = getelementptr inbounds %struct.TYPE_24__, ptr %57, i64 0
%59 = load i64, ptr %58, align 4
%60 = call i64 @_mm_srli_epi32(i64 %59, i32 noundef 16)
store i64 %60, ptr %14, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %8, ptr align 4 %14, i64 8, i1 false)
%61 = load i64, ptr %8, align 4
%62 = call i64 @_mm_slli_si128(i64 %61, i32 noundef 4)
store i64 %62, ptr %15, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %9, ptr align 4 %15, i64 8, i1 false)
%63 = load i64, ptr %7, align 4
%64 = load i64, ptr %9, align 4
%65 = call i64 @_mm_or_si128(i64 %63, i64 %64)
store i64 %65, ptr %16, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %7, ptr align 4 %16, i64 8, i1 false)
%66 = load i64, ptr %7, align 4
%67 = load i64, ptr %8, align 4
%68 = call i64 @_mm_avg_epu16(i64 %66, i64 %67)
store i64 %68, ptr %17, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %7, ptr align 4 %17, i64 8, i1 false)
%69 = load ptr, ptr %4, align 8
%70 = getelementptr inbounds %struct.TYPE_24__, ptr %69, i64 0
%71 = load i64, ptr %7, align 4
%72 = load i64, ptr %70, align 4
%73 = call i64 @_mm_avg_epu16(i64 %71, i64 %72)
store i64 %73, ptr %18, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %7, ptr align 4 %18, i64 8, i1 false)
%74 = load i64, ptr %7, align 4
%75 = call i64 @_mm_shufflehi_epi16(i64 %74, i32 noundef 160)
store i64 %75, ptr %19, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %7, ptr align 4 %19, i64 8, i1 false)
%76 = load ptr, ptr %6, align 8
%77 = getelementptr inbounds %struct.TYPE_24__, ptr %76, i64 0
%78 = load i64, ptr %7, align 4
%79 = call i64 @_mm_shufflelo_epi16(i64 %78, i32 noundef 160)
store i64 %79, ptr %20, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %77, ptr align 4 %20, i64 8, i1 false)
%80 = load ptr, ptr %4, align 8
%81 = getelementptr inbounds %struct.TYPE_24__, ptr %80, i64 1
%82 = load i64, ptr %81, align 4
%83 = load i64, ptr @avg_422_downsample_first_r_g_b_vectors_n_save_previous_sse2.mask, align 4
%84 = call i64 @_mm_and_si128(i64 %82, i64 %83)
store i64 %84, ptr %21, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %7, ptr align 4 %21, i64 8, i1 false)
%85 = load ptr, ptr %4, align 8
%86 = getelementptr inbounds %struct.TYPE_24__, ptr %85, i64 1
%87 = load i64, ptr %86, align 4
%88 = call i64 @_mm_srli_epi32(i64 %87, i32 noundef 16)
store i64 %88, ptr %22, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %8, ptr align 4 %22, i64 8, i1 false)
%89 = load i64, ptr %8, align 4
%90 = call i64 @_mm_slli_si128(i64 %89, i32 noundef 4)
store i64 %90, ptr %23, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %9, ptr align 4 %23, i64 8, i1 false)
%91 = load i64, ptr %7, align 4
%92 = load i64, ptr %9, align 4
%93 = call i64 @_mm_or_si128(i64 %91, i64 %92)
store i64 %93, ptr %24, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %7, ptr align 4 %24, i64 8, i1 false)
%94 = load i64, ptr %7, align 4
%95 = load i64, ptr %8, align 4
%96 = call i64 @_mm_avg_epu16(i64 %94, i64 %95)
store i64 %96, ptr %25, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %7, ptr align 4 %25, i64 8, i1 false)
%97 = load ptr, ptr %4, align 8
%98 = getelementptr inbounds %struct.TYPE_24__, ptr %97, i64 1
%99 = load i64, ptr %7, align 4
%100 = load i64, ptr %98, align 4
%101 = call i64 @_mm_avg_epu16(i64 %99, i64 %100)
store i64 %101, ptr %26, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %7, ptr align 4 %26, i64 8, i1 false)
%102 = load i64, ptr %7, align 4
%103 = call i64 @_mm_shufflehi_epi16(i64 %102, i32 noundef 160)
store i64 %103, ptr %27, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %7, ptr align 4 %27, i64 8, i1 false)
%104 = load ptr, ptr %6, align 8
%105 = getelementptr inbounds %struct.TYPE_24__, ptr %104, i64 1
%106 = load i64, ptr %7, align 4
%107 = call i64 @_mm_shufflelo_epi16(i64 %106, i32 noundef 160)
store i64 %107, ptr %28, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %105, ptr align 4 %28, i64 8, i1 false)
%108 = load ptr, ptr %4, align 8
%109 = getelementptr inbounds %struct.TYPE_24__, ptr %108, i64 2
%110 = load i64, ptr %109, align 4
%111 = load i64, ptr @avg_422_downsample_first_r_g_b_vectors_n_save_previous_sse2.mask, align 4
%112 = call i64 @_mm_and_si128(i64 %110, i64 %111)
store i64 %112, ptr %29, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %7, ptr align 4 %29, i64 8, i1 false)
%113 = load ptr, ptr %4, align 8
%114 = getelementptr inbounds %struct.TYPE_24__, ptr %113, i64 2
%115 = load i64, ptr %114, align 4
%116 = call i64 @_mm_srli_epi32(i64 %115, i32 noundef 16)
store i64 %116, ptr %30, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %8, ptr align 4 %30, i64 8, i1 false)
%117 = load i64, ptr %8, align 4
%118 = call i64 @_mm_slli_si128(i64 %117, i32 noundef 4)
store i64 %118, ptr %31, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %9, ptr align 4 %31, i64 8, i1 false)
%119 = load i64, ptr %7, align 4
%120 = load i64, ptr %9, align 4
%121 = call i64 @_mm_or_si128(i64 %119, i64 %120)
store i64 %121, ptr %32, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %7, ptr align 4 %32, i64 8, i1 false)
%122 = load i64, ptr %7, align 4
%123 = load i64, ptr %8, align 4
%124 = call i64 @_mm_avg_epu16(i64 %122, i64 %123)
store i64 %124, ptr %33, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %7, ptr align 4 %33, i64 8, i1 false)
%125 = load ptr, ptr %4, align 8
%126 = getelementptr inbounds %struct.TYPE_24__, ptr %125, i64 2
%127 = load i64, ptr %7, align 4
%128 = load i64, ptr %126, align 4
%129 = call i64 @_mm_avg_epu16(i64 %127, i64 %128)
store i64 %129, ptr %34, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %7, ptr align 4 %34, i64 8, i1 false)
%130 = load i64, ptr %7, align 4
%131 = call i64 @_mm_shufflehi_epi16(i64 %130, i32 noundef 160)
store i64 %131, ptr %35, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %7, ptr align 4 %35, i64 8, i1 false)
%132 = load ptr, ptr %6, align 8
%133 = getelementptr inbounds %struct.TYPE_24__, ptr %132, i64 2
%134 = load i64, ptr %7, align 4
%135 = call i64 @_mm_shufflelo_epi16(i64 %134, i32 noundef 160)
store i64 %135, ptr %36, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %133, ptr align 4 %36, i64 8, i1 false)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i64 @_mm_load_si128(ptr noundef) #2
; 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
declare i64 @_mm_and_si128(i64, i64) #2
declare i64 @_mm_srli_epi32(i64, i32 noundef) #2
declare i64 @_mm_slli_si128(i64, i32 noundef) #2
declare i64 @_mm_or_si128(i64, i64) #2
declare i64 @_mm_avg_epu16(i64, i64) #2
declare i64 @_mm_shufflehi_epi16(i64, i32 noundef) #2
declare i64 @_mm_shufflelo_epi16(i64, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-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) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpic9bgbkv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_24__ = type { i32, i32 }
@avg_422_downsample_first_r_g_b_vectors_n_save_previous_sse2.mask = internal constant %struct.TYPE_24__ { i32 255, i32 0 }, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @avg_422_downsample_first_r_g_b_vectors_n_save_previous_sse2(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca %struct.TYPE_24__, align 4
%8 = alloca %struct.TYPE_24__, align 4
%9 = alloca %struct.TYPE_24__, align 4
%10 = alloca %struct.TYPE_24__, align 4
%11 = alloca %struct.TYPE_24__, align 4
%12 = alloca %struct.TYPE_24__, align 4
%13 = alloca %struct.TYPE_24__, align 4
%14 = alloca %struct.TYPE_24__, align 4
%15 = alloca %struct.TYPE_24__, align 4
%16 = alloca %struct.TYPE_24__, align 4
%17 = alloca %struct.TYPE_24__, align 4
%18 = alloca %struct.TYPE_24__, align 4
%19 = alloca %struct.TYPE_24__, align 4
%20 = alloca %struct.TYPE_24__, align 4
%21 = alloca %struct.TYPE_24__, align 4
%22 = alloca %struct.TYPE_24__, align 4
%23 = alloca %struct.TYPE_24__, align 4
%24 = alloca %struct.TYPE_24__, align 4
%25 = alloca %struct.TYPE_24__, align 4
%26 = alloca %struct.TYPE_24__, align 4
%27 = alloca %struct.TYPE_24__, align 4
%28 = alloca %struct.TYPE_24__, align 4
%29 = alloca %struct.TYPE_24__, align 4
%30 = alloca %struct.TYPE_24__, align 4
%31 = alloca %struct.TYPE_24__, align 4
%32 = alloca %struct.TYPE_24__, align 4
%33 = alloca %struct.TYPE_24__, align 4
%34 = alloca %struct.TYPE_24__, align 4
%35 = alloca %struct.TYPE_24__, align 4
%36 = alloca %struct.TYPE_24__, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
call void @llvm.memset.p0.i64(ptr align 4 %7, i8 0, i64 8, i1 false)
call void @llvm.memset.p0.i64(ptr align 4 %8, i8 0, i64 8, i1 false)
call void @llvm.memset.p0.i64(ptr align 4 %9, i8 0, i64 8, i1 false)
%37 = load ptr, ptr %5, align 8
%38 = getelementptr inbounds %struct.TYPE_24__, ptr %37, i64 0
%39 = load ptr, ptr %4, align 8
%40 = getelementptr inbounds %struct.TYPE_24__, ptr %39, i64 0
%41 = call i64 @_mm_load_si128(ptr noundef %40)
store i64 %41, ptr %10, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %38, ptr align 4 %10, i64 8, i1 false)
%42 = load ptr, ptr %5, align 8
%43 = getelementptr inbounds %struct.TYPE_24__, ptr %42, i64 1
%44 = load ptr, ptr %4, align 8
%45 = getelementptr inbounds %struct.TYPE_24__, ptr %44, i64 1
%46 = call i64 @_mm_load_si128(ptr noundef %45)
store i64 %46, ptr %11, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %43, ptr align 4 %11, i64 8, i1 false)
%47 = load ptr, ptr %5, align 8
%48 = getelementptr inbounds %struct.TYPE_24__, ptr %47, i64 2
%49 = load ptr, ptr %4, align 8
%50 = getelementptr inbounds %struct.TYPE_24__, ptr %49, i64 2
%51 = call i64 @_mm_load_si128(ptr noundef %50)
store i64 %51, ptr %12, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %48, ptr align 4 %12, i64 8, i1 false)
%52 = load ptr, ptr %4, align 8
%53 = getelementptr inbounds %struct.TYPE_24__, ptr %52, i64 0
%54 = load i64, ptr %53, align 4
%55 = load i64, ptr @avg_422_downsample_first_r_g_b_vectors_n_save_previous_sse2.mask, align 4
%56 = call i64 @_mm_and_si128(i64 %54, i64 %55)
store i64 %56, ptr %13, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %7, ptr align 4 %13, i64 8, i1 false)
%57 = load ptr, ptr %4, align 8
%58 = getelementptr inbounds %struct.TYPE_24__, ptr %57, i64 0
%59 = load i64, ptr %58, align 4
%60 = call i64 @_mm_srli_epi32(i64 %59, i32 noundef 16)
store i64 %60, ptr %14, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %8, ptr align 4 %14, i64 8, i1 false)
%61 = load i64, ptr %8, align 4
%62 = call i64 @_mm_slli_si128(i64 %61, i32 noundef 4)
store i64 %62, ptr %15, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %9, ptr align 4 %15, i64 8, i1 false)
%63 = load i64, ptr %7, align 4
%64 = load i64, ptr %9, align 4
%65 = call i64 @_mm_or_si128(i64 %63, i64 %64)
store i64 %65, ptr %16, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %7, ptr align 4 %16, i64 8, i1 false)
%66 = load i64, ptr %7, align 4
%67 = load i64, ptr %8, align 4
%68 = call i64 @_mm_avg_epu16(i64 %66, i64 %67)
store i64 %68, ptr %17, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %7, ptr align 4 %17, i64 8, i1 false)
%69 = load ptr, ptr %4, align 8
%70 = getelementptr inbounds %struct.TYPE_24__, ptr %69, i64 0
%71 = load i64, ptr %7, align 4
%72 = load i64, ptr %70, align 4
%73 = call i64 @_mm_avg_epu16(i64 %71, i64 %72)
store i64 %73, ptr %18, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %7, ptr align 4 %18, i64 8, i1 false)
%74 = load i64, ptr %7, align 4
%75 = call i64 @_mm_shufflehi_epi16(i64 %74, i32 noundef 160)
store i64 %75, ptr %19, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %7, ptr align 4 %19, i64 8, i1 false)
%76 = load ptr, ptr %6, align 8
%77 = getelementptr inbounds %struct.TYPE_24__, ptr %76, i64 0
%78 = load i64, ptr %7, align 4
%79 = call i64 @_mm_shufflelo_epi16(i64 %78, i32 noundef 160)
store i64 %79, ptr %20, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %77, ptr align 4 %20, i64 8, i1 false)
%80 = load ptr, ptr %4, align 8
%81 = getelementptr inbounds %struct.TYPE_24__, ptr %80, i64 1
%82 = load i64, ptr %81, align 4
%83 = load i64, ptr @avg_422_downsample_first_r_g_b_vectors_n_save_previous_sse2.mask, align 4
%84 = call i64 @_mm_and_si128(i64 %82, i64 %83)
store i64 %84, ptr %21, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %7, ptr align 4 %21, i64 8, i1 false)
%85 = load ptr, ptr %4, align 8
%86 = getelementptr inbounds %struct.TYPE_24__, ptr %85, i64 1
%87 = load i64, ptr %86, align 4
%88 = call i64 @_mm_srli_epi32(i64 %87, i32 noundef 16)
store i64 %88, ptr %22, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %8, ptr align 4 %22, i64 8, i1 false)
%89 = load i64, ptr %8, align 4
%90 = call i64 @_mm_slli_si128(i64 %89, i32 noundef 4)
store i64 %90, ptr %23, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %9, ptr align 4 %23, i64 8, i1 false)
%91 = load i64, ptr %7, align 4
%92 = load i64, ptr %9, align 4
%93 = call i64 @_mm_or_si128(i64 %91, i64 %92)
store i64 %93, ptr %24, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %7, ptr align 4 %24, i64 8, i1 false)
%94 = load i64, ptr %7, align 4
%95 = load i64, ptr %8, align 4
%96 = call i64 @_mm_avg_epu16(i64 %94, i64 %95)
store i64 %96, ptr %25, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %7, ptr align 4 %25, i64 8, i1 false)
%97 = load ptr, ptr %4, align 8
%98 = getelementptr inbounds %struct.TYPE_24__, ptr %97, i64 1
%99 = load i64, ptr %7, align 4
%100 = load i64, ptr %98, align 4
%101 = call i64 @_mm_avg_epu16(i64 %99, i64 %100)
store i64 %101, ptr %26, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %7, ptr align 4 %26, i64 8, i1 false)
%102 = load i64, ptr %7, align 4
%103 = call i64 @_mm_shufflehi_epi16(i64 %102, i32 noundef 160)
store i64 %103, ptr %27, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %7, ptr align 4 %27, i64 8, i1 false)
%104 = load ptr, ptr %6, align 8
%105 = getelementptr inbounds %struct.TYPE_24__, ptr %104, i64 1
%106 = load i64, ptr %7, align 4
%107 = call i64 @_mm_shufflelo_epi16(i64 %106, i32 noundef 160)
store i64 %107, ptr %28, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %105, ptr align 4 %28, i64 8, i1 false)
%108 = load ptr, ptr %4, align 8
%109 = getelementptr inbounds %struct.TYPE_24__, ptr %108, i64 2
%110 = load i64, ptr %109, align 4
%111 = load i64, ptr @avg_422_downsample_first_r_g_b_vectors_n_save_previous_sse2.mask, align 4
%112 = call i64 @_mm_and_si128(i64 %110, i64 %111)
store i64 %112, ptr %29, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %7, ptr align 4 %29, i64 8, i1 false)
%113 = load ptr, ptr %4, align 8
%114 = getelementptr inbounds %struct.TYPE_24__, ptr %113, i64 2
%115 = load i64, ptr %114, align 4
%116 = call i64 @_mm_srli_epi32(i64 %115, i32 noundef 16)
store i64 %116, ptr %30, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %8, ptr align 4 %30, i64 8, i1 false)
%117 = load i64, ptr %8, align 4
%118 = call i64 @_mm_slli_si128(i64 %117, i32 noundef 4)
store i64 %118, ptr %31, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %9, ptr align 4 %31, i64 8, i1 false)
%119 = load i64, ptr %7, align 4
%120 = load i64, ptr %9, align 4
%121 = call i64 @_mm_or_si128(i64 %119, i64 %120)
store i64 %121, ptr %32, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %7, ptr align 4 %32, i64 8, i1 false)
%122 = load i64, ptr %7, align 4
%123 = load i64, ptr %8, align 4
%124 = call i64 @_mm_avg_epu16(i64 %122, i64 %123)
store i64 %124, ptr %33, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %7, ptr align 4 %33, i64 8, i1 false)
%125 = load ptr, ptr %4, align 8
%126 = getelementptr inbounds %struct.TYPE_24__, ptr %125, i64 2
%127 = load i64, ptr %7, align 4
%128 = load i64, ptr %126, align 4
%129 = call i64 @_mm_avg_epu16(i64 %127, i64 %128)
store i64 %129, ptr %34, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %7, ptr align 4 %34, i64 8, i1 false)
%130 = load i64, ptr %7, align 4
%131 = call i64 @_mm_shufflehi_epi16(i64 %130, i32 noundef 160)
store i64 %131, ptr %35, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %7, ptr align 4 %35, i64 8, i1 false)
%132 = load ptr, ptr %6, align 8
%133 = getelementptr inbounds %struct.TYPE_24__, ptr %132, i64 2
%134 = load i64, ptr %7, align 4
%135 = call i64 @_mm_shufflelo_epi16(i64 %134, i32 noundef 160)
store i64 %135, ptr %36, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %133, ptr align 4 %36, i64 8, i1 false)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i64 @_mm_load_si128(ptr noundef) #2
; 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
declare i64 @_mm_and_si128(i64, i64) #2
declare i64 @_mm_srli_epi32(i64, i32 noundef) #2
declare i64 @_mm_slli_si128(i64, i32 noundef) #2
declare i64 @_mm_or_si128(i64, i64) #2
declare i64 @_mm_avg_epu16(i64, i64) #2
declare i64 @_mm_shufflehi_epi16(i64, i32 noundef) #2
declare i64 @_mm_shufflelo_epi16(i64, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-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) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpljeef57b.c'
source_filename = "/tmp/tmpljeef57b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@llvm.global_ctors = appending global [1 x { i32, ptr, ptr }] [{ i32, ptr, ptr } { i32 65535, ptr @BlockMgrModuleInit, ptr null }]
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @BlockMgrModuleInit() #0 {
%1 = call i32 (...) @InitCRCTable()
ret void
}
declare i32 @InitCRCTable(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpljeef57b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@llvm.global_ctors = appending global [1 x { i32, ptr, ptr }] [{ i32, ptr, ptr } { i32 65535, ptr @BlockMgrModuleInit, ptr null }]
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @BlockMgrModuleInit() #0 {
%1 = call i32 (...) @InitCRCTable()
ret void
}
declare i32 @InitCRCTable(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpi0560ovg.c'
source_filename = "/tmp/tmpi0560ovg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"Error:Please Enter Number\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"Enter a row :\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"Enter a Col:\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca [10 x [10 x i32]], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = call i32 @time(ptr noundef null)
%12 = call i32 @srand(i32 noundef %11)
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 1
%15 = load ptr, ptr %14, align 8
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %19
17: ; preds = %2
%18 = call i32 @printf(ptr noundef @.str)
store i32 0, ptr %3, align 4
br label %33
19: ; preds = %2
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 1
%22 = load ptr, ptr %21, align 8
%23 = call i32 @atoi(ptr noundef %22)
store i32 %23, ptr %6, align 4
%24 = getelementptr inbounds [10 x [10 x i32]], ptr %10, i64 0, i64 0
%25 = load i32, ptr %6, align 4
%26 = call i32 @setBoard(ptr noundef %24, i32 noundef %25)
%27 = getelementptr inbounds [10 x [10 x i32]], ptr %10, i64 0, i64 0
%28 = call i32 @DisplayBoard(ptr noundef %27)
%29 = call i32 @printf(ptr noundef @.str.1)
%30 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %7)
%31 = call i32 @printf(ptr noundef @.str.3)
%32 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %8)
store i32 0, ptr %3, align 4
br label %33
33: ; preds = %19, %17
%34 = load i32, ptr %3, align 4
ret i32 %34
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @setBoard(ptr noundef, i32 noundef) #1
declare i32 @DisplayBoard(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpi0560ovg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"Error:Please Enter Number\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"Enter a row :\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"Enter a Col:\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca [10 x [10 x i32]], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = call i32 @time(ptr noundef null)
%12 = call i32 @srand(i32 noundef %11)
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 1
%15 = load ptr, ptr %14, align 8
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %19
17: ; preds = %2
%18 = call i32 @printf(ptr noundef @.str)
store i32 0, ptr %3, align 4
br label %33
19: ; preds = %2
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 1
%22 = load ptr, ptr %21, align 8
%23 = call i32 @atoi(ptr noundef %22)
store i32 %23, ptr %6, align 4
%24 = getelementptr inbounds [10 x [10 x i32]], ptr %10, i64 0, i64 0
%25 = load i32, ptr %6, align 4
%26 = call i32 @setBoard(ptr noundef %24, i32 noundef %25)
%27 = getelementptr inbounds [10 x [10 x i32]], ptr %10, i64 0, i64 0
%28 = call i32 @DisplayBoard(ptr noundef %27)
%29 = call i32 @printf(ptr noundef @.str.1)
%30 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %7)
%31 = call i32 @printf(ptr noundef @.str.3)
%32 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %8)
store i32 0, ptr %3, align 4
br label %33
33: ; preds = %19, %17
%34 = load i32, ptr %3, align 4
ret i32 %34
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @setBoard(ptr noundef, i32 noundef) #1
declare i32 @DisplayBoard(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgx7afobg.c'
source_filename = "/tmp/tmpgx7afobg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @resample_z(i32 noundef %0, ptr noundef %1, ptr noundef %2, double noundef %3, double noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, i32 noundef %12, i32 noundef %13) #0 {
%15 = alloca i32, align 4
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca double, align 8
%19 = alloca double, align 8
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
%23 = alloca ptr, align 8
%24 = alloca ptr, align 8
%25 = alloca ptr, align 8
%26 = alloca ptr, align 8
%27 = alloca i32, align 4
%28 = alloca i32, align 4
%29 = alloca i32, align 4
%30 = alloca i32, align 4
%31 = alloca i32, align 4
%32 = alloca ptr, align 8
%33 = alloca i32, align 4
%34 = alloca i32, align 4
%35 = alloca ptr, align 8
store i32 %0, ptr %15, align 4
store ptr %1, ptr %16, align 8
store ptr %2, ptr %17, align 8
store double %3, ptr %18, align 8
store double %4, ptr %19, align 8
store ptr %5, ptr %20, align 8
store ptr %6, ptr %21, align 8
store ptr %7, ptr %22, align 8
store ptr %8, ptr %23, align 8
store ptr %9, ptr %24, align 8
store ptr %10, ptr %25, align 8
store ptr %11, ptr %26, align 8
store i32 %12, ptr %27, align 4
store i32 %13, ptr %28, align 4
%36 = load i32, ptr %27, align 4
%37 = add nsw i32 %36, 1
%38 = add nsw i32 1, %37
%39 = sub nsw i32 %38, 1
%40 = sext i32 %39 to i64
%41 = mul i64 8, %40
%42 = trunc i64 %41 to i32
%43 = call i64 @malloc(i32 noundef %42)
%44 = inttoptr i64 %43 to ptr
store ptr %44, ptr %32, align 8
store i32 1, ptr %29, align 4
br label %45
45: ; preds = %499, %14
%46 = load i32, ptr %29, align 4
%47 = load i32, ptr %15, align 4
%48 = icmp sle i32 %46, %47
br i1 %48, label %49, label %502
49: ; preds = %45
%50 = load ptr, ptr %23, align 8
%51 = load i32, ptr %29, align 4
%52 = sub nsw i32 %51, 1
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds i32, ptr %50, i64 %53
%55 = load i32, ptr %54, align 4
%56 = icmp eq i32 %55, -1
br i1 %56, label %57, label %64
57: ; preds = %49
%58 = load ptr, ptr %21, align 8
%59 = load i32, ptr %29, align 4
%60 = sub nsw i32 %59, 1
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds ptr, ptr %58, i64 %61
%63 = load ptr, ptr %62, align 8
store ptr %63, ptr %35, align 8
br label %75
64: ; preds = %49
%65 = load ptr, ptr %22, align 8
%66 = load ptr, ptr %23, align 8
%67 = load i32, ptr %29, align 4
%68 = sub nsw i32 %67, 1
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds i32, ptr %66, i64 %69
%71 = load i32, ptr %70, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds ptr, ptr %65, i64 %72
%74 = load ptr, ptr %73, align 8
store ptr %74, ptr %35, align 8
br label %75
75: ; preds = %64, %57
store i32 1, ptr %30, align 4
br label %76
76: ; preds = %495, %75
%77 = load i32, ptr %30, align 4
%78 = load ptr, ptr %17, align 8
%79 = load i32, ptr %29, align 4
%80 = sub nsw i32 %79, 1
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds i32, ptr %78, i64 %81
%83 = load i32, ptr %82, align 4
%84 = icmp sle i32 %77, %83
br i1 %84, label %85, label %498
85: ; preds = %76
store i32 1, ptr %31, align 4
br label %86
86: ; preds = %491, %85
%87 = load i32, ptr %31, align 4
%88 = load ptr, ptr %16, align 8
%89 = load i32, ptr %29, align 4
%90 = sub nsw i32 %89, 1
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds ptr, ptr %88, i64 %91
%93 = load ptr, ptr %92, align 8
%94 = load i32, ptr %30, align 4
%95 = sub nsw i32 %94, 1
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds i32, ptr %93, i64 %96
%98 = load i32, ptr %97, align 4
%99 = icmp sle i32 %87, %98
br i1 %99, label %100, label %494
100: ; preds = %86
%101 = load ptr, ptr %35, align 8
%102 = load i32, ptr %27, align 4
%103 = add nsw i32 %102, 1
%104 = sub nsw i32 %103, 1
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds double, ptr %101, i64 %105
%107 = load double, ptr %106, align 8
%108 = fadd double %107, -1.000000e+00
store double %108, ptr %106, align 8
%109 = load ptr, ptr %35, align 8
%110 = load ptr, ptr %25, align 8
%111 = load i32, ptr %29, align 4
%112 = sub nsw i32 %111, 1
%113 = sext i32 %112 to i64
%114 = getelementptr inbounds ptr, ptr %110, i64 %113
%115 = load ptr, ptr %114, align 8
%116 = load i32, ptr %30, align 4
%117 = sub nsw i32 %116, 1
%118 = sext i32 %117 to i64
%119 = getelementptr inbounds ptr, ptr %115, i64 %118
%120 = load ptr, ptr %119, align 8
%121 = load i32, ptr %31, align 4
%122 = sub nsw i32 %121, 1
%123 = sext i32 %122 to i64
%124 = getelementptr inbounds i32, ptr %120, i64 %123
%125 = load i32, ptr %124, align 4
%126 = sub nsw i32 %125, 1
%127 = sext i32 %126 to i64
%128 = getelementptr inbounds double, ptr %109, i64 %127
%129 = load double, ptr %128, align 8
%130 = fadd double %129, -1.000000e+00
store double %130, ptr %128, align 8
%131 = load ptr, ptr %25, align 8
%132 = load i32, ptr %29, align 4
%133 = sub nsw i32 %132, 1
%134 = sext i32 %133 to i64
%135 = getelementptr inbounds ptr, ptr %131, i64 %134
%136 = load ptr, ptr %135, align 8
%137 = load i32, ptr %30, align 4
%138 = sub nsw i32 %137, 1
%139 = sext i32 %138 to i64
%140 = getelementptr inbounds ptr, ptr %136, i64 %139
%141 = load ptr, ptr %140, align 8
%142 = load i32, ptr %31, align 4
%143 = sub nsw i32 %142, 1
%144 = sext i32 %143 to i64
%145 = getelementptr inbounds i32, ptr %141, i64 %144
%146 = load i32, ptr %145, align 4
%147 = load ptr, ptr %25, align 8
%148 = load i32, ptr %29, align 4
%149 = sub nsw i32 %148, 1
%150 = sext i32 %149 to i64
%151 = getelementptr inbounds ptr, ptr %147, i64 %150
%152 = load ptr, ptr %151, align 8
%153 = load i32, ptr %30, align 4
%154 = sub nsw i32 %153, 1
%155 = sext i32 %154 to i64
%156 = getelementptr inbounds ptr, ptr %152, i64 %155
%157 = load ptr, ptr %156, align 8
%158 = load i32, ptr %31, align 4
%159 = sub nsw i32 %158, 1
%160 = sext i32 %159 to i64
%161 = getelementptr inbounds i32, ptr %157, i64 %160
%162 = load i32, ptr %161, align 4
%163 = icmp eq i32 %146, %162
%164 = zext i1 %163 to i64
%165 = select i1 %163, i32 1, i32 0
%166 = sitofp i32 %165 to double
%167 = call double @llvm.fmuladd.f64(double -1.000000e+00, double %166, double 0.000000e+00)
%168 = load ptr, ptr %20, align 8
%169 = load ptr, ptr %25, align 8
%170 = load i32, ptr %29, align 4
%171 = sub nsw i32 %170, 1
%172 = sext i32 %171 to i64
%173 = getelementptr inbounds ptr, ptr %169, i64 %172
%174 = load ptr, ptr %173, align 8
%175 = load i32, ptr %30, align 4
%176 = sub nsw i32 %175, 1
%177 = sext i32 %176 to i64
%178 = getelementptr inbounds ptr, ptr %174, i64 %177
%179 = load ptr, ptr %178, align 8
%180 = load i32, ptr %31, align 4
%181 = sub nsw i32 %180, 1
%182 = sext i32 %181 to i64
%183 = getelementptr inbounds i32, ptr %179, i64 %182
%184 = load i32, ptr %183, align 4
%185 = sub nsw i32 %184, 1
%186 = sext i32 %185 to i64
%187 = getelementptr inbounds ptr, ptr %168, i64 %186
%188 = load ptr, ptr %187, align 8
%189 = load i32, ptr %28, align 4
%190 = add nsw i32 %189, 1
%191 = sub nsw i32 %190, 1
%192 = sext i32 %191 to i64
%193 = getelementptr inbounds double, ptr %188, i64 %192
%194 = load double, ptr %193, align 8
%195 = fadd double %194, %167
store double %195, ptr %193, align 8
%196 = load ptr, ptr %25, align 8
%197 = load i32, ptr %29, align 4
%198 = sub nsw i32 %197, 1
%199 = sext i32 %198 to i64
%200 = getelementptr inbounds ptr, ptr %196, i64 %199
%201 = load ptr, ptr %200, align 8
%202 = load i32, ptr %30, align 4
%203 = sub nsw i32 %202, 1
%204 = sext i32 %203 to i64
%205 = getelementptr inbounds ptr, ptr %201, i64 %204
%206 = load ptr, ptr %205, align 8
%207 = load i32, ptr %31, align 4
%208 = sub nsw i32 %207, 1
%209 = sext i32 %208 to i64
%210 = getelementptr inbounds i32, ptr %206, i64 %209
%211 = load i32, ptr %210, align 4
%212 = load ptr, ptr %25, align 8
%213 = load i32, ptr %29, align 4
%214 = sub nsw i32 %213, 1
%215 = sext i32 %214 to i64
%216 = getelementptr inbounds ptr, ptr %212, i64 %215
%217 = load ptr, ptr %216, align 8
%218 = load i32, ptr %30, align 4
%219 = sub nsw i32 %218, 1
%220 = sext i32 %219 to i64
%221 = getelementptr inbounds ptr, ptr %217, i64 %220
%222 = load ptr, ptr %221, align 8
%223 = load i32, ptr %31, align 4
%224 = sub nsw i32 %223, 1
%225 = sext i32 %224 to i64
%226 = getelementptr inbounds i32, ptr %222, i64 %225
%227 = load i32, ptr %226, align 4
%228 = icmp eq i32 %211, %227
%229 = zext i1 %228 to i64
%230 = select i1 %228, i32 1, i32 0
%231 = sitofp i32 %230 to double
%232 = call double @llvm.fmuladd.f64(double -1.000000e+00, double %231, double 0.000000e+00)
%233 = load ptr, ptr %20, align 8
%234 = load ptr, ptr %25, align 8
%235 = load i32, ptr %29, align 4
%236 = sub nsw i32 %235, 1
%237 = sext i32 %236 to i64
%238 = getelementptr inbounds ptr, ptr %234, i64 %237
%239 = load ptr, ptr %238, align 8
%240 = load i32, ptr %30, align 4
%241 = sub nsw i32 %240, 1
%242 = sext i32 %241 to i64
%243 = getelementptr inbounds ptr, ptr %239, i64 %242
%244 = load ptr, ptr %243, align 8
%245 = load i32, ptr %31, align 4
%246 = sub nsw i32 %245, 1
%247 = sext i32 %246 to i64
%248 = getelementptr inbounds i32, ptr %244, i64 %247
%249 = load i32, ptr %248, align 4
%250 = sub nsw i32 %249, 1
%251 = sext i32 %250 to i64
%252 = getelementptr inbounds ptr, ptr %233, i64 %251
%253 = load ptr, ptr %252, align 8
%254 = load ptr, ptr %24, align 8
%255 = load i32, ptr %29, align 4
%256 = sub nsw i32 %255, 1
%257 = sext i32 %256 to i64
%258 = getelementptr inbounds ptr, ptr %254, i64 %257
%259 = load ptr, ptr %258, align 8
%260 = load i32, ptr %30, align 4
%261 = sub nsw i32 %260, 1
%262 = sext i32 %261 to i64
%263 = getelementptr inbounds ptr, ptr %259, i64 %262
%264 = load ptr, ptr %263, align 8
%265 = load i32, ptr %31, align 4
%266 = sub nsw i32 %265, 1
%267 = sext i32 %266 to i64
%268 = getelementptr inbounds i32, ptr %264, i64 %267
%269 = load i32, ptr %268, align 4
%270 = sub nsw i32 %269, 1
%271 = sext i32 %270 to i64
%272 = getelementptr inbounds double, ptr %253, i64 %271
%273 = load double, ptr %272, align 8
%274 = fadd double %273, %232
store double %274, ptr %272, align 8
%275 = load ptr, ptr %24, align 8
%276 = load i32, ptr %29, align 4
%277 = sub nsw i32 %276, 1
%278 = sext i32 %277 to i64
%279 = getelementptr inbounds ptr, ptr %275, i64 %278
%280 = load ptr, ptr %279, align 8
%281 = load i32, ptr %30, align 4
%282 = sub nsw i32 %281, 1
%283 = sext i32 %282 to i64
%284 = getelementptr inbounds ptr, ptr %280, i64 %283
%285 = load ptr, ptr %284, align 8
%286 = load i32, ptr %31, align 4
%287 = sub nsw i32 %286, 1
%288 = sext i32 %287 to i64
%289 = getelementptr inbounds i32, ptr %285, i64 %288
%290 = load i32, ptr %289, align 4
%291 = load ptr, ptr %20, align 8
%292 = load ptr, ptr %35, align 8
%293 = load i32, ptr %28, align 4
%294 = load i32, ptr %27, align 4
%295 = load double, ptr %18, align 8
%296 = load double, ptr %19, align 8
%297 = load ptr, ptr %26, align 8
%298 = load i32, ptr %29, align 4
%299 = sub nsw i32 %298, 1
%300 = sext i32 %299 to i64
%301 = getelementptr inbounds ptr, ptr %297, i64 %300
%302 = load ptr, ptr %301, align 8
%303 = call i32 @sample_Mult_labeled(i32 noundef %290, ptr noundef %291, ptr noundef %292, i32 noundef %293, i32 noundef %294, double noundef %295, double noundef %296, ptr noundef %302)
%304 = load ptr, ptr %25, align 8
%305 = load i32, ptr %29, align 4
%306 = sub nsw i32 %305, 1
%307 = sext i32 %306 to i64
%308 = getelementptr inbounds ptr, ptr %304, i64 %307
%309 = load ptr, ptr %308, align 8
%310 = load i32, ptr %30, align 4
%311 = sub nsw i32 %310, 1
%312 = sext i32 %311 to i64
%313 = getelementptr inbounds ptr, ptr %309, i64 %312
%314 = load ptr, ptr %313, align 8
%315 = load i32, ptr %31, align 4
%316 = sub nsw i32 %315, 1
%317 = sext i32 %316 to i64
%318 = getelementptr inbounds i32, ptr %314, i64 %317
store i32 %303, ptr %318, align 4
%319 = load ptr, ptr %25, align 8
%320 = load i32, ptr %29, align 4
%321 = sub nsw i32 %320, 1
%322 = sext i32 %321 to i64
%323 = getelementptr inbounds ptr, ptr %319, i64 %322
%324 = load ptr, ptr %323, align 8
%325 = load i32, ptr %30, align 4
%326 = sub nsw i32 %325, 1
%327 = sext i32 %326 to i64
%328 = getelementptr inbounds ptr, ptr %324, i64 %327
%329 = load ptr, ptr %328, align 8
%330 = load i32, ptr %31, align 4
%331 = sub nsw i32 %330, 1
%332 = sext i32 %331 to i64
%333 = getelementptr inbounds i32, ptr %329, i64 %332
%334 = load i32, ptr %333, align 4
%335 = load ptr, ptr %25, align 8
%336 = load i32, ptr %29, align 4
%337 = sub nsw i32 %336, 1
%338 = sext i32 %337 to i64
%339 = getelementptr inbounds ptr, ptr %335, i64 %338
%340 = load ptr, ptr %339, align 8
%341 = load i32, ptr %30, align 4
%342 = sub nsw i32 %341, 1
%343 = sext i32 %342 to i64
%344 = getelementptr inbounds ptr, ptr %340, i64 %343
%345 = load ptr, ptr %344, align 8
%346 = load i32, ptr %31, align 4
%347 = sub nsw i32 %346, 1
%348 = sext i32 %347 to i64
%349 = getelementptr inbounds i32, ptr %345, i64 %348
%350 = load i32, ptr %349, align 4
%351 = icmp eq i32 %334, %350
%352 = zext i1 %351 to i64
%353 = select i1 %351, i32 1, i32 0
%354 = sitofp i32 %353 to double
%355 = load ptr, ptr %20, align 8
%356 = load ptr, ptr %25, align 8
%357 = load i32, ptr %29, align 4
%358 = sub nsw i32 %357, 1
%359 = sext i32 %358 to i64
%360 = getelementptr inbounds ptr, ptr %356, i64 %359
%361 = load ptr, ptr %360, align 8
%362 = load i32, ptr %30, align 4
%363 = sub nsw i32 %362, 1
%364 = sext i32 %363 to i64
%365 = getelementptr inbounds ptr, ptr %361, i64 %364
%366 = load ptr, ptr %365, align 8
%367 = load i32, ptr %31, align 4
%368 = sub nsw i32 %367, 1
%369 = sext i32 %368 to i64
%370 = getelementptr inbounds i32, ptr %366, i64 %369
%371 = load i32, ptr %370, align 4
%372 = sub nsw i32 %371, 1
%373 = sext i32 %372 to i64
%374 = getelementptr inbounds ptr, ptr %355, i64 %373
%375 = load ptr, ptr %374, align 8
%376 = load i32, ptr %28, align 4
%377 = add nsw i32 %376, 1
%378 = sub nsw i32 %377, 1
%379 = sext i32 %378 to i64
%380 = getelementptr inbounds double, ptr %375, i64 %379
%381 = load double, ptr %380, align 8
%382 = call double @llvm.fmuladd.f64(double 1.000000e+00, double %354, double %381)
store double %382, ptr %380, align 8
%383 = load ptr, ptr %25, align 8
%384 = load i32, ptr %29, align 4
%385 = sub nsw i32 %384, 1
%386 = sext i32 %385 to i64
%387 = getelementptr inbounds ptr, ptr %383, i64 %386
%388 = load ptr, ptr %387, align 8
%389 = load i32, ptr %30, align 4
%390 = sub nsw i32 %389, 1
%391 = sext i32 %390 to i64
%392 = getelementptr inbounds ptr, ptr %388, i64 %391
%393 = load ptr, ptr %392, align 8
%394 = load i32, ptr %31, align 4
%395 = sub nsw i32 %394, 1
%396 = sext i32 %395 to i64
%397 = getelementptr inbounds i32, ptr %393, i64 %396
%398 = load i32, ptr %397, align 4
%399 = load ptr, ptr %25, align 8
%400 = load i32, ptr %29, align 4
%401 = sub nsw i32 %400, 1
%402 = sext i32 %401 to i64
%403 = getelementptr inbounds ptr, ptr %399, i64 %402
%404 = load ptr, ptr %403, align 8
%405 = load i32, ptr %30, align 4
%406 = sub nsw i32 %405, 1
%407 = sext i32 %406 to i64
%408 = getelementptr inbounds ptr, ptr %404, i64 %407
%409 = load ptr, ptr %408, align 8
%410 = load i32, ptr %31, align 4
%411 = sub nsw i32 %410, 1
%412 = sext i32 %411 to i64
%413 = getelementptr inbounds i32, ptr %409, i64 %412
%414 = load i32, ptr %413, align 4
%415 = icmp eq i32 %398, %414
%416 = zext i1 %415 to i64
%417 = select i1 %415, i32 1, i32 0
%418 = sitofp i32 %417 to double
%419 = load ptr, ptr %20, align 8
%420 = load ptr, ptr %25, align 8
%421 = load i32, ptr %29, align 4
%422 = sub nsw i32 %421, 1
%423 = sext i32 %422 to i64
%424 = getelementptr inbounds ptr, ptr %420, i64 %423
%425 = load ptr, ptr %424, align 8
%426 = load i32, ptr %30, align 4
%427 = sub nsw i32 %426, 1
%428 = sext i32 %427 to i64
%429 = getelementptr inbounds ptr, ptr %425, i64 %428
%430 = load ptr, ptr %429, align 8
%431 = load i32, ptr %31, align 4
%432 = sub nsw i32 %431, 1
%433 = sext i32 %432 to i64
%434 = getelementptr inbounds i32, ptr %430, i64 %433
%435 = load i32, ptr %434, align 4
%436 = sub nsw i32 %435, 1
%437 = sext i32 %436 to i64
%438 = getelementptr inbounds ptr, ptr %419, i64 %437
%439 = load ptr, ptr %438, align 8
%440 = load ptr, ptr %24, align 8
%441 = load i32, ptr %29, align 4
%442 = sub nsw i32 %441, 1
%443 = sext i32 %442 to i64
%444 = getelementptr inbounds ptr, ptr %440, i64 %443
%445 = load ptr, ptr %444, align 8
%446 = load i32, ptr %30, align 4
%447 = sub nsw i32 %446, 1
%448 = sext i32 %447 to i64
%449 = getelementptr inbounds ptr, ptr %445, i64 %448
%450 = load ptr, ptr %449, align 8
%451 = load i32, ptr %31, align 4
%452 = sub nsw i32 %451, 1
%453 = sext i32 %452 to i64
%454 = getelementptr inbounds i32, ptr %450, i64 %453
%455 = load i32, ptr %454, align 4
%456 = sub nsw i32 %455, 1
%457 = sext i32 %456 to i64
%458 = getelementptr inbounds double, ptr %439, i64 %457
%459 = load double, ptr %458, align 8
%460 = call double @llvm.fmuladd.f64(double 1.000000e+00, double %418, double %459)
store double %460, ptr %458, align 8
%461 = load ptr, ptr %35, align 8
%462 = load i32, ptr %27, align 4
%463 = add nsw i32 %462, 1
%464 = sub nsw i32 %463, 1
%465 = sext i32 %464 to i64
%466 = getelementptr inbounds double, ptr %461, i64 %465
%467 = load double, ptr %466, align 8
%468 = fadd double %467, 1.000000e+00
store double %468, ptr %466, align 8
%469 = load ptr, ptr %35, align 8
%470 = load ptr, ptr %25, align 8
%471 = load i32, ptr %29, align 4
%472 = sub nsw i32 %471, 1
%473 = sext i32 %472 to i64
%474 = getelementptr inbounds ptr, ptr %470, i64 %473
%475 = load ptr, ptr %474, align 8
%476 = load i32, ptr %30, align 4
%477 = sub nsw i32 %476, 1
%478 = sext i32 %477 to i64
%479 = getelementptr inbounds ptr, ptr %475, i64 %478
%480 = load ptr, ptr %479, align 8
%481 = load i32, ptr %31, align 4
%482 = sub nsw i32 %481, 1
%483 = sext i32 %482 to i64
%484 = getelementptr inbounds i32, ptr %480, i64 %483
%485 = load i32, ptr %484, align 4
%486 = sub nsw i32 %485, 1
%487 = sext i32 %486 to i64
%488 = getelementptr inbounds double, ptr %469, i64 %487
%489 = load double, ptr %488, align 8
%490 = fadd double %489, 1.000000e+00
store double %490, ptr %488, align 8
br label %491
491: ; preds = %100
%492 = load i32, ptr %31, align 4
%493 = add nsw i32 %492, 1
store i32 %493, ptr %31, align 4
br label %86, !llvm.loop !6
494: ; preds = %86
br label %495
495: ; preds = %494
%496 = load i32, ptr %30, align 4
%497 = add nsw i32 %496, 1
store i32 %497, ptr %30, align 4
br label %76, !llvm.loop !8
498: ; preds = %76
br label %499
499: ; preds = %498
%500 = load i32, ptr %29, align 4
%501 = add nsw i32 %500, 1
store i32 %501, ptr %29, align 4
br label %45, !llvm.loop !9
502: ; preds = %45
%503 = load ptr, ptr %32, align 8
%504 = call i32 @free(ptr noundef %503)
ret void
}
declare i64 @malloc(i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare i32 @sample_Mult_labeled(i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, double noundef, double noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="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) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgx7afobg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @resample_z(i32 noundef %0, ptr noundef %1, ptr noundef %2, double noundef %3, double noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, i32 noundef %12, i32 noundef %13) #0 {
%15 = alloca i32, align 4
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca double, align 8
%19 = alloca double, align 8
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
%23 = alloca ptr, align 8
%24 = alloca ptr, align 8
%25 = alloca ptr, align 8
%26 = alloca ptr, align 8
%27 = alloca i32, align 4
%28 = alloca i32, align 4
%29 = alloca i32, align 4
%30 = alloca i32, align 4
%31 = alloca i32, align 4
%32 = alloca ptr, align 8
%33 = alloca i32, align 4
%34 = alloca i32, align 4
%35 = alloca ptr, align 8
store i32 %0, ptr %15, align 4
store ptr %1, ptr %16, align 8
store ptr %2, ptr %17, align 8
store double %3, ptr %18, align 8
store double %4, ptr %19, align 8
store ptr %5, ptr %20, align 8
store ptr %6, ptr %21, align 8
store ptr %7, ptr %22, align 8
store ptr %8, ptr %23, align 8
store ptr %9, ptr %24, align 8
store ptr %10, ptr %25, align 8
store ptr %11, ptr %26, align 8
store i32 %12, ptr %27, align 4
store i32 %13, ptr %28, align 4
%36 = load i32, ptr %27, align 4
%37 = add nsw i32 %36, 1
%38 = add nsw i32 1, %37
%39 = sub nsw i32 %38, 1
%40 = sext i32 %39 to i64
%41 = mul i64 8, %40
%42 = trunc i64 %41 to i32
%43 = call i64 @malloc(i32 noundef %42)
%44 = inttoptr i64 %43 to ptr
store ptr %44, ptr %32, align 8
store i32 1, ptr %29, align 4
%45 = load i32, ptr %29, align 4
%46 = load i32, ptr %15, align 4
%47 = icmp sle i32 %45, %46
br i1 %47, label %.lr.ph5, label %523
.lr.ph5: ; preds = %14
br label %48
48: ; preds = %.lr.ph5, %517
%49 = load ptr, ptr %23, align 8
%50 = load i32, ptr %29, align 4
%51 = sub nsw i32 %50, 1
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds i32, ptr %49, i64 %52
%54 = load i32, ptr %53, align 4
%55 = icmp eq i32 %54, -1
br i1 %55, label %56, label %63
56: ; preds = %48
%57 = load ptr, ptr %21, align 8
%58 = load i32, ptr %29, align 4
%59 = sub nsw i32 %58, 1
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds ptr, ptr %57, i64 %60
%62 = load ptr, ptr %61, align 8
store ptr %62, ptr %35, align 8
br label %74
63: ; preds = %48
%64 = load ptr, ptr %22, align 8
%65 = load ptr, ptr %23, align 8
%66 = load i32, ptr %29, align 4
%67 = sub nsw i32 %66, 1
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds i32, ptr %65, i64 %68
%70 = load i32, ptr %69, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds ptr, ptr %64, i64 %71
%73 = load ptr, ptr %72, align 8
store ptr %73, ptr %35, align 8
br label %74
74: ; preds = %63, %56
store i32 1, ptr %30, align 4
%75 = load i32, ptr %30, align 4
%76 = load ptr, ptr %17, align 8
%77 = load i32, ptr %29, align 4
%78 = sub nsw i32 %77, 1
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds i32, ptr %76, i64 %79
%81 = load i32, ptr %80, align 4
%82 = icmp sle i32 %75, %81
br i1 %82, label %.lr.ph2, label %516
.lr.ph2: ; preds = %74
br label %83
83: ; preds = %.lr.ph2, %505
store i32 1, ptr %31, align 4
%84 = load i32, ptr %31, align 4
%85 = load ptr, ptr %16, align 8
%86 = load i32, ptr %29, align 4
%87 = sub nsw i32 %86, 1
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds ptr, ptr %85, i64 %88
%90 = load ptr, ptr %89, align 8
%91 = load i32, ptr %30, align 4
%92 = sub nsw i32 %91, 1
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds i32, ptr %90, i64 %93
%95 = load i32, ptr %94, align 4
%96 = icmp sle i32 %84, %95
br i1 %96, label %.lr.ph, label %504
.lr.ph: ; preds = %83
br label %97
97: ; preds = %.lr.ph, %488
%98 = load ptr, ptr %35, align 8
%99 = load i32, ptr %27, align 4
%100 = add nsw i32 %99, 1
%101 = sub nsw i32 %100, 1
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds double, ptr %98, i64 %102
%104 = load double, ptr %103, align 8
%105 = fadd double %104, -1.000000e+00
store double %105, ptr %103, align 8
%106 = load ptr, ptr %35, align 8
%107 = load ptr, ptr %25, align 8
%108 = load i32, ptr %29, align 4
%109 = sub nsw i32 %108, 1
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds ptr, ptr %107, i64 %110
%112 = load ptr, ptr %111, align 8
%113 = load i32, ptr %30, align 4
%114 = sub nsw i32 %113, 1
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds ptr, ptr %112, i64 %115
%117 = load ptr, ptr %116, align 8
%118 = load i32, ptr %31, align 4
%119 = sub nsw i32 %118, 1
%120 = sext i32 %119 to i64
%121 = getelementptr inbounds i32, ptr %117, i64 %120
%122 = load i32, ptr %121, align 4
%123 = sub nsw i32 %122, 1
%124 = sext i32 %123 to i64
%125 = getelementptr inbounds double, ptr %106, i64 %124
%126 = load double, ptr %125, align 8
%127 = fadd double %126, -1.000000e+00
store double %127, ptr %125, align 8
%128 = load ptr, ptr %25, align 8
%129 = load i32, ptr %29, align 4
%130 = sub nsw i32 %129, 1
%131 = sext i32 %130 to i64
%132 = getelementptr inbounds ptr, ptr %128, i64 %131
%133 = load ptr, ptr %132, align 8
%134 = load i32, ptr %30, align 4
%135 = sub nsw i32 %134, 1
%136 = sext i32 %135 to i64
%137 = getelementptr inbounds ptr, ptr %133, i64 %136
%138 = load ptr, ptr %137, align 8
%139 = load i32, ptr %31, align 4
%140 = sub nsw i32 %139, 1
%141 = sext i32 %140 to i64
%142 = getelementptr inbounds i32, ptr %138, i64 %141
%143 = load i32, ptr %142, align 4
%144 = load ptr, ptr %25, align 8
%145 = load i32, ptr %29, align 4
%146 = sub nsw i32 %145, 1
%147 = sext i32 %146 to i64
%148 = getelementptr inbounds ptr, ptr %144, i64 %147
%149 = load ptr, ptr %148, align 8
%150 = load i32, ptr %30, align 4
%151 = sub nsw i32 %150, 1
%152 = sext i32 %151 to i64
%153 = getelementptr inbounds ptr, ptr %149, i64 %152
%154 = load ptr, ptr %153, align 8
%155 = load i32, ptr %31, align 4
%156 = sub nsw i32 %155, 1
%157 = sext i32 %156 to i64
%158 = getelementptr inbounds i32, ptr %154, i64 %157
%159 = load i32, ptr %158, align 4
%160 = icmp eq i32 %143, %159
%161 = zext i1 %160 to i64
%162 = select i1 %160, i32 1, i32 0
%163 = sitofp i32 %162 to double
%164 = call double @llvm.fmuladd.f64(double -1.000000e+00, double %163, double 0.000000e+00)
%165 = load ptr, ptr %20, align 8
%166 = load ptr, ptr %25, align 8
%167 = load i32, ptr %29, align 4
%168 = sub nsw i32 %167, 1
%169 = sext i32 %168 to i64
%170 = getelementptr inbounds ptr, ptr %166, i64 %169
%171 = load ptr, ptr %170, align 8
%172 = load i32, ptr %30, align 4
%173 = sub nsw i32 %172, 1
%174 = sext i32 %173 to i64
%175 = getelementptr inbounds ptr, ptr %171, i64 %174
%176 = load ptr, ptr %175, align 8
%177 = load i32, ptr %31, align 4
%178 = sub nsw i32 %177, 1
%179 = sext i32 %178 to i64
%180 = getelementptr inbounds i32, ptr %176, i64 %179
%181 = load i32, ptr %180, align 4
%182 = sub nsw i32 %181, 1
%183 = sext i32 %182 to i64
%184 = getelementptr inbounds ptr, ptr %165, i64 %183
%185 = load ptr, ptr %184, align 8
%186 = load i32, ptr %28, align 4
%187 = add nsw i32 %186, 1
%188 = sub nsw i32 %187, 1
%189 = sext i32 %188 to i64
%190 = getelementptr inbounds double, ptr %185, i64 %189
%191 = load double, ptr %190, align 8
%192 = fadd double %191, %164
store double %192, ptr %190, align 8
%193 = load ptr, ptr %25, align 8
%194 = load i32, ptr %29, align 4
%195 = sub nsw i32 %194, 1
%196 = sext i32 %195 to i64
%197 = getelementptr inbounds ptr, ptr %193, i64 %196
%198 = load ptr, ptr %197, align 8
%199 = load i32, ptr %30, align 4
%200 = sub nsw i32 %199, 1
%201 = sext i32 %200 to i64
%202 = getelementptr inbounds ptr, ptr %198, i64 %201
%203 = load ptr, ptr %202, align 8
%204 = load i32, ptr %31, align 4
%205 = sub nsw i32 %204, 1
%206 = sext i32 %205 to i64
%207 = getelementptr inbounds i32, ptr %203, i64 %206
%208 = load i32, ptr %207, align 4
%209 = load ptr, ptr %25, align 8
%210 = load i32, ptr %29, align 4
%211 = sub nsw i32 %210, 1
%212 = sext i32 %211 to i64
%213 = getelementptr inbounds ptr, ptr %209, i64 %212
%214 = load ptr, ptr %213, align 8
%215 = load i32, ptr %30, align 4
%216 = sub nsw i32 %215, 1
%217 = sext i32 %216 to i64
%218 = getelementptr inbounds ptr, ptr %214, i64 %217
%219 = load ptr, ptr %218, align 8
%220 = load i32, ptr %31, align 4
%221 = sub nsw i32 %220, 1
%222 = sext i32 %221 to i64
%223 = getelementptr inbounds i32, ptr %219, i64 %222
%224 = load i32, ptr %223, align 4
%225 = icmp eq i32 %208, %224
%226 = zext i1 %225 to i64
%227 = select i1 %225, i32 1, i32 0
%228 = sitofp i32 %227 to double
%229 = call double @llvm.fmuladd.f64(double -1.000000e+00, double %228, double 0.000000e+00)
%230 = load ptr, ptr %20, align 8
%231 = load ptr, ptr %25, align 8
%232 = load i32, ptr %29, align 4
%233 = sub nsw i32 %232, 1
%234 = sext i32 %233 to i64
%235 = getelementptr inbounds ptr, ptr %231, i64 %234
%236 = load ptr, ptr %235, align 8
%237 = load i32, ptr %30, align 4
%238 = sub nsw i32 %237, 1
%239 = sext i32 %238 to i64
%240 = getelementptr inbounds ptr, ptr %236, i64 %239
%241 = load ptr, ptr %240, align 8
%242 = load i32, ptr %31, align 4
%243 = sub nsw i32 %242, 1
%244 = sext i32 %243 to i64
%245 = getelementptr inbounds i32, ptr %241, i64 %244
%246 = load i32, ptr %245, align 4
%247 = sub nsw i32 %246, 1
%248 = sext i32 %247 to i64
%249 = getelementptr inbounds ptr, ptr %230, i64 %248
%250 = load ptr, ptr %249, align 8
%251 = load ptr, ptr %24, align 8
%252 = load i32, ptr %29, align 4
%253 = sub nsw i32 %252, 1
%254 = sext i32 %253 to i64
%255 = getelementptr inbounds ptr, ptr %251, i64 %254
%256 = load ptr, ptr %255, align 8
%257 = load i32, ptr %30, align 4
%258 = sub nsw i32 %257, 1
%259 = sext i32 %258 to i64
%260 = getelementptr inbounds ptr, ptr %256, i64 %259
%261 = load ptr, ptr %260, align 8
%262 = load i32, ptr %31, align 4
%263 = sub nsw i32 %262, 1
%264 = sext i32 %263 to i64
%265 = getelementptr inbounds i32, ptr %261, i64 %264
%266 = load i32, ptr %265, align 4
%267 = sub nsw i32 %266, 1
%268 = sext i32 %267 to i64
%269 = getelementptr inbounds double, ptr %250, i64 %268
%270 = load double, ptr %269, align 8
%271 = fadd double %270, %229
store double %271, ptr %269, align 8
%272 = load ptr, ptr %24, align 8
%273 = load i32, ptr %29, align 4
%274 = sub nsw i32 %273, 1
%275 = sext i32 %274 to i64
%276 = getelementptr inbounds ptr, ptr %272, i64 %275
%277 = load ptr, ptr %276, align 8
%278 = load i32, ptr %30, align 4
%279 = sub nsw i32 %278, 1
%280 = sext i32 %279 to i64
%281 = getelementptr inbounds ptr, ptr %277, i64 %280
%282 = load ptr, ptr %281, align 8
%283 = load i32, ptr %31, align 4
%284 = sub nsw i32 %283, 1
%285 = sext i32 %284 to i64
%286 = getelementptr inbounds i32, ptr %282, i64 %285
%287 = load i32, ptr %286, align 4
%288 = load ptr, ptr %20, align 8
%289 = load ptr, ptr %35, align 8
%290 = load i32, ptr %28, align 4
%291 = load i32, ptr %27, align 4
%292 = load double, ptr %18, align 8
%293 = load double, ptr %19, align 8
%294 = load ptr, ptr %26, align 8
%295 = load i32, ptr %29, align 4
%296 = sub nsw i32 %295, 1
%297 = sext i32 %296 to i64
%298 = getelementptr inbounds ptr, ptr %294, i64 %297
%299 = load ptr, ptr %298, align 8
%300 = call i32 @sample_Mult_labeled(i32 noundef %287, ptr noundef %288, ptr noundef %289, i32 noundef %290, i32 noundef %291, double noundef %292, double noundef %293, ptr noundef %299)
%301 = load ptr, ptr %25, align 8
%302 = load i32, ptr %29, align 4
%303 = sub nsw i32 %302, 1
%304 = sext i32 %303 to i64
%305 = getelementptr inbounds ptr, ptr %301, i64 %304
%306 = load ptr, ptr %305, align 8
%307 = load i32, ptr %30, align 4
%308 = sub nsw i32 %307, 1
%309 = sext i32 %308 to i64
%310 = getelementptr inbounds ptr, ptr %306, i64 %309
%311 = load ptr, ptr %310, align 8
%312 = load i32, ptr %31, align 4
%313 = sub nsw i32 %312, 1
%314 = sext i32 %313 to i64
%315 = getelementptr inbounds i32, ptr %311, i64 %314
store i32 %300, ptr %315, align 4
%316 = load ptr, ptr %25, align 8
%317 = load i32, ptr %29, align 4
%318 = sub nsw i32 %317, 1
%319 = sext i32 %318 to i64
%320 = getelementptr inbounds ptr, ptr %316, i64 %319
%321 = load ptr, ptr %320, align 8
%322 = load i32, ptr %30, align 4
%323 = sub nsw i32 %322, 1
%324 = sext i32 %323 to i64
%325 = getelementptr inbounds ptr, ptr %321, i64 %324
%326 = load ptr, ptr %325, align 8
%327 = load i32, ptr %31, align 4
%328 = sub nsw i32 %327, 1
%329 = sext i32 %328 to i64
%330 = getelementptr inbounds i32, ptr %326, i64 %329
%331 = load i32, ptr %330, align 4
%332 = load ptr, ptr %25, align 8
%333 = load i32, ptr %29, align 4
%334 = sub nsw i32 %333, 1
%335 = sext i32 %334 to i64
%336 = getelementptr inbounds ptr, ptr %332, i64 %335
%337 = load ptr, ptr %336, align 8
%338 = load i32, ptr %30, align 4
%339 = sub nsw i32 %338, 1
%340 = sext i32 %339 to i64
%341 = getelementptr inbounds ptr, ptr %337, i64 %340
%342 = load ptr, ptr %341, align 8
%343 = load i32, ptr %31, align 4
%344 = sub nsw i32 %343, 1
%345 = sext i32 %344 to i64
%346 = getelementptr inbounds i32, ptr %342, i64 %345
%347 = load i32, ptr %346, align 4
%348 = icmp eq i32 %331, %347
%349 = zext i1 %348 to i64
%350 = select i1 %348, i32 1, i32 0
%351 = sitofp i32 %350 to double
%352 = load ptr, ptr %20, align 8
%353 = load ptr, ptr %25, align 8
%354 = load i32, ptr %29, align 4
%355 = sub nsw i32 %354, 1
%356 = sext i32 %355 to i64
%357 = getelementptr inbounds ptr, ptr %353, i64 %356
%358 = load ptr, ptr %357, align 8
%359 = load i32, ptr %30, align 4
%360 = sub nsw i32 %359, 1
%361 = sext i32 %360 to i64
%362 = getelementptr inbounds ptr, ptr %358, i64 %361
%363 = load ptr, ptr %362, align 8
%364 = load i32, ptr %31, align 4
%365 = sub nsw i32 %364, 1
%366 = sext i32 %365 to i64
%367 = getelementptr inbounds i32, ptr %363, i64 %366
%368 = load i32, ptr %367, align 4
%369 = sub nsw i32 %368, 1
%370 = sext i32 %369 to i64
%371 = getelementptr inbounds ptr, ptr %352, i64 %370
%372 = load ptr, ptr %371, align 8
%373 = load i32, ptr %28, align 4
%374 = add nsw i32 %373, 1
%375 = sub nsw i32 %374, 1
%376 = sext i32 %375 to i64
%377 = getelementptr inbounds double, ptr %372, i64 %376
%378 = load double, ptr %377, align 8
%379 = call double @llvm.fmuladd.f64(double 1.000000e+00, double %351, double %378)
store double %379, ptr %377, align 8
%380 = load ptr, ptr %25, align 8
%381 = load i32, ptr %29, align 4
%382 = sub nsw i32 %381, 1
%383 = sext i32 %382 to i64
%384 = getelementptr inbounds ptr, ptr %380, i64 %383
%385 = load ptr, ptr %384, align 8
%386 = load i32, ptr %30, align 4
%387 = sub nsw i32 %386, 1
%388 = sext i32 %387 to i64
%389 = getelementptr inbounds ptr, ptr %385, i64 %388
%390 = load ptr, ptr %389, align 8
%391 = load i32, ptr %31, align 4
%392 = sub nsw i32 %391, 1
%393 = sext i32 %392 to i64
%394 = getelementptr inbounds i32, ptr %390, i64 %393
%395 = load i32, ptr %394, align 4
%396 = load ptr, ptr %25, align 8
%397 = load i32, ptr %29, align 4
%398 = sub nsw i32 %397, 1
%399 = sext i32 %398 to i64
%400 = getelementptr inbounds ptr, ptr %396, i64 %399
%401 = load ptr, ptr %400, align 8
%402 = load i32, ptr %30, align 4
%403 = sub nsw i32 %402, 1
%404 = sext i32 %403 to i64
%405 = getelementptr inbounds ptr, ptr %401, i64 %404
%406 = load ptr, ptr %405, align 8
%407 = load i32, ptr %31, align 4
%408 = sub nsw i32 %407, 1
%409 = sext i32 %408 to i64
%410 = getelementptr inbounds i32, ptr %406, i64 %409
%411 = load i32, ptr %410, align 4
%412 = icmp eq i32 %395, %411
%413 = zext i1 %412 to i64
%414 = select i1 %412, i32 1, i32 0
%415 = sitofp i32 %414 to double
%416 = load ptr, ptr %20, align 8
%417 = load ptr, ptr %25, align 8
%418 = load i32, ptr %29, align 4
%419 = sub nsw i32 %418, 1
%420 = sext i32 %419 to i64
%421 = getelementptr inbounds ptr, ptr %417, i64 %420
%422 = load ptr, ptr %421, align 8
%423 = load i32, ptr %30, align 4
%424 = sub nsw i32 %423, 1
%425 = sext i32 %424 to i64
%426 = getelementptr inbounds ptr, ptr %422, i64 %425
%427 = load ptr, ptr %426, align 8
%428 = load i32, ptr %31, align 4
%429 = sub nsw i32 %428, 1
%430 = sext i32 %429 to i64
%431 = getelementptr inbounds i32, ptr %427, i64 %430
%432 = load i32, ptr %431, align 4
%433 = sub nsw i32 %432, 1
%434 = sext i32 %433 to i64
%435 = getelementptr inbounds ptr, ptr %416, i64 %434
%436 = load ptr, ptr %435, align 8
%437 = load ptr, ptr %24, align 8
%438 = load i32, ptr %29, align 4
%439 = sub nsw i32 %438, 1
%440 = sext i32 %439 to i64
%441 = getelementptr inbounds ptr, ptr %437, i64 %440
%442 = load ptr, ptr %441, align 8
%443 = load i32, ptr %30, align 4
%444 = sub nsw i32 %443, 1
%445 = sext i32 %444 to i64
%446 = getelementptr inbounds ptr, ptr %442, i64 %445
%447 = load ptr, ptr %446, align 8
%448 = load i32, ptr %31, align 4
%449 = sub nsw i32 %448, 1
%450 = sext i32 %449 to i64
%451 = getelementptr inbounds i32, ptr %447, i64 %450
%452 = load i32, ptr %451, align 4
%453 = sub nsw i32 %452, 1
%454 = sext i32 %453 to i64
%455 = getelementptr inbounds double, ptr %436, i64 %454
%456 = load double, ptr %455, align 8
%457 = call double @llvm.fmuladd.f64(double 1.000000e+00, double %415, double %456)
store double %457, ptr %455, align 8
%458 = load ptr, ptr %35, align 8
%459 = load i32, ptr %27, align 4
%460 = add nsw i32 %459, 1
%461 = sub nsw i32 %460, 1
%462 = sext i32 %461 to i64
%463 = getelementptr inbounds double, ptr %458, i64 %462
%464 = load double, ptr %463, align 8
%465 = fadd double %464, 1.000000e+00
store double %465, ptr %463, align 8
%466 = load ptr, ptr %35, align 8
%467 = load ptr, ptr %25, align 8
%468 = load i32, ptr %29, align 4
%469 = sub nsw i32 %468, 1
%470 = sext i32 %469 to i64
%471 = getelementptr inbounds ptr, ptr %467, i64 %470
%472 = load ptr, ptr %471, align 8
%473 = load i32, ptr %30, align 4
%474 = sub nsw i32 %473, 1
%475 = sext i32 %474 to i64
%476 = getelementptr inbounds ptr, ptr %472, i64 %475
%477 = load ptr, ptr %476, align 8
%478 = load i32, ptr %31, align 4
%479 = sub nsw i32 %478, 1
%480 = sext i32 %479 to i64
%481 = getelementptr inbounds i32, ptr %477, i64 %480
%482 = load i32, ptr %481, align 4
%483 = sub nsw i32 %482, 1
%484 = sext i32 %483 to i64
%485 = getelementptr inbounds double, ptr %466, i64 %484
%486 = load double, ptr %485, align 8
%487 = fadd double %486, 1.000000e+00
store double %487, ptr %485, align 8
br label %488
488: ; preds = %97
%489 = load i32, ptr %31, align 4
%490 = add nsw i32 %489, 1
store i32 %490, ptr %31, align 4
%491 = load i32, ptr %31, align 4
%492 = load ptr, ptr %16, align 8
%493 = load i32, ptr %29, align 4
%494 = sub nsw i32 %493, 1
%495 = sext i32 %494 to i64
%496 = getelementptr inbounds ptr, ptr %492, i64 %495
%497 = load ptr, ptr %496, align 8
%498 = load i32, ptr %30, align 4
%499 = sub nsw i32 %498, 1
%500 = sext i32 %499 to i64
%501 = getelementptr inbounds i32, ptr %497, i64 %500
%502 = load i32, ptr %501, align 4
%503 = icmp sle i32 %491, %502
br i1 %503, label %97, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %488
br label %504
504: ; preds = %._crit_edge, %83
br label %505
505: ; preds = %504
%506 = load i32, ptr %30, align 4
%507 = add nsw i32 %506, 1
store i32 %507, ptr %30, align 4
%508 = load i32, ptr %30, align 4
%509 = load ptr, ptr %17, align 8
%510 = load i32, ptr %29, align 4
%511 = sub nsw i32 %510, 1
%512 = sext i32 %511 to i64
%513 = getelementptr inbounds i32, ptr %509, i64 %512
%514 = load i32, ptr %513, align 4
%515 = icmp sle i32 %508, %514
br i1 %515, label %83, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %505
br label %516
516: ; preds = %._crit_edge3, %74
br label %517
517: ; preds = %516
%518 = load i32, ptr %29, align 4
%519 = add nsw i32 %518, 1
store i32 %519, ptr %29, align 4
%520 = load i32, ptr %29, align 4
%521 = load i32, ptr %15, align 4
%522 = icmp sle i32 %520, %521
br i1 %522, label %48, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %517
br label %523
523: ; preds = %._crit_edge6, %14
%524 = load ptr, ptr %32, align 8
%525 = call i32 @free(ptr noundef %524)
ret void
}
declare i64 @malloc(i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare i32 @sample_Mult_labeled(i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, double noundef, double noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="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) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpmlzdpu6w.c'
source_filename = "/tmp/tmpmlzdpu6w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @increase(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @increase_1(ptr noundef %3)
ret void
}
declare i32 @increase_1(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmlzdpu6w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @increase(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @increase_1(ptr noundef %3)
ret void
}
declare i32 @increase_1(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpf9khc_w5.c'
source_filename = "/tmp/tmpf9khc_w5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.ifconf = type { i32, ptr, ptr }
%struct.ifreq = type { i32, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i64 }
%struct.sockaddr_in = type { i32 }
@BUFSIZ = dso_local global i32 0, align 4
@AF_INET = dso_local global i64 0, align 8
@SOCK_DGRAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"get_myaddress: socket\00", align 1
@SIOCGIFCONF = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [51 x i8] c"get_myaddress: ioctl (get interface configuration)\00", align 1
@SIOCGIFFLAGS = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [21 x i8] c"get_myaddress: ioctl\00", align 1
@IFF_UP = dso_local global i32 0, align 4
@IFF_LOOPBACK = dso_local global i32 0, align 4
@PMAPPORT = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @get_myaddress(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca %struct.ifconf, align 8
%7 = alloca %struct.ifreq, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%12 = load i32, ptr @BUFSIZ, align 4
%13 = zext i32 %12 to i64
%14 = call ptr @llvm.stacksave()
store ptr %14, ptr %4, align 8
%15 = alloca i8, i64 %13, align 16
store i64 %13, ptr %5, align 8
store i32 0, ptr %10, align 4
%16 = load i64, ptr @AF_INET, align 8
%17 = load i32, ptr @SOCK_DGRAM, align 4
%18 = call i32 @__socket(i64 noundef %16, i32 noundef %17, i32 noundef 0)
store i32 %18, ptr %3, align 4
%19 = icmp slt i32 %18, 0
br i1 %19, label %20, label %23
20: ; preds = %1
%21 = call i32 @perror(ptr noundef @.str)
%22 = call i32 @exit(i32 noundef 1) #5
unreachable
23: ; preds = %1
%24 = trunc i64 %13 to i32
%25 = getelementptr inbounds %struct.ifconf, ptr %6, i32 0, i32 0
store i32 %24, ptr %25, align 8
%26 = getelementptr inbounds %struct.ifconf, ptr %6, i32 0, i32 1
store ptr %15, ptr %26, align 8
%27 = load i32, ptr %3, align 4
%28 = load i32, ptr @SIOCGIFCONF, align 4
%29 = call i64 @__ioctl(i32 noundef %27, i32 noundef %28, ptr noundef %6)
%30 = icmp slt i64 %29, 0
br i1 %30, label %31, label %35
31: ; preds = %23
%32 = call ptr @_(ptr noundef @.str.1)
%33 = call i32 @perror(ptr noundef %32)
%34 = call i32 @exit(i32 noundef 1) #5
unreachable
35: ; preds = %23
br label %36
36: ; preds = %102, %35
%37 = getelementptr inbounds %struct.ifconf, ptr %6, i32 0, i32 2
%38 = load ptr, ptr %37, align 8
store ptr %38, ptr %8, align 8
%39 = getelementptr inbounds %struct.ifconf, ptr %6, i32 0, i32 0
%40 = load i32, ptr %39, align 8
store i32 %40, ptr %9, align 4
br label %41
41: ; preds = %94, %36
%42 = load i32, ptr %9, align 4
%43 = icmp ne i32 %42, 0
br i1 %43, label %44, label %99
44: ; preds = %41
%45 = load ptr, ptr %8, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 8 %7, ptr align 8 %45, i64 16, i1 false)
%46 = load i32, ptr %3, align 4
%47 = load i32, ptr @SIOCGIFFLAGS, align 4
%48 = call i64 @__ioctl(i32 noundef %46, i32 noundef %47, ptr noundef %7)
%49 = icmp slt i64 %48, 0
br i1 %49, label %50, label %53
50: ; preds = %44
%51 = call i32 @perror(ptr noundef @.str.2)
%52 = call i32 @exit(i32 noundef 1) #5
unreachable
53: ; preds = %44
%54 = getelementptr inbounds %struct.ifreq, ptr %7, i32 0, i32 0
%55 = load i32, ptr %54, align 8
%56 = load i32, ptr @IFF_UP, align 4
%57 = and i32 %55, %56
%58 = icmp ne i32 %57, 0
br i1 %58, label %59, label %91
59: ; preds = %53
%60 = load ptr, ptr %8, align 8
%61 = getelementptr inbounds %struct.ifreq, ptr %60, i32 0, i32 1
%62 = getelementptr inbounds %struct.TYPE_2__, ptr %61, i32 0, i32 0
%63 = load i64, ptr %62, align 8
%64 = load i64, ptr @AF_INET, align 8
%65 = icmp eq i64 %63, %64
br i1 %65, label %66, label %91
66: ; preds = %59
%67 = getelementptr inbounds %struct.ifreq, ptr %7, i32 0, i32 0
%68 = load i32, ptr %67, align 8
%69 = load i32, ptr @IFF_LOOPBACK, align 4
%70 = and i32 %68, %69
%71 = icmp ne i32 %70, 0
br i1 %71, label %72, label %81
72: ; preds = %66
%73 = load i32, ptr %10, align 4
%74 = icmp eq i32 %73, 1
br i1 %74, label %75, label %91
75: ; preds = %72
%76 = getelementptr inbounds %struct.ifreq, ptr %7, i32 0, i32 0
%77 = load i32, ptr %76, align 8
%78 = load i32, ptr @IFF_LOOPBACK, align 4
%79 = and i32 %77, %78
%80 = icmp ne i32 %79, 0
br i1 %80, label %81, label %91
81: ; preds = %75, %66
%82 = load ptr, ptr %2, align 8
%83 = load ptr, ptr %8, align 8
%84 = getelementptr inbounds %struct.ifreq, ptr %83, i32 0, i32 1
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %82, ptr align 8 %84, i64 4, i1 false)
%85 = load i32, ptr @PMAPPORT, align 4
%86 = call i32 @htons(i32 noundef %85)
%87 = load ptr, ptr %2, align 8
%88 = getelementptr inbounds %struct.sockaddr_in, ptr %87, i32 0, i32 0
store i32 %86, ptr %88, align 4
%89 = load i32, ptr %3, align 4
%90 = call i32 @__close(i32 noundef %89)
store i32 1, ptr %11, align 4
br label %106
91: ; preds = %75, %72, %59, %53
%92 = load ptr, ptr %8, align 8
%93 = getelementptr inbounds %struct.ifreq, ptr %92, i32 1
store ptr %93, ptr %8, align 8
br label %94
94: ; preds = %91
%95 = load i32, ptr %9, align 4
%96 = sext i32 %95 to i64
%97 = sub i64 %96, 16
%98 = trunc i64 %97 to i32
store i32 %98, ptr %9, align 4
br label %41, !llvm.loop !6
99: ; preds = %41
%100 = load i32, ptr %10, align 4
%101 = icmp eq i32 %100, 0
br i1 %101, label %102, label %103
102: ; preds = %99
store i32 1, ptr %10, align 4
br label %36
103: ; preds = %99
%104 = load i32, ptr %3, align 4
%105 = call i32 @__close(i32 noundef %104)
store i32 0, ptr %11, align 4
br label %106
106: ; preds = %103, %81
%107 = load ptr, ptr %4, align 8
call void @llvm.stackrestore(ptr %107)
%108 = load i32, ptr %11, align 4
switch i32 %108, label %110 [
i32 0, label %109
i32 1, label %109
]
109: ; preds = %106, %106
ret void
110: ; preds = %106
unreachable
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @__socket(i64 noundef, i32 noundef, i32 noundef) #2
declare i32 @perror(ptr noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
declare i64 @__ioctl(i32 noundef, i32 noundef, ptr noundef) #2
declare ptr @_(ptr noundef) #2
; 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) #4
declare i32 @htons(i32 noundef) #2
declare i32 @__close(i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpf9khc_w5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.ifconf = type { i32, ptr, ptr }
%struct.ifreq = type { i32, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i64 }
%struct.sockaddr_in = type { i32 }
@BUFSIZ = dso_local global i32 0, align 4
@AF_INET = dso_local global i64 0, align 8
@SOCK_DGRAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"get_myaddress: socket\00", align 1
@SIOCGIFCONF = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [51 x i8] c"get_myaddress: ioctl (get interface configuration)\00", align 1
@SIOCGIFFLAGS = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [21 x i8] c"get_myaddress: ioctl\00", align 1
@IFF_UP = dso_local global i32 0, align 4
@IFF_LOOPBACK = dso_local global i32 0, align 4
@PMAPPORT = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @get_myaddress(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca %struct.ifconf, align 8
%7 = alloca %struct.ifreq, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%12 = load i32, ptr @BUFSIZ, align 4
%13 = zext i32 %12 to i64
%14 = call ptr @llvm.stacksave()
store ptr %14, ptr %4, align 8
%15 = alloca i8, i64 %13, align 16
store i64 %13, ptr %5, align 8
store i32 0, ptr %10, align 4
%16 = load i64, ptr @AF_INET, align 8
%17 = load i32, ptr @SOCK_DGRAM, align 4
%18 = call i32 @__socket(i64 noundef %16, i32 noundef %17, i32 noundef 0)
store i32 %18, ptr %3, align 4
%19 = icmp slt i32 %18, 0
br i1 %19, label %20, label %23
20: ; preds = %1
%21 = call i32 @perror(ptr noundef @.str)
%22 = call i32 @exit(i32 noundef 1) #5
unreachable
23: ; preds = %1
%24 = trunc i64 %13 to i32
%25 = getelementptr inbounds %struct.ifconf, ptr %6, i32 0, i32 0
store i32 %24, ptr %25, align 8
%26 = getelementptr inbounds %struct.ifconf, ptr %6, i32 0, i32 1
store ptr %15, ptr %26, align 8
%27 = load i32, ptr %3, align 4
%28 = load i32, ptr @SIOCGIFCONF, align 4
%29 = call i64 @__ioctl(i32 noundef %27, i32 noundef %28, ptr noundef %6)
%30 = icmp slt i64 %29, 0
br i1 %30, label %31, label %35
31: ; preds = %23
%32 = call ptr @_(ptr noundef @.str.1)
%33 = call i32 @perror(ptr noundef %32)
%34 = call i32 @exit(i32 noundef 1) #5
unreachable
35: ; preds = %23
br label %36
36: ; preds = %103, %35
%37 = getelementptr inbounds %struct.ifconf, ptr %6, i32 0, i32 2
%38 = load ptr, ptr %37, align 8
store ptr %38, ptr %8, align 8
%39 = getelementptr inbounds %struct.ifconf, ptr %6, i32 0, i32 0
%40 = load i32, ptr %39, align 8
store i32 %40, ptr %9, align 4
%41 = load i32, ptr %9, align 4
%42 = icmp ne i32 %41, 0
br i1 %42, label %.lr.ph, label %100
.lr.ph: ; preds = %36
br label %43
43: ; preds = %.lr.ph, %93
%44 = load ptr, ptr %8, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 8 %7, ptr align 8 %44, i64 16, i1 false)
%45 = load i32, ptr %3, align 4
%46 = load i32, ptr @SIOCGIFFLAGS, align 4
%47 = call i64 @__ioctl(i32 noundef %45, i32 noundef %46, ptr noundef %7)
%48 = icmp slt i64 %47, 0
br i1 %48, label %49, label %52
49: ; preds = %43
%50 = call i32 @perror(ptr noundef @.str.2)
%51 = call i32 @exit(i32 noundef 1) #5
unreachable
52: ; preds = %43
%53 = getelementptr inbounds %struct.ifreq, ptr %7, i32 0, i32 0
%54 = load i32, ptr %53, align 8
%55 = load i32, ptr @IFF_UP, align 4
%56 = and i32 %54, %55
%57 = icmp ne i32 %56, 0
br i1 %57, label %58, label %90
58: ; preds = %52
%59 = load ptr, ptr %8, align 8
%60 = getelementptr inbounds %struct.ifreq, ptr %59, i32 0, i32 1
%61 = getelementptr inbounds %struct.TYPE_2__, ptr %60, i32 0, i32 0
%62 = load i64, ptr %61, align 8
%63 = load i64, ptr @AF_INET, align 8
%64 = icmp eq i64 %62, %63
br i1 %64, label %65, label %90
65: ; preds = %58
%66 = getelementptr inbounds %struct.ifreq, ptr %7, i32 0, i32 0
%67 = load i32, ptr %66, align 8
%68 = load i32, ptr @IFF_LOOPBACK, align 4
%69 = and i32 %67, %68
%70 = icmp ne i32 %69, 0
br i1 %70, label %71, label %80
71: ; preds = %65
%72 = load i32, ptr %10, align 4
%73 = icmp eq i32 %72, 1
br i1 %73, label %74, label %90
74: ; preds = %71
%75 = getelementptr inbounds %struct.ifreq, ptr %7, i32 0, i32 0
%76 = load i32, ptr %75, align 8
%77 = load i32, ptr @IFF_LOOPBACK, align 4
%78 = and i32 %76, %77
%79 = icmp ne i32 %78, 0
br i1 %79, label %80, label %90
80: ; preds = %74, %65
%81 = load ptr, ptr %2, align 8
%82 = load ptr, ptr %8, align 8
%83 = getelementptr inbounds %struct.ifreq, ptr %82, i32 0, i32 1
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %81, ptr align 8 %83, i64 4, i1 false)
%84 = load i32, ptr @PMAPPORT, align 4
%85 = call i32 @htons(i32 noundef %84)
%86 = load ptr, ptr %2, align 8
%87 = getelementptr inbounds %struct.sockaddr_in, ptr %86, i32 0, i32 0
store i32 %85, ptr %87, align 4
%88 = load i32, ptr %3, align 4
%89 = call i32 @__close(i32 noundef %88)
store i32 1, ptr %11, align 4
br label %107
90: ; preds = %74, %71, %58, %52
%91 = load ptr, ptr %8, align 8
%92 = getelementptr inbounds %struct.ifreq, ptr %91, i32 1
store ptr %92, ptr %8, align 8
br label %93
93: ; preds = %90
%94 = load i32, ptr %9, align 4
%95 = sext i32 %94 to i64
%96 = sub i64 %95, 16
%97 = trunc i64 %96 to i32
store i32 %97, ptr %9, align 4
%98 = load i32, ptr %9, align 4
%99 = icmp ne i32 %98, 0
br i1 %99, label %43, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %93
br label %100
100: ; preds = %._crit_edge, %36
%101 = load i32, ptr %10, align 4
%102 = icmp eq i32 %101, 0
br i1 %102, label %103, label %104
103: ; preds = %100
store i32 1, ptr %10, align 4
br label %36
104: ; preds = %100
%105 = load i32, ptr %3, align 4
%106 = call i32 @__close(i32 noundef %105)
store i32 0, ptr %11, align 4
br label %107
107: ; preds = %104, %80
%108 = load ptr, ptr %4, align 8
call void @llvm.stackrestore(ptr %108)
%109 = load i32, ptr %11, align 4
switch i32 %109, label %111 [
i32 0, label %110
i32 1, label %110
]
110: ; preds = %107, %107
ret void
111: ; preds = %107
unreachable
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @__socket(i64 noundef, i32 noundef, i32 noundef) #2
declare i32 @perror(ptr noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
declare i64 @__ioctl(i32 noundef, i32 noundef, ptr noundef) #2
declare ptr @_(ptr noundef) #2
; 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) #4
declare i32 @htons(i32 noundef) #2
declare i32 @__close(i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpb1s3xvkc.c'
source_filename = "/tmp/tmpb1s3xvkc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c" \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c" };\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c",\0A\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c", \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @print_table(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %41, %2
%7 = load i32, ptr %5, align 4
%8 = icmp slt i32 %7, 256
br i1 %8, label %9, label %44
9: ; preds = %6
%10 = load i32, ptr %5, align 4
%11 = srem i32 %10, 8
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %16
13: ; preds = %9
%14 = load ptr, ptr %3, align 8
%15 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %14, ptr noundef @.str)
br label %16
16: ; preds = %13, %9
%17 = load ptr, ptr %3, align 8
%18 = load ptr, ptr %4, align 8
%19 = load i32, ptr %5, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i32, ptr %18, i64 %20
%22 = load i32, ptr %21, align 4
%23 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %17, ptr noundef @.str.1, i32 noundef %22)
%24 = load i32, ptr %5, align 4
%25 = srem i32 %24, 8
%26 = icmp eq i32 %25, 7
br i1 %26, label %27, label %37
27: ; preds = %16
%28 = load i32, ptr %5, align 4
%29 = icmp eq i32 %28, 255
br i1 %29, label %30, label %33
30: ; preds = %27
%31 = load ptr, ptr %3, align 8
%32 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %31, ptr noundef @.str.2)
br label %36
33: ; preds = %27
%34 = load ptr, ptr %3, align 8
%35 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %34, ptr noundef @.str.3)
br label %36
36: ; preds = %33, %30
br label %40
37: ; preds = %16
%38 = load ptr, ptr %3, align 8
%39 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %38, ptr noundef @.str.4)
br label %40
40: ; preds = %37, %36
br label %41
41: ; preds = %40
%42 = load i32, ptr %5, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %5, align 4
br label %6, !llvm.loop !6
44: ; preds = %6
ret i32 0
}
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb1s3xvkc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c" \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c" };\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c",\0A\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c", \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @print_table(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = icmp slt i32 %6, 256
br i1 %7, label %.lr.ph, label %45
.lr.ph: ; preds = %2
br label %8
8: ; preds = %.lr.ph, %40
%9 = load i32, ptr %5, align 4
%10 = srem i32 %9, 8
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %15
12: ; preds = %8
%13 = load ptr, ptr %3, align 8
%14 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %13, ptr noundef @.str)
br label %15
15: ; preds = %12, %8
%16 = load ptr, ptr %3, align 8
%17 = load ptr, ptr %4, align 8
%18 = load i32, ptr %5, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i32, ptr %17, i64 %19
%21 = load i32, ptr %20, align 4
%22 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %16, ptr noundef @.str.1, i32 noundef %21)
%23 = load i32, ptr %5, align 4
%24 = srem i32 %23, 8
%25 = icmp eq i32 %24, 7
br i1 %25, label %26, label %36
26: ; preds = %15
%27 = load i32, ptr %5, align 4
%28 = icmp eq i32 %27, 255
br i1 %28, label %29, label %32
29: ; preds = %26
%30 = load ptr, ptr %3, align 8
%31 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %30, ptr noundef @.str.2)
br label %35
32: ; preds = %26
%33 = load ptr, ptr %3, align 8
%34 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %33, ptr noundef @.str.3)
br label %35
35: ; preds = %32, %29
br label %39
36: ; preds = %15
%37 = load ptr, ptr %3, align 8
%38 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %37, ptr noundef @.str.4)
br label %39
39: ; preds = %36, %35
br label %40
40: ; preds = %39
%41 = load i32, ptr %5, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %5, align 4
%43 = load i32, ptr %5, align 4
%44 = icmp slt i32 %43, 256
br i1 %44, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %40
br label %45
45: ; preds = %._crit_edge, %2
ret i32 0
}
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpkj7vca0h.c'
source_filename = "/tmp/tmpkj7vca0h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkj7vca0h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpu3_6v24a.c'
source_filename = "/tmp/tmpu3_6v24a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpu3_6v24a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpeize4sh5.c'
source_filename = "/tmp/tmpeize4sh5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @wloc_get_wlan_data(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @iw_fill_structure(ptr noundef %3)
ret i32 %4
}
declare i32 @iw_fill_structure(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpeize4sh5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @wloc_get_wlan_data(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @iw_fill_structure(ptr noundef %3)
ret i32 %4
}
declare i32 @iw_fill_structure(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5lu46wa7.c'
source_filename = "/tmp/tmp5lu46wa7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [443 x i8] c"jscompress version 1.0 Copyright (c) 2008-2018 Fabrice Bellard\0Ausage: jscompress [options] filename\0AJavascript compressor\0A\0A-h print this help\0A-n do not compress spaces\0A-H keep the first comment\0A-c compress to file\0A-C name compress to C source ('name' is the variable name)\0A-D symbol define preprocessor symbol\0A-U symbol undefine preprocessor symbol\0A-o outfile set the output filename (default=%s)\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"out.js\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @help() #0 {
%1 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1)
%2 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @printf(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="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 "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5lu46wa7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [443 x i8] c"jscompress version 1.0 Copyright (c) 2008-2018 Fabrice Bellard\0Ausage: jscompress [options] filename\0AJavascript compressor\0A\0A-h print this help\0A-n do not compress spaces\0A-H keep the first comment\0A-c compress to file\0A-C name compress to C source ('name' is the variable name)\0A-D symbol define preprocessor symbol\0A-U symbol undefine preprocessor symbol\0A-o outfile set the output filename (default=%s)\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"out.js\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @help() #0 {
%1 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1)
%2 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @printf(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="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 "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1t9drbf3.c'
source_filename = "/tmp/tmp1t9drbf3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c"%d F is water's boiling point.\0A\00", align 1
@.str.1 = private unnamed_addr constant [46 x i8] c"The printf() function printed %d characters.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 212, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = call i32 @printf(ptr noundef @.str.1, i32 noundef %6)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1t9drbf3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c"%d F is water's boiling point.\0A\00", align 1
@.str.1 = private unnamed_addr constant [46 x i8] c"The printf() function printed %d characters.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 212, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = call i32 @printf(ptr noundef @.str.1, i32 noundef %6)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6_ozqe0s.c'
source_filename = "/tmp/tmp6_ozqe0s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_RDWR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @opencam(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load i32, ptr @O_RDWR, align 4
%5 = call i32 @open(ptr noundef %3, i32 noundef %4)
ret i32 %5
}
declare i32 @open(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6_ozqe0s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_RDWR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @opencam(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load i32, ptr @O_RDWR, align 4
%5 = call i32 @open(ptr noundef %3, i32 noundef %4)
ret i32 %5
}
declare i32 @open(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpl970htz4.c'
source_filename = "/tmp/tmpl970htz4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [34 x i8] c"\0A[ERROR] - Falta no iteraciones \0A\00", align 1
@.str.1 = private unnamed_addr constant [46 x i8] c"thread %d ejecuta la iteraci\C3\B3n %d del bucle\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 9, ptr %7, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %8, 2
br i1 %9, label %10, label %14
10: ; preds = %2
%11 = load i32, ptr @stderr, align 4
%12 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str)
%13 = call i32 @exit(i32 noundef -1) #3
unreachable
14: ; preds = %2
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 1
%17 = load ptr, ptr %16, align 8
%18 = call i32 @atoi(ptr noundef %17)
store i32 %18, ptr %7, align 4
store i32 0, ptr %6, align 4
br label %19
19: ; preds = %27, %14
%20 = load i32, ptr %6, align 4
%21 = load i32, ptr %7, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %23, label %30
23: ; preds = %19
%24 = call i32 (...) @omp_get_thread_num()
%25 = load i32, ptr %6, align 4
%26 = call i32 @printf(ptr noundef @.str.1, i32 noundef %24, i32 noundef %25)
br label %27
27: ; preds = %23
%28 = load i32, ptr %6, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %6, align 4
br label %19, !llvm.loop !6
30: ; preds = %19
ret i32 0
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @atoi(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @omp_get_thread_num(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="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 "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl970htz4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [34 x i8] c"\0A[ERROR] - Falta no iteraciones \0A\00", align 1
@.str.1 = private unnamed_addr constant [46 x i8] c"thread %d ejecuta la iteraci\C3\B3n %d del bucle\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 9, ptr %7, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %8, 2
br i1 %9, label %10, label %14
10: ; preds = %2
%11 = load i32, ptr @stderr, align 4
%12 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str)
%13 = call i32 @exit(i32 noundef -1) #3
unreachable
14: ; preds = %2
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 1
%17 = load ptr, ptr %16, align 8
%18 = call i32 @atoi(ptr noundef %17)
store i32 %18, ptr %7, align 4
store i32 0, ptr %6, align 4
%19 = load i32, ptr %6, align 4
%20 = load i32, ptr %7, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %.lr.ph, label %32
.lr.ph: ; preds = %14
br label %22
22: ; preds = %.lr.ph, %26
%23 = call i32 (...) @omp_get_thread_num()
%24 = load i32, ptr %6, align 4
%25 = call i32 @printf(ptr noundef @.str.1, i32 noundef %23, i32 noundef %24)
br label %26
26: ; preds = %22
%27 = load i32, ptr %6, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %6, align 4
%29 = load i32, ptr %6, align 4
%30 = load i32, ptr %7, align 4
%31 = icmp slt i32 %29, %30
br i1 %31, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %26
br label %32
32: ; preds = %._crit_edge, %14
ret i32 0
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @atoi(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @omp_get_thread_num(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="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 "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpvybq33nd.c'
source_filename = "/tmp/tmpvybq33nd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CRC32.crc_table = internal constant [256 x i32] [i32 0, i32 1996959894, i32 -301047508, i32 -1727442502, i32 124634137, i32 1886057615, i32 -379345611, i32 -1637575261, i32 249268274, i32 2044508324, i32 -522852066, i32 -1747789432, i32 162941995, i32 2125561021, i32 -407360249, i32 -1866523247, i32 498536548, i32 1789927666, i32 -205950648, i32 -2067906082, i32 450548861, i32 1843258603, i32 -187386543, i32 -2083289657, i32 325883990, i32 1684777152, i32 -43845254, i32 -1973040660, i32 335633487, i32 1661365465, i32 -99664541, i32 -1928851979, i32 997073096, i32 1281953886, i32 -715111964, i32 -1570279054, i32 1006888145, i32 1258607687, i32 -770865667, i32 -1526024853, i32 901097722, i32 1119000684, i32 -608450090, i32 -1396901568, i32 853044451, i32 1172266101, i32 -589951537, i32 -1412350631, i32 651767980, i32 1373503546, i32 -925412992, i32 -1076862698, i32 565507253, i32 1454621731, i32 -809855591, i32 -1195530993, i32 671266974, i32 1594198024, i32 -972236366, i32 -1324619484, i32 795835527, i32 1483230225, i32 -1050600021, i32 -1234817731, i32 1994146192, i32 31158534, i32 -1731059524, i32 -271249366, i32 1907459465, i32 112637215, i32 -1614814043, i32 -390540237, i32 2013776290, i32 251722036, i32 -1777751922, i32 -519137256, i32 2137656763, i32 141376813, i32 -1855689577, i32 -429695999, i32 1802195444, i32 476864866, i32 -2056965928, i32 -228458418, i32 1812370925, i32 453092731, i32 -2113342271, i32 -183516073, i32 1706088902, i32 314042704, i32 -1950435094, i32 -54949764, i32 1658658271, i32 366619977, i32 -1932296973, i32 -69972891, i32 1303535960, i32 984961486, i32 -1547960204, i32 -725929758, i32 1256170817, i32 1037604311, i32 -1529756563, i32 -740887301, i32 1131014506, i32 879679996, i32 -1385723834, i32 -631195440, i32 1141124467, i32 855842277, i32 -1442165665, i32 -586318647, i32 1342533948, i32 654459306, i32 -1106571248, i32 -921952122, i32 1466479909, i32 544179635, i32 -1184443383, i32 -832445281, i32 1591671054, i32 702138776, i32 -1328506846, i32 -942167884, i32 1504918807, i32 783551873, i32 -1212326853, i32 -1061524307, i32 -306674912, i32 -1698712650, i32 62317068, i32 1957810842, i32 -355121351, i32 -1647151185, i32 81470997, i32 1943803523, i32 -480048366, i32 -1805370492, i32 225274430, i32 2053790376, i32 -468791541, i32 -1828061283, i32 167816743, i32 2097651377, i32 -267414716, i32 -2029476910, i32 503444072, i32 1762050814, i32 -144550051, i32 -2140837941, i32 426522225, i32 1852507879, i32 -19653770, i32 -1982649376, i32 282753626, i32 1742555852, i32 -105259153, i32 -1900089351, i32 397917763, i32 1622183637, i32 -690576408, i32 -1580100738, i32 953729732, i32 1340076626, i32 -776247311, i32 -1497606297, i32 1068828381, i32 1219638859, i32 -670225446, i32 -1358292148, i32 906185462, i32 1090812512, i32 -547295293, i32 -1469587627, i32 829329135, i32 1181335161, i32 -882789492, i32 -1134132454, i32 628085408, i32 1382605366, i32 -871598187, i32 -1156888829, i32 570562233, i32 1426400815, i32 -977650754, i32 -1296233688, i32 733239954, i32 1555261956, i32 -1026031705, i32 -1244606671, i32 752459403, i32 1541320221, i32 -1687895376, i32 -328994266, i32 1969922972, i32 40735498, i32 -1677130071, i32 -351390145, i32 1913087877, i32 83908371, i32 -1782625662, i32 -491226604, i32 2075208622, i32 213261112, i32 -1831694693, i32 -438977011, i32 2094854071, i32 198958881, i32 -2032938284, i32 -237706686, i32 1759359992, i32 534414190, i32 -2118248755, i32 -155638181, i32 1873836001, i32 414664567, i32 -2012718362, i32 -15766928, i32 1711684554, i32 285281116, i32 -1889165569, i32 -127750551, i32 1634467795, i32 376229701, i32 -1609899400, i32 -686959890, i32 1308918612, i32 956543938, i32 -1486412191, i32 -799009033, i32 1231636301, i32 1047427035, i32 -1362007478, i32 -640263460, i32 1088359270, i32 936918000, i32 -1447252397, i32 -558129467, i32 1202900863, i32 817233897, i32 -1111625188, i32 -893730166, i32 1404277552, i32 615818150, i32 -1160759803, i32 -841546093, i32 1423857449, i32 601450431, i32 -1285129682, i32 -1000256840, i32 1567103746, i32 711928724, i32 -1274298825, i32 -1022587231, i32 1510334235, i32 755167117], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @CRC32(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 0, ptr %7, align 4
br label %8
8: ; preds = %12, %2
%9 = load i32, ptr %3, align 4
%10 = add i32 %9, -1
store i32 %10, ptr %3, align 4
%11 = icmp ne i32 %9, 0
br i1 %11, label %12, label %31
12: ; preds = %8
%13 = load i32, ptr %7, align 4
%14 = lshr i32 %13, 8
%15 = zext i32 %14 to i64
%16 = and i64 %15, 16777215
%17 = trunc i64 %16 to i32
store i32 %17, ptr %5, align 4
%18 = load i32, ptr %7, align 4
%19 = load ptr, ptr %4, align 8
%20 = getelementptr inbounds i8, ptr %19, i32 1
store ptr %20, ptr %4, align 8
%21 = load i8, ptr %19, align 1
%22 = zext i8 %21 to i32
%23 = xor i32 %18, %22
%24 = and i32 %23, 255
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [256 x i32], ptr @CRC32.crc_table, i64 0, i64 %25
%27 = load i32, ptr %26, align 4
store i32 %27, ptr %6, align 4
%28 = load i32, ptr %5, align 4
%29 = load i32, ptr %6, align 4
%30 = xor i32 %28, %29
store i32 %30, ptr %7, align 4
br label %8, !llvm.loop !6
31: ; preds = %8
%32 = load i32, ptr %7, align 4
ret i32 %32
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvybq33nd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CRC32.crc_table = internal constant [256 x i32] [i32 0, i32 1996959894, i32 -301047508, i32 -1727442502, i32 124634137, i32 1886057615, i32 -379345611, i32 -1637575261, i32 249268274, i32 2044508324, i32 -522852066, i32 -1747789432, i32 162941995, i32 2125561021, i32 -407360249, i32 -1866523247, i32 498536548, i32 1789927666, i32 -205950648, i32 -2067906082, i32 450548861, i32 1843258603, i32 -187386543, i32 -2083289657, i32 325883990, i32 1684777152, i32 -43845254, i32 -1973040660, i32 335633487, i32 1661365465, i32 -99664541, i32 -1928851979, i32 997073096, i32 1281953886, i32 -715111964, i32 -1570279054, i32 1006888145, i32 1258607687, i32 -770865667, i32 -1526024853, i32 901097722, i32 1119000684, i32 -608450090, i32 -1396901568, i32 853044451, i32 1172266101, i32 -589951537, i32 -1412350631, i32 651767980, i32 1373503546, i32 -925412992, i32 -1076862698, i32 565507253, i32 1454621731, i32 -809855591, i32 -1195530993, i32 671266974, i32 1594198024, i32 -972236366, i32 -1324619484, i32 795835527, i32 1483230225, i32 -1050600021, i32 -1234817731, i32 1994146192, i32 31158534, i32 -1731059524, i32 -271249366, i32 1907459465, i32 112637215, i32 -1614814043, i32 -390540237, i32 2013776290, i32 251722036, i32 -1777751922, i32 -519137256, i32 2137656763, i32 141376813, i32 -1855689577, i32 -429695999, i32 1802195444, i32 476864866, i32 -2056965928, i32 -228458418, i32 1812370925, i32 453092731, i32 -2113342271, i32 -183516073, i32 1706088902, i32 314042704, i32 -1950435094, i32 -54949764, i32 1658658271, i32 366619977, i32 -1932296973, i32 -69972891, i32 1303535960, i32 984961486, i32 -1547960204, i32 -725929758, i32 1256170817, i32 1037604311, i32 -1529756563, i32 -740887301, i32 1131014506, i32 879679996, i32 -1385723834, i32 -631195440, i32 1141124467, i32 855842277, i32 -1442165665, i32 -586318647, i32 1342533948, i32 654459306, i32 -1106571248, i32 -921952122, i32 1466479909, i32 544179635, i32 -1184443383, i32 -832445281, i32 1591671054, i32 702138776, i32 -1328506846, i32 -942167884, i32 1504918807, i32 783551873, i32 -1212326853, i32 -1061524307, i32 -306674912, i32 -1698712650, i32 62317068, i32 1957810842, i32 -355121351, i32 -1647151185, i32 81470997, i32 1943803523, i32 -480048366, i32 -1805370492, i32 225274430, i32 2053790376, i32 -468791541, i32 -1828061283, i32 167816743, i32 2097651377, i32 -267414716, i32 -2029476910, i32 503444072, i32 1762050814, i32 -144550051, i32 -2140837941, i32 426522225, i32 1852507879, i32 -19653770, i32 -1982649376, i32 282753626, i32 1742555852, i32 -105259153, i32 -1900089351, i32 397917763, i32 1622183637, i32 -690576408, i32 -1580100738, i32 953729732, i32 1340076626, i32 -776247311, i32 -1497606297, i32 1068828381, i32 1219638859, i32 -670225446, i32 -1358292148, i32 906185462, i32 1090812512, i32 -547295293, i32 -1469587627, i32 829329135, i32 1181335161, i32 -882789492, i32 -1134132454, i32 628085408, i32 1382605366, i32 -871598187, i32 -1156888829, i32 570562233, i32 1426400815, i32 -977650754, i32 -1296233688, i32 733239954, i32 1555261956, i32 -1026031705, i32 -1244606671, i32 752459403, i32 1541320221, i32 -1687895376, i32 -328994266, i32 1969922972, i32 40735498, i32 -1677130071, i32 -351390145, i32 1913087877, i32 83908371, i32 -1782625662, i32 -491226604, i32 2075208622, i32 213261112, i32 -1831694693, i32 -438977011, i32 2094854071, i32 198958881, i32 -2032938284, i32 -237706686, i32 1759359992, i32 534414190, i32 -2118248755, i32 -155638181, i32 1873836001, i32 414664567, i32 -2012718362, i32 -15766928, i32 1711684554, i32 285281116, i32 -1889165569, i32 -127750551, i32 1634467795, i32 376229701, i32 -1609899400, i32 -686959890, i32 1308918612, i32 956543938, i32 -1486412191, i32 -799009033, i32 1231636301, i32 1047427035, i32 -1362007478, i32 -640263460, i32 1088359270, i32 936918000, i32 -1447252397, i32 -558129467, i32 1202900863, i32 817233897, i32 -1111625188, i32 -893730166, i32 1404277552, i32 615818150, i32 -1160759803, i32 -841546093, i32 1423857449, i32 601450431, i32 -1285129682, i32 -1000256840, i32 1567103746, i32 711928724, i32 -1274298825, i32 -1022587231, i32 1510334235, i32 755167117], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @CRC32(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 0, ptr %7, align 4
%8 = load i32, ptr %3, align 4
%9 = add i32 %8, -1
store i32 %9, ptr %3, align 4
%10 = icmp ne i32 %8, 0
br i1 %10, label %.lr.ph, label %33
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %11
%12 = load i32, ptr %7, align 4
%13 = lshr i32 %12, 8
%14 = zext i32 %13 to i64
%15 = and i64 %14, 16777215
%16 = trunc i64 %15 to i32
store i32 %16, ptr %5, align 4
%17 = load i32, ptr %7, align 4
%18 = load ptr, ptr %4, align 8
%19 = getelementptr inbounds i8, ptr %18, i32 1
store ptr %19, ptr %4, align 8
%20 = load i8, ptr %18, align 1
%21 = zext i8 %20 to i32
%22 = xor i32 %17, %21
%23 = and i32 %22, 255
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [256 x i32], ptr @CRC32.crc_table, i64 0, i64 %24
%26 = load i32, ptr %25, align 4
store i32 %26, ptr %6, align 4
%27 = load i32, ptr %5, align 4
%28 = load i32, ptr %6, align 4
%29 = xor i32 %27, %28
store i32 %29, ptr %7, align 4
%30 = load i32, ptr %3, align 4
%31 = add i32 %30, -1
store i32 %31, ptr %3, align 4
%32 = icmp ne i32 %30, 0
br i1 %32, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %11
br label %33
33: ; preds = %._crit_edge, %2
%34 = load i32, ptr %7, align 4
ret i32 %34
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpsq1161_y.c'
source_filename = "/tmp/tmpsq1161_y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.statvfs = type { i32, i32, i32, i32 }
%struct.mntent = type { ptr, ptr, ptr }
@.str = private unnamed_addr constant [10 x i8] c"/etc/mtab\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"fopen error = %d\0A\00", align 1
@errno = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [4 x i8] c"ufs\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"ext2\00", align 1
@.str.5 = private unnamed_addr constant [5 x i8] c"ext3\00", align 1
@.str.6 = private unnamed_addr constant [5 x i8] c"ext4\00", align 1
@.str.7 = private unnamed_addr constant [4 x i8] c"xfs\00", align 1
@.str.8 = private unnamed_addr constant [5 x i8] c"vxfs\00", align 1
@.str.9 = private unnamed_addr constant [58 x i8] c"Device:[%6s] Type:[%4s] Size:[%7.2f GB] Directory:[%16s]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca %struct.statvfs, align 4
%3 = alloca double, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store double 0.000000e+00, ptr %3, align 8
store ptr null, ptr %4, align 8
store ptr null, ptr %5, align 8
%6 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %6, ptr %5, align 8
%7 = load ptr, ptr %5, align 8
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %12
9: ; preds = %0
%10 = load i32, ptr @errno, align 4
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %10)
store i32 -1, ptr %1, align 4
br label %90
12: ; preds = %0
br label %13
13: ; preds = %86, %59, %12
%14 = load ptr, ptr %5, align 8
%15 = call ptr @getmntent(ptr noundef %14)
store ptr %15, ptr %4, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %17, label %87
17: ; preds = %13
%18 = load ptr, ptr %4, align 8
%19 = getelementptr inbounds %struct.mntent, ptr %18, i32 0, i32 0
%20 = load ptr, ptr %19, align 8
%21 = call i64 @strcmp(ptr noundef %20, ptr noundef @.str.3)
%22 = icmp eq i64 %21, 0
br i1 %22, label %53, label %23
23: ; preds = %17
%24 = load ptr, ptr %4, align 8
%25 = getelementptr inbounds %struct.mntent, ptr %24, i32 0, i32 0
%26 = load ptr, ptr %25, align 8
%27 = call i64 @strcmp(ptr noundef %26, ptr noundef @.str.4)
%28 = icmp eq i64 %27, 0
br i1 %28, label %53, label %29
29: ; preds = %23
%30 = load ptr, ptr %4, align 8
%31 = getelementptr inbounds %struct.mntent, ptr %30, i32 0, i32 0
%32 = load ptr, ptr %31, align 8
%33 = call i64 @strcmp(ptr noundef %32, ptr noundef @.str.5)
%34 = icmp eq i64 %33, 0
br i1 %34, label %53, label %35
35: ; preds = %29
%36 = load ptr, ptr %4, align 8
%37 = getelementptr inbounds %struct.mntent, ptr %36, i32 0, i32 0
%38 = load ptr, ptr %37, align 8
%39 = call i64 @strcmp(ptr noundef %38, ptr noundef @.str.6)
%40 = icmp eq i64 %39, 0
br i1 %40, label %53, label %41
41: ; preds = %35
%42 = load ptr, ptr %4, align 8
%43 = getelementptr inbounds %struct.mntent, ptr %42, i32 0, i32 0
%44 = load ptr, ptr %43, align 8
%45 = call i64 @strcmp(ptr noundef %44, ptr noundef @.str.7)
%46 = icmp eq i64 %45, 0
br i1 %46, label %53, label %47
47: ; preds = %41
%48 = load ptr, ptr %4, align 8
%49 = getelementptr inbounds %struct.mntent, ptr %48, i32 0, i32 0
%50 = load ptr, ptr %49, align 8
%51 = call i64 @strcmp(ptr noundef %50, ptr noundef @.str.8)
%52 = icmp eq i64 %51, 0
br i1 %52, label %53, label %86
53: ; preds = %47, %41, %35, %29, %23, %17
%54 = load ptr, ptr %4, align 8
%55 = getelementptr inbounds %struct.mntent, ptr %54, i32 0, i32 1
%56 = load ptr, ptr %55, align 8
%57 = call i64 @statvfs(ptr noundef %56, ptr noundef %2)
%58 = icmp ne i64 %57, 0
br i1 %58, label %59, label %60
59: ; preds = %53
br label %13, !llvm.loop !6
60: ; preds = %53
%61 = getelementptr inbounds %struct.statvfs, ptr %2, i32 0, i32 0
%62 = load i32, ptr %61, align 4
%63 = getelementptr inbounds %struct.statvfs, ptr %2, i32 0, i32 1
%64 = load i32, ptr %63, align 4
%65 = sub nsw i32 %62, %64
%66 = getelementptr inbounds %struct.statvfs, ptr %2, i32 0, i32 2
%67 = load i32, ptr %66, align 4
%68 = add nsw i32 %65, %67
%69 = getelementptr inbounds %struct.statvfs, ptr %2, i32 0, i32 3
%70 = load i32, ptr %69, align 4
%71 = sdiv i32 %70, 1024
%72 = mul nsw i32 %68, %71
%73 = sitofp i32 %72 to double
%74 = fdiv double %73, 0x4130000000000000
store double %74, ptr %3, align 8
%75 = load ptr, ptr %4, align 8
%76 = getelementptr inbounds %struct.mntent, ptr %75, i32 0, i32 1
%77 = load ptr, ptr %76, align 8
%78 = load ptr, ptr %4, align 8
%79 = getelementptr inbounds %struct.mntent, ptr %78, i32 0, i32 0
%80 = load ptr, ptr %79, align 8
%81 = load double, ptr %3, align 8
%82 = load ptr, ptr %4, align 8
%83 = getelementptr inbounds %struct.mntent, ptr %82, i32 0, i32 2
%84 = load ptr, ptr %83, align 8
%85 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %77, ptr noundef %80, double noundef %81, ptr noundef %84)
br label %86
86: ; preds = %60, %47
br label %13, !llvm.loop !6
87: ; preds = %13
%88 = load ptr, ptr %5, align 8
%89 = call i32 @fclose(ptr noundef %88)
store i32 0, ptr %1, align 4
br label %90
90: ; preds = %87, %9
%91 = load i32, ptr %1, align 4
ret i32 %91
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare ptr @getmntent(ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i64 @statvfs(ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsq1161_y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.statvfs = type { i32, i32, i32, i32 }
%struct.mntent = type { ptr, ptr, ptr }
@.str = private unnamed_addr constant [10 x i8] c"/etc/mtab\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"fopen error = %d\0A\00", align 1
@errno = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [4 x i8] c"ufs\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"ext2\00", align 1
@.str.5 = private unnamed_addr constant [5 x i8] c"ext3\00", align 1
@.str.6 = private unnamed_addr constant [5 x i8] c"ext4\00", align 1
@.str.7 = private unnamed_addr constant [4 x i8] c"xfs\00", align 1
@.str.8 = private unnamed_addr constant [5 x i8] c"vxfs\00", align 1
@.str.9 = private unnamed_addr constant [58 x i8] c"Device:[%6s] Type:[%4s] Size:[%7.2f GB] Directory:[%16s]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca %struct.statvfs, align 4
%3 = alloca double, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store double 0.000000e+00, ptr %3, align 8
store ptr null, ptr %4, align 8
store ptr null, ptr %5, align 8
%6 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %6, ptr %5, align 8
%7 = load ptr, ptr %5, align 8
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %12
9: ; preds = %0
%10 = load i32, ptr @errno, align 4
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %10)
store i32 -1, ptr %1, align 4
br label %92
12: ; preds = %0
%13 = load ptr, ptr %5, align 8
%14 = call ptr @getmntent(ptr noundef %13)
store ptr %14, ptr %4, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %.lr.ph, label %89
.lr.ph: ; preds = %12
br label %16
16: ; preds = %.lr.ph, %.backedge
%17 = load ptr, ptr %4, align 8
%18 = getelementptr inbounds %struct.mntent, ptr %17, i32 0, i32 0
%19 = load ptr, ptr %18, align 8
%20 = call i64 @strcmp(ptr noundef %19, ptr noundef @.str.3)
%21 = icmp eq i64 %20, 0
br i1 %21, label %52, label %22
22: ; preds = %16
%23 = load ptr, ptr %4, align 8
%24 = getelementptr inbounds %struct.mntent, ptr %23, i32 0, i32 0
%25 = load ptr, ptr %24, align 8
%26 = call i64 @strcmp(ptr noundef %25, ptr noundef @.str.4)
%27 = icmp eq i64 %26, 0
br i1 %27, label %52, label %28
28: ; preds = %22
%29 = load ptr, ptr %4, align 8
%30 = getelementptr inbounds %struct.mntent, ptr %29, i32 0, i32 0
%31 = load ptr, ptr %30, align 8
%32 = call i64 @strcmp(ptr noundef %31, ptr noundef @.str.5)
%33 = icmp eq i64 %32, 0
br i1 %33, label %52, label %34
34: ; preds = %28
%35 = load ptr, ptr %4, align 8
%36 = getelementptr inbounds %struct.mntent, ptr %35, i32 0, i32 0
%37 = load ptr, ptr %36, align 8
%38 = call i64 @strcmp(ptr noundef %37, ptr noundef @.str.6)
%39 = icmp eq i64 %38, 0
br i1 %39, label %52, label %40
40: ; preds = %34
%41 = load ptr, ptr %4, align 8
%42 = getelementptr inbounds %struct.mntent, ptr %41, i32 0, i32 0
%43 = load ptr, ptr %42, align 8
%44 = call i64 @strcmp(ptr noundef %43, ptr noundef @.str.7)
%45 = icmp eq i64 %44, 0
br i1 %45, label %52, label %46
46: ; preds = %40
%47 = load ptr, ptr %4, align 8
%48 = getelementptr inbounds %struct.mntent, ptr %47, i32 0, i32 0
%49 = load ptr, ptr %48, align 8
%50 = call i64 @strcmp(ptr noundef %49, ptr noundef @.str.8)
%51 = icmp eq i64 %50, 0
br i1 %51, label %52, label %88
52: ; preds = %46, %40, %34, %28, %22, %16
%53 = load ptr, ptr %4, align 8
%54 = getelementptr inbounds %struct.mntent, ptr %53, i32 0, i32 1
%55 = load ptr, ptr %54, align 8
%56 = call i64 @statvfs(ptr noundef %55, ptr noundef %2)
%57 = icmp ne i64 %56, 0
br i1 %57, label %58, label %62
58: ; preds = %52
br label %.backedge
.backedge: ; preds = %58, %88
%59 = load ptr, ptr %5, align 8
%60 = call ptr @getmntent(ptr noundef %59)
store ptr %60, ptr %4, align 8
%61 = icmp ne ptr %60, null
br i1 %61, label %16, label %._crit_edge, !llvm.loop !6
62: ; preds = %52
%63 = getelementptr inbounds %struct.statvfs, ptr %2, i32 0, i32 0
%64 = load i32, ptr %63, align 4
%65 = getelementptr inbounds %struct.statvfs, ptr %2, i32 0, i32 1
%66 = load i32, ptr %65, align 4
%67 = sub nsw i32 %64, %66
%68 = getelementptr inbounds %struct.statvfs, ptr %2, i32 0, i32 2
%69 = load i32, ptr %68, align 4
%70 = add nsw i32 %67, %69
%71 = getelementptr inbounds %struct.statvfs, ptr %2, i32 0, i32 3
%72 = load i32, ptr %71, align 4
%73 = sdiv i32 %72, 1024
%74 = mul nsw i32 %70, %73
%75 = sitofp i32 %74 to double
%76 = fdiv double %75, 0x4130000000000000
store double %76, ptr %3, align 8
%77 = load ptr, ptr %4, align 8
%78 = getelementptr inbounds %struct.mntent, ptr %77, i32 0, i32 1
%79 = load ptr, ptr %78, align 8
%80 = load ptr, ptr %4, align 8
%81 = getelementptr inbounds %struct.mntent, ptr %80, i32 0, i32 0
%82 = load ptr, ptr %81, align 8
%83 = load double, ptr %3, align 8
%84 = load ptr, ptr %4, align 8
%85 = getelementptr inbounds %struct.mntent, ptr %84, i32 0, i32 2
%86 = load ptr, ptr %85, align 8
%87 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %79, ptr noundef %82, double noundef %83, ptr noundef %86)
br label %88
88: ; preds = %62, %46
br label %.backedge
._crit_edge: ; preds = %.backedge
br label %89
89: ; preds = %._crit_edge, %12
%90 = load ptr, ptr %5, align 8
%91 = call i32 @fclose(ptr noundef %90)
store i32 0, ptr %1, align 4
br label %92
92: ; preds = %89, %9
%93 = load i32, ptr %1, align 4
ret i32 %93
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare ptr @getmntent(ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i64 @statvfs(ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpmrhaeikk.c'
source_filename = "/tmp/tmpmrhaeikk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @write_to_serial(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%10 = load ptr, ptr %5, align 8
store ptr %10, ptr %7, align 8
store i32 0, ptr %8, align 4
br label %11
11: ; preds = %40, %3
%12 = load i32, ptr %8, align 4
%13 = load i32, ptr %6, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %15, label %43
15: ; preds = %11
%16 = load ptr, ptr %7, align 8
%17 = load i32, ptr %8, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i32, ptr %16, i64 %18
%20 = load i32, ptr %19, align 4
switch i32 %20, label %31 [
i32 192, label %21
i32 219, label %26
]
21: ; preds = %15
%22 = load i32, ptr %4, align 4
%23 = call i32 @slip_send(i32 noundef %22, i32 noundef 219)
%24 = load i32, ptr %4, align 4
%25 = call i32 @slip_send(i32 noundef %24, i32 noundef 220)
br label %39
26: ; preds = %15
%27 = load i32, ptr %4, align 4
%28 = call i32 @slip_send(i32 noundef %27, i32 noundef 219)
%29 = load i32, ptr %4, align 4
%30 = call i32 @slip_send(i32 noundef %29, i32 noundef 221)
br label %39
31: ; preds = %15
%32 = load i32, ptr %4, align 4
%33 = load ptr, ptr %7, align 8
%34 = load i32, ptr %8, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i32, ptr %33, i64 %35
%37 = load i32, ptr %36, align 4
%38 = call i32 @slip_send(i32 noundef %32, i32 noundef %37)
br label %39
39: ; preds = %31, %26, %21
br label %40
40: ; preds = %39
%41 = load i32, ptr %8, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %8, align 4
br label %11, !llvm.loop !6
43: ; preds = %11
%44 = load i32, ptr %4, align 4
%45 = call i32 @slip_send(i32 noundef %44, i32 noundef 192)
br label %46
46: ; preds = %43
br label %47
47: ; preds = %46
ret void
}
declare i32 @slip_send(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmrhaeikk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @write_to_serial(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%10 = load ptr, ptr %5, align 8
store ptr %10, ptr %7, align 8
store i32 0, ptr %8, align 4
%11 = load i32, ptr %8, align 4
%12 = load i32, ptr %6, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %.lr.ph, label %45
.lr.ph: ; preds = %3
br label %14
14: ; preds = %.lr.ph, %39
%15 = load ptr, ptr %7, align 8
%16 = load i32, ptr %8, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i32, ptr %15, i64 %17
%19 = load i32, ptr %18, align 4
switch i32 %19, label %30 [
i32 192, label %20
i32 219, label %25
]
20: ; preds = %14
%21 = load i32, ptr %4, align 4
%22 = call i32 @slip_send(i32 noundef %21, i32 noundef 219)
%23 = load i32, ptr %4, align 4
%24 = call i32 @slip_send(i32 noundef %23, i32 noundef 220)
br label %38
25: ; preds = %14
%26 = load i32, ptr %4, align 4
%27 = call i32 @slip_send(i32 noundef %26, i32 noundef 219)
%28 = load i32, ptr %4, align 4
%29 = call i32 @slip_send(i32 noundef %28, i32 noundef 221)
br label %38
30: ; preds = %14
%31 = load i32, ptr %4, align 4
%32 = load ptr, ptr %7, align 8
%33 = load i32, ptr %8, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i32, ptr %32, i64 %34
%36 = load i32, ptr %35, align 4
%37 = call i32 @slip_send(i32 noundef %31, i32 noundef %36)
br label %38
38: ; preds = %30, %25, %20
br label %39
39: ; preds = %38
%40 = load i32, ptr %8, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %8, align 4
%42 = load i32, ptr %8, align 4
%43 = load i32, ptr %6, align 4
%44 = icmp slt i32 %42, %43
br i1 %44, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %39
br label %45
45: ; preds = %._crit_edge, %3
%46 = load i32, ptr %4, align 4
%47 = call i32 @slip_send(i32 noundef %46, i32 noundef 192)
br label %48
48: ; preds = %45
br label %49
49: ; preds = %48
ret void
}
declare i32 @slip_send(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpta6dml1z.c'
source_filename = "/tmp/tmpta6dml1z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @order(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca double, align 8
%11 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 0, ptr %9, align 4
%12 = load i32, ptr %6, align 4
%13 = call ptr @calloc(i32 noundef %12, i32 noundef 4)
store ptr %13, ptr %11, align 8
store i32 0, ptr %9, align 4
br label %14
14: ; preds = %59, %3
%15 = load i32, ptr %9, align 4
%16 = load i32, ptr %6, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %18, label %62
18: ; preds = %14
store double -1.000000e+00, ptr %10, align 8
store i32 0, ptr %7, align 4
br label %19
19: ; preds = %46, %18
%20 = load i32, ptr %7, align 4
%21 = load i32, ptr %6, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %23, label %49
23: ; preds = %19
%24 = load ptr, ptr %11, align 8
%25 = load i32, ptr %7, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i32, ptr %24, i64 %26
%28 = load i32, ptr %27, align 4
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %45
30: ; preds = %23
%31 = load ptr, ptr %4, align 8
%32 = load i32, ptr %7, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds double, ptr %31, i64 %33
%35 = load double, ptr %34, align 8
%36 = load double, ptr %10, align 8
%37 = fcmp ogt double %35, %36
br i1 %37, label %38, label %45
38: ; preds = %30
%39 = load ptr, ptr %4, align 8
%40 = load i32, ptr %7, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds double, ptr %39, i64 %41
%43 = load double, ptr %42, align 8
store double %43, ptr %10, align 8
%44 = load i32, ptr %7, align 4
store i32 %44, ptr %8, align 4
br label %45
45: ; preds = %38, %30, %23
br label %46
46: ; preds = %45
%47 = load i32, ptr %7, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %7, align 4
br label %19, !llvm.loop !6
49: ; preds = %19
%50 = load ptr, ptr %11, align 8
%51 = load i32, ptr %8, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds i32, ptr %50, i64 %52
store i32 1, ptr %53, align 4
%54 = load i32, ptr %8, align 4
%55 = load ptr, ptr %5, align 8
%56 = load i32, ptr %9, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i32, ptr %55, i64 %57
store i32 %54, ptr %58, align 4
br label %59
59: ; preds = %49
%60 = load i32, ptr %9, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %9, align 4
br label %14, !llvm.loop !8
62: ; preds = %14
ret void
}
declare ptr @calloc(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpta6dml1z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @order(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca double, align 8
%11 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 0, ptr %9, align 4
%12 = load i32, ptr %6, align 4
%13 = call ptr @calloc(i32 noundef %12, i32 noundef 4)
store ptr %13, ptr %11, align 8
store i32 0, ptr %9, align 4
%14 = load i32, ptr %9, align 4
%15 = load i32, ptr %6, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %.lr.ph2, label %66
.lr.ph2: ; preds = %3
br label %17
17: ; preds = %.lr.ph2, %60
store double -1.000000e+00, ptr %10, align 8
store i32 0, ptr %7, align 4
%18 = load i32, ptr %7, align 4
%19 = load i32, ptr %6, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %.lr.ph, label %50
.lr.ph: ; preds = %17
br label %21
21: ; preds = %.lr.ph, %44
%22 = load ptr, ptr %11, align 8
%23 = load i32, ptr %7, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i32, ptr %22, i64 %24
%26 = load i32, ptr %25, align 4
%27 = icmp eq i32 %26, 0
br i1 %27, label %28, label %43
28: ; preds = %21
%29 = load ptr, ptr %4, align 8
%30 = load i32, ptr %7, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds double, ptr %29, i64 %31
%33 = load double, ptr %32, align 8
%34 = load double, ptr %10, align 8
%35 = fcmp ogt double %33, %34
br i1 %35, label %36, label %43
36: ; preds = %28
%37 = load ptr, ptr %4, align 8
%38 = load i32, ptr %7, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds double, ptr %37, i64 %39
%41 = load double, ptr %40, align 8
store double %41, ptr %10, align 8
%42 = load i32, ptr %7, align 4
store i32 %42, ptr %8, align 4
br label %43
43: ; preds = %36, %28, %21
br label %44
44: ; preds = %43
%45 = load i32, ptr %7, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %7, align 4
%47 = load i32, ptr %7, align 4
%48 = load i32, ptr %6, align 4
%49 = icmp slt i32 %47, %48
br i1 %49, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %44
br label %50
50: ; preds = %._crit_edge, %17
%51 = load ptr, ptr %11, align 8
%52 = load i32, ptr %8, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds i32, ptr %51, i64 %53
store i32 1, ptr %54, align 4
%55 = load i32, ptr %8, align 4
%56 = load ptr, ptr %5, align 8
%57 = load i32, ptr %9, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds i32, ptr %56, i64 %58
store i32 %55, ptr %59, align 4
br label %60
60: ; preds = %50
%61 = load i32, ptr %9, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %9, align 4
%63 = load i32, ptr %9, align 4
%64 = load i32, ptr %6, align 4
%65 = icmp slt i32 %63, %64
br i1 %65, label %17, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %60
br label %66
66: ; preds = %._crit_edge3, %3
ret void
}
declare ptr @calloc(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpl_6vxaqd.c'
source_filename = "/tmp/tmpl_6vxaqd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 (...) @hpet_fasync()
ret i32 0
}
declare i32 @hpet_fasync(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl_6vxaqd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 (...) @hpet_fasync()
ret i32 0
}
declare i32 @hpet_fasync(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpr8ohy3eu.c'
source_filename = "/tmp/tmpr8ohy3eu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i8, align 1
%6 = alloca i8, align 1
store i32 0, ptr %1, align 4
%7 = call i32 (...) @__VERIFIER_nondet_uint()
store i32 %7, ptr %2, align 4
%8 = load i32, ptr %2, align 4
store i32 %8, ptr %3, align 4
store i8 0, ptr %5, align 1
br label %9
9: ; preds = %18, %0
%10 = load i32, ptr %3, align 4
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %23
12: ; preds = %9
%13 = load i8, ptr %5, align 1
%14 = sext i8 %13 to i32
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %12
store i8 1, ptr %5, align 1
br label %18
17: ; preds = %12
store i8 0, ptr %5, align 1
br label %18
18: ; preds = %17, %16
%19 = load i32, ptr %3, align 4
%20 = load i32, ptr %3, align 4
%21 = sub i32 %20, 1
%22 = and i32 %19, %21
store i32 %22, ptr %3, align 4
br label %9, !llvm.loop !6
23: ; preds = %9
%24 = load i32, ptr %2, align 4
store i32 %24, ptr %4, align 4
store i8 0, ptr %6, align 1
%25 = load i32, ptr %4, align 4
%26 = load i32, ptr %4, align 4
%27 = lshr i32 %26, 1
%28 = xor i32 %25, %27
store i32 %28, ptr %4, align 4
%29 = load i32, ptr %4, align 4
%30 = load i32, ptr %4, align 4
%31 = lshr i32 %30, 2
%32 = xor i32 %29, %31
store i32 %32, ptr %4, align 4
%33 = load i32, ptr %4, align 4
%34 = and i32 %33, 286331153
%35 = mul i32 %34, 286331153
store i32 %35, ptr %4, align 4
%36 = load i32, ptr %4, align 4
%37 = lshr i32 %36, 28
%38 = and i32 %37, 1
%39 = icmp eq i32 %38, 0
br i1 %39, label %40, label %41
40: ; preds = %23
store i8 0, ptr %6, align 1
br label %42
41: ; preds = %23
store i8 1, ptr %6, align 1
br label %42
42: ; preds = %41, %40
%43 = load i8, ptr %5, align 1
%44 = sext i8 %43 to i32
%45 = load i8, ptr %6, align 1
%46 = sext i8 %45 to i32
%47 = icmp eq i32 %44, %46
%48 = zext i1 %47 to i32
%49 = call i32 @__VERIFIER_assert(i32 noundef %48)
ret i32 0
}
declare i32 @__VERIFIER_nondet_uint(...) #1
declare i32 @__VERIFIER_assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpr8ohy3eu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i8, align 1
%6 = alloca i8, align 1
store i32 0, ptr %1, align 4
%7 = call i32 (...) @__VERIFIER_nondet_uint()
store i32 %7, ptr %2, align 4
%8 = load i32, ptr %2, align 4
store i32 %8, ptr %3, align 4
store i8 0, ptr %5, align 1
%9 = load i32, ptr %3, align 4
%10 = icmp ne i32 %9, 0
br i1 %10, label %.lr.ph, label %24
.lr.ph: ; preds = %0
br label %11
11: ; preds = %.lr.ph, %17
%12 = load i8, ptr %5, align 1
%13 = sext i8 %12 to i32
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %16
15: ; preds = %11
store i8 1, ptr %5, align 1
br label %17
16: ; preds = %11
store i8 0, ptr %5, align 1
br label %17
17: ; preds = %16, %15
%18 = load i32, ptr %3, align 4
%19 = load i32, ptr %3, align 4
%20 = sub i32 %19, 1
%21 = and i32 %18, %20
store i32 %21, ptr %3, align 4
%22 = load i32, ptr %3, align 4
%23 = icmp ne i32 %22, 0
br i1 %23, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %24
24: ; preds = %._crit_edge, %0
%25 = load i32, ptr %2, align 4
store i32 %25, ptr %4, align 4
store i8 0, ptr %6, align 1
%26 = load i32, ptr %4, align 4
%27 = load i32, ptr %4, align 4
%28 = lshr i32 %27, 1
%29 = xor i32 %26, %28
store i32 %29, ptr %4, align 4
%30 = load i32, ptr %4, align 4
%31 = load i32, ptr %4, align 4
%32 = lshr i32 %31, 2
%33 = xor i32 %30, %32
store i32 %33, ptr %4, align 4
%34 = load i32, ptr %4, align 4
%35 = and i32 %34, 286331153
%36 = mul i32 %35, 286331153
store i32 %36, ptr %4, align 4
%37 = load i32, ptr %4, align 4
%38 = lshr i32 %37, 28
%39 = and i32 %38, 1
%40 = icmp eq i32 %39, 0
br i1 %40, label %41, label %42
41: ; preds = %24
store i8 0, ptr %6, align 1
br label %43
42: ; preds = %24
store i8 1, ptr %6, align 1
br label %43
43: ; preds = %42, %41
%44 = load i8, ptr %5, align 1
%45 = sext i8 %44 to i32
%46 = load i8, ptr %6, align 1
%47 = sext i8 %46 to i32
%48 = icmp eq i32 %45, %47
%49 = zext i1 %48 to i32
%50 = call i32 @__VERIFIER_assert(i32 noundef %49)
ret i32 0
}
declare i32 @__VERIFIER_nondet_uint(...) #1
declare i32 @__VERIFIER_assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp27trj_5t.c'
source_filename = "/tmp/tmp27trj_5t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [31 x i8] c"usage: %s <basedir> <devname>\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load i32, ptr %4, align 4
%9 = icmp ne i32 %8, 3
br i1 %9, label %10, label %17
10: ; preds = %2
%11 = load i32, ptr @stderr, align 4
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 0
%14 = load ptr, ptr %13, align 8
%15 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str, ptr noundef %14)
%16 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %16, ptr %3, align 4
br label %30
17: ; preds = %2
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 1
%20 = load ptr, ptr %19, align 8
store ptr %20, ptr %6, align 8
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 2
%23 = load ptr, ptr %22, align 8
store ptr %23, ptr %7, align 8
%24 = load ptr, ptr %6, align 8
%25 = call i32 @set_mount_base(ptr noundef %24)
%26 = load ptr, ptr %7, align 8
%27 = load ptr, ptr %6, align 8
%28 = call i32 @iterate_parsers(ptr noundef %26, ptr noundef %27)
%29 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %29, ptr %3, align 4
br label %30
30: ; preds = %17, %10
%31 = load i32, ptr %3, align 4
ret i32 %31
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @set_mount_base(ptr noundef) #1
declare i32 @iterate_parsers(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp27trj_5t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [31 x i8] c"usage: %s <basedir> <devname>\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load i32, ptr %4, align 4
%9 = icmp ne i32 %8, 3
br i1 %9, label %10, label %17
10: ; preds = %2
%11 = load i32, ptr @stderr, align 4
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 0
%14 = load ptr, ptr %13, align 8
%15 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str, ptr noundef %14)
%16 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %16, ptr %3, align 4
br label %30
17: ; preds = %2
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 1
%20 = load ptr, ptr %19, align 8
store ptr %20, ptr %6, align 8
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 2
%23 = load ptr, ptr %22, align 8
store ptr %23, ptr %7, align 8
%24 = load ptr, ptr %6, align 8
%25 = call i32 @set_mount_base(ptr noundef %24)
%26 = load ptr, ptr %7, align 8
%27 = load ptr, ptr %6, align 8
%28 = call i32 @iterate_parsers(ptr noundef %26, ptr noundef %27)
%29 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %29, ptr %3, align 4
br label %30
30: ; preds = %17, %10
%31 = load i32, ptr %3, align 4
ret i32 %31
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @set_mount_base(ptr noundef) #1
declare i32 @iterate_parsers(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpujteja8j.c'
source_filename = "/tmp/tmpujteja8j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpujteja8j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpe9uie2vi.c'
source_filename = "/tmp/tmpe9uie2vi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"gcd(81, 9) = %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"gcd(7, 21) = %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"gcd(17, 6) = %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [19 x i8] c"gcd(116, 96) = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @gcd(i32 noundef 81, i32 noundef 9)
%3 = call i32 @printf(ptr noundef @.str, i32 noundef %2)
%4 = call i32 @gcd(i32 noundef 7, i32 noundef 21)
%5 = call i32 @printf(ptr noundef @.str.1, i32 noundef %4)
%6 = call i32 @gcd(i32 noundef 17, i32 noundef 6)
%7 = call i32 @printf(ptr noundef @.str.2, i32 noundef %6)
%8 = call i32 @gcd(i32 noundef 116, i32 noundef 96)
%9 = call i32 @printf(ptr noundef @.str.3, i32 noundef %8)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @gcd(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe9uie2vi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"gcd(81, 9) = %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"gcd(7, 21) = %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"gcd(17, 6) = %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [19 x i8] c"gcd(116, 96) = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @gcd(i32 noundef 81, i32 noundef 9)
%3 = call i32 @printf(ptr noundef @.str, i32 noundef %2)
%4 = call i32 @gcd(i32 noundef 7, i32 noundef 21)
%5 = call i32 @printf(ptr noundef @.str.1, i32 noundef %4)
%6 = call i32 @gcd(i32 noundef 17, i32 noundef 6)
%7 = call i32 @printf(ptr noundef @.str.2, i32 noundef %6)
%8 = call i32 @gcd(i32 noundef 116, i32 noundef 96)
%9 = call i32 @printf(ptr noundef @.str.3, i32 noundef %8)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @gcd(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdd_gi3n6.c'
source_filename = "/tmp/tmpdd_gi3n6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"HTTP:Proxy\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @HTTPSetProxy(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @LibUsefulSetValue(ptr noundef @.str, ptr noundef %3)
ret void
}
declare i32 @LibUsefulSetValue(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdd_gi3n6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"HTTP:Proxy\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @HTTPSetProxy(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @LibUsefulSetValue(ptr noundef @.str, ptr noundef %3)
ret void
}
declare i32 @LibUsefulSetValue(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpeymcdibh.c'
source_filename = "/tmp/tmpeymcdibh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ht_add_function(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load ptr, ptr %6, align 8
%10 = call i32 @ht_add(ptr noundef %7, ptr noundef %8, ptr noundef null, ptr noundef %9)
ret void
}
declare i32 @ht_add(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpeymcdibh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ht_add_function(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load ptr, ptr %6, align 8
%10 = call i32 @ht_add(ptr noundef %7, ptr noundef %8, ptr noundef null, ptr noundef %9)
ret void
}
declare i32 @ht_add(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2t44n1_2.c'
source_filename = "/tmp/tmp2t44n1_2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: alwaysinline nounwind sspstrong uwtable
define weak dso_local i32 @softboundcets_closedir(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @closedir(ptr noundef %3)
ret i32 %4
}
declare i32 @closedir(ptr noundef) #1
attributes #0 = { alwaysinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2t44n1_2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: alwaysinline nounwind sspstrong uwtable
define weak dso_local i32 @softboundcets_closedir(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @closedir(ptr noundef %3)
ret i32 %4
}
declare i32 @closedir(ptr noundef) #1
attributes #0 = { alwaysinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpudj_j0no.c'
source_filename = "/tmp/tmpudj_j0no.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @_refute_equal(i64 noundef %0, i64 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store i64 %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%9 = load i64, ptr %5, align 8
%10 = load i64, ptr %6, align 8
%11 = icmp eq i64 %9, %10
br i1 %11, label %12, label %18
12: ; preds = %4
%13 = load i64, ptr %5, align 8
%14 = load i64, ptr %6, align 8
%15 = load ptr, ptr %7, align 8
%16 = load i32, ptr %8, align 4
%17 = call i32 @refute_equal_failed(i64 noundef %13, i64 noundef %14, ptr noundef %15, i32 noundef %16)
br label %20
18: ; preds = %4
%19 = call i32 (...) @expectation_passed()
br label %20
20: ; preds = %18, %12
ret void
}
declare i32 @refute_equal_failed(i64 noundef, i64 noundef, ptr noundef, i32 noundef) #1
declare i32 @expectation_passed(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpudj_j0no.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @_refute_equal(i64 noundef %0, i64 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store i64 %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%9 = load i64, ptr %5, align 8
%10 = load i64, ptr %6, align 8
%11 = icmp eq i64 %9, %10
br i1 %11, label %12, label %18
12: ; preds = %4
%13 = load i64, ptr %5, align 8
%14 = load i64, ptr %6, align 8
%15 = load ptr, ptr %7, align 8
%16 = load i32, ptr %8, align 4
%17 = call i32 @refute_equal_failed(i64 noundef %13, i64 noundef %14, ptr noundef %15, i32 noundef %16)
br label %20
18: ; preds = %4
%19 = call i32 (...) @expectation_passed()
br label %20
20: ; preds = %18, %12
ret void
}
declare i32 @refute_equal_failed(i64 noundef, i64 noundef, ptr noundef, i32 noundef) #1
declare i32 @expectation_passed(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpa8ikczeu.c'
source_filename = "/tmp/tmpa8ikczeu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%2hhx\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"Checking string %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [68 x i8] c"Disagreement between SHA256_VST and SHA256_NSS in SHA256_compare_0\0A\00", align 1
@.str.4 = private unnamed_addr constant [71 x i8] c"Disagreement between SHA256_VST and SHA256_sodium in SHA256_compare_0\0A\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @SHA256_compare_read(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i8, align 1
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca [32 x i8], align 16
%8 = alloca [32 x i8], align 16
store ptr %0, ptr %2, align 8
%9 = load ptr, ptr %2, align 8
%10 = call i64 (ptr, ptr, ...) @fscanf(ptr noundef %9, ptr noundef @.str, ptr noundef %4)
%11 = load i32, ptr %4, align 4
%12 = sext i32 %11 to i64
%13 = mul i64 %12, 1
%14 = trunc i64 %13 to i32
%15 = call ptr @malloc(i32 noundef %14)
store ptr %15, ptr %5, align 8
store i32 0, ptr %6, align 4
br label %16
16: ; preds = %20, %1
%17 = load ptr, ptr %2, align 8
%18 = call i64 (ptr, ptr, ...) @fscanf(ptr noundef %17, ptr noundef @.str.1, ptr noundef %3)
%19 = icmp sgt i64 %18, 0
br i1 %19, label %20, label %27
20: ; preds = %16
%21 = load i8, ptr %3, align 1
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr %6, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %6, align 4
%25 = sext i32 %23 to i64
%26 = getelementptr inbounds i8, ptr %22, i64 %25
store i8 %21, ptr %26, align 1
br label %16, !llvm.loop !6
27: ; preds = %16
%28 = load ptr, ptr %5, align 8
%29 = call i32 @printf(ptr noundef @.str.2, ptr noundef %28)
%30 = load ptr, ptr %5, align 8
%31 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0
%32 = load i32, ptr %4, align 4
%33 = sext i32 %32 to i64
%34 = mul i64 %33, 1
%35 = trunc i64 %34 to i32
%36 = call i32 @SHA256_VST(ptr noundef %30, ptr noundef %31, i32 noundef %35)
%37 = getelementptr inbounds [32 x i8], ptr %8, i64 0, i64 0
%38 = call i32 @memset(ptr noundef %37, i32 noundef 0, i32 noundef 32)
%39 = load ptr, ptr %5, align 8
%40 = getelementptr inbounds [32 x i8], ptr %8, i64 0, i64 0
%41 = load i32, ptr %4, align 4
%42 = sext i32 %41 to i64
%43 = mul i64 %42, 1
%44 = trunc i64 %43 to i32
%45 = call i32 @SHA256_NSS(ptr noundef %39, ptr noundef %40, i32 noundef %44)
%46 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0
%47 = getelementptr inbounds [32 x i8], ptr %8, i64 0, i64 0
%48 = call i32 @check_test(ptr noundef %46, ptr noundef %47, i32 noundef 32, ptr noundef @.str.3)
%49 = getelementptr inbounds [32 x i8], ptr %8, i64 0, i64 0
%50 = call i32 @memset(ptr noundef %49, i32 noundef 0, i32 noundef 32)
%51 = load ptr, ptr %5, align 8
%52 = getelementptr inbounds [32 x i8], ptr %8, i64 0, i64 0
%53 = load i32, ptr %4, align 4
%54 = sext i32 %53 to i64
%55 = mul i64 %54, 1
%56 = trunc i64 %55 to i32
%57 = call i32 @SHA256_sodium(ptr noundef %51, ptr noundef %52, i32 noundef %56)
%58 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0
%59 = getelementptr inbounds [32 x i8], ptr %8, i64 0, i64 0
%60 = call i32 @check_test(ptr noundef %58, ptr noundef %59, i32 noundef 32, ptr noundef @.str.4)
%61 = load ptr, ptr %2, align 8
%62 = call i64 (ptr, ptr, ...) @fscanf(ptr noundef %61, ptr noundef @.str.5, ptr noundef %3)
ret void
}
declare i64 @fscanf(ptr noundef, ptr noundef, ...) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @SHA256_VST(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @SHA256_NSS(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @check_test(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @SHA256_sodium(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpa8ikczeu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%2hhx\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"Checking string %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [68 x i8] c"Disagreement between SHA256_VST and SHA256_NSS in SHA256_compare_0\0A\00", align 1
@.str.4 = private unnamed_addr constant [71 x i8] c"Disagreement between SHA256_VST and SHA256_sodium in SHA256_compare_0\0A\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @SHA256_compare_read(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i8, align 1
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca [32 x i8], align 16
%8 = alloca [32 x i8], align 16
store ptr %0, ptr %2, align 8
%9 = load ptr, ptr %2, align 8
%10 = call i64 (ptr, ptr, ...) @fscanf(ptr noundef %9, ptr noundef @.str, ptr noundef %4)
%11 = load i32, ptr %4, align 4
%12 = sext i32 %11 to i64
%13 = mul i64 %12, 1
%14 = trunc i64 %13 to i32
%15 = call ptr @malloc(i32 noundef %14)
store ptr %15, ptr %5, align 8
store i32 0, ptr %6, align 4
%16 = load ptr, ptr %2, align 8
%17 = call i64 (ptr, ptr, ...) @fscanf(ptr noundef %16, ptr noundef @.str.1, ptr noundef %3)
%18 = icmp sgt i64 %17, 0
br i1 %18, label %.lr.ph, label %29
.lr.ph: ; preds = %1
br label %19
19: ; preds = %.lr.ph, %19
%20 = load i8, ptr %3, align 1
%21 = load ptr, ptr %5, align 8
%22 = load i32, ptr %6, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %6, align 4
%24 = sext i32 %22 to i64
%25 = getelementptr inbounds i8, ptr %21, i64 %24
store i8 %20, ptr %25, align 1
%26 = load ptr, ptr %2, align 8
%27 = call i64 (ptr, ptr, ...) @fscanf(ptr noundef %26, ptr noundef @.str.1, ptr noundef %3)
%28 = icmp sgt i64 %27, 0
br i1 %28, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %29
29: ; preds = %._crit_edge, %1
%30 = load ptr, ptr %5, align 8
%31 = call i32 @printf(ptr noundef @.str.2, ptr noundef %30)
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0
%34 = load i32, ptr %4, align 4
%35 = sext i32 %34 to i64
%36 = mul i64 %35, 1
%37 = trunc i64 %36 to i32
%38 = call i32 @SHA256_VST(ptr noundef %32, ptr noundef %33, i32 noundef %37)
%39 = getelementptr inbounds [32 x i8], ptr %8, i64 0, i64 0
%40 = call i32 @memset(ptr noundef %39, i32 noundef 0, i32 noundef 32)
%41 = load ptr, ptr %5, align 8
%42 = getelementptr inbounds [32 x i8], ptr %8, i64 0, i64 0
%43 = load i32, ptr %4, align 4
%44 = sext i32 %43 to i64
%45 = mul i64 %44, 1
%46 = trunc i64 %45 to i32
%47 = call i32 @SHA256_NSS(ptr noundef %41, ptr noundef %42, i32 noundef %46)
%48 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0
%49 = getelementptr inbounds [32 x i8], ptr %8, i64 0, i64 0
%50 = call i32 @check_test(ptr noundef %48, ptr noundef %49, i32 noundef 32, ptr noundef @.str.3)
%51 = getelementptr inbounds [32 x i8], ptr %8, i64 0, i64 0
%52 = call i32 @memset(ptr noundef %51, i32 noundef 0, i32 noundef 32)
%53 = load ptr, ptr %5, align 8
%54 = getelementptr inbounds [32 x i8], ptr %8, i64 0, i64 0
%55 = load i32, ptr %4, align 4
%56 = sext i32 %55 to i64
%57 = mul i64 %56, 1
%58 = trunc i64 %57 to i32
%59 = call i32 @SHA256_sodium(ptr noundef %53, ptr noundef %54, i32 noundef %58)
%60 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0
%61 = getelementptr inbounds [32 x i8], ptr %8, i64 0, i64 0
%62 = call i32 @check_test(ptr noundef %60, ptr noundef %61, i32 noundef 32, ptr noundef @.str.4)
%63 = load ptr, ptr %2, align 8
%64 = call i64 (ptr, ptr, ...) @fscanf(ptr noundef %63, ptr noundef @.str.5, ptr noundef %3)
ret void
}
declare i64 @fscanf(ptr noundef, ptr noundef, ...) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @SHA256_VST(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @SHA256_NSS(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @check_test(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @SHA256_sodium(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpv8fzj3qa.c'
source_filename = "/tmp/tmpv8fzj3qa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.protoent = type { ptr, ptr, i32 }
@AF_INET = dso_local global i32 0, align 4
@SOCK_DGRAM = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"Uso: %s <protocollo>\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [23 x i8] c"Err. getprotobyname()\0A\00", align 1
@.str.2 = private unnamed_addr constant [69 x i8] c"Informazioni su '%s'\0A- nome: %s\0A- alias: %s\0A- numero protocollo: %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [20 x i8] c"Err. socket() - %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = load i32, ptr @AF_INET, align 4
store i32 %11, ptr %6, align 4
%12 = load i32, ptr @SOCK_DGRAM, align 4
store i32 %12, ptr %7, align 4
store i32 0, ptr %8, align 4
%13 = load i32, ptr %4, align 4
%14 = icmp ne i32 %13, 2
br i1 %14, label %15, label %23
15: ; preds = %2
%16 = load i32, ptr @stderr, align 4
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 0
%19 = load ptr, ptr %18, align 8
%20 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %16, ptr noundef @.str, ptr noundef %19)
%21 = load i32, ptr @EXIT_FAILURE, align 4
%22 = call i32 @exit(i32 noundef %21) #3
unreachable
23: ; preds = %2
%24 = load ptr, ptr %5, align 8
%25 = getelementptr inbounds ptr, ptr %24, i64 1
%26 = load ptr, ptr %25, align 8
%27 = call ptr @getprotobyname(ptr noundef %26)
store ptr %27, ptr %10, align 8
%28 = icmp eq ptr %27, null
br i1 %28, label %29, label %34
29: ; preds = %23
%30 = load i32, ptr @stderr, align 4
%31 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %30, ptr noundef @.str.1)
%32 = load i32, ptr @EXIT_FAILURE, align 4
%33 = call i32 @exit(i32 noundef %32) #3
unreachable
34: ; preds = %23
%35 = load ptr, ptr %5, align 8
%36 = getelementptr inbounds ptr, ptr %35, i64 1
%37 = load ptr, ptr %36, align 8
%38 = load ptr, ptr %10, align 8
%39 = getelementptr inbounds %struct.protoent, ptr %38, i32 0, i32 0
%40 = load ptr, ptr %39, align 8
%41 = load ptr, ptr %10, align 8
%42 = getelementptr inbounds %struct.protoent, ptr %41, i32 0, i32 1
%43 = load ptr, ptr %42, align 8
%44 = load ptr, ptr %43, align 8
%45 = load ptr, ptr %10, align 8
%46 = getelementptr inbounds %struct.protoent, ptr %45, i32 0, i32 2
%47 = load i32, ptr %46, align 8
%48 = call i32 @printf(ptr noundef @.str.2, ptr noundef %37, ptr noundef %40, ptr noundef %44, i32 noundef %47)
%49 = load ptr, ptr %10, align 8
%50 = getelementptr inbounds %struct.protoent, ptr %49, i32 0, i32 2
%51 = load i32, ptr %50, align 8
store i32 %51, ptr %8, align 4
%52 = load i32, ptr %6, align 4
%53 = load i32, ptr %7, align 4
%54 = load i32, ptr %8, align 4
%55 = call i32 @socket(i32 noundef %52, i32 noundef %53, i32 noundef %54)
store i32 %55, ptr %9, align 4
%56 = icmp slt i32 %55, 0
br i1 %56, label %57, label %64
57: ; preds = %34
%58 = load i32, ptr @stderr, align 4
%59 = load i32, ptr @errno, align 4
%60 = call ptr @strerror(i32 noundef %59)
%61 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %58, ptr noundef @.str.3, ptr noundef %60)
%62 = load i32, ptr @EXIT_FAILURE, align 4
%63 = call i32 @exit(i32 noundef %62) #3
unreachable
64: ; preds = %34
%65 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %65
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @getprotobyname(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare ptr @strerror(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="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 "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpv8fzj3qa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.protoent = type { ptr, ptr, i32 }
@AF_INET = dso_local global i32 0, align 4
@SOCK_DGRAM = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"Uso: %s <protocollo>\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [23 x i8] c"Err. getprotobyname()\0A\00", align 1
@.str.2 = private unnamed_addr constant [69 x i8] c"Informazioni su '%s'\0A- nome: %s\0A- alias: %s\0A- numero protocollo: %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [20 x i8] c"Err. socket() - %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = load i32, ptr @AF_INET, align 4
store i32 %11, ptr %6, align 4
%12 = load i32, ptr @SOCK_DGRAM, align 4
store i32 %12, ptr %7, align 4
store i32 0, ptr %8, align 4
%13 = load i32, ptr %4, align 4
%14 = icmp ne i32 %13, 2
br i1 %14, label %15, label %23
15: ; preds = %2
%16 = load i32, ptr @stderr, align 4
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 0
%19 = load ptr, ptr %18, align 8
%20 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %16, ptr noundef @.str, ptr noundef %19)
%21 = load i32, ptr @EXIT_FAILURE, align 4
%22 = call i32 @exit(i32 noundef %21) #3
unreachable
23: ; preds = %2
%24 = load ptr, ptr %5, align 8
%25 = getelementptr inbounds ptr, ptr %24, i64 1
%26 = load ptr, ptr %25, align 8
%27 = call ptr @getprotobyname(ptr noundef %26)
store ptr %27, ptr %10, align 8
%28 = icmp eq ptr %27, null
br i1 %28, label %29, label %34
29: ; preds = %23
%30 = load i32, ptr @stderr, align 4
%31 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %30, ptr noundef @.str.1)
%32 = load i32, ptr @EXIT_FAILURE, align 4
%33 = call i32 @exit(i32 noundef %32) #3
unreachable
34: ; preds = %23
%35 = load ptr, ptr %5, align 8
%36 = getelementptr inbounds ptr, ptr %35, i64 1
%37 = load ptr, ptr %36, align 8
%38 = load ptr, ptr %10, align 8
%39 = getelementptr inbounds %struct.protoent, ptr %38, i32 0, i32 0
%40 = load ptr, ptr %39, align 8
%41 = load ptr, ptr %10, align 8
%42 = getelementptr inbounds %struct.protoent, ptr %41, i32 0, i32 1
%43 = load ptr, ptr %42, align 8
%44 = load ptr, ptr %43, align 8
%45 = load ptr, ptr %10, align 8
%46 = getelementptr inbounds %struct.protoent, ptr %45, i32 0, i32 2
%47 = load i32, ptr %46, align 8
%48 = call i32 @printf(ptr noundef @.str.2, ptr noundef %37, ptr noundef %40, ptr noundef %44, i32 noundef %47)
%49 = load ptr, ptr %10, align 8
%50 = getelementptr inbounds %struct.protoent, ptr %49, i32 0, i32 2
%51 = load i32, ptr %50, align 8
store i32 %51, ptr %8, align 4
%52 = load i32, ptr %6, align 4
%53 = load i32, ptr %7, align 4
%54 = load i32, ptr %8, align 4
%55 = call i32 @socket(i32 noundef %52, i32 noundef %53, i32 noundef %54)
store i32 %55, ptr %9, align 4
%56 = icmp slt i32 %55, 0
br i1 %56, label %57, label %64
57: ; preds = %34
%58 = load i32, ptr @stderr, align 4
%59 = load i32, ptr @errno, align 4
%60 = call ptr @strerror(i32 noundef %59)
%61 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %58, ptr noundef @.str.3, ptr noundef %60)
%62 = load i32, ptr @EXIT_FAILURE, align 4
%63 = call i32 @exit(i32 noundef %62) #3
unreachable
64: ; preds = %34
%65 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %65
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @getprotobyname(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare ptr @strerror(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="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 "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3l268x_3.c'
source_filename = "/tmp/tmp3l268x_3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"oldmast.dat\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"trans.dat\00", align 1
@.str.3 = private unnamed_addr constant [35 x i8] c"Sample data for file oldmast.dat:\0A\00", align 1
@.str.4 = private unnamed_addr constant [45 x i8] c"Enter account,name,and balance (EOF to end):\00", align 1
@.str.5 = private unnamed_addr constant [14 x i8] c"%d%[^0-9-]%lf\00", align 1
@EOF = dso_local global i64 0, align 8
@.str.6 = private unnamed_addr constant [12 x i8] c"%d %s %.2f\0A\00", align 1
@.str.7 = private unnamed_addr constant [34 x i8] c"\0ASample data for file trans.dat:\0A\00", align 1
@.str.8 = private unnamed_addr constant [6 x i8] c"%d%lf\00", align 1
@.str.9 = private unnamed_addr constant [9 x i8] c"%d %.2f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca [30 x i8], align 16
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%12 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %12, ptr %10, align 8
%13 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.1)
store ptr %13, ptr %11, align 8
%14 = call i32 @printf(ptr noundef @.str.3)
%15 = call i32 @printf(ptr noundef @.str.4)
br label %16
16: ; preds = %21, %2
%17 = getelementptr inbounds [30 x i8], ptr %7, i64 0, i64 0
%18 = call i64 (ptr, ptr, ...) @scanf(ptr noundef @.str.5, ptr noundef %6, ptr noundef %17, ptr noundef %8)
%19 = load i64, ptr @EOF, align 8
%20 = icmp ne i64 %18, %19
br i1 %20, label %21, label %28
21: ; preds = %16
%22 = load ptr, ptr %10, align 8
%23 = load i32, ptr %6, align 4
%24 = getelementptr inbounds [30 x i8], ptr %7, i64 0, i64 0
%25 = load double, ptr %8, align 8
%26 = call i32 (ptr, ptr, i32, ...) @fprintf(ptr noundef %22, ptr noundef @.str.6, i32 noundef %23, ptr noundef %24, double noundef %25)
%27 = call i32 @printf(ptr noundef @.str.4)
br label %16, !llvm.loop !6
28: ; preds = %16
%29 = load ptr, ptr %10, align 8
%30 = call i32 @fclose(ptr noundef %29)
%31 = call i32 @printf(ptr noundef @.str.7)
%32 = call i32 @printf(ptr noundef @.str.4)
br label %33
33: ; preds = %37, %28
%34 = call i64 (ptr, ptr, ...) @scanf(ptr noundef @.str.8, ptr noundef %6, ptr noundef %9)
%35 = load i64, ptr @EOF, align 8
%36 = icmp ne i64 %34, %35
br i1 %36, label %37, label %43
37: ; preds = %33
%38 = load ptr, ptr %11, align 8
%39 = load i32, ptr %6, align 4
%40 = load double, ptr %9, align 8
%41 = call i32 (ptr, ptr, i32, ...) @fprintf(ptr noundef %38, ptr noundef @.str.9, i32 noundef %39, double noundef %40)
%42 = call i32 @printf(ptr noundef @.str.4)
br label %33, !llvm.loop !8
43: ; preds = %33
%44 = load ptr, ptr %11, align 8
%45 = call i32 @fclose(ptr noundef %44)
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare i64 @scanf(ptr noundef, ptr noundef, ...) #1
declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef, ...) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3l268x_3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"oldmast.dat\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"trans.dat\00", align 1
@.str.3 = private unnamed_addr constant [35 x i8] c"Sample data for file oldmast.dat:\0A\00", align 1
@.str.4 = private unnamed_addr constant [45 x i8] c"Enter account,name,and balance (EOF to end):\00", align 1
@.str.5 = private unnamed_addr constant [14 x i8] c"%d%[^0-9-]%lf\00", align 1
@EOF = dso_local global i64 0, align 8
@.str.6 = private unnamed_addr constant [12 x i8] c"%d %s %.2f\0A\00", align 1
@.str.7 = private unnamed_addr constant [34 x i8] c"\0ASample data for file trans.dat:\0A\00", align 1
@.str.8 = private unnamed_addr constant [6 x i8] c"%d%lf\00", align 1
@.str.9 = private unnamed_addr constant [9 x i8] c"%d %.2f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca [30 x i8], align 16
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%12 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %12, ptr %10, align 8
%13 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.1)
store ptr %13, ptr %11, align 8
%14 = call i32 @printf(ptr noundef @.str.3)
%15 = call i32 @printf(ptr noundef @.str.4)
%16 = getelementptr inbounds [30 x i8], ptr %7, i64 0, i64 0
%17 = call i64 (ptr, ptr, ...) @scanf(ptr noundef @.str.5, ptr noundef %6, ptr noundef %16, ptr noundef %8)
%18 = load i64, ptr @EOF, align 8
%19 = icmp ne i64 %17, %18
br i1 %19, label %.lr.ph, label %30
.lr.ph: ; preds = %2
br label %20
20: ; preds = %.lr.ph, %20
%21 = load ptr, ptr %10, align 8
%22 = load i32, ptr %6, align 4
%23 = getelementptr inbounds [30 x i8], ptr %7, i64 0, i64 0
%24 = load double, ptr %8, align 8
%25 = call i32 (ptr, ptr, i32, ...) @fprintf(ptr noundef %21, ptr noundef @.str.6, i32 noundef %22, ptr noundef %23, double noundef %24)
%26 = call i32 @printf(ptr noundef @.str.4)
%27 = call i64 (ptr, ptr, ...) @scanf(ptr noundef @.str.5, ptr noundef %6, ptr noundef %16, ptr noundef %8)
%28 = load i64, ptr @EOF, align 8
%29 = icmp ne i64 %27, %28
br i1 %29, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %30
30: ; preds = %._crit_edge, %2
%31 = load ptr, ptr %10, align 8
%32 = call i32 @fclose(ptr noundef %31)
%33 = call i32 @printf(ptr noundef @.str.7)
%34 = call i32 @printf(ptr noundef @.str.4)
%35 = call i64 (ptr, ptr, ...) @scanf(ptr noundef @.str.8, ptr noundef %6, ptr noundef %9)
%36 = load i64, ptr @EOF, align 8
%37 = icmp ne i64 %35, %36
br i1 %37, label %.lr.ph2, label %47
.lr.ph2: ; preds = %30
br label %38
38: ; preds = %.lr.ph2, %38
%39 = load ptr, ptr %11, align 8
%40 = load i32, ptr %6, align 4
%41 = load double, ptr %9, align 8
%42 = call i32 (ptr, ptr, i32, ...) @fprintf(ptr noundef %39, ptr noundef @.str.9, i32 noundef %40, double noundef %41)
%43 = call i32 @printf(ptr noundef @.str.4)
%44 = call i64 (ptr, ptr, ...) @scanf(ptr noundef @.str.8, ptr noundef %6, ptr noundef %9)
%45 = load i64, ptr @EOF, align 8
%46 = icmp ne i64 %44, %45
br i1 %46, label %38, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %38
br label %47
47: ; preds = %._crit_edge3, %30
%48 = load ptr, ptr %11, align 8
%49 = call i32 @fclose(ptr noundef %48)
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare i64 @scanf(ptr noundef, ptr noundef, ...) #1
declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef, ...) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpg8ip1_bj.c'
source_filename = "/tmp/tmpg8ip1_bj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpg8ip1_bj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_aomv4pd.c'
source_filename = "/tmp/tmp_aomv4pd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"|\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"l = 16;\0Ae = 0.16;\0Ag = 3;\0A\0A\00", align 1
@.str.2 = private unnamed_addr constant [82 x i8] c"module m(v,w) { translate(v*l+[e,e,e]-3*e*w) cube((l-2*e)*[1,1,1]+(6*e-l)*w); }\0A\0A\00", align 1
@.str.3 = private unnamed_addr constant [41 x i8] c"module a(i,j,k) { m([i,j,k],[0,0,0]); }\0A\00", align 1
@.str.4 = private unnamed_addr constant [42 x i8] c"module bx(i,j,k) { m([i,j,k],[1,0,0]); }\0A\00", align 1
@.str.5 = private unnamed_addr constant [42 x i8] c"module by(i,j,k) { m([i,j,k],[0,1,0]); }\0A\00", align 1
@.str.6 = private unnamed_addr constant [42 x i8] c"module bz(i,j,k) { m([i,j,k],[0,0,1]); }\0A\00", align 1
@.str.7 = private unnamed_addr constant [42 x i8] c"module cx(i,j,k) { m([i,j,k],[0,1,1]); }\0A\00", align 1
@.str.8 = private unnamed_addr constant [42 x i8] c"module cy(i,j,k) { m([i,j,k],[1,0,1]); }\0A\00", align 1
@.str.9 = private unnamed_addr constant [42 x i8] c"module cz(i,j,k) { m([i,j,k],[1,1,0]); }\0A\00", align 1
@.str.10 = private unnamed_addr constant [42 x i8] c"module d(i,j,k) { m([i,j,k],[1,1,1]); }\0A\0A\00", align 1
@.str.11 = private unnamed_addr constant [14 x i8] c"module p() {\0A\00", align 1
@.str.12 = private unnamed_addr constant [16 x i8] c" a(%d,%d,%d);\0A\00", align 1
@.str.13 = private unnamed_addr constant [17 x i8] c" bx(%d,%d,%d);\0A\00", align 1
@.str.14 = private unnamed_addr constant [17 x i8] c" cy(%d,%d,%d);\0A\00", align 1
@.str.15 = private unnamed_addr constant [16 x i8] c" d(%d,%d,%d);\0A\00", align 1
@.str.16 = private unnamed_addr constant [17 x i8] c" cz(%d,%d,%d);\0A\00", align 1
@.str.17 = private unnamed_addr constant [17 x i8] c" by(%d,%d,%d);\0A\00", align 1
@.str.18 = private unnamed_addr constant [17 x i8] c" cx(%d,%d,%d);\0A\00", align 1
@.str.19 = private unnamed_addr constant [17 x i8] c" bz(%d,%d,%d);\0A\00", align 1
@.str.20 = private unnamed_addr constant [8 x i8] c"}\0Ap();\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [10 x [10 x [10 x i8]]], align 16
%3 = alloca [110 x i8], align 16
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 0, ptr %1, align 4
%11 = getelementptr inbounds [110 x i8], ptr %3, i64 0, i64 0
%12 = call i64 @gets(ptr noundef %11)
store i32 0, ptr %7, align 4
%13 = getelementptr inbounds [110 x i8], ptr %3, i64 0, i64 0
%14 = call ptr @strtok(ptr noundef %13, ptr noundef @.str)
store ptr %14, ptr %4, align 8
%15 = load ptr, ptr %4, align 8
%16 = call i32 @strlen(ptr noundef %15)
store i32 %16, ptr %8, align 4
br label %17
17: ; preds = %29, %0
%18 = load ptr, ptr %4, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %20, label %31
20: ; preds = %17
%21 = getelementptr inbounds [10 x [10 x [10 x i8]]], ptr %2, i64 0, i64 0
%22 = load i32, ptr %7, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %7, align 4
%24 = sext i32 %22 to i64
%25 = getelementptr inbounds [10 x [10 x i8]], ptr %21, i64 0, i64 %24
%26 = getelementptr inbounds [10 x i8], ptr %25, i64 0, i64 0
%27 = load ptr, ptr %4, align 8
%28 = call i32 @strcpy(ptr noundef %26, ptr noundef %27)
br label %29
29: ; preds = %20
%30 = call ptr @strtok(ptr noundef null, ptr noundef @.str)
store ptr %30, ptr %4, align 8
br label %17, !llvm.loop !6
31: ; preds = %17
store i32 1, ptr %6, align 4
%32 = load i32, ptr %7, align 4
store i32 %32, ptr %10, align 4
br label %33
33: ; preds = %56, %31
%34 = getelementptr inbounds [110 x i8], ptr %3, i64 0, i64 0
%35 = call i64 @gets(ptr noundef %34)
%36 = icmp ne i64 %35, 0
br i1 %36, label %37, label %59
37: ; preds = %33
store i32 0, ptr %7, align 4
%38 = getelementptr inbounds [110 x i8], ptr %3, i64 0, i64 0
%39 = call ptr @strtok(ptr noundef %38, ptr noundef @.str)
store ptr %39, ptr %4, align 8
br label %40
40: ; preds = %54, %37
%41 = load ptr, ptr %4, align 8
%42 = icmp ne ptr %41, null
br i1 %42, label %43, label %56
43: ; preds = %40
%44 = load i32, ptr %6, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [10 x [10 x [10 x i8]]], ptr %2, i64 0, i64 %45
%47 = load i32, ptr %7, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %7, align 4
%49 = sext i32 %47 to i64
%50 = getelementptr inbounds [10 x [10 x i8]], ptr %46, i64 0, i64 %49
%51 = getelementptr inbounds [10 x i8], ptr %50, i64 0, i64 0
%52 = load ptr, ptr %4, align 8
%53 = call i32 @strcpy(ptr noundef %51, ptr noundef %52)
br label %54
54: ; preds = %43
%55 = call ptr @strtok(ptr noundef null, ptr noundef @.str)
store ptr %55, ptr %4, align 8
br label %40, !llvm.loop !8
56: ; preds = %40
%57 = load i32, ptr %6, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %6, align 4
br label %33, !llvm.loop !9
59: ; preds = %33
%60 = load i32, ptr %6, align 4
store i32 %60, ptr %9, align 4
%61 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%62 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%63 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%64 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%65 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%66 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%67 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%68 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%69 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%70 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
%71 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
store i32 0, ptr %7, align 4
br label %72
72: ; preds = %388, %59
%73 = load i32, ptr %7, align 4
%74 = load i32, ptr %10, align 4
%75 = icmp slt i32 %73, %74
br i1 %75, label %76, label %391
76: ; preds = %72
store i32 0, ptr %6, align 4
br label %77
77: ; preds = %384, %76
%78 = load i32, ptr %6, align 4
%79 = load i32, ptr %9, align 4
%80 = icmp slt i32 %78, %79
br i1 %80, label %81, label %387
81: ; preds = %77
store i32 0, ptr %5, align 4
br label %82
82: ; preds = %380, %81
%83 = load i32, ptr %5, align 4
%84 = load i32, ptr %8, align 4
%85 = icmp slt i32 %83, %84
br i1 %85, label %86, label %383
86: ; preds = %82
%87 = load i32, ptr %6, align 4
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds [10 x [10 x [10 x i8]]], ptr %2, i64 0, i64 %88
%90 = load i32, ptr %7, align 4
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds [10 x [10 x i8]], ptr %89, i64 0, i64 %91
%93 = load i32, ptr %5, align 4
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds [10 x i8], ptr %92, i64 0, i64 %94
%96 = load i8, ptr %95, align 1
%97 = sext i8 %96 to i32
%98 = icmp ne i32 %97, 46
br i1 %98, label %99, label %379
99: ; preds = %86
%100 = load i32, ptr %5, align 4
%101 = load i32, ptr %9, align 4
%102 = sub nsw i32 %101, 1
%103 = load i32, ptr %6, align 4
%104 = sub nsw i32 %102, %103
%105 = load i32, ptr %7, align 4
%106 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %100, i32 noundef %104, i32 noundef %105)
%107 = load i32, ptr %5, align 4
%108 = icmp sgt i32 %107, 0
br i1 %108, label %109, label %286
109: ; preds = %99
%110 = load i32, ptr %6, align 4
%111 = sext i32 %110 to i64
%112 = getelementptr inbounds [10 x [10 x [10 x i8]]], ptr %2, i64 0, i64 %111
%113 = load i32, ptr %7, align 4
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds [10 x [10 x i8]], ptr %112, i64 0, i64 %114
%116 = load i32, ptr %5, align 4
%117 = sub nsw i32 %116, 1
%118 = sext i32 %117 to i64
%119 = getelementptr inbounds [10 x i8], ptr %115, i64 0, i64 %118
%120 = load i8, ptr %119, align 1
%121 = sext i8 %120 to i32
%122 = icmp ne i32 %121, 46
br i1 %122, label %123, label %286
123: ; preds = %109
%124 = load i32, ptr %5, align 4
%125 = load i32, ptr %9, align 4
%126 = sub nsw i32 %125, 1
%127 = load i32, ptr %6, align 4
%128 = sub nsw i32 %126, %127
%129 = load i32, ptr %7, align 4
%130 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %124, i32 noundef %128, i32 noundef %129)
%131 = load i32, ptr %7, align 4
%132 = icmp sgt i32 %131, 0
br i1 %132, label %133, label %243
133: ; preds = %123
%134 = load i32, ptr %6, align 4
%135 = sext i32 %134 to i64
%136 = getelementptr inbounds [10 x [10 x [10 x i8]]], ptr %2, i64 0, i64 %135
%137 = load i32, ptr %7, align 4
%138 = sub nsw i32 %137, 1
%139 = sext i32 %138 to i64
%140 = getelementptr inbounds [10 x [10 x i8]], ptr %136, i64 0, i64 %139
%141 = load i32, ptr %5, align 4
%142 = sext i32 %141 to i64
%143 = getelementptr inbounds [10 x i8], ptr %140, i64 0, i64 %142
%144 = load i8, ptr %143, align 1
%145 = sext i8 %144 to i32
%146 = icmp ne i32 %145, 46
br i1 %146, label %147, label %243
147: ; preds = %133
%148 = load i32, ptr %6, align 4
%149 = sext i32 %148 to i64
%150 = getelementptr inbounds [10 x [10 x [10 x i8]]], ptr %2, i64 0, i64 %149
%151 = load i32, ptr %7, align 4
%152 = sub nsw i32 %151, 1
%153 = sext i32 %152 to i64
%154 = getelementptr inbounds [10 x [10 x i8]], ptr %150, i64 0, i64 %153
%155 = load i32, ptr %5, align 4
%156 = sub nsw i32 %155, 1
%157 = sext i32 %156 to i64
%158 = getelementptr inbounds [10 x i8], ptr %154, i64 0, i64 %157
%159 = load i8, ptr %158, align 1
%160 = sext i8 %159 to i32
%161 = icmp ne i32 %160, 46
br i1 %161, label %162, label %243
162: ; preds = %147
%163 = load i32, ptr %5, align 4
%164 = load i32, ptr %9, align 4
%165 = sub nsw i32 %164, 1
%166 = load i32, ptr %6, align 4
%167 = sub nsw i32 %165, %166
%168 = load i32, ptr %7, align 4
%169 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i32 noundef %163, i32 noundef %167, i32 noundef %168)
%170 = load i32, ptr %6, align 4
%171 = load i32, ptr %9, align 4
%172 = sub nsw i32 %171, 1
%173 = icmp slt i32 %170, %172
br i1 %173, label %174, label %242
174: ; preds = %162
%175 = load i32, ptr %6, align 4
%176 = add nsw i32 %175, 1
%177 = sext i32 %176 to i64
%178 = getelementptr inbounds [10 x [10 x [10 x i8]]], ptr %2, i64 0, i64 %177
%179 = load i32, ptr %7, align 4
%180 = sext i32 %179 to i64
%181 = getelementptr inbounds [10 x [10 x i8]], ptr %178, i64 0, i64 %180
%182 = load i32, ptr %5, align 4
%183 = sext i32 %182 to i64
%184 = getelementptr inbounds [10 x i8], ptr %181, i64 0, i64 %183
%185 = load i8, ptr %184, align 1
%186 = sext i8 %185 to i32
%187 = icmp ne i32 %186, 46
br i1 %187, label %188, label %242
188: ; preds = %174
%189 = load i32, ptr %6, align 4
%190 = add nsw i32 %189, 1
%191 = sext i32 %190 to i64
%192 = getelementptr inbounds [10 x [10 x [10 x i8]]], ptr %2, i64 0, i64 %191
%193 = load i32, ptr %7, align 4
%194 = sext i32 %193 to i64
%195 = getelementptr inbounds [10 x [10 x i8]], ptr %192, i64 0, i64 %194
%196 = load i32, ptr %5, align 4
%197 = sub nsw i32 %196, 1
%198 = sext i32 %197 to i64
%199 = getelementptr inbounds [10 x i8], ptr %195, i64 0, i64 %198
%200 = load i8, ptr %199, align 1
%201 = sext i8 %200 to i32
%202 = icmp ne i32 %201, 46
br i1 %202, label %203, label %242
203: ; preds = %188
%204 = load i32, ptr %6, align 4
%205 = add nsw i32 %204, 1
%206 = sext i32 %205 to i64
%207 = getelementptr inbounds [10 x [10 x [10 x i8]]], ptr %2, i64 0, i64 %206
%208 = load i32, ptr %7, align 4
%209 = sub nsw i32 %208, 1
%210 = sext i32 %209 to i64
%211 = getelementptr inbounds [10 x [10 x i8]], ptr %207, i64 0, i64 %210
%212 = load i32, ptr %5, align 4
%213 = sext i32 %212 to i64
%214 = getelementptr inbounds [10 x i8], ptr %211, i64 0, i64 %213
%215 = load i8, ptr %214, align 1
%216 = sext i8 %215 to i32
%217 = icmp ne i32 %216, 46
br i1 %217, label %218, label %242
218: ; preds = %203
%219 = load i32, ptr %6, align 4
%220 = add nsw i32 %219, 1
%221 = sext i32 %220 to i64
%222 = getelementptr inbounds [10 x [10 x [10 x i8]]], ptr %2, i64 0, i64 %221
%223 = load i32, ptr %7, align 4
%224 = sub nsw i32 %223, 1
%225 = sext i32 %224 to i64
%226 = getelementptr inbounds [10 x [10 x i8]], ptr %222, i64 0, i64 %225
%227 = load i32, ptr %5, align 4
%228 = sub nsw i32 %227, 1
%229 = sext i32 %228 to i64
%230 = getelementptr inbounds [10 x i8], ptr %226, i64 0, i64 %229
%231 = load i8, ptr %230, align 1
%232 = sext i8 %231 to i32
%233 = icmp ne i32 %232, 46
br i1 %233, label %234, label %242
234: ; preds = %218
%235 = load i32, ptr %5, align 4
%236 = load i32, ptr %9, align 4
%237 = sub nsw i32 %236, 1
%238 = load i32, ptr %6, align 4
%239 = sub nsw i32 %237, %238
%240 = load i32, ptr %7, align 4
%241 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef %235, i32 noundef %239, i32 noundef %240)
br label %242
242: ; preds = %234, %218, %203, %188, %174, %162
br label %243
243: ; preds = %242, %147, %133, %123
%244 = load i32, ptr %6, align 4
%245 = load i32, ptr %9, align 4
%246 = sub nsw i32 %245, 1
%247 = icmp slt i32 %244, %246
br i1 %247, label %248, label %285
248: ; preds = %243
%249 = load i32, ptr %6, align 4
%250 = add nsw i32 %249, 1
%251 = sext i32 %250 to i64
%252 = getelementptr inbounds [10 x [10 x [10 x i8]]], ptr %2, i64 0, i64 %251
%253 = load i32, ptr %7, align 4
%254 = sext i32 %253 to i64
%255 = getelementptr inbounds [10 x [10 x i8]], ptr %252, i64 0, i64 %254
%256 = load i32, ptr %5, align 4
%257 = sext i32 %256 to i64
%258 = getelementptr inbounds [10 x i8], ptr %255, i64 0, i64 %257
%259 = load i8, ptr %258, align 1
%260 = sext i8 %259 to i32
%261 = icmp ne i32 %260, 46
br i1 %261, label %262, label %285
262: ; preds = %248
%263 = load i32, ptr %6, align 4
%264 = add nsw i32 %263, 1
%265 = sext i32 %264 to i64
%266 = getelementptr inbounds [10 x [10 x [10 x i8]]], ptr %2, i64 0, i64 %265
%267 = load i32, ptr %7, align 4
%268 = sext i32 %267 to i64
%269 = getelementptr inbounds [10 x [10 x i8]], ptr %266, i64 0, i64 %268
%270 = load i32, ptr %5, align 4
%271 = sub nsw i32 %270, 1
%272 = sext i32 %271 to i64
%273 = getelementptr inbounds [10 x i8], ptr %269, i64 0, i64 %272
%274 = load i8, ptr %273, align 1
%275 = sext i8 %274 to i32
%276 = icmp ne i32 %275, 46
br i1 %276, label %277, label %285
277: ; preds = %262
%278 = load i32, ptr %5, align 4
%279 = load i32, ptr %9, align 4
%280 = sub nsw i32 %279, 1
%281 = load i32, ptr %6, align 4
%282 = sub nsw i32 %280, %281
%283 = load i32, ptr %7, align 4
%284 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, i32 noundef %278, i32 noundef %282, i32 noundef %283)
br label %285
285: ; preds = %277, %262, %248, %243
br label %286
286: ; preds = %285, %109, %99
%287 = load i32, ptr %6, align 4
%288 = load i32, ptr %9, align 4
%289 = sub nsw i32 %288, 1
%290 = icmp slt i32 %287, %289
br i1 %290, label %291, label %353
291: ; preds = %286
%292 = load i32, ptr %6, align 4
%293 = add nsw i32 %292, 1
%294 = sext i32 %293 to i64
%295 = getelementptr inbounds [10 x [10 x [10 x i8]]], ptr %2, i64 0, i64 %294
%296 = load i32, ptr %7, align 4
%297 = sext i32 %296 to i64
%298 = getelementptr inbounds [10 x [10 x i8]], ptr %295, i64 0, i64 %297
%299 = load i32, ptr %5, align 4
%300 = sext i32 %299 to i64
%301 = getelementptr inbounds [10 x i8], ptr %298, i64 0, i64 %300
%302 = load i8, ptr %301, align 1
%303 = sext i8 %302 to i32
%304 = icmp ne i32 %303, 46
br i1 %304, label %305, label %353
305: ; preds = %291
%306 = load i32, ptr %5, align 4
%307 = load i32, ptr %9, align 4
%308 = sub nsw i32 %307, 1
%309 = load i32, ptr %6, align 4
%310 = sub nsw i32 %308, %309
%311 = load i32, ptr %7, align 4
%312 = call i32 (ptr, ...) @printf(ptr noundef @.str.17, i32 noundef %306, i32 noundef %310, i32 noundef %311)
%313 = load i32, ptr %7, align 4
%314 = icmp sgt i32 %313, 0
br i1 %314, label %315, label %352
315: ; preds = %305
%316 = load i32, ptr %6, align 4
%317 = sext i32 %316 to i64
%318 = getelementptr inbounds [10 x [10 x [10 x i8]]], ptr %2, i64 0, i64 %317
%319 = load i32, ptr %7, align 4
%320 = sub nsw i32 %319, 1
%321 = sext i32 %320 to i64
%322 = getelementptr inbounds [10 x [10 x i8]], ptr %318, i64 0, i64 %321
%323 = load i32, ptr %5, align 4
%324 = sext i32 %323 to i64
%325 = getelementptr inbounds [10 x i8], ptr %322, i64 0, i64 %324
%326 = load i8, ptr %325, align 1
%327 = sext i8 %326 to i32
%328 = icmp ne i32 %327, 46
br i1 %328, label %329, label %352
329: ; preds = %315
%330 = load i32, ptr %6, align 4
%331 = add nsw i32 %330, 1
%332 = sext i32 %331 to i64
%333 = getelementptr inbounds [10 x [10 x [10 x i8]]], ptr %2, i64 0, i64 %332
%334 = load i32, ptr %7, align 4
%335 = sub nsw i32 %334, 1
%336 = sext i32 %335 to i64
%337 = getelementptr inbounds [10 x [10 x i8]], ptr %333, i64 0, i64 %336
%338 = load i32, ptr %5, align 4
%339 = sext i32 %338 to i64
%340 = getelementptr inbounds [10 x i8], ptr %337, i64 0, i64 %339
%341 = load i8, ptr %340, align 1
%342 = sext i8 %341 to i32
%343 = icmp ne i32 %342, 46
br i1 %343, label %344, label %352
344: ; preds = %329
%345 = load i32, ptr %5, align 4
%346 = load i32, ptr %9, align 4
%347 = sub nsw i32 %346, 1
%348 = load i32, ptr %6, align 4
%349 = sub nsw i32 %347, %348
%350 = load i32, ptr %7, align 4
%351 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, i32 noundef %345, i32 noundef %349, i32 noundef %350)
br label %352
352: ; preds = %344, %329, %315, %305
br label %353
353: ; preds = %352, %291, %286
%354 = load i32, ptr %7, align 4
%355 = icmp sgt i32 %354, 0
br i1 %355, label %356, label %378
356: ; preds = %353
%357 = load i32, ptr %6, align 4
%358 = sext i32 %357 to i64
%359 = getelementptr inbounds [10 x [10 x [10 x i8]]], ptr %2, i64 0, i64 %358
%360 = load i32, ptr %7, align 4
%361 = sub nsw i32 %360, 1
%362 = sext i32 %361 to i64
%363 = getelementptr inbounds [10 x [10 x i8]], ptr %359, i64 0, i64 %362
%364 = load i32, ptr %5, align 4
%365 = sext i32 %364 to i64
%366 = getelementptr inbounds [10 x i8], ptr %363, i64 0, i64 %365
%367 = load i8, ptr %366, align 1
%368 = sext i8 %367 to i32
%369 = icmp ne i32 %368, 46
br i1 %369, label %370, label %378
370: ; preds = %356
%371 = load i32, ptr %5, align 4
%372 = load i32, ptr %9, align 4
%373 = sub nsw i32 %372, 1
%374 = load i32, ptr %6, align 4
%375 = sub nsw i32 %373, %374
%376 = load i32, ptr %7, align 4
%377 = call i32 (ptr, ...) @printf(ptr noundef @.str.19, i32 noundef %371, i32 noundef %375, i32 noundef %376)
br label %378
378: ; preds = %370, %356, %353
br label %379
379: ; preds = %378, %86
br label %380
380: ; preds = %379
%381 = load i32, ptr %5, align 4
%382 = add nsw i32 %381, 1
store i32 %382, ptr %5, align 4
br label %82, !llvm.loop !10
383: ; preds = %82
br label %384
384: ; preds = %383
%385 = load i32, ptr %6, align 4
%386 = add nsw i32 %385, 1
store i32 %386, ptr %6, align 4
br label %77, !llvm.loop !11
387: ; preds = %77
br label %388
388: ; preds = %387
%389 = load i32, ptr %7, align 4
%390 = add nsw i32 %389, 1
store i32 %390, ptr %7, align 4
br label %72, !llvm.loop !12
391: ; preds = %72
%392 = call i32 (ptr, ...) @printf(ptr noundef @.str.20)
%393 = load i32, ptr %1, align 4
ret i32 %393
}
declare i64 @gets(ptr noundef) #1
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_aomv4pd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"|\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"l = 16;\0Ae = 0.16;\0Ag = 3;\0A\0A\00", align 1
@.str.2 = private unnamed_addr constant [82 x i8] c"module m(v,w) { translate(v*l+[e,e,e]-3*e*w) cube((l-2*e)*[1,1,1]+(6*e-l)*w); }\0A\0A\00", align 1
@.str.3 = private unnamed_addr constant [41 x i8] c"module a(i,j,k) { m([i,j,k],[0,0,0]); }\0A\00", align 1
@.str.4 = private unnamed_addr constant [42 x i8] c"module bx(i,j,k) { m([i,j,k],[1,0,0]); }\0A\00", align 1
@.str.5 = private unnamed_addr constant [42 x i8] c"module by(i,j,k) { m([i,j,k],[0,1,0]); }\0A\00", align 1
@.str.6 = private unnamed_addr constant [42 x i8] c"module bz(i,j,k) { m([i,j,k],[0,0,1]); }\0A\00", align 1
@.str.7 = private unnamed_addr constant [42 x i8] c"module cx(i,j,k) { m([i,j,k],[0,1,1]); }\0A\00", align 1
@.str.8 = private unnamed_addr constant [42 x i8] c"module cy(i,j,k) { m([i,j,k],[1,0,1]); }\0A\00", align 1
@.str.9 = private unnamed_addr constant [42 x i8] c"module cz(i,j,k) { m([i,j,k],[1,1,0]); }\0A\00", align 1
@.str.10 = private unnamed_addr constant [42 x i8] c"module d(i,j,k) { m([i,j,k],[1,1,1]); }\0A\0A\00", align 1
@.str.11 = private unnamed_addr constant [14 x i8] c"module p() {\0A\00", align 1
@.str.12 = private unnamed_addr constant [16 x i8] c" a(%d,%d,%d);\0A\00", align 1
@.str.13 = private unnamed_addr constant [17 x i8] c" bx(%d,%d,%d);\0A\00", align 1
@.str.14 = private unnamed_addr constant [17 x i8] c" cy(%d,%d,%d);\0A\00", align 1
@.str.15 = private unnamed_addr constant [16 x i8] c" d(%d,%d,%d);\0A\00", align 1
@.str.16 = private unnamed_addr constant [17 x i8] c" cz(%d,%d,%d);\0A\00", align 1
@.str.17 = private unnamed_addr constant [17 x i8] c" by(%d,%d,%d);\0A\00", align 1
@.str.18 = private unnamed_addr constant [17 x i8] c" cx(%d,%d,%d);\0A\00", align 1
@.str.19 = private unnamed_addr constant [17 x i8] c" bz(%d,%d,%d);\0A\00", align 1
@.str.20 = private unnamed_addr constant [8 x i8] c"}\0Ap();\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [10 x [10 x [10 x i8]]], align 16
%3 = alloca [110 x i8], align 16
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 0, ptr %1, align 4
%11 = getelementptr inbounds [110 x i8], ptr %3, i64 0, i64 0
%12 = call i64 @gets(ptr noundef %11)
store i32 0, ptr %7, align 4
%13 = getelementptr inbounds [110 x i8], ptr %3, i64 0, i64 0
%14 = call ptr @strtok(ptr noundef %13, ptr noundef @.str)
store ptr %14, ptr %4, align 8
%15 = load ptr, ptr %4, align 8
%16 = call i32 @strlen(ptr noundef %15)
store i32 %16, ptr %8, align 4
%17 = load ptr, ptr %4, align 8
%18 = icmp ne ptr %17, null
br i1 %18, label %.lr.ph, label %32
.lr.ph: ; preds = %0
br label %19
19: ; preds = %.lr.ph, %28
%20 = getelementptr inbounds [10 x [10 x [10 x i8]]], ptr %2, i64 0, i64 0
%21 = load i32, ptr %7, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %7, align 4
%23 = sext i32 %21 to i64
%24 = getelementptr inbounds [10 x [10 x i8]], ptr %20, i64 0, i64 %23
%25 = getelementptr inbounds [10 x i8], ptr %24, i64 0, i64 0
%26 = load ptr, ptr %4, align 8
%27 = call i32 @strcpy(ptr noundef %25, ptr noundef %26)
br label %28
28: ; preds = %19
%29 = call ptr @strtok(ptr noundef null, ptr noundef @.str)
store ptr %29, ptr %4, align 8
%30 = load ptr, ptr %4, align 8
%31 = icmp ne ptr %30, null
br i1 %31, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %28
br label %32
32: ; preds = %._crit_edge, %0
store i32 1, ptr %6, align 4
%33 = load i32, ptr %7, align 4
store i32 %33, ptr %10, align 4
%34 = getelementptr inbounds [110 x i8], ptr %3, i64 0, i64 0
%35 = call i64 @gets(ptr noundef %34)
%36 = icmp ne i64 %35, 0
br i1 %36, label %.lr.ph5, label %62
.lr.ph5: ; preds = %32
br label %37
37: ; preds = %.lr.ph5, %57
store i32 0, ptr %7, align 4
%38 = getelementptr inbounds [110 x i8], ptr %3, i64 0, i64 0
%39 = call ptr @strtok(ptr noundef %38, ptr noundef @.str)
store ptr %39, ptr %4, align 8
%40 = load ptr, ptr %4, align 8
%41 = icmp ne ptr %40, null
br i1 %41, label %.lr.ph2, label %57
.lr.ph2: ; preds = %37
br label %42
42: ; preds = %.lr.ph2, %53
%43 = load i32, ptr %6, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds [10 x [10 x [10 x i8]]], ptr %2, i64 0, i64 %44
%46 = load i32, ptr %7, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %7, align 4
%48 = sext i32 %46 to i64
%49 = getelementptr inbounds [10 x [10 x i8]], ptr %45, i64 0, i64 %48
%50 = getelementptr inbounds [10 x i8], ptr %49, i64 0, i64 0
%51 = load ptr, ptr %4, align 8
%52 = call i32 @strcpy(ptr noundef %50, ptr noundef %51)
br label %53
53: ; preds = %42
%54 = call ptr @strtok(ptr noundef null, ptr noundef @.str)
store ptr %54, ptr %4, align 8
%55 = load ptr, ptr %4, align 8
%56 = icmp ne ptr %55, null
br i1 %56, label %42, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %53
br label %57
57: ; preds = %._crit_edge3, %37
%58 = load i32, ptr %6, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %6, align 4
%60 = call i64 @gets(ptr noundef %34)
%61 = icmp ne i64 %60, 0
br i1 %61, label %37, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %57
br label %62
62: ; preds = %._crit_edge6, %32
%63 = load i32, ptr %6, align 4
store i32 %63, ptr %9, align 4
%64 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%65 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%66 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%67 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%68 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%69 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%70 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%71 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%72 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%73 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
%74 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
store i32 0, ptr %7, align 4
%75 = load i32, ptr %7, align 4
%76 = load i32, ptr %10, align 4
%77 = icmp slt i32 %75, %76
br i1 %77, label %.lr.ph14, label %400
.lr.ph14: ; preds = %62
br label %78
78: ; preds = %.lr.ph14, %394
store i32 0, ptr %6, align 4
%79 = load i32, ptr %6, align 4
%80 = load i32, ptr %9, align 4
%81 = icmp slt i32 %79, %80
br i1 %81, label %.lr.ph11, label %393
.lr.ph11: ; preds = %78
br label %82
82: ; preds = %.lr.ph11, %387
store i32 0, ptr %5, align 4
%83 = load i32, ptr %5, align 4
%84 = load i32, ptr %8, align 4
%85 = icmp slt i32 %83, %84
br i1 %85, label %.lr.ph8, label %386
.lr.ph8: ; preds = %82
br label %86
86: ; preds = %.lr.ph8, %380
%87 = load i32, ptr %6, align 4
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds [10 x [10 x [10 x i8]]], ptr %2, i64 0, i64 %88
%90 = load i32, ptr %7, align 4
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds [10 x [10 x i8]], ptr %89, i64 0, i64 %91
%93 = load i32, ptr %5, align 4
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds [10 x i8], ptr %92, i64 0, i64 %94
%96 = load i8, ptr %95, align 1
%97 = sext i8 %96 to i32
%98 = icmp ne i32 %97, 46
br i1 %98, label %99, label %379
99: ; preds = %86
%100 = load i32, ptr %5, align 4
%101 = load i32, ptr %9, align 4
%102 = sub nsw i32 %101, 1
%103 = load i32, ptr %6, align 4
%104 = sub nsw i32 %102, %103
%105 = load i32, ptr %7, align 4
%106 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %100, i32 noundef %104, i32 noundef %105)
%107 = load i32, ptr %5, align 4
%108 = icmp sgt i32 %107, 0
br i1 %108, label %109, label %286
109: ; preds = %99
%110 = load i32, ptr %6, align 4
%111 = sext i32 %110 to i64
%112 = getelementptr inbounds [10 x [10 x [10 x i8]]], ptr %2, i64 0, i64 %111
%113 = load i32, ptr %7, align 4
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds [10 x [10 x i8]], ptr %112, i64 0, i64 %114
%116 = load i32, ptr %5, align 4
%117 = sub nsw i32 %116, 1
%118 = sext i32 %117 to i64
%119 = getelementptr inbounds [10 x i8], ptr %115, i64 0, i64 %118
%120 = load i8, ptr %119, align 1
%121 = sext i8 %120 to i32
%122 = icmp ne i32 %121, 46
br i1 %122, label %123, label %286
123: ; preds = %109
%124 = load i32, ptr %5, align 4
%125 = load i32, ptr %9, align 4
%126 = sub nsw i32 %125, 1
%127 = load i32, ptr %6, align 4
%128 = sub nsw i32 %126, %127
%129 = load i32, ptr %7, align 4
%130 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %124, i32 noundef %128, i32 noundef %129)
%131 = load i32, ptr %7, align 4
%132 = icmp sgt i32 %131, 0
br i1 %132, label %133, label %243
133: ; preds = %123
%134 = load i32, ptr %6, align 4
%135 = sext i32 %134 to i64
%136 = getelementptr inbounds [10 x [10 x [10 x i8]]], ptr %2, i64 0, i64 %135
%137 = load i32, ptr %7, align 4
%138 = sub nsw i32 %137, 1
%139 = sext i32 %138 to i64
%140 = getelementptr inbounds [10 x [10 x i8]], ptr %136, i64 0, i64 %139
%141 = load i32, ptr %5, align 4
%142 = sext i32 %141 to i64
%143 = getelementptr inbounds [10 x i8], ptr %140, i64 0, i64 %142
%144 = load i8, ptr %143, align 1
%145 = sext i8 %144 to i32
%146 = icmp ne i32 %145, 46
br i1 %146, label %147, label %243
147: ; preds = %133
%148 = load i32, ptr %6, align 4
%149 = sext i32 %148 to i64
%150 = getelementptr inbounds [10 x [10 x [10 x i8]]], ptr %2, i64 0, i64 %149
%151 = load i32, ptr %7, align 4
%152 = sub nsw i32 %151, 1
%153 = sext i32 %152 to i64
%154 = getelementptr inbounds [10 x [10 x i8]], ptr %150, i64 0, i64 %153
%155 = load i32, ptr %5, align 4
%156 = sub nsw i32 %155, 1
%157 = sext i32 %156 to i64
%158 = getelementptr inbounds [10 x i8], ptr %154, i64 0, i64 %157
%159 = load i8, ptr %158, align 1
%160 = sext i8 %159 to i32
%161 = icmp ne i32 %160, 46
br i1 %161, label %162, label %243
162: ; preds = %147
%163 = load i32, ptr %5, align 4
%164 = load i32, ptr %9, align 4
%165 = sub nsw i32 %164, 1
%166 = load i32, ptr %6, align 4
%167 = sub nsw i32 %165, %166
%168 = load i32, ptr %7, align 4
%169 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i32 noundef %163, i32 noundef %167, i32 noundef %168)
%170 = load i32, ptr %6, align 4
%171 = load i32, ptr %9, align 4
%172 = sub nsw i32 %171, 1
%173 = icmp slt i32 %170, %172
br i1 %173, label %174, label %242
174: ; preds = %162
%175 = load i32, ptr %6, align 4
%176 = add nsw i32 %175, 1
%177 = sext i32 %176 to i64
%178 = getelementptr inbounds [10 x [10 x [10 x i8]]], ptr %2, i64 0, i64 %177
%179 = load i32, ptr %7, align 4
%180 = sext i32 %179 to i64
%181 = getelementptr inbounds [10 x [10 x i8]], ptr %178, i64 0, i64 %180
%182 = load i32, ptr %5, align 4
%183 = sext i32 %182 to i64
%184 = getelementptr inbounds [10 x i8], ptr %181, i64 0, i64 %183
%185 = load i8, ptr %184, align 1
%186 = sext i8 %185 to i32
%187 = icmp ne i32 %186, 46
br i1 %187, label %188, label %242
188: ; preds = %174
%189 = load i32, ptr %6, align 4
%190 = add nsw i32 %189, 1
%191 = sext i32 %190 to i64
%192 = getelementptr inbounds [10 x [10 x [10 x i8]]], ptr %2, i64 0, i64 %191
%193 = load i32, ptr %7, align 4
%194 = sext i32 %193 to i64
%195 = getelementptr inbounds [10 x [10 x i8]], ptr %192, i64 0, i64 %194
%196 = load i32, ptr %5, align 4
%197 = sub nsw i32 %196, 1
%198 = sext i32 %197 to i64
%199 = getelementptr inbounds [10 x i8], ptr %195, i64 0, i64 %198
%200 = load i8, ptr %199, align 1
%201 = sext i8 %200 to i32
%202 = icmp ne i32 %201, 46
br i1 %202, label %203, label %242
203: ; preds = %188
%204 = load i32, ptr %6, align 4
%205 = add nsw i32 %204, 1
%206 = sext i32 %205 to i64
%207 = getelementptr inbounds [10 x [10 x [10 x i8]]], ptr %2, i64 0, i64 %206
%208 = load i32, ptr %7, align 4
%209 = sub nsw i32 %208, 1
%210 = sext i32 %209 to i64
%211 = getelementptr inbounds [10 x [10 x i8]], ptr %207, i64 0, i64 %210
%212 = load i32, ptr %5, align 4
%213 = sext i32 %212 to i64
%214 = getelementptr inbounds [10 x i8], ptr %211, i64 0, i64 %213
%215 = load i8, ptr %214, align 1
%216 = sext i8 %215 to i32
%217 = icmp ne i32 %216, 46
br i1 %217, label %218, label %242
218: ; preds = %203
%219 = load i32, ptr %6, align 4
%220 = add nsw i32 %219, 1
%221 = sext i32 %220 to i64
%222 = getelementptr inbounds [10 x [10 x [10 x i8]]], ptr %2, i64 0, i64 %221
%223 = load i32, ptr %7, align 4
%224 = sub nsw i32 %223, 1
%225 = sext i32 %224 to i64
%226 = getelementptr inbounds [10 x [10 x i8]], ptr %222, i64 0, i64 %225
%227 = load i32, ptr %5, align 4
%228 = sub nsw i32 %227, 1
%229 = sext i32 %228 to i64
%230 = getelementptr inbounds [10 x i8], ptr %226, i64 0, i64 %229
%231 = load i8, ptr %230, align 1
%232 = sext i8 %231 to i32
%233 = icmp ne i32 %232, 46
br i1 %233, label %234, label %242
234: ; preds = %218
%235 = load i32, ptr %5, align 4
%236 = load i32, ptr %9, align 4
%237 = sub nsw i32 %236, 1
%238 = load i32, ptr %6, align 4
%239 = sub nsw i32 %237, %238
%240 = load i32, ptr %7, align 4
%241 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef %235, i32 noundef %239, i32 noundef %240)
br label %242
242: ; preds = %234, %218, %203, %188, %174, %162
br label %243
243: ; preds = %242, %147, %133, %123
%244 = load i32, ptr %6, align 4
%245 = load i32, ptr %9, align 4
%246 = sub nsw i32 %245, 1
%247 = icmp slt i32 %244, %246
br i1 %247, label %248, label %285
248: ; preds = %243
%249 = load i32, ptr %6, align 4
%250 = add nsw i32 %249, 1
%251 = sext i32 %250 to i64
%252 = getelementptr inbounds [10 x [10 x [10 x i8]]], ptr %2, i64 0, i64 %251
%253 = load i32, ptr %7, align 4
%254 = sext i32 %253 to i64
%255 = getelementptr inbounds [10 x [10 x i8]], ptr %252, i64 0, i64 %254
%256 = load i32, ptr %5, align 4
%257 = sext i32 %256 to i64
%258 = getelementptr inbounds [10 x i8], ptr %255, i64 0, i64 %257
%259 = load i8, ptr %258, align 1
%260 = sext i8 %259 to i32
%261 = icmp ne i32 %260, 46
br i1 %261, label %262, label %285
262: ; preds = %248
%263 = load i32, ptr %6, align 4
%264 = add nsw i32 %263, 1
%265 = sext i32 %264 to i64
%266 = getelementptr inbounds [10 x [10 x [10 x i8]]], ptr %2, i64 0, i64 %265
%267 = load i32, ptr %7, align 4
%268 = sext i32 %267 to i64
%269 = getelementptr inbounds [10 x [10 x i8]], ptr %266, i64 0, i64 %268
%270 = load i32, ptr %5, align 4
%271 = sub nsw i32 %270, 1
%272 = sext i32 %271 to i64
%273 = getelementptr inbounds [10 x i8], ptr %269, i64 0, i64 %272
%274 = load i8, ptr %273, align 1
%275 = sext i8 %274 to i32
%276 = icmp ne i32 %275, 46
br i1 %276, label %277, label %285
277: ; preds = %262
%278 = load i32, ptr %5, align 4
%279 = load i32, ptr %9, align 4
%280 = sub nsw i32 %279, 1
%281 = load i32, ptr %6, align 4
%282 = sub nsw i32 %280, %281
%283 = load i32, ptr %7, align 4
%284 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, i32 noundef %278, i32 noundef %282, i32 noundef %283)
br label %285
285: ; preds = %277, %262, %248, %243
br label %286
286: ; preds = %285, %109, %99
%287 = load i32, ptr %6, align 4
%288 = load i32, ptr %9, align 4
%289 = sub nsw i32 %288, 1
%290 = icmp slt i32 %287, %289
br i1 %290, label %291, label %353
291: ; preds = %286
%292 = load i32, ptr %6, align 4
%293 = add nsw i32 %292, 1
%294 = sext i32 %293 to i64
%295 = getelementptr inbounds [10 x [10 x [10 x i8]]], ptr %2, i64 0, i64 %294
%296 = load i32, ptr %7, align 4
%297 = sext i32 %296 to i64
%298 = getelementptr inbounds [10 x [10 x i8]], ptr %295, i64 0, i64 %297
%299 = load i32, ptr %5, align 4
%300 = sext i32 %299 to i64
%301 = getelementptr inbounds [10 x i8], ptr %298, i64 0, i64 %300
%302 = load i8, ptr %301, align 1
%303 = sext i8 %302 to i32
%304 = icmp ne i32 %303, 46
br i1 %304, label %305, label %353
305: ; preds = %291
%306 = load i32, ptr %5, align 4
%307 = load i32, ptr %9, align 4
%308 = sub nsw i32 %307, 1
%309 = load i32, ptr %6, align 4
%310 = sub nsw i32 %308, %309
%311 = load i32, ptr %7, align 4
%312 = call i32 (ptr, ...) @printf(ptr noundef @.str.17, i32 noundef %306, i32 noundef %310, i32 noundef %311)
%313 = load i32, ptr %7, align 4
%314 = icmp sgt i32 %313, 0
br i1 %314, label %315, label %352
315: ; preds = %305
%316 = load i32, ptr %6, align 4
%317 = sext i32 %316 to i64
%318 = getelementptr inbounds [10 x [10 x [10 x i8]]], ptr %2, i64 0, i64 %317
%319 = load i32, ptr %7, align 4
%320 = sub nsw i32 %319, 1
%321 = sext i32 %320 to i64
%322 = getelementptr inbounds [10 x [10 x i8]], ptr %318, i64 0, i64 %321
%323 = load i32, ptr %5, align 4
%324 = sext i32 %323 to i64
%325 = getelementptr inbounds [10 x i8], ptr %322, i64 0, i64 %324
%326 = load i8, ptr %325, align 1
%327 = sext i8 %326 to i32
%328 = icmp ne i32 %327, 46
br i1 %328, label %329, label %352
329: ; preds = %315
%330 = load i32, ptr %6, align 4
%331 = add nsw i32 %330, 1
%332 = sext i32 %331 to i64
%333 = getelementptr inbounds [10 x [10 x [10 x i8]]], ptr %2, i64 0, i64 %332
%334 = load i32, ptr %7, align 4
%335 = sub nsw i32 %334, 1
%336 = sext i32 %335 to i64
%337 = getelementptr inbounds [10 x [10 x i8]], ptr %333, i64 0, i64 %336
%338 = load i32, ptr %5, align 4
%339 = sext i32 %338 to i64
%340 = getelementptr inbounds [10 x i8], ptr %337, i64 0, i64 %339
%341 = load i8, ptr %340, align 1
%342 = sext i8 %341 to i32
%343 = icmp ne i32 %342, 46
br i1 %343, label %344, label %352
344: ; preds = %329
%345 = load i32, ptr %5, align 4
%346 = load i32, ptr %9, align 4
%347 = sub nsw i32 %346, 1
%348 = load i32, ptr %6, align 4
%349 = sub nsw i32 %347, %348
%350 = load i32, ptr %7, align 4
%351 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, i32 noundef %345, i32 noundef %349, i32 noundef %350)
br label %352
352: ; preds = %344, %329, %315, %305
br label %353
353: ; preds = %352, %291, %286
%354 = load i32, ptr %7, align 4
%355 = icmp sgt i32 %354, 0
br i1 %355, label %356, label %378
356: ; preds = %353
%357 = load i32, ptr %6, align 4
%358 = sext i32 %357 to i64
%359 = getelementptr inbounds [10 x [10 x [10 x i8]]], ptr %2, i64 0, i64 %358
%360 = load i32, ptr %7, align 4
%361 = sub nsw i32 %360, 1
%362 = sext i32 %361 to i64
%363 = getelementptr inbounds [10 x [10 x i8]], ptr %359, i64 0, i64 %362
%364 = load i32, ptr %5, align 4
%365 = sext i32 %364 to i64
%366 = getelementptr inbounds [10 x i8], ptr %363, i64 0, i64 %365
%367 = load i8, ptr %366, align 1
%368 = sext i8 %367 to i32
%369 = icmp ne i32 %368, 46
br i1 %369, label %370, label %378
370: ; preds = %356
%371 = load i32, ptr %5, align 4
%372 = load i32, ptr %9, align 4
%373 = sub nsw i32 %372, 1
%374 = load i32, ptr %6, align 4
%375 = sub nsw i32 %373, %374
%376 = load i32, ptr %7, align 4
%377 = call i32 (ptr, ...) @printf(ptr noundef @.str.19, i32 noundef %371, i32 noundef %375, i32 noundef %376)
br label %378
378: ; preds = %370, %356, %353
br label %379
379: ; preds = %378, %86
br label %380
380: ; preds = %379
%381 = load i32, ptr %5, align 4
%382 = add nsw i32 %381, 1
store i32 %382, ptr %5, align 4
%383 = load i32, ptr %5, align 4
%384 = load i32, ptr %8, align 4
%385 = icmp slt i32 %383, %384
br i1 %385, label %86, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %380
br label %386
386: ; preds = %._crit_edge9, %82
br label %387
387: ; preds = %386
%388 = load i32, ptr %6, align 4
%389 = add nsw i32 %388, 1
store i32 %389, ptr %6, align 4
%390 = load i32, ptr %6, align 4
%391 = load i32, ptr %9, align 4
%392 = icmp slt i32 %390, %391
br i1 %392, label %82, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %387
br label %393
393: ; preds = %._crit_edge12, %78
br label %394
394: ; preds = %393
%395 = load i32, ptr %7, align 4
%396 = add nsw i32 %395, 1
store i32 %396, ptr %7, align 4
%397 = load i32, ptr %7, align 4
%398 = load i32, ptr %10, align 4
%399 = icmp slt i32 %397, %398
br i1 %399, label %78, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %394
br label %400
400: ; preds = %._crit_edge15, %62
%401 = call i32 (ptr, ...) @printf(ptr noundef @.str.20)
%402 = load i32, ptr %1, align 4
ret i32 %402
}
declare i64 @gets(ptr noundef) #1
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
|
; ModuleID = '/tmp/tmph0i9odd1.c'
source_filename = "/tmp/tmph0i9odd1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @hmmtop_onelog(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
br label %8
8: ; preds = %23, %3
%9 = load i32, ptr %7, align 4
%10 = load i32, ptr %6, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %12, label %26
12: ; preds = %8
%13 = load ptr, ptr %4, align 8
%14 = load i32, ptr %7, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds double, ptr %13, i64 %15
%17 = load double, ptr %16, align 8
%18 = call double @hmmtop_log(double noundef %17)
%19 = load ptr, ptr %5, align 8
%20 = load i32, ptr %7, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds double, ptr %19, i64 %21
store double %18, ptr %22, align 8
br label %23
23: ; preds = %12
%24 = load i32, ptr %7, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %7, align 4
br label %8, !llvm.loop !6
26: ; preds = %8
ret void
}
declare double @hmmtop_log(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmph0i9odd1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @hmmtop_onelog(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
%8 = load i32, ptr %7, align 4
%9 = load i32, ptr %6, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %.lr.ph, label %28
.lr.ph: ; preds = %3
br label %11
11: ; preds = %.lr.ph, %22
%12 = load ptr, ptr %4, align 8
%13 = load i32, ptr %7, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds double, ptr %12, i64 %14
%16 = load double, ptr %15, align 8
%17 = call double @hmmtop_log(double noundef %16)
%18 = load ptr, ptr %5, align 8
%19 = load i32, ptr %7, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds double, ptr %18, i64 %20
store double %17, ptr %21, align 8
br label %22
22: ; preds = %11
%23 = load i32, ptr %7, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %7, align 4
%25 = load i32, ptr %7, align 4
%26 = load i32, ptr %6, align 4
%27 = icmp slt i32 %25, %26
br i1 %27, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %28
28: ; preds = %._crit_edge, %3
ret void
}
declare double @hmmtop_log(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpoprylblb.c'
source_filename = "/tmp/tmpoprylblb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpoprylblb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplx6o9qsl.c'
source_filename = "/tmp/tmplx6o9qsl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [14 x i8] c"ERRNO: %u %m\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call i32 (...) @setpwent()
br label %8
8: ; preds = %19, %2
store i64 0, ptr @errno, align 8
%9 = call ptr (...) @getpwent()
store ptr %9, ptr %6, align 8
%10 = load ptr, ptr %6, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %19, label %12
12: ; preds = %8
%13 = load i64, ptr @errno, align 8
%14 = icmp ne i64 %13, 0
br i1 %14, label %15, label %18
15: ; preds = %12
%16 = load i64, ptr @errno, align 8
%17 = call i32 @printf(ptr noundef @.str, i64 noundef %16)
br label %18
18: ; preds = %15, %12
br label %20
19: ; preds = %8
br label %8
20: ; preds = %18
%21 = call i32 (...) @endpwent()
ret i32 0
}
declare i32 @setpwent(...) #1
declare ptr @getpwent(...) #1
declare i32 @printf(ptr noundef, i64 noundef) #1
declare i32 @endpwent(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplx6o9qsl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [14 x i8] c"ERRNO: %u %m\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call i32 (...) @setpwent()
br label %8
8: ; preds = %8, %2
store i64 0, ptr @errno, align 8
%9 = call ptr (...) @getpwent()
store ptr %9, ptr %6, align 8
%10 = load ptr, ptr %6, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %8, label %12
12: ; preds = %8
%13 = load i64, ptr @errno, align 8
%14 = icmp ne i64 %13, 0
br i1 %14, label %15, label %18
15: ; preds = %12
%16 = load i64, ptr @errno, align 8
%17 = call i32 @printf(ptr noundef @.str, i64 noundef %16)
br label %18
18: ; preds = %15, %12
br label %19
19: ; preds = %18
%20 = call i32 (...) @endpwent()
ret i32 0
}
declare i32 @setpwent(...) #1
declare ptr @getpwent(...) #1
declare i32 @printf(ptr noundef, i64 noundef) #1
declare i32 @endpwent(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_qysmhoe.c'
source_filename = "/tmp/tmp_qysmhoe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"Digite o valor do produto:\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.2 = private unnamed_addr constant [103 x i8] c"Digite o estado: \0A 1 - Minas Gerais \0A 2 - S\C3\A3o Paulo \0A 3 - Rio de Janeiro \0A 4 - Mato Grosso \0A Estado: \00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.4 = private unnamed_addr constant [22 x i8] c"Pre\C3\A7o final: R$ %.2f\00", align 1
@.str.5 = private unnamed_addr constant [18 x i8] c"Estado inv\C3\A1lido!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%5 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%7 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %3)
%8 = load i32, ptr %3, align 4
switch i32 %8, label %37 [
i32 1, label %9
i32 2, label %16
i32 3, label %23
i32 4, label %30
]
9: ; preds = %0
%10 = load float, ptr %2, align 4
%11 = fpext float %10 to double
%12 = load float, ptr %2, align 4
%13 = fpext float %12 to double
%14 = call double @llvm.fmuladd.f64(double %13, double 7.000000e-02, double %11)
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %14)
br label %39
16: ; preds = %0
%17 = load float, ptr %2, align 4
%18 = fpext float %17 to double
%19 = load float, ptr %2, align 4
%20 = fpext float %19 to double
%21 = call double @llvm.fmuladd.f64(double %20, double 1.200000e-01, double %18)
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %21)
br label %39
23: ; preds = %0
%24 = load float, ptr %2, align 4
%25 = fpext float %24 to double
%26 = load float, ptr %2, align 4
%27 = fpext float %26 to double
%28 = call double @llvm.fmuladd.f64(double %27, double 1.500000e-01, double %25)
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %28)
br label %39
30: ; preds = %0
%31 = load float, ptr %2, align 4
%32 = fpext float %31 to double
%33 = load float, ptr %2, align 4
%34 = fpext float %33 to double
%35 = call double @llvm.fmuladd.f64(double %34, double 8.000000e-02, double %32)
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %35)
br label %39
37: ; preds = %0
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %39
39: ; preds = %37, %30, %23, %16, %9
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="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) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_qysmhoe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"Digite o valor do produto:\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.2 = private unnamed_addr constant [103 x i8] c"Digite o estado: \0A 1 - Minas Gerais \0A 2 - S\C3\A3o Paulo \0A 3 - Rio de Janeiro \0A 4 - Mato Grosso \0A Estado: \00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.4 = private unnamed_addr constant [22 x i8] c"Pre\C3\A7o final: R$ %.2f\00", align 1
@.str.5 = private unnamed_addr constant [18 x i8] c"Estado inv\C3\A1lido!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%5 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%7 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %3)
%8 = load i32, ptr %3, align 4
switch i32 %8, label %37 [
i32 1, label %9
i32 2, label %16
i32 3, label %23
i32 4, label %30
]
9: ; preds = %0
%10 = load float, ptr %2, align 4
%11 = fpext float %10 to double
%12 = load float, ptr %2, align 4
%13 = fpext float %12 to double
%14 = call double @llvm.fmuladd.f64(double %13, double 7.000000e-02, double %11)
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %14)
br label %39
16: ; preds = %0
%17 = load float, ptr %2, align 4
%18 = fpext float %17 to double
%19 = load float, ptr %2, align 4
%20 = fpext float %19 to double
%21 = call double @llvm.fmuladd.f64(double %20, double 1.200000e-01, double %18)
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %21)
br label %39
23: ; preds = %0
%24 = load float, ptr %2, align 4
%25 = fpext float %24 to double
%26 = load float, ptr %2, align 4
%27 = fpext float %26 to double
%28 = call double @llvm.fmuladd.f64(double %27, double 1.500000e-01, double %25)
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %28)
br label %39
30: ; preds = %0
%31 = load float, ptr %2, align 4
%32 = fpext float %31 to double
%33 = load float, ptr %2, align 4
%34 = fpext float %33 to double
%35 = call double @llvm.fmuladd.f64(double %34, double 8.000000e-02, double %32)
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %35)
br label %39
37: ; preds = %0
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %39
39: ; preds = %37, %30, %23, %16, %9
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="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) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpl_gi6jj5.c'
source_filename = "/tmp/tmpl_gi6jj5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @rst_initialize(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%9 = load ptr, ptr %8, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %15
11: ; preds = %4
%12 = load ptr, ptr %7, align 8
%13 = load ptr, ptr %8, align 8
%14 = call i32 @extract_arguments(ptr noundef %12, ptr noundef %13)
br label %15
15: ; preds = %11, %4
%16 = load i32, ptr %5, align 4
%17 = load i32, ptr %6, align 4
%18 = call i32 @rst_init(i32 noundef %16, i32 noundef %17)
ret void
}
declare i32 @extract_arguments(ptr noundef, ptr noundef) #1
declare i32 @rst_init(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl_gi6jj5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @rst_initialize(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%9 = load ptr, ptr %8, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %15
11: ; preds = %4
%12 = load ptr, ptr %7, align 8
%13 = load ptr, ptr %8, align 8
%14 = call i32 @extract_arguments(ptr noundef %12, ptr noundef %13)
br label %15
15: ; preds = %11, %4
%16 = load i32, ptr %5, align 4
%17 = load i32, ptr %6, align 4
%18 = call i32 @rst_init(i32 noundef %16, i32 noundef %17)
ret void
}
declare i32 @extract_arguments(ptr noundef, ptr noundef) #1
declare i32 @rst_init(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgr9yj_a_.c'
source_filename = "/tmp/tmpgr9yj_a_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [21 x i8] c"usage: %s <filename>\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"gkr-decrypt\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@errno = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [138 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/jmesmon/trifles/refs/heads/master/gkr-decrypt.c\00", align 1
@.str.4 = private unnamed_addr constant [17 x i8] c"on fopen of \22%s\22\00", align 1
@.str.5 = private unnamed_addr constant [30 x i8] c"failed to decode keyring name\00", align 1
@.str.6 = private unnamed_addr constant [15 x i8] c"keyring name: \00", align 1
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %9, 2
br i1 %10, label %11, label %27
11: ; preds = %2
br label %12
12: ; preds = %11
%13 = load i32, ptr @stderr, align 4
%14 = load i32, ptr %4, align 4
%15 = icmp ne i32 %14, 0
br i1 %15, label %16, label %20
16: ; preds = %12
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 0
%19 = load ptr, ptr %18, align 8
br label %21
20: ; preds = %12
br label %21
21: ; preds = %20, %16
%22 = phi ptr [ %19, %16 ], [ @.str.1, %20 ]
%23 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str, ptr noundef %22)
%24 = load i32, ptr @stderr, align 4
%25 = call i32 @putc(i8 noundef signext 10, i32 noundef %24)
br label %26
26: ; preds = %21
store i32 1, ptr %3, align 4
br label %63
27: ; preds = %2
%28 = load ptr, ptr %5, align 8
%29 = getelementptr inbounds ptr, ptr %28, i64 1
%30 = load ptr, ptr %29, align 8
store ptr %30, ptr %6, align 8
%31 = load ptr, ptr %6, align 8
%32 = call ptr @fopen(ptr noundef %31, ptr noundef @.str.2)
store ptr %32, ptr %7, align 8
%33 = load ptr, ptr %7, align 8
%34 = icmp ne ptr %33, null
br i1 %34, label %39, label %35
35: ; preds = %27
%36 = load i32, ptr @errno, align 4
%37 = load ptr, ptr %6, align 8
%38 = call i32 (i32, i32, ptr, i32, ptr, ...) @error_at_line(i32 noundef 1, i32 noundef %36, ptr noundef @.str.3, i32 noundef 157, ptr noundef @.str.4, ptr noundef %37)
br label %39
39: ; preds = %35, %27
%40 = load ptr, ptr %7, align 8
%41 = call i64 @check_magic(ptr noundef %40)
%42 = icmp slt i64 %41, 0
br i1 %42, label %43, label %44
43: ; preds = %39
store i32 1, ptr %3, align 4
br label %63
44: ; preds = %39
%45 = load ptr, ptr %7, align 8
%46 = call i64 @header_check(ptr noundef %45)
%47 = icmp slt i64 %46, 0
br i1 %47, label %48, label %49
48: ; preds = %44
store i32 1, ptr %3, align 4
br label %63
49: ; preds = %44
%50 = load ptr, ptr %7, align 8
%51 = call i64 @decode_string(ptr noundef %50, ptr noundef %8)
%52 = icmp slt i64 %51, 0
br i1 %52, label %53, label %56
53: ; preds = %49
%54 = load i32, ptr @errno, align 4
%55 = call i32 (i32, i32, ptr, i32, ptr, ...) @error_at_line(i32 noundef 1, i32 noundef %54, ptr noundef @.str.3, i32 noundef 169, ptr noundef @.str.5)
br label %56
56: ; preds = %53, %49
%57 = load i32, ptr @stdout, align 4
%58 = call i32 @fputs(ptr noundef @.str.6, i32 noundef %57)
%59 = load ptr, ptr %8, align 8
%60 = load i32, ptr @stdout, align 4
%61 = call i32 @print_string(ptr noundef %59, i32 noundef %60)
%62 = call i32 @putchar(i8 noundef signext 10)
store i32 0, ptr %3, align 4
br label %63
63: ; preds = %56, %48, %43, %26
%64 = load i32, ptr %3, align 4
ret i32 %64
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @putc(i8 noundef signext, i32 noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @error_at_line(i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ...) #1
declare i64 @check_magic(ptr noundef) #1
declare i64 @header_check(ptr noundef) #1
declare i64 @decode_string(ptr noundef, ptr noundef) #1
declare i32 @fputs(ptr noundef, i32 noundef) #1
declare i32 @print_string(ptr noundef, i32 noundef) #1
declare i32 @putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgr9yj_a_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [21 x i8] c"usage: %s <filename>\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"gkr-decrypt\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@errno = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [138 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/jmesmon/trifles/refs/heads/master/gkr-decrypt.c\00", align 1
@.str.4 = private unnamed_addr constant [17 x i8] c"on fopen of \22%s\22\00", align 1
@.str.5 = private unnamed_addr constant [30 x i8] c"failed to decode keyring name\00", align 1
@.str.6 = private unnamed_addr constant [15 x i8] c"keyring name: \00", align 1
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %9, 2
br i1 %10, label %11, label %27
11: ; preds = %2
br label %12
12: ; preds = %11
%13 = load i32, ptr @stderr, align 4
%14 = load i32, ptr %4, align 4
%15 = icmp ne i32 %14, 0
br i1 %15, label %16, label %20
16: ; preds = %12
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 0
%19 = load ptr, ptr %18, align 8
br label %21
20: ; preds = %12
br label %21
21: ; preds = %20, %16
%22 = phi ptr [ %19, %16 ], [ @.str.1, %20 ]
%23 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str, ptr noundef %22)
%24 = load i32, ptr @stderr, align 4
%25 = call i32 @putc(i8 noundef signext 10, i32 noundef %24)
br label %26
26: ; preds = %21
store i32 1, ptr %3, align 4
br label %63
27: ; preds = %2
%28 = load ptr, ptr %5, align 8
%29 = getelementptr inbounds ptr, ptr %28, i64 1
%30 = load ptr, ptr %29, align 8
store ptr %30, ptr %6, align 8
%31 = load ptr, ptr %6, align 8
%32 = call ptr @fopen(ptr noundef %31, ptr noundef @.str.2)
store ptr %32, ptr %7, align 8
%33 = load ptr, ptr %7, align 8
%34 = icmp ne ptr %33, null
br i1 %34, label %39, label %35
35: ; preds = %27
%36 = load i32, ptr @errno, align 4
%37 = load ptr, ptr %6, align 8
%38 = call i32 (i32, i32, ptr, i32, ptr, ...) @error_at_line(i32 noundef 1, i32 noundef %36, ptr noundef @.str.3, i32 noundef 157, ptr noundef @.str.4, ptr noundef %37)
br label %39
39: ; preds = %35, %27
%40 = load ptr, ptr %7, align 8
%41 = call i64 @check_magic(ptr noundef %40)
%42 = icmp slt i64 %41, 0
br i1 %42, label %43, label %44
43: ; preds = %39
store i32 1, ptr %3, align 4
br label %63
44: ; preds = %39
%45 = load ptr, ptr %7, align 8
%46 = call i64 @header_check(ptr noundef %45)
%47 = icmp slt i64 %46, 0
br i1 %47, label %48, label %49
48: ; preds = %44
store i32 1, ptr %3, align 4
br label %63
49: ; preds = %44
%50 = load ptr, ptr %7, align 8
%51 = call i64 @decode_string(ptr noundef %50, ptr noundef %8)
%52 = icmp slt i64 %51, 0
br i1 %52, label %53, label %56
53: ; preds = %49
%54 = load i32, ptr @errno, align 4
%55 = call i32 (i32, i32, ptr, i32, ptr, ...) @error_at_line(i32 noundef 1, i32 noundef %54, ptr noundef @.str.3, i32 noundef 169, ptr noundef @.str.5)
br label %56
56: ; preds = %53, %49
%57 = load i32, ptr @stdout, align 4
%58 = call i32 @fputs(ptr noundef @.str.6, i32 noundef %57)
%59 = load ptr, ptr %8, align 8
%60 = load i32, ptr @stdout, align 4
%61 = call i32 @print_string(ptr noundef %59, i32 noundef %60)
%62 = call i32 @putchar(i8 noundef signext 10)
store i32 0, ptr %3, align 4
br label %63
63: ; preds = %56, %48, %43, %26
%64 = load i32, ptr %3, align 4
ret i32 %64
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @putc(i8 noundef signext, i32 noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @error_at_line(i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ...) #1
declare i64 @check_magic(ptr noundef) #1
declare i64 @header_check(ptr noundef) #1
declare i64 @decode_string(ptr noundef, ptr noundef) #1
declare i32 @fputs(ptr noundef, i32 noundef) #1
declare i32 @print_string(ptr noundef, i32 noundef) #1
declare i32 @putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxt6k9xv1.c'
source_filename = "/tmp/tmpxt6k9xv1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [64 x i8] c"Enter an abitrarily long string, ending with carriage return > \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"Check sum is %c\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %5
5: ; preds = %9, %0
%6 = load i8, ptr %2, align 1
%7 = sext i8 %6 to i32
%8 = icmp ne i32 %7, 10
br i1 %8, label %9, label %15
9: ; preds = %5
%10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%11 = load i32, ptr %3, align 4
%12 = load i8, ptr %2, align 1
%13 = sext i8 %12 to i32
%14 = add nsw i32 %11, %13
store i32 %14, ptr %3, align 4
br label %5, !llvm.loop !6
15: ; preds = %5
%16 = load i32, ptr %3, align 4
%17 = srem i32 %16, 64
%18 = add nsw i32 %17, 22
store i32 %18, ptr %3, align 4
%19 = load i32, ptr %3, align 4
%20 = trunc i32 %19 to i8
%21 = sext i8 %20 to i32
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %21)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxt6k9xv1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [64 x i8] c"Enter an abitrarily long string, ending with carriage return > \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"Check sum is %c\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%5 = load i8, ptr %2, align 1
%6 = sext i8 %5 to i32
%7 = icmp ne i32 %6, 10
br i1 %7, label %.lr.ph, label %17
.lr.ph: ; preds = %0
br label %8
8: ; preds = %.lr.ph, %8
%9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%10 = load i32, ptr %3, align 4
%11 = load i8, ptr %2, align 1
%12 = sext i8 %11 to i32
%13 = add nsw i32 %10, %12
store i32 %13, ptr %3, align 4
%14 = load i8, ptr %2, align 1
%15 = sext i8 %14 to i32
%16 = icmp ne i32 %15, 10
br i1 %16, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %8
br label %17
17: ; preds = %._crit_edge, %0
%18 = load i32, ptr %3, align 4
%19 = srem i32 %18, 64
%20 = add nsw i32 %19, 22
store i32 %20, ptr %3, align 4
%21 = load i32, ptr %3, align 4
%22 = trunc i32 %21 to i8
%23 = sext i8 %22 to i32
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %23)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpeh445a5j.c'
source_filename = "/tmp/tmpeh445a5j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @uniquePathsWithObstacles(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
%8 = load ptr, ptr %5, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %16
10: ; preds = %3
%11 = load i32, ptr %6, align 4
%12 = icmp ne i32 %11, 0
br i1 %12, label %13, label %16
13: ; preds = %10
%14 = load i32, ptr %7, align 4
%15 = icmp ne i32 %14, 0
br i1 %15, label %17, label %16
16: ; preds = %13, %10, %3
store i32 0, ptr %4, align 4
br label %68
17: ; preds = %13
%18 = load ptr, ptr %5, align 8
%19 = load i32, ptr %6, align 4
%20 = sub nsw i32 %19, 1
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds ptr, ptr %18, i64 %21
%23 = load ptr, ptr %22, align 8
%24 = load i32, ptr %7, align 4
%25 = sub nsw i32 %24, 1
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i32, ptr %23, i64 %26
%28 = load i32, ptr %27, align 4
%29 = icmp eq i32 1, %28
br i1 %29, label %37, label %30
30: ; preds = %17
%31 = load ptr, ptr %5, align 8
%32 = getelementptr inbounds ptr, ptr %31, i64 0
%33 = load ptr, ptr %32, align 8
%34 = getelementptr inbounds i32, ptr %33, i64 0
%35 = load i32, ptr %34, align 4
%36 = icmp eq i32 1, %35
br i1 %36, label %37, label %38
37: ; preds = %30, %17
store i32 0, ptr %4, align 4
br label %68
38: ; preds = %30
%39 = load i32, ptr %6, align 4
%40 = icmp eq i32 1, %39
br i1 %40, label %41, label %45
41: ; preds = %38
%42 = load i32, ptr %7, align 4
%43 = icmp eq i32 1, %42
br i1 %43, label %44, label %45
44: ; preds = %41
store i32 1, ptr %4, align 4
br label %68
45: ; preds = %41, %38
br label %46
46: ; preds = %45
br label %47
47: ; preds = %46
%48 = load ptr, ptr %5, align 8
%49 = load i32, ptr %6, align 4
%50 = sub nsw i32 %49, 1
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds ptr, ptr %48, i64 %51
%53 = load ptr, ptr %52, align 8
%54 = load i32, ptr %7, align 4
%55 = sub nsw i32 %54, 1
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i32, ptr %53, i64 %56
store i32 -2, ptr %57, align 4
%58 = load ptr, ptr %5, align 8
%59 = load i32, ptr %7, align 4
%60 = load i32, ptr %6, align 4
%61 = call i32 @sub(ptr noundef %58, i32 noundef 0, i32 noundef 0, i32 noundef %59, i32 noundef %60)
%62 = load ptr, ptr %5, align 8
%63 = getelementptr inbounds ptr, ptr %62, i64 0
%64 = load ptr, ptr %63, align 8
%65 = getelementptr inbounds i32, ptr %64, i64 0
%66 = load i32, ptr %65, align 4
%67 = xor i32 %66, -1
store i32 %67, ptr %4, align 4
br label %68
68: ; preds = %47, %44, %37, %16
%69 = load i32, ptr %4, align 4
ret i32 %69
}
declare i32 @sub(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpeh445a5j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @uniquePathsWithObstacles(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
%8 = load ptr, ptr %5, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %16
10: ; preds = %3
%11 = load i32, ptr %6, align 4
%12 = icmp ne i32 %11, 0
br i1 %12, label %13, label %16
13: ; preds = %10
%14 = load i32, ptr %7, align 4
%15 = icmp ne i32 %14, 0
br i1 %15, label %17, label %16
16: ; preds = %13, %10, %3
store i32 0, ptr %4, align 4
br label %68
17: ; preds = %13
%18 = load ptr, ptr %5, align 8
%19 = load i32, ptr %6, align 4
%20 = sub nsw i32 %19, 1
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds ptr, ptr %18, i64 %21
%23 = load ptr, ptr %22, align 8
%24 = load i32, ptr %7, align 4
%25 = sub nsw i32 %24, 1
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i32, ptr %23, i64 %26
%28 = load i32, ptr %27, align 4
%29 = icmp eq i32 1, %28
br i1 %29, label %37, label %30
30: ; preds = %17
%31 = load ptr, ptr %5, align 8
%32 = getelementptr inbounds ptr, ptr %31, i64 0
%33 = load ptr, ptr %32, align 8
%34 = getelementptr inbounds i32, ptr %33, i64 0
%35 = load i32, ptr %34, align 4
%36 = icmp eq i32 1, %35
br i1 %36, label %37, label %38
37: ; preds = %30, %17
store i32 0, ptr %4, align 4
br label %68
38: ; preds = %30
%39 = load i32, ptr %6, align 4
%40 = icmp eq i32 1, %39
br i1 %40, label %41, label %45
41: ; preds = %38
%42 = load i32, ptr %7, align 4
%43 = icmp eq i32 1, %42
br i1 %43, label %44, label %45
44: ; preds = %41
store i32 1, ptr %4, align 4
br label %68
45: ; preds = %41, %38
br label %46
46: ; preds = %45
br label %47
47: ; preds = %46
%48 = load ptr, ptr %5, align 8
%49 = load i32, ptr %6, align 4
%50 = sub nsw i32 %49, 1
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds ptr, ptr %48, i64 %51
%53 = load ptr, ptr %52, align 8
%54 = load i32, ptr %7, align 4
%55 = sub nsw i32 %54, 1
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i32, ptr %53, i64 %56
store i32 -2, ptr %57, align 4
%58 = load ptr, ptr %5, align 8
%59 = load i32, ptr %7, align 4
%60 = load i32, ptr %6, align 4
%61 = call i32 @sub(ptr noundef %58, i32 noundef 0, i32 noundef 0, i32 noundef %59, i32 noundef %60)
%62 = load ptr, ptr %5, align 8
%63 = getelementptr inbounds ptr, ptr %62, i64 0
%64 = load ptr, ptr %63, align 8
%65 = getelementptr inbounds i32, ptr %64, i64 0
%66 = load i32, ptr %65, align 4
%67 = xor i32 %66, -1
store i32 %67, ptr %4, align 4
br label %68
68: ; preds = %47, %44, %37, %16
%69 = load i32, ptr %4, align 4
ret i32 %69
}
declare i32 @sub(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8t3l7gmk.c'
source_filename = "/tmp/tmp8t3l7gmk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"sfc\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"cld base\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"cld top\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"0C isotherm\00", align 1
@.str.4 = private unnamed_addr constant [9 x i8] c"cond lev\00", align 1
@.str.5 = private unnamed_addr constant [13 x i8] c"max wind lev\00", align 1
@.str.6 = private unnamed_addr constant [11 x i8] c"tropopause\00", align 1
@.str.7 = private unnamed_addr constant [9 x i8] c"nom. top\00", align 1
@.str.8 = private unnamed_addr constant [11 x i8] c"sea bottom\00", align 1
@.str.9 = private unnamed_addr constant [10 x i8] c"atmos col\00", align 1
@.str.10 = private unnamed_addr constant [12 x i8] c"low cld bot\00", align 1
@.str.11 = private unnamed_addr constant [12 x i8] c"low cld top\00", align 1
@.str.12 = private unnamed_addr constant [12 x i8] c"low cld lay\00", align 1
@.str.13 = private unnamed_addr constant [12 x i8] c"mid cld bot\00", align 1
@.str.14 = private unnamed_addr constant [12 x i8] c"mid cld top\00", align 1
@.str.15 = private unnamed_addr constant [12 x i8] c"mid cld lay\00", align 1
@.str.16 = private unnamed_addr constant [13 x i8] c"high cld bot\00", align 1
@.str.17 = private unnamed_addr constant [13 x i8] c"high cld top\00", align 1
@.str.18 = private unnamed_addr constant [13 x i8] c"high cld lay\00", align 1
@.str.19 = private unnamed_addr constant [13 x i8] c"ocean column\00", align 1
@.str.20 = private unnamed_addr constant [21 x i8] c"bndary-layer cld bot\00", align 1
@.str.21 = private unnamed_addr constant [21 x i8] c"bndary-layer cld top\00", align 1
@.str.22 = private unnamed_addr constant [23 x i8] c"bndary-layer cld layer\00", align 1
@.str.23 = private unnamed_addr constant [16 x i8] c"convect-cld bot\00", align 1
@.str.24 = private unnamed_addr constant [16 x i8] c"convect-cld top\00", align 1
@.str.25 = private unnamed_addr constant [18 x i8] c"convect-cld layer\00", align 1
@.str.26 = private unnamed_addr constant [6 x i8] c"%d mb\00", align 1
@.str.27 = private unnamed_addr constant [9 x i8] c"%d-%d mb\00", align 1
@.str.28 = private unnamed_addr constant [4 x i8] c"MSL\00", align 1
@.str.29 = private unnamed_addr constant [15 x i8] c"%d m above MSL\00", align 1
@.str.30 = private unnamed_addr constant [18 x i8] c"%d-%d m above msl\00", align 1
@.str.31 = private unnamed_addr constant [15 x i8] c"%d m above gnd\00", align 1
@.str.32 = private unnamed_addr constant [18 x i8] c"%d-%d m above gnd\00", align 1
@.str.33 = private unnamed_addr constant [11 x i8] c"sigma=%.4f\00", align 1
@.str.34 = private unnamed_addr constant [16 x i8] c"sigma %.2f-%.2f\00", align 1
@.str.35 = private unnamed_addr constant [14 x i8] c"hybrid lev %d\00", align 1
@.str.36 = private unnamed_addr constant [13 x i8] c"hybrid %d-%d\00", align 1
@.str.37 = private unnamed_addr constant [11 x i8] c"%d cm down\00", align 1
@.str.38 = private unnamed_addr constant [14 x i8] c"%d-%d cm down\00", align 1
@.str.39 = private unnamed_addr constant [4 x i8] c"%dK\00", align 1
@.str.40 = private unnamed_addr constant [7 x i8] c"%d-%dK\00", align 1
@.str.41 = private unnamed_addr constant [16 x i8] c"%d mb above gnd\00", align 1
@.str.42 = private unnamed_addr constant [19 x i8] c"%d-%d mb above gnd\00", align 1
@.str.43 = private unnamed_addr constant [14 x i8] c"%d (pv units)\00", align 1
@.str.44 = private unnamed_addr constant [17 x i8] c"%.5f (ETA level)\00", align 1
@.str.45 = private unnamed_addr constant [23 x i8] c"%.2f-%.2f (ETA levels)\00", align 1
@.str.46 = private unnamed_addr constant [16 x i8] c"%d cm above gnd\00", align 1
@.str.47 = private unnamed_addr constant [18 x i8] c"%.3f-%.3f (sigma)\00", align 1
@.str.48 = private unnamed_addr constant [21 x i8] c"%d m below sea level\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @levels(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = sdiv i32 %7, 256
store i32 %8, ptr %5, align 4
%9 = load i32, ptr %4, align 4
%10 = srem i32 %9, 256
store i32 %10, ptr %6, align 4
%11 = load i32, ptr %3, align 4
switch i32 %11, label %179 [
i32 1, label %12
i32 2, label %14
i32 3, label %16
i32 4, label %18
i32 5, label %20
i32 6, label %22
i32 7, label %24
i32 8, label %26
i32 9, label %28
i32 200, label %30
i32 10, label %30
i32 12, label %32
i32 212, label %32
i32 13, label %34
i32 213, label %34
i32 14, label %36
i32 214, label %36
i32 22, label %38
i32 222, label %38
i32 23, label %40
i32 223, label %40
i32 24, label %42
i32 224, label %42
i32 32, label %44
i32 232, label %44
i32 33, label %46
i32 233, label %46
i32 34, label %48
i32 234, label %48
i32 201, label %50
i32 209, label %52
i32 210, label %54
i32 211, label %56
i32 242, label %58
i32 243, label %60
i32 244, label %62
i32 100, label %64
i32 101, label %67
i32 102, label %73
i32 103, label %75
i32 104, label %78
i32 105, label %84
i32 106, label %87
i32 107, label %93
i32 108, label %98
i32 109, label %106
i32 110, label %109
i32 111, label %113
i32 112, label %116
i32 113, label %120
i32 114, label %123
i32 115, label %129
i32 116, label %132
i32 117, label %136
i32 119, label %139
i32 120, label %144
i32 121, label %152
i32 125, label %158
i32 128, label %161
i32 141, label %171
i32 160, label %176
]
12: ; preds = %2
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %180
14: ; preds = %2
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %180
16: ; preds = %2
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %180
18: ; preds = %2
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %180
20: ; preds = %2
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %180
22: ; preds = %2
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %180
24: ; preds = %2
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
br label %180
26: ; preds = %2
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
br label %180
28: ; preds = %2
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
br label %180
30: ; preds = %2, %2
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
br label %180
32: ; preds = %2, %2
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
br label %180
34: ; preds = %2, %2
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
br label %180
36: ; preds = %2, %2
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
br label %180
38: ; preds = %2, %2
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
br label %180
40: ; preds = %2, %2
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.14)
br label %180
42: ; preds = %2, %2
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.15)
br label %180
44: ; preds = %2, %2
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.16)
br label %180
46: ; preds = %2, %2
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.17)
br label %180
48: ; preds = %2, %2
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.18)
br label %180
50: ; preds = %2
%51 = call i32 (ptr, ...) @printf(ptr noundef @.str.19)
br label %180
52: ; preds = %2
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str.20)
br label %180
54: ; preds = %2
%55 = call i32 (ptr, ...) @printf(ptr noundef @.str.21)
br label %180
56: ; preds = %2
%57 = call i32 (ptr, ...) @printf(ptr noundef @.str.22)
br label %180
58: ; preds = %2
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str.23)
br label %180
60: ; preds = %2
%61 = call i32 (ptr, ...) @printf(ptr noundef @.str.24)
br label %180
62: ; preds = %2
%63 = call i32 (ptr, ...) @printf(ptr noundef @.str.25)
br label %180
64: ; preds = %2
%65 = load i32, ptr %4, align 4
%66 = call i32 (ptr, ...) @printf(ptr noundef @.str.26, i32 noundef %65)
br label %180
67: ; preds = %2
%68 = load i32, ptr %5, align 4
%69 = mul nsw i32 %68, 10
%70 = load i32, ptr %6, align 4
%71 = mul nsw i32 %70, 10
%72 = call i32 (ptr, ...) @printf(ptr noundef @.str.27, i32 noundef %69, i32 noundef %71)
br label %180
73: ; preds = %2
%74 = call i32 (ptr, ...) @printf(ptr noundef @.str.28)
br label %180
75: ; preds = %2
%76 = load i32, ptr %4, align 4
%77 = call i32 (ptr, ...) @printf(ptr noundef @.str.29, i32 noundef %76)
br label %180
78: ; preds = %2
%79 = load i32, ptr %5, align 4
%80 = mul nsw i32 %79, 100
%81 = load i32, ptr %6, align 4
%82 = mul nsw i32 %81, 100
%83 = call i32 (ptr, ...) @printf(ptr noundef @.str.30, i32 noundef %80, i32 noundef %82)
br label %180
84: ; preds = %2
%85 = load i32, ptr %4, align 4
%86 = call i32 (ptr, ...) @printf(ptr noundef @.str.31, i32 noundef %85)
br label %180
87: ; preds = %2
%88 = load i32, ptr %5, align 4
%89 = mul nsw i32 %88, 100
%90 = load i32, ptr %6, align 4
%91 = mul nsw i32 %90, 100
%92 = call i32 (ptr, ...) @printf(ptr noundef @.str.32, i32 noundef %89, i32 noundef %91)
br label %180
93: ; preds = %2
%94 = load i32, ptr %4, align 4
%95 = sitofp i32 %94 to double
%96 = fdiv double %95, 1.000000e+04
%97 = call i32 (ptr, ...) @printf(ptr noundef @.str.33, double noundef %96)
br label %180
98: ; preds = %2
%99 = load i32, ptr %5, align 4
%100 = sitofp i32 %99 to double
%101 = fdiv double %100, 1.000000e+02
%102 = load i32, ptr %6, align 4
%103 = sitofp i32 %102 to double
%104 = fdiv double %103, 1.000000e+02
%105 = call i32 (ptr, ...) @printf(ptr noundef @.str.34, double noundef %101, double noundef %104)
br label %180
106: ; preds = %2
%107 = load i32, ptr %4, align 4
%108 = call i32 (ptr, ...) @printf(ptr noundef @.str.35, i32 noundef %107)
br label %180
109: ; preds = %2
%110 = load i32, ptr %5, align 4
%111 = load i32, ptr %6, align 4
%112 = call i32 (ptr, ...) @printf(ptr noundef @.str.36, i32 noundef %110, i32 noundef %111)
br label %180
113: ; preds = %2
%114 = load i32, ptr %4, align 4
%115 = call i32 (ptr, ...) @printf(ptr noundef @.str.37, i32 noundef %114)
br label %180
116: ; preds = %2
%117 = load i32, ptr %5, align 4
%118 = load i32, ptr %6, align 4
%119 = call i32 (ptr, ...) @printf(ptr noundef @.str.38, i32 noundef %117, i32 noundef %118)
br label %180
120: ; preds = %2
%121 = load i32, ptr %4, align 4
%122 = call i32 (ptr, ...) @printf(ptr noundef @.str.39, i32 noundef %121)
br label %180
123: ; preds = %2
%124 = load i32, ptr %5, align 4
%125 = sub nsw i32 475, %124
%126 = load i32, ptr %6, align 4
%127 = sub nsw i32 475, %126
%128 = call i32 (ptr, ...) @printf(ptr noundef @.str.40, i32 noundef %125, i32 noundef %127)
br label %180
129: ; preds = %2
%130 = load i32, ptr %4, align 4
%131 = call i32 (ptr, ...) @printf(ptr noundef @.str.41, i32 noundef %130)
br label %180
132: ; preds = %2
%133 = load i32, ptr %5, align 4
%134 = load i32, ptr %6, align 4
%135 = call i32 (ptr, ...) @printf(ptr noundef @.str.42, i32 noundef %133, i32 noundef %134)
br label %180
136: ; preds = %2
%137 = load i32, ptr %4, align 4
%138 = call i32 (ptr, ...) @printf(ptr noundef @.str.43, i32 noundef %137)
br label %180
139: ; preds = %2
%140 = load i32, ptr %4, align 4
%141 = sitofp i32 %140 to double
%142 = fdiv double %141, 1.000000e+04
%143 = call i32 (ptr, ...) @printf(ptr noundef @.str.44, double noundef %142)
br label %180
144: ; preds = %2
%145 = load i32, ptr %5, align 4
%146 = sitofp i32 %145 to double
%147 = fdiv double %146, 1.000000e+02
%148 = load i32, ptr %6, align 4
%149 = sitofp i32 %148 to double
%150 = fdiv double %149, 1.000000e+02
%151 = call i32 (ptr, ...) @printf(ptr noundef @.str.45, double noundef %147, double noundef %150)
br label %180
152: ; preds = %2
%153 = load i32, ptr %5, align 4
%154 = sub nsw i32 1100, %153
%155 = load i32, ptr %6, align 4
%156 = sub nsw i32 1100, %155
%157 = call i32 (ptr, ...) @printf(ptr noundef @.str.27, i32 noundef %154, i32 noundef %156)
br label %180
158: ; preds = %2
%159 = load i32, ptr %4, align 4
%160 = call i32 (ptr, ...) @printf(ptr noundef @.str.46, i32 noundef %159)
br label %180
161: ; preds = %2
%162 = load i32, ptr %5, align 4
%163 = sitofp i32 %162 to double
%164 = fdiv double %163, 1.000000e+03
%165 = fsub double 1.100000e+00, %164
%166 = load i32, ptr %6, align 4
%167 = sitofp i32 %166 to double
%168 = fdiv double %167, 1.000000e+03
%169 = fsub double 1.100000e+00, %168
%170 = call i32 (ptr, ...) @printf(ptr noundef @.str.47, double noundef %165, double noundef %169)
br label %180
171: ; preds = %2
%172 = load i32, ptr %5, align 4
%173 = load i32, ptr %6, align 4
%174 = sub nsw i32 1100, %173
%175 = call i32 (ptr, ...) @printf(ptr noundef @.str.27, i32 noundef %172, i32 noundef %174)
br label %180
176: ; preds = %2
%177 = load i32, ptr %4, align 4
%178 = call i32 (ptr, ...) @printf(ptr noundef @.str.48, i32 noundef %177)
br label %180
179: ; preds = %2
br label %180
180: ; preds = %179, %176, %171, %161, %158, %152, %144, %139, %136, %132, %129, %123, %120, %116, %113, %109, %106, %98, %93, %87, %84, %78, %75, %73, %67, %64, %62, %60, %58, %56, %54, %52, %50, %48, %46, %44, %42, %40, %38, %36, %34, %32, %30, %28, %26, %24, %22, %20, %18, %16, %14, %12
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8t3l7gmk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"sfc\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"cld base\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"cld top\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"0C isotherm\00", align 1
@.str.4 = private unnamed_addr constant [9 x i8] c"cond lev\00", align 1
@.str.5 = private unnamed_addr constant [13 x i8] c"max wind lev\00", align 1
@.str.6 = private unnamed_addr constant [11 x i8] c"tropopause\00", align 1
@.str.7 = private unnamed_addr constant [9 x i8] c"nom. top\00", align 1
@.str.8 = private unnamed_addr constant [11 x i8] c"sea bottom\00", align 1
@.str.9 = private unnamed_addr constant [10 x i8] c"atmos col\00", align 1
@.str.10 = private unnamed_addr constant [12 x i8] c"low cld bot\00", align 1
@.str.11 = private unnamed_addr constant [12 x i8] c"low cld top\00", align 1
@.str.12 = private unnamed_addr constant [12 x i8] c"low cld lay\00", align 1
@.str.13 = private unnamed_addr constant [12 x i8] c"mid cld bot\00", align 1
@.str.14 = private unnamed_addr constant [12 x i8] c"mid cld top\00", align 1
@.str.15 = private unnamed_addr constant [12 x i8] c"mid cld lay\00", align 1
@.str.16 = private unnamed_addr constant [13 x i8] c"high cld bot\00", align 1
@.str.17 = private unnamed_addr constant [13 x i8] c"high cld top\00", align 1
@.str.18 = private unnamed_addr constant [13 x i8] c"high cld lay\00", align 1
@.str.19 = private unnamed_addr constant [13 x i8] c"ocean column\00", align 1
@.str.20 = private unnamed_addr constant [21 x i8] c"bndary-layer cld bot\00", align 1
@.str.21 = private unnamed_addr constant [21 x i8] c"bndary-layer cld top\00", align 1
@.str.22 = private unnamed_addr constant [23 x i8] c"bndary-layer cld layer\00", align 1
@.str.23 = private unnamed_addr constant [16 x i8] c"convect-cld bot\00", align 1
@.str.24 = private unnamed_addr constant [16 x i8] c"convect-cld top\00", align 1
@.str.25 = private unnamed_addr constant [18 x i8] c"convect-cld layer\00", align 1
@.str.26 = private unnamed_addr constant [6 x i8] c"%d mb\00", align 1
@.str.27 = private unnamed_addr constant [9 x i8] c"%d-%d mb\00", align 1
@.str.28 = private unnamed_addr constant [4 x i8] c"MSL\00", align 1
@.str.29 = private unnamed_addr constant [15 x i8] c"%d m above MSL\00", align 1
@.str.30 = private unnamed_addr constant [18 x i8] c"%d-%d m above msl\00", align 1
@.str.31 = private unnamed_addr constant [15 x i8] c"%d m above gnd\00", align 1
@.str.32 = private unnamed_addr constant [18 x i8] c"%d-%d m above gnd\00", align 1
@.str.33 = private unnamed_addr constant [11 x i8] c"sigma=%.4f\00", align 1
@.str.34 = private unnamed_addr constant [16 x i8] c"sigma %.2f-%.2f\00", align 1
@.str.35 = private unnamed_addr constant [14 x i8] c"hybrid lev %d\00", align 1
@.str.36 = private unnamed_addr constant [13 x i8] c"hybrid %d-%d\00", align 1
@.str.37 = private unnamed_addr constant [11 x i8] c"%d cm down\00", align 1
@.str.38 = private unnamed_addr constant [14 x i8] c"%d-%d cm down\00", align 1
@.str.39 = private unnamed_addr constant [4 x i8] c"%dK\00", align 1
@.str.40 = private unnamed_addr constant [7 x i8] c"%d-%dK\00", align 1
@.str.41 = private unnamed_addr constant [16 x i8] c"%d mb above gnd\00", align 1
@.str.42 = private unnamed_addr constant [19 x i8] c"%d-%d mb above gnd\00", align 1
@.str.43 = private unnamed_addr constant [14 x i8] c"%d (pv units)\00", align 1
@.str.44 = private unnamed_addr constant [17 x i8] c"%.5f (ETA level)\00", align 1
@.str.45 = private unnamed_addr constant [23 x i8] c"%.2f-%.2f (ETA levels)\00", align 1
@.str.46 = private unnamed_addr constant [16 x i8] c"%d cm above gnd\00", align 1
@.str.47 = private unnamed_addr constant [18 x i8] c"%.3f-%.3f (sigma)\00", align 1
@.str.48 = private unnamed_addr constant [21 x i8] c"%d m below sea level\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @levels(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = sdiv i32 %7, 256
store i32 %8, ptr %5, align 4
%9 = load i32, ptr %4, align 4
%10 = srem i32 %9, 256
store i32 %10, ptr %6, align 4
%11 = load i32, ptr %3, align 4
switch i32 %11, label %179 [
i32 1, label %12
i32 2, label %14
i32 3, label %16
i32 4, label %18
i32 5, label %20
i32 6, label %22
i32 7, label %24
i32 8, label %26
i32 9, label %28
i32 200, label %30
i32 10, label %30
i32 12, label %32
i32 212, label %32
i32 13, label %34
i32 213, label %34
i32 14, label %36
i32 214, label %36
i32 22, label %38
i32 222, label %38
i32 23, label %40
i32 223, label %40
i32 24, label %42
i32 224, label %42
i32 32, label %44
i32 232, label %44
i32 33, label %46
i32 233, label %46
i32 34, label %48
i32 234, label %48
i32 201, label %50
i32 209, label %52
i32 210, label %54
i32 211, label %56
i32 242, label %58
i32 243, label %60
i32 244, label %62
i32 100, label %64
i32 101, label %67
i32 102, label %73
i32 103, label %75
i32 104, label %78
i32 105, label %84
i32 106, label %87
i32 107, label %93
i32 108, label %98
i32 109, label %106
i32 110, label %109
i32 111, label %113
i32 112, label %116
i32 113, label %120
i32 114, label %123
i32 115, label %129
i32 116, label %132
i32 117, label %136
i32 119, label %139
i32 120, label %144
i32 121, label %152
i32 125, label %158
i32 128, label %161
i32 141, label %171
i32 160, label %176
]
12: ; preds = %2
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %180
14: ; preds = %2
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %180
16: ; preds = %2
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %180
18: ; preds = %2
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %180
20: ; preds = %2
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %180
22: ; preds = %2
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %180
24: ; preds = %2
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
br label %180
26: ; preds = %2
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
br label %180
28: ; preds = %2
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
br label %180
30: ; preds = %2, %2
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
br label %180
32: ; preds = %2, %2
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
br label %180
34: ; preds = %2, %2
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
br label %180
36: ; preds = %2, %2
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
br label %180
38: ; preds = %2, %2
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
br label %180
40: ; preds = %2, %2
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.14)
br label %180
42: ; preds = %2, %2
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.15)
br label %180
44: ; preds = %2, %2
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.16)
br label %180
46: ; preds = %2, %2
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.17)
br label %180
48: ; preds = %2, %2
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.18)
br label %180
50: ; preds = %2
%51 = call i32 (ptr, ...) @printf(ptr noundef @.str.19)
br label %180
52: ; preds = %2
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str.20)
br label %180
54: ; preds = %2
%55 = call i32 (ptr, ...) @printf(ptr noundef @.str.21)
br label %180
56: ; preds = %2
%57 = call i32 (ptr, ...) @printf(ptr noundef @.str.22)
br label %180
58: ; preds = %2
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str.23)
br label %180
60: ; preds = %2
%61 = call i32 (ptr, ...) @printf(ptr noundef @.str.24)
br label %180
62: ; preds = %2
%63 = call i32 (ptr, ...) @printf(ptr noundef @.str.25)
br label %180
64: ; preds = %2
%65 = load i32, ptr %4, align 4
%66 = call i32 (ptr, ...) @printf(ptr noundef @.str.26, i32 noundef %65)
br label %180
67: ; preds = %2
%68 = load i32, ptr %5, align 4
%69 = mul nsw i32 %68, 10
%70 = load i32, ptr %6, align 4
%71 = mul nsw i32 %70, 10
%72 = call i32 (ptr, ...) @printf(ptr noundef @.str.27, i32 noundef %69, i32 noundef %71)
br label %180
73: ; preds = %2
%74 = call i32 (ptr, ...) @printf(ptr noundef @.str.28)
br label %180
75: ; preds = %2
%76 = load i32, ptr %4, align 4
%77 = call i32 (ptr, ...) @printf(ptr noundef @.str.29, i32 noundef %76)
br label %180
78: ; preds = %2
%79 = load i32, ptr %5, align 4
%80 = mul nsw i32 %79, 100
%81 = load i32, ptr %6, align 4
%82 = mul nsw i32 %81, 100
%83 = call i32 (ptr, ...) @printf(ptr noundef @.str.30, i32 noundef %80, i32 noundef %82)
br label %180
84: ; preds = %2
%85 = load i32, ptr %4, align 4
%86 = call i32 (ptr, ...) @printf(ptr noundef @.str.31, i32 noundef %85)
br label %180
87: ; preds = %2
%88 = load i32, ptr %5, align 4
%89 = mul nsw i32 %88, 100
%90 = load i32, ptr %6, align 4
%91 = mul nsw i32 %90, 100
%92 = call i32 (ptr, ...) @printf(ptr noundef @.str.32, i32 noundef %89, i32 noundef %91)
br label %180
93: ; preds = %2
%94 = load i32, ptr %4, align 4
%95 = sitofp i32 %94 to double
%96 = fdiv double %95, 1.000000e+04
%97 = call i32 (ptr, ...) @printf(ptr noundef @.str.33, double noundef %96)
br label %180
98: ; preds = %2
%99 = load i32, ptr %5, align 4
%100 = sitofp i32 %99 to double
%101 = fdiv double %100, 1.000000e+02
%102 = load i32, ptr %6, align 4
%103 = sitofp i32 %102 to double
%104 = fdiv double %103, 1.000000e+02
%105 = call i32 (ptr, ...) @printf(ptr noundef @.str.34, double noundef %101, double noundef %104)
br label %180
106: ; preds = %2
%107 = load i32, ptr %4, align 4
%108 = call i32 (ptr, ...) @printf(ptr noundef @.str.35, i32 noundef %107)
br label %180
109: ; preds = %2
%110 = load i32, ptr %5, align 4
%111 = load i32, ptr %6, align 4
%112 = call i32 (ptr, ...) @printf(ptr noundef @.str.36, i32 noundef %110, i32 noundef %111)
br label %180
113: ; preds = %2
%114 = load i32, ptr %4, align 4
%115 = call i32 (ptr, ...) @printf(ptr noundef @.str.37, i32 noundef %114)
br label %180
116: ; preds = %2
%117 = load i32, ptr %5, align 4
%118 = load i32, ptr %6, align 4
%119 = call i32 (ptr, ...) @printf(ptr noundef @.str.38, i32 noundef %117, i32 noundef %118)
br label %180
120: ; preds = %2
%121 = load i32, ptr %4, align 4
%122 = call i32 (ptr, ...) @printf(ptr noundef @.str.39, i32 noundef %121)
br label %180
123: ; preds = %2
%124 = load i32, ptr %5, align 4
%125 = sub nsw i32 475, %124
%126 = load i32, ptr %6, align 4
%127 = sub nsw i32 475, %126
%128 = call i32 (ptr, ...) @printf(ptr noundef @.str.40, i32 noundef %125, i32 noundef %127)
br label %180
129: ; preds = %2
%130 = load i32, ptr %4, align 4
%131 = call i32 (ptr, ...) @printf(ptr noundef @.str.41, i32 noundef %130)
br label %180
132: ; preds = %2
%133 = load i32, ptr %5, align 4
%134 = load i32, ptr %6, align 4
%135 = call i32 (ptr, ...) @printf(ptr noundef @.str.42, i32 noundef %133, i32 noundef %134)
br label %180
136: ; preds = %2
%137 = load i32, ptr %4, align 4
%138 = call i32 (ptr, ...) @printf(ptr noundef @.str.43, i32 noundef %137)
br label %180
139: ; preds = %2
%140 = load i32, ptr %4, align 4
%141 = sitofp i32 %140 to double
%142 = fdiv double %141, 1.000000e+04
%143 = call i32 (ptr, ...) @printf(ptr noundef @.str.44, double noundef %142)
br label %180
144: ; preds = %2
%145 = load i32, ptr %5, align 4
%146 = sitofp i32 %145 to double
%147 = fdiv double %146, 1.000000e+02
%148 = load i32, ptr %6, align 4
%149 = sitofp i32 %148 to double
%150 = fdiv double %149, 1.000000e+02
%151 = call i32 (ptr, ...) @printf(ptr noundef @.str.45, double noundef %147, double noundef %150)
br label %180
152: ; preds = %2
%153 = load i32, ptr %5, align 4
%154 = sub nsw i32 1100, %153
%155 = load i32, ptr %6, align 4
%156 = sub nsw i32 1100, %155
%157 = call i32 (ptr, ...) @printf(ptr noundef @.str.27, i32 noundef %154, i32 noundef %156)
br label %180
158: ; preds = %2
%159 = load i32, ptr %4, align 4
%160 = call i32 (ptr, ...) @printf(ptr noundef @.str.46, i32 noundef %159)
br label %180
161: ; preds = %2
%162 = load i32, ptr %5, align 4
%163 = sitofp i32 %162 to double
%164 = fdiv double %163, 1.000000e+03
%165 = fsub double 1.100000e+00, %164
%166 = load i32, ptr %6, align 4
%167 = sitofp i32 %166 to double
%168 = fdiv double %167, 1.000000e+03
%169 = fsub double 1.100000e+00, %168
%170 = call i32 (ptr, ...) @printf(ptr noundef @.str.47, double noundef %165, double noundef %169)
br label %180
171: ; preds = %2
%172 = load i32, ptr %5, align 4
%173 = load i32, ptr %6, align 4
%174 = sub nsw i32 1100, %173
%175 = call i32 (ptr, ...) @printf(ptr noundef @.str.27, i32 noundef %172, i32 noundef %174)
br label %180
176: ; preds = %2
%177 = load i32, ptr %4, align 4
%178 = call i32 (ptr, ...) @printf(ptr noundef @.str.48, i32 noundef %177)
br label %180
179: ; preds = %2
br label %180
180: ; preds = %179, %176, %171, %161, %158, %152, %144, %139, %136, %132, %129, %123, %120, %116, %113, %109, %106, %98, %93, %87, %84, %78, %75, %73, %67, %64, %62, %60, %58, %56, %54, %52, %50, %48, %46, %44, %42, %40, %38, %36, %34, %32, %30, %28, %26, %24, %22, %20, %18, %16, %14, %12
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2d72if3x.c'
source_filename = "/tmp/tmp2d72if3x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.tm = type { i32, i32 }
@.str = private unnamed_addr constant [11 x i8] c" %2d:%02d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%4 = call i32 @time(ptr noundef %2)
%5 = call ptr @gmtime(ptr noundef %2)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.tm, ptr %6, i32 0, i32 0
%8 = load i32, ptr %7, align 4
%9 = add nsw i32 %8, 3
%10 = srem i32 %9, 24
%11 = load ptr, ptr %3, align 8
%12 = getelementptr inbounds %struct.tm, ptr %11, i32 0, i32 1
%13 = load i32, ptr %12, align 4
%14 = call i32 @printf(ptr noundef @.str, i32 noundef %10, i32 noundef %13)
ret i32 0
}
declare i32 @time(ptr noundef) #1
declare ptr @gmtime(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2d72if3x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.tm = type { i32, i32 }
@.str = private unnamed_addr constant [11 x i8] c" %2d:%02d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%4 = call i32 @time(ptr noundef %2)
%5 = call ptr @gmtime(ptr noundef %2)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.tm, ptr %6, i32 0, i32 0
%8 = load i32, ptr %7, align 4
%9 = add nsw i32 %8, 3
%10 = srem i32 %9, 24
%11 = load ptr, ptr %3, align 8
%12 = getelementptr inbounds %struct.tm, ptr %11, i32 0, i32 1
%13 = load i32, ptr %12, align 4
%14 = call i32 @printf(ptr noundef @.str, i32 noundef %10, i32 noundef %13)
ret i32 0
}
declare i32 @time(ptr noundef) #1
declare ptr @gmtime(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphe76genq.c'
source_filename = "/tmp/tmphe76genq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @US_CheckParm(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
br label %7
7: ; preds = %17, %2
%8 = load ptr, ptr %4, align 8
%9 = load i8, ptr %8, align 1
%10 = icmp ne i8 %9, 0
br i1 %10, label %11, label %20
11: ; preds = %7
%12 = load ptr, ptr %4, align 8
%13 = load i8, ptr %12, align 1
%14 = call i64 @isalpha(i8 noundef signext %13)
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %11
br label %20
17: ; preds = %11
%18 = load ptr, ptr %4, align 8
%19 = getelementptr inbounds i8, ptr %18, i32 1
store ptr %19, ptr %4, align 8
br label %7, !llvm.loop !6
20: ; preds = %16, %7
store i32 0, ptr %6, align 4
br label %21
21: ; preds = %51, %20
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr %6, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds ptr, ptr %22, i64 %24
%26 = load ptr, ptr %25, align 8
%27 = icmp ne ptr %26, null
br i1 %27, label %28, label %54
28: ; preds = %21
%29 = load ptr, ptr %5, align 8
%30 = load i32, ptr %6, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds ptr, ptr %29, i64 %31
%33 = load ptr, ptr %32, align 8
%34 = getelementptr inbounds i8, ptr %33, i64 0
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = icmp eq i32 %36, 0
br i1 %37, label %38, label %39
38: ; preds = %28
br label %51
39: ; preds = %28
%40 = load ptr, ptr %4, align 8
%41 = load ptr, ptr %5, align 8
%42 = load i32, ptr %6, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds ptr, ptr %41, i64 %43
%45 = load ptr, ptr %44, align 8
%46 = call i32 @CK_Cross_strcasecmp(ptr noundef %40, ptr noundef %45)
%47 = icmp ne i32 %46, 0
br i1 %47, label %50, label %48
48: ; preds = %39
%49 = load i32, ptr %6, align 4
store i32 %49, ptr %3, align 4
br label %55
50: ; preds = %39
br label %51
51: ; preds = %50, %38
%52 = load i32, ptr %6, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %6, align 4
br label %21, !llvm.loop !8
54: ; preds = %21
store i32 -1, ptr %3, align 4
br label %55
55: ; preds = %54, %48
%56 = load i32, ptr %3, align 4
ret i32 %56
}
declare i64 @isalpha(i8 noundef signext) #1
declare i32 @CK_Cross_strcasecmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphe76genq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @US_CheckParm(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i8, ptr %7, align 1
%9 = icmp ne i8 %8, 0
br i1 %9, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %2
br label %10
10: ; preds = %.lr.ph, %16
%11 = load ptr, ptr %4, align 8
%12 = load i8, ptr %11, align 1
%13 = call i64 @isalpha(i8 noundef signext %12)
%14 = icmp ne i64 %13, 0
br i1 %14, label %15, label %16
15: ; preds = %10
br label %22
16: ; preds = %10
%17 = load ptr, ptr %4, align 8
%18 = getelementptr inbounds i8, ptr %17, i32 1
store ptr %18, ptr %4, align 8
%19 = load ptr, ptr %4, align 8
%20 = load i8, ptr %19, align 1
%21 = icmp ne i8 %20, 0
br i1 %21, label %10, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %16
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %2
br label %22
22: ; preds = %.loopexit, %15
store i32 0, ptr %6, align 4
%23 = load ptr, ptr %5, align 8
%24 = load i32, ptr %6, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds ptr, ptr %23, i64 %25
%27 = load ptr, ptr %26, align 8
%28 = icmp ne ptr %27, null
br i1 %28, label %.lr.ph1, label %61
.lr.ph1: ; preds = %22
br label %29
29: ; preds = %.lr.ph1, %52
%30 = load ptr, ptr %5, align 8
%31 = load i32, ptr %6, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds ptr, ptr %30, i64 %32
%34 = load ptr, ptr %33, align 8
%35 = getelementptr inbounds i8, ptr %34, i64 0
%36 = load i8, ptr %35, align 1
%37 = sext i8 %36 to i32
%38 = icmp eq i32 %37, 0
br i1 %38, label %39, label %40
39: ; preds = %29
br label %52
40: ; preds = %29
%41 = load ptr, ptr %4, align 8
%42 = load ptr, ptr %5, align 8
%43 = load i32, ptr %6, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds ptr, ptr %42, i64 %44
%46 = load ptr, ptr %45, align 8
%47 = call i32 @CK_Cross_strcasecmp(ptr noundef %41, ptr noundef %46)
%48 = icmp ne i32 %47, 0
br i1 %48, label %51, label %49
49: ; preds = %40
%50 = load i32, ptr %6, align 4
store i32 %50, ptr %3, align 4
br label %62
51: ; preds = %40
br label %52
52: ; preds = %51, %39
%53 = load i32, ptr %6, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %6, align 4
%55 = load ptr, ptr %5, align 8
%56 = load i32, ptr %6, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds ptr, ptr %55, i64 %57
%59 = load ptr, ptr %58, align 8
%60 = icmp ne ptr %59, null
br i1 %60, label %29, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %52
br label %61
61: ; preds = %._crit_edge, %22
store i32 -1, ptr %3, align 4
br label %62
62: ; preds = %61, %49
%63 = load i32, ptr %3, align 4
ret i32 %63
}
declare i64 @isalpha(i8 noundef signext) #1
declare i32 @CK_Cross_strcasecmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp2ohxr2dn.c'
source_filename = "/tmp/tmp2ohxr2dn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @ICPrint()
%7 = call i32 (...) @ICPrintParents()
%8 = call i32 (...) @ICPrintingString()
%9 = call i32 (...) @ICPrintString()
ret i32 0
}
declare i32 @ICPrint(...) #1
declare i32 @ICPrintParents(...) #1
declare i32 @ICPrintingString(...) #1
declare i32 @ICPrintString(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2ohxr2dn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @ICPrint()
%7 = call i32 (...) @ICPrintParents()
%8 = call i32 (...) @ICPrintingString()
%9 = call i32 (...) @ICPrintString()
ret i32 0
}
declare i32 @ICPrint(...) #1
declare i32 @ICPrintParents(...) #1
declare i32 @ICPrintingString(...) #1
declare i32 @ICPrintString(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp63h84obr.c'
source_filename = "/tmp/tmp63h84obr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @DigitRoot(i32 noundef 1729)
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %6)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @DigitRoot(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp63h84obr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @DigitRoot(i32 noundef 1729)
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %6)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @DigitRoot(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1pac5ome.c'
source_filename = "/tmp/tmp1pac5ome.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1pac5ome.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpo00ijlnr.c'
source_filename = "/tmp/tmpo00ijlnr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@errno = dso_local global i64 0, align 8
@ENOENT = dso_local global i64 0, align 8
@EISDIR = dso_local global i64 0, align 8
@EEXIST = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ag_move(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca %struct.stat, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 0, ptr %9, align 4
%10 = load i32, ptr %7, align 4
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %20
12: ; preds = %3
%13 = load ptr, ptr %6, align 8
%14 = call i32 @lstat(ptr noundef %13, ptr noundef %8)
store i32 %14, ptr %9, align 4
%15 = icmp ne i32 %14, 0
br i1 %15, label %16, label %27
16: ; preds = %12
%17 = load i64, ptr @errno, align 8
%18 = load i64, ptr @ENOENT, align 8
%19 = icmp eq i64 %17, %18
br i1 %19, label %20, label %27
20: ; preds = %16, %3
%21 = load ptr, ptr %5, align 8
%22 = load ptr, ptr %6, align 8
%23 = call i64 @rename(ptr noundef %21, ptr noundef %22)
%24 = icmp ne i64 %23, 0
%25 = zext i1 %24 to i64
%26 = select i1 %24, i32 -2, i32 0
store i32 %26, ptr %4, align 4
br label %42
27: ; preds = %16, %12
%28 = load i32, ptr %9, align 4
%29 = icmp ne i32 %28, 0
br i1 %29, label %40, label %30
30: ; preds = %27
%31 = getelementptr inbounds %struct.stat, ptr %8, i32 0, i32 0
%32 = load i32, ptr %31, align 4
%33 = call i64 @S_ISDIR(i32 noundef %32)
%34 = icmp ne i64 %33, 0
br i1 %34, label %35, label %37
35: ; preds = %30
%36 = load i64, ptr @EISDIR, align 8
store i64 %36, ptr @errno, align 8
br label %39
37: ; preds = %30
%38 = load i64, ptr @EEXIST, align 8
store i64 %38, ptr @errno, align 8
br label %39
39: ; preds = %37, %35
br label %40
40: ; preds = %39, %27
br label %41
41: ; preds = %40
store i32 -1, ptr %4, align 4
br label %42
42: ; preds = %41, %20
%43 = load i32, ptr %4, align 4
ret i32 %43
}
declare i32 @lstat(ptr noundef, ptr noundef) #1
declare i64 @rename(ptr noundef, ptr noundef) #1
declare i64 @S_ISDIR(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpo00ijlnr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@errno = dso_local global i64 0, align 8
@ENOENT = dso_local global i64 0, align 8
@EISDIR = dso_local global i64 0, align 8
@EEXIST = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ag_move(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca %struct.stat, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 0, ptr %9, align 4
%10 = load i32, ptr %7, align 4
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %20
12: ; preds = %3
%13 = load ptr, ptr %6, align 8
%14 = call i32 @lstat(ptr noundef %13, ptr noundef %8)
store i32 %14, ptr %9, align 4
%15 = icmp ne i32 %14, 0
br i1 %15, label %16, label %27
16: ; preds = %12
%17 = load i64, ptr @errno, align 8
%18 = load i64, ptr @ENOENT, align 8
%19 = icmp eq i64 %17, %18
br i1 %19, label %20, label %27
20: ; preds = %16, %3
%21 = load ptr, ptr %5, align 8
%22 = load ptr, ptr %6, align 8
%23 = call i64 @rename(ptr noundef %21, ptr noundef %22)
%24 = icmp ne i64 %23, 0
%25 = zext i1 %24 to i64
%26 = select i1 %24, i32 -2, i32 0
store i32 %26, ptr %4, align 4
br label %42
27: ; preds = %16, %12
%28 = load i32, ptr %9, align 4
%29 = icmp ne i32 %28, 0
br i1 %29, label %40, label %30
30: ; preds = %27
%31 = getelementptr inbounds %struct.stat, ptr %8, i32 0, i32 0
%32 = load i32, ptr %31, align 4
%33 = call i64 @S_ISDIR(i32 noundef %32)
%34 = icmp ne i64 %33, 0
br i1 %34, label %35, label %37
35: ; preds = %30
%36 = load i64, ptr @EISDIR, align 8
store i64 %36, ptr @errno, align 8
br label %39
37: ; preds = %30
%38 = load i64, ptr @EEXIST, align 8
store i64 %38, ptr @errno, align 8
br label %39
39: ; preds = %37, %35
br label %40
40: ; preds = %39, %27
br label %41
41: ; preds = %40
store i32 -1, ptr %4, align 4
br label %42
42: ; preds = %41, %20
%43 = load i32, ptr %4, align 4
ret i32 %43
}
declare i32 @lstat(ptr noundef, ptr noundef) #1
declare i64 @rename(ptr noundef, ptr noundef) #1
declare i64 @S_ISDIR(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdzbz8d3j.c'
source_filename = "/tmp/tmpdzbz8d3j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"ipv4range 0.1 Beta\0A\00", align 1
@.str.1 = private unnamed_addr constant [36 x i8] c"Usage: ipv4range [OPTION]... RANGE\0A\00", align 1
@.str.2 = private unnamed_addr constant [42 x i8] c"Try 'ipv4range -h for more information.'\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdzbz8d3j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"ipv4range 0.1 Beta\0A\00", align 1
@.str.1 = private unnamed_addr constant [36 x i8] c"Usage: ipv4range [OPTION]... RANGE\0A\00", align 1
@.str.2 = private unnamed_addr constant [42 x i8] c"Try 'ipv4range -h for more information.'\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwxcw1d7z.c'
source_filename = "/tmp/tmpwxcw1d7z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [40 x i8] c"Text Editor. Type END to halt the CPU\0A \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = call i32 (...) @isr_install()
%2 = call i32 (...) @irq_install()
%3 = call i32 @display(ptr noundef @.str)
ret void
}
declare i32 @isr_install(...) #1
declare i32 @irq_install(...) #1
declare i32 @display(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwxcw1d7z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [40 x i8] c"Text Editor. Type END to halt the CPU\0A \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = call i32 (...) @isr_install()
%2 = call i32 (...) @irq_install()
%3 = call i32 @display(ptr noundef @.str)
ret void
}
declare i32 @isr_install(...) #1
declare i32 @irq_install(...) #1
declare i32 @display(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplyguf7rt.c'
source_filename = "/tmp/tmplyguf7rt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @isValidMacAddress(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
br label %5
5: ; preds = %37, %1
%6 = load ptr, ptr %2, align 8
%7 = load i8, ptr %6, align 1
%8 = icmp ne i8 %7, 0
br i1 %8, label %9, label %40
9: ; preds = %5
%10 = load ptr, ptr %2, align 8
%11 = load i8, ptr %10, align 1
%12 = call i64 @isxdigit(i8 noundef signext %11)
%13 = icmp ne i64 %12, 0
br i1 %13, label %14, label %17
14: ; preds = %9
%15 = load i32, ptr %3, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %3, align 4
br label %37
17: ; preds = %9
%18 = load ptr, ptr %2, align 8
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp eq i32 %20, 58
br i1 %21, label %22, label %35
22: ; preds = %17
%23 = load i32, ptr %3, align 4
%24 = icmp eq i32 %23, 0
br i1 %24, label %31, label %25
25: ; preds = %22
%26 = load i32, ptr %3, align 4
%27 = sdiv i32 %26, 2
%28 = sub nsw i32 %27, 1
%29 = load i32, ptr %4, align 4
%30 = icmp ne i32 %28, %29
br i1 %30, label %31, label %32
31: ; preds = %25, %22
br label %40
32: ; preds = %25
%33 = load i32, ptr %4, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %4, align 4
br label %36
35: ; preds = %17
store i32 -1, ptr %4, align 4
br label %36
36: ; preds = %35, %32
br label %37
37: ; preds = %36, %14
%38 = load ptr, ptr %2, align 8
%39 = getelementptr inbounds i8, ptr %38, i32 1
store ptr %39, ptr %2, align 8
br label %5, !llvm.loop !6
40: ; preds = %31, %5
%41 = load i32, ptr %3, align 4
%42 = icmp eq i32 %41, 12
br i1 %42, label %43, label %51
43: ; preds = %40
%44 = load i32, ptr %4, align 4
%45 = icmp eq i32 %44, 5
br i1 %45, label %49, label %46
46: ; preds = %43
%47 = load i32, ptr %4, align 4
%48 = icmp eq i32 %47, 0
br label %49
49: ; preds = %46, %43
%50 = phi i1 [ true, %43 ], [ %48, %46 ]
br label %51
51: ; preds = %49, %40
%52 = phi i1 [ false, %40 ], [ %50, %49 ]
%53 = zext i1 %52 to i32
ret i32 %53
}
declare i64 @isxdigit(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplyguf7rt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @isValidMacAddress(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
%5 = load ptr, ptr %2, align 8
%6 = load i8, ptr %5, align 1
%7 = icmp ne i8 %6, 0
br i1 %7, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %1
br label %8
8: ; preds = %.lr.ph, %36
%9 = load ptr, ptr %2, align 8
%10 = load i8, ptr %9, align 1
%11 = call i64 @isxdigit(i8 noundef signext %10)
%12 = icmp ne i64 %11, 0
br i1 %12, label %13, label %16
13: ; preds = %8
%14 = load i32, ptr %3, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %3, align 4
br label %36
16: ; preds = %8
%17 = load ptr, ptr %2, align 8
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = icmp eq i32 %19, 58
br i1 %20, label %21, label %34
21: ; preds = %16
%22 = load i32, ptr %3, align 4
%23 = icmp eq i32 %22, 0
br i1 %23, label %30, label %24
24: ; preds = %21
%25 = load i32, ptr %3, align 4
%26 = sdiv i32 %25, 2
%27 = sub nsw i32 %26, 1
%28 = load i32, ptr %4, align 4
%29 = icmp ne i32 %27, %28
br i1 %29, label %30, label %31
30: ; preds = %24, %21
br label %42
31: ; preds = %24
%32 = load i32, ptr %4, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %4, align 4
br label %35
34: ; preds = %16
store i32 -1, ptr %4, align 4
br label %35
35: ; preds = %34, %31
br label %36
36: ; preds = %35, %13
%37 = load ptr, ptr %2, align 8
%38 = getelementptr inbounds i8, ptr %37, i32 1
store ptr %38, ptr %2, align 8
%39 = load ptr, ptr %2, align 8
%40 = load i8, ptr %39, align 1
%41 = icmp ne i8 %40, 0
br i1 %41, label %8, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %36
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %1
br label %42
42: ; preds = %.loopexit, %30
%43 = load i32, ptr %3, align 4
%44 = icmp eq i32 %43, 12
br i1 %44, label %45, label %53
45: ; preds = %42
%46 = load i32, ptr %4, align 4
%47 = icmp eq i32 %46, 5
br i1 %47, label %51, label %48
48: ; preds = %45
%49 = load i32, ptr %4, align 4
%50 = icmp eq i32 %49, 0
br label %51
51: ; preds = %48, %45
%52 = phi i1 [ true, %45 ], [ %50, %48 ]
br label %53
53: ; preds = %51, %42
%54 = phi i1 [ false, %42 ], [ %52, %51 ]
%55 = zext i1 %54 to i32
ret i32 %55
}
declare i64 @isxdigit(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpamq8c18w.c'
source_filename = "/tmp/tmpamq8c18w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca float, align 4
%2 = alloca float, align 4
store float 0x4425AF1D80000000, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = fpext float %3 to double
%5 = fsub double %4, 2.000000e+20
%6 = fptrunc double %5 to float
store float %6, ptr %1, align 4
%7 = load float, ptr %1, align 4
%8 = call i32 @printf(ptr noundef @.str, float noundef %7)
%9 = call i32 (...) @getchar()
ret i32 0
}
declare i32 @printf(ptr noundef, float noundef) #1
declare i32 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpamq8c18w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca float, align 4
%2 = alloca float, align 4
store float 0x4425AF1D80000000, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = fpext float %3 to double
%5 = fsub double %4, 2.000000e+20
%6 = fptrunc double %5 to float
store float %6, ptr %1, align 4
%7 = load float, ptr %1, align 4
%8 = call i32 @printf(ptr noundef @.str, float noundef %7)
%9 = call i32 (...) @getchar()
ret i32 0
}
declare i32 @printf(ptr noundef, float noundef) #1
declare i32 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwhup7yer.c'
source_filename = "/tmp/tmpwhup7yer.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"La suma es: %d \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @sumar(i32 noundef 5, i32 noundef 3)
store i32 %3, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
ret i32 0
}
declare i32 @sumar(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwhup7yer.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"La suma es: %d \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @sumar(i32 noundef 5, i32 noundef 3)
store i32 %3, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
ret i32 0
}
declare i32 @sumar(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcdhedezr.c'
source_filename = "/tmp/tmpcdhedezr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i32 }
%struct.timezone = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @tsrand() #0 {
%1 = alloca %struct.timeval, align 4
%2 = alloca %struct.timezone, align 4
%3 = call i32 @gettimeofday(ptr noundef %1, ptr noundef %2)
%4 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0
%5 = load i32, ptr %4, align 4
%6 = call i32 @srrand(i32 noundef %5)
ret void
}
declare i32 @gettimeofday(ptr noundef, ptr noundef) #1
declare i32 @srrand(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcdhedezr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i32 }
%struct.timezone = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @tsrand() #0 {
%1 = alloca %struct.timeval, align 4
%2 = alloca %struct.timezone, align 4
%3 = call i32 @gettimeofday(ptr noundef %1, ptr noundef %2)
%4 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0
%5 = load i32, ptr %4, align 4
%6 = call i32 @srrand(i32 noundef %5)
ret void
}
declare i32 @gettimeofday(ptr noundef, ptr noundef) #1
declare i32 @srrand(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpktubxhgn.c'
source_filename = "/tmp/tmpktubxhgn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [11 x i8] c"\1B[1;1H\1B[2J\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_cls() #0 {
%1 = call i32 (...) @t_setdefault()
%2 = load i32, ptr @stdout, align 4
%3 = call i32 @fprintf(i32 noundef %2, ptr noundef @.str)
ret void
}
declare i32 @t_setdefault(...) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpktubxhgn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [11 x i8] c"\1B[1;1H\1B[2J\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_cls() #0 {
%1 = call i32 (...) @t_setdefault()
%2 = load i32, ptr @stdout, align 4
%3 = call i32 @fprintf(i32 noundef %2, ptr noundef @.str)
ret void
}
declare i32 @t_setdefault(...) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-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, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.