llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmpwvz1mwf9.c'
source_filename = "/tmp/tmpwvz1mwf9.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 @uiplib_ipaddrconv(ptr noundef %0, i32 noundef %1, ptr 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
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i8, align 1
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i8 0, ptr %12, align 1
store i32 0, ptr %8, align 4
store i32 -1, ptr %10, align 4
%13 = load ptr, ptr %5, align 8
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp eq i32 %15, 91
br i1 %16, label %17, label %20
17: ; preds = %3
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds i8, ptr %18, i32 1
store ptr %19, ptr %5, align 8
br label %20
20: ; preds = %17, %3
store i32 0, ptr %11, align 4
br label %21
21: ; preds = %136, %20
%22 = load i32, ptr %11, align 4
%23 = load i32, ptr %6, align 4
%24 = sub nsw i32 %23, 1
%25 = icmp ult i32 %22, %24
br i1 %25, label %26, label %139
26: ; preds = %21
%27 = load ptr, ptr %5, align 8
%28 = load i8, ptr %27, align 1
store i8 %28, ptr %12, align 1
%29 = load i8, ptr %12, align 1
%30 = sext i8 %29 to i32
%31 = icmp eq i32 %30, 58
br i1 %31, label %44, label %32
32: ; preds = %26
%33 = load i8, ptr %12, align 1
%34 = sext i8 %33 to i32
%35 = icmp eq i32 %34, 0
br i1 %35, label %44, label %36
36: ; preds = %32
%37 = load i8, ptr %12, align 1
%38 = sext i8 %37 to i32
%39 = icmp eq i32 %38, 93
br i1 %39, label %44, label %40
40: ; preds = %36
%41 = load i8, ptr %12, align 1
%42 = sext i8 %41 to i32
%43 = icmp eq i32 %42, 47
br i1 %43, label %44, label %88
44: ; preds = %40, %36, %32, %26
%45 = load i32, ptr %8, align 4
%46 = ashr i32 %45, 8
%47 = and i32 %46, 255
%48 = load ptr, ptr %7, align 8
%49 = load i32, ptr %11, align 4
%50 = zext i32 %49 to i64
%51 = getelementptr inbounds i32, ptr %48, i64 %50
store i32 %47, ptr %51, align 4
%52 = load i32, ptr %8, align 4
%53 = and i32 %52, 255
%54 = load ptr, ptr %7, align 8
%55 = load i32, ptr %11, align 4
%56 = add i32 %55, 1
%57 = zext i32 %56 to i64
%58 = getelementptr inbounds i32, ptr %54, i64 %57
store i32 %53, ptr %58, align 4
%59 = load i32, ptr %11, align 4
%60 = add i32 %59, 2
store i32 %60, ptr %11, align 4
store i32 0, ptr %8, align 4
%61 = load i8, ptr %12, align 1
%62 = sext i8 %61 to i32
%63 = icmp eq i32 %62, 0
br i1 %63, label %72, label %64
64: ; preds = %44
%65 = load i8, ptr %12, align 1
%66 = sext i8 %65 to i32
%67 = icmp eq i32 %66, 93
br i1 %67, label %72, label %68
68: ; preds = %64
%69 = load i8, ptr %12, align 1
%70 = sext i8 %69 to i32
%71 = icmp eq i32 %70, 47
br i1 %71, label %72, label %73
72: ; preds = %68, %64, %44
br label %139
73: ; preds = %68
%74 = load ptr, ptr %5, align 8
%75 = getelementptr inbounds i8, ptr %74, i64 1
%76 = load i8, ptr %75, align 1
%77 = sext i8 %76 to i32
%78 = icmp eq i32 %77, 58
br i1 %78, label %79, label %87
79: ; preds = %73
%80 = load i32, ptr %10, align 4
%81 = icmp slt i32 %80, 0
br i1 %81, label %82, label %84
82: ; preds = %79
%83 = load i32, ptr %11, align 4
store i32 %83, ptr %10, align 4
br label %84
84: ; preds = %82, %79
%85 = load ptr, ptr %5, align 8
%86 = getelementptr inbounds i8, ptr %85, i32 1
store ptr %86, ptr %5, align 8
br label %87
87: ; preds = %84, %73
br label %135
88: ; preds = %40
%89 = load i8, ptr %12, align 1
%90 = sext i8 %89 to i32
%91 = icmp sge i32 %90, 48
br i1 %91, label %92, label %100
92: ; preds = %88
%93 = load i8, ptr %12, align 1
%94 = sext i8 %93 to i32
%95 = icmp sle i32 %94, 57
br i1 %95, label %96, label %100
96: ; preds = %92
%97 = load i8, ptr %12, align 1
%98 = sext i8 %97 to i32
%99 = sub nsw i32 %98, 48
store i32 %99, ptr %9, align 4
br label %129
100: ; preds = %92, %88
%101 = load i8, ptr %12, align 1
%102 = sext i8 %101 to i32
%103 = icmp sge i32 %102, 97
br i1 %103, label %104, label %113
104: ; preds = %100
%105 = load i8, ptr %12, align 1
%106 = sext i8 %105 to i32
%107 = icmp sle i32 %106, 102
br i1 %107, label %108, label %113
108: ; preds = %104
%109 = load i8, ptr %12, align 1
%110 = sext i8 %109 to i32
%111 = sub nsw i32 %110, 97
%112 = add nsw i32 %111, 10
store i32 %112, ptr %9, align 4
br label %128
113: ; preds = %104, %100
%114 = load i8, ptr %12, align 1
%115 = sext i8 %114 to i32
%116 = icmp sge i32 %115, 65
br i1 %116, label %117, label %126
117: ; preds = %113
%118 = load i8, ptr %12, align 1
%119 = sext i8 %118 to i32
%120 = icmp sle i32 %119, 70
br i1 %120, label %121, label %126
121: ; preds = %117
%122 = load i8, ptr %12, align 1
%123 = sext i8 %122 to i32
%124 = sub nsw i32 %123, 65
%125 = add nsw i32 %124, 10
store i32 %125, ptr %9, align 4
br label %127
126: ; preds = %117, %113
store i32 0, ptr %4, align 4
br label %186
127: ; preds = %121
br label %128
128: ; preds = %127, %108
br label %129
129: ; preds = %128, %96
%130 = load i32, ptr %8, align 4
%131 = shl i32 %130, 4
%132 = load i32, ptr %9, align 4
%133 = and i32 %132, 15
%134 = add nsw i32 %131, %133
store i32 %134, ptr %8, align 4
br label %135
135: ; preds = %129, %87
br label %136
136: ; preds = %135
%137 = load ptr, ptr %5, align 8
%138 = getelementptr inbounds i8, ptr %137, i32 1
store ptr %138, ptr %5, align 8
br label %21, !llvm.loop !6
139: ; preds = %72, %21
%140 = load i8, ptr %12, align 1
%141 = sext i8 %140 to i32
%142 = icmp ne i32 %141, 0
br i1 %142, label %143, label %152
143: ; preds = %139
%144 = load i8, ptr %12, align 1
%145 = sext i8 %144 to i32
%146 = icmp ne i32 %145, 93
br i1 %146, label %147, label %152
147: ; preds = %143
%148 = load i8, ptr %12, align 1
%149 = sext i8 %148 to i32
%150 = icmp ne i32 %149, 47
br i1 %150, label %151, label %152
151: ; preds = %147
store i32 0, ptr %4, align 4
br label %186
152: ; preds = %147, %143, %139
%153 = load i32, ptr %11, align 4
%154 = load i32, ptr %6, align 4
%155 = icmp ult i32 %153, %154
br i1 %155, label %156, label %185
156: ; preds = %152
%157 = load i32, ptr %10, align 4
%158 = icmp slt i32 %157, 0
br i1 %158, label %159, label %160
159: ; preds = %156
store i32 0, ptr %4, align 4
br label %186
160: ; preds = %156
%161 = load ptr, ptr %7, align 8
%162 = load i32, ptr %10, align 4
%163 = load i32, ptr %6, align 4
%164 = add nsw i32 %162, %163
%165 = load i32, ptr %11, align 4
%166 = sub i32 %164, %165
%167 = zext i32 %166 to i64
%168 = getelementptr inbounds i32, ptr %161, i64 %167
%169 = load ptr, ptr %7, align 8
%170 = load i32, ptr %10, align 4
%171 = sext i32 %170 to i64
%172 = getelementptr inbounds i32, ptr %169, i64 %171
%173 = load i32, ptr %11, align 4
%174 = load i32, ptr %10, align 4
%175 = sub i32 %173, %174
%176 = call i32 @memmove(ptr noundef %168, ptr noundef %172, i32 noundef %175)
%177 = load ptr, ptr %7, align 8
%178 = load i32, ptr %10, align 4
%179 = sext i32 %178 to i64
%180 = getelementptr inbounds i32, ptr %177, i64 %179
%181 = load i32, ptr %6, align 4
%182 = load i32, ptr %11, align 4
%183 = sub i32 %181, %182
%184 = call i32 @memset(ptr noundef %180, i32 noundef 0, i32 noundef %183)
br label %185
185: ; preds = %160, %152
store i32 1, ptr %4, align 4
br label %186
186: ; preds = %185, %159, %151, %126
%187 = load i32, ptr %4, align 4
ret i32 %187
}
declare i32 @memmove(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @memset(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwvz1mwf9.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 @uiplib_ipaddrconv(ptr noundef %0, i32 noundef %1, ptr 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
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i8, align 1
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i8 0, ptr %12, align 1
store i32 0, ptr %8, align 4
store i32 -1, ptr %10, align 4
%13 = load ptr, ptr %5, align 8
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp eq i32 %15, 91
br i1 %16, label %17, label %20
17: ; preds = %3
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds i8, ptr %18, i32 1
store ptr %19, ptr %5, align 8
br label %20
20: ; preds = %17, %3
store i32 0, ptr %11, align 4
%21 = load i32, ptr %11, align 4
%22 = load i32, ptr %6, align 4
%23 = sub nsw i32 %22, 1
%24 = icmp ult i32 %21, %23
br i1 %24, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %20
br label %25
25: ; preds = %.lr.ph, %135
%26 = load ptr, ptr %5, align 8
%27 = load i8, ptr %26, align 1
store i8 %27, ptr %12, align 1
%28 = load i8, ptr %12, align 1
%29 = sext i8 %28 to i32
%30 = icmp eq i32 %29, 58
br i1 %30, label %43, label %31
31: ; preds = %25
%32 = load i8, ptr %12, align 1
%33 = sext i8 %32 to i32
%34 = icmp eq i32 %33, 0
br i1 %34, label %43, label %35
35: ; preds = %31
%36 = load i8, ptr %12, align 1
%37 = sext i8 %36 to i32
%38 = icmp eq i32 %37, 93
br i1 %38, label %43, label %39
39: ; preds = %35
%40 = load i8, ptr %12, align 1
%41 = sext i8 %40 to i32
%42 = icmp eq i32 %41, 47
br i1 %42, label %43, label %87
43: ; preds = %39, %35, %31, %25
%44 = load i32, ptr %8, align 4
%45 = ashr i32 %44, 8
%46 = and i32 %45, 255
%47 = load ptr, ptr %7, align 8
%48 = load i32, ptr %11, align 4
%49 = zext i32 %48 to i64
%50 = getelementptr inbounds i32, ptr %47, i64 %49
store i32 %46, ptr %50, align 4
%51 = load i32, ptr %8, align 4
%52 = and i32 %51, 255
%53 = load ptr, ptr %7, align 8
%54 = load i32, ptr %11, align 4
%55 = add i32 %54, 1
%56 = zext i32 %55 to i64
%57 = getelementptr inbounds i32, ptr %53, i64 %56
store i32 %52, ptr %57, align 4
%58 = load i32, ptr %11, align 4
%59 = add i32 %58, 2
store i32 %59, ptr %11, align 4
store i32 0, ptr %8, align 4
%60 = load i8, ptr %12, align 1
%61 = sext i8 %60 to i32
%62 = icmp eq i32 %61, 0
br i1 %62, label %71, label %63
63: ; preds = %43
%64 = load i8, ptr %12, align 1
%65 = sext i8 %64 to i32
%66 = icmp eq i32 %65, 93
br i1 %66, label %71, label %67
67: ; preds = %63
%68 = load i8, ptr %12, align 1
%69 = sext i8 %68 to i32
%70 = icmp eq i32 %69, 47
br i1 %70, label %71, label %72
71: ; preds = %67, %63, %43
br label %142
72: ; preds = %67
%73 = load ptr, ptr %5, align 8
%74 = getelementptr inbounds i8, ptr %73, i64 1
%75 = load i8, ptr %74, align 1
%76 = sext i8 %75 to i32
%77 = icmp eq i32 %76, 58
br i1 %77, label %78, label %86
78: ; preds = %72
%79 = load i32, ptr %10, align 4
%80 = icmp slt i32 %79, 0
br i1 %80, label %81, label %83
81: ; preds = %78
%82 = load i32, ptr %11, align 4
store i32 %82, ptr %10, align 4
br label %83
83: ; preds = %81, %78
%84 = load ptr, ptr %5, align 8
%85 = getelementptr inbounds i8, ptr %84, i32 1
store ptr %85, ptr %5, align 8
br label %86
86: ; preds = %83, %72
br label %134
87: ; preds = %39
%88 = load i8, ptr %12, align 1
%89 = sext i8 %88 to i32
%90 = icmp sge i32 %89, 48
br i1 %90, label %91, label %99
91: ; preds = %87
%92 = load i8, ptr %12, align 1
%93 = sext i8 %92 to i32
%94 = icmp sle i32 %93, 57
br i1 %94, label %95, label %99
95: ; preds = %91
%96 = load i8, ptr %12, align 1
%97 = sext i8 %96 to i32
%98 = sub nsw i32 %97, 48
store i32 %98, ptr %9, align 4
br label %128
99: ; preds = %91, %87
%100 = load i8, ptr %12, align 1
%101 = sext i8 %100 to i32
%102 = icmp sge i32 %101, 97
br i1 %102, label %103, label %112
103: ; preds = %99
%104 = load i8, ptr %12, align 1
%105 = sext i8 %104 to i32
%106 = icmp sle i32 %105, 102
br i1 %106, label %107, label %112
107: ; preds = %103
%108 = load i8, ptr %12, align 1
%109 = sext i8 %108 to i32
%110 = sub nsw i32 %109, 97
%111 = add nsw i32 %110, 10
store i32 %111, ptr %9, align 4
br label %127
112: ; preds = %103, %99
%113 = load i8, ptr %12, align 1
%114 = sext i8 %113 to i32
%115 = icmp sge i32 %114, 65
br i1 %115, label %116, label %125
116: ; preds = %112
%117 = load i8, ptr %12, align 1
%118 = sext i8 %117 to i32
%119 = icmp sle i32 %118, 70
br i1 %119, label %120, label %125
120: ; preds = %116
%121 = load i8, ptr %12, align 1
%122 = sext i8 %121 to i32
%123 = sub nsw i32 %122, 65
%124 = add nsw i32 %123, 10
store i32 %124, ptr %9, align 4
br label %126
125: ; preds = %116, %112
store i32 0, ptr %4, align 4
br label %189
126: ; preds = %120
br label %127
127: ; preds = %126, %107
br label %128
128: ; preds = %127, %95
%129 = load i32, ptr %8, align 4
%130 = shl i32 %129, 4
%131 = load i32, ptr %9, align 4
%132 = and i32 %131, 15
%133 = add nsw i32 %130, %132
store i32 %133, ptr %8, align 4
br label %134
134: ; preds = %128, %86
br label %135
135: ; preds = %134
%136 = load ptr, ptr %5, align 8
%137 = getelementptr inbounds i8, ptr %136, i32 1
store ptr %137, ptr %5, align 8
%138 = load i32, ptr %11, align 4
%139 = load i32, ptr %6, align 4
%140 = sub nsw i32 %139, 1
%141 = icmp ult i32 %138, %140
br i1 %141, label %25, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %135
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %20
br label %142
142: ; preds = %.loopexit, %71
%143 = load i8, ptr %12, align 1
%144 = sext i8 %143 to i32
%145 = icmp ne i32 %144, 0
br i1 %145, label %146, label %155
146: ; preds = %142
%147 = load i8, ptr %12, align 1
%148 = sext i8 %147 to i32
%149 = icmp ne i32 %148, 93
br i1 %149, label %150, label %155
150: ; preds = %146
%151 = load i8, ptr %12, align 1
%152 = sext i8 %151 to i32
%153 = icmp ne i32 %152, 47
br i1 %153, label %154, label %155
154: ; preds = %150
store i32 0, ptr %4, align 4
br label %189
155: ; preds = %150, %146, %142
%156 = load i32, ptr %11, align 4
%157 = load i32, ptr %6, align 4
%158 = icmp ult i32 %156, %157
br i1 %158, label %159, label %188
159: ; preds = %155
%160 = load i32, ptr %10, align 4
%161 = icmp slt i32 %160, 0
br i1 %161, label %162, label %163
162: ; preds = %159
store i32 0, ptr %4, align 4
br label %189
163: ; preds = %159
%164 = load ptr, ptr %7, align 8
%165 = load i32, ptr %10, align 4
%166 = load i32, ptr %6, align 4
%167 = add nsw i32 %165, %166
%168 = load i32, ptr %11, align 4
%169 = sub i32 %167, %168
%170 = zext i32 %169 to i64
%171 = getelementptr inbounds i32, ptr %164, i64 %170
%172 = load ptr, ptr %7, align 8
%173 = load i32, ptr %10, align 4
%174 = sext i32 %173 to i64
%175 = getelementptr inbounds i32, ptr %172, i64 %174
%176 = load i32, ptr %11, align 4
%177 = load i32, ptr %10, align 4
%178 = sub i32 %176, %177
%179 = call i32 @memmove(ptr noundef %171, ptr noundef %175, i32 noundef %178)
%180 = load ptr, ptr %7, align 8
%181 = load i32, ptr %10, align 4
%182 = sext i32 %181 to i64
%183 = getelementptr inbounds i32, ptr %180, i64 %182
%184 = load i32, ptr %6, align 4
%185 = load i32, ptr %11, align 4
%186 = sub i32 %184, %185
%187 = call i32 @memset(ptr noundef %183, i32 noundef 0, i32 noundef %186)
br label %188
188: ; preds = %163, %155
store i32 1, ptr %4, align 4
br label %189
189: ; preds = %188, %162, %154, %125
%190 = load i32, ptr %4, align 4
ret i32 %190
}
declare i32 @memmove(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @memset(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp5ctg1h1y.c'
source_filename = "/tmp/tmp5ctg1h1y.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.dirent = type { ptr }
@PATH_MAX = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [21 x i8] c"/sys/bus/usb/devices\00", align 1
@.str.1 = private unnamed_addr constant [31 x i8] c"/sys/bus/usb/devices/%s/driver\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"usbhid\00", align 1
@.str.3 = private unnamed_addr constant [38 x i8] c"/sys/bus/usb/devices/%s/power/control\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"auto\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @activate_usb_autosuspend() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = load i32, ptr @PATH_MAX, align 4
%10 = zext i32 %9 to i64
%11 = call ptr @llvm.stacksave()
store ptr %11, ptr %4, align 8
%12 = alloca i8, i64 %10, align 16
store i64 %10, ptr %5, align 8
%13 = load i32, ptr @PATH_MAX, align 4
%14 = zext i32 %13 to i64
%15 = alloca i8, i64 %14, align 16
store i64 %14, ptr %7, align 8
%16 = call ptr @opendir(ptr noundef @.str)
store ptr %16, ptr %1, align 8
%17 = load ptr, ptr %1, align 8
%18 = icmp ne ptr %17, null
br i1 %18, label %20, label %19
19: ; preds = %0
store i32 1, ptr %8, align 4
br label %62
20: ; preds = %0
br label %21
21: ; preds = %54, %53, %44, %33, %20
%22 = load ptr, ptr %1, align 8
%23 = call ptr @readdir(ptr noundef %22)
store ptr %23, ptr %2, align 8
%24 = icmp ne ptr %23, null
br i1 %24, label %25, label %59
25: ; preds = %21
%26 = load ptr, ptr %2, align 8
%27 = getelementptr inbounds %struct.dirent, ptr %26, i32 0, i32 0
%28 = load ptr, ptr %27, align 8
%29 = getelementptr inbounds i8, ptr %28, i64 0
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp eq i32 %31, 46
br i1 %32, label %33, label %34
33: ; preds = %25
br label %21, !llvm.loop !6
34: ; preds = %25
%35 = load ptr, ptr %2, align 8
%36 = getelementptr inbounds %struct.dirent, ptr %35, i32 0, i32 0
%37 = load ptr, ptr %36, align 8
%38 = call i32 @sprintf(ptr noundef %12, ptr noundef @.str.1, ptr noundef %37)
%39 = trunc i64 %14 to i32
%40 = call i32 @memset(ptr noundef %15, i32 noundef 0, i32 noundef %39)
%41 = call i32 @readlink(ptr noundef %12, ptr noundef %15, i32 noundef 3)
store i32 %41, ptr %6, align 4
%42 = call i64 @strstr(ptr noundef %15, ptr noundef @.str.2)
%43 = icmp ne i64 %42, 0
br i1 %43, label %44, label %45
44: ; preds = %34
br label %21, !llvm.loop !6
45: ; preds = %34
%46 = load ptr, ptr %2, align 8
%47 = getelementptr inbounds %struct.dirent, ptr %46, i32 0, i32 0
%48 = load ptr, ptr %47, align 8
%49 = call i32 @sprintf(ptr noundef %12, ptr noundef @.str.3, ptr noundef %48)
%50 = call ptr @fopen(ptr noundef %12, ptr noundef @.str.4)
store ptr %50, ptr %3, align 8
%51 = load ptr, ptr %3, align 8
%52 = icmp ne ptr %51, null
br i1 %52, label %54, label %53
53: ; preds = %45
br label %21, !llvm.loop !6
54: ; preds = %45
%55 = load ptr, ptr %3, align 8
%56 = call i32 @fprintf(ptr noundef %55, ptr noundef @.str.5)
%57 = load ptr, ptr %3, align 8
%58 = call i32 @fclose(ptr noundef %57)
br label %21, !llvm.loop !6
59: ; preds = %21
%60 = load ptr, ptr %1, align 8
%61 = call i32 @closedir(ptr noundef %60)
store i32 0, ptr %8, align 4
br label %62
62: ; preds = %59, %19
%63 = load ptr, ptr %4, align 8
call void @llvm.stackrestore(ptr %63)
%64 = load i32, ptr %8, align 4
switch i32 %64, label %66 [
i32 0, label %65
i32 1, label %65
]
65: ; preds = %62, %62
ret void
66: ; preds = %62
unreachable
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare ptr @opendir(ptr noundef) #2
declare ptr @readdir(ptr noundef) #2
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @readlink(ptr noundef, ptr noundef, i32 noundef) #2
declare i64 @strstr(ptr noundef, ptr noundef) #2
declare ptr @fopen(ptr noundef, ptr noundef) #2
declare i32 @fprintf(ptr noundef, ptr noundef) #2
declare i32 @fclose(ptr noundef) #2
declare i32 @closedir(ptr 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" }
!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/tmp5ctg1h1y.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.dirent = type { ptr }
@PATH_MAX = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [21 x i8] c"/sys/bus/usb/devices\00", align 1
@.str.1 = private unnamed_addr constant [31 x i8] c"/sys/bus/usb/devices/%s/driver\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"usbhid\00", align 1
@.str.3 = private unnamed_addr constant [38 x i8] c"/sys/bus/usb/devices/%s/power/control\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"auto\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @activate_usb_autosuspend() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = load i32, ptr @PATH_MAX, align 4
%10 = zext i32 %9 to i64
%11 = call ptr @llvm.stacksave()
store ptr %11, ptr %4, align 8
%12 = alloca i8, i64 %10, align 16
store i64 %10, ptr %5, align 8
%13 = load i32, ptr @PATH_MAX, align 4
%14 = zext i32 %13 to i64
%15 = alloca i8, i64 %14, align 16
store i64 %14, ptr %7, align 8
%16 = call ptr @opendir(ptr noundef @.str)
store ptr %16, ptr %1, align 8
%17 = load ptr, ptr %1, align 8
%18 = icmp ne ptr %17, null
br i1 %18, label %20, label %19
19: ; preds = %0
store i32 1, ptr %8, align 4
br label %64
20: ; preds = %0
%21 = load ptr, ptr %1, align 8
%22 = call ptr @readdir(ptr noundef %21)
store ptr %22, ptr %2, align 8
%23 = icmp ne ptr %22, null
br i1 %23, label %.lr.ph, label %61
.lr.ph: ; preds = %20
br label %24
24: ; preds = %.lr.ph, %.backedge
%25 = load ptr, ptr %2, align 8
%26 = getelementptr inbounds %struct.dirent, ptr %25, i32 0, i32 0
%27 = load ptr, ptr %26, align 8
%28 = getelementptr inbounds i8, ptr %27, i64 0
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp eq i32 %30, 46
br i1 %31, label %32, label %36
32: ; preds = %24
br label %.backedge
.backedge: ; preds = %32, %46, %55, %56
%33 = load ptr, ptr %1, align 8
%34 = call ptr @readdir(ptr noundef %33)
store ptr %34, ptr %2, align 8
%35 = icmp ne ptr %34, null
br i1 %35, label %24, label %._crit_edge, !llvm.loop !6
36: ; preds = %24
%37 = load ptr, ptr %2, align 8
%38 = getelementptr inbounds %struct.dirent, ptr %37, i32 0, i32 0
%39 = load ptr, ptr %38, align 8
%40 = call i32 @sprintf(ptr noundef %12, ptr noundef @.str.1, ptr noundef %39)
%41 = trunc i64 %14 to i32
%42 = call i32 @memset(ptr noundef %15, i32 noundef 0, i32 noundef %41)
%43 = call i32 @readlink(ptr noundef %12, ptr noundef %15, i32 noundef 3)
store i32 %43, ptr %6, align 4
%44 = call i64 @strstr(ptr noundef %15, ptr noundef @.str.2)
%45 = icmp ne i64 %44, 0
br i1 %45, label %46, label %47
46: ; preds = %36
br label %.backedge
47: ; preds = %36
%48 = load ptr, ptr %2, align 8
%49 = getelementptr inbounds %struct.dirent, ptr %48, i32 0, i32 0
%50 = load ptr, ptr %49, align 8
%51 = call i32 @sprintf(ptr noundef %12, ptr noundef @.str.3, ptr noundef %50)
%52 = call ptr @fopen(ptr noundef %12, ptr noundef @.str.4)
store ptr %52, ptr %3, align 8
%53 = load ptr, ptr %3, align 8
%54 = icmp ne ptr %53, null
br i1 %54, label %56, label %55
55: ; preds = %47
br label %.backedge
56: ; preds = %47
%57 = load ptr, ptr %3, align 8
%58 = call i32 @fprintf(ptr noundef %57, ptr noundef @.str.5)
%59 = load ptr, ptr %3, align 8
%60 = call i32 @fclose(ptr noundef %59)
br label %.backedge
._crit_edge: ; preds = %.backedge
br label %61
61: ; preds = %._crit_edge, %20
%62 = load ptr, ptr %1, align 8
%63 = call i32 @closedir(ptr noundef %62)
store i32 0, ptr %8, align 4
br label %64
64: ; preds = %61, %19
%65 = load ptr, ptr %4, align 8
call void @llvm.stackrestore(ptr %65)
%66 = load i32, ptr %8, align 4
switch i32 %66, label %68 [
i32 0, label %67
i32 1, label %67
]
67: ; preds = %64, %64
ret void
68: ; preds = %64
unreachable
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare ptr @opendir(ptr noundef) #2
declare ptr @readdir(ptr noundef) #2
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @readlink(ptr noundef, ptr noundef, i32 noundef) #2
declare i64 @strstr(ptr noundef, ptr noundef) #2
declare ptr @fopen(ptr noundef, ptr noundef) #2
declare i32 @fprintf(ptr noundef, ptr noundef) #2
declare i32 @fclose(ptr noundef) #2
declare i32 @closedir(ptr 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" }
!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_r1ygiz1.c'
source_filename = "/tmp/tmp_r1ygiz1.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_r1ygiz1.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/tmpi2d88r84.c'
source_filename = "/tmp/tmpi2d88r84.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 [9 x i8] c"/put_old\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%s%s\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [10 x i8] c"errno=%d\0A\00", align 1
@errno = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [31 x i8] c"failed pivot_root(%s, %s): %s\0A\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"/\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @do_pivot(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i64 @strlen(ptr noundef %5)
%7 = call i64 @strlen(ptr noundef @.str)
%8 = add nsw i64 %6, %7
%9 = add nsw i64 %8, 2
%10 = call ptr @malloc(i64 noundef %9)
store ptr %10, ptr %4, align 8
%11 = load ptr, ptr %4, align 8
%12 = load ptr, ptr %3, align 8
%13 = call i32 @sprintf(ptr noundef %11, ptr noundef @.str.1, ptr noundef %12, ptr noundef @.str)
%14 = load ptr, ptr %3, align 8
%15 = call i32 @chdir(ptr noundef %14)
%16 = load ptr, ptr %3, align 8
%17 = load ptr, ptr %4, align 8
%18 = call i64 @pivot_root(ptr noundef %16, ptr noundef %17)
%19 = icmp ne i64 %18, 0
br i1 %19, label %20, label %31
20: ; preds = %1
%21 = load i32, ptr @stderr, align 4
%22 = load i32, ptr @errno, align 4
%23 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %21, ptr noundef @.str.2, i32 noundef %22)
%24 = load i32, ptr @stderr, align 4
%25 = load ptr, ptr %3, align 8
%26 = load ptr, ptr %4, align 8
%27 = load i32, ptr @errno, align 4
%28 = call ptr @strerror(i32 noundef %27)
%29 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %24, ptr noundef @.str.3, ptr noundef %25, ptr noundef %26, ptr noundef %28)
%30 = load i32, ptr @errno, align 4
store i32 %30, ptr %2, align 4
br label %33
31: ; preds = %1
%32 = call i32 @chdir(ptr noundef @.str.4)
store i32 0, ptr %2, align 4
br label %33
33: ; preds = %31, %20
%34 = load i32, ptr %2, align 4
ret i32 %34
}
declare ptr @malloc(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @chdir(ptr noundef) #1
declare i64 @pivot_root(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr 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" }
!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/tmpi2d88r84.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 [9 x i8] c"/put_old\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%s%s\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [10 x i8] c"errno=%d\0A\00", align 1
@errno = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [31 x i8] c"failed pivot_root(%s, %s): %s\0A\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"/\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @do_pivot(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i64 @strlen(ptr noundef %5)
%7 = call i64 @strlen(ptr noundef @.str)
%8 = add nsw i64 %6, %7
%9 = add nsw i64 %8, 2
%10 = call ptr @malloc(i64 noundef %9)
store ptr %10, ptr %4, align 8
%11 = load ptr, ptr %4, align 8
%12 = load ptr, ptr %3, align 8
%13 = call i32 @sprintf(ptr noundef %11, ptr noundef @.str.1, ptr noundef %12, ptr noundef @.str)
%14 = load ptr, ptr %3, align 8
%15 = call i32 @chdir(ptr noundef %14)
%16 = load ptr, ptr %3, align 8
%17 = load ptr, ptr %4, align 8
%18 = call i64 @pivot_root(ptr noundef %16, ptr noundef %17)
%19 = icmp ne i64 %18, 0
br i1 %19, label %20, label %31
20: ; preds = %1
%21 = load i32, ptr @stderr, align 4
%22 = load i32, ptr @errno, align 4
%23 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %21, ptr noundef @.str.2, i32 noundef %22)
%24 = load i32, ptr @stderr, align 4
%25 = load ptr, ptr %3, align 8
%26 = load ptr, ptr %4, align 8
%27 = load i32, ptr @errno, align 4
%28 = call ptr @strerror(i32 noundef %27)
%29 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %24, ptr noundef @.str.3, ptr noundef %25, ptr noundef %26, ptr noundef %28)
%30 = load i32, ptr @errno, align 4
store i32 %30, ptr %2, align 4
br label %33
31: ; preds = %1
%32 = call i32 @chdir(ptr noundef @.str.4)
store i32 0, ptr %2, align 4
br label %33
33: ; preds = %31, %20
%34 = load i32, ptr %2, align 4
ret i32 %34
}
declare ptr @malloc(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @chdir(ptr noundef) #1
declare i64 @pivot_root(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr 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" }
!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/tmp5bn8akog.c'
source_filename = "/tmp/tmp5bn8akog.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 @solcon_clear_dobldobl_solutions() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = load ptr, ptr %1, align 8
%6 = load ptr, ptr %2, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @_ada_use_c2phc4c(i32 noundef 347, ptr noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef 0)
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %3, align 4
ret i32 %9
}
declare i32 @_ada_use_c2phc4c(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/tmp5bn8akog.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 @solcon_clear_dobldobl_solutions() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = load ptr, ptr %1, align 8
%6 = load ptr, ptr %2, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @_ada_use_c2phc4c(i32 noundef 347, ptr noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef 0)
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %3, align 4
ret i32 %9
}
declare i32 @_ada_use_c2phc4c(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/tmpgdf2_uvy.c'
source_filename = "/tmp/tmpgdf2_uvy.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"
@EXIT_SUCCESS = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [6 x i8] c"test1\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"test1... \00", align 1
@stdout = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [9 x i8] c"success\0A\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"failure\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [6 x i8] c"test2\00", align 1
@.str.5 = private unnamed_addr constant [10 x i8] c"test2... \00", align 1
@.str.6 = private unnamed_addr constant [6 x i8] c"test3\00", align 1
@.str.7 = private unnamed_addr constant [10 x i8] c"test3... \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
%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 ptr null, ptr %6, align 8
%8 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %8, ptr %7, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp sgt i32 %9, 1
br i1 %10, label %11, label %15
11: ; preds = %2
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 1
%14 = load ptr, ptr %13, align 8
store ptr %14, ptr %6, align 8
br label %15
15: ; preds = %11, %2
%16 = load ptr, ptr %6, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %18, label %22
18: ; preds = %15
%19 = load ptr, ptr %6, align 8
%20 = call i64 @strcmp(ptr noundef @.str, ptr noundef %19)
%21 = icmp eq i64 %20, 0
br i1 %21, label %22, label %37
22: ; preds = %18, %15
%23 = load i32, ptr @stdout, align 4
%24 = call i32 @fputs(ptr noundef @.str.1, i32 noundef %23)
%25 = load i32, ptr @stdout, align 4
%26 = call i32 @fflush(i32 noundef %25)
%27 = call i64 @test1(i32 noundef 100)
%28 = icmp eq i64 %27, 0
br i1 %28, label %29, label %32
29: ; preds = %22
%30 = load i32, ptr @stdout, align 4
%31 = call i32 @fputs(ptr noundef @.str.2, i32 noundef %30)
br label %36
32: ; preds = %22
%33 = load i32, ptr @stdout, align 4
%34 = call i32 @fputs(ptr noundef @.str.3, i32 noundef %33)
%35 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %35, ptr %7, align 4
br label %36
36: ; preds = %32, %29
br label %37
37: ; preds = %36, %18
%38 = load ptr, ptr %6, align 8
%39 = icmp ne ptr %38, null
br i1 %39, label %40, label %44
40: ; preds = %37
%41 = load ptr, ptr %6, align 8
%42 = call i64 @strcmp(ptr noundef @.str.4, ptr noundef %41)
%43 = icmp eq i64 %42, 0
br i1 %43, label %44, label %59
44: ; preds = %40, %37
%45 = load i32, ptr @stdout, align 4
%46 = call i32 @fputs(ptr noundef @.str.5, i32 noundef %45)
%47 = load i32, ptr @stdout, align 4
%48 = call i32 @fflush(i32 noundef %47)
%49 = call i64 @test2(i32 noundef 100)
%50 = icmp eq i64 %49, 0
br i1 %50, label %51, label %54
51: ; preds = %44
%52 = load i32, ptr @stdout, align 4
%53 = call i32 @fputs(ptr noundef @.str.2, i32 noundef %52)
br label %58
54: ; preds = %44
%55 = load i32, ptr @stdout, align 4
%56 = call i32 @fputs(ptr noundef @.str.3, i32 noundef %55)
%57 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %57, ptr %7, align 4
br label %58
58: ; preds = %54, %51
br label %59
59: ; preds = %58, %40
%60 = load ptr, ptr %6, align 8
%61 = icmp ne ptr %60, null
br i1 %61, label %62, label %66
62: ; preds = %59
%63 = load ptr, ptr %6, align 8
%64 = call i64 @strcmp(ptr noundef @.str.6, ptr noundef %63)
%65 = icmp eq i64 %64, 0
br i1 %65, label %66, label %81
66: ; preds = %62, %59
%67 = load i32, ptr @stdout, align 4
%68 = call i32 @fputs(ptr noundef @.str.7, i32 noundef %67)
%69 = load i32, ptr @stdout, align 4
%70 = call i32 @fflush(i32 noundef %69)
%71 = call i64 @test3(i32 noundef 100)
%72 = icmp eq i64 %71, 0
br i1 %72, label %73, label %76
73: ; preds = %66
%74 = load i32, ptr @stdout, align 4
%75 = call i32 @fputs(ptr noundef @.str.2, i32 noundef %74)
br label %80
76: ; preds = %66
%77 = load i32, ptr @stdout, align 4
%78 = call i32 @fputs(ptr noundef @.str.3, i32 noundef %77)
%79 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %79, ptr %7, align 4
br label %80
80: ; preds = %76, %73
br label %81
81: ; preds = %80, %62
%82 = load i32, ptr %7, align 4
ret i32 %82
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @fputs(ptr noundef, i32 noundef) #1
declare i32 @fflush(i32 noundef) #1
declare i64 @test1(i32 noundef) #1
declare i64 @test2(i32 noundef) #1
declare i64 @test3(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/tmpgdf2_uvy.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"
@EXIT_SUCCESS = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [6 x i8] c"test1\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"test1... \00", align 1
@stdout = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [9 x i8] c"success\0A\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"failure\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [6 x i8] c"test2\00", align 1
@.str.5 = private unnamed_addr constant [10 x i8] c"test2... \00", align 1
@.str.6 = private unnamed_addr constant [6 x i8] c"test3\00", align 1
@.str.7 = private unnamed_addr constant [10 x i8] c"test3... \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
%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 ptr null, ptr %6, align 8
%8 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %8, ptr %7, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp sgt i32 %9, 1
br i1 %10, label %11, label %15
11: ; preds = %2
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 1
%14 = load ptr, ptr %13, align 8
store ptr %14, ptr %6, align 8
br label %15
15: ; preds = %11, %2
%16 = load ptr, ptr %6, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %18, label %22
18: ; preds = %15
%19 = load ptr, ptr %6, align 8
%20 = call i64 @strcmp(ptr noundef @.str, ptr noundef %19)
%21 = icmp eq i64 %20, 0
br i1 %21, label %22, label %37
22: ; preds = %18, %15
%23 = load i32, ptr @stdout, align 4
%24 = call i32 @fputs(ptr noundef @.str.1, i32 noundef %23)
%25 = load i32, ptr @stdout, align 4
%26 = call i32 @fflush(i32 noundef %25)
%27 = call i64 @test1(i32 noundef 100)
%28 = icmp eq i64 %27, 0
br i1 %28, label %29, label %32
29: ; preds = %22
%30 = load i32, ptr @stdout, align 4
%31 = call i32 @fputs(ptr noundef @.str.2, i32 noundef %30)
br label %36
32: ; preds = %22
%33 = load i32, ptr @stdout, align 4
%34 = call i32 @fputs(ptr noundef @.str.3, i32 noundef %33)
%35 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %35, ptr %7, align 4
br label %36
36: ; preds = %32, %29
br label %37
37: ; preds = %36, %18
%38 = load ptr, ptr %6, align 8
%39 = icmp ne ptr %38, null
br i1 %39, label %40, label %44
40: ; preds = %37
%41 = load ptr, ptr %6, align 8
%42 = call i64 @strcmp(ptr noundef @.str.4, ptr noundef %41)
%43 = icmp eq i64 %42, 0
br i1 %43, label %44, label %59
44: ; preds = %40, %37
%45 = load i32, ptr @stdout, align 4
%46 = call i32 @fputs(ptr noundef @.str.5, i32 noundef %45)
%47 = load i32, ptr @stdout, align 4
%48 = call i32 @fflush(i32 noundef %47)
%49 = call i64 @test2(i32 noundef 100)
%50 = icmp eq i64 %49, 0
br i1 %50, label %51, label %54
51: ; preds = %44
%52 = load i32, ptr @stdout, align 4
%53 = call i32 @fputs(ptr noundef @.str.2, i32 noundef %52)
br label %58
54: ; preds = %44
%55 = load i32, ptr @stdout, align 4
%56 = call i32 @fputs(ptr noundef @.str.3, i32 noundef %55)
%57 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %57, ptr %7, align 4
br label %58
58: ; preds = %54, %51
br label %59
59: ; preds = %58, %40
%60 = load ptr, ptr %6, align 8
%61 = icmp ne ptr %60, null
br i1 %61, label %62, label %66
62: ; preds = %59
%63 = load ptr, ptr %6, align 8
%64 = call i64 @strcmp(ptr noundef @.str.6, ptr noundef %63)
%65 = icmp eq i64 %64, 0
br i1 %65, label %66, label %81
66: ; preds = %62, %59
%67 = load i32, ptr @stdout, align 4
%68 = call i32 @fputs(ptr noundef @.str.7, i32 noundef %67)
%69 = load i32, ptr @stdout, align 4
%70 = call i32 @fflush(i32 noundef %69)
%71 = call i64 @test3(i32 noundef 100)
%72 = icmp eq i64 %71, 0
br i1 %72, label %73, label %76
73: ; preds = %66
%74 = load i32, ptr @stdout, align 4
%75 = call i32 @fputs(ptr noundef @.str.2, i32 noundef %74)
br label %80
76: ; preds = %66
%77 = load i32, ptr @stdout, align 4
%78 = call i32 @fputs(ptr noundef @.str.3, i32 noundef %77)
%79 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %79, ptr %7, align 4
br label %80
80: ; preds = %76, %73
br label %81
81: ; preds = %80, %62
%82 = load i32, ptr %7, align 4
ret i32 %82
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @fputs(ptr noundef, i32 noundef) #1
declare i32 @fflush(i32 noundef) #1
declare i64 @test1(i32 noundef) #1
declare i64 @test2(i32 noundef) #1
declare i64 @test3(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/tmp1do6_b4r.c'
source_filename = "/tmp/tmp1do6_b4r.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/tmp1do6_b4r.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/tmpalxo44eg.c'
source_filename = "/tmp/tmpalxo44eg.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/tmpalxo44eg.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/tmpano050h8.c'
source_filename = "/tmp/tmpano050h8.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"
@write_ivector_number_k.filename_k = internal global [256 x i8] zeroinitializer, align 16
@.str = private unnamed_addr constant [11 x i8] c"%s%02d.txt\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @write_ivector_number_k(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store i64 %1, ptr %8, align 8
store i64 %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store i32 %5, ptr %12, align 4
%13 = load ptr, ptr %11, align 8
%14 = load i32, ptr %12, align 4
%15 = call i32 @sprintf(ptr noundef @write_ivector_number_k.filename_k, ptr noundef @.str, ptr noundef %13, i32 noundef %14)
%16 = load ptr, ptr %7, align 8
%17 = load i64, ptr %8, align 8
%18 = load i64, ptr %9, align 8
%19 = load ptr, ptr %10, align 8
%20 = call i32 @write_ivector_number(ptr noundef %16, i64 noundef %17, i64 noundef %18, ptr noundef %19, ptr noundef @write_ivector_number_k.filename_k)
ret void
}
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @write_ivector_number(ptr noundef, i64 noundef, i64 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/tmpano050h8.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"
@write_ivector_number_k.filename_k = internal global [256 x i8] zeroinitializer, align 16
@.str = private unnamed_addr constant [11 x i8] c"%s%02d.txt\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @write_ivector_number_k(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store i64 %1, ptr %8, align 8
store i64 %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store i32 %5, ptr %12, align 4
%13 = load ptr, ptr %11, align 8
%14 = load i32, ptr %12, align 4
%15 = call i32 @sprintf(ptr noundef @write_ivector_number_k.filename_k, ptr noundef @.str, ptr noundef %13, i32 noundef %14)
%16 = load ptr, ptr %7, align 8
%17 = load i64, ptr %8, align 8
%18 = load i64, ptr %9, align 8
%19 = load ptr, ptr %10, align 8
%20 = call i32 @write_ivector_number(ptr noundef %16, i64 noundef %17, i64 noundef %18, ptr noundef %19, ptr noundef @write_ivector_number_k.filename_k)
ret void
}
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @write_ivector_number(ptr noundef, i64 noundef, i64 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/tmpsco19woc.c'
source_filename = "/tmp/tmpsco19woc.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"wyniki.txt\00", align 1
@O_WRONLY = dso_local global i32 0, align 4
@O_APPEND = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [5 x i8] c"done\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"dane.txt\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.6 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.7 = private unnamed_addr constant [9 x i8] c"lockfile\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 [256 x i8], align 16
%7 = alloca [256 x i8], align 16
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i8, align 1
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = 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
call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 256, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 256, i1 false)
%14 = load i32, ptr @O_WRONLY, align 4
%15 = load i32, ptr @O_APPEND, align 4
%16 = or i32 %14, %15
%17 = call i32 @open(ptr noundef @.str, i32 noundef %16)
store i32 %17, ptr %8, align 4
br label %18
18: ; preds = %2, %70
%19 = call i64 (...) @isClientDone()
%20 = icmp ne i64 %19, 0
br i1 %20, label %21, label %70
21: ; preds = %18
%22 = call i32 @remove(ptr noundef @.str.1)
%23 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.3)
store ptr %23, ptr %9, align 8
br label %24
24: ; preds = %29, %21
%25 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%26 = load ptr, ptr %9, align 8
%27 = call ptr @fgets(ptr noundef %25, i32 noundef 256, ptr noundef %26)
%28 = icmp ne ptr %27, null
br i1 %28, label %29, label %32
29: ; preds = %24
%30 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %30)
br label %24, !llvm.loop !6
32: ; preds = %24
%33 = load ptr, ptr %9, align 8
%34 = call i32 @fclose(ptr noundef %33)
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %36
36: ; preds = %48, %32
%37 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%38 = call i32 @gets(ptr noundef %37)
%39 = call signext i8 (...) @getchar()
store i8 %39, ptr %10, align 1
br label %40
40: ; preds = %36
%41 = load i8, ptr %10, align 1
%42 = sext i8 %41 to i32
%43 = icmp ne i32 %42, 27
br i1 %43, label %44, label %48
44: ; preds = %40
%45 = load i8, ptr %10, align 1
%46 = sext i8 %45 to i32
%47 = icmp ne i32 %46, 10
br label %48
48: ; preds = %44, %40
%49 = phi i1 [ false, %40 ], [ %47, %44 ]
br i1 %49, label %36, label %50, !llvm.loop !8
50: ; preds = %48
%51 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.6)
store ptr %51, ptr %11, align 8
%52 = load ptr, ptr %11, align 8
%53 = call i32 @fclose(ptr noundef %52)
%54 = load i32, ptr @O_WRONLY, align 4
%55 = load i32, ptr @O_APPEND, align 4
%56 = or i32 %54, %55
%57 = call i32 @open(ptr noundef @.str, i32 noundef %56)
store i32 %57, ptr %12, align 4
%58 = load i32, ptr %12, align 4
%59 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%60 = call i32 @write(i32 noundef %58, ptr noundef %59, i32 noundef 256)
%61 = load i32, ptr %12, align 4
%62 = call i32 @close(i32 noundef %61)
%63 = call ptr @fopen(ptr noundef @.str.1, ptr noundef @.str.6)
store ptr %63, ptr %13, align 8
%64 = load ptr, ptr %13, align 8
%65 = call i32 @fprintf(ptr noundef %64, ptr noundef @.str.1)
%66 = load ptr, ptr %13, align 8
%67 = call i32 @fclose(ptr noundef %66)
%68 = call i32 @sleep(i32 noundef 10)
%69 = call i32 @remove(ptr noundef @.str.7)
br label %70
70: ; preds = %50, %18
br label %18
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @open(ptr noundef, i32 noundef) #2
declare i64 @isClientDone(...) #2
declare i32 @remove(ptr noundef) #2
declare ptr @fopen(ptr noundef, ptr noundef) #2
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #2
declare i32 @printf(ptr noundef, ...) #2
declare i32 @fclose(ptr noundef) #2
declare i32 @gets(ptr noundef) #2
declare signext i8 @getchar(...) #2
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @close(i32 noundef) #2
declare i32 @fprintf(ptr noundef, ptr noundef) #2
declare i32 @sleep(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" }
!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/tmpsco19woc.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"wyniki.txt\00", align 1
@O_WRONLY = dso_local global i32 0, align 4
@O_APPEND = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [5 x i8] c"done\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"dane.txt\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.6 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.7 = private unnamed_addr constant [9 x i8] c"lockfile\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 [256 x i8], align 16
%7 = alloca [256 x i8], align 16
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i8, align 1
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = 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
call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 256, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 256, i1 false)
%14 = load i32, ptr @O_WRONLY, align 4
%15 = load i32, ptr @O_APPEND, align 4
%16 = or i32 %14, %15
%17 = call i32 @open(ptr noundef @.str, i32 noundef %16)
store i32 %17, ptr %8, align 4
br label %18
18: ; preds = %72, %2
%19 = call i64 (...) @isClientDone()
%20 = icmp ne i64 %19, 0
br i1 %20, label %21, label %72
21: ; preds = %18
%22 = call i32 @remove(ptr noundef @.str.1)
%23 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.3)
store ptr %23, ptr %9, align 8
%24 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%25 = load ptr, ptr %9, align 8
%26 = call ptr @fgets(ptr noundef %24, i32 noundef 256, ptr noundef %25)
%27 = icmp ne ptr %26, null
br i1 %27, label %.lr.ph, label %34
.lr.ph: ; preds = %21
br label %28
28: ; preds = %.lr.ph, %28
%29 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %29)
%31 = load ptr, ptr %9, align 8
%32 = call ptr @fgets(ptr noundef %24, i32 noundef 256, ptr noundef %31)
%33 = icmp ne ptr %32, null
br i1 %33, label %28, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %28
br label %34
34: ; preds = %._crit_edge, %21
%35 = load ptr, ptr %9, align 8
%36 = call i32 @fclose(ptr noundef %35)
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %38
38: ; preds = %50, %34
%39 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%40 = call i32 @gets(ptr noundef %39)
%41 = call signext i8 (...) @getchar()
store i8 %41, ptr %10, align 1
br label %42
42: ; preds = %38
%43 = load i8, ptr %10, align 1
%44 = sext i8 %43 to i32
%45 = icmp ne i32 %44, 27
br i1 %45, label %46, label %50
46: ; preds = %42
%47 = load i8, ptr %10, align 1
%48 = sext i8 %47 to i32
%49 = icmp ne i32 %48, 10
br label %50
50: ; preds = %46, %42
%51 = phi i1 [ false, %42 ], [ %49, %46 ]
br i1 %51, label %38, label %52, !llvm.loop !8
52: ; preds = %50
%53 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.6)
store ptr %53, ptr %11, align 8
%54 = load ptr, ptr %11, align 8
%55 = call i32 @fclose(ptr noundef %54)
%56 = load i32, ptr @O_WRONLY, align 4
%57 = load i32, ptr @O_APPEND, align 4
%58 = or i32 %56, %57
%59 = call i32 @open(ptr noundef @.str, i32 noundef %58)
store i32 %59, ptr %12, align 4
%60 = load i32, ptr %12, align 4
%61 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%62 = call i32 @write(i32 noundef %60, ptr noundef %61, i32 noundef 256)
%63 = load i32, ptr %12, align 4
%64 = call i32 @close(i32 noundef %63)
%65 = call ptr @fopen(ptr noundef @.str.1, ptr noundef @.str.6)
store ptr %65, ptr %13, align 8
%66 = load ptr, ptr %13, align 8
%67 = call i32 @fprintf(ptr noundef %66, ptr noundef @.str.1)
%68 = load ptr, ptr %13, align 8
%69 = call i32 @fclose(ptr noundef %68)
%70 = call i32 @sleep(i32 noundef 10)
%71 = call i32 @remove(ptr noundef @.str.7)
br label %72
72: ; preds = %52, %18
br label %18
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @open(ptr noundef, i32 noundef) #2
declare i64 @isClientDone(...) #2
declare i32 @remove(ptr noundef) #2
declare ptr @fopen(ptr noundef, ptr noundef) #2
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #2
declare i32 @printf(ptr noundef, ...) #2
declare i32 @fclose(ptr noundef) #2
declare i32 @gets(ptr noundef) #2
declare signext i8 @getchar(...) #2
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @close(i32 noundef) #2
declare i32 @fprintf(ptr noundef, ptr noundef) #2
declare i32 @sleep(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" }
!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/tmp2gw94x3k.c'
source_filename = "/tmp/tmp2gw94x3k.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"%s\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 [1000 x i8], align 16
%5 = alloca [1000 x i8], align 16
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
br label %6
6: ; preds = %19, %0
%7 = getelementptr inbounds [1000 x i8], ptr %4, i64 0, i64 0
%8 = call i32 @getline0(ptr noundef %7, i32 noundef 1000)
store i32 %8, ptr %2, align 4
%9 = icmp sgt i32 %8, 0
br i1 %9, label %10, label %20
10: ; preds = %6
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr %3, align 4
%13 = icmp sgt i32 %11, %12
br i1 %13, label %14, label %19
14: ; preds = %10
%15 = load i32, ptr %2, align 4
store i32 %15, ptr %3, align 4
%16 = getelementptr inbounds [1000 x i8], ptr %5, i64 0, i64 0
%17 = getelementptr inbounds [1000 x i8], ptr %4, i64 0, i64 0
%18 = call i32 @copy(ptr noundef %16, ptr noundef %17)
br label %19
19: ; preds = %14, %10
br label %6, !llvm.loop !6
20: ; preds = %6
%21 = load i32, ptr %3, align 4
%22 = icmp sgt i32 %21, 0
br i1 %22, label %23, label %26
23: ; preds = %20
%24 = getelementptr inbounds [1000 x i8], ptr %5, i64 0, i64 0
%25 = call i32 @printf(ptr noundef @.str, ptr noundef %24)
br label %26
26: ; preds = %23, %20
ret i32 0
}
declare i32 @getline0(ptr noundef, i32 noundef) #1
declare i32 @copy(ptr noundef, ptr noundef) #1
declare i32 @printf(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/tmp2gw94x3k.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"%s\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 [1000 x i8], align 16
%5 = alloca [1000 x i8], align 16
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
%6 = getelementptr inbounds [1000 x i8], ptr %4, i64 0, i64 0
%7 = call i32 @getline0(ptr noundef %6, i32 noundef 1000)
store i32 %7, ptr %2, align 4
%8 = icmp sgt i32 %7, 0
br i1 %8, label %.lr.ph, label %21
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %18
%10 = load i32, ptr %2, align 4
%11 = load i32, ptr %3, align 4
%12 = icmp sgt i32 %10, %11
br i1 %12, label %13, label %18
13: ; preds = %9
%14 = load i32, ptr %2, align 4
store i32 %14, ptr %3, align 4
%15 = getelementptr inbounds [1000 x i8], ptr %5, i64 0, i64 0
%16 = getelementptr inbounds [1000 x i8], ptr %4, i64 0, i64 0
%17 = call i32 @copy(ptr noundef %15, ptr noundef %16)
br label %18
18: ; preds = %13, %9
%19 = call i32 @getline0(ptr noundef %6, i32 noundef 1000)
store i32 %19, ptr %2, align 4
%20 = icmp sgt i32 %19, 0
br i1 %20, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %21
21: ; preds = %._crit_edge, %0
%22 = load i32, ptr %3, align 4
%23 = icmp sgt i32 %22, 0
br i1 %23, label %24, label %27
24: ; preds = %21
%25 = getelementptr inbounds [1000 x i8], ptr %5, i64 0, i64 0
%26 = call i32 @printf(ptr noundef @.str, ptr noundef %25)
br label %27
27: ; preds = %24, %21
ret i32 0
}
declare i32 @getline0(ptr noundef, i32 noundef) #1
declare i32 @copy(ptr noundef, ptr noundef) #1
declare i32 @printf(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/tmpkqkjtlud.c'
source_filename = "/tmp/tmpkqkjtlud.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 [25 x i8] c"Unesite broj studenata: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"Neispravan broj studenata\0A\00", align 1
@.str.3 = private unnamed_addr constant [38 x i8] c"Unesite datum rodjenja %d. studenta: \00", align 1
@.str.4 = private unnamed_addr constant [9 x i8] c"%d,%d,%d\00", align 1
@__const.main.niz_godina = private unnamed_addr constant [12 x i32] [i32 31, i32 29, i32 31, i32 30, i32 31, i32 30, i32 31, i32 31, i32 30, i32 31, i32 30, i32 31], align 16
@.str.5 = private unnamed_addr constant [18 x i8] c"Neispravan datum\0A\00", align 1
@__const.main.niz_godina.6 = private unnamed_addr constant [12 x i32] [i32 31, i32 28, i32 31, i32 30, i32 31, i32 30, i32 31, i32 31, i32 30, i32 31, i32 30, i32 31], align 16
@__const.main.niz_godina.7 = private unnamed_addr constant [12 x i32] [i32 31, i32 29, i32 31, i32 30, i32 31, i32 30, i32 31, i32 31, i32 30, i32 31, i32 30, i32 31], align 16
@.str.8 = private unnamed_addr constant [57 x i8] c"Student %d. je rodjen tacno 100 dana prije studenta %d.\0A\00", align 1
@__const.main.niz_godina.9 = private unnamed_addr constant [12 x i32] [i32 31, i32 28, i32 31, i32 30, i32 31, i32 30, i32 31, i32 31, i32 30, i32 31, i32 30, i32 31], align 16
; 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 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
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca [1000 x [3 x i32]], align 16
%16 = alloca [12 x i32], align 16
%17 = alloca [12 x i32], align 16
%18 = alloca [12 x i32], align 16
%19 = alloca [12 x i32], align 16
store i32 0, ptr %1, align 4
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
store i32 0, ptr %10, align 4
store i32 0, ptr %11, align 4
store i32 0, ptr %12, align 4
store i32 0, ptr %13, align 4
store i32 0, ptr %14, align 4
br label %20
20: ; preds = %37, %0
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%22 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2)
%23 = load i32, ptr %2, align 4
%24 = icmp slt i32 %23, 1
br i1 %24, label %28, label %25
25: ; preds = %20
%26 = load i32, ptr %2, align 4
%27 = icmp sgt i32 %26, 1000
br i1 %27, label %28, label %30
28: ; preds = %25, %20
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %30
30: ; preds = %28, %25
br label %31
31: ; preds = %30
%32 = load i32, ptr %2, align 4
%33 = icmp slt i32 %32, 1
br i1 %33, label %37, label %34
34: ; preds = %31
%35 = load i32, ptr %2, align 4
%36 = icmp sgt i32 %35, 1000
br label %37
37: ; preds = %34, %31
%38 = phi i1 [ true, %31 ], [ %36, %34 ]
br i1 %38, label %20, label %39, !llvm.loop !6
39: ; preds = %37
store i32 0, ptr %3, align 4
br label %40
40: ; preds = %261, %39
%41 = load i32, ptr %3, align 4
%42 = load i32, ptr %2, align 4
%43 = icmp slt i32 %41, %42
br i1 %43, label %44, label %264
44: ; preds = %40
%45 = load i32, ptr %3, align 4
%46 = add nsw i32 %45, 1
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %46)
%48 = load i32, ptr %3, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %49
%51 = getelementptr inbounds [3 x i32], ptr %50, i64 0, i64 0
%52 = load i32, ptr %3, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %53
%55 = getelementptr inbounds [3 x i32], ptr %54, i64 0, i64 1
%56 = load i32, ptr %3, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %57
%59 = getelementptr inbounds [3 x i32], ptr %58, i64 0, i64 2
%60 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %51, ptr noundef %55, ptr noundef %59)
%61 = load i32, ptr %3, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %62
%64 = getelementptr inbounds [3 x i32], ptr %63, i64 0, i64 2
%65 = load i32, ptr %64, align 4
%66 = srem i32 %65, 4
%67 = icmp eq i32 %66, 0
br i1 %67, label %68, label %76
68: ; preds = %44
%69 = load i32, ptr %3, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %70
%72 = getelementptr inbounds [3 x i32], ptr %71, i64 0, i64 2
%73 = load i32, ptr %72, align 4
%74 = srem i32 %73, 100
%75 = icmp eq i32 %74, 0
br i1 %75, label %76, label %84
76: ; preds = %68, %44
%77 = load i32, ptr %3, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %78
%80 = getelementptr inbounds [3 x i32], ptr %79, i64 0, i64 2
%81 = load i32, ptr %80, align 4
%82 = srem i32 %81, 400
%83 = icmp eq i32 %82, 0
br i1 %83, label %84, label %172
84: ; preds = %76, %68
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %16, ptr align 16 @__const.main.niz_godina, i64 48, i1 false)
%85 = load i32, ptr %3, align 4
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %86
%88 = getelementptr inbounds [3 x i32], ptr %87, i64 0, i64 1
%89 = load i32, ptr %88, align 4
%90 = icmp eq i32 %89, 2
br i1 %90, label %91, label %109
91: ; preds = %84
%92 = load i32, ptr %3, align 4
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %93
%95 = getelementptr inbounds [3 x i32], ptr %94, i64 0, i64 0
%96 = load i32, ptr %95, align 4
%97 = icmp sgt i32 %96, 29
br i1 %97, label %105, label %98
98: ; preds = %91
%99 = load i32, ptr %3, align 4
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %100
%102 = getelementptr inbounds [3 x i32], ptr %101, i64 0, i64 0
%103 = load i32, ptr %102, align 4
%104 = icmp sle i32 %103, 0
br i1 %104, label %105, label %109
105: ; preds = %98, %91
%106 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%107 = load i32, ptr %3, align 4
%108 = add nsw i32 %107, -1
store i32 %108, ptr %3, align 4
br label %109
109: ; preds = %105, %98, %84
store i32 0, ptr %4, align 4
br label %110
110: ; preds = %128, %109
%111 = load i32, ptr %4, align 4
%112 = icmp slt i32 %111, 12
br i1 %112, label %113, label %131
113: ; preds = %110
%114 = load i32, ptr %3, align 4
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %115
%117 = getelementptr inbounds [3 x i32], ptr %116, i64 0, i64 1
%118 = load i32, ptr %117, align 4
%119 = load i32, ptr %4, align 4
%120 = add nsw i32 %119, 1
%121 = icmp eq i32 %118, %120
br i1 %121, label %122, label %127
122: ; preds = %113
%123 = load i32, ptr %4, align 4
%124 = sext i32 %123 to i64
%125 = getelementptr inbounds [12 x i32], ptr %16, i64 0, i64 %124
%126 = load i32, ptr %125, align 4
store i32 %126, ptr %6, align 4
br label %127
127: ; preds = %122, %113
br label %128
128: ; preds = %127
%129 = load i32, ptr %4, align 4
%130 = add nsw i32 %129, 1
store i32 %130, ptr %4, align 4
br label %110, !llvm.loop !8
131: ; preds = %110
%132 = load i32, ptr %6, align 4
%133 = srem i32 %132, 31
%134 = icmp eq i32 %133, 0
br i1 %134, label %135, label %149
135: ; preds = %131
%136 = load i32, ptr %3, align 4
%137 = sext i32 %136 to i64
%138 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %137
%139 = getelementptr inbounds [3 x i32], ptr %138, i64 0, i64 0
%140 = load i32, ptr %139, align 4
%141 = icmp sgt i32 %140, 31
br i1 %141, label %167, label %142
142: ; preds = %135
%143 = load i32, ptr %3, align 4
%144 = sext i32 %143 to i64
%145 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %144
%146 = getelementptr inbounds [3 x i32], ptr %145, i64 0, i64 0
%147 = load i32, ptr %146, align 4
%148 = icmp sle i32 %147, 0
br i1 %148, label %167, label %149
149: ; preds = %142, %131
%150 = load i32, ptr %6, align 4
%151 = srem i32 %150, 30
%152 = icmp eq i32 %151, 0
br i1 %152, label %153, label %171
153: ; preds = %149
%154 = load i32, ptr %3, align 4
%155 = sext i32 %154 to i64
%156 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %155
%157 = getelementptr inbounds [3 x i32], ptr %156, i64 0, i64 0
%158 = load i32, ptr %157, align 4
%159 = icmp sgt i32 %158, 30
br i1 %159, label %167, label %160
160: ; preds = %153
%161 = load i32, ptr %3, align 4
%162 = sext i32 %161 to i64
%163 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %162
%164 = getelementptr inbounds [3 x i32], ptr %163, i64 0, i64 0
%165 = load i32, ptr %164, align 4
%166 = icmp sle i32 %165, 0
br i1 %166, label %167, label %171
167: ; preds = %160, %153, %142, %135
%168 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%169 = load i32, ptr %3, align 4
%170 = add nsw i32 %169, -1
store i32 %170, ptr %3, align 4
br label %171
171: ; preds = %167, %160, %149
br label %260
172: ; preds = %76
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %17, ptr align 16 @__const.main.niz_godina.6, i64 48, i1 false)
%173 = load i32, ptr %3, align 4
%174 = sext i32 %173 to i64
%175 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %174
%176 = getelementptr inbounds [3 x i32], ptr %175, i64 0, i64 1
%177 = load i32, ptr %176, align 4
%178 = icmp eq i32 %177, 2
br i1 %178, label %179, label %197
179: ; preds = %172
%180 = load i32, ptr %3, align 4
%181 = sext i32 %180 to i64
%182 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %181
%183 = getelementptr inbounds [3 x i32], ptr %182, i64 0, i64 0
%184 = load i32, ptr %183, align 4
%185 = icmp sgt i32 %184, 28
br i1 %185, label %193, label %186
186: ; preds = %179
%187 = load i32, ptr %3, align 4
%188 = sext i32 %187 to i64
%189 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %188
%190 = getelementptr inbounds [3 x i32], ptr %189, i64 0, i64 0
%191 = load i32, ptr %190, align 4
%192 = icmp sle i32 %191, 0
br i1 %192, label %193, label %197
193: ; preds = %186, %179
%194 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%195 = load i32, ptr %3, align 4
%196 = add nsw i32 %195, -1
store i32 %196, ptr %3, align 4
br label %197
197: ; preds = %193, %186, %172
store i32 0, ptr %4, align 4
br label %198
198: ; preds = %216, %197
%199 = load i32, ptr %4, align 4
%200 = icmp slt i32 %199, 12
br i1 %200, label %201, label %219
201: ; preds = %198
%202 = load i32, ptr %3, align 4
%203 = sext i32 %202 to i64
%204 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %203
%205 = getelementptr inbounds [3 x i32], ptr %204, i64 0, i64 1
%206 = load i32, ptr %205, align 4
%207 = load i32, ptr %4, align 4
%208 = add nsw i32 %207, 1
%209 = icmp eq i32 %206, %208
br i1 %209, label %210, label %215
210: ; preds = %201
%211 = load i32, ptr %4, align 4
%212 = sext i32 %211 to i64
%213 = getelementptr inbounds [12 x i32], ptr %17, i64 0, i64 %212
%214 = load i32, ptr %213, align 4
store i32 %214, ptr %6, align 4
br label %215
215: ; preds = %210, %201
br label %216
216: ; preds = %215
%217 = load i32, ptr %4, align 4
%218 = add nsw i32 %217, 1
store i32 %218, ptr %4, align 4
br label %198, !llvm.loop !9
219: ; preds = %198
%220 = load i32, ptr %6, align 4
%221 = srem i32 %220, 31
%222 = icmp eq i32 %221, 0
br i1 %222, label %223, label %237
223: ; preds = %219
%224 = load i32, ptr %3, align 4
%225 = sext i32 %224 to i64
%226 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %225
%227 = getelementptr inbounds [3 x i32], ptr %226, i64 0, i64 0
%228 = load i32, ptr %227, align 4
%229 = icmp sgt i32 %228, 31
br i1 %229, label %255, label %230
230: ; preds = %223
%231 = load i32, ptr %3, align 4
%232 = sext i32 %231 to i64
%233 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %232
%234 = getelementptr inbounds [3 x i32], ptr %233, i64 0, i64 0
%235 = load i32, ptr %234, align 4
%236 = icmp sle i32 %235, 0
br i1 %236, label %255, label %237
237: ; preds = %230, %219
%238 = load i32, ptr %6, align 4
%239 = srem i32 %238, 30
%240 = icmp eq i32 %239, 0
br i1 %240, label %241, label %259
241: ; preds = %237
%242 = load i32, ptr %3, align 4
%243 = sext i32 %242 to i64
%244 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %243
%245 = getelementptr inbounds [3 x i32], ptr %244, i64 0, i64 0
%246 = load i32, ptr %245, align 4
%247 = icmp sgt i32 %246, 30
br i1 %247, label %255, label %248
248: ; preds = %241
%249 = load i32, ptr %3, align 4
%250 = sext i32 %249 to i64
%251 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %250
%252 = getelementptr inbounds [3 x i32], ptr %251, i64 0, i64 0
%253 = load i32, ptr %252, align 4
%254 = icmp sle i32 %253, 0
br i1 %254, label %255, label %259
255: ; preds = %248, %241, %230, %223
%256 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%257 = load i32, ptr %3, align 4
%258 = add nsw i32 %257, -1
store i32 %258, ptr %3, align 4
br label %259
259: ; preds = %255, %248, %237
br label %260
260: ; preds = %259, %171
br label %261
261: ; preds = %260
%262 = load i32, ptr %3, align 4
%263 = add nsw i32 %262, 1
store i32 %263, ptr %3, align 4
br label %40, !llvm.loop !10
264: ; preds = %40
store i32 0, ptr %3, align 4
br label %265
265: ; preds = %467, %264
%266 = load i32, ptr %3, align 4
%267 = load i32, ptr %2, align 4
%268 = icmp slt i32 %266, %267
br i1 %268, label %269, label %470
269: ; preds = %265
%270 = load i32, ptr %3, align 4
%271 = add nsw i32 %270, 1
store i32 %271, ptr %5, align 4
br label %272
272: ; preds = %463, %269
%273 = load i32, ptr %5, align 4
%274 = load i32, ptr %2, align 4
%275 = icmp slt i32 %273, %274
br i1 %275, label %276, label %466
276: ; preds = %272
%277 = load i32, ptr %3, align 4
%278 = sext i32 %277 to i64
%279 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %278
%280 = getelementptr inbounds [3 x i32], ptr %279, i64 0, i64 2
%281 = load i32, ptr %280, align 4
%282 = srem i32 %281, 4
%283 = icmp eq i32 %282, 0
br i1 %283, label %284, label %292
284: ; preds = %276
%285 = load i32, ptr %3, align 4
%286 = sext i32 %285 to i64
%287 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %286
%288 = getelementptr inbounds [3 x i32], ptr %287, i64 0, i64 2
%289 = load i32, ptr %288, align 4
%290 = srem i32 %289, 100
%291 = icmp eq i32 %290, 0
br i1 %291, label %292, label %300
292: ; preds = %284, %276
%293 = load i32, ptr %3, align 4
%294 = sext i32 %293 to i64
%295 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %294
%296 = getelementptr inbounds [3 x i32], ptr %295, i64 0, i64 2
%297 = load i32, ptr %296, align 4
%298 = srem i32 %297, 400
%299 = icmp eq i32 %298, 0
br i1 %299, label %300, label %381
300: ; preds = %292, %284
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %18, ptr align 16 @__const.main.niz_godina.7, i64 48, i1 false)
%301 = load i32, ptr %3, align 4
%302 = sext i32 %301 to i64
%303 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %302
%304 = getelementptr inbounds [3 x i32], ptr %303, i64 0, i64 2
%305 = load i32, ptr %304, align 4
%306 = load i32, ptr %5, align 4
%307 = sext i32 %306 to i64
%308 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %307
%309 = getelementptr inbounds [3 x i32], ptr %308, i64 0, i64 2
%310 = load i32, ptr %309, align 4
%311 = icmp eq i32 %305, %310
br i1 %311, label %312, label %380
312: ; preds = %300
%313 = load i32, ptr %3, align 4
%314 = sext i32 %313 to i64
%315 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %314
%316 = getelementptr inbounds [3 x i32], ptr %315, i64 0, i64 0
%317 = load i32, ptr %316, align 4
%318 = load i32, ptr %5, align 4
%319 = sext i32 %318 to i64
%320 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %319
%321 = getelementptr inbounds [3 x i32], ptr %320, i64 0, i64 0
%322 = load i32, ptr %321, align 4
%323 = sub nsw i32 %317, %322
%324 = call i32 @abs(i32 noundef %323) #4
store i32 %324, ptr %9, align 4
store i32 0, ptr %4, align 4
br label %325
325: ; preds = %341, %312
%326 = load i32, ptr %4, align 4
%327 = load i32, ptr %3, align 4
%328 = sext i32 %327 to i64
%329 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %328
%330 = getelementptr inbounds [3 x i32], ptr %329, i64 0, i64 1
%331 = load i32, ptr %330, align 4
%332 = sub nsw i32 %331, 1
%333 = icmp slt i32 %326, %332
br i1 %333, label %334, label %344
334: ; preds = %325
%335 = load i32, ptr %4, align 4
%336 = sext i32 %335 to i64
%337 = getelementptr inbounds [12 x i32], ptr %18, i64 0, i64 %336
%338 = load i32, ptr %337, align 4
%339 = load i32, ptr %7, align 4
%340 = add nsw i32 %339, %338
store i32 %340, ptr %7, align 4
br label %341
341: ; preds = %334
%342 = load i32, ptr %4, align 4
%343 = add nsw i32 %342, 1
store i32 %343, ptr %4, align 4
br label %325, !llvm.loop !11
344: ; preds = %325
store i32 0, ptr %4, align 4
br label %345
345: ; preds = %361, %344
%346 = load i32, ptr %4, align 4
%347 = load i32, ptr %5, align 4
%348 = sext i32 %347 to i64
%349 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %348
%350 = getelementptr inbounds [3 x i32], ptr %349, i64 0, i64 1
%351 = load i32, ptr %350, align 4
%352 = sub nsw i32 %351, 1
%353 = icmp slt i32 %346, %352
br i1 %353, label %354, label %364
354: ; preds = %345
%355 = load i32, ptr %4, align 4
%356 = sext i32 %355 to i64
%357 = getelementptr inbounds [12 x i32], ptr %18, i64 0, i64 %356
%358 = load i32, ptr %357, align 4
%359 = load i32, ptr %8, align 4
%360 = add nsw i32 %359, %358
store i32 %360, ptr %8, align 4
br label %361
361: ; preds = %354
%362 = load i32, ptr %4, align 4
%363 = add nsw i32 %362, 1
store i32 %363, ptr %4, align 4
br label %345, !llvm.loop !12
364: ; preds = %345
%365 = load i32, ptr %9, align 4
%366 = load i32, ptr %7, align 4
%367 = load i32, ptr %8, align 4
%368 = sub nsw i32 %366, %367
%369 = call i32 @abs(i32 noundef %368) #4
%370 = add nsw i32 %365, %369
store i32 %370, ptr %10, align 4
%371 = load i32, ptr %10, align 4
%372 = icmp eq i32 %371, 100
br i1 %372, label %373, label %379
373: ; preds = %364
%374 = load i32, ptr %3, align 4
%375 = add nsw i32 %374, 1
%376 = load i32, ptr %5, align 4
%377 = add nsw i32 %376, 1
%378 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %375, i32 noundef %377)
store i32 0, ptr %9, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %7, align 4
store i32 0, ptr %10, align 4
br label %379
379: ; preds = %373, %364
br label %380
380: ; preds = %379, %300
br label %462
381: ; preds = %292
%382 = load i32, ptr %3, align 4
%383 = sext i32 %382 to i64
%384 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %383
%385 = getelementptr inbounds [3 x i32], ptr %384, i64 0, i64 2
%386 = load i32, ptr %385, align 4
%387 = load i32, ptr %5, align 4
%388 = sext i32 %387 to i64
%389 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %388
%390 = getelementptr inbounds [3 x i32], ptr %389, i64 0, i64 2
%391 = load i32, ptr %390, align 4
%392 = icmp eq i32 %386, %391
br i1 %392, label %393, label %461
393: ; preds = %381
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %19, ptr align 16 @__const.main.niz_godina.9, i64 48, i1 false)
%394 = load i32, ptr %3, align 4
%395 = sext i32 %394 to i64
%396 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %395
%397 = getelementptr inbounds [3 x i32], ptr %396, i64 0, i64 0
%398 = load i32, ptr %397, align 4
%399 = load i32, ptr %5, align 4
%400 = sext i32 %399 to i64
%401 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %400
%402 = getelementptr inbounds [3 x i32], ptr %401, i64 0, i64 0
%403 = load i32, ptr %402, align 4
%404 = sub nsw i32 %398, %403
%405 = call i32 @abs(i32 noundef %404) #4
store i32 %405, ptr %13, align 4
store i32 0, ptr %4, align 4
br label %406
406: ; preds = %422, %393
%407 = load i32, ptr %4, align 4
%408 = load i32, ptr %3, align 4
%409 = sext i32 %408 to i64
%410 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %409
%411 = getelementptr inbounds [3 x i32], ptr %410, i64 0, i64 1
%412 = load i32, ptr %411, align 4
%413 = sub nsw i32 %412, 1
%414 = icmp slt i32 %407, %413
br i1 %414, label %415, label %425
415: ; preds = %406
%416 = load i32, ptr %4, align 4
%417 = sext i32 %416 to i64
%418 = getelementptr inbounds [12 x i32], ptr %19, i64 0, i64 %417
%419 = load i32, ptr %418, align 4
%420 = load i32, ptr %11, align 4
%421 = add nsw i32 %420, %419
store i32 %421, ptr %11, align 4
br label %422
422: ; preds = %415
%423 = load i32, ptr %4, align 4
%424 = add nsw i32 %423, 1
store i32 %424, ptr %4, align 4
br label %406, !llvm.loop !13
425: ; preds = %406
store i32 0, ptr %4, align 4
br label %426
426: ; preds = %442, %425
%427 = load i32, ptr %4, align 4
%428 = load i32, ptr %5, align 4
%429 = sext i32 %428 to i64
%430 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %429
%431 = getelementptr inbounds [3 x i32], ptr %430, i64 0, i64 1
%432 = load i32, ptr %431, align 4
%433 = sub nsw i32 %432, 1
%434 = icmp slt i32 %427, %433
br i1 %434, label %435, label %445
435: ; preds = %426
%436 = load i32, ptr %4, align 4
%437 = sext i32 %436 to i64
%438 = getelementptr inbounds [12 x i32], ptr %19, i64 0, i64 %437
%439 = load i32, ptr %438, align 4
%440 = load i32, ptr %12, align 4
%441 = add nsw i32 %440, %439
store i32 %441, ptr %12, align 4
br label %442
442: ; preds = %435
%443 = load i32, ptr %4, align 4
%444 = add nsw i32 %443, 1
store i32 %444, ptr %4, align 4
br label %426, !llvm.loop !14
445: ; preds = %426
%446 = load i32, ptr %13, align 4
%447 = load i32, ptr %11, align 4
%448 = load i32, ptr %12, align 4
%449 = sub nsw i32 %447, %448
%450 = call i32 @abs(i32 noundef %449) #4
%451 = add nsw i32 %446, %450
store i32 %451, ptr %14, align 4
%452 = load i32, ptr %14, align 4
%453 = icmp eq i32 %452, 100
br i1 %453, label %454, label %460
454: ; preds = %445
%455 = load i32, ptr %3, align 4
%456 = add nsw i32 %455, 1
%457 = load i32, ptr %5, align 4
%458 = add nsw i32 %457, 1
%459 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %456, i32 noundef %458)
store i32 0, ptr %13, align 4
store i32 0, ptr %12, align 4
store i32 0, ptr %11, align 4
store i32 0, ptr %14, align 4
br label %460
460: ; preds = %454, %445
br label %461
461: ; preds = %460, %381
br label %462
462: ; preds = %461, %380
br label %463
463: ; preds = %462
%464 = load i32, ptr %5, align 4
%465 = add nsw i32 %464, 1
store i32 %465, ptr %5, align 4
br label %272, !llvm.loop !15
466: ; preds = %272
br label %467
467: ; preds = %466
%468 = load i32, ptr %3, align 4
%469 = add nsw i32 %468, 1
store i32 %469, ptr %3, align 4
br label %265, !llvm.loop !16
470: ; preds = %265
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
; Function Attrs: nounwind willreturn memory(none)
declare i32 @abs(i32 noundef) #3
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: readwrite) }
attributes #3 = { nounwind willreturn memory(none) "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 = { nounwind 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}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkqkjtlud.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 [25 x i8] c"Unesite broj studenata: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"Neispravan broj studenata\0A\00", align 1
@.str.3 = private unnamed_addr constant [38 x i8] c"Unesite datum rodjenja %d. studenta: \00", align 1
@.str.4 = private unnamed_addr constant [9 x i8] c"%d,%d,%d\00", align 1
@__const.main.niz_godina = private unnamed_addr constant [12 x i32] [i32 31, i32 29, i32 31, i32 30, i32 31, i32 30, i32 31, i32 31, i32 30, i32 31, i32 30, i32 31], align 16
@.str.5 = private unnamed_addr constant [18 x i8] c"Neispravan datum\0A\00", align 1
@__const.main.niz_godina.6 = private unnamed_addr constant [12 x i32] [i32 31, i32 28, i32 31, i32 30, i32 31, i32 30, i32 31, i32 31, i32 30, i32 31, i32 30, i32 31], align 16
@__const.main.niz_godina.7 = private unnamed_addr constant [12 x i32] [i32 31, i32 29, i32 31, i32 30, i32 31, i32 30, i32 31, i32 31, i32 30, i32 31, i32 30, i32 31], align 16
@.str.8 = private unnamed_addr constant [57 x i8] c"Student %d. je rodjen tacno 100 dana prije studenta %d.\0A\00", align 1
@__const.main.niz_godina.9 = private unnamed_addr constant [12 x i32] [i32 31, i32 28, i32 31, i32 30, i32 31, i32 30, i32 31, i32 31, i32 30, i32 31, i32 30, i32 31], align 16
; 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 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
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca [1000 x [3 x i32]], align 16
%16 = alloca [12 x i32], align 16
%17 = alloca [12 x i32], align 16
%18 = alloca [12 x i32], align 16
%19 = alloca [12 x i32], align 16
store i32 0, ptr %1, align 4
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
store i32 0, ptr %10, align 4
store i32 0, ptr %11, align 4
store i32 0, ptr %12, align 4
store i32 0, ptr %13, align 4
store i32 0, ptr %14, align 4
br label %20
20: ; preds = %37, %0
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%22 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2)
%23 = load i32, ptr %2, align 4
%24 = icmp slt i32 %23, 1
br i1 %24, label %28, label %25
25: ; preds = %20
%26 = load i32, ptr %2, align 4
%27 = icmp sgt i32 %26, 1000
br i1 %27, label %28, label %30
28: ; preds = %25, %20
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %30
30: ; preds = %28, %25
br label %31
31: ; preds = %30
%32 = load i32, ptr %2, align 4
%33 = icmp slt i32 %32, 1
br i1 %33, label %37, label %34
34: ; preds = %31
%35 = load i32, ptr %2, align 4
%36 = icmp sgt i32 %35, 1000
br label %37
37: ; preds = %34, %31
%38 = phi i1 [ true, %31 ], [ %36, %34 ]
br i1 %38, label %20, label %39, !llvm.loop !6
39: ; preds = %37
store i32 0, ptr %3, align 4
%40 = load i32, ptr %3, align 4
%41 = load i32, ptr %2, align 4
%42 = icmp slt i32 %40, %41
br i1 %42, label %.lr.ph5, label %268
.lr.ph5: ; preds = %39
br label %43
43: ; preds = %.lr.ph5, %262
%44 = load i32, ptr %3, align 4
%45 = add nsw i32 %44, 1
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %45)
%47 = load i32, ptr %3, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %48
%50 = getelementptr inbounds [3 x i32], ptr %49, i64 0, i64 0
%51 = load i32, ptr %3, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %52
%54 = getelementptr inbounds [3 x i32], ptr %53, i64 0, i64 1
%55 = load i32, ptr %3, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %56
%58 = getelementptr inbounds [3 x i32], ptr %57, i64 0, i64 2
%59 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %50, ptr noundef %54, ptr noundef %58)
%60 = load i32, ptr %3, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %61
%63 = getelementptr inbounds [3 x i32], ptr %62, i64 0, i64 2
%64 = load i32, ptr %63, align 4
%65 = srem i32 %64, 4
%66 = icmp eq i32 %65, 0
br i1 %66, label %67, label %75
67: ; preds = %43
%68 = load i32, ptr %3, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %69
%71 = getelementptr inbounds [3 x i32], ptr %70, i64 0, i64 2
%72 = load i32, ptr %71, align 4
%73 = srem i32 %72, 100
%74 = icmp eq i32 %73, 0
br i1 %74, label %75, label %83
75: ; preds = %67, %43
%76 = load i32, ptr %3, align 4
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %77
%79 = getelementptr inbounds [3 x i32], ptr %78, i64 0, i64 2
%80 = load i32, ptr %79, align 4
%81 = srem i32 %80, 400
%82 = icmp eq i32 %81, 0
br i1 %82, label %83, label %172
83: ; preds = %75, %67
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %16, ptr align 16 @__const.main.niz_godina, i64 48, i1 false)
%84 = load i32, ptr %3, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %85
%87 = getelementptr inbounds [3 x i32], ptr %86, i64 0, i64 1
%88 = load i32, ptr %87, align 4
%89 = icmp eq i32 %88, 2
br i1 %89, label %90, label %108
90: ; preds = %83
%91 = load i32, ptr %3, align 4
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %92
%94 = getelementptr inbounds [3 x i32], ptr %93, i64 0, i64 0
%95 = load i32, ptr %94, align 4
%96 = icmp sgt i32 %95, 29
br i1 %96, label %104, label %97
97: ; preds = %90
%98 = load i32, ptr %3, align 4
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %99
%101 = getelementptr inbounds [3 x i32], ptr %100, i64 0, i64 0
%102 = load i32, ptr %101, align 4
%103 = icmp sle i32 %102, 0
br i1 %103, label %104, label %108
104: ; preds = %97, %90
%105 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%106 = load i32, ptr %3, align 4
%107 = add nsw i32 %106, -1
store i32 %107, ptr %3, align 4
br label %108
108: ; preds = %104, %97, %83
store i32 0, ptr %4, align 4
%109 = load i32, ptr %4, align 4
%110 = icmp slt i32 %109, 12
br i1 %110, label %.lr.ph2, label %131
.lr.ph2: ; preds = %108
br label %111
111: ; preds = %.lr.ph2, %126
%112 = load i32, ptr %3, align 4
%113 = sext i32 %112 to i64
%114 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %113
%115 = getelementptr inbounds [3 x i32], ptr %114, i64 0, i64 1
%116 = load i32, ptr %115, align 4
%117 = load i32, ptr %4, align 4
%118 = add nsw i32 %117, 1
%119 = icmp eq i32 %116, %118
br i1 %119, label %120, label %125
120: ; preds = %111
%121 = load i32, ptr %4, align 4
%122 = sext i32 %121 to i64
%123 = getelementptr inbounds [12 x i32], ptr %16, i64 0, i64 %122
%124 = load i32, ptr %123, align 4
store i32 %124, ptr %6, align 4
br label %125
125: ; preds = %120, %111
br label %126
126: ; preds = %125
%127 = load i32, ptr %4, align 4
%128 = add nsw i32 %127, 1
store i32 %128, ptr %4, align 4
%129 = load i32, ptr %4, align 4
%130 = icmp slt i32 %129, 12
br i1 %130, label %111, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %126
br label %131
131: ; preds = %._crit_edge3, %108
%132 = load i32, ptr %6, align 4
%133 = srem i32 %132, 31
%134 = icmp eq i32 %133, 0
br i1 %134, label %135, label %149
135: ; preds = %131
%136 = load i32, ptr %3, align 4
%137 = sext i32 %136 to i64
%138 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %137
%139 = getelementptr inbounds [3 x i32], ptr %138, i64 0, i64 0
%140 = load i32, ptr %139, align 4
%141 = icmp sgt i32 %140, 31
br i1 %141, label %167, label %142
142: ; preds = %135
%143 = load i32, ptr %3, align 4
%144 = sext i32 %143 to i64
%145 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %144
%146 = getelementptr inbounds [3 x i32], ptr %145, i64 0, i64 0
%147 = load i32, ptr %146, align 4
%148 = icmp sle i32 %147, 0
br i1 %148, label %167, label %149
149: ; preds = %142, %131
%150 = load i32, ptr %6, align 4
%151 = srem i32 %150, 30
%152 = icmp eq i32 %151, 0
br i1 %152, label %153, label %171
153: ; preds = %149
%154 = load i32, ptr %3, align 4
%155 = sext i32 %154 to i64
%156 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %155
%157 = getelementptr inbounds [3 x i32], ptr %156, i64 0, i64 0
%158 = load i32, ptr %157, align 4
%159 = icmp sgt i32 %158, 30
br i1 %159, label %167, label %160
160: ; preds = %153
%161 = load i32, ptr %3, align 4
%162 = sext i32 %161 to i64
%163 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %162
%164 = getelementptr inbounds [3 x i32], ptr %163, i64 0, i64 0
%165 = load i32, ptr %164, align 4
%166 = icmp sle i32 %165, 0
br i1 %166, label %167, label %171
167: ; preds = %160, %153, %142, %135
%168 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%169 = load i32, ptr %3, align 4
%170 = add nsw i32 %169, -1
store i32 %170, ptr %3, align 4
br label %171
171: ; preds = %167, %160, %149
br label %261
172: ; preds = %75
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %17, ptr align 16 @__const.main.niz_godina.6, i64 48, i1 false)
%173 = load i32, ptr %3, align 4
%174 = sext i32 %173 to i64
%175 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %174
%176 = getelementptr inbounds [3 x i32], ptr %175, i64 0, i64 1
%177 = load i32, ptr %176, align 4
%178 = icmp eq i32 %177, 2
br i1 %178, label %179, label %197
179: ; preds = %172
%180 = load i32, ptr %3, align 4
%181 = sext i32 %180 to i64
%182 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %181
%183 = getelementptr inbounds [3 x i32], ptr %182, i64 0, i64 0
%184 = load i32, ptr %183, align 4
%185 = icmp sgt i32 %184, 28
br i1 %185, label %193, label %186
186: ; preds = %179
%187 = load i32, ptr %3, align 4
%188 = sext i32 %187 to i64
%189 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %188
%190 = getelementptr inbounds [3 x i32], ptr %189, i64 0, i64 0
%191 = load i32, ptr %190, align 4
%192 = icmp sle i32 %191, 0
br i1 %192, label %193, label %197
193: ; preds = %186, %179
%194 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%195 = load i32, ptr %3, align 4
%196 = add nsw i32 %195, -1
store i32 %196, ptr %3, align 4
br label %197
197: ; preds = %193, %186, %172
store i32 0, ptr %4, align 4
%198 = load i32, ptr %4, align 4
%199 = icmp slt i32 %198, 12
br i1 %199, label %.lr.ph, label %220
.lr.ph: ; preds = %197
br label %200
200: ; preds = %.lr.ph, %215
%201 = load i32, ptr %3, align 4
%202 = sext i32 %201 to i64
%203 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %202
%204 = getelementptr inbounds [3 x i32], ptr %203, i64 0, i64 1
%205 = load i32, ptr %204, align 4
%206 = load i32, ptr %4, align 4
%207 = add nsw i32 %206, 1
%208 = icmp eq i32 %205, %207
br i1 %208, label %209, label %214
209: ; preds = %200
%210 = load i32, ptr %4, align 4
%211 = sext i32 %210 to i64
%212 = getelementptr inbounds [12 x i32], ptr %17, i64 0, i64 %211
%213 = load i32, ptr %212, align 4
store i32 %213, ptr %6, align 4
br label %214
214: ; preds = %209, %200
br label %215
215: ; preds = %214
%216 = load i32, ptr %4, align 4
%217 = add nsw i32 %216, 1
store i32 %217, ptr %4, align 4
%218 = load i32, ptr %4, align 4
%219 = icmp slt i32 %218, 12
br i1 %219, label %200, label %._crit_edge, !llvm.loop !9
._crit_edge: ; preds = %215
br label %220
220: ; preds = %._crit_edge, %197
%221 = load i32, ptr %6, align 4
%222 = srem i32 %221, 31
%223 = icmp eq i32 %222, 0
br i1 %223, label %224, label %238
224: ; preds = %220
%225 = load i32, ptr %3, align 4
%226 = sext i32 %225 to i64
%227 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %226
%228 = getelementptr inbounds [3 x i32], ptr %227, i64 0, i64 0
%229 = load i32, ptr %228, align 4
%230 = icmp sgt i32 %229, 31
br i1 %230, label %256, label %231
231: ; preds = %224
%232 = load i32, ptr %3, align 4
%233 = sext i32 %232 to i64
%234 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %233
%235 = getelementptr inbounds [3 x i32], ptr %234, i64 0, i64 0
%236 = load i32, ptr %235, align 4
%237 = icmp sle i32 %236, 0
br i1 %237, label %256, label %238
238: ; preds = %231, %220
%239 = load i32, ptr %6, align 4
%240 = srem i32 %239, 30
%241 = icmp eq i32 %240, 0
br i1 %241, label %242, label %260
242: ; preds = %238
%243 = load i32, ptr %3, align 4
%244 = sext i32 %243 to i64
%245 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %244
%246 = getelementptr inbounds [3 x i32], ptr %245, i64 0, i64 0
%247 = load i32, ptr %246, align 4
%248 = icmp sgt i32 %247, 30
br i1 %248, label %256, label %249
249: ; preds = %242
%250 = load i32, ptr %3, align 4
%251 = sext i32 %250 to i64
%252 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %251
%253 = getelementptr inbounds [3 x i32], ptr %252, i64 0, i64 0
%254 = load i32, ptr %253, align 4
%255 = icmp sle i32 %254, 0
br i1 %255, label %256, label %260
256: ; preds = %249, %242, %231, %224
%257 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%258 = load i32, ptr %3, align 4
%259 = add nsw i32 %258, -1
store i32 %259, ptr %3, align 4
br label %260
260: ; preds = %256, %249, %238
br label %261
261: ; preds = %260, %171
br label %262
262: ; preds = %261
%263 = load i32, ptr %3, align 4
%264 = add nsw i32 %263, 1
store i32 %264, ptr %3, align 4
%265 = load i32, ptr %3, align 4
%266 = load i32, ptr %2, align 4
%267 = icmp slt i32 %265, %266
br i1 %267, label %43, label %._crit_edge6, !llvm.loop !10
._crit_edge6: ; preds = %262
br label %268
268: ; preds = %._crit_edge6, %39
store i32 0, ptr %3, align 4
%269 = load i32, ptr %3, align 4
%270 = load i32, ptr %2, align 4
%271 = icmp slt i32 %269, %270
br i1 %271, label %.lr.ph23, label %506
.lr.ph23: ; preds = %268
br label %272
272: ; preds = %.lr.ph23, %500
%273 = load i32, ptr %3, align 4
%274 = add nsw i32 %273, 1
store i32 %274, ptr %5, align 4
%275 = load i32, ptr %5, align 4
%276 = load i32, ptr %2, align 4
%277 = icmp slt i32 %275, %276
br i1 %277, label %.lr.ph20, label %499
.lr.ph20: ; preds = %272
br label %278
278: ; preds = %.lr.ph20, %493
%279 = load i32, ptr %3, align 4
%280 = sext i32 %279 to i64
%281 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %280
%282 = getelementptr inbounds [3 x i32], ptr %281, i64 0, i64 2
%283 = load i32, ptr %282, align 4
%284 = srem i32 %283, 4
%285 = icmp eq i32 %284, 0
br i1 %285, label %286, label %294
286: ; preds = %278
%287 = load i32, ptr %3, align 4
%288 = sext i32 %287 to i64
%289 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %288
%290 = getelementptr inbounds [3 x i32], ptr %289, i64 0, i64 2
%291 = load i32, ptr %290, align 4
%292 = srem i32 %291, 100
%293 = icmp eq i32 %292, 0
br i1 %293, label %294, label %302
294: ; preds = %286, %278
%295 = load i32, ptr %3, align 4
%296 = sext i32 %295 to i64
%297 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %296
%298 = getelementptr inbounds [3 x i32], ptr %297, i64 0, i64 2
%299 = load i32, ptr %298, align 4
%300 = srem i32 %299, 400
%301 = icmp eq i32 %300, 0
br i1 %301, label %302, label %397
302: ; preds = %294, %286
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %18, ptr align 16 @__const.main.niz_godina.7, i64 48, i1 false)
%303 = load i32, ptr %3, align 4
%304 = sext i32 %303 to i64
%305 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %304
%306 = getelementptr inbounds [3 x i32], ptr %305, i64 0, i64 2
%307 = load i32, ptr %306, align 4
%308 = load i32, ptr %5, align 4
%309 = sext i32 %308 to i64
%310 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %309
%311 = getelementptr inbounds [3 x i32], ptr %310, i64 0, i64 2
%312 = load i32, ptr %311, align 4
%313 = icmp eq i32 %307, %312
br i1 %313, label %314, label %396
314: ; preds = %302
%315 = load i32, ptr %3, align 4
%316 = sext i32 %315 to i64
%317 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %316
%318 = getelementptr inbounds [3 x i32], ptr %317, i64 0, i64 0
%319 = load i32, ptr %318, align 4
%320 = load i32, ptr %5, align 4
%321 = sext i32 %320 to i64
%322 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %321
%323 = getelementptr inbounds [3 x i32], ptr %322, i64 0, i64 0
%324 = load i32, ptr %323, align 4
%325 = sub nsw i32 %319, %324
%326 = call i32 @abs(i32 noundef %325) #4
store i32 %326, ptr %9, align 4
store i32 0, ptr %4, align 4
%327 = load i32, ptr %4, align 4
%328 = load i32, ptr %3, align 4
%329 = sext i32 %328 to i64
%330 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %329
%331 = getelementptr inbounds [3 x i32], ptr %330, i64 0, i64 1
%332 = load i32, ptr %331, align 4
%333 = sub nsw i32 %332, 1
%334 = icmp slt i32 %327, %333
br i1 %334, label %.lr.ph14, label %353
.lr.ph14: ; preds = %314
br label %335
335: ; preds = %.lr.ph14, %342
%336 = load i32, ptr %4, align 4
%337 = sext i32 %336 to i64
%338 = getelementptr inbounds [12 x i32], ptr %18, i64 0, i64 %337
%339 = load i32, ptr %338, align 4
%340 = load i32, ptr %7, align 4
%341 = add nsw i32 %340, %339
store i32 %341, ptr %7, align 4
br label %342
342: ; preds = %335
%343 = load i32, ptr %4, align 4
%344 = add nsw i32 %343, 1
store i32 %344, ptr %4, align 4
%345 = load i32, ptr %4, align 4
%346 = load i32, ptr %3, align 4
%347 = sext i32 %346 to i64
%348 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %347
%349 = getelementptr inbounds [3 x i32], ptr %348, i64 0, i64 1
%350 = load i32, ptr %349, align 4
%351 = sub nsw i32 %350, 1
%352 = icmp slt i32 %345, %351
br i1 %352, label %335, label %._crit_edge15, !llvm.loop !11
._crit_edge15: ; preds = %342
br label %353
353: ; preds = %._crit_edge15, %314
store i32 0, ptr %4, align 4
%354 = load i32, ptr %4, align 4
%355 = load i32, ptr %5, align 4
%356 = sext i32 %355 to i64
%357 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %356
%358 = getelementptr inbounds [3 x i32], ptr %357, i64 0, i64 1
%359 = load i32, ptr %358, align 4
%360 = sub nsw i32 %359, 1
%361 = icmp slt i32 %354, %360
br i1 %361, label %.lr.ph17, label %380
.lr.ph17: ; preds = %353
br label %362
362: ; preds = %.lr.ph17, %369
%363 = load i32, ptr %4, align 4
%364 = sext i32 %363 to i64
%365 = getelementptr inbounds [12 x i32], ptr %18, i64 0, i64 %364
%366 = load i32, ptr %365, align 4
%367 = load i32, ptr %8, align 4
%368 = add nsw i32 %367, %366
store i32 %368, ptr %8, align 4
br label %369
369: ; preds = %362
%370 = load i32, ptr %4, align 4
%371 = add nsw i32 %370, 1
store i32 %371, ptr %4, align 4
%372 = load i32, ptr %4, align 4
%373 = load i32, ptr %5, align 4
%374 = sext i32 %373 to i64
%375 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %374
%376 = getelementptr inbounds [3 x i32], ptr %375, i64 0, i64 1
%377 = load i32, ptr %376, align 4
%378 = sub nsw i32 %377, 1
%379 = icmp slt i32 %372, %378
br i1 %379, label %362, label %._crit_edge18, !llvm.loop !12
._crit_edge18: ; preds = %369
br label %380
380: ; preds = %._crit_edge18, %353
%381 = load i32, ptr %9, align 4
%382 = load i32, ptr %7, align 4
%383 = load i32, ptr %8, align 4
%384 = sub nsw i32 %382, %383
%385 = call i32 @abs(i32 noundef %384) #4
%386 = add nsw i32 %381, %385
store i32 %386, ptr %10, align 4
%387 = load i32, ptr %10, align 4
%388 = icmp eq i32 %387, 100
br i1 %388, label %389, label %395
389: ; preds = %380
%390 = load i32, ptr %3, align 4
%391 = add nsw i32 %390, 1
%392 = load i32, ptr %5, align 4
%393 = add nsw i32 %392, 1
%394 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %391, i32 noundef %393)
store i32 0, ptr %9, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %7, align 4
store i32 0, ptr %10, align 4
br label %395
395: ; preds = %389, %380
br label %396
396: ; preds = %395, %302
br label %492
397: ; preds = %294
%398 = load i32, ptr %3, align 4
%399 = sext i32 %398 to i64
%400 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %399
%401 = getelementptr inbounds [3 x i32], ptr %400, i64 0, i64 2
%402 = load i32, ptr %401, align 4
%403 = load i32, ptr %5, align 4
%404 = sext i32 %403 to i64
%405 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %404
%406 = getelementptr inbounds [3 x i32], ptr %405, i64 0, i64 2
%407 = load i32, ptr %406, align 4
%408 = icmp eq i32 %402, %407
br i1 %408, label %409, label %491
409: ; preds = %397
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %19, ptr align 16 @__const.main.niz_godina.9, i64 48, i1 false)
%410 = load i32, ptr %3, align 4
%411 = sext i32 %410 to i64
%412 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %411
%413 = getelementptr inbounds [3 x i32], ptr %412, i64 0, i64 0
%414 = load i32, ptr %413, align 4
%415 = load i32, ptr %5, align 4
%416 = sext i32 %415 to i64
%417 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %416
%418 = getelementptr inbounds [3 x i32], ptr %417, i64 0, i64 0
%419 = load i32, ptr %418, align 4
%420 = sub nsw i32 %414, %419
%421 = call i32 @abs(i32 noundef %420) #4
store i32 %421, ptr %13, align 4
store i32 0, ptr %4, align 4
%422 = load i32, ptr %4, align 4
%423 = load i32, ptr %3, align 4
%424 = sext i32 %423 to i64
%425 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %424
%426 = getelementptr inbounds [3 x i32], ptr %425, i64 0, i64 1
%427 = load i32, ptr %426, align 4
%428 = sub nsw i32 %427, 1
%429 = icmp slt i32 %422, %428
br i1 %429, label %.lr.ph8, label %448
.lr.ph8: ; preds = %409
br label %430
430: ; preds = %.lr.ph8, %437
%431 = load i32, ptr %4, align 4
%432 = sext i32 %431 to i64
%433 = getelementptr inbounds [12 x i32], ptr %19, i64 0, i64 %432
%434 = load i32, ptr %433, align 4
%435 = load i32, ptr %11, align 4
%436 = add nsw i32 %435, %434
store i32 %436, ptr %11, align 4
br label %437
437: ; preds = %430
%438 = load i32, ptr %4, align 4
%439 = add nsw i32 %438, 1
store i32 %439, ptr %4, align 4
%440 = load i32, ptr %4, align 4
%441 = load i32, ptr %3, align 4
%442 = sext i32 %441 to i64
%443 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %442
%444 = getelementptr inbounds [3 x i32], ptr %443, i64 0, i64 1
%445 = load i32, ptr %444, align 4
%446 = sub nsw i32 %445, 1
%447 = icmp slt i32 %440, %446
br i1 %447, label %430, label %._crit_edge9, !llvm.loop !13
._crit_edge9: ; preds = %437
br label %448
448: ; preds = %._crit_edge9, %409
store i32 0, ptr %4, align 4
%449 = load i32, ptr %4, align 4
%450 = load i32, ptr %5, align 4
%451 = sext i32 %450 to i64
%452 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %451
%453 = getelementptr inbounds [3 x i32], ptr %452, i64 0, i64 1
%454 = load i32, ptr %453, align 4
%455 = sub nsw i32 %454, 1
%456 = icmp slt i32 %449, %455
br i1 %456, label %.lr.ph11, label %475
.lr.ph11: ; preds = %448
br label %457
457: ; preds = %.lr.ph11, %464
%458 = load i32, ptr %4, align 4
%459 = sext i32 %458 to i64
%460 = getelementptr inbounds [12 x i32], ptr %19, i64 0, i64 %459
%461 = load i32, ptr %460, align 4
%462 = load i32, ptr %12, align 4
%463 = add nsw i32 %462, %461
store i32 %463, ptr %12, align 4
br label %464
464: ; preds = %457
%465 = load i32, ptr %4, align 4
%466 = add nsw i32 %465, 1
store i32 %466, ptr %4, align 4
%467 = load i32, ptr %4, align 4
%468 = load i32, ptr %5, align 4
%469 = sext i32 %468 to i64
%470 = getelementptr inbounds [1000 x [3 x i32]], ptr %15, i64 0, i64 %469
%471 = getelementptr inbounds [3 x i32], ptr %470, i64 0, i64 1
%472 = load i32, ptr %471, align 4
%473 = sub nsw i32 %472, 1
%474 = icmp slt i32 %467, %473
br i1 %474, label %457, label %._crit_edge12, !llvm.loop !14
._crit_edge12: ; preds = %464
br label %475
475: ; preds = %._crit_edge12, %448
%476 = load i32, ptr %13, align 4
%477 = load i32, ptr %11, align 4
%478 = load i32, ptr %12, align 4
%479 = sub nsw i32 %477, %478
%480 = call i32 @abs(i32 noundef %479) #4
%481 = add nsw i32 %476, %480
store i32 %481, ptr %14, align 4
%482 = load i32, ptr %14, align 4
%483 = icmp eq i32 %482, 100
br i1 %483, label %484, label %490
484: ; preds = %475
%485 = load i32, ptr %3, align 4
%486 = add nsw i32 %485, 1
%487 = load i32, ptr %5, align 4
%488 = add nsw i32 %487, 1
%489 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %486, i32 noundef %488)
store i32 0, ptr %13, align 4
store i32 0, ptr %12, align 4
store i32 0, ptr %11, align 4
store i32 0, ptr %14, align 4
br label %490
490: ; preds = %484, %475
br label %491
491: ; preds = %490, %397
br label %492
492: ; preds = %491, %396
br label %493
493: ; preds = %492
%494 = load i32, ptr %5, align 4
%495 = add nsw i32 %494, 1
store i32 %495, ptr %5, align 4
%496 = load i32, ptr %5, align 4
%497 = load i32, ptr %2, align 4
%498 = icmp slt i32 %496, %497
br i1 %498, label %278, label %._crit_edge21, !llvm.loop !15
._crit_edge21: ; preds = %493
br label %499
499: ; preds = %._crit_edge21, %272
br label %500
500: ; preds = %499
%501 = load i32, ptr %3, align 4
%502 = add nsw i32 %501, 1
store i32 %502, ptr %3, align 4
%503 = load i32, ptr %3, align 4
%504 = load i32, ptr %2, align 4
%505 = icmp slt i32 %503, %504
br i1 %505, label %272, label %._crit_edge24, !llvm.loop !16
._crit_edge24: ; preds = %500
br label %506
506: ; preds = %._crit_edge24, %268
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
; Function Attrs: nounwind willreturn memory(none)
declare i32 @abs(i32 noundef) #3
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: readwrite) }
attributes #3 = { nounwind willreturn memory(none) "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 = { nounwind 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}
|
; ModuleID = '/tmp/tmpzta74uwv.c'
source_filename = "/tmp/tmpzta74uwv.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/tmpzta74uwv.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/tmp5uyxdesp.c'
source_filename = "/tmp/tmp5uyxdesp.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 @copy_int32_t(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
ret i32 %3
}
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5uyxdesp.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 @copy_int32_t(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
ret i32 %3
}
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"}
|
; ModuleID = '/tmp/tmp2hn7gyol.c'
source_filename = "/tmp/tmp2hn7gyol.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 @foo(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %13, %1
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 5
br i1 %6, label %7, label %16
7: ; preds = %4
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %2, align 4
%10 = icmp eq i32 %8, %9
br i1 %10, label %11, label %12
11: ; preds = %7
br label %21
12: ; preds = %7
br label %13
13: ; preds = %12
%14 = load i32, ptr %3, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %3, align 4
br label %4, !llvm.loop !6
16: ; preds = %4
%17 = load i32, ptr %3, align 4
%18 = icmp eq i32 %17, 1
br i1 %18, label %19, label %23
19: ; preds = %16
br label %20
20: ; preds = %19
br label %21
21: ; preds = %20, %11
%22 = call i32 (...) @abort() #2
unreachable
23: ; preds = %16
br label %24
24: ; preds = %23
%25 = load i32, ptr %3, align 4
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %30
27: ; preds = %24
br label %28
28: ; preds = %27
%29 = call i32 (...) @abort() #2
unreachable
30: ; preds = %24
ret i32 0
}
; Function Attrs: noreturn
declare i32 @abort(...) #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 = { 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 #2 = { 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/tmp2hn7gyol.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 @foo(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp slt i32 %4, 5
br i1 %5, label %.lr.ph, label %17
.lr.ph: ; preds = %1
br label %6
6: ; preds = %.lr.ph, %12
%7 = load i32, ptr %3, align 4
%8 = load i32, ptr %2, align 4
%9 = icmp eq i32 %7, %8
br i1 %9, label %10, label %11
10: ; preds = %6
br label %22
11: ; preds = %6
br label %12
12: ; preds = %11
%13 = load i32, ptr %3, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %3, align 4
%15 = load i32, ptr %3, align 4
%16 = icmp slt i32 %15, 5
br i1 %16, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %12
br label %17
17: ; preds = %._crit_edge, %1
%18 = load i32, ptr %3, align 4
%19 = icmp eq i32 %18, 1
br i1 %19, label %20, label %24
20: ; preds = %17
br label %21
21: ; preds = %20
br label %22
22: ; preds = %21, %10
%23 = call i32 (...) @abort() #2
unreachable
24: ; preds = %17
br label %25
25: ; preds = %24
%26 = load i32, ptr %3, align 4
%27 = icmp eq i32 %26, 0
br i1 %27, label %28, label %31
28: ; preds = %25
br label %29
29: ; preds = %28
%30 = call i32 (...) @abort() #2
unreachable
31: ; preds = %25
ret i32 0
}
; Function Attrs: noreturn
declare i32 @abort(...) #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 = { 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 #2 = { 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/tmpo7m2mu4e.c'
source_filename = "/tmp/tmpo7m2mu4e.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"
@__const.main.a1 = private unnamed_addr constant [3 x i32] [i32 1, i32 2, i32 0], align 4
@__const.main.a2 = private unnamed_addr constant [4 x i32] [i32 3, i32 4, i32 -1, i32 1], align 16
@.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() #0 {
%1 = alloca i32, align 4
%2 = alloca [3 x i32], align 4
%3 = alloca [4 x i32], align 16
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %2, ptr align 4 @__const.main.a1, i64 12, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.a2, i64 16, i1 false)
%4 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 0
%5 = call i32 @firstMissingPositive(ptr noundef %4, i32 noundef 3)
%6 = call i32 @printf(ptr noundef @.str, i32 noundef %5)
%7 = getelementptr inbounds [4 x i32], ptr %3, i64 0, i64 0
%8 = call i32 @firstMissingPositive(ptr noundef %7, i32 noundef 4)
%9 = call i32 @printf(ptr noundef @.str, i32 noundef %8)
ret i32 0
}
; 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 @printf(ptr noundef, i32 noundef) #2
declare i32 @firstMissingPositive(ptr noundef, 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: 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpo7m2mu4e.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"
@__const.main.a1 = private unnamed_addr constant [3 x i32] [i32 1, i32 2, i32 0], align 4
@__const.main.a2 = private unnamed_addr constant [4 x i32] [i32 3, i32 4, i32 -1, i32 1], align 16
@.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() #0 {
%1 = alloca i32, align 4
%2 = alloca [3 x i32], align 4
%3 = alloca [4 x i32], align 16
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %2, ptr align 4 @__const.main.a1, i64 12, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.a2, i64 16, i1 false)
%4 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 0
%5 = call i32 @firstMissingPositive(ptr noundef %4, i32 noundef 3)
%6 = call i32 @printf(ptr noundef @.str, i32 noundef %5)
%7 = getelementptr inbounds [4 x i32], ptr %3, i64 0, i64 0
%8 = call i32 @firstMissingPositive(ptr noundef %7, i32 noundef 4)
%9 = call i32 @printf(ptr noundef @.str, i32 noundef %8)
ret i32 0
}
; 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 @printf(ptr noundef, i32 noundef) #2
declare i32 @firstMissingPositive(ptr noundef, 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: 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"}
|
; ModuleID = '/tmp/tmpbkbj6vod.c'
source_filename = "/tmp/tmpbkbj6vod.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"
@stdin = dso_local global ptr null, align 8
@.str = private unnamed_addr constant [2 x i8] c"r\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 = load i32, ptr %4, align 4
%8 = icmp eq i32 %7, 1
br i1 %8, label %9, label %13
9: ; preds = %2
%10 = load ptr, ptr @stdin, align 8
store ptr %10, ptr %6, align 8
%11 = load ptr, ptr %6, align 8
%12 = call i32 @RmComment(ptr noundef %11)
br label %30
13: ; preds = %2
br label %14
14: ; preds = %17, %13
%15 = load i32, ptr %4, align 4
%16 = icmp sgt i32 %15, 1
br i1 %16, label %17, label %29
17: ; preds = %14
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i32 1
store ptr %19, ptr %5, align 8
%20 = load i32, ptr %4, align 4
%21 = add nsw i32 %20, -1
store i32 %21, ptr %4, align 4
%22 = load ptr, ptr %5, align 8
%23 = load ptr, ptr %22, align 8
%24 = call ptr @fopen(ptr noundef %23, ptr noundef @.str)
store ptr %24, ptr %6, align 8
%25 = load ptr, ptr %6, align 8
%26 = call i32 @RmComment(ptr noundef %25)
%27 = load ptr, ptr %6, align 8
%28 = call i32 @close(ptr noundef %27)
br label %14, !llvm.loop !6
29: ; preds = %14
br label %30
30: ; preds = %29, %9
ret i32 0
}
declare i32 @RmComment(ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @close(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/tmpbkbj6vod.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"
@stdin = dso_local global ptr null, align 8
@.str = private unnamed_addr constant [2 x i8] c"r\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 = load i32, ptr %4, align 4
%8 = icmp eq i32 %7, 1
br i1 %8, label %9, label %13
9: ; preds = %2
%10 = load ptr, ptr @stdin, align 8
store ptr %10, ptr %6, align 8
%11 = load ptr, ptr %6, align 8
%12 = call i32 @RmComment(ptr noundef %11)
br label %31
13: ; preds = %2
%14 = load i32, ptr %4, align 4
%15 = icmp sgt i32 %14, 1
br i1 %15, label %.lr.ph, label %30
.lr.ph: ; preds = %13
br label %16
16: ; preds = %.lr.ph, %16
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i32 1
store ptr %18, ptr %5, align 8
%19 = load i32, ptr %4, align 4
%20 = add nsw i32 %19, -1
store i32 %20, ptr %4, align 4
%21 = load ptr, ptr %5, align 8
%22 = load ptr, ptr %21, align 8
%23 = call ptr @fopen(ptr noundef %22, ptr noundef @.str)
store ptr %23, ptr %6, align 8
%24 = load ptr, ptr %6, align 8
%25 = call i32 @RmComment(ptr noundef %24)
%26 = load ptr, ptr %6, align 8
%27 = call i32 @close(ptr noundef %26)
%28 = load i32, ptr %4, align 4
%29 = icmp sgt i32 %28, 1
br i1 %29, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %30
30: ; preds = %._crit_edge, %13
br label %31
31: ; preds = %30, %9
ret i32 0
}
declare i32 @RmComment(ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @close(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/tmpvp8ox_cx.c'
source_filename = "/tmp/tmpvp8ox_cx.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"
@INT_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @multimerge(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, 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
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
store ptr %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
store i32 0, ptr %9, align 4
store i32 0, ptr %10, align 4
%14 = load i32, ptr %7, align 4
%15 = call ptr @calloc(i32 noundef %14, i32 noundef 8)
store ptr %15, ptr %13, align 8
%16 = load ptr, ptr %13, align 8
%17 = icmp eq ptr %16, null
br i1 %17, label %18, label %19
18: ; preds = %4
br label %95
19: ; preds = %4
br label %20
20: ; preds = %19, %78
%21 = load i32, ptr @INT_MAX, align 4
store i32 %21, ptr %11, align 4
store i32 -1, ptr %12, align 4
store i32 0, ptr %10, align 4
br label %22
22: ; preds = %71, %20
%23 = load i32, ptr %10, align 4
%24 = load i32, ptr %7, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %26, label %74
26: ; preds = %22
%27 = load ptr, ptr %13, align 8
%28 = load i32, ptr %10, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i64, ptr %27, i64 %29
%31 = load i64, ptr %30, align 8
%32 = load ptr, ptr %6, align 8
%33 = load i32, ptr %10, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i32, ptr %32, i64 %34
%36 = load i32, ptr %35, align 4
%37 = sext i32 %36 to i64
%38 = icmp slt i64 %31, %37
br i1 %38, label %39, label %70
39: ; preds = %26
%40 = load ptr, ptr %5, align 8
%41 = load i32, ptr %10, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds ptr, ptr %40, i64 %42
%44 = load ptr, ptr %43, align 8
%45 = load ptr, ptr %13, align 8
%46 = load i32, ptr %10, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i64, ptr %45, i64 %47
%49 = load i64, ptr %48, align 8
%50 = getelementptr inbounds i64, ptr %44, i64 %49
%51 = load i64, ptr %50, align 8
%52 = load i32, ptr %11, align 4
%53 = sext i32 %52 to i64
%54 = icmp slt i64 %51, %53
br i1 %54, label %55, label %70
55: ; preds = %39
%56 = load ptr, ptr %5, align 8
%57 = load i32, ptr %10, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds ptr, ptr %56, i64 %58
%60 = load ptr, ptr %59, align 8
%61 = load ptr, ptr %13, align 8
%62 = load i32, ptr %10, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds i64, ptr %61, i64 %63
%65 = load i64, ptr %64, align 8
%66 = getelementptr inbounds i64, ptr %60, i64 %65
%67 = load i64, ptr %66, align 8
%68 = trunc i64 %67 to i32
store i32 %68, ptr %11, align 4
%69 = load i32, ptr %10, align 4
store i32 %69, ptr %12, align 4
br label %70
70: ; preds = %55, %39, %26
br label %71
71: ; preds = %70
%72 = load i32, ptr %10, align 4
%73 = add nsw i32 %72, 1
store i32 %73, ptr %10, align 4
br label %22, !llvm.loop !6
74: ; preds = %22
%75 = load i32, ptr %12, align 4
%76 = icmp eq i32 %75, -1
br i1 %76, label %77, label %78
77: ; preds = %74
br label %92
78: ; preds = %74
%79 = load i32, ptr %11, align 4
%80 = sext i32 %79 to i64
%81 = load ptr, ptr %8, align 8
%82 = load i32, ptr %9, align 4
%83 = add nsw i32 %82, 1
store i32 %83, ptr %9, align 4
%84 = sext i32 %82 to i64
%85 = getelementptr inbounds i64, ptr %81, i64 %84
store i64 %80, ptr %85, align 8
%86 = load ptr, ptr %13, align 8
%87 = load i32, ptr %12, align 4
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds i64, ptr %86, i64 %88
%90 = load i64, ptr %89, align 8
%91 = add nsw i64 %90, 1
store i64 %91, ptr %89, align 8
br label %20
92: ; preds = %77
%93 = load ptr, ptr %13, align 8
%94 = call i32 @free(ptr noundef %93)
br label %95
95: ; preds = %92, %18
ret void
}
declare ptr @calloc(i32 noundef, i32 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" }
!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/tmpvp8ox_cx.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"
@INT_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @multimerge(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, 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
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
store ptr %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
store i32 0, ptr %9, align 4
store i32 0, ptr %10, align 4
%14 = load i32, ptr %7, align 4
%15 = call ptr @calloc(i32 noundef %14, i32 noundef 8)
store ptr %15, ptr %13, align 8
%16 = load ptr, ptr %13, align 8
%17 = icmp eq ptr %16, null
br i1 %17, label %18, label %19
18: ; preds = %4
br label %97
19: ; preds = %4
br label %20
20: ; preds = %80, %19
%21 = load i32, ptr @INT_MAX, align 4
store i32 %21, ptr %11, align 4
store i32 -1, ptr %12, align 4
store i32 0, ptr %10, align 4
%22 = load i32, ptr %10, align 4
%23 = load i32, ptr %7, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %.lr.ph, label %76
.lr.ph: ; preds = %20
br label %25
25: ; preds = %.lr.ph, %70
%26 = load ptr, ptr %13, align 8
%27 = load i32, ptr %10, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i64, ptr %26, i64 %28
%30 = load i64, ptr %29, align 8
%31 = load ptr, ptr %6, align 8
%32 = load i32, ptr %10, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i32, ptr %31, i64 %33
%35 = load i32, ptr %34, align 4
%36 = sext i32 %35 to i64
%37 = icmp slt i64 %30, %36
br i1 %37, label %38, label %69
38: ; preds = %25
%39 = load ptr, ptr %5, align 8
%40 = load i32, ptr %10, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds ptr, ptr %39, i64 %41
%43 = load ptr, ptr %42, align 8
%44 = load ptr, ptr %13, align 8
%45 = load i32, ptr %10, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i64, ptr %44, i64 %46
%48 = load i64, ptr %47, align 8
%49 = getelementptr inbounds i64, ptr %43, i64 %48
%50 = load i64, ptr %49, align 8
%51 = load i32, ptr %11, align 4
%52 = sext i32 %51 to i64
%53 = icmp slt i64 %50, %52
br i1 %53, label %54, label %69
54: ; preds = %38
%55 = load ptr, ptr %5, align 8
%56 = load i32, ptr %10, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds ptr, ptr %55, i64 %57
%59 = load ptr, ptr %58, align 8
%60 = load ptr, ptr %13, align 8
%61 = load i32, ptr %10, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds i64, ptr %60, i64 %62
%64 = load i64, ptr %63, align 8
%65 = getelementptr inbounds i64, ptr %59, i64 %64
%66 = load i64, ptr %65, align 8
%67 = trunc i64 %66 to i32
store i32 %67, ptr %11, align 4
%68 = load i32, ptr %10, align 4
store i32 %68, ptr %12, align 4
br label %69
69: ; preds = %54, %38, %25
br label %70
70: ; preds = %69
%71 = load i32, ptr %10, align 4
%72 = add nsw i32 %71, 1
store i32 %72, ptr %10, align 4
%73 = load i32, ptr %10, align 4
%74 = load i32, ptr %7, align 4
%75 = icmp slt i32 %73, %74
br i1 %75, label %25, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %70
br label %76
76: ; preds = %._crit_edge, %20
%77 = load i32, ptr %12, align 4
%78 = icmp eq i32 %77, -1
br i1 %78, label %79, label %80
79: ; preds = %76
br label %94
80: ; preds = %76
%81 = load i32, ptr %11, align 4
%82 = sext i32 %81 to i64
%83 = load ptr, ptr %8, align 8
%84 = load i32, ptr %9, align 4
%85 = add nsw i32 %84, 1
store i32 %85, ptr %9, align 4
%86 = sext i32 %84 to i64
%87 = getelementptr inbounds i64, ptr %83, i64 %86
store i64 %82, ptr %87, align 8
%88 = load ptr, ptr %13, align 8
%89 = load i32, ptr %12, align 4
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds i64, ptr %88, i64 %90
%92 = load i64, ptr %91, align 8
%93 = add nsw i64 %92, 1
store i64 %93, ptr %91, align 8
br label %20
94: ; preds = %79
%95 = load ptr, ptr %13, align 8
%96 = call i32 @free(ptr noundef %95)
br label %97
97: ; preds = %94, %18
ret void
}
declare ptr @calloc(i32 noundef, i32 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" }
!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/tmp8yvu89aq.c'
source_filename = "/tmp/tmp8yvu89aq.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 [9 x i8] c"<>.,+-[]\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @bf_minimize_file(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i8, align 1
store ptr %0, ptr %2, align 8
store ptr @.str, ptr %3, align 8
store i32 0, ptr %5, align 4
%8 = load ptr, ptr %2, align 8
%9 = call i32 @strlen(ptr noundef %8)
store i32 %9, ptr %6, align 4
store i32 0, ptr %4, align 4
br label %10
10: ; preds = %33, %1
%11 = load i32, ptr %4, align 4
%12 = load i32, ptr %6, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %36
14: ; preds = %10
%15 = load ptr, ptr %2, align 8
%16 = load i32, ptr %4, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
%19 = load i8, ptr %18, align 1
store i8 %19, ptr %7, align 1
%20 = load ptr, ptr %3, align 8
%21 = load i8, ptr %7, align 1
%22 = call i64 @strchr(ptr noundef %20, i8 noundef signext %21)
%23 = icmp ne i64 %22, 0
br i1 %23, label %24, label %32
24: ; preds = %14
%25 = load i8, ptr %7, align 1
%26 = load ptr, ptr %2, align 8
%27 = load i32, ptr %5, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %26, i64 %28
store i8 %25, ptr %29, align 1
%30 = load i32, ptr %5, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %5, align 4
br label %32
32: ; preds = %24, %14
br label %33
33: ; preds = %32
%34 = load i32, ptr %4, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %4, align 4
br label %10, !llvm.loop !6
36: ; preds = %10
%37 = load ptr, ptr %2, align 8
%38 = load i32, ptr %5, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i8, ptr %37, i64 %39
store i8 0, ptr %40, align 1
%41 = load ptr, ptr %2, align 8
%42 = load i32, ptr %5, align 4
%43 = add nsw i32 %42, 1
%44 = call ptr @realloc(ptr noundef %41, i32 noundef %43)
store ptr %44, ptr %2, align 8
%45 = load ptr, ptr %2, align 8
ret ptr %45
}
declare i32 @strlen(ptr noundef) #1
declare i64 @strchr(ptr noundef, i8 noundef signext) #1
declare ptr @realloc(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/tmp8yvu89aq.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 [9 x i8] c"<>.,+-[]\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @bf_minimize_file(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i8, align 1
store ptr %0, ptr %2, align 8
store ptr @.str, ptr %3, align 8
store i32 0, ptr %5, align 4
%8 = load ptr, ptr %2, align 8
%9 = call i32 @strlen(ptr noundef %8)
store i32 %9, ptr %6, align 4
store i32 0, ptr %4, align 4
%10 = load i32, ptr %4, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %.lr.ph, label %38
.lr.ph: ; preds = %1
br label %13
13: ; preds = %.lr.ph, %32
%14 = load ptr, ptr %2, align 8
%15 = load i32, ptr %4, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
%18 = load i8, ptr %17, align 1
store i8 %18, ptr %7, align 1
%19 = load ptr, ptr %3, align 8
%20 = load i8, ptr %7, align 1
%21 = call i64 @strchr(ptr noundef %19, i8 noundef signext %20)
%22 = icmp ne i64 %21, 0
br i1 %22, label %23, label %31
23: ; preds = %13
%24 = load i8, ptr %7, align 1
%25 = load ptr, ptr %2, align 8
%26 = load i32, ptr %5, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %25, i64 %27
store i8 %24, ptr %28, align 1
%29 = load i32, ptr %5, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %5, align 4
br label %31
31: ; preds = %23, %13
br label %32
32: ; preds = %31
%33 = load i32, ptr %4, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %4, align 4
%35 = load i32, ptr %4, align 4
%36 = load i32, ptr %6, align 4
%37 = icmp slt i32 %35, %36
br i1 %37, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %32
br label %38
38: ; preds = %._crit_edge, %1
%39 = load ptr, ptr %2, align 8
%40 = load i32, ptr %5, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i8, ptr %39, i64 %41
store i8 0, ptr %42, align 1
%43 = load ptr, ptr %2, align 8
%44 = load i32, ptr %5, align 4
%45 = add nsw i32 %44, 1
%46 = call ptr @realloc(ptr noundef %43, i32 noundef %45)
store ptr %46, ptr %2, align 8
%47 = load ptr, ptr %2, align 8
ret ptr %47
}
declare i32 @strlen(ptr noundef) #1
declare i64 @strchr(ptr noundef, i8 noundef signext) #1
declare ptr @realloc(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/tmpzvcw8j5m.c'
source_filename = "/tmp/tmpzvcw8j5m.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 [2 x i8] c"p\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"g\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"d\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"l\00", align 1
@.str.6 = private unnamed_addr constant [2 x i8] c"s\00", align 1
@.str.7 = private unnamed_addr constant [2 x i8] c"q\00", align 1
@.str.8 = private unnamed_addr constant [27 x i8] c"Invalid input, try again.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @process_input(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
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr @.str, ptr %9, align 8
%12 = load ptr, ptr %5, align 8
%13 = load ptr, ptr %9, align 8
%14 = call ptr @strtok(ptr noundef %12, ptr noundef %13)
store ptr %14, ptr %7, align 8
%15 = load ptr, ptr %7, align 8
%16 = call i32 @strcmp(ptr noundef %15, ptr noundef @.str.1)
%17 = icmp ne i32 %16, 0
br i1 %17, label %19, label %18
18: ; preds = %2
store i32 0, ptr %8, align 4
store i32 2, ptr %6, align 4
br label %60
19: ; preds = %2
%20 = load ptr, ptr %7, align 8
%21 = call i32 @strcmp(ptr noundef %20, ptr noundef @.str.2)
%22 = icmp ne i32 %21, 0
br i1 %22, label %24, label %23
23: ; preds = %19
store i32 1, ptr %8, align 4
store i32 1, ptr %6, align 4
br label %59
24: ; preds = %19
%25 = load ptr, ptr %7, align 8
%26 = call i32 @strcmp(ptr noundef %25, ptr noundef @.str.3)
%27 = icmp ne i32 %26, 0
br i1 %27, label %29, label %28
28: ; preds = %24
store i32 2, ptr %8, align 4
store i32 2, ptr %6, align 4
br label %58
29: ; preds = %24
%30 = load ptr, ptr %7, align 8
%31 = call i32 @strcmp(ptr noundef %30, ptr noundef @.str.4)
%32 = icmp ne i32 %31, 0
br i1 %32, label %34, label %33
33: ; preds = %29
store i32 3, ptr %8, align 4
store i32 1, ptr %6, align 4
br label %57
34: ; preds = %29
%35 = load ptr, ptr %7, align 8
%36 = call i32 @strcmp(ptr noundef %35, ptr noundef @.str.5)
%37 = icmp ne i32 %36, 0
br i1 %37, label %39, label %38
38: ; preds = %34
store i32 4, ptr %8, align 4
store i32 1, ptr %6, align 4
br label %56
39: ; preds = %34
%40 = load ptr, ptr %7, align 8
%41 = call i32 @strcmp(ptr noundef %40, ptr noundef @.str.6)
%42 = icmp ne i32 %41, 0
br i1 %42, label %44, label %43
43: ; preds = %39
store i32 5, ptr %8, align 4
store i32 0, ptr %6, align 4
br label %55
44: ; preds = %39
%45 = load ptr, ptr %7, align 8
%46 = call i32 @strcmp(ptr noundef %45, ptr noundef @.str.7)
%47 = icmp ne i32 %46, 0
br i1 %47, label %51, label %48
48: ; preds = %44
%49 = load ptr, ptr %4, align 8
%50 = call i32 @quit(ptr noundef %49)
store i32 1, ptr %3, align 4
br label %133
51: ; preds = %44
%52 = call i32 @printf(ptr noundef @.str.8)
%53 = load ptr, ptr %5, align 8
%54 = call i32 @free(ptr noundef %53)
store i32 1, ptr %3, align 4
br label %133
55: ; preds = %43
br label %56
56: ; preds = %55, %38
br label %57
57: ; preds = %56, %33
br label %58
58: ; preds = %57, %28
br label %59
59: ; preds = %58, %23
br label %60
60: ; preds = %59, %18
%61 = load i32, ptr %6, align 4
%62 = sext i32 %61 to i64
%63 = mul i64 %62, 8
%64 = trunc i64 %63 to i32
%65 = call i64 @malloc(i32 noundef %64)
%66 = inttoptr i64 %65 to ptr
store ptr %66, ptr %10, align 8
store i32 0, ptr %11, align 4
br label %67
67: ; preds = %79, %60
%68 = load i32, ptr %11, align 4
%69 = load i32, ptr %6, align 4
%70 = icmp slt i32 %68, %69
br i1 %70, label %71, label %82
71: ; preds = %67
%72 = load ptr, ptr %9, align 8
%73 = call ptr @strtok(ptr noundef null, ptr noundef %72)
%74 = call ptr @strdup(ptr noundef %73)
%75 = load ptr, ptr %10, align 8
%76 = load i32, ptr %11, align 4
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds ptr, ptr %75, i64 %77
store ptr %74, ptr %78, align 8
br label %79
79: ; preds = %71
%80 = load i32, ptr %11, align 4
%81 = add nsw i32 %80, 1
store i32 %81, ptr %11, align 4
br label %67, !llvm.loop !6
82: ; preds = %67
%83 = load i32, ptr %8, align 4
switch i32 %83, label %132 [
i32 0, label %84
i32 1, label %95
i32 2, label %102
i32 3, label %113
i32 4, label %120
i32 5, label %126
i32 6, label %129
]
84: ; preds = %82
%85 = load ptr, ptr %4, align 8
%86 = load ptr, ptr %10, align 8
%87 = getelementptr inbounds ptr, ptr %86, i64 0
%88 = load ptr, ptr %87, align 8
%89 = call i32 @atoi(ptr noundef %88)
%90 = load ptr, ptr %10, align 8
%91 = getelementptr inbounds ptr, ptr %90, i64 1
%92 = load ptr, ptr %91, align 8
%93 = call i32 @atoi(ptr noundef %92)
%94 = call i32 @put(ptr noundef %85, i32 noundef %89, i32 noundef %93)
br label %132
95: ; preds = %82
%96 = load ptr, ptr %4, align 8
%97 = load ptr, ptr %10, align 8
%98 = getelementptr inbounds ptr, ptr %97, i64 0
%99 = load ptr, ptr %98, align 8
%100 = call i32 @atoi(ptr noundef %99)
%101 = call i32 @get(ptr noundef %96, i32 noundef %100)
br label %132
102: ; preds = %82
%103 = load ptr, ptr %4, align 8
%104 = load ptr, ptr %10, align 8
%105 = getelementptr inbounds ptr, ptr %104, i64 0
%106 = load ptr, ptr %105, align 8
%107 = call i32 @atoi(ptr noundef %106)
%108 = load ptr, ptr %10, align 8
%109 = getelementptr inbounds ptr, ptr %108, i64 1
%110 = load ptr, ptr %109, align 8
%111 = call i32 @atoi(ptr noundef %110)
%112 = call i32 @range(ptr noundef %103, i32 noundef %107, i32 noundef %111)
br label %132
113: ; preds = %82
%114 = load ptr, ptr %4, align 8
%115 = load ptr, ptr %10, align 8
%116 = getelementptr inbounds ptr, ptr %115, i64 0
%117 = load ptr, ptr %116, align 8
%118 = call i32 @atoi(ptr noundef %117)
%119 = call i32 @delete(ptr noundef %114, i32 noundef %118)
br label %132
120: ; preds = %82
%121 = load ptr, ptr %4, align 8
%122 = load ptr, ptr %10, align 8
%123 = getelementptr inbounds ptr, ptr %122, i64 0
%124 = load ptr, ptr %123, align 8
%125 = call i32 @load(ptr noundef %121, ptr noundef %124)
br label %132
126: ; preds = %82
%127 = load ptr, ptr %4, align 8
%128 = call i32 @stat(ptr noundef %127)
br label %132
129: ; preds = %82
%130 = load ptr, ptr %4, align 8
%131 = call i32 @quit(ptr noundef %130)
br label %132
132: ; preds = %82, %129, %126, %120, %113, %102, %95, %84
store i32 0, ptr %3, align 4
br label %133
133: ; preds = %132, %51, %48
%134 = load i32, ptr %3, align 4
ret i32 %134
}
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @quit(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare ptr @strdup(ptr noundef) #1
declare i32 @put(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @get(ptr noundef, i32 noundef) #1
declare i32 @range(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @delete(ptr noundef, i32 noundef) #1
declare i32 @load(ptr noundef, ptr noundef) #1
declare i32 @stat(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/tmpzvcw8j5m.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 [2 x i8] c"p\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"g\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"d\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"l\00", align 1
@.str.6 = private unnamed_addr constant [2 x i8] c"s\00", align 1
@.str.7 = private unnamed_addr constant [2 x i8] c"q\00", align 1
@.str.8 = private unnamed_addr constant [27 x i8] c"Invalid input, try again.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @process_input(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
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr @.str, ptr %9, align 8
%12 = load ptr, ptr %5, align 8
%13 = load ptr, ptr %9, align 8
%14 = call ptr @strtok(ptr noundef %12, ptr noundef %13)
store ptr %14, ptr %7, align 8
%15 = load ptr, ptr %7, align 8
%16 = call i32 @strcmp(ptr noundef %15, ptr noundef @.str.1)
%17 = icmp ne i32 %16, 0
br i1 %17, label %19, label %18
18: ; preds = %2
store i32 0, ptr %8, align 4
store i32 2, ptr %6, align 4
br label %60
19: ; preds = %2
%20 = load ptr, ptr %7, align 8
%21 = call i32 @strcmp(ptr noundef %20, ptr noundef @.str.2)
%22 = icmp ne i32 %21, 0
br i1 %22, label %24, label %23
23: ; preds = %19
store i32 1, ptr %8, align 4
store i32 1, ptr %6, align 4
br label %59
24: ; preds = %19
%25 = load ptr, ptr %7, align 8
%26 = call i32 @strcmp(ptr noundef %25, ptr noundef @.str.3)
%27 = icmp ne i32 %26, 0
br i1 %27, label %29, label %28
28: ; preds = %24
store i32 2, ptr %8, align 4
store i32 2, ptr %6, align 4
br label %58
29: ; preds = %24
%30 = load ptr, ptr %7, align 8
%31 = call i32 @strcmp(ptr noundef %30, ptr noundef @.str.4)
%32 = icmp ne i32 %31, 0
br i1 %32, label %34, label %33
33: ; preds = %29
store i32 3, ptr %8, align 4
store i32 1, ptr %6, align 4
br label %57
34: ; preds = %29
%35 = load ptr, ptr %7, align 8
%36 = call i32 @strcmp(ptr noundef %35, ptr noundef @.str.5)
%37 = icmp ne i32 %36, 0
br i1 %37, label %39, label %38
38: ; preds = %34
store i32 4, ptr %8, align 4
store i32 1, ptr %6, align 4
br label %56
39: ; preds = %34
%40 = load ptr, ptr %7, align 8
%41 = call i32 @strcmp(ptr noundef %40, ptr noundef @.str.6)
%42 = icmp ne i32 %41, 0
br i1 %42, label %44, label %43
43: ; preds = %39
store i32 5, ptr %8, align 4
store i32 0, ptr %6, align 4
br label %55
44: ; preds = %39
%45 = load ptr, ptr %7, align 8
%46 = call i32 @strcmp(ptr noundef %45, ptr noundef @.str.7)
%47 = icmp ne i32 %46, 0
br i1 %47, label %51, label %48
48: ; preds = %44
%49 = load ptr, ptr %4, align 8
%50 = call i32 @quit(ptr noundef %49)
store i32 1, ptr %3, align 4
br label %135
51: ; preds = %44
%52 = call i32 @printf(ptr noundef @.str.8)
%53 = load ptr, ptr %5, align 8
%54 = call i32 @free(ptr noundef %53)
store i32 1, ptr %3, align 4
br label %135
55: ; preds = %43
br label %56
56: ; preds = %55, %38
br label %57
57: ; preds = %56, %33
br label %58
58: ; preds = %57, %28
br label %59
59: ; preds = %58, %23
br label %60
60: ; preds = %59, %18
%61 = load i32, ptr %6, align 4
%62 = sext i32 %61 to i64
%63 = mul i64 %62, 8
%64 = trunc i64 %63 to i32
%65 = call i64 @malloc(i32 noundef %64)
%66 = inttoptr i64 %65 to ptr
store ptr %66, ptr %10, align 8
store i32 0, ptr %11, align 4
%67 = load i32, ptr %11, align 4
%68 = load i32, ptr %6, align 4
%69 = icmp slt i32 %67, %68
br i1 %69, label %.lr.ph, label %84
.lr.ph: ; preds = %60
br label %70
70: ; preds = %.lr.ph, %78
%71 = load ptr, ptr %9, align 8
%72 = call ptr @strtok(ptr noundef null, ptr noundef %71)
%73 = call ptr @strdup(ptr noundef %72)
%74 = load ptr, ptr %10, align 8
%75 = load i32, ptr %11, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds ptr, ptr %74, i64 %76
store ptr %73, ptr %77, align 8
br label %78
78: ; preds = %70
%79 = load i32, ptr %11, align 4
%80 = add nsw i32 %79, 1
store i32 %80, ptr %11, align 4
%81 = load i32, ptr %11, align 4
%82 = load i32, ptr %6, align 4
%83 = icmp slt i32 %81, %82
br i1 %83, label %70, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %78
br label %84
84: ; preds = %._crit_edge, %60
%85 = load i32, ptr %8, align 4
switch i32 %85, label %134 [
i32 0, label %86
i32 1, label %97
i32 2, label %104
i32 3, label %115
i32 4, label %122
i32 5, label %128
i32 6, label %131
]
86: ; preds = %84
%87 = load ptr, ptr %4, align 8
%88 = load ptr, ptr %10, align 8
%89 = getelementptr inbounds ptr, ptr %88, i64 0
%90 = load ptr, ptr %89, align 8
%91 = call i32 @atoi(ptr noundef %90)
%92 = load ptr, ptr %10, align 8
%93 = getelementptr inbounds ptr, ptr %92, i64 1
%94 = load ptr, ptr %93, align 8
%95 = call i32 @atoi(ptr noundef %94)
%96 = call i32 @put(ptr noundef %87, i32 noundef %91, i32 noundef %95)
br label %134
97: ; preds = %84
%98 = load ptr, ptr %4, align 8
%99 = load ptr, ptr %10, align 8
%100 = getelementptr inbounds ptr, ptr %99, i64 0
%101 = load ptr, ptr %100, align 8
%102 = call i32 @atoi(ptr noundef %101)
%103 = call i32 @get(ptr noundef %98, i32 noundef %102)
br label %134
104: ; preds = %84
%105 = load ptr, ptr %4, align 8
%106 = load ptr, ptr %10, align 8
%107 = getelementptr inbounds ptr, ptr %106, i64 0
%108 = load ptr, ptr %107, align 8
%109 = call i32 @atoi(ptr noundef %108)
%110 = load ptr, ptr %10, align 8
%111 = getelementptr inbounds ptr, ptr %110, i64 1
%112 = load ptr, ptr %111, align 8
%113 = call i32 @atoi(ptr noundef %112)
%114 = call i32 @range(ptr noundef %105, i32 noundef %109, i32 noundef %113)
br label %134
115: ; preds = %84
%116 = load ptr, ptr %4, align 8
%117 = load ptr, ptr %10, align 8
%118 = getelementptr inbounds ptr, ptr %117, i64 0
%119 = load ptr, ptr %118, align 8
%120 = call i32 @atoi(ptr noundef %119)
%121 = call i32 @delete(ptr noundef %116, i32 noundef %120)
br label %134
122: ; preds = %84
%123 = load ptr, ptr %4, align 8
%124 = load ptr, ptr %10, align 8
%125 = getelementptr inbounds ptr, ptr %124, i64 0
%126 = load ptr, ptr %125, align 8
%127 = call i32 @load(ptr noundef %123, ptr noundef %126)
br label %134
128: ; preds = %84
%129 = load ptr, ptr %4, align 8
%130 = call i32 @stat(ptr noundef %129)
br label %134
131: ; preds = %84
%132 = load ptr, ptr %4, align 8
%133 = call i32 @quit(ptr noundef %132)
br label %134
134: ; preds = %131, %128, %122, %115, %104, %97, %86, %84
store i32 0, ptr %3, align 4
br label %135
135: ; preds = %134, %51, %48
%136 = load i32, ptr %3, align 4
ret i32 %136
}
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @quit(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare ptr @strdup(ptr noundef) #1
declare i32 @put(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @get(ptr noundef, i32 noundef) #1
declare i32 @range(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @delete(ptr noundef, i32 noundef) #1
declare i32 @load(ptr noundef, ptr noundef) #1
declare i32 @stat(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/tmp85md53yj.c'
source_filename = "/tmp/tmp85md53yj.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"
@RAND_MAX = dso_local global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @layermap(double noundef %0, double noundef %1, double noundef %2) #0 {
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca double, align 8
store double %0, ptr %4, align 8
store double %1, ptr %5, align 8
store double %2, ptr %6, align 8
%12 = load double, ptr %4, align 8
%13 = fptosi double %12 to i32
store i32 %13, ptr %7, align 4
%14 = load double, ptr %5, align 8
%15 = fptosi double %14 to i32
store i32 %15, ptr %8, align 4
%16 = load i32, ptr %7, align 4
%17 = sub nsw i32 %16, 1
%18 = load i32, ptr %8, align 4
%19 = srem i32 %17, %18
%20 = add nsw i32 %19, 1
store i32 %20, ptr %9, align 4
%21 = load double, ptr %6, align 8
%22 = load i32, ptr %8, align 4
%23 = sitofp i32 %22 to double
%24 = fdiv double %21, %23
%25 = call double (...) @rand()
%26 = fmul double %24, %25
%27 = load double, ptr @RAND_MAX, align 8
%28 = fdiv double %26, %27
%29 = fptosi double %28 to i32
store i32 %29, ptr %10, align 4
%30 = load i32, ptr %7, align 4
%31 = icmp eq i32 %30, 0
br i1 %31, label %32, label %38
32: ; preds = %3
%33 = load i32, ptr %10, align 4
%34 = load i32, ptr %8, align 4
%35 = mul nsw i32 %33, %34
%36 = add nsw i32 %35, 1
%37 = sitofp i32 %36 to double
store double %37, ptr %11, align 8
br label %53
38: ; preds = %3
%39 = load i32, ptr %9, align 4
%40 = load i32, ptr %8, align 4
%41 = icmp slt i32 %39, %40
br i1 %41, label %42, label %50
42: ; preds = %38
%43 = load i32, ptr %10, align 4
%44 = load i32, ptr %8, align 4
%45 = mul nsw i32 %43, %44
%46 = load i32, ptr %9, align 4
%47 = add nsw i32 %45, %46
%48 = add nsw i32 %47, 1
%49 = sitofp i32 %48 to double
store double %49, ptr %11, align 8
br label %52
50: ; preds = %38
%51 = load double, ptr %6, align 8
store double %51, ptr %11, align 8
br label %52
52: ; preds = %50, %42
br label %53
53: ; preds = %52, %32
%54 = load double, ptr %11, align 8
ret double %54
}
declare double @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/tmp85md53yj.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"
@RAND_MAX = dso_local global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @layermap(double noundef %0, double noundef %1, double noundef %2) #0 {
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca double, align 8
store double %0, ptr %4, align 8
store double %1, ptr %5, align 8
store double %2, ptr %6, align 8
%12 = load double, ptr %4, align 8
%13 = fptosi double %12 to i32
store i32 %13, ptr %7, align 4
%14 = load double, ptr %5, align 8
%15 = fptosi double %14 to i32
store i32 %15, ptr %8, align 4
%16 = load i32, ptr %7, align 4
%17 = sub nsw i32 %16, 1
%18 = load i32, ptr %8, align 4
%19 = srem i32 %17, %18
%20 = add nsw i32 %19, 1
store i32 %20, ptr %9, align 4
%21 = load double, ptr %6, align 8
%22 = load i32, ptr %8, align 4
%23 = sitofp i32 %22 to double
%24 = fdiv double %21, %23
%25 = call double (...) @rand()
%26 = fmul double %24, %25
%27 = load double, ptr @RAND_MAX, align 8
%28 = fdiv double %26, %27
%29 = fptosi double %28 to i32
store i32 %29, ptr %10, align 4
%30 = load i32, ptr %7, align 4
%31 = icmp eq i32 %30, 0
br i1 %31, label %32, label %38
32: ; preds = %3
%33 = load i32, ptr %10, align 4
%34 = load i32, ptr %8, align 4
%35 = mul nsw i32 %33, %34
%36 = add nsw i32 %35, 1
%37 = sitofp i32 %36 to double
store double %37, ptr %11, align 8
br label %53
38: ; preds = %3
%39 = load i32, ptr %9, align 4
%40 = load i32, ptr %8, align 4
%41 = icmp slt i32 %39, %40
br i1 %41, label %42, label %50
42: ; preds = %38
%43 = load i32, ptr %10, align 4
%44 = load i32, ptr %8, align 4
%45 = mul nsw i32 %43, %44
%46 = load i32, ptr %9, align 4
%47 = add nsw i32 %45, %46
%48 = add nsw i32 %47, 1
%49 = sitofp i32 %48 to double
store double %49, ptr %11, align 8
br label %52
50: ; preds = %38
%51 = load double, ptr %6, align 8
store double %51, ptr %11, align 8
br label %52
52: ; preds = %50, %42
br label %53
53: ; preds = %52, %32
%54 = load double, ptr %11, align 8
ret double %54
}
declare double @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/tmpar7v__5z.c'
source_filename = "/tmp/tmpar7v__5z.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"
@SQLITE_IOCAP_ATOMIC = dso_local global i32 0, align 4
@SQLITE_IOCAP_POWERSAFE_OVERWRITE = dso_local global i32 0, align 4
@SQLITE_IOCAP_SAFE_APPEND = dso_local global i32 0, align 4
@SQLITE_IOCAP_SEQUENTIAL = 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/tmpar7v__5z.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"
@SQLITE_IOCAP_ATOMIC = dso_local global i32 0, align 4
@SQLITE_IOCAP_POWERSAFE_OVERWRITE = dso_local global i32 0, align 4
@SQLITE_IOCAP_SAFE_APPEND = dso_local global i32 0, align 4
@SQLITE_IOCAP_SEQUENTIAL = 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/tmp7uquzz40.c'
source_filename = "/tmp/tmp7uquzz40.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\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 [100 x i32], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 0, ptr %1, align 4
%10 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
store i32 0, ptr %4, align 4
%11 = load i32, ptr %2, align 4
%12 = sub nsw i32 %11, 1
store i32 %12, ptr %5, align 4
%13 = load i32, ptr %2, align 4
%14 = zext i32 %13 to i64
%15 = call ptr @llvm.stacksave()
store ptr %15, ptr %6, align 8
%16 = alloca i32, i64 %14, align 16
store i64 %14, ptr %7, align 8
%17 = load i32, ptr %4, align 4
store i32 %17, ptr %8, align 4
br label %18
18: ; preds = %44, %0
%19 = load i32, ptr %8, align 4
%20 = load i32, ptr %2, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %22, label %47
22: ; preds = %18
%23 = load i32, ptr %4, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 %24
%26 = call i32 @scanf(ptr noundef @.str, ptr noundef %25)
%27 = load i32, ptr %4, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 %28
%30 = load i32, ptr %29, align 4
%31 = srem i32 %30, 2
%32 = icmp ne i32 %31, 0
br i1 %32, label %33, label %43
33: ; preds = %22
%34 = load i32, ptr %4, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 %35
%37 = load i32, ptr %36, align 4
%38 = load i32, ptr %8, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i32, ptr %16, i64 %39
store i32 %37, ptr %40, align 4
%41 = load i32, ptr %8, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %8, align 4
br label %43
43: ; preds = %33, %22
br label %44
44: ; preds = %43
%45 = load i32, ptr %4, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %4, align 4
br label %18, !llvm.loop !6
47: ; preds = %18
store i32 0, ptr %4, align 4
br label %48
48: ; preds = %64, %47
%49 = load i32, ptr %4, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i32, ptr %16, i64 %50
%52 = load i32, ptr %51, align 4
%53 = load i32, ptr %5, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i32, ptr %16, i64 %54
%56 = load i32, ptr %55, align 4
%57 = sub nsw i32 %52, %56
store i32 %57, ptr %9, align 4
%58 = load i32, ptr %9, align 4
%59 = call i32 @printf(ptr noundef @.str.1, i32 noundef %58)
%60 = load i32, ptr %5, align 4
%61 = add nsw i32 %60, -1
store i32 %61, ptr %5, align 4
%62 = load i32, ptr %4, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %4, align 4
br label %64
64: ; preds = %48
%65 = load i32, ptr %4, align 4
%66 = load i32, ptr %2, align 4
%67 = sdiv i32 %66, 2
%68 = icmp slt i32 %65, %67
br i1 %68, label %48, label %69, !llvm.loop !8
69: ; preds = %64
%70 = load i32, ptr %2, align 4
%71 = srem i32 %70, 2
%72 = icmp ne i32 %71, 0
br i1 %72, label %73, label %80
73: ; preds = %69
%74 = load i32, ptr %2, align 4
%75 = sdiv i32 %74, 2
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds i32, ptr %16, i64 %76
%78 = load i32, ptr %77, align 4
%79 = call i32 @printf(ptr noundef @.str.1, i32 noundef %78)
br label %80
80: ; preds = %73, %69
store i32 0, ptr %1, align 4
%81 = load ptr, ptr %6, align 8
call void @llvm.stackrestore(ptr %81)
%82 = load i32, ptr %1, align 4
ret i32 %82
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @printf(ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #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 willreturn }
!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/tmp7uquzz40.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\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 [100 x i32], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 0, ptr %1, align 4
%10 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
store i32 0, ptr %4, align 4
%11 = load i32, ptr %2, align 4
%12 = sub nsw i32 %11, 1
store i32 %12, ptr %5, align 4
%13 = load i32, ptr %2, align 4
%14 = zext i32 %13 to i64
%15 = call ptr @llvm.stacksave()
store ptr %15, ptr %6, align 8
%16 = alloca i32, i64 %14, align 16
store i64 %14, ptr %7, align 8
%17 = load i32, ptr %4, align 4
store i32 %17, ptr %8, align 4
%18 = load i32, ptr %8, align 4
%19 = load i32, ptr %2, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %.lr.ph, label %49
.lr.ph: ; preds = %0
br label %21
21: ; preds = %.lr.ph, %43
%22 = load i32, ptr %4, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 %23
%25 = call i32 @scanf(ptr noundef @.str, ptr noundef %24)
%26 = load i32, ptr %4, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 %27
%29 = load i32, ptr %28, align 4
%30 = srem i32 %29, 2
%31 = icmp ne i32 %30, 0
br i1 %31, label %32, label %42
32: ; preds = %21
%33 = load i32, ptr %4, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 %34
%36 = load i32, ptr %35, align 4
%37 = load i32, ptr %8, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i32, ptr %16, i64 %38
store i32 %36, ptr %39, align 4
%40 = load i32, ptr %8, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %8, align 4
br label %42
42: ; preds = %32, %21
br label %43
43: ; preds = %42
%44 = load i32, ptr %4, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %4, align 4
%46 = load i32, ptr %8, align 4
%47 = load i32, ptr %2, align 4
%48 = icmp slt i32 %46, %47
br i1 %48, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %43
br label %49
49: ; preds = %._crit_edge, %0
store i32 0, ptr %4, align 4
br label %50
50: ; preds = %66, %49
%51 = load i32, ptr %4, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds i32, ptr %16, i64 %52
%54 = load i32, ptr %53, align 4
%55 = load i32, ptr %5, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i32, ptr %16, i64 %56
%58 = load i32, ptr %57, align 4
%59 = sub nsw i32 %54, %58
store i32 %59, ptr %9, align 4
%60 = load i32, ptr %9, align 4
%61 = call i32 @printf(ptr noundef @.str.1, i32 noundef %60)
%62 = load i32, ptr %5, align 4
%63 = add nsw i32 %62, -1
store i32 %63, ptr %5, align 4
%64 = load i32, ptr %4, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %4, align 4
br label %66
66: ; preds = %50
%67 = load i32, ptr %4, align 4
%68 = load i32, ptr %2, align 4
%69 = sdiv i32 %68, 2
%70 = icmp slt i32 %67, %69
br i1 %70, label %50, label %71, !llvm.loop !8
71: ; preds = %66
%72 = load i32, ptr %2, align 4
%73 = srem i32 %72, 2
%74 = icmp ne i32 %73, 0
br i1 %74, label %75, label %82
75: ; preds = %71
%76 = load i32, ptr %2, align 4
%77 = sdiv i32 %76, 2
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds i32, ptr %16, i64 %78
%80 = load i32, ptr %79, align 4
%81 = call i32 @printf(ptr noundef @.str.1, i32 noundef %80)
br label %82
82: ; preds = %75, %71
store i32 0, ptr %1, align 4
%83 = load ptr, ptr %6, align 8
call void @llvm.stackrestore(ptr %83)
%84 = load i32, ptr %1, align 4
ret i32 %84
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @printf(ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #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 willreturn }
!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/tmpkmavul64.c'
source_filename = "/tmp/tmpkmavul64.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 @h_flip_index(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = zext i32 %3 to i64
%5 = shl i64 1, %4
%6 = load i32, ptr %2, align 4
%7 = call i32 @h_to_line(i64 noundef %5, i32 noundef %6)
%8 = call i32 @first_one(i32 noundef %7)
ret i32 %8
}
declare i32 @first_one(i32 noundef) #1
declare i32 @h_to_line(i64 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/tmpkmavul64.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 @h_flip_index(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = zext i32 %3 to i64
%5 = shl i64 1, %4
%6 = load i32, ptr %2, align 4
%7 = call i32 @h_to_line(i64 noundef %5, i32 noundef %6)
%8 = call i32 @first_one(i32 noundef %7)
ret i32 %8
}
declare i32 @first_one(i32 noundef) #1
declare i32 @h_to_line(i64 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/tmpvb0r1uz6.c'
source_filename = "/tmp/tmpvb0r1uz6.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"
@ENOSYS = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @cfs_stub_lockf(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i32, ptr @ENOSYS, align 4
store i32 %7, ptr @errno, align 4
ret i32 -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" }
!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/tmpvb0r1uz6.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"
@ENOSYS = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @cfs_stub_lockf(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i32, ptr @ENOSYS, align 4
store i32 %7, ptr @errno, align 4
ret i32 -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" }
!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_xcd1gb4.c'
source_filename = "/tmp/tmp_xcd1gb4.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"%4d\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 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 [1000 x i32], align 16
%7 = alloca i32, align 4
%8 = 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 0, ptr %7, align 4
br label %9
9: ; preds = %16, %2
%10 = load i32, ptr %7, align 4
%11 = icmp slt i32 %10, 1000
br i1 %11, label %12, label %19
12: ; preds = %9
%13 = load i32, ptr %7, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds [1000 x i32], ptr %6, i64 0, i64 %14
store i32 1, ptr %15, align 4
br label %16
16: ; preds = %12
%17 = load i32, ptr %7, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %7, align 4
br label %9, !llvm.loop !6
19: ; preds = %9
%20 = getelementptr inbounds [1000 x i32], ptr %6, i64 0, i64 0
store i32 0, ptr %20, align 16
%21 = getelementptr inbounds [1000 x i32], ptr %6, i64 0, i64 1
store i32 0, ptr %21, align 4
store i32 2, ptr %8, align 4
br label %22
22: ; preds = %44, %19
%23 = load i32, ptr %8, align 4
%24 = icmp slt i32 %23, 100
br i1 %24, label %25, label %47
25: ; preds = %22
%26 = load i32, ptr %8, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %7, align 4
br label %28
28: ; preds = %41, %25
%29 = load i32, ptr %7, align 4
%30 = icmp slt i32 %29, 1000
br i1 %30, label %31, label %44
31: ; preds = %28
%32 = load i32, ptr %7, align 4
%33 = load i32, ptr %8, align 4
%34 = srem i32 %32, %33
%35 = icmp eq i32 %34, 0
br i1 %35, label %36, label %40
36: ; preds = %31
%37 = load i32, ptr %7, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds [1000 x i32], ptr %6, i64 0, i64 %38
store i32 0, ptr %39, align 4
br label %40
40: ; preds = %36, %31
br label %41
41: ; preds = %40
%42 = load i32, ptr %7, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %7, align 4
br label %28, !llvm.loop !8
44: ; preds = %28
%45 = load i32, ptr %8, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %8, align 4
br label %22, !llvm.loop !9
47: ; preds = %22
store i32 0, ptr %8, align 4
store i32 0, ptr %7, align 4
br label %48
48: ; preds = %69, %47
%49 = load i32, ptr %7, align 4
%50 = icmp slt i32 %49, 1000
br i1 %50, label %51, label %72
51: ; preds = %48
%52 = load i32, ptr %7, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds [1000 x i32], ptr %6, i64 0, i64 %53
%55 = load i32, ptr %54, align 4
%56 = icmp eq i32 %55, 1
br i1 %56, label %57, label %68
57: ; preds = %51
%58 = load i32, ptr %7, align 4
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %58)
%60 = load i32, ptr %8, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %8, align 4
%62 = load i32, ptr %8, align 4
%63 = srem i32 %62, 10
%64 = icmp eq i32 %63, 0
br i1 %64, label %65, label %67
65: ; preds = %57
%66 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %67
67: ; preds = %65, %57
br label %68
68: ; preds = %67, %51
br label %69
69: ; preds = %68
%70 = load i32, ptr %7, align 4
%71 = add nsw i32 %70, 1
store i32 %71, ptr %7, align 4
br label %48, !llvm.loop !10
72: ; preds = %48
%73 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret i32 0
}
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}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_xcd1gb4.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"%4d\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 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 [1000 x i32], align 16
%7 = alloca i32, align 4
%8 = 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 0, ptr %7, align 4
%9 = load i32, ptr %7, align 4
%10 = icmp slt i32 %9, 1000
br i1 %10, label %.lr.ph, label %20
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %15
%12 = load i32, ptr %7, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds [1000 x i32], ptr %6, i64 0, i64 %13
store i32 1, ptr %14, align 4
br label %15
15: ; preds = %11
%16 = load i32, ptr %7, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %7, align 4
%18 = load i32, ptr %7, align 4
%19 = icmp slt i32 %18, 1000
br i1 %19, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %20
20: ; preds = %._crit_edge, %2
%21 = getelementptr inbounds [1000 x i32], ptr %6, i64 0, i64 0
store i32 0, ptr %21, align 16
%22 = getelementptr inbounds [1000 x i32], ptr %6, i64 0, i64 1
store i32 0, ptr %22, align 4
store i32 2, ptr %8, align 4
%23 = load i32, ptr %8, align 4
%24 = icmp slt i32 %23, 100
br i1 %24, label %.lr.ph5, label %50
.lr.ph5: ; preds = %20
br label %25
25: ; preds = %.lr.ph5, %45
%26 = load i32, ptr %8, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %7, align 4
%28 = load i32, ptr %7, align 4
%29 = icmp slt i32 %28, 1000
br i1 %29, label %.lr.ph2, label %45
.lr.ph2: ; preds = %25
br label %30
30: ; preds = %.lr.ph2, %40
%31 = load i32, ptr %7, align 4
%32 = load i32, ptr %8, align 4
%33 = srem i32 %31, %32
%34 = icmp eq i32 %33, 0
br i1 %34, label %35, label %39
35: ; preds = %30
%36 = load i32, ptr %7, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds [1000 x i32], ptr %6, i64 0, i64 %37
store i32 0, ptr %38, align 4
br label %39
39: ; preds = %35, %30
br label %40
40: ; preds = %39
%41 = load i32, ptr %7, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %7, align 4
%43 = load i32, ptr %7, align 4
%44 = icmp slt i32 %43, 1000
br i1 %44, label %30, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %40
br label %45
45: ; preds = %._crit_edge3, %25
%46 = load i32, ptr %8, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %8, align 4
%48 = load i32, ptr %8, align 4
%49 = icmp slt i32 %48, 100
br i1 %49, label %25, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %45
br label %50
50: ; preds = %._crit_edge6, %20
store i32 0, ptr %8, align 4
store i32 0, ptr %7, align 4
%51 = load i32, ptr %7, align 4
%52 = icmp slt i32 %51, 1000
br i1 %52, label %.lr.ph8, label %76
.lr.ph8: ; preds = %50
br label %53
53: ; preds = %.lr.ph8, %71
%54 = load i32, ptr %7, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds [1000 x i32], ptr %6, i64 0, i64 %55
%57 = load i32, ptr %56, align 4
%58 = icmp eq i32 %57, 1
br i1 %58, label %59, label %70
59: ; preds = %53
%60 = load i32, ptr %7, align 4
%61 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %60)
%62 = load i32, ptr %8, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %8, align 4
%64 = load i32, ptr %8, align 4
%65 = srem i32 %64, 10
%66 = icmp eq i32 %65, 0
br i1 %66, label %67, label %69
67: ; preds = %59
%68 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %69
69: ; preds = %67, %59
br label %70
70: ; preds = %69, %53
br label %71
71: ; preds = %70
%72 = load i32, ptr %7, align 4
%73 = add nsw i32 %72, 1
store i32 %73, ptr %7, align 4
%74 = load i32, ptr %7, align 4
%75 = icmp slt i32 %74, 1000
br i1 %75, label %53, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %71
br label %76
76: ; preds = %._crit_edge9, %50
%77 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret i32 0
}
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}
|
; ModuleID = '/tmp/tmph6my2bxv.c'
source_filename = "/tmp/tmph6my2bxv.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 { i32 }
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [43 x i8] c"\0AERROR (%s): Invalid number of arguments.\0A\00", align 1
@.str.1 = private unnamed_addr constant [46 x i8] c" Usage: &% %s <user id> <file list>\0A\00", align 1
@.str.2 = private unnamed_addr constant [47 x i8] c" or: &% %s <username> <file list>\0A\0A\00", align 1
@.str.3 = private unnamed_addr constant [52 x i8] c" Example: &% %s builduser file1 file2 file3\0A\00", align 1
@.str.4 = private unnamed_addr constant [97 x i8] c" will perform the equivalent of % chown builduser:<unchanged> file1 file2 file3\0A\0A\00", align 1
@.str.5 = private unnamed_addr constant [9 x i8] c"getpwnam\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [36 x i8] c"\0AERROR (%s): lchown %s %i failed. \0A\00", align 1
@.str.7 = private unnamed_addr constant [10 x i8] c"errno=%s\0A\00", align 1
@errno = 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 ptr, align 8
%9 = 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
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %10, 3
br i1 %11, label %12, label %36
12: ; preds = %2
%13 = load i32, ptr @stderr, align 4
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 0
%16 = load ptr, ptr %15, align 8
%17 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %13, ptr noundef @.str, ptr noundef %16)
%18 = load i32, ptr @stderr, align 4
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 0
%21 = load ptr, ptr %20, align 8
%22 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %18, ptr noundef @.str.1, ptr noundef %21)
%23 = load i32, ptr @stderr, align 4
%24 = load ptr, ptr %5, align 8
%25 = getelementptr inbounds ptr, ptr %24, i64 0
%26 = load ptr, ptr %25, align 8
%27 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %23, ptr noundef @.str.2, ptr noundef %26)
%28 = load i32, ptr @stderr, align 4
%29 = load ptr, ptr %5, align 8
%30 = getelementptr inbounds ptr, ptr %29, i64 0
%31 = load ptr, ptr %30, align 8
%32 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %28, ptr noundef @.str.3, ptr noundef %31)
%33 = load i32, ptr @stderr, align 4
%34 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %33, ptr noundef @.str.4)
%35 = call i32 @exit(i32 noundef 1) #3
unreachable
36: ; preds = %2
%37 = load ptr, ptr %5, align 8
%38 = getelementptr inbounds ptr, ptr %37, i64 1
%39 = load ptr, ptr %38, align 8
%40 = call i32 @strtol(ptr noundef %39, ptr noundef %9, i32 noundef 10)
store i32 %40, ptr %7, align 4
%41 = load ptr, ptr %9, align 8
%42 = load i8, ptr %41, align 1
%43 = sext i8 %42 to i32
%44 = icmp ne i32 %43, 0
br i1 %44, label %45, label %60
45: ; preds = %36
%46 = load ptr, ptr %5, align 8
%47 = getelementptr inbounds ptr, ptr %46, i64 1
%48 = load ptr, ptr %47, align 8
%49 = call ptr @getpwnam(ptr noundef %48)
store ptr %49, ptr %8, align 8
%50 = load ptr, ptr %8, align 8
%51 = icmp eq ptr %50, null
br i1 %51, label %52, label %56
52: ; preds = %45
%53 = call i32 @perror(ptr noundef @.str.5)
%54 = load i32, ptr @EXIT_FAILURE, align 4
%55 = call i32 @exit(i32 noundef %54) #3
unreachable
56: ; preds = %45
%57 = load ptr, ptr %8, align 8
%58 = getelementptr inbounds %struct.passwd, ptr %57, i32 0, i32 0
%59 = load i32, ptr %58, align 4
store i32 %59, ptr %7, align 4
br label %60
60: ; preds = %56, %36
store i32 2, ptr %6, align 4
br label %61
61: ; preds = %101, %60
%62 = load ptr, ptr %5, align 8
%63 = load i32, ptr %6, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds ptr, ptr %62, i64 %64
%66 = load ptr, ptr %65, align 8
%67 = icmp ne ptr %66, null
br i1 %67, label %68, label %104
68: ; preds = %61
%69 = load ptr, ptr %5, align 8
%70 = load i32, ptr %6, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds ptr, ptr %69, i64 %71
%73 = load ptr, ptr %72, align 8
%74 = load i32, ptr %7, align 4
%75 = call i32 @lchown(ptr noundef %73, i32 noundef %74, i32 noundef -1)
%76 = load ptr, ptr %5, align 8
%77 = load i32, ptr %6, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds ptr, ptr %76, i64 %78
%80 = load ptr, ptr %79, align 8
%81 = load i32, ptr %7, align 4
%82 = call i32 @lchown(ptr noundef %80, i32 noundef %81, i32 noundef -1)
%83 = icmp eq i32 %82, -1
br i1 %83, label %84, label %100
84: ; preds = %68
%85 = load i32, ptr @stderr, align 4
%86 = load ptr, ptr %5, align 8
%87 = getelementptr inbounds ptr, ptr %86, i64 0
%88 = load ptr, ptr %87, align 8
%89 = load ptr, ptr %5, align 8
%90 = load i32, ptr %6, align 4
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds ptr, ptr %89, i64 %91
%93 = load ptr, ptr %92, align 8
%94 = load i32, ptr %7, align 4
%95 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %85, ptr noundef @.str.6, ptr noundef %88, ptr noundef %93, i32 noundef %94)
%96 = load i32, ptr @stderr, align 4
%97 = load i32, ptr @errno, align 4
%98 = call ptr @strerror(i32 noundef %97)
%99 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %96, ptr noundef @.str.7, ptr noundef %98)
br label %100
100: ; preds = %84, %68
br label %101
101: ; preds = %100
%102 = load i32, ptr %6, align 4
%103 = add nsw i32 %102, 1
store i32 %103, ptr %6, align 4
br label %61, !llvm.loop !6
104: ; preds = %61
ret i32 0
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @getpwnam(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @lchown(ptr 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmph6my2bxv.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 { i32 }
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [43 x i8] c"\0AERROR (%s): Invalid number of arguments.\0A\00", align 1
@.str.1 = private unnamed_addr constant [46 x i8] c" Usage: &% %s <user id> <file list>\0A\00", align 1
@.str.2 = private unnamed_addr constant [47 x i8] c" or: &% %s <username> <file list>\0A\0A\00", align 1
@.str.3 = private unnamed_addr constant [52 x i8] c" Example: &% %s builduser file1 file2 file3\0A\00", align 1
@.str.4 = private unnamed_addr constant [97 x i8] c" will perform the equivalent of % chown builduser:<unchanged> file1 file2 file3\0A\0A\00", align 1
@.str.5 = private unnamed_addr constant [9 x i8] c"getpwnam\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [36 x i8] c"\0AERROR (%s): lchown %s %i failed. \0A\00", align 1
@.str.7 = private unnamed_addr constant [10 x i8] c"errno=%s\0A\00", align 1
@errno = 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 ptr, align 8
%9 = 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
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %10, 3
br i1 %11, label %12, label %36
12: ; preds = %2
%13 = load i32, ptr @stderr, align 4
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 0
%16 = load ptr, ptr %15, align 8
%17 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %13, ptr noundef @.str, ptr noundef %16)
%18 = load i32, ptr @stderr, align 4
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 0
%21 = load ptr, ptr %20, align 8
%22 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %18, ptr noundef @.str.1, ptr noundef %21)
%23 = load i32, ptr @stderr, align 4
%24 = load ptr, ptr %5, align 8
%25 = getelementptr inbounds ptr, ptr %24, i64 0
%26 = load ptr, ptr %25, align 8
%27 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %23, ptr noundef @.str.2, ptr noundef %26)
%28 = load i32, ptr @stderr, align 4
%29 = load ptr, ptr %5, align 8
%30 = getelementptr inbounds ptr, ptr %29, i64 0
%31 = load ptr, ptr %30, align 8
%32 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %28, ptr noundef @.str.3, ptr noundef %31)
%33 = load i32, ptr @stderr, align 4
%34 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %33, ptr noundef @.str.4)
%35 = call i32 @exit(i32 noundef 1) #3
unreachable
36: ; preds = %2
%37 = load ptr, ptr %5, align 8
%38 = getelementptr inbounds ptr, ptr %37, i64 1
%39 = load ptr, ptr %38, align 8
%40 = call i32 @strtol(ptr noundef %39, ptr noundef %9, i32 noundef 10)
store i32 %40, ptr %7, align 4
%41 = load ptr, ptr %9, align 8
%42 = load i8, ptr %41, align 1
%43 = sext i8 %42 to i32
%44 = icmp ne i32 %43, 0
br i1 %44, label %45, label %60
45: ; preds = %36
%46 = load ptr, ptr %5, align 8
%47 = getelementptr inbounds ptr, ptr %46, i64 1
%48 = load ptr, ptr %47, align 8
%49 = call ptr @getpwnam(ptr noundef %48)
store ptr %49, ptr %8, align 8
%50 = load ptr, ptr %8, align 8
%51 = icmp eq ptr %50, null
br i1 %51, label %52, label %56
52: ; preds = %45
%53 = call i32 @perror(ptr noundef @.str.5)
%54 = load i32, ptr @EXIT_FAILURE, align 4
%55 = call i32 @exit(i32 noundef %54) #3
unreachable
56: ; preds = %45
%57 = load ptr, ptr %8, align 8
%58 = getelementptr inbounds %struct.passwd, ptr %57, i32 0, i32 0
%59 = load i32, ptr %58, align 4
store i32 %59, ptr %7, align 4
br label %60
60: ; preds = %56, %36
store i32 2, ptr %6, align 4
%61 = load ptr, ptr %5, align 8
%62 = load i32, ptr %6, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds ptr, ptr %61, i64 %63
%65 = load ptr, ptr %64, align 8
%66 = icmp ne ptr %65, null
br i1 %66, label %.lr.ph, label %109
.lr.ph: ; preds = %60
br label %67
67: ; preds = %.lr.ph, %100
%68 = load ptr, ptr %5, align 8
%69 = load i32, ptr %6, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds ptr, ptr %68, i64 %70
%72 = load ptr, ptr %71, align 8
%73 = load i32, ptr %7, align 4
%74 = call i32 @lchown(ptr noundef %72, i32 noundef %73, i32 noundef -1)
%75 = load ptr, ptr %5, align 8
%76 = load i32, ptr %6, align 4
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds ptr, ptr %75, i64 %77
%79 = load ptr, ptr %78, align 8
%80 = load i32, ptr %7, align 4
%81 = call i32 @lchown(ptr noundef %79, i32 noundef %80, i32 noundef -1)
%82 = icmp eq i32 %81, -1
br i1 %82, label %83, label %99
83: ; preds = %67
%84 = load i32, ptr @stderr, align 4
%85 = load ptr, ptr %5, align 8
%86 = getelementptr inbounds ptr, ptr %85, i64 0
%87 = load ptr, ptr %86, align 8
%88 = load ptr, ptr %5, align 8
%89 = load i32, ptr %6, align 4
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds ptr, ptr %88, i64 %90
%92 = load ptr, ptr %91, align 8
%93 = load i32, ptr %7, align 4
%94 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %84, ptr noundef @.str.6, ptr noundef %87, ptr noundef %92, i32 noundef %93)
%95 = load i32, ptr @stderr, align 4
%96 = load i32, ptr @errno, align 4
%97 = call ptr @strerror(i32 noundef %96)
%98 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %95, ptr noundef @.str.7, ptr noundef %97)
br label %99
99: ; preds = %83, %67
br label %100
100: ; preds = %99
%101 = load i32, ptr %6, align 4
%102 = add nsw i32 %101, 1
store i32 %102, ptr %6, align 4
%103 = load ptr, ptr %5, align 8
%104 = load i32, ptr %6, align 4
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds ptr, ptr %103, i64 %105
%107 = load ptr, ptr %106, align 8
%108 = icmp ne ptr %107, null
br i1 %108, label %67, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %100
br label %109
109: ; preds = %._crit_edge, %60
ret i32 0
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @getpwnam(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @lchown(ptr 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmphoe0o_ak.c'
source_filename = "/tmp/tmphoe0o_ak.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"hello world: %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
store i32 42, ptr %2, align 4
br label %3
3: ; preds = %6, %0
%4 = load i32, ptr %2, align 4
%5 = icmp slt i32 %4, 10000000
br i1 %5, label %6, label %13
6: ; preds = %3
%7 = load i32, ptr %2, align 4
%8 = call i64 @printf(ptr noundef @.str, i32 noundef %7)
%9 = load i32, ptr %2, align 4
%10 = sext i32 %9 to i64
%11 = add nsw i64 %10, %8
%12 = trunc i64 %11 to i32
store i32 %12, ptr %2, align 4
br label %3, !llvm.loop !6
13: ; preds = %3
%14 = load i32, ptr %1, align 4
ret i32 %14
}
declare i64 @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/tmphoe0o_ak.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"hello world: %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
store i32 42, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp slt i32 %3, 10000000
br i1 %4, label %.lr.ph, label %14
.lr.ph: ; preds = %0
br label %5
5: ; preds = %.lr.ph, %5
%6 = load i32, ptr %2, align 4
%7 = call i64 @printf(ptr noundef @.str, i32 noundef %6)
%8 = load i32, ptr %2, align 4
%9 = sext i32 %8 to i64
%10 = add nsw i64 %9, %7
%11 = trunc i64 %10 to i32
store i32 %11, ptr %2, align 4
%12 = load i32, ptr %2, align 4
%13 = icmp slt i32 %12, 10000000
br i1 %13, label %5, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %5
br label %14
14: ; preds = %._crit_edge, %0
%15 = load i32, ptr %1, align 4
ret i32 %15
}
declare i64 @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/tmpqjpa6y6b.c'
source_filename = "/tmp/tmpqjpa6y6b.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"
@EAGAIN = dso_local global i32 0, align 4
@EINTR = dso_local global i32 0, align 4
@EIO = dso_local global i32 0, align 4
@FD_CLOEXEC = dso_local global i32 0, align 4
@F_GETFD = dso_local global i32 0, align 4
@F_SETFD = dso_local global i32 0, align 4
@O_RDONLY = dso_local global i32 0, align 4
@RNDGETENTCNT = dso_local global i32 0, align 4
@errno = 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/tmpqjpa6y6b.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"
@EAGAIN = dso_local global i32 0, align 4
@EINTR = dso_local global i32 0, align 4
@EIO = dso_local global i32 0, align 4
@FD_CLOEXEC = dso_local global i32 0, align 4
@F_GETFD = dso_local global i32 0, align 4
@F_SETFD = dso_local global i32 0, align 4
@O_RDONLY = dso_local global i32 0, align 4
@RNDGETENTCNT = dso_local global i32 0, align 4
@errno = 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/tmpg89x25qr.c'
source_filename = "/tmp/tmpg89x25qr.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/tmpg89x25qr.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/tmpbedazwl_.c'
source_filename = "/tmp/tmpbedazwl_.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 [24 x i8] c"Usage: pathof filename\0A\00", align 1
@stderr = dso_local global i32 0, align 4
@EX_USAGE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @emit_help() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fputs(ptr noundef @.str, i32 noundef %1)
%3 = load i32, ptr @EX_USAGE, align 4
%4 = call i32 @exit(i32 noundef %3) #3
unreachable
}
declare i32 @fputs(ptr noundef, 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/tmpbedazwl_.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 [24 x i8] c"Usage: pathof filename\0A\00", align 1
@stderr = dso_local global i32 0, align 4
@EX_USAGE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @emit_help() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fputs(ptr noundef @.str, i32 noundef %1)
%3 = load i32, ptr @EX_USAGE, align 4
%4 = call i32 @exit(i32 noundef %3) #3
unreachable
}
declare i32 @fputs(ptr noundef, 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/tmpx74v1fdc.c'
source_filename = "/tmp/tmpx74v1fdc.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 [46 x i8] c"usage: pws-neural-net [L/l|T/t] <t-lms-file>\0A\00", align 1
@.str.1 = private unnamed_addr constant [45 x i8] c" L/l -> Start or continue learning.\0A\00", align 1
@.str.2 = private unnamed_addr constant [36 x i8] c" T/t -> Test <t-lms-file>.\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/tmpx74v1fdc.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 [46 x i8] c"usage: pws-neural-net [L/l|T/t] <t-lms-file>\0A\00", align 1
@.str.1 = private unnamed_addr constant [45 x i8] c" L/l -> Start or continue learning.\0A\00", align 1
@.str.2 = private unnamed_addr constant [36 x i8] c" T/t -> Test <t-lms-file>.\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/tmpqewmtaeh.c'
source_filename = "/tmp/tmpqewmtaeh.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"Usage:\0A\00", align 1
@.str.1 = private unnamed_addr constant [34 x i8] c" %s client_count loops msg_count\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%u\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%lu\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%i\00", align 1
@.str.5 = private unnamed_addr constant [45 x i8] c"test client_count=%u loops=%lu msg_count=%u\0A\00", align 1
@.str.6 = private unnamed_addr constant [9 x i8] c"Success\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
%8 = alloca i32, align 4
%9 = 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 0, ptr %6, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp ne i32 %10, 4
br i1 %11, label %12, label %18
12: ; preds = %2
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 0
%16 = load ptr, ptr %15, align 8
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %16)
store i32 1, ptr %3, align 4
br label %50
18: ; preds = %2
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 1
%21 = load ptr, ptr %20, align 8
%22 = call i32 @sscanf(ptr noundef %21, ptr noundef @.str.2, ptr noundef %7)
%23 = load ptr, ptr %5, align 8
%24 = getelementptr inbounds ptr, ptr %23, i64 2
%25 = load ptr, ptr %24, align 8
%26 = call i32 @sscanf(ptr noundef %25, ptr noundef @.str.3, ptr noundef %8)
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds ptr, ptr %27, i64 3
%29 = load ptr, ptr %28, align 8
%30 = call i32 @sscanf(ptr noundef %29, ptr noundef @.str.4, ptr noundef %9)
%31 = load i32, ptr %7, align 4
%32 = load i32, ptr %8, align 4
%33 = load i32, ptr %9, align 4
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %31, i32 noundef %32, i32 noundef %33)
%35 = load i32, ptr %7, align 4
%36 = load i32, ptr %8, align 4
%37 = load i32, ptr %9, align 4
%38 = call i32 @multi_thread_main(i32 noundef %35, i32 noundef %36, i32 noundef %37)
%39 = load i32, ptr %6, align 4
%40 = or i32 %39, %38
store i32 %40, ptr %6, align 4
%41 = load i32, ptr %6, align 4
%42 = icmp ne i32 %41, 0
br i1 %42, label %45, label %43
43: ; preds = %18
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
br label %45
45: ; preds = %43, %18
%46 = load i32, ptr %6, align 4
%47 = icmp ne i32 %46, 0
%48 = zext i1 %47 to i64
%49 = select i1 %47, i32 1, i32 0
store i32 %49, ptr %3, align 4
br label %50
50: ; preds = %45, %12
%51 = load i32, ptr %3, align 4
ret i32 %51
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @multi_thread_main(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/tmpqewmtaeh.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"Usage:\0A\00", align 1
@.str.1 = private unnamed_addr constant [34 x i8] c" %s client_count loops msg_count\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%u\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%lu\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%i\00", align 1
@.str.5 = private unnamed_addr constant [45 x i8] c"test client_count=%u loops=%lu msg_count=%u\0A\00", align 1
@.str.6 = private unnamed_addr constant [9 x i8] c"Success\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
%8 = alloca i32, align 4
%9 = 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 0, ptr %6, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp ne i32 %10, 4
br i1 %11, label %12, label %18
12: ; preds = %2
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 0
%16 = load ptr, ptr %15, align 8
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %16)
store i32 1, ptr %3, align 4
br label %50
18: ; preds = %2
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 1
%21 = load ptr, ptr %20, align 8
%22 = call i32 @sscanf(ptr noundef %21, ptr noundef @.str.2, ptr noundef %7)
%23 = load ptr, ptr %5, align 8
%24 = getelementptr inbounds ptr, ptr %23, i64 2
%25 = load ptr, ptr %24, align 8
%26 = call i32 @sscanf(ptr noundef %25, ptr noundef @.str.3, ptr noundef %8)
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds ptr, ptr %27, i64 3
%29 = load ptr, ptr %28, align 8
%30 = call i32 @sscanf(ptr noundef %29, ptr noundef @.str.4, ptr noundef %9)
%31 = load i32, ptr %7, align 4
%32 = load i32, ptr %8, align 4
%33 = load i32, ptr %9, align 4
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %31, i32 noundef %32, i32 noundef %33)
%35 = load i32, ptr %7, align 4
%36 = load i32, ptr %8, align 4
%37 = load i32, ptr %9, align 4
%38 = call i32 @multi_thread_main(i32 noundef %35, i32 noundef %36, i32 noundef %37)
%39 = load i32, ptr %6, align 4
%40 = or i32 %39, %38
store i32 %40, ptr %6, align 4
%41 = load i32, ptr %6, align 4
%42 = icmp ne i32 %41, 0
br i1 %42, label %45, label %43
43: ; preds = %18
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
br label %45
45: ; preds = %43, %18
%46 = load i32, ptr %6, align 4
%47 = icmp ne i32 %46, 0
%48 = zext i1 %47 to i64
%49 = select i1 %47, i32 1, i32 0
store i32 %49, ptr %3, align 4
br label %50
50: ; preds = %45, %12
%51 = load i32, ptr %3, align 4
ret i32 %51
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @multi_thread_main(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/tmpi7d7lw8v.c'
source_filename = "/tmp/tmpi7d7lw8v.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"0123456789ABCDEF\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @puthex(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca [10 x i8], align 1
%4 = alloca i32, align 4
store i64 %0, ptr %2, align 8
store i32 7, ptr %4, align 4
br label %5
5: ; preds = %18, %1
%6 = load i32, ptr %4, align 4
%7 = icmp sge i32 %6, 0
br i1 %7, label %8, label %21
8: ; preds = %5
%9 = load i64, ptr %2, align 8
%10 = and i64 %9, 15
%11 = getelementptr inbounds [17 x i8], ptr @.str, i64 0, i64 %10
%12 = load i8, ptr %11, align 1
%13 = load i32, ptr %4, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 %14
store i8 %12, ptr %15, align 1
%16 = load i64, ptr %2, align 8
%17 = lshr i64 %16, 4
store i64 %17, ptr %2, align 8
br label %18
18: ; preds = %8
%19 = load i32, ptr %4, align 4
%20 = add nsw i32 %19, -1
store i32 %20, ptr %4, align 4
br label %5, !llvm.loop !6
21: ; preds = %5
%22 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 8
store i8 0, ptr %22, align 1
%23 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0
%24 = call i32 @puts(ptr noundef %23)
ret void
}
declare i32 @puts(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/tmpi7d7lw8v.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"0123456789ABCDEF\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @puthex(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca [10 x i8], align 1
%4 = alloca i32, align 4
store i64 %0, ptr %2, align 8
store i32 7, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = icmp sge i32 %5, 0
br i1 %6, label %.lr.ph, label %22
.lr.ph: ; preds = %1
br label %7
7: ; preds = %.lr.ph, %17
%8 = load i64, ptr %2, align 8
%9 = and i64 %8, 15
%10 = getelementptr inbounds [17 x i8], ptr @.str, i64 0, i64 %9
%11 = load i8, ptr %10, align 1
%12 = load i32, ptr %4, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 %13
store i8 %11, ptr %14, align 1
%15 = load i64, ptr %2, align 8
%16 = lshr i64 %15, 4
store i64 %16, ptr %2, align 8
br label %17
17: ; preds = %7
%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 = icmp sge i32 %20, 0
br i1 %21, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %22
22: ; preds = %._crit_edge, %1
%23 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 8
store i8 0, ptr %23, align 1
%24 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0
%25 = call i32 @puts(ptr noundef %24)
ret void
}
declare i32 @puts(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/tmp89mbtyxh.c'
source_filename = "/tmp/tmp89mbtyxh.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/tmp89mbtyxh.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/tmp9p9kp1c2.c'
source_filename = "/tmp/tmp9p9kp1c2.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/tmp9p9kp1c2.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/tmpxdhgqibz.c'
source_filename = "/tmp/tmpxdhgqibz.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/tmpxdhgqibz.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/tmpkh66od7w.c'
source_filename = "/tmp/tmpkh66od7w.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"%s\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 = load ptr, ptr %5, align 8
%7 = getelementptr inbounds ptr, ptr %6, i64 0
%8 = load ptr, ptr %7, align 8
%9 = getelementptr inbounds i8, ptr %8, i64 0
%10 = load i8, ptr %9, align 1
%11 = icmp ne i8 %10, 0
br i1 %11, label %13, label %12
12: ; preds = %2
store i32 1, ptr %3, align 4
br label %22
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
%17 = call i32 @EncryptPasswdMD5(ptr noundef %16)
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 1
%20 = load ptr, ptr %19, align 8
%21 = call i32 @printf(ptr noundef @.str, ptr noundef %20)
store i32 0, ptr %3, align 4
br label %22
22: ; preds = %13, %12
%23 = load i32, ptr %3, align 4
ret i32 %23
}
declare i32 @EncryptPasswdMD5(ptr noundef) #1
declare i32 @printf(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/tmpkh66od7w.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"%s\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 = load ptr, ptr %5, align 8
%7 = getelementptr inbounds ptr, ptr %6, i64 0
%8 = load ptr, ptr %7, align 8
%9 = getelementptr inbounds i8, ptr %8, i64 0
%10 = load i8, ptr %9, align 1
%11 = icmp ne i8 %10, 0
br i1 %11, label %13, label %12
12: ; preds = %2
store i32 1, ptr %3, align 4
br label %22
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
%17 = call i32 @EncryptPasswdMD5(ptr noundef %16)
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 1
%20 = load ptr, ptr %19, align 8
%21 = call i32 @printf(ptr noundef @.str, ptr noundef %20)
store i32 0, ptr %3, align 4
br label %22
22: ; preds = %13, %12
%23 = load i32, ptr %3, align 4
ret i32 %23
}
declare i32 @EncryptPasswdMD5(ptr noundef) #1
declare i32 @printf(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/tmp6jc8m3ku.c'
source_filename = "/tmp/tmp6jc8m3ku.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 @event_kill() #0 {
%1 = call i32 (...) @cleanup_sniff()
%2 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @cleanup_sniff(...) #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/tmp6jc8m3ku.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 @event_kill() #0 {
%1 = call i32 (...) @cleanup_sniff()
%2 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @cleanup_sniff(...) #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/tmpmcaqwtwr.c'
source_filename = "/tmp/tmpmcaqwtwr.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 @uintptr_example(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
ret void
}
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmcaqwtwr.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 @uintptr_example(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
ret void
}
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"}
|
; ModuleID = '/tmp/tmplujhzyz9.c'
source_filename = "/tmp/tmplujhzyz9.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"
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @format_words() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %2, align 4
br label %3
3: ; preds = %26, %0
%4 = call i32 (...) @getchar()
store i32 %4, ptr %1, align 4
%5 = load i32, ptr @EOF, align 4
%6 = icmp ne i32 %4, %5
br i1 %6, label %7, label %27
7: ; preds = %3
%8 = load i32, ptr %1, align 4
%9 = call i64 @isspace(i32 noundef %8)
%10 = icmp ne i64 %9, 0
br i1 %10, label %11, label %14
11: ; preds = %7
%12 = load i32, ptr %1, align 4
%13 = call i32 @putchar(i32 noundef %12)
store i32 1, ptr %2, align 4
br label %26
14: ; preds = %7
%15 = load i32, ptr %2, align 4
%16 = icmp eq i32 %15, 1
br i1 %16, label %17, label %21
17: ; preds = %14
%18 = load i32, ptr %1, align 4
%19 = call i32 @toupper(i32 noundef %18) #3
%20 = call i32 @putchar(i32 noundef %19)
store i32 0, ptr %2, align 4
br label %25
21: ; preds = %14
%22 = load i32, ptr %1, align 4
%23 = call i32 @tolower(i32 noundef %22) #3
%24 = call i32 @putchar(i32 noundef %23)
br label %25
25: ; preds = %21, %17
br label %26
26: ; preds = %25, %11
br label %3, !llvm.loop !6
27: ; preds = %3
ret void
}
declare i32 @getchar(...) #1
declare i64 @isspace(i32 noundef) #1
declare i32 @putchar(i32 noundef) #1
; Function Attrs: nounwind willreturn memory(read)
declare i32 @toupper(i32 noundef) #2
; Function Attrs: nounwind willreturn memory(read)
declare i32 @tolower(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 = { nounwind willreturn memory(read) "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 = { nounwind willreturn memory(read) }
!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/tmplujhzyz9.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"
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @format_words() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %2, align 4
%3 = call i32 (...) @getchar()
store i32 %3, ptr %1, align 4
%4 = load i32, ptr @EOF, align 4
%5 = icmp ne i32 %3, %4
br i1 %5, label %.lr.ph, label %29
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %25
%7 = load i32, ptr %1, align 4
%8 = call i64 @isspace(i32 noundef %7)
%9 = icmp ne i64 %8, 0
br i1 %9, label %10, label %13
10: ; preds = %6
%11 = load i32, ptr %1, align 4
%12 = call i32 @putchar(i32 noundef %11)
store i32 1, ptr %2, align 4
br label %25
13: ; preds = %6
%14 = load i32, ptr %2, align 4
%15 = icmp eq i32 %14, 1
br i1 %15, label %16, label %20
16: ; preds = %13
%17 = load i32, ptr %1, align 4
%18 = call i32 @toupper(i32 noundef %17) #3
%19 = call i32 @putchar(i32 noundef %18)
store i32 0, ptr %2, align 4
br label %24
20: ; preds = %13
%21 = load i32, ptr %1, align 4
%22 = call i32 @tolower(i32 noundef %21) #3
%23 = call i32 @putchar(i32 noundef %22)
br label %24
24: ; preds = %20, %16
br label %25
25: ; preds = %24, %10
%26 = call i32 (...) @getchar()
store i32 %26, ptr %1, align 4
%27 = load i32, ptr @EOF, align 4
%28 = icmp ne i32 %26, %27
br i1 %28, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %29
29: ; preds = %._crit_edge, %0
ret void
}
declare i32 @getchar(...) #1
declare i64 @isspace(i32 noundef) #1
declare i32 @putchar(i32 noundef) #1
; Function Attrs: nounwind willreturn memory(read)
declare i32 @toupper(i32 noundef) #2
; Function Attrs: nounwind willreturn memory(read)
declare i32 @tolower(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 = { nounwind willreturn memory(read) "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 = { nounwind willreturn memory(read) }
!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/tmputuzhd64.c'
source_filename = "/tmp/tmputuzhd64.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 @__xcalloc(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 = call ptr @calloc(i64 noundef %9, i64 noundef %10) #2
ret ptr %11
}
; Function Attrs: allocsize(0,1)
declare ptr @calloc(i64 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 = { allocsize(0,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 = { allocsize(0,1) }
!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/tmputuzhd64.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 @__xcalloc(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 = call ptr @calloc(i64 noundef %9, i64 noundef %10) #2
ret ptr %11
}
; Function Attrs: allocsize(0,1)
declare ptr @calloc(i64 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 = { allocsize(0,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 = { allocsize(0,1) }
!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/tmp7gp_utzm.c'
source_filename = "/tmp/tmp7gp_utzm.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"
@Z_ERRNO = 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/tmp7gp_utzm.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"
@Z_ERRNO = 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/tmp8m5zk0lp.c'
source_filename = "/tmp/tmp8m5zk0lp.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 [29 x i8] c"Input the operands a and b: \00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c" %s %s\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"a + b = %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [1001 x i8], align 16
%3 = alloca [1001 x i8], align 16
%4 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = getelementptr inbounds [1001 x i8], ptr %2, i64 0, i64 0
%7 = getelementptr inbounds [1001 x i8], ptr %3, i64 0, i64 0
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6, ptr noundef %7)
%9 = getelementptr inbounds [1001 x i8], ptr %2, i64 0, i64 0
%10 = getelementptr inbounds [1001 x i8], ptr %3, i64 0, i64 0
%11 = call ptr @long_add(ptr noundef %9, ptr noundef %10)
store ptr %11, ptr %4, align 8
%12 = load ptr, ptr %4, align 8
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %12)
%14 = load ptr, ptr %4, align 8
%15 = call i32 @free(ptr noundef %14)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @long_add(ptr 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" }
!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/tmp8m5zk0lp.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 [29 x i8] c"Input the operands a and b: \00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c" %s %s\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"a + b = %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [1001 x i8], align 16
%3 = alloca [1001 x i8], align 16
%4 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = getelementptr inbounds [1001 x i8], ptr %2, i64 0, i64 0
%7 = getelementptr inbounds [1001 x i8], ptr %3, i64 0, i64 0
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6, ptr noundef %7)
%9 = getelementptr inbounds [1001 x i8], ptr %2, i64 0, i64 0
%10 = getelementptr inbounds [1001 x i8], ptr %3, i64 0, i64 0
%11 = call ptr @long_add(ptr noundef %9, ptr noundef %10)
store ptr %11, ptr %4, align 8
%12 = load ptr, ptr %4, align 8
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %12)
%14 = load ptr, ptr %4, align 8
%15 = call i32 @free(ptr noundef %14)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @long_add(ptr 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" }
!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/tmpxugx0r19.c'
source_filename = "/tmp/tmpxugx0r19.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"
@EXIT_FAILURE = 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/tmpxugx0r19.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"
@EXIT_FAILURE = 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/tmpdh04pdut.c'
source_filename = "/tmp/tmpdh04pdut.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 [6 x i8] c" \00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c" \00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c" -\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c" %2d %c\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c" -\00", align 1
@.str.6 = private unnamed_addr constant [8 x i8] c" %2d %c\00", align 1
@.str.7 = private unnamed_addr constant [5 x i8] c" %2d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @debug_print_W3(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%15 = load ptr, ptr %9, align 8
%16 = call i32 @strlen(ptr noundef %15)
%17 = add nsw i32 %16, 1
store i32 %17, ptr %13, align 4
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %14, align 4
br label %19
19: ; preds = %27, %5
%20 = load i32, ptr %14, align 4
%21 = load i32, ptr %8, align 4
%22 = sdiv i32 %21, 2
%23 = icmp slt i32 %20, %22
br i1 %23, label %24, label %30
24: ; preds = %19
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %27
27: ; preds = %24
%28 = load i32, ptr %14, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %14, align 4
br label %19, !llvm.loop !6
30: ; preds = %19
store i32 0, ptr %14, align 4
br label %31
31: ; preds = %52, %30
%32 = load i32, ptr %14, align 4
%33 = load i32, ptr %13, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %35, label %55
35: ; preds = %31
%36 = load i32, ptr %14, align 4
%37 = icmp eq i32 %36, 0
br i1 %37, label %38, label %41
38: ; preds = %35
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %51
41: ; preds = %35
%42 = load i32, ptr %14, align 4
%43 = load ptr, ptr %9, align 8
%44 = load i32, ptr %14, align 4
%45 = sub nsw i32 %44, 1
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i8, ptr %43, i64 %46
%48 = load i8, ptr %47, align 1
%49 = sext i8 %48 to i32
%50 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %42, i32 noundef %49)
br label %51
51: ; preds = %41, %38
br label %52
52: ; preds = %51
%53 = load i32, ptr %14, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %14, align 4
br label %31, !llvm.loop !8
55: ; preds = %31
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
store i32 0, ptr %11, align 4
br label %57
57: ; preds = %110, %55
%58 = load i32, ptr %11, align 4
%59 = load i32, ptr %7, align 4
%60 = icmp slt i32 %58, %59
br i1 %60, label %61, label %113
61: ; preds = %57
%62 = load i32, ptr %11, align 4
%63 = icmp eq i32 %62, 0
br i1 %63, label %64, label %67
64: ; preds = %61
%65 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%66 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %77
67: ; preds = %61
%68 = load i32, ptr %11, align 4
%69 = load ptr, ptr %10, align 8
%70 = load i32, ptr %11, align 4
%71 = sub nsw i32 %70, 1
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds i8, ptr %69, i64 %72
%74 = load i8, ptr %73, align 1
%75 = sext i8 %74 to i32
%76 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %68, i32 noundef %75)
br label %77
77: ; preds = %67, %64
store i32 0, ptr %14, align 4
br label %78
78: ; preds = %85, %77
%79 = load i32, ptr %14, align 4
%80 = load i32, ptr %11, align 4
%81 = icmp slt i32 %79, %80
br i1 %81, label %82, label %88
82: ; preds = %78
%83 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%84 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %85
85: ; preds = %82
%86 = load i32, ptr %14, align 4
%87 = add nsw i32 %86, 1
store i32 %87, ptr %14, align 4
br label %78, !llvm.loop !9
88: ; preds = %78
store i32 0, ptr %12, align 4
br label %89
89: ; preds = %105, %88
%90 = load i32, ptr %12, align 4
%91 = load i32, ptr %8, align 4
%92 = icmp slt i32 %90, %91
br i1 %92, label %93, label %108
93: ; preds = %89
%94 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%95 = load ptr, ptr %6, align 8
%96 = load i32, ptr %11, align 4
%97 = load i32, ptr %8, align 4
%98 = mul nsw i32 %96, %97
%99 = load i32, ptr %12, align 4
%100 = add nsw i32 %98, %99
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds i32, ptr %95, i64 %101
%103 = load i32, ptr %102, align 4
%104 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %103)
br label %105
105: ; preds = %93
%106 = load i32, ptr %12, align 4
%107 = add nsw i32 %106, 1
store i32 %107, ptr %12, align 4
br label %89, !llvm.loop !10
108: ; preds = %89
%109 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %110
110: ; preds = %108
%111 = load i32, ptr %11, align 4
%112 = add nsw i32 %111, 1
store i32 %112, ptr %11, align 4
br label %57, !llvm.loop !11
113: ; preds = %57
ret void
}
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" }
!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/tmpdh04pdut.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 [6 x i8] c" \00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c" \00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c" -\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c" %2d %c\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c" -\00", align 1
@.str.6 = private unnamed_addr constant [8 x i8] c" %2d %c\00", align 1
@.str.7 = private unnamed_addr constant [5 x i8] c" %2d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @debug_print_W3(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%15 = load ptr, ptr %9, align 8
%16 = call i32 @strlen(ptr noundef %15)
%17 = add nsw i32 %16, 1
store i32 %17, ptr %13, align 4
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %14, align 4
%19 = load i32, ptr %14, align 4
%20 = load i32, ptr %8, align 4
%21 = sdiv i32 %20, 2
%22 = icmp slt i32 %19, %21
br i1 %22, label %.lr.ph, label %33
.lr.ph: ; preds = %5
br label %23
23: ; preds = %.lr.ph, %26
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %26
26: ; preds = %23
%27 = load i32, ptr %14, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %14, align 4
%29 = load i32, ptr %14, align 4
%30 = load i32, ptr %8, align 4
%31 = sdiv i32 %30, 2
%32 = icmp slt i32 %29, %31
br i1 %32, label %23, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %26
br label %33
33: ; preds = %._crit_edge, %5
store i32 0, ptr %14, align 4
%34 = load i32, ptr %14, align 4
%35 = load i32, ptr %13, align 4
%36 = icmp slt i32 %34, %35
br i1 %36, label %.lr.ph2, label %60
.lr.ph2: ; preds = %33
br label %37
37: ; preds = %.lr.ph2, %54
%38 = load i32, ptr %14, align 4
%39 = icmp eq i32 %38, 0
br i1 %39, label %40, label %43
40: ; preds = %37
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %53
43: ; preds = %37
%44 = load i32, ptr %14, align 4
%45 = load ptr, ptr %9, align 8
%46 = load i32, ptr %14, align 4
%47 = sub nsw i32 %46, 1
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i8, ptr %45, i64 %48
%50 = load i8, ptr %49, align 1
%51 = sext i8 %50 to i32
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %44, i32 noundef %51)
br label %53
53: ; preds = %43, %40
br label %54
54: ; preds = %53
%55 = load i32, ptr %14, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %14, align 4
%57 = load i32, ptr %14, align 4
%58 = load i32, ptr %13, align 4
%59 = icmp slt i32 %57, %58
br i1 %59, label %37, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %54
br label %60
60: ; preds = %._crit_edge3, %33
%61 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
store i32 0, ptr %11, align 4
%62 = load i32, ptr %11, align 4
%63 = load i32, ptr %7, align 4
%64 = icmp slt i32 %62, %63
br i1 %64, label %.lr.ph11, label %124
.lr.ph11: ; preds = %60
br label %65
65: ; preds = %.lr.ph11, %118
%66 = load i32, ptr %11, align 4
%67 = icmp eq i32 %66, 0
br i1 %67, label %68, label %71
68: ; preds = %65
%69 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%70 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %81
71: ; preds = %65
%72 = load i32, ptr %11, align 4
%73 = load ptr, ptr %10, align 8
%74 = load i32, ptr %11, align 4
%75 = sub nsw i32 %74, 1
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds i8, ptr %73, i64 %76
%78 = load i8, ptr %77, align 1
%79 = sext i8 %78 to i32
%80 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %72, i32 noundef %79)
br label %81
81: ; preds = %71, %68
store i32 0, ptr %14, align 4
%82 = load i32, ptr %14, align 4
%83 = load i32, ptr %11, align 4
%84 = icmp slt i32 %82, %83
br i1 %84, label %.lr.ph5, label %94
.lr.ph5: ; preds = %81
br label %85
85: ; preds = %.lr.ph5, %88
%86 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%87 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %88
88: ; preds = %85
%89 = load i32, ptr %14, align 4
%90 = add nsw i32 %89, 1
store i32 %90, ptr %14, align 4
%91 = load i32, ptr %14, align 4
%92 = load i32, ptr %11, align 4
%93 = icmp slt i32 %91, %92
br i1 %93, label %85, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %88
br label %94
94: ; preds = %._crit_edge6, %81
store i32 0, ptr %12, align 4
%95 = load i32, ptr %12, align 4
%96 = load i32, ptr %8, align 4
%97 = icmp slt i32 %95, %96
br i1 %97, label %.lr.ph8, label %116
.lr.ph8: ; preds = %94
br label %98
98: ; preds = %.lr.ph8, %110
%99 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%100 = load ptr, ptr %6, align 8
%101 = load i32, ptr %11, align 4
%102 = load i32, ptr %8, align 4
%103 = mul nsw i32 %101, %102
%104 = load i32, ptr %12, align 4
%105 = add nsw i32 %103, %104
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds i32, ptr %100, i64 %106
%108 = load i32, ptr %107, align 4
%109 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %108)
br label %110
110: ; preds = %98
%111 = load i32, ptr %12, align 4
%112 = add nsw i32 %111, 1
store i32 %112, ptr %12, align 4
%113 = load i32, ptr %12, align 4
%114 = load i32, ptr %8, align 4
%115 = icmp slt i32 %113, %114
br i1 %115, label %98, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %110
br label %116
116: ; preds = %._crit_edge9, %94
%117 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %118
118: ; preds = %116
%119 = load i32, ptr %11, align 4
%120 = add nsw i32 %119, 1
store i32 %120, ptr %11, align 4
%121 = load i32, ptr %11, align 4
%122 = load i32, ptr %7, align 4
%123 = icmp slt i32 %121, %122
br i1 %123, label %65, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %118
br label %124
124: ; preds = %._crit_edge12, %60
ret void
}
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" }
!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/tmpiumwlu65.c'
source_filename = "/tmp/tmpiumwlu65.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 @rtbst_balance(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
%5 = zext i1 %4 to i32
%6 = call i32 @assert(i32 noundef %5)
%7 = load ptr, ptr %2, align 8
%8 = call i32 @tree_to_vine(ptr noundef %7)
%9 = load ptr, ptr %2, align 8
%10 = call i32 @vine_to_tree(ptr noundef %9)
ret void
}
declare i32 @assert(i32 noundef) #1
declare i32 @tree_to_vine(ptr noundef) #1
declare i32 @vine_to_tree(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/tmpiumwlu65.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 @rtbst_balance(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
%5 = zext i1 %4 to i32
%6 = call i32 @assert(i32 noundef %5)
%7 = load ptr, ptr %2, align 8
%8 = call i32 @tree_to_vine(ptr noundef %7)
%9 = load ptr, ptr %2, align 8
%10 = call i32 @vine_to_tree(ptr noundef %9)
ret void
}
declare i32 @assert(i32 noundef) #1
declare i32 @tree_to_vine(ptr noundef) #1
declare i32 @vine_to_tree(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/tmp3l4aprwt.c'
source_filename = "/tmp/tmp3l4aprwt.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 [7 x i8] c"%s:%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [149 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/beerriot/blockgame/refs/heads/master/test/mock/avr/sleep.c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sleep_disable() #0 {
%1 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 13)
ret void
}
declare i32 @printf(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/tmp3l4aprwt.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 [7 x i8] c"%s:%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [149 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/beerriot/blockgame/refs/heads/master/test/mock/avr/sleep.c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sleep_disable() #0 {
%1 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 13)
ret void
}
declare i32 @printf(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/tmpin2lkaxs.c'
source_filename = "/tmp/tmpin2lkaxs.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"%.2f\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
%4 = alloca i32, align 4
%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
store i32 0, ptr %1, align 4
%10 = call i32 @scanf(ptr noundef @.str, ptr noundef %5)
br label %11
11: ; preds = %14, %0
%12 = load i32, ptr %5, align 4
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %25
14: ; preds = %11
%15 = load i32, ptr %5, align 4
%16 = sitofp i32 %15 to double
%17 = fdiv double %16, 0x400921FB4D12D84A
%18 = load i32, ptr %5, align 4
%19 = sitofp i32 %18 to double
%20 = fmul double %17, %19
%21 = fdiv double %20, 2.000000e+00
%22 = fptosi double %21 to i32
%23 = call i32 @printf(ptr noundef @.str.1, i32 noundef %22)
%24 = call i32 @scanf(ptr noundef @.str, ptr noundef %5)
br label %11, !llvm.loop !6
25: ; preds = %11
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpin2lkaxs.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"%.2f\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
%4 = alloca i32, align 4
%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
store i32 0, ptr %1, align 4
%10 = call i32 @scanf(ptr noundef @.str, ptr noundef %5)
%11 = load i32, ptr %5, align 4
%12 = icmp ne i32 %11, 0
br i1 %12, label %.lr.ph, label %26
.lr.ph: ; preds = %0
br label %13
13: ; preds = %.lr.ph, %13
%14 = load i32, ptr %5, align 4
%15 = sitofp i32 %14 to double
%16 = fdiv double %15, 0x400921FB4D12D84A
%17 = load i32, ptr %5, align 4
%18 = sitofp i32 %17 to double
%19 = fmul double %16, %18
%20 = fdiv double %19, 2.000000e+00
%21 = fptosi double %20 to i32
%22 = call i32 @printf(ptr noundef @.str.1, i32 noundef %21)
%23 = call i32 @scanf(ptr noundef @.str, ptr noundef %5)
%24 = load i32, ptr %5, align 4
%25 = icmp ne i32 %24, 0
br i1 %25, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %26
26: ; preds = %._crit_edge, %0
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"}
|
; ModuleID = '/tmp/tmpnfdhsq_z.c'
source_filename = "/tmp/tmpnfdhsq_z.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 [19 x i8] c"Digite um n\C3\BAmero\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"N\C3\A3o \C3\A9 primo\0A\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"\C3\89 primo\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
%8 = 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
%9 = call i32 @printf(ptr noundef @.str)
%10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6)
store i32 0, ptr %8, align 4
store i32 2, ptr %7, align 4
br label %11
11: ; preds = %24, %2
%12 = load i32, ptr %7, align 4
%13 = load i32, ptr %6, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %15, label %27
15: ; preds = %11
%16 = load i32, ptr %6, align 4
%17 = load i32, ptr %7, align 4
%18 = srem i32 %16, %17
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %23
20: ; preds = %15
%21 = load i32, ptr %8, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %8, align 4
br label %23
23: ; preds = %20, %15
br label %24
24: ; preds = %23
%25 = load i32, ptr %7, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %7, align 4
br label %11, !llvm.loop !6
27: ; preds = %11
%28 = load i32, ptr %8, align 4
%29 = icmp ne i32 %28, 0
br i1 %29, label %33, label %30
30: ; preds = %27
%31 = load i32, ptr %6, align 4
%32 = icmp eq i32 %31, 1
br i1 %32, label %33, label %35
33: ; preds = %30, %27
%34 = call i32 @printf(ptr noundef @.str.2)
br label %37
35: ; preds = %30
%36 = call i32 @printf(ptr noundef @.str.3)
br label %37
37: ; preds = %35, %33
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/tmpnfdhsq_z.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 [19 x i8] c"Digite um n\C3\BAmero\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"N\C3\A3o \C3\A9 primo\0A\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"\C3\89 primo\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
%8 = 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
%9 = call i32 @printf(ptr noundef @.str)
%10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6)
store i32 0, ptr %8, align 4
store i32 2, ptr %7, align 4
%11 = load i32, ptr %7, align 4
%12 = load i32, ptr %6, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %.lr.ph, label %29
.lr.ph: ; preds = %2
br label %14
14: ; preds = %.lr.ph, %23
%15 = load i32, ptr %6, align 4
%16 = load i32, ptr %7, align 4
%17 = srem i32 %15, %16
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %22
19: ; preds = %14
%20 = load i32, ptr %8, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %8, align 4
br label %22
22: ; preds = %19, %14
br label %23
23: ; preds = %22
%24 = load i32, ptr %7, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %7, align 4
%26 = load i32, ptr %7, align 4
%27 = load i32, ptr %6, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %29
29: ; preds = %._crit_edge, %2
%30 = load i32, ptr %8, align 4
%31 = icmp ne i32 %30, 0
br i1 %31, label %35, label %32
32: ; preds = %29
%33 = load i32, ptr %6, align 4
%34 = icmp eq i32 %33, 1
br i1 %34, label %35, label %37
35: ; preds = %32, %29
%36 = call i32 @printf(ptr noundef @.str.2)
br label %39
37: ; preds = %32
%38 = call i32 @printf(ptr noundef @.str.3)
br label %39
39: ; preds = %37, %35
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/tmpsjpvxq9t.c'
source_filename = "/tmp/tmpsjpvxq9t.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/tmpsjpvxq9t.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/tmpzo_ay9hk.c'
source_filename = "/tmp/tmpzo_ay9hk.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"
@AF_INET = dso_local global i32 0, align 4
@EINPROGRESS = dso_local global i64 0, align 8
@SOCK_STREAM = dso_local global i32 0, align 4
@errno = dso_local global i64 0, align 8
!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/tmpzo_ay9hk.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"
@AF_INET = dso_local global i32 0, align 4
@EINPROGRESS = dso_local global i64 0, align 8
@SOCK_STREAM = dso_local global i32 0, align 4
@errno = dso_local global i64 0, align 8
!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/tmpc24_4n5j.c'
source_filename = "/tmp/tmpc24_4n5j.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 signext i8 @rand12() #0 {
%1 = alloca i8, align 1
store i8 13, ptr %1, align 1
br label %2
2: ; preds = %6, %0
%3 = load i8, ptr %1, align 1
%4 = zext i8 %3 to i32
%5 = icmp sge i32 %4, 12
br i1 %5, label %6, label %10
6: ; preds = %2
%7 = call i32 (...) @xorshift8()
%8 = and i32 %7, 15
%9 = trunc i32 %8 to i8
store i8 %9, ptr %1, align 1
br label %2, !llvm.loop !6
10: ; preds = %2
%11 = load i8, ptr %1, align 1
ret i8 %11
}
declare i32 @xorshift8(...) #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/tmpc24_4n5j.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 signext i8 @rand12() #0 {
%1 = alloca i8, align 1
store i8 13, ptr %1, align 1
%2 = load i8, ptr %1, align 1
%3 = zext i8 %2 to i32
%4 = icmp sge i32 %3, 12
br i1 %4, label %.lr.ph, label %12
.lr.ph: ; preds = %0
br label %5
5: ; preds = %.lr.ph, %5
%6 = call i32 (...) @xorshift8()
%7 = and i32 %6, 15
%8 = trunc i32 %7 to i8
store i8 %8, ptr %1, align 1
%9 = load i8, ptr %1, align 1
%10 = zext i8 %9 to i32
%11 = icmp sge i32 %10, 12
br i1 %11, label %5, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %5
br label %12
12: ; preds = %._crit_edge, %0
%13 = load i8, ptr %1, align 1
ret i8 %13
}
declare i32 @xorshift8(...) #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/tmppq213lg9.c'
source_filename = "/tmp/tmppq213lg9.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.sockaddr_un = type { i32, i32 }
@AF_UNIX = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pt_comm_connect(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca %struct.sockaddr_un, align 4
store ptr %0, ptr %3, align 8
%6 = load i32, ptr @AF_UNIX, align 4
%7 = load i32, ptr @SOCK_STREAM, align 4
%8 = call i32 @socket(i32 noundef %6, i32 noundef %7, i32 noundef 0)
store i32 %8, ptr %4, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp eq i32 %9, -1
br i1 %10, label %11, label %12
11: ; preds = %1
store i32 -1, ptr %2, align 4
br label %26
12: ; preds = %1
%13 = call i32 @memset(ptr noundef %5, i32 noundef 0, i32 noundef 8)
%14 = load i32, ptr @AF_UNIX, align 4
%15 = getelementptr inbounds %struct.sockaddr_un, ptr %5, i32 0, i32 1
store i32 %14, ptr %15, align 4
%16 = getelementptr inbounds %struct.sockaddr_un, ptr %5, i32 0, i32 0
%17 = load i32, ptr %16, align 4
%18 = load ptr, ptr %3, align 8
%19 = call i32 @strncpy(i32 noundef %17, ptr noundef %18, i32 noundef 3)
%20 = load i32, ptr %4, align 4
%21 = call i32 @connect(i32 noundef %20, ptr noundef %5, i32 noundef 8)
%22 = icmp eq i32 %21, -1
br i1 %22, label %23, label %24
23: ; preds = %12
store i32 -1, ptr %2, align 4
br label %26
24: ; preds = %12
%25 = load i32, ptr %4, align 4
store i32 %25, ptr %2, align 4
br label %26
26: ; preds = %24, %23, %11
%27 = load i32, ptr %2, align 4
ret i32 %27
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strncpy(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @connect(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/tmppq213lg9.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.sockaddr_un = type { i32, i32 }
@AF_UNIX = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pt_comm_connect(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca %struct.sockaddr_un, align 4
store ptr %0, ptr %3, align 8
%6 = load i32, ptr @AF_UNIX, align 4
%7 = load i32, ptr @SOCK_STREAM, align 4
%8 = call i32 @socket(i32 noundef %6, i32 noundef %7, i32 noundef 0)
store i32 %8, ptr %4, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp eq i32 %9, -1
br i1 %10, label %11, label %12
11: ; preds = %1
store i32 -1, ptr %2, align 4
br label %26
12: ; preds = %1
%13 = call i32 @memset(ptr noundef %5, i32 noundef 0, i32 noundef 8)
%14 = load i32, ptr @AF_UNIX, align 4
%15 = getelementptr inbounds %struct.sockaddr_un, ptr %5, i32 0, i32 1
store i32 %14, ptr %15, align 4
%16 = getelementptr inbounds %struct.sockaddr_un, ptr %5, i32 0, i32 0
%17 = load i32, ptr %16, align 4
%18 = load ptr, ptr %3, align 8
%19 = call i32 @strncpy(i32 noundef %17, ptr noundef %18, i32 noundef 3)
%20 = load i32, ptr %4, align 4
%21 = call i32 @connect(i32 noundef %20, ptr noundef %5, i32 noundef 8)
%22 = icmp eq i32 %21, -1
br i1 %22, label %23, label %24
23: ; preds = %12
store i32 -1, ptr %2, align 4
br label %26
24: ; preds = %12
%25 = load i32, ptr %4, align 4
store i32 %25, ptr %2, align 4
br label %26
26: ; preds = %24, %23, %11
%27 = load i32, ptr %2, align 4
ret i32 %27
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strncpy(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @connect(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/tmpfpr_ndg6.c'
source_filename = "/tmp/tmpfpr_ndg6.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 \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 @PrintSequence(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
store i32 1, ptr %7, align 4
br label %8
8: ; preds = %20, %3
%9 = load i32, ptr %7, align 4
%10 = load i32, ptr %5, align 4
%11 = icmp sle i32 %9, %10
br i1 %11, label %12, label %23
12: ; preds = %8
%13 = load ptr, ptr %4, align 8
%14 = load ptr, ptr %6, align 8
%15 = load i32, ptr %7, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i32, ptr %14, i64 %16
%18 = load i32, ptr %17, align 4
%19 = call i32 @fprintf(ptr noundef %13, ptr noundef @.str, i32 noundef %18)
br label %20
20: ; preds = %12
%21 = load i32, ptr %7, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %7, align 4
br label %8, !llvm.loop !6
23: ; preds = %8
%24 = call i32 @printf(ptr noundef @.str.1)
ret void
}
declare i32 @fprintf(ptr noundef, ptr noundef, i32 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfpr_ndg6.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 \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 @PrintSequence(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
store i32 1, ptr %7, align 4
%8 = load i32, ptr %7, align 4
%9 = load i32, ptr %5, align 4
%10 = icmp sle i32 %8, %9
br i1 %10, label %.lr.ph, label %25
.lr.ph: ; preds = %3
br label %11
11: ; preds = %.lr.ph, %19
%12 = load ptr, ptr %4, align 8
%13 = load ptr, ptr %6, align 8
%14 = load i32, ptr %7, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i32, ptr %13, i64 %15
%17 = load i32, ptr %16, align 4
%18 = call i32 @fprintf(ptr noundef %12, ptr noundef @.str, i32 noundef %17)
br label %19
19: ; preds = %11
%20 = load i32, ptr %7, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %7, align 4
%22 = load i32, ptr %7, align 4
%23 = load i32, ptr %5, align 4
%24 = icmp sle i32 %22, %23
br i1 %24, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %25
25: ; preds = %._crit_edge, %3
%26 = call i32 @printf(ptr noundef @.str.1)
ret void
}
declare i32 @fprintf(ptr noundef, ptr noundef, i32 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"}
|
; ModuleID = '/tmp/tmpsjq2gjda.c'
source_filename = "/tmp/tmpsjq2gjda.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 @manos_prepare_watcher_destroy(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 @free(ptr noundef %3)
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsjq2gjda.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 @manos_prepare_watcher_destroy(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 @free(ptr noundef %3)
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"}
|
; ModuleID = '/tmp/tmpael40zvy.c'
source_filename = "/tmp/tmpael40zvy.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/tmpael40zvy.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/tmpg4ni4wnb.c'
source_filename = "/tmp/tmpg4ni4wnb.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 [39 x i8] c"You only have one argument. You suck.\0A\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"Here's your arguments:\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%s \00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.4 = private unnamed_addr constant [41 x i8] c"You have too many arguments. You suck. \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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp eq i32 %7, 1
br i1 %8, label %9, label %11
9: ; preds = %2
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %38
11: ; preds = %2
%12 = load i32, ptr %4, align 4
%13 = icmp sgt i32 %12, 1
br i1 %13, label %14, label %35
14: ; preds = %11
%15 = load i32, ptr %4, align 4
%16 = icmp slt i32 %15, 4
br i1 %16, label %17, label %35
17: ; preds = %14
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 1, ptr %6, align 4
br label %19
19: ; preds = %30, %17
%20 = load i32, ptr %6, align 4
%21 = load i32, ptr %4, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %23, label %33
23: ; preds = %19
%24 = load ptr, ptr %5, align 8
%25 = load i32, ptr %6, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds ptr, ptr %24, i64 %26
%28 = load ptr, ptr %27, align 8
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %28)
br label %30
30: ; preds = %23
%31 = load i32, ptr %6, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %6, align 4
br label %19, !llvm.loop !6
33: ; preds = %19
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %37
35: ; preds = %14, %11
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %37
37: ; preds = %35, %33
br label %38
38: ; preds = %37, %9
ret i32 0
}
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/tmpg4ni4wnb.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 [39 x i8] c"You only have one argument. You suck.\0A\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"Here's your arguments:\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%s \00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.4 = private unnamed_addr constant [41 x i8] c"You have too many arguments. You suck. \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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp eq i32 %7, 1
br i1 %8, label %9, label %11
9: ; preds = %2
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %40
11: ; preds = %2
%12 = load i32, ptr %4, align 4
%13 = icmp sgt i32 %12, 1
br i1 %13, label %14, label %37
14: ; preds = %11
%15 = load i32, ptr %4, align 4
%16 = icmp slt i32 %15, 4
br i1 %16, label %17, label %37
17: ; preds = %14
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 1, ptr %6, align 4
%19 = load i32, ptr %6, align 4
%20 = load i32, ptr %4, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %.lr.ph, label %35
.lr.ph: ; preds = %17
br label %22
22: ; preds = %.lr.ph, %29
%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 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %27)
br label %29
29: ; preds = %22
%30 = load i32, ptr %6, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %6, align 4
%32 = load i32, ptr %6, align 4
%33 = load i32, ptr %4, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %29
br label %35
35: ; preds = %._crit_edge, %17
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %39
37: ; preds = %14, %11
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %39
39: ; preds = %37, %35
br label %40
40: ; preds = %39, %9
ret i32 0
}
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/tmpdi04ovab.c'
source_filename = "/tmp/tmpdi04ovab.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"# c::native::%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"abs\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"ok %d benchmark finished\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @time(ptr noundef null)
%5 = call i32 @srand(i32 noundef %4)
%6 = call i32 (...) @print_version()
store i32 0, ptr %3, align 4
br label %7
7: ; preds = %18, %0
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %8, 3
br i1 %9, label %10, label %21
10: ; preds = %7
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1)
%12 = call double (...) @benchmark()
store double %12, ptr %2, align 8
%13 = load double, ptr %2, align 8
%14 = call i32 @print_results(double noundef %13)
%15 = load i32, ptr %3, align 4
%16 = add nsw i32 %15, 1
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %16)
br label %18
18: ; preds = %10
%19 = load i32, ptr %3, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %3, align 4
br label %7, !llvm.loop !6
21: ; preds = %7
%22 = call i32 @print_summary(i32 noundef 3, i32 noundef 3)
%23 = load i32, ptr %1, align 4
ret i32 %23
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @print_version(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare double @benchmark(...) #1
declare i32 @print_results(double noundef) #1
declare i32 @print_summary(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/tmpdi04ovab.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"# c::native::%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"abs\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"ok %d benchmark finished\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @time(ptr noundef null)
%5 = call i32 @srand(i32 noundef %4)
%6 = call i32 (...) @print_version()
store i32 0, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp slt i32 %7, 3
br i1 %8, label %.lr.ph, label %22
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %17
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1)
%11 = call double (...) @benchmark()
store double %11, ptr %2, align 8
%12 = load double, ptr %2, align 8
%13 = call i32 @print_results(double noundef %12)
%14 = load i32, ptr %3, align 4
%15 = add nsw i32 %14, 1
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %15)
br label %17
17: ; preds = %9
%18 = load i32, ptr %3, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %3, align 4
%20 = load i32, ptr %3, align 4
%21 = icmp slt i32 %20, 3
br i1 %21, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %22
22: ; preds = %._crit_edge, %0
%23 = call i32 @print_summary(i32 noundef 3, i32 noundef 3)
%24 = load i32, ptr %1, align 4
ret i32 %24
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @print_version(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare double @benchmark(...) #1
declare i32 @print_results(double noundef) #1
declare i32 @print_summary(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/tmp0w4loxer.c'
source_filename = "/tmp/tmp0w4loxer.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 [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_ispunct.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"ispunct should be 1 for #\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_ispunct_0x23() #0 {
%1 = call i32 @ispunct(i32 noundef 35) #3
%2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 180, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
; Function Attrs: nounwind willreturn memory(read)
declare i32 @ispunct(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 = { nounwind willreturn memory(read) "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 = { nounwind willreturn memory(read) }
!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/tmp0w4loxer.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 [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_ispunct.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"ispunct should be 1 for #\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_ispunct_0x23() #0 {
%1 = call i32 @ispunct(i32 noundef 35) #3
%2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 180, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
; Function Attrs: nounwind willreturn memory(read)
declare i32 @ispunct(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 = { nounwind willreturn memory(read) "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 = { nounwind willreturn memory(read) }
!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/tmpqdurkg3m.c'
source_filename = "/tmp/tmpqdurkg3m.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 @ignore_me() #0 {
%1 = call i32 @protect(i32 noundef 0)
%2 = call i32 @set_led(i32 noundef 0)
ret void
}
declare i32 @protect(i32 noundef) #1
declare i32 @set_led(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/tmpqdurkg3m.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 @ignore_me() #0 {
%1 = call i32 @protect(i32 noundef 0)
%2 = call i32 @set_led(i32 noundef 0)
ret void
}
declare i32 @protect(i32 noundef) #1
declare i32 @set_led(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/tmpk0ni6ixp.c'
source_filename = "/tmp/tmpk0ni6ixp.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 @alloc_XCharStruct() #0 {
%1 = alloca ptr, align 8
%2 = call i64 @malloc(i32 noundef 4)
%3 = inttoptr i64 %2 to ptr
store ptr %3, ptr %1, align 8
%4 = load ptr, ptr %1, align 8
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %8
6: ; preds = %0
%7 = call i32 (...) @abort() #3
unreachable
8: ; preds = %0
%9 = load ptr, ptr %1, align 8
ret ptr %9
}
declare i64 @malloc(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #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/tmpk0ni6ixp.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 @alloc_XCharStruct() #0 {
%1 = alloca ptr, align 8
%2 = call i64 @malloc(i32 noundef 4)
%3 = inttoptr i64 %2 to ptr
store ptr %3, ptr %1, align 8
%4 = load ptr, ptr %1, align 8
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %8
6: ; preds = %0
%7 = call i32 (...) @abort() #3
unreachable
8: ; preds = %0
%9 = load ptr, ptr %1, align 8
ret ptr %9
}
declare i64 @malloc(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #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/tmpi7nb3sh5.c'
source_filename = "/tmp/tmpi7nb3sh5.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 [33 x i8] c"NOT IMPLEMENTED:pa_strlist_free\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pa_strlist_free() #0 {
%1 = alloca i32, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = load i32, ptr %1, align 4
ret i32 %3
}
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/tmpi7nb3sh5.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 [33 x i8] c"NOT IMPLEMENTED:pa_strlist_free\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pa_strlist_free() #0 {
%1 = alloca i32, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = load i32, ptr %1, align 4
ret i32 %3
}
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/tmpyd_u61a0.c'
source_filename = "/tmp/tmpyd_u61a0.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 @add(i32 noundef 2, i32 noundef 12, i32 noundef 34)
ret i32 0
}
declare i32 @add(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/tmpyd_u61a0.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 @add(i32 noundef 2, i32 noundef 12, i32 noundef 34)
ret i32 0
}
declare i32 @add(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/tmpahlqmivx.c'
source_filename = "/tmp/tmpahlqmivx.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 @length3(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds i32, ptr %3, i64 0
%5 = load i32, ptr %4, align 4
%6 = load ptr, ptr %2, align 8
%7 = getelementptr inbounds i32, ptr %6, i64 0
%8 = load i32, ptr %7, align 4
%9 = mul nsw i32 %5, %8
%10 = load ptr, ptr %2, align 8
%11 = getelementptr inbounds i32, ptr %10, i64 1
%12 = load i32, ptr %11, align 4
%13 = load ptr, ptr %2, align 8
%14 = getelementptr inbounds i32, ptr %13, i64 1
%15 = load i32, ptr %14, align 4
%16 = mul nsw i32 %12, %15
%17 = add nsw i32 %9, %16
%18 = load ptr, ptr %2, align 8
%19 = getelementptr inbounds i32, ptr %18, i64 2
%20 = load i32, ptr %19, align 4
%21 = load ptr, ptr %2, align 8
%22 = getelementptr inbounds i32, ptr %21, i64 2
%23 = load i32, ptr %22, align 4
%24 = mul nsw i32 %20, %23
%25 = add nsw i32 %17, %24
%26 = call i32 @sqrt(i32 noundef %25)
ret i32 %26
}
declare i32 @sqrt(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/tmpahlqmivx.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 @length3(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds i32, ptr %3, i64 0
%5 = load i32, ptr %4, align 4
%6 = load ptr, ptr %2, align 8
%7 = getelementptr inbounds i32, ptr %6, i64 0
%8 = load i32, ptr %7, align 4
%9 = mul nsw i32 %5, %8
%10 = load ptr, ptr %2, align 8
%11 = getelementptr inbounds i32, ptr %10, i64 1
%12 = load i32, ptr %11, align 4
%13 = load ptr, ptr %2, align 8
%14 = getelementptr inbounds i32, ptr %13, i64 1
%15 = load i32, ptr %14, align 4
%16 = mul nsw i32 %12, %15
%17 = add nsw i32 %9, %16
%18 = load ptr, ptr %2, align 8
%19 = getelementptr inbounds i32, ptr %18, i64 2
%20 = load i32, ptr %19, align 4
%21 = load ptr, ptr %2, align 8
%22 = getelementptr inbounds i32, ptr %21, i64 2
%23 = load i32, ptr %22, align 4
%24 = mul nsw i32 %20, %23
%25 = add nsw i32 %17, %24
%26 = call i32 @sqrt(i32 noundef %25)
ret i32 %26
}
declare i32 @sqrt(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/tmpeoubalod.c'
source_filename = "/tmp/tmpeoubalod.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/tmpeoubalod.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/tmpfqylrh78.c'
source_filename = "/tmp/tmpfqylrh78.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"
@option = external global i32, align 4
@pos1 = external global i32, align 4
@pos2 = external global i32, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @charcmp(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i8, align 1
%7 = alloca i8, align 1
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%13 = load i32, ptr @option, align 4
%14 = and i32 %13, 4
%15 = icmp ne i32 %14, 0
%16 = zext i1 %15 to i64
%17 = select i1 %15, i32 1, i32 0
store i32 %17, ptr %11, align 4
%18 = load i32, ptr @option, align 4
%19 = and i32 %18, 8
%20 = icmp ne i32 %19, 0
%21 = zext i1 %20 to i64
%22 = select i1 %20, i32 1, i32 0
store i32 %22, ptr %12, align 4
%23 = load i32, ptr @pos1, align 4
store i32 %23, ptr %9, align 4
store i32 %23, ptr %8, align 4
%24 = load i32, ptr @pos2, align 4
%25 = icmp sgt i32 %24, 0
br i1 %25, label %26, label %28
26: ; preds = %2
%27 = load i32, ptr @pos2, align 4
store i32 %27, ptr %10, align 4
br label %38
28: ; preds = %2
%29 = load ptr, ptr %4, align 8
%30 = call i32 @strlen(ptr noundef %29)
store i32 %30, ptr %10, align 4
%31 = load ptr, ptr %5, align 8
%32 = call i32 @strlen(ptr noundef %31)
%33 = icmp sgt i32 %30, %32
br i1 %33, label %34, label %37
34: ; preds = %28
%35 = load ptr, ptr %5, align 8
%36 = call i32 @strlen(ptr noundef %35)
store i32 %36, ptr %10, align 4
br label %37
37: ; preds = %34, %28
br label %38
38: ; preds = %37, %26
br label %39
39: ; preds = %226, %38
%40 = load i32, ptr %12, align 4
%41 = icmp ne i32 %40, 0
br i1 %41, label %42, label %147
42: ; preds = %39
br label %43
43: ; preds = %89, %42
%44 = load i32, ptr %8, align 4
%45 = load i32, ptr %10, align 4
%46 = icmp slt i32 %44, %45
br i1 %46, label %47, label %71
47: ; preds = %43
%48 = load ptr, ptr %4, align 8
%49 = load i32, ptr %8, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i8, ptr %48, i64 %50
%52 = load i8, ptr %51, align 1
%53 = call i32 @isalnum(i8 noundef signext %52)
%54 = icmp ne i32 %53, 0
br i1 %54, label %71, label %55
55: ; preds = %47
%56 = load ptr, ptr %4, align 8
%57 = load i32, ptr %8, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds i8, ptr %56, i64 %58
%60 = load i8, ptr %59, align 1
%61 = sext i8 %60 to i32
%62 = icmp ne i32 %61, 32
br i1 %62, label %63, label %71
63: ; preds = %55
%64 = load ptr, ptr %4, align 8
%65 = load i32, ptr %8, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds i8, ptr %64, i64 %66
%68 = load i8, ptr %67, align 1
%69 = sext i8 %68 to i32
%70 = icmp ne i32 %69, 0
br label %71
71: ; preds = %63, %55, %47, %43
%72 = phi i1 [ false, %55 ], [ false, %47 ], [ false, %43 ], [ %70, %63 ]
br i1 %72, label %73, label %92
73: ; preds = %71
%74 = load ptr, ptr %4, align 8
%75 = load i32, ptr %8, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds i8, ptr %74, i64 %76
%78 = load i8, ptr %77, align 1
%79 = sext i8 %78 to i32
%80 = icmp ne i32 %79, 32
br i1 %80, label %81, label %89
81: ; preds = %73
%82 = load ptr, ptr %4, align 8
%83 = load i32, ptr %8, align 4
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds i8, ptr %82, i64 %84
%86 = load i8, ptr %85, align 1
%87 = sext i8 %86 to i32
%88 = icmp ne i32 %87, 0
br label %89
89: ; preds = %81, %73
%90 = phi i1 [ false, %73 ], [ %88, %81 ]
%91 = zext i1 %90 to i32
br label %43, !llvm.loop !6
92: ; preds = %71
%93 = load i32, ptr %8, align 4
%94 = add nsw i32 %93, 1
store i32 %94, ptr %8, align 4
br label %95
95: ; preds = %141, %92
%96 = load i32, ptr %9, align 4
%97 = load i32, ptr %10, align 4
%98 = icmp slt i32 %96, %97
br i1 %98, label %99, label %123
99: ; preds = %95
%100 = load ptr, ptr %5, align 8
%101 = load i32, ptr %9, align 4
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds i8, ptr %100, i64 %102
%104 = load i8, ptr %103, align 1
%105 = call i32 @isalnum(i8 noundef signext %104)
%106 = icmp ne i32 %105, 0
br i1 %106, label %123, label %107
107: ; preds = %99
%108 = load ptr, ptr %5, align 8
%109 = load i32, ptr %9, align 4
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds i8, ptr %108, i64 %110
%112 = load i8, ptr %111, align 1
%113 = sext i8 %112 to i32
%114 = icmp ne i32 %113, 32
br i1 %114, label %115, label %123
115: ; preds = %107
%116 = load ptr, ptr %5, align 8
%117 = load i32, ptr %9, align 4
%118 = sext i32 %117 to i64
%119 = getelementptr inbounds i8, ptr %116, i64 %118
%120 = load i8, ptr %119, align 1
%121 = sext i8 %120 to i32
%122 = icmp ne i32 %121, 0
br label %123
123: ; preds = %115, %107, %99, %95
%124 = phi i1 [ false, %107 ], [ false, %99 ], [ false, %95 ], [ %122, %115 ]
br i1 %124, label %125, label %144
125: ; preds = %123
%126 = load ptr, ptr %5, align 8
%127 = load i32, ptr %9, align 4
%128 = sext i32 %127 to i64
%129 = getelementptr inbounds i8, ptr %126, i64 %128
%130 = load i8, ptr %129, align 1
%131 = sext i8 %130 to i32
%132 = icmp ne i32 %131, 32
br i1 %132, label %133, label %141
133: ; preds = %125
%134 = load ptr, ptr %5, align 8
%135 = load i32, ptr %9, align 4
%136 = sext i32 %135 to i64
%137 = getelementptr inbounds i8, ptr %134, i64 %136
%138 = load i8, ptr %137, align 1
%139 = sext i8 %138 to i32
%140 = icmp ne i32 %139, 0
br label %141
141: ; preds = %133, %125
%142 = phi i1 [ false, %125 ], [ %140, %133 ]
%143 = zext i1 %142 to i32
br label %95, !llvm.loop !8
144: ; preds = %123
%145 = load i32, ptr %9, align 4
%146 = add nsw i32 %145, 1
store i32 %146, ptr %9, align 4
br label %147
147: ; preds = %144, %39
%148 = load i32, ptr %8, align 4
%149 = load i32, ptr %10, align 4
%150 = icmp slt i32 %148, %149
br i1 %150, label %151, label %211
151: ; preds = %147
%152 = load i32, ptr %9, align 4
%153 = load i32, ptr %10, align 4
%154 = icmp slt i32 %152, %153
br i1 %154, label %155, label %211
155: ; preds = %151
%156 = load i32, ptr %11, align 4
%157 = icmp ne i32 %156, 0
br i1 %157, label %158, label %166
158: ; preds = %155
%159 = load ptr, ptr %4, align 8
%160 = load i32, ptr %8, align 4
%161 = sext i32 %160 to i64
%162 = getelementptr inbounds i8, ptr %159, i64 %161
%163 = load i8, ptr %162, align 1
%164 = call signext i8 @tolower(i8 noundef signext %163)
%165 = sext i8 %164 to i32
br label %173
166: ; preds = %155
%167 = load ptr, ptr %4, align 8
%168 = load i32, ptr %8, align 4
%169 = sext i32 %168 to i64
%170 = getelementptr inbounds i8, ptr %167, i64 %169
%171 = load i8, ptr %170, align 1
%172 = sext i8 %171 to i32
br label %173
173: ; preds = %166, %158
%174 = phi i32 [ %165, %158 ], [ %172, %166 ]
%175 = trunc i32 %174 to i8
store i8 %175, ptr %6, align 1
%176 = load i32, ptr %8, align 4
%177 = add nsw i32 %176, 1
store i32 %177, ptr %8, align 4
%178 = load i32, ptr %11, align 4
%179 = icmp ne i32 %178, 0
br i1 %179, label %180, label %188
180: ; preds = %173
%181 = load ptr, ptr %5, align 8
%182 = load i32, ptr %9, align 4
%183 = sext i32 %182 to i64
%184 = getelementptr inbounds i8, ptr %181, i64 %183
%185 = load i8, ptr %184, align 1
%186 = call signext i8 @tolower(i8 noundef signext %185)
%187 = sext i8 %186 to i32
br label %195
188: ; preds = %173
%189 = load ptr, ptr %5, align 8
%190 = load i32, ptr %9, align 4
%191 = sext i32 %190 to i64
%192 = getelementptr inbounds i8, ptr %189, i64 %191
%193 = load i8, ptr %192, align 1
%194 = sext i8 %193 to i32
br label %195
195: ; preds = %188, %180
%196 = phi i32 [ %187, %180 ], [ %194, %188 ]
%197 = trunc i32 %196 to i8
store i8 %197, ptr %7, align 1
%198 = load i32, ptr %9, align 4
%199 = add nsw i32 %198, 1
store i32 %199, ptr %9, align 4
%200 = load i8, ptr %6, align 1
%201 = sext i8 %200 to i32
%202 = load i8, ptr %7, align 1
%203 = sext i8 %202 to i32
%204 = icmp eq i32 %201, %203
br i1 %204, label %205, label %210
205: ; preds = %195
%206 = load i8, ptr %6, align 1
%207 = sext i8 %206 to i32
%208 = icmp eq i32 %207, 0
br i1 %208, label %209, label %210
209: ; preds = %205
store i32 0, ptr %3, align 4
br label %234
210: ; preds = %205, %195
br label %211
211: ; preds = %210, %151, %147
br label %212
212: ; preds = %211
%213 = load i8, ptr %6, align 1
%214 = sext i8 %213 to i32
%215 = load i8, ptr %7, align 1
%216 = sext i8 %215 to i32
%217 = icmp eq i32 %214, %216
br i1 %217, label %218, label %226
218: ; preds = %212
%219 = load i32, ptr %8, align 4
%220 = load i32, ptr %10, align 4
%221 = icmp slt i32 %219, %220
br i1 %221, label %222, label %226
222: ; preds = %218
%223 = load i32, ptr %9, align 4
%224 = load i32, ptr %10, align 4
%225 = icmp slt i32 %223, %224
br label %226
226: ; preds = %222, %218, %212
%227 = phi i1 [ false, %218 ], [ false, %212 ], [ %225, %222 ]
br i1 %227, label %39, label %228, !llvm.loop !9
228: ; preds = %226
%229 = load i8, ptr %6, align 1
%230 = sext i8 %229 to i32
%231 = load i8, ptr %7, align 1
%232 = sext i8 %231 to i32
%233 = sub nsw i32 %230, %232
store i32 %233, ptr %3, align 4
br label %234
234: ; preds = %228, %209
%235 = load i32, ptr %3, align 4
ret i32 %235
}
declare i32 @strlen(ptr noundef) #1
declare i32 @isalnum(i8 noundef signext) #1
declare signext i8 @tolower(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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfqylrh78.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"
@option = external global i32, align 4
@pos1 = external global i32, align 4
@pos2 = external global i32, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @charcmp(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i8, align 1
%7 = alloca i8, align 1
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%13 = load i32, ptr @option, align 4
%14 = and i32 %13, 4
%15 = icmp ne i32 %14, 0
%16 = zext i1 %15 to i64
%17 = select i1 %15, i32 1, i32 0
store i32 %17, ptr %11, align 4
%18 = load i32, ptr @option, align 4
%19 = and i32 %18, 8
%20 = icmp ne i32 %19, 0
%21 = zext i1 %20 to i64
%22 = select i1 %20, i32 1, i32 0
store i32 %22, ptr %12, align 4
%23 = load i32, ptr @pos1, align 4
store i32 %23, ptr %9, align 4
store i32 %23, ptr %8, align 4
%24 = load i32, ptr @pos2, align 4
%25 = icmp sgt i32 %24, 0
br i1 %25, label %26, label %28
26: ; preds = %2
%27 = load i32, ptr @pos2, align 4
store i32 %27, ptr %10, align 4
br label %38
28: ; preds = %2
%29 = load ptr, ptr %4, align 8
%30 = call i32 @strlen(ptr noundef %29)
store i32 %30, ptr %10, align 4
%31 = load ptr, ptr %5, align 8
%32 = call i32 @strlen(ptr noundef %31)
%33 = icmp sgt i32 %30, %32
br i1 %33, label %34, label %37
34: ; preds = %28
%35 = load ptr, ptr %5, align 8
%36 = call i32 @strlen(ptr noundef %35)
store i32 %36, ptr %10, align 4
br label %37
37: ; preds = %34, %28
br label %38
38: ; preds = %37, %26
br label %39
39: ; preds = %226, %38
%40 = load i32, ptr %12, align 4
%41 = icmp ne i32 %40, 0
br i1 %41, label %42, label %147
42: ; preds = %39
br label %43
43: ; preds = %89, %42
%44 = load i32, ptr %8, align 4
%45 = load i32, ptr %10, align 4
%46 = icmp slt i32 %44, %45
br i1 %46, label %47, label %71
47: ; preds = %43
%48 = load ptr, ptr %4, align 8
%49 = load i32, ptr %8, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i8, ptr %48, i64 %50
%52 = load i8, ptr %51, align 1
%53 = call i32 @isalnum(i8 noundef signext %52)
%54 = icmp ne i32 %53, 0
br i1 %54, label %71, label %55
55: ; preds = %47
%56 = load ptr, ptr %4, align 8
%57 = load i32, ptr %8, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds i8, ptr %56, i64 %58
%60 = load i8, ptr %59, align 1
%61 = sext i8 %60 to i32
%62 = icmp ne i32 %61, 32
br i1 %62, label %63, label %71
63: ; preds = %55
%64 = load ptr, ptr %4, align 8
%65 = load i32, ptr %8, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds i8, ptr %64, i64 %66
%68 = load i8, ptr %67, align 1
%69 = sext i8 %68 to i32
%70 = icmp ne i32 %69, 0
br label %71
71: ; preds = %63, %55, %47, %43
%72 = phi i1 [ false, %55 ], [ false, %47 ], [ false, %43 ], [ %70, %63 ]
br i1 %72, label %73, label %92
73: ; preds = %71
%74 = load ptr, ptr %4, align 8
%75 = load i32, ptr %8, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds i8, ptr %74, i64 %76
%78 = load i8, ptr %77, align 1
%79 = sext i8 %78 to i32
%80 = icmp ne i32 %79, 32
br i1 %80, label %81, label %89
81: ; preds = %73
%82 = load ptr, ptr %4, align 8
%83 = load i32, ptr %8, align 4
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds i8, ptr %82, i64 %84
%86 = load i8, ptr %85, align 1
%87 = sext i8 %86 to i32
%88 = icmp ne i32 %87, 0
br label %89
89: ; preds = %81, %73
%90 = phi i1 [ false, %73 ], [ %88, %81 ]
%91 = zext i1 %90 to i32
br label %43, !llvm.loop !6
92: ; preds = %71
%93 = load i32, ptr %8, align 4
%94 = add nsw i32 %93, 1
store i32 %94, ptr %8, align 4
br label %95
95: ; preds = %141, %92
%96 = load i32, ptr %9, align 4
%97 = load i32, ptr %10, align 4
%98 = icmp slt i32 %96, %97
br i1 %98, label %99, label %123
99: ; preds = %95
%100 = load ptr, ptr %5, align 8
%101 = load i32, ptr %9, align 4
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds i8, ptr %100, i64 %102
%104 = load i8, ptr %103, align 1
%105 = call i32 @isalnum(i8 noundef signext %104)
%106 = icmp ne i32 %105, 0
br i1 %106, label %123, label %107
107: ; preds = %99
%108 = load ptr, ptr %5, align 8
%109 = load i32, ptr %9, align 4
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds i8, ptr %108, i64 %110
%112 = load i8, ptr %111, align 1
%113 = sext i8 %112 to i32
%114 = icmp ne i32 %113, 32
br i1 %114, label %115, label %123
115: ; preds = %107
%116 = load ptr, ptr %5, align 8
%117 = load i32, ptr %9, align 4
%118 = sext i32 %117 to i64
%119 = getelementptr inbounds i8, ptr %116, i64 %118
%120 = load i8, ptr %119, align 1
%121 = sext i8 %120 to i32
%122 = icmp ne i32 %121, 0
br label %123
123: ; preds = %115, %107, %99, %95
%124 = phi i1 [ false, %107 ], [ false, %99 ], [ false, %95 ], [ %122, %115 ]
br i1 %124, label %125, label %144
125: ; preds = %123
%126 = load ptr, ptr %5, align 8
%127 = load i32, ptr %9, align 4
%128 = sext i32 %127 to i64
%129 = getelementptr inbounds i8, ptr %126, i64 %128
%130 = load i8, ptr %129, align 1
%131 = sext i8 %130 to i32
%132 = icmp ne i32 %131, 32
br i1 %132, label %133, label %141
133: ; preds = %125
%134 = load ptr, ptr %5, align 8
%135 = load i32, ptr %9, align 4
%136 = sext i32 %135 to i64
%137 = getelementptr inbounds i8, ptr %134, i64 %136
%138 = load i8, ptr %137, align 1
%139 = sext i8 %138 to i32
%140 = icmp ne i32 %139, 0
br label %141
141: ; preds = %133, %125
%142 = phi i1 [ false, %125 ], [ %140, %133 ]
%143 = zext i1 %142 to i32
br label %95, !llvm.loop !8
144: ; preds = %123
%145 = load i32, ptr %9, align 4
%146 = add nsw i32 %145, 1
store i32 %146, ptr %9, align 4
br label %147
147: ; preds = %144, %39
%148 = load i32, ptr %8, align 4
%149 = load i32, ptr %10, align 4
%150 = icmp slt i32 %148, %149
br i1 %150, label %151, label %211
151: ; preds = %147
%152 = load i32, ptr %9, align 4
%153 = load i32, ptr %10, align 4
%154 = icmp slt i32 %152, %153
br i1 %154, label %155, label %211
155: ; preds = %151
%156 = load i32, ptr %11, align 4
%157 = icmp ne i32 %156, 0
br i1 %157, label %158, label %166
158: ; preds = %155
%159 = load ptr, ptr %4, align 8
%160 = load i32, ptr %8, align 4
%161 = sext i32 %160 to i64
%162 = getelementptr inbounds i8, ptr %159, i64 %161
%163 = load i8, ptr %162, align 1
%164 = call signext i8 @tolower(i8 noundef signext %163)
%165 = sext i8 %164 to i32
br label %173
166: ; preds = %155
%167 = load ptr, ptr %4, align 8
%168 = load i32, ptr %8, align 4
%169 = sext i32 %168 to i64
%170 = getelementptr inbounds i8, ptr %167, i64 %169
%171 = load i8, ptr %170, align 1
%172 = sext i8 %171 to i32
br label %173
173: ; preds = %166, %158
%174 = phi i32 [ %165, %158 ], [ %172, %166 ]
%175 = trunc i32 %174 to i8
store i8 %175, ptr %6, align 1
%176 = load i32, ptr %8, align 4
%177 = add nsw i32 %176, 1
store i32 %177, ptr %8, align 4
%178 = load i32, ptr %11, align 4
%179 = icmp ne i32 %178, 0
br i1 %179, label %180, label %188
180: ; preds = %173
%181 = load ptr, ptr %5, align 8
%182 = load i32, ptr %9, align 4
%183 = sext i32 %182 to i64
%184 = getelementptr inbounds i8, ptr %181, i64 %183
%185 = load i8, ptr %184, align 1
%186 = call signext i8 @tolower(i8 noundef signext %185)
%187 = sext i8 %186 to i32
br label %195
188: ; preds = %173
%189 = load ptr, ptr %5, align 8
%190 = load i32, ptr %9, align 4
%191 = sext i32 %190 to i64
%192 = getelementptr inbounds i8, ptr %189, i64 %191
%193 = load i8, ptr %192, align 1
%194 = sext i8 %193 to i32
br label %195
195: ; preds = %188, %180
%196 = phi i32 [ %187, %180 ], [ %194, %188 ]
%197 = trunc i32 %196 to i8
store i8 %197, ptr %7, align 1
%198 = load i32, ptr %9, align 4
%199 = add nsw i32 %198, 1
store i32 %199, ptr %9, align 4
%200 = load i8, ptr %6, align 1
%201 = sext i8 %200 to i32
%202 = load i8, ptr %7, align 1
%203 = sext i8 %202 to i32
%204 = icmp eq i32 %201, %203
br i1 %204, label %205, label %210
205: ; preds = %195
%206 = load i8, ptr %6, align 1
%207 = sext i8 %206 to i32
%208 = icmp eq i32 %207, 0
br i1 %208, label %209, label %210
209: ; preds = %205
store i32 0, ptr %3, align 4
br label %234
210: ; preds = %205, %195
br label %211
211: ; preds = %210, %151, %147
br label %212
212: ; preds = %211
%213 = load i8, ptr %6, align 1
%214 = sext i8 %213 to i32
%215 = load i8, ptr %7, align 1
%216 = sext i8 %215 to i32
%217 = icmp eq i32 %214, %216
br i1 %217, label %218, label %226
218: ; preds = %212
%219 = load i32, ptr %8, align 4
%220 = load i32, ptr %10, align 4
%221 = icmp slt i32 %219, %220
br i1 %221, label %222, label %226
222: ; preds = %218
%223 = load i32, ptr %9, align 4
%224 = load i32, ptr %10, align 4
%225 = icmp slt i32 %223, %224
br label %226
226: ; preds = %222, %218, %212
%227 = phi i1 [ false, %218 ], [ false, %212 ], [ %225, %222 ]
br i1 %227, label %39, label %228, !llvm.loop !9
228: ; preds = %226
%229 = load i8, ptr %6, align 1
%230 = sext i8 %229 to i32
%231 = load i8, ptr %7, align 1
%232 = sext i8 %231 to i32
%233 = sub nsw i32 %230, %232
store i32 %233, ptr %3, align 4
br label %234
234: ; preds = %228, %209
%235 = load i32, ptr %3, align 4
ret i32 %235
}
declare i32 @strlen(ptr noundef) #1
declare i32 @isalnum(i8 noundef signext) #1
declare signext i8 @tolower(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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpw8z43pzb.c'
source_filename = "/tmp/tmpw8z43pzb.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"COHADAR\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"the-coin-change-problem.in\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@stdin = dso_local global ptr null, align 8
; 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 = load i32, ptr %4, align 4
%8 = icmp eq i32 %7, 2
br i1 %8, label %9, label %19
9: ; preds = %2
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds ptr, ptr %10, i64 1
%12 = load ptr, ptr %11, align 8
%13 = call i64 @strcmp(ptr noundef %12, ptr noundef @.str)
%14 = icmp eq i64 %13, 0
br i1 %14, label %15, label %19
15: ; preds = %9
%16 = call ptr @fopen(ptr noundef @.str.1, ptr noundef @.str.2)
store ptr %16, ptr %6, align 8
%17 = load ptr, ptr %6, align 8
%18 = call i32 @assert(ptr noundef %17)
br label %21
19: ; preds = %9, %2
%20 = load ptr, ptr @stdin, align 8
store ptr %20, ptr %6, align 8
br label %21
21: ; preds = %19, %15
%22 = load ptr, ptr %6, align 8
%23 = call i32 @load(ptr noundef %22)
ret i32 0
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @assert(ptr noundef) #1
declare i32 @load(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/tmpw8z43pzb.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"COHADAR\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"the-coin-change-problem.in\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@stdin = dso_local global ptr null, align 8
; 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 = load i32, ptr %4, align 4
%8 = icmp eq i32 %7, 2
br i1 %8, label %9, label %19
9: ; preds = %2
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds ptr, ptr %10, i64 1
%12 = load ptr, ptr %11, align 8
%13 = call i64 @strcmp(ptr noundef %12, ptr noundef @.str)
%14 = icmp eq i64 %13, 0
br i1 %14, label %15, label %19
15: ; preds = %9
%16 = call ptr @fopen(ptr noundef @.str.1, ptr noundef @.str.2)
store ptr %16, ptr %6, align 8
%17 = load ptr, ptr %6, align 8
%18 = call i32 @assert(ptr noundef %17)
br label %21
19: ; preds = %9, %2
%20 = load ptr, ptr @stdin, align 8
store ptr %20, ptr %6, align 8
br label %21
21: ; preds = %19, %15
%22 = load ptr, ptr %6, align 8
%23 = call i32 @load(ptr noundef %22)
ret i32 0
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @assert(ptr noundef) #1
declare i32 @load(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/tmphwp40ar8.c'
source_filename = "/tmp/tmphwp40ar8.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 @raa_init() #0 {
%1 = call ptr @real_raa_init(i32 noundef 0)
ret ptr %1
}
declare ptr @real_raa_init(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/tmphwp40ar8.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 @raa_init() #0 {
%1 = call ptr @real_raa_init(i32 noundef 0)
ret ptr %1
}
declare ptr @real_raa_init(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/tmpd2ojzbqn.c'
source_filename = "/tmp/tmpd2ojzbqn.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 [140 x i8] c"The raduis is %.3f, the height of the cylinder is %.3f, the surface area of the cylinder is %.3f\0A and the valume of the cylinder is %.3f\0A\0A \00", align 1
@.str.1 = private unnamed_addr constant [44 x i8] c"The raduis %.1f is larger than height %.1f\0A\00", align 1
@.str.2 = private unnamed_addr constant [44 x i8] c"The height %.1f is larger than raduis %.1f\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 double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store double 5.770000e+00, ptr %6, align 8
store double 6.100000e+00, ptr %7, align 8
%10 = load double, ptr %7, align 8
%11 = load double, ptr %6, align 8
%12 = fadd double %10, %11
%13 = fmul double %12, 2.000000e+00
%14 = fmul double %13, 0x400921FB4D12D84A
%15 = load double, ptr %7, align 8
%16 = fmul double %14, %15
store double %16, ptr %8, align 8
%17 = load double, ptr %7, align 8
%18 = fmul double 0x400921FB4D12D84A, %17
%19 = load double, ptr %7, align 8
%20 = fmul double %18, %19
%21 = load double, ptr %6, align 8
%22 = fmul double %20, %21
store double %22, ptr %9, align 8
%23 = load double, ptr %7, align 8
%24 = load double, ptr %6, align 8
%25 = load double, ptr %8, align 8
%26 = load double, ptr %9, align 8
%27 = call i32 (ptr, double, double, ...) @printf(ptr noundef @.str, double noundef %23, double noundef %24, double noundef %25, double noundef %26)
%28 = load double, ptr %7, align 8
%29 = load double, ptr %6, align 8
%30 = fcmp ogt double %28, %29
br i1 %30, label %31, label %35
31: ; preds = %2
%32 = load double, ptr %7, align 8
%33 = load double, ptr %6, align 8
%34 = call i32 (ptr, double, double, ...) @printf(ptr noundef @.str.1, double noundef %32, double noundef %33)
br label %35
35: ; preds = %31, %2
%36 = load double, ptr %6, align 8
%37 = load double, ptr %7, align 8
%38 = fcmp ogt double %36, %37
br i1 %38, label %39, label %43
39: ; preds = %35
%40 = load double, ptr %6, align 8
%41 = load double, ptr %7, align 8
%42 = call i32 (ptr, double, double, ...) @printf(ptr noundef @.str.2, double noundef %40, double noundef %41)
br label %43
43: ; preds = %39, %35
ret i32 0
}
declare i32 @printf(ptr noundef, double 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" }
!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/tmpd2ojzbqn.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 [140 x i8] c"The raduis is %.3f, the height of the cylinder is %.3f, the surface area of the cylinder is %.3f\0A and the valume of the cylinder is %.3f\0A\0A \00", align 1
@.str.1 = private unnamed_addr constant [44 x i8] c"The raduis %.1f is larger than height %.1f\0A\00", align 1
@.str.2 = private unnamed_addr constant [44 x i8] c"The height %.1f is larger than raduis %.1f\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 double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store double 5.770000e+00, ptr %6, align 8
store double 6.100000e+00, ptr %7, align 8
%10 = load double, ptr %7, align 8
%11 = load double, ptr %6, align 8
%12 = fadd double %10, %11
%13 = fmul double %12, 2.000000e+00
%14 = fmul double %13, 0x400921FB4D12D84A
%15 = load double, ptr %7, align 8
%16 = fmul double %14, %15
store double %16, ptr %8, align 8
%17 = load double, ptr %7, align 8
%18 = fmul double 0x400921FB4D12D84A, %17
%19 = load double, ptr %7, align 8
%20 = fmul double %18, %19
%21 = load double, ptr %6, align 8
%22 = fmul double %20, %21
store double %22, ptr %9, align 8
%23 = load double, ptr %7, align 8
%24 = load double, ptr %6, align 8
%25 = load double, ptr %8, align 8
%26 = load double, ptr %9, align 8
%27 = call i32 (ptr, double, double, ...) @printf(ptr noundef @.str, double noundef %23, double noundef %24, double noundef %25, double noundef %26)
%28 = load double, ptr %7, align 8
%29 = load double, ptr %6, align 8
%30 = fcmp ogt double %28, %29
br i1 %30, label %31, label %35
31: ; preds = %2
%32 = load double, ptr %7, align 8
%33 = load double, ptr %6, align 8
%34 = call i32 (ptr, double, double, ...) @printf(ptr noundef @.str.1, double noundef %32, double noundef %33)
br label %35
35: ; preds = %31, %2
%36 = load double, ptr %6, align 8
%37 = load double, ptr %7, align 8
%38 = fcmp ogt double %36, %37
br i1 %38, label %39, label %43
39: ; preds = %35
%40 = load double, ptr %6, align 8
%41 = load double, ptr %7, align 8
%42 = call i32 (ptr, double, double, ...) @printf(ptr noundef @.str.2, double noundef %40, double noundef %41)
br label %43
43: ; preds = %39, %35
ret i32 0
}
declare i32 @printf(ptr noundef, double 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" }
!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/tmpdjj008ji.c'
source_filename = "/tmp/tmpdjj008ji.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/tmpdjj008ji.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/tmpvlelx8gx.c'
source_filename = "/tmp/tmpvlelx8gx.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 [22 x i8] c"\0A-------------------\0A\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"\0AInterpolacao polinomial: \0A\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"x\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"f(x)\00", align 1
@.str.4 = private unnamed_addr constant [41 x i8] c"Polinomio interpolador - forma matricial\00", align 1
@.str.5 = private unnamed_addr constant [42 x i8] c"Polinomio interpolador - forma polinomial\00", align 1
@.str.6 = private unnamed_addr constant [37 x i8] c"\0AInterpolacao efetuada com sucesso.\0A\00", align 1
@.str.7 = private unnamed_addr constant [38 x i8] c"\0AInterpolacao nao passou nos testes.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @imprime_teste_interpolacao(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i32 %4, ptr %10, align 4
%12 = call i32 @printf(ptr noundef @.str)
%13 = call i32 @printf(ptr noundef @.str.1)
%14 = load ptr, ptr %6, align 8
%15 = load i32, ptr %10, align 4
%16 = call i32 @imprime_matriz(ptr noundef %14, i32 noundef %15, i32 noundef 1, ptr noundef @.str.2)
%17 = load ptr, ptr %7, align 8
%18 = load i32, ptr %10, align 4
%19 = call i32 @imprime_matriz(ptr noundef %17, i32 noundef %18, i32 noundef 1, ptr noundef @.str.3)
%20 = load ptr, ptr %6, align 8
%21 = load ptr, ptr %7, align 8
%22 = load i32, ptr %10, align 4
%23 = load ptr, ptr %8, align 8
%24 = call i32 @polinomio_interpolador(ptr noundef %20, ptr noundef %21, i32 noundef %22, ptr noundef %23)
%25 = load ptr, ptr %8, align 8
%26 = load i32, ptr %10, align 4
%27 = call i32 @imprime_matriz(ptr noundef %25, i32 noundef %26, i32 noundef 1, ptr noundef @.str.4)
%28 = load ptr, ptr %8, align 8
%29 = load i32, ptr %10, align 4
%30 = call i32 @imprime_polinomio(ptr noundef %28, i32 noundef %29, ptr noundef @.str.5)
%31 = load ptr, ptr %8, align 8
%32 = load ptr, ptr %9, align 8
%33 = load i32, ptr %10, align 4
%34 = call i32 @confere_interpolacao_polinomial(ptr noundef %31, ptr noundef %32, i32 noundef %33)
store i32 %34, ptr %11, align 4
%35 = load i32, ptr %11, align 4
%36 = icmp ne i32 %35, 0
br i1 %36, label %37, label %39
37: ; preds = %5
%38 = call i32 @printf(ptr noundef @.str.6)
br label %41
39: ; preds = %5
%40 = call i32 @printf(ptr noundef @.str.7)
br label %41
41: ; preds = %39, %37
%42 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @imprime_matriz(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @polinomio_interpolador(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @imprime_polinomio(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @confere_interpolacao_polinomial(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/tmpvlelx8gx.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 [22 x i8] c"\0A-------------------\0A\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"\0AInterpolacao polinomial: \0A\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"x\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"f(x)\00", align 1
@.str.4 = private unnamed_addr constant [41 x i8] c"Polinomio interpolador - forma matricial\00", align 1
@.str.5 = private unnamed_addr constant [42 x i8] c"Polinomio interpolador - forma polinomial\00", align 1
@.str.6 = private unnamed_addr constant [37 x i8] c"\0AInterpolacao efetuada com sucesso.\0A\00", align 1
@.str.7 = private unnamed_addr constant [38 x i8] c"\0AInterpolacao nao passou nos testes.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @imprime_teste_interpolacao(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i32 %4, ptr %10, align 4
%12 = call i32 @printf(ptr noundef @.str)
%13 = call i32 @printf(ptr noundef @.str.1)
%14 = load ptr, ptr %6, align 8
%15 = load i32, ptr %10, align 4
%16 = call i32 @imprime_matriz(ptr noundef %14, i32 noundef %15, i32 noundef 1, ptr noundef @.str.2)
%17 = load ptr, ptr %7, align 8
%18 = load i32, ptr %10, align 4
%19 = call i32 @imprime_matriz(ptr noundef %17, i32 noundef %18, i32 noundef 1, ptr noundef @.str.3)
%20 = load ptr, ptr %6, align 8
%21 = load ptr, ptr %7, align 8
%22 = load i32, ptr %10, align 4
%23 = load ptr, ptr %8, align 8
%24 = call i32 @polinomio_interpolador(ptr noundef %20, ptr noundef %21, i32 noundef %22, ptr noundef %23)
%25 = load ptr, ptr %8, align 8
%26 = load i32, ptr %10, align 4
%27 = call i32 @imprime_matriz(ptr noundef %25, i32 noundef %26, i32 noundef 1, ptr noundef @.str.4)
%28 = load ptr, ptr %8, align 8
%29 = load i32, ptr %10, align 4
%30 = call i32 @imprime_polinomio(ptr noundef %28, i32 noundef %29, ptr noundef @.str.5)
%31 = load ptr, ptr %8, align 8
%32 = load ptr, ptr %9, align 8
%33 = load i32, ptr %10, align 4
%34 = call i32 @confere_interpolacao_polinomial(ptr noundef %31, ptr noundef %32, i32 noundef %33)
store i32 %34, ptr %11, align 4
%35 = load i32, ptr %11, align 4
%36 = icmp ne i32 %35, 0
br i1 %36, label %37, label %39
37: ; preds = %5
%38 = call i32 @printf(ptr noundef @.str.6)
br label %41
39: ; preds = %5
%40 = call i32 @printf(ptr noundef @.str.7)
br label %41
41: ; preds = %39, %37
%42 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @imprime_matriz(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @polinomio_interpolador(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @imprime_polinomio(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @confere_interpolacao_polinomial(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/tmpzgplf8c9.c'
source_filename = "/tmp/tmpzgplf8c9.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 [6 x i8] c"DONE\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @print_done_without_loop(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp ne i32 %4, 0
br i1 %5, label %6, label %11
6: ; preds = %1
%7 = call i32 @printf(ptr noundef @.str)
%8 = load i32, ptr %3, align 4
%9 = sub i32 %8, 1
%10 = call i32 @print_done_without_loop(i32 noundef %9)
br label %11
11: ; preds = %6, %1
%12 = load i32, ptr %2, align 4
ret i32 %12
}
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/tmpzgplf8c9.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 [6 x i8] c"DONE\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @print_done_without_loop(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp ne i32 %4, 0
br i1 %5, label %6, label %11
6: ; preds = %1
%7 = call i32 @printf(ptr noundef @.str)
%8 = load i32, ptr %3, align 4
%9 = sub i32 %8, 1
%10 = call i32 @print_done_without_loop(i32 noundef %9)
br label %11
11: ; preds = %6, %1
%12 = load i32, ptr %2, align 4
ret i32 %12
}
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/tmp9_80fwli.c'
source_filename = "/tmp/tmp9_80fwli.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 @mux(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store i32 %4, ptr %11, align 4
store i32 %5, ptr %12, align 4
%17 = load ptr, ptr %8, align 8
store ptr %17, ptr %15, align 8
%18 = load ptr, ptr %7, align 8
store ptr %18, ptr %16, align 8
store i32 0, ptr %14, align 4
store i32 0, ptr %13, align 4
br label %19
19: ; preds = %59, %6
%20 = load i32, ptr %13, align 4
%21 = load i32, ptr %11, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %23, label %62
23: ; preds = %19
%24 = load ptr, ptr %15, align 8
%25 = load i32, ptr %14, align 4
%26 = load i32, ptr %12, align 4
%27 = mul nsw i32 %25, %26
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %24, i64 %28
%30 = load ptr, ptr %16, align 8
%31 = load i32, ptr %13, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds ptr, ptr %30, i64 %32
%34 = load ptr, ptr %33, align 8
%35 = load i32, ptr %12, align 4
%36 = load ptr, ptr %10, align 8
%37 = load i32, ptr %13, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i32, ptr %36, i64 %38
%40 = load i32, ptr %39, align 4
%41 = mul nsw i32 %35, %40
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i8, ptr %34, i64 %42
%44 = load i32, ptr %12, align 4
%45 = load ptr, ptr %9, align 8
%46 = load i32, ptr %13, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i32, ptr %45, i64 %47
%49 = load i32, ptr %48, align 4
%50 = mul nsw i32 %44, %49
%51 = call i32 @memcpy(ptr noundef %29, ptr noundef %43, i32 noundef %50)
%52 = load ptr, ptr %9, align 8
%53 = load i32, ptr %13, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i32, ptr %52, i64 %54
%56 = load i32, ptr %55, align 4
%57 = load i32, ptr %14, align 4
%58 = add nsw i32 %57, %56
store i32 %58, ptr %14, align 4
br label %59
59: ; preds = %23
%60 = load i32, ptr %13, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %13, align 4
br label %19, !llvm.loop !6
62: ; preds = %19
ret void
}
declare i32 @memcpy(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/tmp9_80fwli.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 @mux(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store i32 %4, ptr %11, align 4
store i32 %5, ptr %12, align 4
%17 = load ptr, ptr %8, align 8
store ptr %17, ptr %15, align 8
%18 = load ptr, ptr %7, align 8
store ptr %18, ptr %16, align 8
store i32 0, ptr %14, align 4
store i32 0, ptr %13, align 4
%19 = load i32, ptr %13, align 4
%20 = load i32, ptr %11, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %.lr.ph, label %64
.lr.ph: ; preds = %6
br label %22
22: ; preds = %.lr.ph, %58
%23 = load ptr, ptr %15, align 8
%24 = load i32, ptr %14, align 4
%25 = load i32, ptr %12, align 4
%26 = mul nsw i32 %24, %25
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %23, i64 %27
%29 = load ptr, ptr %16, align 8
%30 = load i32, ptr %13, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds ptr, ptr %29, i64 %31
%33 = load ptr, ptr %32, align 8
%34 = load i32, ptr %12, align 4
%35 = load ptr, ptr %10, align 8
%36 = load i32, ptr %13, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i32, ptr %35, i64 %37
%39 = load i32, ptr %38, align 4
%40 = mul nsw i32 %34, %39
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i8, ptr %33, i64 %41
%43 = load i32, ptr %12, align 4
%44 = load ptr, ptr %9, align 8
%45 = load i32, ptr %13, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i32, ptr %44, i64 %46
%48 = load i32, ptr %47, align 4
%49 = mul nsw i32 %43, %48
%50 = call i32 @memcpy(ptr noundef %28, ptr noundef %42, i32 noundef %49)
%51 = load ptr, ptr %9, align 8
%52 = load i32, ptr %13, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds i32, ptr %51, i64 %53
%55 = load i32, ptr %54, align 4
%56 = load i32, ptr %14, align 4
%57 = add nsw i32 %56, %55
store i32 %57, ptr %14, align 4
br label %58
58: ; preds = %22
%59 = load i32, ptr %13, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %13, align 4
%61 = load i32, ptr %13, align 4
%62 = load i32, ptr %11, align 4
%63 = icmp slt i32 %61, %62
br i1 %63, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %58
br label %64
64: ; preds = %._crit_edge, %6
ret void
}
declare i32 @memcpy(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/tmp9owuzh2q.c'
source_filename = "/tmp/tmp9owuzh2q.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"\0AUSAGE: HDMan [options] newDict srcDict1 srcDict2 ... \0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [56 x i8] c" Option Default\0A\0A\00", align 1
@.str.2 = private unnamed_addr constant [49 x i8] c" -a s chars in s start comment lines #\0A\00", align 1
@.str.3 = private unnamed_addr constant [49 x i8] c" -b s define word boundary symbol #\0A\00", align 1
@.str.4 = private unnamed_addr constant [39 x i8] c" -e dir look for edit scripts in dir\0A\00", align 1
@.str.5 = private unnamed_addr constant [58 x i8] c" -g f global dictionary is in file f global.ded\0A\00", align 1
@.str.6 = private unnamed_addr constant [49 x i8] c" -h i j skip 1st i lines of j'th dic file 0\0A\00", align 1
@.str.7 = private unnamed_addr constant [51 x i8] c" -i include output symbols off\0A\00", align 1
@.str.8 = private unnamed_addr constant [51 x i8] c" -j include pronunciation probabilities off\0A\00", align 1
@.str.9 = private unnamed_addr constant [58 x i8] c" -l s write log file in file s no logging\0A\00", align 1
@.str.10 = private unnamed_addr constant [58 x i8] c" -m merge prons from all sources first_only\0A\00", align 1
@.str.11 = private unnamed_addr constant [51 x i8] c" -n f output union of all phones to f off\0A\00", align 1
@.str.12 = private unnamed_addr constant [55 x i8] c" -o disable dictionary output enabled\0A\00", align 1
@.str.13 = private unnamed_addr constant [38 x i8] c" -p f load phone list stored in f\0A\00", align 1
@.str.14 = private unnamed_addr constant [51 x i8] c" -t tag output words with source off\0A\00", align 1
@.str.15 = private unnamed_addr constant [37 x i8] c" -w f load word list stored in f\0A\00", align 1
@.str.16 = private unnamed_addr constant [2 x i8] c"Q\00", align 1
@.str.17 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ReportUsage() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
%6 = call i32 @printf(ptr noundef @.str.5)
%7 = call i32 @printf(ptr noundef @.str.6)
%8 = call i32 @printf(ptr noundef @.str.7)
%9 = call i32 @printf(ptr noundef @.str.8)
%10 = call i32 @printf(ptr noundef @.str.9)
%11 = call i32 @printf(ptr noundef @.str.10)
%12 = call i32 @printf(ptr noundef @.str.11)
%13 = call i32 @printf(ptr noundef @.str.12)
%14 = call i32 @printf(ptr noundef @.str.13)
%15 = call i32 @printf(ptr noundef @.str.14)
%16 = call i32 @printf(ptr noundef @.str.15)
%17 = call i32 @PrintStdOpts(ptr noundef @.str.16)
%18 = call i32 @printf(ptr noundef @.str.17)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @PrintStdOpts(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/tmp9owuzh2q.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"\0AUSAGE: HDMan [options] newDict srcDict1 srcDict2 ... \0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [56 x i8] c" Option Default\0A\0A\00", align 1
@.str.2 = private unnamed_addr constant [49 x i8] c" -a s chars in s start comment lines #\0A\00", align 1
@.str.3 = private unnamed_addr constant [49 x i8] c" -b s define word boundary symbol #\0A\00", align 1
@.str.4 = private unnamed_addr constant [39 x i8] c" -e dir look for edit scripts in dir\0A\00", align 1
@.str.5 = private unnamed_addr constant [58 x i8] c" -g f global dictionary is in file f global.ded\0A\00", align 1
@.str.6 = private unnamed_addr constant [49 x i8] c" -h i j skip 1st i lines of j'th dic file 0\0A\00", align 1
@.str.7 = private unnamed_addr constant [51 x i8] c" -i include output symbols off\0A\00", align 1
@.str.8 = private unnamed_addr constant [51 x i8] c" -j include pronunciation probabilities off\0A\00", align 1
@.str.9 = private unnamed_addr constant [58 x i8] c" -l s write log file in file s no logging\0A\00", align 1
@.str.10 = private unnamed_addr constant [58 x i8] c" -m merge prons from all sources first_only\0A\00", align 1
@.str.11 = private unnamed_addr constant [51 x i8] c" -n f output union of all phones to f off\0A\00", align 1
@.str.12 = private unnamed_addr constant [55 x i8] c" -o disable dictionary output enabled\0A\00", align 1
@.str.13 = private unnamed_addr constant [38 x i8] c" -p f load phone list stored in f\0A\00", align 1
@.str.14 = private unnamed_addr constant [51 x i8] c" -t tag output words with source off\0A\00", align 1
@.str.15 = private unnamed_addr constant [37 x i8] c" -w f load word list stored in f\0A\00", align 1
@.str.16 = private unnamed_addr constant [2 x i8] c"Q\00", align 1
@.str.17 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ReportUsage() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
%6 = call i32 @printf(ptr noundef @.str.5)
%7 = call i32 @printf(ptr noundef @.str.6)
%8 = call i32 @printf(ptr noundef @.str.7)
%9 = call i32 @printf(ptr noundef @.str.8)
%10 = call i32 @printf(ptr noundef @.str.9)
%11 = call i32 @printf(ptr noundef @.str.10)
%12 = call i32 @printf(ptr noundef @.str.11)
%13 = call i32 @printf(ptr noundef @.str.12)
%14 = call i32 @printf(ptr noundef @.str.13)
%15 = call i32 @printf(ptr noundef @.str.14)
%16 = call i32 @printf(ptr noundef @.str.15)
%17 = call i32 @PrintStdOpts(ptr noundef @.str.16)
%18 = call i32 @printf(ptr noundef @.str.17)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @PrintStdOpts(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/tmpkvdxo6d6.c'
source_filename = "/tmp/tmpkvdxo6d6.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
@EOF = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @puts(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = load i32, ptr @stdout, align 4
%6 = call i64 @fputs(ptr noundef %4, i32 noundef %5)
%7 = load i64, ptr @EOF, align 8
%8 = icmp eq i64 %6, %7
br i1 %8, label %9, label %12
9: ; preds = %1
%10 = load i64, ptr @EOF, align 8
%11 = trunc i64 %10 to i32
store i32 %11, ptr %2, align 4
br label %22
12: ; preds = %1
%13 = call i64 @_stdout_hook(i32 noundef 10)
%14 = load i64, ptr @EOF, align 8
%15 = icmp eq i64 %13, %14
br i1 %15, label %16, label %18
16: ; preds = %12
%17 = load i64, ptr @EOF, align 8
br label %19
18: ; preds = %12
br label %19
19: ; preds = %18, %16
%20 = phi i64 [ %17, %16 ], [ 0, %18 ]
%21 = trunc i64 %20 to i32
store i32 %21, ptr %2, align 4
br label %22
22: ; preds = %19, %9
%23 = load i32, ptr %2, align 4
ret i32 %23
}
declare i64 @fputs(ptr noundef, i32 noundef) #1
declare i64 @_stdout_hook(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/tmpkvdxo6d6.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
@EOF = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @puts(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = load i32, ptr @stdout, align 4
%6 = call i64 @fputs(ptr noundef %4, i32 noundef %5)
%7 = load i64, ptr @EOF, align 8
%8 = icmp eq i64 %6, %7
br i1 %8, label %9, label %12
9: ; preds = %1
%10 = load i64, ptr @EOF, align 8
%11 = trunc i64 %10 to i32
store i32 %11, ptr %2, align 4
br label %22
12: ; preds = %1
%13 = call i64 @_stdout_hook(i32 noundef 10)
%14 = load i64, ptr @EOF, align 8
%15 = icmp eq i64 %13, %14
br i1 %15, label %16, label %18
16: ; preds = %12
%17 = load i64, ptr @EOF, align 8
br label %19
18: ; preds = %12
br label %19
19: ; preds = %18, %16
%20 = phi i64 [ %17, %16 ], [ 0, %18 ]
%21 = trunc i64 %20 to i32
store i32 %21, ptr %2, align 4
br label %22
22: ; preds = %19, %9
%23 = load i32, ptr %2, align 4
ret i32 %23
}
declare i64 @fputs(ptr noundef, i32 noundef) #1
declare i64 @_stdout_hook(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/tmp0wdcun0y.c'
source_filename = "/tmp/tmp0wdcun0y.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 @RasterPos2sv(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 @glRasterPos2sv(ptr noundef %3)
ret void
}
declare i32 @glRasterPos2sv(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/tmp0wdcun0y.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 @RasterPos2sv(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 @glRasterPos2sv(ptr noundef %3)
ret void
}
declare i32 @glRasterPos2sv(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/tmp1w_638gm.c'
source_filename = "/tmp/tmp1w_638gm.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"%i\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
store i32 1, ptr %2, align 4
br label %3
3: ; preds = %10, %0
%4 = load i32, ptr %2, align 4
%5 = icmp sle i32 %4, 10
br i1 %5, label %6, label %15
6: ; preds = %3
%7 = load i32, ptr %2, align 4
%8 = icmp eq i32 %7, 5
br i1 %8, label %9, label %10
9: ; preds = %6
br label %15
10: ; preds = %6
%11 = load i32, ptr %2, align 4
%12 = call i32 @printf(ptr noundef @.str, i32 noundef %11)
%13 = load i32, ptr %2, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %2, align 4
br label %3, !llvm.loop !6
15: ; preds = %9, %3
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1w_638gm.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"%i\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
store i32 1, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp sle i32 %3, 10
br i1 %4, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %0
br label %5
5: ; preds = %.lr.ph, %9
%6 = load i32, ptr %2, align 4
%7 = icmp eq i32 %6, 5
br i1 %7, label %8, label %9
8: ; preds = %5
br label %16
9: ; preds = %5
%10 = load i32, ptr %2, align 4
%11 = call i32 @printf(ptr noundef @.str, i32 noundef %10)
%12 = load i32, ptr %2, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %2, align 4
%14 = load i32, ptr %2, align 4
%15 = icmp sle i32 %14, 10
br i1 %15, label %5, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %9
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %0
br label %16
16: ; preds = %.loopexit, %8
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp6jxm8dan.c'
source_filename = "/tmp/tmp6jxm8dan.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 @rsampleT(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store i32 %1, ptr %8, align 4
store ptr %2, ptr %9, align 8
store i32 %3, ptr %10, align 4
store i32 %4, ptr %11, align 4
store ptr %5, ptr %12, align 8
%18 = load ptr, ptr %12, align 8
store ptr %18, ptr %14, align 8
store i32 0, ptr %15, align 4
br label %19
19: ; preds = %50, %6
%20 = load i32, ptr %15, align 4
%21 = load i32, ptr %10, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %23, label %53
23: ; preds = %19
%24 = load ptr, ptr %9, align 8
%25 = load i32, ptr %11, align 4
%26 = load i32, ptr %15, align 4
%27 = call i32 @sample(ptr noundef %24, i32 noundef %25, i32 noundef %26)
store i32 %27, ptr %17, align 4
%28 = load ptr, ptr %7, align 8
%29 = load i32, ptr %17, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds double, ptr %28, i64 %30
store ptr %31, ptr %13, align 8
store i32 0, ptr %16, align 4
br label %32
32: ; preds = %46, %23
%33 = load i32, ptr %16, align 4
%34 = load i32, ptr %8, align 4
%35 = icmp slt i32 %33, %34
br i1 %35, label %36, label %49
36: ; preds = %32
%37 = load ptr, ptr %13, align 8
%38 = load double, ptr %37, align 8
%39 = load ptr, ptr %14, align 8
store double %38, ptr %39, align 8
%40 = load ptr, ptr %14, align 8
%41 = getelementptr inbounds double, ptr %40, i32 1
store ptr %41, ptr %14, align 8
%42 = load i32, ptr %11, align 4
%43 = load ptr, ptr %13, align 8
%44 = sext i32 %42 to i64
%45 = getelementptr inbounds double, ptr %43, i64 %44
store ptr %45, ptr %13, align 8
br label %46
46: ; preds = %36
%47 = load i32, ptr %16, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %16, align 4
br label %32, !llvm.loop !6
49: ; preds = %32
br label %50
50: ; preds = %49
%51 = load i32, ptr %15, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %15, align 4
br label %19, !llvm.loop !8
53: ; preds = %19
ret void
}
declare i32 @sample(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6jxm8dan.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 @rsampleT(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store i32 %1, ptr %8, align 4
store ptr %2, ptr %9, align 8
store i32 %3, ptr %10, align 4
store i32 %4, ptr %11, align 4
store ptr %5, ptr %12, align 8
%18 = load ptr, ptr %12, align 8
store ptr %18, ptr %14, align 8
store i32 0, ptr %15, align 4
%19 = load i32, ptr %15, align 4
%20 = load i32, ptr %10, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %.lr.ph2, label %57
.lr.ph2: ; preds = %6
br label %22
22: ; preds = %.lr.ph2, %51
%23 = load ptr, ptr %9, align 8
%24 = load i32, ptr %11, align 4
%25 = load i32, ptr %15, align 4
%26 = call i32 @sample(ptr noundef %23, i32 noundef %24, i32 noundef %25)
store i32 %26, ptr %17, align 4
%27 = load ptr, ptr %7, align 8
%28 = load i32, ptr %17, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds double, ptr %27, i64 %29
store ptr %30, ptr %13, align 8
store i32 0, ptr %16, align 4
%31 = load i32, ptr %16, align 4
%32 = load i32, ptr %8, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %.lr.ph, label %50
.lr.ph: ; preds = %22
br label %34
34: ; preds = %.lr.ph, %44
%35 = load ptr, ptr %13, align 8
%36 = load double, ptr %35, align 8
%37 = load ptr, ptr %14, align 8
store double %36, ptr %37, align 8
%38 = load ptr, ptr %14, align 8
%39 = getelementptr inbounds double, ptr %38, i32 1
store ptr %39, ptr %14, align 8
%40 = load i32, ptr %11, align 4
%41 = load ptr, ptr %13, align 8
%42 = sext i32 %40 to i64
%43 = getelementptr inbounds double, ptr %41, i64 %42
store ptr %43, ptr %13, align 8
br label %44
44: ; preds = %34
%45 = load i32, ptr %16, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %16, align 4
%47 = load i32, ptr %16, align 4
%48 = load i32, ptr %8, align 4
%49 = icmp slt i32 %47, %48
br i1 %49, label %34, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %44
br label %50
50: ; preds = %._crit_edge, %22
br label %51
51: ; preds = %50
%52 = load i32, ptr %15, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %15, align 4
%54 = load i32, ptr %15, align 4
%55 = load i32, ptr %10, align 4
%56 = icmp slt i32 %54, %55
br i1 %56, label %22, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %51
br label %57
57: ; preds = %._crit_edge3, %6
ret void
}
declare i32 @sample(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpy4u3j5vg.c'
source_filename = "/tmp/tmpy4u3j5vg.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 }
@tm_decrement_second.secs_in_min = internal constant i32 60, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @tm_decrement_second(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %7, 0
br i1 %8, label %9, label %14
9: ; preds = %2
%10 = load ptr, ptr %3, align 8
%11 = load i32, ptr %4, align 4
%12 = sub nsw i32 0, %11
%13 = call i32 @tm_increment_second(ptr noundef %10, i32 noundef %12)
br label %56
14: ; preds = %2
%15 = load i32, ptr %4, align 4
store i32 %15, ptr %5, align 4
%16 = load i32, ptr %5, align 4
%17 = icmp sge i32 %16, 60
br i1 %17, label %24, label %18
18: ; preds = %14
%19 = load i32, ptr %5, align 4
%20 = load ptr, ptr %3, align 8
%21 = getelementptr inbounds %struct.tm, ptr %20, i32 0, i32 0
%22 = load i32, ptr %21, align 4
%23 = icmp sgt i32 %19, %22
br i1 %23, label %24, label %50
24: ; preds = %18, %14
%25 = load i32, ptr %4, align 4
%26 = sdiv i32 %25, 60
store i32 %26, ptr %6, align 4
%27 = load i32, ptr %6, align 4
%28 = mul nsw i32 %27, 60
%29 = load i32, ptr %5, align 4
%30 = sub nsw i32 %29, %28
store i32 %30, ptr %5, align 4
%31 = load i32, ptr %5, align 4
%32 = load ptr, ptr %3, align 8
%33 = getelementptr inbounds %struct.tm, ptr %32, i32 0, i32 0
%34 = load i32, ptr %33, align 4
%35 = icmp sgt i32 %31, %34
br i1 %35, label %36, label %46
36: ; preds = %24
%37 = load i32, ptr %6, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %6, align 4
%39 = load ptr, ptr %3, align 8
%40 = getelementptr inbounds %struct.tm, ptr %39, i32 0, i32 0
%41 = load i32, ptr %40, align 4
%42 = load i32, ptr %5, align 4
%43 = sub nsw i32 %42, %41
store i32 %43, ptr %5, align 4
%44 = load ptr, ptr %3, align 8
%45 = getelementptr inbounds %struct.tm, ptr %44, i32 0, i32 0
store i32 60, ptr %45, align 4
br label %46
46: ; preds = %36, %24
%47 = load ptr, ptr %3, align 8
%48 = load i32, ptr %6, align 4
%49 = call i32 @tm_decrement_minute(ptr noundef %47, i32 noundef %48)
br label %50
50: ; preds = %46, %18
%51 = load i32, ptr %5, align 4
%52 = load ptr, ptr %3, align 8
%53 = getelementptr inbounds %struct.tm, ptr %52, i32 0, i32 0
%54 = load i32, ptr %53, align 4
%55 = sub nsw i32 %54, %51
store i32 %55, ptr %53, align 4
br label %56
56: ; preds = %50, %9
%57 = load ptr, ptr %3, align 8
ret ptr %57
}
declare i32 @tm_increment_second(ptr noundef, i32 noundef) #1
declare i32 @tm_decrement_minute(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/tmpy4u3j5vg.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 }
@tm_decrement_second.secs_in_min = internal constant i32 60, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @tm_decrement_second(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %7, 0
br i1 %8, label %9, label %14
9: ; preds = %2
%10 = load ptr, ptr %3, align 8
%11 = load i32, ptr %4, align 4
%12 = sub nsw i32 0, %11
%13 = call i32 @tm_increment_second(ptr noundef %10, i32 noundef %12)
br label %56
14: ; preds = %2
%15 = load i32, ptr %4, align 4
store i32 %15, ptr %5, align 4
%16 = load i32, ptr %5, align 4
%17 = icmp sge i32 %16, 60
br i1 %17, label %24, label %18
18: ; preds = %14
%19 = load i32, ptr %5, align 4
%20 = load ptr, ptr %3, align 8
%21 = getelementptr inbounds %struct.tm, ptr %20, i32 0, i32 0
%22 = load i32, ptr %21, align 4
%23 = icmp sgt i32 %19, %22
br i1 %23, label %24, label %50
24: ; preds = %18, %14
%25 = load i32, ptr %4, align 4
%26 = sdiv i32 %25, 60
store i32 %26, ptr %6, align 4
%27 = load i32, ptr %6, align 4
%28 = mul nsw i32 %27, 60
%29 = load i32, ptr %5, align 4
%30 = sub nsw i32 %29, %28
store i32 %30, ptr %5, align 4
%31 = load i32, ptr %5, align 4
%32 = load ptr, ptr %3, align 8
%33 = getelementptr inbounds %struct.tm, ptr %32, i32 0, i32 0
%34 = load i32, ptr %33, align 4
%35 = icmp sgt i32 %31, %34
br i1 %35, label %36, label %46
36: ; preds = %24
%37 = load i32, ptr %6, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %6, align 4
%39 = load ptr, ptr %3, align 8
%40 = getelementptr inbounds %struct.tm, ptr %39, i32 0, i32 0
%41 = load i32, ptr %40, align 4
%42 = load i32, ptr %5, align 4
%43 = sub nsw i32 %42, %41
store i32 %43, ptr %5, align 4
%44 = load ptr, ptr %3, align 8
%45 = getelementptr inbounds %struct.tm, ptr %44, i32 0, i32 0
store i32 60, ptr %45, align 4
br label %46
46: ; preds = %36, %24
%47 = load ptr, ptr %3, align 8
%48 = load i32, ptr %6, align 4
%49 = call i32 @tm_decrement_minute(ptr noundef %47, i32 noundef %48)
br label %50
50: ; preds = %46, %18
%51 = load i32, ptr %5, align 4
%52 = load ptr, ptr %3, align 8
%53 = getelementptr inbounds %struct.tm, ptr %52, i32 0, i32 0
%54 = load i32, ptr %53, align 4
%55 = sub nsw i32 %54, %51
store i32 %55, ptr %53, align 4
br label %56
56: ; preds = %50, %9
%57 = load ptr, ptr %3, align 8
ret ptr %57
}
declare i32 @tm_increment_second(ptr noundef, i32 noundef) #1
declare i32 @tm_decrement_minute(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/tmpvo1d8pq6.c'
source_filename = "/tmp/tmpvo1d8pq6.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 @str2sig(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @strlen(ptr noundef %6)
%8 = icmp ne i32 %7, 4
br i1 %8, label %9, label %10
9: ; preds = %2
store i32 -1, ptr %3, align 4
br label %35
10: ; preds = %2
%11 = load ptr, ptr %4, align 8
%12 = getelementptr inbounds i8, ptr %11, i64 0
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds i8, ptr %15, i64 1
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = shl i32 %18, 8
%20 = or i32 %14, %19
%21 = load ptr, ptr %4, align 8
%22 = getelementptr inbounds i8, ptr %21, i64 2
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = shl i32 %24, 16
%26 = or i32 %20, %25
%27 = load ptr, ptr %4, align 8
%28 = getelementptr inbounds i8, ptr %27, i64 3
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = shl i32 %30, 24
%32 = or i32 %26, %31
%33 = trunc i32 %32 to i8
%34 = load ptr, ptr %5, align 8
store i8 %33, ptr %34, align 1
store i32 0, ptr %3, align 4
br label %35
35: ; preds = %10, %9
%36 = load i32, ptr %3, align 4
ret i32 %36
}
declare i32 @strlen(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/tmpvo1d8pq6.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 @str2sig(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @strlen(ptr noundef %6)
%8 = icmp ne i32 %7, 4
br i1 %8, label %9, label %10
9: ; preds = %2
store i32 -1, ptr %3, align 4
br label %35
10: ; preds = %2
%11 = load ptr, ptr %4, align 8
%12 = getelementptr inbounds i8, ptr %11, i64 0
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds i8, ptr %15, i64 1
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = shl i32 %18, 8
%20 = or i32 %14, %19
%21 = load ptr, ptr %4, align 8
%22 = getelementptr inbounds i8, ptr %21, i64 2
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = shl i32 %24, 16
%26 = or i32 %20, %25
%27 = load ptr, ptr %4, align 8
%28 = getelementptr inbounds i8, ptr %27, i64 3
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = shl i32 %30, 24
%32 = or i32 %26, %31
%33 = trunc i32 %32 to i8
%34 = load ptr, ptr %5, align 8
store i8 %33, ptr %34, align 1
store i32 0, ptr %3, align 4
br label %35
35: ; preds = %10, %9
%36 = load i32, ptr %3, align 4
ret i32 %36
}
declare i32 @strlen(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/tmp2ggxfhct.c'
source_filename = "/tmp/tmp2ggxfhct.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 [4 x i8] c"[%u\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c",%u\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"]\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printvu(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %11
8: ; preds = %2
%9 = load i32, ptr %4, align 4
%10 = icmp uge i32 %9, 0
br label %11
11: ; preds = %8, %2
%12 = phi i1 [ false, %2 ], [ %10, %8 ]
%13 = zext i1 %12 to i32
%14 = call i32 @assert(i32 noundef %13)
%15 = load i32, ptr %4, align 4
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %19
17: ; preds = %11
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %40
19: ; preds = %11
%20 = load ptr, ptr %3, align 8
%21 = getelementptr inbounds i32, ptr %20, i64 0
%22 = load i32, ptr %21, align 4
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %22)
store i32 1, ptr %5, align 4
br label %24
24: ; preds = %35, %19
%25 = load i32, ptr %5, align 4
%26 = load i32, ptr %4, align 4
%27 = icmp ult i32 %25, %26
br i1 %27, label %28, label %38
28: ; preds = %24
%29 = load ptr, ptr %3, align 8
%30 = load i32, ptr %5, align 4
%31 = zext i32 %30 to i64
%32 = getelementptr inbounds i32, ptr %29, i64 %31
%33 = load i32, ptr %32, align 4
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %33)
br label %35
35: ; preds = %28
%36 = load i32, ptr %5, align 4
%37 = add i32 %36, 1
store i32 %37, ptr %5, align 4
br label %24, !llvm.loop !6
38: ; preds = %24
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %40
40: ; preds = %38, %17
ret void
}
declare i32 @assert(i32 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2ggxfhct.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 [4 x i8] c"[%u\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c",%u\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"]\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printvu(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %11
8: ; preds = %2
%9 = load i32, ptr %4, align 4
%10 = icmp uge i32 %9, 0
br label %11
11: ; preds = %8, %2
%12 = phi i1 [ false, %2 ], [ %10, %8 ]
%13 = zext i1 %12 to i32
%14 = call i32 @assert(i32 noundef %13)
%15 = load i32, ptr %4, align 4
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %19
17: ; preds = %11
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %42
19: ; preds = %11
%20 = load ptr, ptr %3, align 8
%21 = getelementptr inbounds i32, ptr %20, i64 0
%22 = load i32, ptr %21, align 4
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %22)
store i32 1, ptr %5, align 4
%24 = load i32, ptr %5, align 4
%25 = load i32, ptr %4, align 4
%26 = icmp ult i32 %24, %25
br i1 %26, label %.lr.ph, label %40
.lr.ph: ; preds = %19
br label %27
27: ; preds = %.lr.ph, %34
%28 = load ptr, ptr %3, align 8
%29 = load i32, ptr %5, align 4
%30 = zext i32 %29 to i64
%31 = getelementptr inbounds i32, ptr %28, i64 %30
%32 = load i32, ptr %31, align 4
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %32)
br label %34
34: ; preds = %27
%35 = load i32, ptr %5, align 4
%36 = add i32 %35, 1
store i32 %36, ptr %5, align 4
%37 = load i32, ptr %5, align 4
%38 = load i32, ptr %4, align 4
%39 = icmp ult i32 %37, %38
br i1 %39, label %27, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %34
br label %40
40: ; preds = %._crit_edge, %19
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %42
42: ; preds = %40, %17
ret void
}
declare i32 @assert(i32 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"}
|
; ModuleID = '/tmp/tmpz71hy1a6.c'
source_filename = "/tmp/tmpz71hy1a6.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 \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_nodemask(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
%5 = call i32 (...) @numa_max_node()
%6 = add nsw i32 %5, 1
store i32 %6, ptr %3, align 4
store i32 0, ptr %4, align 4
br label %7
7: ; preds = %20, %1
%8 = load i32, ptr %4, align 4
%9 = load i32, ptr %3, align 4
%10 = icmp ne i32 %8, %9
br i1 %10, label %11, label %23
11: ; preds = %7
%12 = load ptr, ptr %2, align 8
%13 = load i32, ptr %4, align 4
%14 = call i64 @numa_bitmask_isbitset(ptr noundef %12, i32 noundef %13)
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %19
16: ; preds = %11
%17 = load i32, ptr %4, align 4
%18 = call i32 @printf(ptr noundef @.str, i32 noundef %17)
br label %19
19: ; preds = %16, %11
br label %20
20: ; preds = %19
%21 = load i32, ptr %4, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %4, align 4
br label %7, !llvm.loop !6
23: ; preds = %7
ret void
}
declare i32 @numa_max_node(...) #1
declare i64 @numa_bitmask_isbitset(ptr 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpz71hy1a6.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 \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_nodemask(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
%5 = call i32 (...) @numa_max_node()
%6 = add nsw i32 %5, 1
store i32 %6, ptr %3, align 4
store i32 0, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %3, align 4
%9 = icmp ne i32 %7, %8
br i1 %9, label %.lr.ph, label %25
.lr.ph: ; preds = %1
br label %10
10: ; preds = %.lr.ph, %19
%11 = load ptr, ptr %2, align 8
%12 = load i32, ptr %4, align 4
%13 = call i64 @numa_bitmask_isbitset(ptr noundef %11, i32 noundef %12)
%14 = icmp ne i64 %13, 0
br i1 %14, label %15, label %18
15: ; preds = %10
%16 = load i32, ptr %4, align 4
%17 = call i32 @printf(ptr noundef @.str, i32 noundef %16)
br label %18
18: ; preds = %15, %10
br label %19
19: ; preds = %18
%20 = load i32, ptr %4, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %4, align 4
%22 = load i32, ptr %4, align 4
%23 = load i32, ptr %3, align 4
%24 = icmp ne i32 %22, %23
br i1 %24, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %25
25: ; preds = %._crit_edge, %1
ret void
}
declare i32 @numa_max_node(...) #1
declare i64 @numa_bitmask_isbitset(ptr 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpeajrl0pz.c'
source_filename = "/tmp/tmpeajrl0pz.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 @padcon_get_standard_pole_step(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store i32 0, ptr %4, align 4
%6 = load ptr, ptr %5, align 8
%7 = load ptr, ptr %2, align 8
%8 = call i32 @_ada_use_c2phc4c(i32 noundef 886, ptr noundef %4, ptr noundef %6, ptr noundef %7, i32 noundef 0)
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %3, align 4
ret i32 %9
}
declare i32 @_ada_use_c2phc4c(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/tmpeajrl0pz.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 @padcon_get_standard_pole_step(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store i32 0, ptr %4, align 4
%6 = load ptr, ptr %5, align 8
%7 = load ptr, ptr %2, align 8
%8 = call i32 @_ada_use_c2phc4c(i32 noundef 886, ptr noundef %4, ptr noundef %6, ptr noundef %7, i32 noundef 0)
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %3, align 4
ret i32 %9
}
declare i32 @_ada_use_c2phc4c(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/tmp85r9q5jt.c'
source_filename = "/tmp/tmp85r9q5jt.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 @sinhf(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 i64 @sinh(float noundef %3)
%5 = sitofp i64 %4 to float
ret float %5
}
declare i64 @sinh(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/tmp85r9q5jt.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 @sinhf(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 i64 @sinh(float noundef %3)
%5 = sitofp i64 %4 to float
ret float %5
}
declare i64 @sinh(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/tmp52ry8ypd.c'
source_filename = "/tmp/tmp52ry8ypd.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 @DieWithSystemMessage(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 @perror(ptr noundef %3)
%5 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @perror(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/tmp52ry8ypd.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 @DieWithSystemMessage(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 @perror(ptr noundef %3)
%5 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @perror(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/tmpiocqrmwy.c'
source_filename = "/tmp/tmpiocqrmwy.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"tid=%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
%6 = 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 0, ptr %6, align 4
br label %7
7: ; preds = %13, %2
%8 = load i32, ptr %6, align 4
%9 = icmp slt i32 %8, 100
br i1 %9, label %10, label %16
10: ; preds = %7
%11 = call i32 (...) @omp_get_thread_num()
%12 = call i32 @printf(ptr noundef @.str, i32 noundef %11)
br label %13
13: ; preds = %10
%14 = load i32, ptr %6, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %6, align 4
br label %7, !llvm.loop !6
16: ; preds = %7
ret i32 0
}
declare i32 @printf(ptr 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" }
!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/tmpiocqrmwy.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"tid=%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
%6 = 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 0, ptr %6, align 4
%7 = load i32, ptr %6, align 4
%8 = icmp slt i32 %7, 100
br i1 %8, label %.lr.ph, label %17
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %12
%10 = call i32 (...) @omp_get_thread_num()
%11 = call i32 @printf(ptr noundef @.str, i32 noundef %10)
br label %12
12: ; preds = %9
%13 = load i32, ptr %6, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %6, align 4
%15 = load i32, ptr %6, align 4
%16 = icmp slt i32 %15, 100
br i1 %16, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %12
br label %17
17: ; preds = %._crit_edge, %2
ret i32 0
}
declare i32 @printf(ptr 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" }
!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/tmprpsdu88v.c'
source_filename = "/tmp/tmprpsdu88v.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 @warn_memchr_var_memset_range(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%8 = call i32 @unsigned_range(i32 noundef 5, i32 noundef 7)
%9 = call ptr @malloc(i32 noundef %8)
store ptr %9, ptr %5, align 8
%10 = load ptr, ptr %5, align 8
%11 = call i32 @sink(ptr noundef %10)
%12 = load ptr, ptr %5, align 8
%13 = load i32, ptr %4, align 4
%14 = call ptr @memchr(ptr noundef %12, i8 noundef signext 49, i32 noundef %13)
store ptr %14, ptr %6, align 8
%15 = load ptr, ptr %6, align 8
%16 = call i32 @unsigned_range(i32 noundef 8, i32 noundef 9)
%17 = call i32 @memset(ptr noundef %15, i32 noundef 0, i32 noundef %16)
%18 = load ptr, ptr %5, align 8
%19 = call i32 @sink(ptr noundef %18)
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds i8, ptr %20, i64 1
%22 = load i32, ptr %4, align 4
%23 = call ptr @memchr(ptr noundef %21, i8 noundef signext 50, i32 noundef %22)
store ptr %23, ptr %6, align 8
%24 = load ptr, ptr %6, align 8
%25 = call i32 @unsigned_range(i32 noundef 7, i32 noundef 9)
%26 = call i32 @memset(ptr noundef %24, i32 noundef 0, i32 noundef %25)
%27 = load ptr, ptr %5, align 8
%28 = call i32 @sink(ptr noundef %27)
%29 = load ptr, ptr %6, align 8
%30 = getelementptr inbounds i8, ptr %29, i64 1
%31 = load i32, ptr %4, align 4
%32 = call ptr @memchr(ptr noundef %30, i8 noundef signext 51, i32 noundef %31)
store ptr %32, ptr %7, align 8
%33 = load ptr, ptr %7, align 8
%34 = call i32 @unsigned_range(i32 noundef 6, i32 noundef 9)
%35 = call i32 @memset(ptr noundef %33, i32 noundef 0, i32 noundef %34)
ret void
}
declare ptr @malloc(i32 noundef) #1
declare i32 @unsigned_range(i32 noundef, i32 noundef) #1
declare i32 @sink(ptr noundef) #1
declare ptr @memchr(ptr noundef, i8 noundef signext, i32 noundef) #1
declare i32 @memset(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/tmprpsdu88v.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 @warn_memchr_var_memset_range(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%8 = call i32 @unsigned_range(i32 noundef 5, i32 noundef 7)
%9 = call ptr @malloc(i32 noundef %8)
store ptr %9, ptr %5, align 8
%10 = load ptr, ptr %5, align 8
%11 = call i32 @sink(ptr noundef %10)
%12 = load ptr, ptr %5, align 8
%13 = load i32, ptr %4, align 4
%14 = call ptr @memchr(ptr noundef %12, i8 noundef signext 49, i32 noundef %13)
store ptr %14, ptr %6, align 8
%15 = load ptr, ptr %6, align 8
%16 = call i32 @unsigned_range(i32 noundef 8, i32 noundef 9)
%17 = call i32 @memset(ptr noundef %15, i32 noundef 0, i32 noundef %16)
%18 = load ptr, ptr %5, align 8
%19 = call i32 @sink(ptr noundef %18)
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds i8, ptr %20, i64 1
%22 = load i32, ptr %4, align 4
%23 = call ptr @memchr(ptr noundef %21, i8 noundef signext 50, i32 noundef %22)
store ptr %23, ptr %6, align 8
%24 = load ptr, ptr %6, align 8
%25 = call i32 @unsigned_range(i32 noundef 7, i32 noundef 9)
%26 = call i32 @memset(ptr noundef %24, i32 noundef 0, i32 noundef %25)
%27 = load ptr, ptr %5, align 8
%28 = call i32 @sink(ptr noundef %27)
%29 = load ptr, ptr %6, align 8
%30 = getelementptr inbounds i8, ptr %29, i64 1
%31 = load i32, ptr %4, align 4
%32 = call ptr @memchr(ptr noundef %30, i8 noundef signext 51, i32 noundef %31)
store ptr %32, ptr %7, align 8
%33 = load ptr, ptr %7, align 8
%34 = call i32 @unsigned_range(i32 noundef 6, i32 noundef 9)
%35 = call i32 @memset(ptr noundef %33, i32 noundef 0, i32 noundef %34)
ret void
}
declare ptr @malloc(i32 noundef) #1
declare i32 @unsigned_range(i32 noundef, i32 noundef) #1
declare i32 @sink(ptr noundef) #1
declare ptr @memchr(ptr noundef, i8 noundef signext, i32 noundef) #1
declare i32 @memset(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/tmp3f40gt3h.c'
source_filename = "/tmp/tmp3f40gt3h.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 i64 @strspn(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%9 = load ptr, ptr %4, align 8
store ptr %9, ptr %6, align 8
%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 = %47, %2
%12 = load ptr, ptr %6, align 8
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = icmp ne i32 %14, 0
br i1 %15, label %16, label %50
16: ; preds = %11
%17 = load ptr, ptr %5, align 8
store ptr %17, ptr %7, align 8
br label %18
18: ; preds = %35, %16
%19 = load ptr, ptr %7, align 8
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp ne i32 %21, 0
br i1 %22, label %23, label %38
23: ; preds = %18
%24 = load ptr, ptr %7, align 8
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = load ptr, ptr %6, align 8
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = icmp eq i32 %26, %29
br i1 %30, label %31, label %34
31: ; preds = %23
%32 = load i32, ptr %8, align 4
%33 = add i32 %32, 1
store i32 %33, ptr %8, align 4
br label %38
34: ; preds = %23
br label %35
35: ; preds = %34
%36 = load ptr, ptr %7, align 8
%37 = getelementptr inbounds i8, ptr %36, i32 1
store ptr %37, ptr %7, align 8
br label %18, !llvm.loop !6
38: ; preds = %31, %18
%39 = load ptr, ptr %7, align 8
%40 = load i8, ptr %39, align 1
%41 = sext i8 %40 to i32
%42 = icmp eq i32 %41, 0
br i1 %42, label %43, label %46
43: ; preds = %38
%44 = load i32, ptr %8, align 4
%45 = zext i32 %44 to i64
store i64 %45, ptr %3, align 8
br label %53
46: ; preds = %38
br label %47
47: ; preds = %46
%48 = load ptr, ptr %6, align 8
%49 = getelementptr inbounds i8, ptr %48, i32 1
store ptr %49, ptr %6, align 8
br label %11, !llvm.loop !8
50: ; preds = %11
%51 = load i32, ptr %8, align 4
%52 = zext i32 %51 to i64
store i64 %52, ptr %3, align 8
br label %53
53: ; preds = %50, %43
%54 = load i64, ptr %3, align 8
ret i64 %54
}
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"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3f40gt3h.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 i64 @strspn(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%9 = load ptr, ptr %4, align 8
store ptr %9, ptr %6, align 8
%10 = load ptr, ptr %5, align 8
store ptr %10, ptr %7, align 8
store i32 0, ptr %8, align 4
%11 = load ptr, ptr %6, align 8
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = icmp ne i32 %13, 0
br i1 %14, label %.lr.ph1, label %56
.lr.ph1: ; preds = %2
br label %15
15: ; preds = %.lr.ph1, %49
%16 = load ptr, ptr %5, align 8
store ptr %16, ptr %7, align 8
%17 = load ptr, ptr %7, align 8
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = icmp ne i32 %19, 0
br i1 %20, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %15
br label %21
21: ; preds = %.lr.ph, %33
%22 = load ptr, ptr %7, align 8
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = load ptr, ptr %6, align 8
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp eq i32 %24, %27
br i1 %28, label %29, label %32
29: ; preds = %21
%30 = load i32, ptr %8, align 4
%31 = add i32 %30, 1
store i32 %31, ptr %8, align 4
br label %40
32: ; preds = %21
br label %33
33: ; preds = %32
%34 = load ptr, ptr %7, align 8
%35 = getelementptr inbounds i8, ptr %34, i32 1
store ptr %35, ptr %7, align 8
%36 = load ptr, ptr %7, align 8
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = icmp ne i32 %38, 0
br i1 %39, label %21, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %33
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %15
br label %40
40: ; preds = %.loopexit, %29
%41 = load ptr, ptr %7, align 8
%42 = load i8, ptr %41, align 1
%43 = sext i8 %42 to i32
%44 = icmp eq i32 %43, 0
br i1 %44, label %45, label %48
45: ; preds = %40
%46 = load i32, ptr %8, align 4
%47 = zext i32 %46 to i64
store i64 %47, ptr %3, align 8
br label %59
48: ; preds = %40
br label %49
49: ; preds = %48
%50 = load ptr, ptr %6, align 8
%51 = getelementptr inbounds i8, ptr %50, i32 1
store ptr %51, ptr %6, align 8
%52 = load ptr, ptr %6, align 8
%53 = load i8, ptr %52, align 1
%54 = sext i8 %53 to i32
%55 = icmp ne i32 %54, 0
br i1 %55, label %15, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %49
br label %56
56: ; preds = %._crit_edge, %2
%57 = load i32, ptr %8, align 4
%58 = zext i32 %57 to i64
store i64 %58, ptr %3, align 8
br label %59
59: ; preds = %56, %45
%60 = load i64, ptr %3, align 8
ret i64 %60
}
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"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpz9tycof0.c'
source_filename = "/tmp/tmpz9tycof0.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 @is_ipv4_private_unicast(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = call i32 @htonl(i32 noundef -65536)
%6 = and i32 %4, %5
%7 = call i32 @htonl(i32 noundef -1062731776)
%8 = icmp eq i32 %6, %7
br i1 %8, label %9, label %10
9: ; preds = %1
store i32 1, ptr %2, align 4
br label %32
10: ; preds = %1
%11 = load i32, ptr %3, align 4
%12 = call i32 @htonl(i32 noundef -1048576)
%13 = and i32 %11, %12
%14 = call i32 @htonl(i32 noundef -1408237568)
%15 = icmp eq i32 %13, %14
br i1 %15, label %16, label %17
16: ; preds = %10
store i32 1, ptr %2, align 4
br label %32
17: ; preds = %10
%18 = load i32, ptr %3, align 4
%19 = call i32 @htonl(i32 noundef -16777216)
%20 = and i32 %18, %19
%21 = call i32 @htonl(i32 noundef 167772160)
%22 = icmp eq i32 %20, %21
br i1 %22, label %23, label %24
23: ; preds = %17
store i32 1, ptr %2, align 4
br label %32
24: ; preds = %17
%25 = load i32, ptr %3, align 4
%26 = call i32 @htonl(i32 noundef -65536)
%27 = and i32 %25, %26
%28 = call i32 @htonl(i32 noundef -1442971648)
%29 = icmp eq i32 %27, %28
br i1 %29, label %30, label %31
30: ; preds = %24
store i32 1, ptr %2, align 4
br label %32
31: ; preds = %24
store i32 0, ptr %2, align 4
br label %32
32: ; preds = %31, %30, %23, %16, %9
%33 = load i32, ptr %2, align 4
ret i32 %33
}
declare i32 @htonl(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/tmpz9tycof0.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 @is_ipv4_private_unicast(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = call i32 @htonl(i32 noundef -65536)
%6 = and i32 %4, %5
%7 = call i32 @htonl(i32 noundef -1062731776)
%8 = icmp eq i32 %6, %7
br i1 %8, label %9, label %10
9: ; preds = %1
store i32 1, ptr %2, align 4
br label %32
10: ; preds = %1
%11 = load i32, ptr %3, align 4
%12 = call i32 @htonl(i32 noundef -1048576)
%13 = and i32 %11, %12
%14 = call i32 @htonl(i32 noundef -1408237568)
%15 = icmp eq i32 %13, %14
br i1 %15, label %16, label %17
16: ; preds = %10
store i32 1, ptr %2, align 4
br label %32
17: ; preds = %10
%18 = load i32, ptr %3, align 4
%19 = call i32 @htonl(i32 noundef -16777216)
%20 = and i32 %18, %19
%21 = call i32 @htonl(i32 noundef 167772160)
%22 = icmp eq i32 %20, %21
br i1 %22, label %23, label %24
23: ; preds = %17
store i32 1, ptr %2, align 4
br label %32
24: ; preds = %17
%25 = load i32, ptr %3, align 4
%26 = call i32 @htonl(i32 noundef -65536)
%27 = and i32 %25, %26
%28 = call i32 @htonl(i32 noundef -1442971648)
%29 = icmp eq i32 %27, %28
br i1 %29, label %30, label %31
30: ; preds = %24
store i32 1, ptr %2, align 4
br label %32
31: ; preds = %24
store i32 0, ptr %2, align 4
br label %32
32: ; preds = %31, %30, %23, %16, %9
%33 = load i32, ptr %2, align 4
ret i32 %33
}
declare i32 @htonl(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/tmpo8qx0fjx.c'
source_filename = "/tmp/tmpo8qx0fjx.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"%5d %15.1f\0A\00", align 1
@.str.1 = private unnamed_addr constant [38 x i8] c"\0AThe yearly average is %.1f inches.\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @yearrf(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca float, align 4
%8 = alloca float, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store float 0.000000e+00, ptr %8, align 4
store i32 0, ptr %6, align 4
br label %9
9: ; preds = %42, %2
%10 = load i32, ptr %6, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %13, label %45
13: ; preds = %9
store i32 0, ptr %5, align 4
store float 0.000000e+00, ptr %7, align 4
br label %14
14: ; preds = %29, %13
%15 = load i32, ptr %5, align 4
%16 = icmp slt i32 %15, 12
br i1 %16, label %17, label %32
17: ; preds = %14
%18 = load ptr, ptr %3, align 8
%19 = load i32, ptr %6, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [12 x float], ptr %18, i64 %20
%22 = getelementptr inbounds [12 x float], ptr %21, i64 0, i64 0
%23 = load i32, ptr %5, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds float, ptr %22, i64 %24
%26 = load float, ptr %25, align 4
%27 = load float, ptr %7, align 4
%28 = fadd float %27, %26
store float %28, ptr %7, align 4
br label %29
29: ; preds = %17
%30 = load i32, ptr %5, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %5, align 4
br label %14, !llvm.loop !6
32: ; preds = %14
%33 = load i32, ptr %6, align 4
%34 = add nsw i32 2000, %33
%35 = sitofp i32 %34 to float
%36 = load float, ptr %7, align 4
%37 = fpext float %36 to double
%38 = call i32 (ptr, float, ...) @printf(ptr noundef @.str, float noundef %35, double noundef %37)
%39 = load float, ptr %7, align 4
%40 = load float, ptr %8, align 4
%41 = fadd float %40, %39
store float %41, ptr %8, align 4
br label %42
42: ; preds = %32
%43 = load i32, ptr %6, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %6, align 4
br label %9, !llvm.loop !8
45: ; preds = %9
%46 = load float, ptr %8, align 4
%47 = load i32, ptr %4, align 4
%48 = sitofp i32 %47 to float
%49 = fdiv float %46, %48
%50 = call i32 (ptr, float, ...) @printf(ptr noundef @.str.1, float noundef %49)
ret void
}
declare i32 @printf(ptr noundef, 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpo8qx0fjx.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"%5d %15.1f\0A\00", align 1
@.str.1 = private unnamed_addr constant [38 x i8] c"\0AThe yearly average is %.1f inches.\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @yearrf(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca float, align 4
%8 = alloca float, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store float 0.000000e+00, ptr %8, align 4
store i32 0, ptr %6, align 4
%9 = load i32, ptr %6, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %.lr.ph2, label %48
.lr.ph2: ; preds = %2
br label %12
12: ; preds = %.lr.ph2, %42
store i32 0, ptr %5, align 4
store float 0.000000e+00, ptr %7, align 4
%13 = load i32, ptr %5, align 4
%14 = icmp slt i32 %13, 12
br i1 %14, label %.lr.ph, label %32
.lr.ph: ; preds = %12
br label %15
15: ; preds = %.lr.ph, %27
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %6, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [12 x float], ptr %16, i64 %18
%20 = getelementptr inbounds [12 x float], ptr %19, i64 0, i64 0
%21 = load i32, ptr %5, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds float, ptr %20, i64 %22
%24 = load float, ptr %23, align 4
%25 = load float, ptr %7, align 4
%26 = fadd float %25, %24
store float %26, ptr %7, align 4
br label %27
27: ; preds = %15
%28 = load i32, ptr %5, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %5, align 4
%30 = load i32, ptr %5, align 4
%31 = icmp slt i32 %30, 12
br i1 %31, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %32
32: ; preds = %._crit_edge, %12
%33 = load i32, ptr %6, align 4
%34 = add nsw i32 2000, %33
%35 = sitofp i32 %34 to float
%36 = load float, ptr %7, align 4
%37 = fpext float %36 to double
%38 = call i32 (ptr, float, ...) @printf(ptr noundef @.str, float noundef %35, double noundef %37)
%39 = load float, ptr %7, align 4
%40 = load float, ptr %8, align 4
%41 = fadd float %40, %39
store float %41, ptr %8, align 4
br label %42
42: ; preds = %32
%43 = load i32, ptr %6, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %6, align 4
%45 = load i32, ptr %6, align 4
%46 = load i32, ptr %4, align 4
%47 = icmp slt i32 %45, %46
br i1 %47, label %12, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %42
br label %48
48: ; preds = %._crit_edge3, %2
%49 = load float, ptr %8, align 4
%50 = load i32, ptr %4, align 4
%51 = sitofp i32 %50 to float
%52 = fdiv float %49, %51
%53 = call i32 (ptr, float, ...) @printf(ptr noundef @.str.1, float noundef %52)
ret void
}
declare i32 @printf(ptr noundef, 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp195eh0rp.c'
source_filename = "/tmp/tmp195eh0rp.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"
@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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %6
}
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp195eh0rp.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"
@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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %6
}
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"}
|
; ModuleID = '/tmp/tmpg_yrls12.c'
source_filename = "/tmp/tmpg_yrls12.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 @malloc_wrapper() #0 {
%1 = call i64 @malloc(i32 noundef 4)
%2 = inttoptr i64 %1 to ptr
ret ptr %2
}
declare i64 @malloc(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/tmpg_yrls12.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 @malloc_wrapper() #0 {
%1 = call i64 @malloc(i32 noundef 4)
%2 = inttoptr i64 %1 to ptr
ret ptr %2
}
declare i64 @malloc(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/tmpro8k29t2.c'
source_filename = "/tmp/tmpro8k29t2.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/tmpro8k29t2.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/tmpzvg5v47z.c'
source_filename = "/tmp/tmpzvg5v47z.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"
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @seekFILEpipe(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
store ptr %9, ptr %6, align 8
store i32 1, ptr %8, align 4
%10 = load ptr, ptr %4, align 8
%11 = call i32 @getc(ptr noundef %10)
store i32 %11, ptr %7, align 4
br label %12
12: ; preds = %47, %2
%13 = load i32, ptr %7, align 4
%14 = load i32, ptr @EOF, align 4
%15 = icmp eq i32 %13, %14
br i1 %15, label %16, label %18
16: ; preds = %12
%17 = load i32, ptr @EOF, align 4
store i32 %17, ptr %3, align 4
br label %53
18: ; preds = %12
%19 = load ptr, ptr %6, align 8
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = load i32, ptr %7, align 4
%23 = icmp eq i32 %21, %22
br i1 %23, label %24, label %27
24: ; preds = %18
%25 = load ptr, ptr %6, align 8
%26 = getelementptr inbounds i8, ptr %25, i32 1
store ptr %26, ptr %6, align 8
br label %40
27: ; preds = %18
%28 = load ptr, ptr %5, align 8
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = load i32, ptr %7, align 4
%32 = icmp eq i32 %30, %31
br i1 %32, label %33, label %36
33: ; preds = %27
%34 = load ptr, ptr %5, align 8
%35 = getelementptr inbounds i8, ptr %34, i64 1
br label %38
36: ; preds = %27
%37 = load ptr, ptr %5, align 8
br label %38
38: ; preds = %36, %33
%39 = phi ptr [ %35, %33 ], [ %37, %36 ]
store ptr %39, ptr %6, align 8
br label %40
40: ; preds = %38, %24
%41 = phi ptr [ %25, %24 ], [ %39, %38 ]
br label %42
42: ; preds = %40
%43 = load ptr, ptr %4, align 8
%44 = call i32 @getc(ptr noundef %43)
store i32 %44, ptr %7, align 4
%45 = load i32, ptr %8, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %8, align 4
br label %47
47: ; preds = %42
%48 = load ptr, ptr %6, align 8
%49 = load i8, ptr %48, align 1
%50 = icmp ne i8 %49, 0
br i1 %50, label %12, label %51, !llvm.loop !6
51: ; preds = %47
%52 = load i32, ptr %8, align 4
store i32 %52, ptr %3, align 4
br label %53
53: ; preds = %51, %16
%54 = load i32, ptr %3, align 4
ret i32 %54
}
declare i32 @getc(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/tmpzvg5v47z.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"
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @seekFILEpipe(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
store ptr %9, ptr %6, align 8
store i32 1, ptr %8, align 4
%10 = load ptr, ptr %4, align 8
%11 = call i32 @getc(ptr noundef %10)
store i32 %11, ptr %7, align 4
br label %12
12: ; preds = %47, %2
%13 = load i32, ptr %7, align 4
%14 = load i32, ptr @EOF, align 4
%15 = icmp eq i32 %13, %14
br i1 %15, label %16, label %18
16: ; preds = %12
%17 = load i32, ptr @EOF, align 4
store i32 %17, ptr %3, align 4
br label %53
18: ; preds = %12
%19 = load ptr, ptr %6, align 8
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = load i32, ptr %7, align 4
%23 = icmp eq i32 %21, %22
br i1 %23, label %24, label %27
24: ; preds = %18
%25 = load ptr, ptr %6, align 8
%26 = getelementptr inbounds i8, ptr %25, i32 1
store ptr %26, ptr %6, align 8
br label %40
27: ; preds = %18
%28 = load ptr, ptr %5, align 8
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = load i32, ptr %7, align 4
%32 = icmp eq i32 %30, %31
br i1 %32, label %33, label %36
33: ; preds = %27
%34 = load ptr, ptr %5, align 8
%35 = getelementptr inbounds i8, ptr %34, i64 1
br label %38
36: ; preds = %27
%37 = load ptr, ptr %5, align 8
br label %38
38: ; preds = %36, %33
%39 = phi ptr [ %35, %33 ], [ %37, %36 ]
store ptr %39, ptr %6, align 8
br label %40
40: ; preds = %38, %24
%41 = phi ptr [ %25, %24 ], [ %39, %38 ]
br label %42
42: ; preds = %40
%43 = load ptr, ptr %4, align 8
%44 = call i32 @getc(ptr noundef %43)
store i32 %44, ptr %7, align 4
%45 = load i32, ptr %8, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %8, align 4
br label %47
47: ; preds = %42
%48 = load ptr, ptr %6, align 8
%49 = load i8, ptr %48, align 1
%50 = icmp ne i8 %49, 0
br i1 %50, label %12, label %51, !llvm.loop !6
51: ; preds = %47
%52 = load i32, ptr %8, align 4
store i32 %52, ptr %3, align 4
br label %53
53: ; preds = %51, %16
%54 = load i32, ptr %3, align 4
ret i32 %54
}
declare i32 @getc(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/tmpnr3cm2mf.c'
source_filename = "/tmp/tmpnr3cm2mf.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"
@SIGCHLD = dso_local global i32 0, align 4
@SIG_BLOCK = dso_local global i32 0, align 4
@SIGTERM = dso_local global i32 0, align 4
@LOG_ERR = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [30 x i8] c"Can't kill script pgrp %d: %m\00", align 1
@WNOHANG = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [28 x i8] c"Failed to wait for %d: %m?!\00", align 1
@SIGKILL = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [25 x i8] c"2nd kill %d failed: %m?!\00", align 1
@SIG_SETMASK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @kill_script(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%7 = load i32, ptr %2, align 4
%8 = icmp eq i32 %7, -1
br i1 %8, label %9, label %10
9: ; preds = %1
br label %64
10: ; preds = %1
%11 = load i32, ptr %2, align 4
%12 = icmp sgt i32 %11, 0
%13 = zext i1 %12 to i32
%14 = call i32 @assert(i32 noundef %13)
%15 = call i32 @sigemptyset(ptr noundef %5)
%16 = load i32, ptr @SIGCHLD, align 4
%17 = call i32 @sigaddset(ptr noundef %5, i32 noundef %16)
%18 = load i32, ptr @SIG_BLOCK, align 4
%19 = call i32 @sigprocmask(i32 noundef %18, ptr noundef %5, ptr noundef %6)
%20 = load i32, ptr %2, align 4
%21 = load i32, ptr @SIGTERM, align 4
%22 = call i32 @killpg(i32 noundef %20, i32 noundef %21)
%23 = icmp eq i32 %22, -1
br i1 %23, label %24, label %28
24: ; preds = %10
%25 = load i32, ptr @LOG_ERR, align 4
%26 = load i32, ptr %2, align 4
%27 = call i32 @do_log(i32 noundef %25, ptr noundef @.str, i32 noundef %26)
br label %61
28: ; preds = %10
%29 = call i32 @sleep(i32 noundef 1)
%30 = load i32, ptr %2, align 4
%31 = load i32, ptr @WNOHANG, align 4
%32 = call i32 @waitpid(i32 noundef %30, ptr noundef %4, i32 noundef %31)
store i32 %32, ptr %3, align 4
%33 = load i32, ptr %3, align 4
%34 = icmp eq i32 %33, -1
br i1 %34, label %35, label %39
35: ; preds = %28
%36 = load i32, ptr @LOG_ERR, align 4
%37 = load i32, ptr %2, align 4
%38 = call i32 @do_log(i32 noundef %36, ptr noundef @.str.1, i32 noundef %37)
br label %61
39: ; preds = %28
%40 = load i32, ptr %3, align 4
%41 = icmp eq i32 %40, 0
br i1 %41, label %42, label %54
42: ; preds = %39
%43 = load i32, ptr %2, align 4
%44 = load i32, ptr @SIGKILL, align 4
%45 = call i32 @killpg(i32 noundef %43, i32 noundef %44)
%46 = icmp eq i32 %45, -1
br i1 %46, label %47, label %51
47: ; preds = %42
%48 = load i32, ptr @LOG_ERR, align 4
%49 = load i32, ptr %2, align 4
%50 = call i32 @do_log(i32 noundef %48, ptr noundef @.str.2, i32 noundef %49)
br label %61
51: ; preds = %42
%52 = load i32, ptr %2, align 4
%53 = call i32 @waitpid(i32 noundef %52, ptr noundef %4, i32 noundef 0)
store i32 %53, ptr %3, align 4
br label %54
54: ; preds = %51, %39
br label %55
55: ; preds = %54
%56 = load i32, ptr %3, align 4
%57 = load i32, ptr %2, align 4
%58 = icmp eq i32 %56, %57
%59 = zext i1 %58 to i32
%60 = call i32 @assert(i32 noundef %59)
br label %61
61: ; preds = %55, %47, %35, %24
%62 = load i32, ptr @SIG_SETMASK, align 4
%63 = call i32 @sigprocmask(i32 noundef %62, ptr noundef %6, ptr noundef null)
br label %64
64: ; preds = %61, %9
ret void
}
declare i32 @assert(i32 noundef) #1
declare i32 @sigemptyset(ptr noundef) #1
declare i32 @sigaddset(ptr noundef, i32 noundef) #1
declare i32 @sigprocmask(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @killpg(i32 noundef, i32 noundef) #1
declare i32 @do_log(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @sleep(i32 noundef) #1
declare i32 @waitpid(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/tmpnr3cm2mf.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"
@SIGCHLD = dso_local global i32 0, align 4
@SIG_BLOCK = dso_local global i32 0, align 4
@SIGTERM = dso_local global i32 0, align 4
@LOG_ERR = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [30 x i8] c"Can't kill script pgrp %d: %m\00", align 1
@WNOHANG = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [28 x i8] c"Failed to wait for %d: %m?!\00", align 1
@SIGKILL = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [25 x i8] c"2nd kill %d failed: %m?!\00", align 1
@SIG_SETMASK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @kill_script(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%7 = load i32, ptr %2, align 4
%8 = icmp eq i32 %7, -1
br i1 %8, label %9, label %10
9: ; preds = %1
br label %64
10: ; preds = %1
%11 = load i32, ptr %2, align 4
%12 = icmp sgt i32 %11, 0
%13 = zext i1 %12 to i32
%14 = call i32 @assert(i32 noundef %13)
%15 = call i32 @sigemptyset(ptr noundef %5)
%16 = load i32, ptr @SIGCHLD, align 4
%17 = call i32 @sigaddset(ptr noundef %5, i32 noundef %16)
%18 = load i32, ptr @SIG_BLOCK, align 4
%19 = call i32 @sigprocmask(i32 noundef %18, ptr noundef %5, ptr noundef %6)
%20 = load i32, ptr %2, align 4
%21 = load i32, ptr @SIGTERM, align 4
%22 = call i32 @killpg(i32 noundef %20, i32 noundef %21)
%23 = icmp eq i32 %22, -1
br i1 %23, label %24, label %28
24: ; preds = %10
%25 = load i32, ptr @LOG_ERR, align 4
%26 = load i32, ptr %2, align 4
%27 = call i32 @do_log(i32 noundef %25, ptr noundef @.str, i32 noundef %26)
br label %61
28: ; preds = %10
%29 = call i32 @sleep(i32 noundef 1)
%30 = load i32, ptr %2, align 4
%31 = load i32, ptr @WNOHANG, align 4
%32 = call i32 @waitpid(i32 noundef %30, ptr noundef %4, i32 noundef %31)
store i32 %32, ptr %3, align 4
%33 = load i32, ptr %3, align 4
%34 = icmp eq i32 %33, -1
br i1 %34, label %35, label %39
35: ; preds = %28
%36 = load i32, ptr @LOG_ERR, align 4
%37 = load i32, ptr %2, align 4
%38 = call i32 @do_log(i32 noundef %36, ptr noundef @.str.1, i32 noundef %37)
br label %61
39: ; preds = %28
%40 = load i32, ptr %3, align 4
%41 = icmp eq i32 %40, 0
br i1 %41, label %42, label %54
42: ; preds = %39
%43 = load i32, ptr %2, align 4
%44 = load i32, ptr @SIGKILL, align 4
%45 = call i32 @killpg(i32 noundef %43, i32 noundef %44)
%46 = icmp eq i32 %45, -1
br i1 %46, label %47, label %51
47: ; preds = %42
%48 = load i32, ptr @LOG_ERR, align 4
%49 = load i32, ptr %2, align 4
%50 = call i32 @do_log(i32 noundef %48, ptr noundef @.str.2, i32 noundef %49)
br label %61
51: ; preds = %42
%52 = load i32, ptr %2, align 4
%53 = call i32 @waitpid(i32 noundef %52, ptr noundef %4, i32 noundef 0)
store i32 %53, ptr %3, align 4
br label %54
54: ; preds = %51, %39
br label %55
55: ; preds = %54
%56 = load i32, ptr %3, align 4
%57 = load i32, ptr %2, align 4
%58 = icmp eq i32 %56, %57
%59 = zext i1 %58 to i32
%60 = call i32 @assert(i32 noundef %59)
br label %61
61: ; preds = %55, %47, %35, %24
%62 = load i32, ptr @SIG_SETMASK, align 4
%63 = call i32 @sigprocmask(i32 noundef %62, ptr noundef %6, ptr noundef null)
br label %64
64: ; preds = %61, %9
ret void
}
declare i32 @assert(i32 noundef) #1
declare i32 @sigemptyset(ptr noundef) #1
declare i32 @sigaddset(ptr noundef, i32 noundef) #1
declare i32 @sigprocmask(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @killpg(i32 noundef, i32 noundef) #1
declare i32 @do_log(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @sleep(i32 noundef) #1
declare i32 @waitpid(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/tmp16gktkfh.c'
source_filename = "/tmp/tmp16gktkfh.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/tmp16gktkfh.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/tmpazge897a.c'
source_filename = "/tmp/tmpazge897a.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 @evilfunction(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [1000 x i8], align 16
store ptr %0, ptr %2, align 8
%4 = getelementptr inbounds [1000 x i8], ptr %3, i64 0, i64 0
%5 = load ptr, ptr %2, align 8
%6 = call i32 @strcpy(ptr noundef %4, ptr noundef %5)
ret void
}
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" }
!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/tmpazge897a.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 @evilfunction(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [1000 x i8], align 16
store ptr %0, ptr %2, align 8
%4 = getelementptr inbounds [1000 x i8], ptr %3, i64 0, i64 0
%5 = load ptr, ptr %2, align 8
%6 = call i32 @strcpy(ptr noundef %4, ptr noundef %5)
ret void
}
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" }
!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/tmpwfmm7s5n.c'
source_filename = "/tmp/tmpwfmm7s5n.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"
@__const.main.x = private unnamed_addr constant [12 x float] [float 1.000000e+00, float 2.000000e+00, float 0x7FF8000000000000, float 3.000000e+00, float 0x7FF8000000000000, float 4.000000e+00, float 5.000000e+00, float 6.000000e+00, float 0x7FF8000000000000, float 7.000000e+00, float 8.000000e+00, float 0x7FF8000000000000], align 16
@.str = private unnamed_addr constant [10 x i8] c"mean: %f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca [12 x float], align 16
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca double, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.x, i64 48, i1 false)
store i32 6, ptr %2, align 4
store i32 2, ptr %3, align 4
%5 = load i32, ptr %2, align 4
%6 = getelementptr inbounds [12 x float], ptr %1, i64 0, i64 0
%7 = load i32, ptr %3, align 4
%8 = call double @stdlib_strided_dsnanmean(i32 noundef %5, ptr noundef %6, i32 noundef %7)
store double %8, ptr %4, align 8
%9 = load double, ptr %4, align 8
%10 = call i32 @printf(ptr noundef @.str, double noundef %9)
ret i32 0
}
; 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 double @stdlib_strided_dsnanmean(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, double 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwfmm7s5n.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"
@__const.main.x = private unnamed_addr constant [12 x float] [float 1.000000e+00, float 2.000000e+00, float 0x7FF8000000000000, float 3.000000e+00, float 0x7FF8000000000000, float 4.000000e+00, float 5.000000e+00, float 6.000000e+00, float 0x7FF8000000000000, float 7.000000e+00, float 8.000000e+00, float 0x7FF8000000000000], align 16
@.str = private unnamed_addr constant [10 x i8] c"mean: %f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca [12 x float], align 16
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca double, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.x, i64 48, i1 false)
store i32 6, ptr %2, align 4
store i32 2, ptr %3, align 4
%5 = load i32, ptr %2, align 4
%6 = getelementptr inbounds [12 x float], ptr %1, i64 0, i64 0
%7 = load i32, ptr %3, align 4
%8 = call double @stdlib_strided_dsnanmean(i32 noundef %5, ptr noundef %6, i32 noundef %7)
store double %8, ptr %4, align 8
%9 = load double, ptr %4, align 8
%10 = call i32 @printf(ptr noundef @.str, double noundef %9)
ret i32 0
}
; 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 double @stdlib_strided_dsnanmean(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, double 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"}
|
; ModuleID = '/tmp/tmphib3r6lp.c'
source_filename = "/tmp/tmphib3r6lp.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 [21 x i8] c"Hello, kernel World!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @kernel_main() #0 {
%1 = call i32 (...) @terminal_initialize()
%2 = call i32 @terminal_writestring(ptr noundef @.str)
ret void
}
declare i32 @terminal_initialize(...) #1
declare i32 @terminal_writestring(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/tmphib3r6lp.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 [21 x i8] c"Hello, kernel World!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @kernel_main() #0 {
%1 = call i32 (...) @terminal_initialize()
%2 = call i32 @terminal_writestring(ptr noundef @.str)
ret void
}
declare i32 @terminal_initialize(...) #1
declare i32 @terminal_writestring(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.