llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
|---|---|
; ModuleID = '/tmp/tmpwycgn53n.c'
source_filename = "/tmp/tmpwycgn53n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@LLONG_MIN = dso_local global i64 0, align 8
@LLONG_MAX = dso_local global i64 0, align 8
@ERANGE = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @strtoll(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%14 = load ptr, ptr %4, align 8
store ptr %14, ptr %7, align 8
br label %15
15: ; preds = %20, %3
%16 = load ptr, ptr %7, align 8
%17 = getelementptr inbounds i8, ptr %16, i32 1
store ptr %17, ptr %7, align 8
%18 = load i8, ptr %16, align 1
%19 = zext i8 %18 to i32
store i32 %19, ptr %10, align 4
br label %20
20: ; preds = %15
%21 = load i32, ptr %10, align 4
%22 = call i64 @isspace(i32 noundef %21)
%23 = icmp ne i64 %22, 0
br i1 %23, label %15, label %24, !llvm.loop !6
24: ; preds = %20
%25 = load i32, ptr %10, align 4
%26 = icmp eq i32 %25, 45
br i1 %26, label %27, label %32
27: ; preds = %24
store i32 1, ptr %11, align 4
%28 = load ptr, ptr %7, align 8
%29 = getelementptr inbounds i8, ptr %28, i32 1
store ptr %29, ptr %7, align 8
%30 = load i8, ptr %28, align 1
%31 = sext i8 %30 to i32
store i32 %31, ptr %10, align 4
br label %41
32: ; preds = %24
store i32 0, ptr %11, align 4
%33 = load i32, ptr %10, align 4
%34 = icmp eq i32 %33, 43
br i1 %34, label %35, label %40
35: ; preds = %32
%36 = load ptr, ptr %7, align 8
%37 = getelementptr inbounds i8, ptr %36, i32 1
store ptr %37, ptr %7, align 8
%38 = load i8, ptr %36, align 1
%39 = sext i8 %38 to i32
store i32 %39, ptr %10, align 4
br label %40
40: ; preds = %35, %32
br label %41
41: ; preds = %40, %27
%42 = load i32, ptr %6, align 4
%43 = icmp eq i32 %42, 0
br i1 %43, label %47, label %44
44: ; preds = %41
%45 = load i32, ptr %6, align 4
%46 = icmp eq i32 %45, 16
br i1 %46, label %47, label %67
47: ; preds = %44, %41
%48 = load i32, ptr %10, align 4
%49 = icmp eq i32 %48, 48
br i1 %49, label %50, label %67
50: ; preds = %47
%51 = load ptr, ptr %7, align 8
%52 = load i8, ptr %51, align 1
%53 = sext i8 %52 to i32
%54 = icmp eq i32 %53, 120
br i1 %54, label %60, label %55
55: ; preds = %50
%56 = load ptr, ptr %7, align 8
%57 = load i8, ptr %56, align 1
%58 = sext i8 %57 to i32
%59 = icmp eq i32 %58, 88
br i1 %59, label %60, label %67
60: ; preds = %55, %50
%61 = load ptr, ptr %7, align 8
%62 = getelementptr inbounds i8, ptr %61, i64 1
%63 = load i8, ptr %62, align 1
%64 = sext i8 %63 to i32
store i32 %64, ptr %10, align 4
%65 = load ptr, ptr %7, align 8
%66 = getelementptr inbounds i8, ptr %65, i64 2
store ptr %66, ptr %7, align 8
store i32 16, ptr %6, align 4
br label %67
67: ; preds = %60, %55, %47, %44
%68 = load i32, ptr %6, align 4
%69 = icmp eq i32 %68, 0
br i1 %69, label %70, label %75
70: ; preds = %67
%71 = load i32, ptr %10, align 4
%72 = icmp eq i32 %71, 48
%73 = zext i1 %72 to i64
%74 = select i1 %72, i32 8, i32 10
store i32 %74, ptr %6, align 4
br label %75
75: ; preds = %70, %67
%76 = load i32, ptr %11, align 4
%77 = icmp ne i32 %76, 0
br i1 %77, label %78, label %80
78: ; preds = %75
%79 = load i64, ptr @LLONG_MIN, align 8
br label %82
80: ; preds = %75
%81 = load i64, ptr @LLONG_MAX, align 8
br label %82
82: ; preds = %80, %78
%83 = phi i64 [ %79, %78 ], [ %81, %80 ]
store i64 %83, ptr %9, align 8
%84 = load i64, ptr %9, align 8
%85 = load i32, ptr %6, align 4
%86 = sext i32 %85 to i64
%87 = srem i64 %84, %86
%88 = trunc i64 %87 to i32
store i32 %88, ptr %13, align 4
%89 = load i32, ptr %6, align 4
%90 = sext i32 %89 to i64
%91 = load i64, ptr %9, align 8
%92 = sdiv i64 %91, %90
store i64 %92, ptr %9, align 8
%93 = load i32, ptr %11, align 4
%94 = icmp ne i32 %93, 0
br i1 %94, label %95, label %107
95: ; preds = %82
%96 = load i32, ptr %13, align 4
%97 = icmp sgt i32 %96, 0
br i1 %97, label %98, label %104
98: ; preds = %95
%99 = load i32, ptr %6, align 4
%100 = load i32, ptr %13, align 4
%101 = sub nsw i32 %100, %99
store i32 %101, ptr %13, align 4
%102 = load i64, ptr %9, align 8
%103 = add nsw i64 %102, 1
store i64 %103, ptr %9, align 8
br label %104
104: ; preds = %98, %95
%105 = load i32, ptr %13, align 4
%106 = sub nsw i32 0, %105
store i32 %106, ptr %13, align 4
br label %107
107: ; preds = %104, %82
store i64 0, ptr %8, align 8
store i32 0, ptr %12, align 4
br label %108
108: ; preds = %192, %107
%109 = load i32, ptr %10, align 4
%110 = call i64 @isdigit(i32 noundef %109)
%111 = icmp ne i64 %110, 0
br i1 %111, label %112, label %115
112: ; preds = %108
%113 = load i32, ptr %10, align 4
%114 = sub nsw i32 %113, 48
store i32 %114, ptr %10, align 4
br label %129
115: ; preds = %108
%116 = load i32, ptr %10, align 4
%117 = call i64 @isalpha(i32 noundef %116)
%118 = icmp ne i64 %117, 0
br i1 %118, label %119, label %127
119: ; preds = %115
%120 = load i32, ptr %10, align 4
%121 = call i64 @isupper(i32 noundef %120)
%122 = icmp ne i64 %121, 0
%123 = zext i1 %122 to i64
%124 = select i1 %122, i32 55, i32 87
%125 = load i32, ptr %10, align 4
%126 = sub nsw i32 %125, %124
store i32 %126, ptr %10, align 4
br label %128
127: ; preds = %115
br label %197
128: ; preds = %119
br label %129
129: ; preds = %128, %112
%130 = load i32, ptr %10, align 4
%131 = load i32, ptr %6, align 4
%132 = icmp sge i32 %130, %131
br i1 %132, label %133, label %134
133: ; preds = %129
br label %197
134: ; preds = %129
%135 = load i32, ptr %12, align 4
%136 = icmp slt i32 %135, 0
br i1 %136, label %137, label %138
137: ; preds = %134
br label %192
138: ; preds = %134
%139 = load i32, ptr %11, align 4
%140 = icmp ne i32 %139, 0
br i1 %140, label %141, label %166
141: ; preds = %138
%142 = load i64, ptr %8, align 8
%143 = load i64, ptr %9, align 8
%144 = icmp slt i64 %142, %143
br i1 %144, label %153, label %145
145: ; preds = %141
%146 = load i64, ptr %8, align 8
%147 = load i64, ptr %9, align 8
%148 = icmp eq i64 %146, %147
br i1 %148, label %149, label %156
149: ; preds = %145
%150 = load i32, ptr %10, align 4
%151 = load i32, ptr %13, align 4
%152 = icmp sgt i32 %150, %151
br i1 %152, label %153, label %156
153: ; preds = %149, %141
store i32 -1, ptr %12, align 4
%154 = load i64, ptr @LLONG_MIN, align 8
store i64 %154, ptr %8, align 8
%155 = load i32, ptr @ERANGE, align 4
store i32 %155, ptr @errno, align 4
br label %165
156: ; preds = %149, %145
store i32 1, ptr %12, align 4
%157 = load i32, ptr %6, align 4
%158 = sext i32 %157 to i64
%159 = load i64, ptr %8, align 8
%160 = mul nsw i64 %159, %158
store i64 %160, ptr %8, align 8
%161 = load i32, ptr %10, align 4
%162 = sext i32 %161 to i64
%163 = load i64, ptr %8, align 8
%164 = sub nsw i64 %163, %162
store i64 %164, ptr %8, align 8
br label %165
165: ; preds = %156, %153
br label %191
166: ; preds = %138
%167 = load i64, ptr %8, align 8
%168 = load i64, ptr %9, align 8
%169 = icmp sgt i64 %167, %168
br i1 %169, label %178, label %170
170: ; preds = %166
%171 = load i64, ptr %8, align 8
%172 = load i64, ptr %9, align 8
%173 = icmp eq i64 %171, %172
br i1 %173, label %174, label %181
174: ; preds = %170
%175 = load i32, ptr %10, align 4
%176 = load i32, ptr %13, align 4
%177 = icmp sgt i32 %175, %176
br i1 %177, label %178, label %181
178: ; preds = %174, %166
store i32 -1, ptr %12, align 4
%179 = load i64, ptr @LLONG_MAX, align 8
store i64 %179, ptr %8, align 8
%180 = load i32, ptr @ERANGE, align 4
store i32 %180, ptr @errno, align 4
br label %190
181: ; preds = %174, %170
store i32 1, ptr %12, align 4
%182 = load i32, ptr %6, align 4
%183 = sext i32 %182 to i64
%184 = load i64, ptr %8, align 8
%185 = mul nsw i64 %184, %183
store i64 %185, ptr %8, align 8
%186 = load i32, ptr %10, align 4
%187 = sext i32 %186 to i64
%188 = load i64, ptr %8, align 8
%189 = add nsw i64 %188, %187
store i64 %189, ptr %8, align 8
br label %190
190: ; preds = %181, %178
br label %191
191: ; preds = %190, %165
br label %192
192: ; preds = %191, %137
%193 = load ptr, ptr %7, align 8
%194 = getelementptr inbounds i8, ptr %193, i32 1
store ptr %194, ptr %7, align 8
%195 = load i8, ptr %193, align 1
%196 = zext i8 %195 to i32
store i32 %196, ptr %10, align 4
br label %108
197: ; preds = %133, %127
%198 = load ptr, ptr %5, align 8
%199 = icmp ne ptr %198, null
br i1 %199, label %200, label %211
200: ; preds = %197
%201 = load i32, ptr %12, align 4
%202 = icmp ne i32 %201, 0
br i1 %202, label %203, label %206
203: ; preds = %200
%204 = load ptr, ptr %7, align 8
%205 = getelementptr inbounds i8, ptr %204, i64 -1
br label %208
206: ; preds = %200
%207 = load ptr, ptr %4, align 8
br label %208
208: ; preds = %206, %203
%209 = phi ptr [ %205, %203 ], [ %207, %206 ]
%210 = load ptr, ptr %5, align 8
store ptr %209, ptr %210, align 8
br label %211
211: ; preds = %208, %197
%212 = load i64, ptr %8, align 8
ret i64 %212
}
declare i64 @isspace(i32 noundef) #1
declare i64 @isdigit(i32 noundef) #1
declare i64 @isalpha(i32 noundef) #1
declare i64 @isupper(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/tmpwycgn53n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@LLONG_MIN = dso_local global i64 0, align 8
@LLONG_MAX = dso_local global i64 0, align 8
@ERANGE = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @strtoll(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%14 = load ptr, ptr %4, align 8
store ptr %14, ptr %7, align 8
br label %15
15: ; preds = %20, %3
%16 = load ptr, ptr %7, align 8
%17 = getelementptr inbounds i8, ptr %16, i32 1
store ptr %17, ptr %7, align 8
%18 = load i8, ptr %16, align 1
%19 = zext i8 %18 to i32
store i32 %19, ptr %10, align 4
br label %20
20: ; preds = %15
%21 = load i32, ptr %10, align 4
%22 = call i64 @isspace(i32 noundef %21)
%23 = icmp ne i64 %22, 0
br i1 %23, label %15, label %24, !llvm.loop !6
24: ; preds = %20
%25 = load i32, ptr %10, align 4
%26 = icmp eq i32 %25, 45
br i1 %26, label %27, label %32
27: ; preds = %24
store i32 1, ptr %11, align 4
%28 = load ptr, ptr %7, align 8
%29 = getelementptr inbounds i8, ptr %28, i32 1
store ptr %29, ptr %7, align 8
%30 = load i8, ptr %28, align 1
%31 = sext i8 %30 to i32
store i32 %31, ptr %10, align 4
br label %41
32: ; preds = %24
store i32 0, ptr %11, align 4
%33 = load i32, ptr %10, align 4
%34 = icmp eq i32 %33, 43
br i1 %34, label %35, label %40
35: ; preds = %32
%36 = load ptr, ptr %7, align 8
%37 = getelementptr inbounds i8, ptr %36, i32 1
store ptr %37, ptr %7, align 8
%38 = load i8, ptr %36, align 1
%39 = sext i8 %38 to i32
store i32 %39, ptr %10, align 4
br label %40
40: ; preds = %35, %32
br label %41
41: ; preds = %40, %27
%42 = load i32, ptr %6, align 4
%43 = icmp eq i32 %42, 0
br i1 %43, label %47, label %44
44: ; preds = %41
%45 = load i32, ptr %6, align 4
%46 = icmp eq i32 %45, 16
br i1 %46, label %47, label %67
47: ; preds = %44, %41
%48 = load i32, ptr %10, align 4
%49 = icmp eq i32 %48, 48
br i1 %49, label %50, label %67
50: ; preds = %47
%51 = load ptr, ptr %7, align 8
%52 = load i8, ptr %51, align 1
%53 = sext i8 %52 to i32
%54 = icmp eq i32 %53, 120
br i1 %54, label %60, label %55
55: ; preds = %50
%56 = load ptr, ptr %7, align 8
%57 = load i8, ptr %56, align 1
%58 = sext i8 %57 to i32
%59 = icmp eq i32 %58, 88
br i1 %59, label %60, label %67
60: ; preds = %55, %50
%61 = load ptr, ptr %7, align 8
%62 = getelementptr inbounds i8, ptr %61, i64 1
%63 = load i8, ptr %62, align 1
%64 = sext i8 %63 to i32
store i32 %64, ptr %10, align 4
%65 = load ptr, ptr %7, align 8
%66 = getelementptr inbounds i8, ptr %65, i64 2
store ptr %66, ptr %7, align 8
store i32 16, ptr %6, align 4
br label %67
67: ; preds = %60, %55, %47, %44
%68 = load i32, ptr %6, align 4
%69 = icmp eq i32 %68, 0
br i1 %69, label %70, label %75
70: ; preds = %67
%71 = load i32, ptr %10, align 4
%72 = icmp eq i32 %71, 48
%73 = zext i1 %72 to i64
%74 = select i1 %72, i32 8, i32 10
store i32 %74, ptr %6, align 4
br label %75
75: ; preds = %70, %67
%76 = load i32, ptr %11, align 4
%77 = icmp ne i32 %76, 0
br i1 %77, label %78, label %80
78: ; preds = %75
%79 = load i64, ptr @LLONG_MIN, align 8
br label %82
80: ; preds = %75
%81 = load i64, ptr @LLONG_MAX, align 8
br label %82
82: ; preds = %80, %78
%83 = phi i64 [ %79, %78 ], [ %81, %80 ]
store i64 %83, ptr %9, align 8
%84 = load i64, ptr %9, align 8
%85 = load i32, ptr %6, align 4
%86 = sext i32 %85 to i64
%87 = srem i64 %84, %86
%88 = trunc i64 %87 to i32
store i32 %88, ptr %13, align 4
%89 = load i32, ptr %6, align 4
%90 = sext i32 %89 to i64
%91 = load i64, ptr %9, align 8
%92 = sdiv i64 %91, %90
store i64 %92, ptr %9, align 8
%93 = load i32, ptr %11, align 4
%94 = icmp ne i32 %93, 0
br i1 %94, label %95, label %107
95: ; preds = %82
%96 = load i32, ptr %13, align 4
%97 = icmp sgt i32 %96, 0
br i1 %97, label %98, label %104
98: ; preds = %95
%99 = load i32, ptr %6, align 4
%100 = load i32, ptr %13, align 4
%101 = sub nsw i32 %100, %99
store i32 %101, ptr %13, align 4
%102 = load i64, ptr %9, align 8
%103 = add nsw i64 %102, 1
store i64 %103, ptr %9, align 8
br label %104
104: ; preds = %98, %95
%105 = load i32, ptr %13, align 4
%106 = sub nsw i32 0, %105
store i32 %106, ptr %13, align 4
br label %107
107: ; preds = %104, %82
store i64 0, ptr %8, align 8
store i32 0, ptr %12, align 4
br label %108
108: ; preds = %192, %107
%109 = load i32, ptr %10, align 4
%110 = call i64 @isdigit(i32 noundef %109)
%111 = icmp ne i64 %110, 0
br i1 %111, label %112, label %115
112: ; preds = %108
%113 = load i32, ptr %10, align 4
%114 = sub nsw i32 %113, 48
store i32 %114, ptr %10, align 4
br label %129
115: ; preds = %108
%116 = load i32, ptr %10, align 4
%117 = call i64 @isalpha(i32 noundef %116)
%118 = icmp ne i64 %117, 0
br i1 %118, label %119, label %127
119: ; preds = %115
%120 = load i32, ptr %10, align 4
%121 = call i64 @isupper(i32 noundef %120)
%122 = icmp ne i64 %121, 0
%123 = zext i1 %122 to i64
%124 = select i1 %122, i32 55, i32 87
%125 = load i32, ptr %10, align 4
%126 = sub nsw i32 %125, %124
store i32 %126, ptr %10, align 4
br label %128
127: ; preds = %115
br label %197
128: ; preds = %119
br label %129
129: ; preds = %128, %112
%130 = load i32, ptr %10, align 4
%131 = load i32, ptr %6, align 4
%132 = icmp sge i32 %130, %131
br i1 %132, label %133, label %134
133: ; preds = %129
br label %197
134: ; preds = %129
%135 = load i32, ptr %12, align 4
%136 = icmp slt i32 %135, 0
br i1 %136, label %137, label %138
137: ; preds = %134
br label %192
138: ; preds = %134
%139 = load i32, ptr %11, align 4
%140 = icmp ne i32 %139, 0
br i1 %140, label %141, label %166
141: ; preds = %138
%142 = load i64, ptr %8, align 8
%143 = load i64, ptr %9, align 8
%144 = icmp slt i64 %142, %143
br i1 %144, label %153, label %145
145: ; preds = %141
%146 = load i64, ptr %8, align 8
%147 = load i64, ptr %9, align 8
%148 = icmp eq i64 %146, %147
br i1 %148, label %149, label %156
149: ; preds = %145
%150 = load i32, ptr %10, align 4
%151 = load i32, ptr %13, align 4
%152 = icmp sgt i32 %150, %151
br i1 %152, label %153, label %156
153: ; preds = %149, %141
store i32 -1, ptr %12, align 4
%154 = load i64, ptr @LLONG_MIN, align 8
store i64 %154, ptr %8, align 8
%155 = load i32, ptr @ERANGE, align 4
store i32 %155, ptr @errno, align 4
br label %165
156: ; preds = %149, %145
store i32 1, ptr %12, align 4
%157 = load i32, ptr %6, align 4
%158 = sext i32 %157 to i64
%159 = load i64, ptr %8, align 8
%160 = mul nsw i64 %159, %158
store i64 %160, ptr %8, align 8
%161 = load i32, ptr %10, align 4
%162 = sext i32 %161 to i64
%163 = load i64, ptr %8, align 8
%164 = sub nsw i64 %163, %162
store i64 %164, ptr %8, align 8
br label %165
165: ; preds = %156, %153
br label %191
166: ; preds = %138
%167 = load i64, ptr %8, align 8
%168 = load i64, ptr %9, align 8
%169 = icmp sgt i64 %167, %168
br i1 %169, label %178, label %170
170: ; preds = %166
%171 = load i64, ptr %8, align 8
%172 = load i64, ptr %9, align 8
%173 = icmp eq i64 %171, %172
br i1 %173, label %174, label %181
174: ; preds = %170
%175 = load i32, ptr %10, align 4
%176 = load i32, ptr %13, align 4
%177 = icmp sgt i32 %175, %176
br i1 %177, label %178, label %181
178: ; preds = %174, %166
store i32 -1, ptr %12, align 4
%179 = load i64, ptr @LLONG_MAX, align 8
store i64 %179, ptr %8, align 8
%180 = load i32, ptr @ERANGE, align 4
store i32 %180, ptr @errno, align 4
br label %190
181: ; preds = %174, %170
store i32 1, ptr %12, align 4
%182 = load i32, ptr %6, align 4
%183 = sext i32 %182 to i64
%184 = load i64, ptr %8, align 8
%185 = mul nsw i64 %184, %183
store i64 %185, ptr %8, align 8
%186 = load i32, ptr %10, align 4
%187 = sext i32 %186 to i64
%188 = load i64, ptr %8, align 8
%189 = add nsw i64 %188, %187
store i64 %189, ptr %8, align 8
br label %190
190: ; preds = %181, %178
br label %191
191: ; preds = %190, %165
br label %192
192: ; preds = %191, %137
%193 = load ptr, ptr %7, align 8
%194 = getelementptr inbounds i8, ptr %193, i32 1
store ptr %194, ptr %7, align 8
%195 = load i8, ptr %193, align 1
%196 = zext i8 %195 to i32
store i32 %196, ptr %10, align 4
br label %108
197: ; preds = %133, %127
%198 = load ptr, ptr %5, align 8
%199 = icmp ne ptr %198, null
br i1 %199, label %200, label %211
200: ; preds = %197
%201 = load i32, ptr %12, align 4
%202 = icmp ne i32 %201, 0
br i1 %202, label %203, label %206
203: ; preds = %200
%204 = load ptr, ptr %7, align 8
%205 = getelementptr inbounds i8, ptr %204, i64 -1
br label %208
206: ; preds = %200
%207 = load ptr, ptr %4, align 8
br label %208
208: ; preds = %206, %203
%209 = phi ptr [ %205, %203 ], [ %207, %206 ]
%210 = load ptr, ptr %5, align 8
store ptr %209, ptr %210, align 8
br label %211
211: ; preds = %208, %197
%212 = load i64, ptr %8, align 8
ret i64 %212
}
declare i64 @isspace(i32 noundef) #1
declare i64 @isdigit(i32 noundef) #1
declare i64 @isalpha(i32 noundef) #1
declare i64 @isupper(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/tmp7all6pfo.c'
source_filename = "/tmp/tmp7all6pfo.c"
target datalayout = "e-m:e-p270: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 @print_margin(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = call i32 @insert_char(i8 noundef signext 32, i32 noundef 3)
%4 = load i8, ptr %2, align 1
%5 = call i32 @putchar(i8 noundef signext %4)
ret void
}
declare i32 @insert_char(i8 noundef signext, i32 noundef) #1
declare i32 @putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7all6pfo.c"
target datalayout = "e-m:e-p270: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 @print_margin(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = call i32 @insert_char(i8 noundef signext 32, i32 noundef 3)
%4 = load i8, ptr %2, align 1
%5 = call i32 @putchar(i8 noundef signext %4)
ret void
}
declare i32 @insert_char(i8 noundef signext, i32 noundef) #1
declare i32 @putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7cwma8c0.c'
source_filename = "/tmp/tmp7cwma8c0.c"
target datalayout = "e-m:e-p270: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/tmp7cwma8c0.c"
target datalayout = "e-m:e-p270: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/tmpjwg0b4y9.c'
source_filename = "/tmp/tmpjwg0b4y9.c"
target datalayout = "e-m:e-p270: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 @test1(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 ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%8 = load ptr, ptr %4, align 8
%9 = load i32, ptr %5, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds i8, ptr %8, i64 %10
%12 = load ptr, ptr %6, align 8
%13 = call ptr @strncat(ptr noundef %11, ptr noundef %12, i32 noundef 2)
store ptr %13, ptr %7, align 8
ret void
}
declare ptr @strncat(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/tmpjwg0b4y9.c"
target datalayout = "e-m:e-p270: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 @test1(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 ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%8 = load ptr, ptr %4, align 8
%9 = load i32, ptr %5, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds i8, ptr %8, i64 %10
%12 = load ptr, ptr %6, align 8
%13 = call ptr @strncat(ptr noundef %11, ptr noundef %12, i32 noundef 2)
store ptr %13, ptr %7, align 8
ret void
}
declare ptr @strncat(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/tmp3pd0fxs1.c'
source_filename = "/tmp/tmp3pd0fxs1.c"
target datalayout = "e-m:e-p270: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 [10 x i8] c"Enter x: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"Result = %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 i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%6 = load i32, ptr %2, align 4
%7 = mul nsw i32 3, %6
%8 = add nsw i32 %7, 2
%9 = load i32, ptr %2, align 4
%10 = mul nsw i32 %8, %9
%11 = sub nsw i32 %10, 5
%12 = load i32, ptr %2, align 4
%13 = mul nsw i32 %11, %12
%14 = sub nsw i32 %13, 1
%15 = load i32, ptr %2, align 4
%16 = mul nsw i32 %14, %15
%17 = add nsw i32 %16, 7
%18 = load i32, ptr %2, align 4
%19 = mul nsw i32 %17, %18
%20 = sub nsw i32 %19, 6
store i32 %20, ptr %3, align 4
%21 = load i32, ptr %3, align 4
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %21)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3pd0fxs1.c"
target datalayout = "e-m:e-p270: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 [10 x i8] c"Enter x: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"Result = %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 i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%6 = load i32, ptr %2, align 4
%7 = mul nsw i32 3, %6
%8 = add nsw i32 %7, 2
%9 = load i32, ptr %2, align 4
%10 = mul nsw i32 %8, %9
%11 = sub nsw i32 %10, 5
%12 = load i32, ptr %2, align 4
%13 = mul nsw i32 %11, %12
%14 = sub nsw i32 %13, 1
%15 = load i32, ptr %2, align 4
%16 = mul nsw i32 %14, %15
%17 = add nsw i32 %16, 7
%18 = load i32, ptr %2, align 4
%19 = mul nsw i32 %17, %18
%20 = sub nsw i32 %19, 6
store i32 %20, ptr %3, align 4
%21 = load i32, ptr %3, align 4
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %21)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpd76_v12q.c'
source_filename = "/tmp/tmpd76_v12q.c"
target datalayout = "e-m:e-p270: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 double @gsw_latentheat_evap_t(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%6 = load double, ptr %3, align 8
%7 = load double, ptr %4, align 8
%8 = call double @gsw_ct_from_pt(double noundef %6, double noundef %7)
store double %8, ptr %5, align 8
%9 = load double, ptr %3, align 8
%10 = load double, ptr %5, align 8
%11 = call double @gsw_latentheat_evap_ct(double noundef %9, double noundef %10)
ret double %11
}
declare double @gsw_ct_from_pt(double noundef, double noundef) #1
declare double @gsw_latentheat_evap_ct(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/tmpd76_v12q.c"
target datalayout = "e-m:e-p270: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 double @gsw_latentheat_evap_t(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%6 = load double, ptr %3, align 8
%7 = load double, ptr %4, align 8
%8 = call double @gsw_ct_from_pt(double noundef %6, double noundef %7)
store double %8, ptr %5, align 8
%9 = load double, ptr %3, align 8
%10 = load double, ptr %5, align 8
%11 = call double @gsw_latentheat_evap_ct(double noundef %9, double noundef %10)
ret double %11
}
declare double @gsw_ct_from_pt(double noundef, double noundef) #1
declare double @gsw_latentheat_evap_ct(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/tmpd10551wb.c'
source_filename = "/tmp/tmpd10551wb.c"
target datalayout = "e-m:e-p270: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 [42 x i8] c"Enter a text to trim (max 42 char long): \00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%42s\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"Trimmed: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%3 = call i64 @malloc(i32 noundef 42)
%4 = inttoptr i64 %3 to ptr
store ptr %4, ptr %2, align 8
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = load ptr, ptr %2, align 8
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6)
%8 = load ptr, ptr %2, align 8
%9 = call i32 @trim(ptr noundef %8)
%10 = load ptr, ptr %2, align 8
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %10)
ret i32 0
}
declare i64 @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @trim(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/tmpd10551wb.c"
target datalayout = "e-m:e-p270: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 [42 x i8] c"Enter a text to trim (max 42 char long): \00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%42s\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"Trimmed: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%3 = call i64 @malloc(i32 noundef 42)
%4 = inttoptr i64 %3 to ptr
store ptr %4, ptr %2, align 8
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = load ptr, ptr %2, align 8
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6)
%8 = load ptr, ptr %2, align 8
%9 = call i32 @trim(ptr noundef %8)
%10 = load ptr, ptr %2, align 8
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %10)
ret i32 0
}
declare i64 @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @trim(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/tmpnfpawgl5.c'
source_filename = "/tmp/tmpnfpawgl5.c"
target datalayout = "e-m:e-p270: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 [1 x i8] zeroinitializer, align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"../\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @relative_path(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i32 @strcpy(ptr noundef %8, ptr noundef @.str)
%10 = load ptr, ptr %6, align 8
%11 = call ptr @strchr(ptr noundef %10, i8 noundef signext 47)
store ptr %11, ptr %7, align 8
br label %12
12: ; preds = %15, %3
%13 = load ptr, ptr %7, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %15, label %22
15: ; preds = %12
%16 = load ptr, ptr %7, align 8
%17 = getelementptr inbounds i8, ptr %16, i32 1
store ptr %17, ptr %7, align 8
%18 = load ptr, ptr %4, align 8
%19 = call i32 @strcat(ptr noundef %18, ptr noundef @.str.1)
%20 = load ptr, ptr %7, align 8
%21 = call ptr @strchr(ptr noundef %20, i8 noundef signext 47)
store ptr %21, ptr %7, align 8
br label %12, !llvm.loop !6
22: ; preds = %12
%23 = load ptr, ptr %4, align 8
%24 = load ptr, ptr %4, align 8
%25 = call i32 @strlen(ptr noundef %24)
%26 = sub nsw i32 %25, 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %23, i64 %27
store i8 0, ptr %28, align 1
%29 = load ptr, ptr %4, align 8
%30 = load ptr, ptr %5, align 8
%31 = call i32 @strcat(ptr noundef %29, ptr noundef %30)
ret void
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnfpawgl5.c"
target datalayout = "e-m:e-p270: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 [1 x i8] zeroinitializer, align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"../\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @relative_path(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i32 @strcpy(ptr noundef %8, ptr noundef @.str)
%10 = load ptr, ptr %6, align 8
%11 = call ptr @strchr(ptr noundef %10, i8 noundef signext 47)
store ptr %11, ptr %7, align 8
%12 = load ptr, ptr %7, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %.lr.ph, label %23
.lr.ph: ; preds = %3
br label %14
14: ; preds = %.lr.ph, %14
%15 = load ptr, ptr %7, align 8
%16 = getelementptr inbounds i8, ptr %15, i32 1
store ptr %16, ptr %7, align 8
%17 = load ptr, ptr %4, align 8
%18 = call i32 @strcat(ptr noundef %17, ptr noundef @.str.1)
%19 = load ptr, ptr %7, align 8
%20 = call ptr @strchr(ptr noundef %19, i8 noundef signext 47)
store ptr %20, ptr %7, align 8
%21 = load ptr, ptr %7, align 8
%22 = icmp ne ptr %21, null
br i1 %22, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %23
23: ; preds = %._crit_edge, %3
%24 = load ptr, ptr %4, align 8
%25 = load ptr, ptr %4, align 8
%26 = call i32 @strlen(ptr noundef %25)
%27 = sub nsw i32 %26, 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %24, i64 %28
store i8 0, ptr %29, align 1
%30 = load ptr, ptr %4, align 8
%31 = load ptr, ptr %5, align 8
%32 = call i32 @strcat(ptr noundef %30, ptr noundef %31)
ret void
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpywgx8g0q.c'
source_filename = "/tmp/tmpywgx8g0q.c"
target datalayout = "e-m:e-p270: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 @nb_kernel230_f77_double(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28, ptr noundef %29, ptr noundef %30) #0 {
%32 = alloca ptr, align 8
%33 = alloca ptr, align 8
%34 = alloca ptr, align 8
%35 = alloca ptr, align 8
%36 = alloca ptr, align 8
%37 = alloca ptr, align 8
%38 = alloca ptr, align 8
%39 = alloca ptr, align 8
%40 = alloca ptr, align 8
%41 = alloca ptr, align 8
%42 = alloca ptr, align 8
%43 = alloca ptr, align 8
%44 = alloca ptr, align 8
%45 = alloca ptr, align 8
%46 = alloca ptr, align 8
%47 = alloca ptr, align 8
%48 = alloca ptr, align 8
%49 = alloca ptr, align 8
%50 = alloca ptr, align 8
%51 = alloca ptr, align 8
%52 = alloca ptr, align 8
%53 = alloca ptr, align 8
%54 = alloca ptr, align 8
%55 = alloca ptr, align 8
%56 = alloca ptr, align 8
%57 = alloca ptr, align 8
%58 = alloca ptr, align 8
%59 = alloca ptr, align 8
%60 = alloca ptr, align 8
%61 = alloca ptr, align 8
%62 = alloca ptr, align 8
store ptr %0, ptr %32, align 8
store ptr %1, ptr %33, align 8
store ptr %2, ptr %34, align 8
store ptr %3, ptr %35, align 8
store ptr %4, ptr %36, align 8
store ptr %5, ptr %37, align 8
store ptr %6, ptr %38, align 8
store ptr %7, ptr %39, align 8
store ptr %8, ptr %40, align 8
store ptr %9, ptr %41, align 8
store ptr %10, ptr %42, align 8
store ptr %11, ptr %43, align 8
store ptr %12, ptr %44, align 8
store ptr %13, ptr %45, align 8
store ptr %14, ptr %46, align 8
store ptr %15, ptr %47, align 8
store ptr %16, ptr %48, align 8
store ptr %17, ptr %49, align 8
store ptr %18, ptr %50, align 8
store ptr %19, ptr %51, align 8
store ptr %20, ptr %52, align 8
store ptr %21, ptr %53, align 8
store ptr %22, ptr %54, align 8
store ptr %23, ptr %55, align 8
store ptr %24, ptr %56, align 8
store ptr %25, ptr %57, align 8
store ptr %26, ptr %58, align 8
store ptr %27, ptr %59, align 8
store ptr %28, ptr %60, align 8
store ptr %29, ptr %61, align 8
store ptr %30, ptr %62, align 8
%63 = load ptr, ptr %32, align 8
%64 = load ptr, ptr %33, align 8
%65 = load ptr, ptr %34, align 8
%66 = load ptr, ptr %35, align 8
%67 = load ptr, ptr %36, align 8
%68 = load ptr, ptr %37, align 8
%69 = load ptr, ptr %38, align 8
%70 = load ptr, ptr %39, align 8
%71 = load ptr, ptr %40, align 8
%72 = load ptr, ptr %41, align 8
%73 = load ptr, ptr %42, align 8
%74 = load ptr, ptr %43, align 8
%75 = load ptr, ptr %44, align 8
%76 = load ptr, ptr %45, align 8
%77 = load ptr, ptr %46, align 8
%78 = load ptr, ptr %47, align 8
%79 = load ptr, ptr %48, align 8
%80 = load ptr, ptr %49, align 8
%81 = load ptr, ptr %50, align 8
%82 = load ptr, ptr %51, align 8
%83 = load ptr, ptr %52, align 8
%84 = load ptr, ptr %53, align 8
%85 = load ptr, ptr %54, align 8
%86 = load ptr, ptr %55, align 8
%87 = load ptr, ptr %56, align 8
%88 = load ptr, ptr %57, align 8
%89 = load ptr, ptr %58, align 8
%90 = load ptr, ptr %59, align 8
%91 = load ptr, ptr %60, align 8
%92 = load ptr, ptr %61, align 8
%93 = load ptr, ptr %62, align 8
%94 = call i32 @f77dkernel230_(ptr noundef %63, ptr noundef %64, ptr noundef %65, ptr noundef %66, ptr noundef %67, ptr noundef %68, ptr noundef %69, ptr noundef %70, ptr noundef %71, ptr noundef %72, ptr noundef %73, ptr noundef %74, ptr noundef %75, ptr noundef %76, ptr noundef %77, ptr noundef %78, ptr noundef %79, ptr noundef %80, ptr noundef %81, ptr noundef %82, ptr noundef %83, ptr noundef %84, ptr noundef %85, ptr noundef %86, ptr noundef %87, ptr noundef %88, ptr noundef %89, ptr noundef %90, ptr noundef %91, ptr noundef %92, ptr noundef %93)
ret void
}
declare i32 @f77dkernel230_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpywgx8g0q.c"
target datalayout = "e-m:e-p270: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 @nb_kernel230_f77_double(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28, ptr noundef %29, ptr noundef %30) #0 {
%32 = alloca ptr, align 8
%33 = alloca ptr, align 8
%34 = alloca ptr, align 8
%35 = alloca ptr, align 8
%36 = alloca ptr, align 8
%37 = alloca ptr, align 8
%38 = alloca ptr, align 8
%39 = alloca ptr, align 8
%40 = alloca ptr, align 8
%41 = alloca ptr, align 8
%42 = alloca ptr, align 8
%43 = alloca ptr, align 8
%44 = alloca ptr, align 8
%45 = alloca ptr, align 8
%46 = alloca ptr, align 8
%47 = alloca ptr, align 8
%48 = alloca ptr, align 8
%49 = alloca ptr, align 8
%50 = alloca ptr, align 8
%51 = alloca ptr, align 8
%52 = alloca ptr, align 8
%53 = alloca ptr, align 8
%54 = alloca ptr, align 8
%55 = alloca ptr, align 8
%56 = alloca ptr, align 8
%57 = alloca ptr, align 8
%58 = alloca ptr, align 8
%59 = alloca ptr, align 8
%60 = alloca ptr, align 8
%61 = alloca ptr, align 8
%62 = alloca ptr, align 8
store ptr %0, ptr %32, align 8
store ptr %1, ptr %33, align 8
store ptr %2, ptr %34, align 8
store ptr %3, ptr %35, align 8
store ptr %4, ptr %36, align 8
store ptr %5, ptr %37, align 8
store ptr %6, ptr %38, align 8
store ptr %7, ptr %39, align 8
store ptr %8, ptr %40, align 8
store ptr %9, ptr %41, align 8
store ptr %10, ptr %42, align 8
store ptr %11, ptr %43, align 8
store ptr %12, ptr %44, align 8
store ptr %13, ptr %45, align 8
store ptr %14, ptr %46, align 8
store ptr %15, ptr %47, align 8
store ptr %16, ptr %48, align 8
store ptr %17, ptr %49, align 8
store ptr %18, ptr %50, align 8
store ptr %19, ptr %51, align 8
store ptr %20, ptr %52, align 8
store ptr %21, ptr %53, align 8
store ptr %22, ptr %54, align 8
store ptr %23, ptr %55, align 8
store ptr %24, ptr %56, align 8
store ptr %25, ptr %57, align 8
store ptr %26, ptr %58, align 8
store ptr %27, ptr %59, align 8
store ptr %28, ptr %60, align 8
store ptr %29, ptr %61, align 8
store ptr %30, ptr %62, align 8
%63 = load ptr, ptr %32, align 8
%64 = load ptr, ptr %33, align 8
%65 = load ptr, ptr %34, align 8
%66 = load ptr, ptr %35, align 8
%67 = load ptr, ptr %36, align 8
%68 = load ptr, ptr %37, align 8
%69 = load ptr, ptr %38, align 8
%70 = load ptr, ptr %39, align 8
%71 = load ptr, ptr %40, align 8
%72 = load ptr, ptr %41, align 8
%73 = load ptr, ptr %42, align 8
%74 = load ptr, ptr %43, align 8
%75 = load ptr, ptr %44, align 8
%76 = load ptr, ptr %45, align 8
%77 = load ptr, ptr %46, align 8
%78 = load ptr, ptr %47, align 8
%79 = load ptr, ptr %48, align 8
%80 = load ptr, ptr %49, align 8
%81 = load ptr, ptr %50, align 8
%82 = load ptr, ptr %51, align 8
%83 = load ptr, ptr %52, align 8
%84 = load ptr, ptr %53, align 8
%85 = load ptr, ptr %54, align 8
%86 = load ptr, ptr %55, align 8
%87 = load ptr, ptr %56, align 8
%88 = load ptr, ptr %57, align 8
%89 = load ptr, ptr %58, align 8
%90 = load ptr, ptr %59, align 8
%91 = load ptr, ptr %60, align 8
%92 = load ptr, ptr %61, align 8
%93 = load ptr, ptr %62, align 8
%94 = call i32 @f77dkernel230_(ptr noundef %63, ptr noundef %64, ptr noundef %65, ptr noundef %66, ptr noundef %67, ptr noundef %68, ptr noundef %69, ptr noundef %70, ptr noundef %71, ptr noundef %72, ptr noundef %73, ptr noundef %74, ptr noundef %75, ptr noundef %76, ptr noundef %77, ptr noundef %78, ptr noundef %79, ptr noundef %80, ptr noundef %81, ptr noundef %82, ptr noundef %83, ptr noundef %84, ptr noundef %85, ptr noundef %86, ptr noundef %87, ptr noundef %88, ptr noundef %89, ptr noundef %90, ptr noundef %91, ptr noundef %92, ptr noundef %93)
ret void
}
declare i32 @f77dkernel230_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpupr9rpjl.c'
source_filename = "/tmp/tmpupr9rpjl.c"
target datalayout = "e-m:e-p270: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 [14 x i8] c"Another lib.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @another() #0 {
%1 = call i32 @printf(ptr noundef @.str)
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/tmpupr9rpjl.c"
target datalayout = "e-m:e-p270: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 [14 x i8] c"Another lib.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @another() #0 {
%1 = call i32 @printf(ptr noundef @.str)
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/tmpf8qu2d7v.c'
source_filename = "/tmp/tmpf8qu2d7v.c"
target datalayout = "e-m:e-p270: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
%3 = load i32, ptr %2, align 4
%4 = call i32 @printf(ptr noundef @.str, i32 noundef %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"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpf8qu2d7v.c"
target datalayout = "e-m:e-p270: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
%3 = load i32, ptr %2, align 4
%4 = call i32 @printf(ptr noundef @.str, i32 noundef %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"}
|
; ModuleID = '/tmp/tmpueucfu3i.c'
source_filename = "/tmp/tmpueucfu3i.c"
target datalayout = "e-m:e-p270: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_isdigit.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isdigit should be 0 for 0xa9\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isdigit_0xa9() #0 {
%1 = call i64 @isdigit(i32 noundef 169)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 850, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isdigit(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/tmpueucfu3i.c"
target datalayout = "e-m:e-p270: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_isdigit.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isdigit should be 0 for 0xa9\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isdigit_0xa9() #0 {
%1 = call i64 @isdigit(i32 noundef 169)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 850, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isdigit(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/tmph3edwhh9.c'
source_filename = "/tmp/tmph3edwhh9.c"
target datalayout = "e-m:e-p270: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 @client_sleep(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @client_posix_sleep(i32 noundef %3)
ret void
}
declare i32 @client_posix_sleep(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/tmph3edwhh9.c"
target datalayout = "e-m:e-p270: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 @client_sleep(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @client_posix_sleep(i32 noundef %3)
ret void
}
declare i32 @client_posix_sleep(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/tmpfwgaourh.c'
source_filename = "/tmp/tmpfwgaourh.c"
target datalayout = "e-m:e-p270: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 @bitfn_swap32(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 ptr asm "bswap $0", "=r,0,~{dirflag},~{fpsr},~{flags}"(ptr %3) #1, !srcloc !6
store ptr %4, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
ret ptr %5
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind 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 = !{i64 462}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfwgaourh.c"
target datalayout = "e-m:e-p270: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 @bitfn_swap32(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 ptr asm "bswap $0", "=r,0,~{dirflag},~{fpsr},~{flags}"(ptr %3) #1, !srcloc !6
store ptr %4, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
ret ptr %5
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind 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 = !{i64 462}
|
; ModuleID = '/tmp/tmp1v8ej0wa.c'
source_filename = "/tmp/tmp1v8ej0wa.c"
target datalayout = "e-m:e-p270: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 @serial_put(i32 noundef %0, i8 noundef signext %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i8, align 1
store i32 %0, ptr %3, align 4
store i8 %1, ptr %4, align 1
br label %5
5: ; preds = %10, %2
%6 = load i32, ptr %3, align 4
%7 = call i32 @is_transmit_empty(i32 noundef %6)
%8 = icmp ne i32 %7, 0
%9 = xor i1 %8, true
br i1 %9, label %10, label %11
10: ; preds = %5
br label %5, !llvm.loop !6
11: ; preds = %5
%12 = load i32, ptr %3, align 4
%13 = load i8, ptr %4, align 1
%14 = call i32 @outb(i32 noundef %12, i8 noundef signext %13)
ret void
}
declare i32 @is_transmit_empty(i32 noundef) #1
declare i32 @outb(i32 noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1v8ej0wa.c"
target datalayout = "e-m:e-p270: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 @serial_put(i32 noundef %0, i8 noundef signext %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i8, align 1
store i32 %0, ptr %3, align 4
store i8 %1, ptr %4, align 1
br label %5
5: ; preds = %5, %2
%6 = load i32, ptr %3, align 4
%7 = call i32 @is_transmit_empty(i32 noundef %6)
%8 = icmp ne i32 %7, 0
%9 = xor i1 %8, true
br i1 %9, label %5, label %10, !llvm.loop !6
10: ; preds = %5
%11 = load i32, ptr %3, align 4
%12 = load i8, ptr %4, align 1
%13 = call i32 @outb(i32 noundef %11, i8 noundef signext %12)
ret void
}
declare i32 @is_transmit_empty(i32 noundef) #1
declare i32 @outb(i32 noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpo4t9jk2q.c'
source_filename = "/tmp/tmpo4t9jk2q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ERANGE = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
@DBL_MIN_EXP = dso_local global i32 0, align 4
@DBL_MAX_EXP = dso_local global i32 0, align 4
@HUGE_VAL = dso_local global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @strtod(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca double, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca double, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%14 = load ptr, ptr %4, align 8
store ptr %14, ptr %9, align 8
br label %15
15: ; preds = %20, %2
%16 = load ptr, ptr %9, align 8
%17 = load i8, ptr %16, align 1
%18 = call i64 @isspace(i8 noundef signext %17)
%19 = icmp ne i64 %18, 0
br i1 %19, label %20, label %23
20: ; preds = %15
%21 = load ptr, ptr %9, align 8
%22 = getelementptr inbounds i8, ptr %21, i32 1
store ptr %22, ptr %9, align 8
br label %15, !llvm.loop !6
23: ; preds = %15
store i32 0, ptr %8, align 4
%24 = load ptr, ptr %9, align 8
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
switch i32 %26, label %31 [
i32 45, label %27
i32 43, label %28
]
27: ; preds = %23
store i32 1, ptr %8, align 4
br label %28
28: ; preds = %23, %27
%29 = load ptr, ptr %9, align 8
%30 = getelementptr inbounds i8, ptr %29, i32 1
store ptr %30, ptr %9, align 8
br label %31
31: ; preds = %28, %23
store double 0.000000e+00, ptr %6, align 8
store i32 0, ptr %7, align 4
store i32 0, ptr %12, align 4
store i32 0, ptr %13, align 4
br label %32
32: ; preds = %37, %31
%33 = load ptr, ptr %9, align 8
%34 = load i8, ptr %33, align 1
%35 = call i64 @isdigit(i8 noundef signext %34)
%36 = icmp ne i64 %35, 0
br i1 %36, label %37, label %49
37: ; preds = %32
%38 = load double, ptr %6, align 8
%39 = load ptr, ptr %9, align 8
%40 = load i8, ptr %39, align 1
%41 = sext i8 %40 to i32
%42 = sub nsw i32 %41, 48
%43 = sitofp i32 %42 to double
%44 = call double @llvm.fmuladd.f64(double %38, double 1.000000e+01, double %43)
store double %44, ptr %6, align 8
%45 = load ptr, ptr %9, align 8
%46 = getelementptr inbounds i8, ptr %45, i32 1
store ptr %46, ptr %9, align 8
%47 = load i32, ptr %12, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %12, align 4
br label %32, !llvm.loop !8
49: ; preds = %32
%50 = load ptr, ptr %9, align 8
%51 = load i8, ptr %50, align 1
%52 = sext i8 %51 to i32
%53 = icmp eq i32 %52, 46
br i1 %53, label %54, label %80
54: ; preds = %49
%55 = load ptr, ptr %9, align 8
%56 = getelementptr inbounds i8, ptr %55, i32 1
store ptr %56, ptr %9, align 8
br label %57
57: ; preds = %62, %54
%58 = load ptr, ptr %9, align 8
%59 = load i8, ptr %58, align 1
%60 = call i64 @isdigit(i8 noundef signext %59)
%61 = icmp ne i64 %60, 0
br i1 %61, label %62, label %76
62: ; preds = %57
%63 = load double, ptr %6, align 8
%64 = load ptr, ptr %9, align 8
%65 = load i8, ptr %64, align 1
%66 = sext i8 %65 to i32
%67 = sub nsw i32 %66, 48
%68 = sitofp i32 %67 to double
%69 = call double @llvm.fmuladd.f64(double %63, double 1.000000e+01, double %68)
store double %69, ptr %6, align 8
%70 = load ptr, ptr %9, align 8
%71 = getelementptr inbounds i8, ptr %70, i32 1
store ptr %71, ptr %9, align 8
%72 = load i32, ptr %12, align 4
%73 = add nsw i32 %72, 1
store i32 %73, ptr %12, align 4
%74 = load i32, ptr %13, align 4
%75 = add nsw i32 %74, 1
store i32 %75, ptr %13, align 4
br label %57, !llvm.loop !9
76: ; preds = %57
%77 = load i32, ptr %13, align 4
%78 = load i32, ptr %7, align 4
%79 = sub nsw i32 %78, %77
store i32 %79, ptr %7, align 4
br label %80
80: ; preds = %76, %49
%81 = load i32, ptr %12, align 4
%82 = icmp eq i32 %81, 0
br i1 %82, label %83, label %85
83: ; preds = %80
%84 = load i32, ptr @ERANGE, align 4
store i32 %84, ptr @errno, align 4
store double 0.000000e+00, ptr %3, align 8
br label %196
85: ; preds = %80
%86 = load i32, ptr %8, align 4
%87 = icmp ne i32 %86, 0
br i1 %87, label %88, label %91
88: ; preds = %85
%89 = load double, ptr %6, align 8
%90 = fneg double %89
store double %90, ptr %6, align 8
br label %91
91: ; preds = %88, %85
%92 = load ptr, ptr %9, align 8
%93 = load i8, ptr %92, align 1
%94 = sext i8 %93 to i32
%95 = icmp eq i32 %94, 101
br i1 %95, label %101, label %96
96: ; preds = %91
%97 = load ptr, ptr %9, align 8
%98 = load i8, ptr %97, align 1
%99 = sext i8 %98 to i32
%100 = icmp eq i32 %99, 69
br i1 %100, label %101, label %138
101: ; preds = %96, %91
store i32 0, ptr %8, align 4
%102 = load ptr, ptr %9, align 8
%103 = getelementptr inbounds i8, ptr %102, i32 1
store ptr %103, ptr %9, align 8
%104 = load i8, ptr %103, align 1
%105 = sext i8 %104 to i32
switch i32 %105, label %110 [
i32 45, label %106
i32 43, label %107
]
106: ; preds = %101
store i32 1, ptr %8, align 4
br label %107
107: ; preds = %101, %106
%108 = load ptr, ptr %9, align 8
%109 = getelementptr inbounds i8, ptr %108, i32 1
store ptr %109, ptr %9, align 8
br label %110
110: ; preds = %107, %101
store i32 0, ptr %11, align 4
br label %111
111: ; preds = %116, %110
%112 = load ptr, ptr %9, align 8
%113 = load i8, ptr %112, align 1
%114 = call i64 @isdigit(i8 noundef signext %113)
%115 = icmp ne i64 %114, 0
br i1 %115, label %116, label %126
116: ; preds = %111
%117 = load i32, ptr %11, align 4
%118 = mul nsw i32 %117, 10
%119 = load ptr, ptr %9, align 8
%120 = load i8, ptr %119, align 1
%121 = sext i8 %120 to i32
%122 = sub nsw i32 %121, 48
%123 = add nsw i32 %118, %122
store i32 %123, ptr %11, align 4
%124 = load ptr, ptr %9, align 8
%125 = getelementptr inbounds i8, ptr %124, i32 1
store ptr %125, ptr %9, align 8
br label %111, !llvm.loop !10
126: ; preds = %111
%127 = load i32, ptr %8, align 4
%128 = icmp ne i32 %127, 0
br i1 %128, label %129, label %133
129: ; preds = %126
%130 = load i32, ptr %11, align 4
%131 = load i32, ptr %7, align 4
%132 = sub nsw i32 %131, %130
store i32 %132, ptr %7, align 4
br label %137
133: ; preds = %126
%134 = load i32, ptr %11, align 4
%135 = load i32, ptr %7, align 4
%136 = add nsw i32 %135, %134
store i32 %136, ptr %7, align 4
br label %137
137: ; preds = %133, %129
br label %138
138: ; preds = %137, %96
%139 = load i32, ptr %7, align 4
%140 = load i32, ptr @DBL_MIN_EXP, align 4
%141 = icmp slt i32 %139, %140
br i1 %141, label %146, label %142
142: ; preds = %138
%143 = load i32, ptr %7, align 4
%144 = load i32, ptr @DBL_MAX_EXP, align 4
%145 = icmp sgt i32 %143, %144
br i1 %145, label %146, label %149
146: ; preds = %142, %138
%147 = load i32, ptr @ERANGE, align 4
store i32 %147, ptr @errno, align 4
%148 = load double, ptr @HUGE_VAL, align 8
store double %148, ptr %3, align 8
br label %196
149: ; preds = %142
store double 1.000000e+01, ptr %10, align 8
%150 = load i32, ptr %7, align 4
store i32 %150, ptr %11, align 4
%151 = load i32, ptr %11, align 4
%152 = icmp slt i32 %151, 0
br i1 %152, label %153, label %156
153: ; preds = %149
%154 = load i32, ptr %11, align 4
%155 = sub nsw i32 0, %154
store i32 %155, ptr %11, align 4
br label %156
156: ; preds = %153, %149
br label %157
157: ; preds = %176, %156
%158 = load i32, ptr %11, align 4
%159 = icmp ne i32 %158, 0
br i1 %159, label %160, label %182
160: ; preds = %157
%161 = load i32, ptr %11, align 4
%162 = and i32 %161, 1
%163 = icmp ne i32 %162, 0
br i1 %163, label %164, label %176
164: ; preds = %160
%165 = load i32, ptr %7, align 4
%166 = icmp slt i32 %165, 0
br i1 %166, label %167, label %171
167: ; preds = %164
%168 = load double, ptr %10, align 8
%169 = load double, ptr %6, align 8
%170 = fdiv double %169, %168
store double %170, ptr %6, align 8
br label %175
171: ; preds = %164
%172 = load double, ptr %10, align 8
%173 = load double, ptr %6, align 8
%174 = fmul double %173, %172
store double %174, ptr %6, align 8
br label %175
175: ; preds = %171, %167
br label %176
176: ; preds = %175, %160
%177 = load i32, ptr %11, align 4
%178 = ashr i32 %177, 1
store i32 %178, ptr %11, align 4
%179 = load double, ptr %10, align 8
%180 = load double, ptr %10, align 8
%181 = fmul double %180, %179
store double %181, ptr %10, align 8
br label %157, !llvm.loop !11
182: ; preds = %157
%183 = load double, ptr %6, align 8
%184 = load double, ptr @HUGE_VAL, align 8
%185 = fcmp oeq double %183, %184
br i1 %185, label %186, label %188
186: ; preds = %182
%187 = load i32, ptr @ERANGE, align 4
store i32 %187, ptr @errno, align 4
br label %188
188: ; preds = %186, %182
%189 = load ptr, ptr %5, align 8
%190 = icmp ne ptr %189, null
br i1 %190, label %191, label %194
191: ; preds = %188
%192 = load ptr, ptr %9, align 8
%193 = load ptr, ptr %5, align 8
store ptr %192, ptr %193, align 8
br label %194
194: ; preds = %191, %188
%195 = load double, ptr %6, align 8
store double %195, ptr %3, align 8
br label %196
196: ; preds = %194, %146, %83
%197 = load double, ptr %3, align 8
ret double %197
}
declare i64 @isspace(i8 noundef signext) #1
declare i64 @isdigit(i8 noundef signext) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!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/tmpo4t9jk2q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ERANGE = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
@DBL_MIN_EXP = dso_local global i32 0, align 4
@DBL_MAX_EXP = dso_local global i32 0, align 4
@HUGE_VAL = dso_local global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @strtod(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca double, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca double, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%14 = load ptr, ptr %4, align 8
store ptr %14, ptr %9, align 8
%15 = load ptr, ptr %9, align 8
%16 = load i8, ptr %15, align 1
%17 = call i64 @isspace(i8 noundef signext %16)
%18 = icmp ne i64 %17, 0
br i1 %18, label %.lr.ph, label %26
.lr.ph: ; preds = %2
br label %19
19: ; preds = %.lr.ph, %19
%20 = load ptr, ptr %9, align 8
%21 = getelementptr inbounds i8, ptr %20, i32 1
store ptr %21, ptr %9, align 8
%22 = load ptr, ptr %9, align 8
%23 = load i8, ptr %22, align 1
%24 = call i64 @isspace(i8 noundef signext %23)
%25 = icmp ne i64 %24, 0
br i1 %25, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %26
26: ; preds = %._crit_edge, %2
store i32 0, ptr %8, align 4
%27 = load ptr, ptr %9, align 8
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
switch i32 %29, label %34 [
i32 45, label %30
i32 43, label %31
]
30: ; preds = %26
store i32 1, ptr %8, align 4
br label %31
31: ; preds = %30, %26
%32 = load ptr, ptr %9, align 8
%33 = getelementptr inbounds i8, ptr %32, i32 1
store ptr %33, ptr %9, align 8
br label %34
34: ; preds = %31, %26
store double 0.000000e+00, ptr %6, align 8
store i32 0, ptr %7, align 4
store i32 0, ptr %12, align 4
store i32 0, ptr %13, align 4
%35 = load ptr, ptr %9, align 8
%36 = load i8, ptr %35, align 1
%37 = call i64 @isdigit(i8 noundef signext %36)
%38 = icmp ne i64 %37, 0
br i1 %38, label %.lr.ph2, label %55
.lr.ph2: ; preds = %34
br label %39
39: ; preds = %.lr.ph2, %39
%40 = load double, ptr %6, align 8
%41 = load ptr, ptr %9, align 8
%42 = load i8, ptr %41, align 1
%43 = sext i8 %42 to i32
%44 = sub nsw i32 %43, 48
%45 = sitofp i32 %44 to double
%46 = call double @llvm.fmuladd.f64(double %40, double 1.000000e+01, double %45)
store double %46, ptr %6, align 8
%47 = load ptr, ptr %9, align 8
%48 = getelementptr inbounds i8, ptr %47, i32 1
store ptr %48, ptr %9, align 8
%49 = load i32, ptr %12, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %12, align 4
%51 = load ptr, ptr %9, align 8
%52 = load i8, ptr %51, align 1
%53 = call i64 @isdigit(i8 noundef signext %52)
%54 = icmp ne i64 %53, 0
br i1 %54, label %39, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %39
br label %55
55: ; preds = %._crit_edge3, %34
%56 = load ptr, ptr %9, align 8
%57 = load i8, ptr %56, align 1
%58 = sext i8 %57 to i32
%59 = icmp eq i32 %58, 46
br i1 %59, label %60, label %89
60: ; preds = %55
%61 = load ptr, ptr %9, align 8
%62 = getelementptr inbounds i8, ptr %61, i32 1
store ptr %62, ptr %9, align 8
%63 = load ptr, ptr %9, align 8
%64 = load i8, ptr %63, align 1
%65 = call i64 @isdigit(i8 noundef signext %64)
%66 = icmp ne i64 %65, 0
br i1 %66, label %.lr.ph5, label %85
.lr.ph5: ; preds = %60
br label %67
67: ; preds = %.lr.ph5, %67
%68 = load double, ptr %6, align 8
%69 = load ptr, ptr %9, align 8
%70 = load i8, ptr %69, align 1
%71 = sext i8 %70 to i32
%72 = sub nsw i32 %71, 48
%73 = sitofp i32 %72 to double
%74 = call double @llvm.fmuladd.f64(double %68, double 1.000000e+01, double %73)
store double %74, ptr %6, align 8
%75 = load ptr, ptr %9, align 8
%76 = getelementptr inbounds i8, ptr %75, i32 1
store ptr %76, ptr %9, align 8
%77 = load i32, ptr %12, align 4
%78 = add nsw i32 %77, 1
store i32 %78, ptr %12, align 4
%79 = load i32, ptr %13, align 4
%80 = add nsw i32 %79, 1
store i32 %80, ptr %13, align 4
%81 = load ptr, ptr %9, align 8
%82 = load i8, ptr %81, align 1
%83 = call i64 @isdigit(i8 noundef signext %82)
%84 = icmp ne i64 %83, 0
br i1 %84, label %67, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %67
br label %85
85: ; preds = %._crit_edge6, %60
%86 = load i32, ptr %13, align 4
%87 = load i32, ptr %7, align 4
%88 = sub nsw i32 %87, %86
store i32 %88, ptr %7, align 4
br label %89
89: ; preds = %85, %55
%90 = load i32, ptr %12, align 4
%91 = icmp eq i32 %90, 0
br i1 %91, label %92, label %94
92: ; preds = %89
%93 = load i32, ptr @ERANGE, align 4
store i32 %93, ptr @errno, align 4
store double 0.000000e+00, ptr %3, align 8
br label %209
94: ; preds = %89
%95 = load i32, ptr %8, align 4
%96 = icmp ne i32 %95, 0
br i1 %96, label %97, label %100
97: ; preds = %94
%98 = load double, ptr %6, align 8
%99 = fneg double %98
store double %99, ptr %6, align 8
br label %100
100: ; preds = %97, %94
%101 = load ptr, ptr %9, align 8
%102 = load i8, ptr %101, align 1
%103 = sext i8 %102 to i32
%104 = icmp eq i32 %103, 101
br i1 %104, label %110, label %105
105: ; preds = %100
%106 = load ptr, ptr %9, align 8
%107 = load i8, ptr %106, align 1
%108 = sext i8 %107 to i32
%109 = icmp eq i32 %108, 69
br i1 %109, label %110, label %150
110: ; preds = %105, %100
store i32 0, ptr %8, align 4
%111 = load ptr, ptr %9, align 8
%112 = getelementptr inbounds i8, ptr %111, i32 1
store ptr %112, ptr %9, align 8
%113 = load i8, ptr %112, align 1
%114 = sext i8 %113 to i32
switch i32 %114, label %119 [
i32 45, label %115
i32 43, label %116
]
115: ; preds = %110
store i32 1, ptr %8, align 4
br label %116
116: ; preds = %115, %110
%117 = load ptr, ptr %9, align 8
%118 = getelementptr inbounds i8, ptr %117, i32 1
store ptr %118, ptr %9, align 8
br label %119
119: ; preds = %116, %110
store i32 0, ptr %11, align 4
%120 = load ptr, ptr %9, align 8
%121 = load i8, ptr %120, align 1
%122 = call i64 @isdigit(i8 noundef signext %121)
%123 = icmp ne i64 %122, 0
br i1 %123, label %.lr.ph8, label %138
.lr.ph8: ; preds = %119
br label %124
124: ; preds = %.lr.ph8, %124
%125 = load i32, ptr %11, align 4
%126 = mul nsw i32 %125, 10
%127 = load ptr, ptr %9, align 8
%128 = load i8, ptr %127, align 1
%129 = sext i8 %128 to i32
%130 = sub nsw i32 %129, 48
%131 = add nsw i32 %126, %130
store i32 %131, ptr %11, align 4
%132 = load ptr, ptr %9, align 8
%133 = getelementptr inbounds i8, ptr %132, i32 1
store ptr %133, ptr %9, align 8
%134 = load ptr, ptr %9, align 8
%135 = load i8, ptr %134, align 1
%136 = call i64 @isdigit(i8 noundef signext %135)
%137 = icmp ne i64 %136, 0
br i1 %137, label %124, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %124
br label %138
138: ; preds = %._crit_edge9, %119
%139 = load i32, ptr %8, align 4
%140 = icmp ne i32 %139, 0
br i1 %140, label %141, label %145
141: ; preds = %138
%142 = load i32, ptr %11, align 4
%143 = load i32, ptr %7, align 4
%144 = sub nsw i32 %143, %142
store i32 %144, ptr %7, align 4
br label %149
145: ; preds = %138
%146 = load i32, ptr %11, align 4
%147 = load i32, ptr %7, align 4
%148 = add nsw i32 %147, %146
store i32 %148, ptr %7, align 4
br label %149
149: ; preds = %145, %141
br label %150
150: ; preds = %149, %105
%151 = load i32, ptr %7, align 4
%152 = load i32, ptr @DBL_MIN_EXP, align 4
%153 = icmp slt i32 %151, %152
br i1 %153, label %158, label %154
154: ; preds = %150
%155 = load i32, ptr %7, align 4
%156 = load i32, ptr @DBL_MAX_EXP, align 4
%157 = icmp sgt i32 %155, %156
br i1 %157, label %158, label %161
158: ; preds = %154, %150
%159 = load i32, ptr @ERANGE, align 4
store i32 %159, ptr @errno, align 4
%160 = load double, ptr @HUGE_VAL, align 8
store double %160, ptr %3, align 8
br label %209
161: ; preds = %154
store double 1.000000e+01, ptr %10, align 8
%162 = load i32, ptr %7, align 4
store i32 %162, ptr %11, align 4
%163 = load i32, ptr %11, align 4
%164 = icmp slt i32 %163, 0
br i1 %164, label %165, label %168
165: ; preds = %161
%166 = load i32, ptr %11, align 4
%167 = sub nsw i32 0, %166
store i32 %167, ptr %11, align 4
br label %168
168: ; preds = %165, %161
%169 = load i32, ptr %11, align 4
%170 = icmp ne i32 %169, 0
br i1 %170, label %.lr.ph11, label %195
.lr.ph11: ; preds = %168
br label %171
171: ; preds = %.lr.ph11, %187
%172 = load i32, ptr %11, align 4
%173 = and i32 %172, 1
%174 = icmp ne i32 %173, 0
br i1 %174, label %175, label %187
175: ; preds = %171
%176 = load i32, ptr %7, align 4
%177 = icmp slt i32 %176, 0
br i1 %177, label %178, label %182
178: ; preds = %175
%179 = load double, ptr %10, align 8
%180 = load double, ptr %6, align 8
%181 = fdiv double %180, %179
store double %181, ptr %6, align 8
br label %186
182: ; preds = %175
%183 = load double, ptr %10, align 8
%184 = load double, ptr %6, align 8
%185 = fmul double %184, %183
store double %185, ptr %6, align 8
br label %186
186: ; preds = %182, %178
br label %187
187: ; preds = %186, %171
%188 = load i32, ptr %11, align 4
%189 = ashr i32 %188, 1
store i32 %189, ptr %11, align 4
%190 = load double, ptr %10, align 8
%191 = load double, ptr %10, align 8
%192 = fmul double %191, %190
store double %192, ptr %10, align 8
%193 = load i32, ptr %11, align 4
%194 = icmp ne i32 %193, 0
br i1 %194, label %171, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %187
br label %195
195: ; preds = %._crit_edge12, %168
%196 = load double, ptr %6, align 8
%197 = load double, ptr @HUGE_VAL, align 8
%198 = fcmp oeq double %196, %197
br i1 %198, label %199, label %201
199: ; preds = %195
%200 = load i32, ptr @ERANGE, align 4
store i32 %200, ptr @errno, align 4
br label %201
201: ; preds = %199, %195
%202 = load ptr, ptr %5, align 8
%203 = icmp ne ptr %202, null
br i1 %203, label %204, label %207
204: ; preds = %201
%205 = load ptr, ptr %9, align 8
%206 = load ptr, ptr %5, align 8
store ptr %205, ptr %206, align 8
br label %207
207: ; preds = %204, %201
%208 = load double, ptr %6, align 8
store double %208, ptr %3, align 8
br label %209
209: ; preds = %207, %158, %92
%210 = load double, ptr %3, align 8
ret double %210
}
declare i64 @isspace(i8 noundef signext) #1
declare i64 @isdigit(i8 noundef signext) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!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/tmp6g0jq9il.c'
source_filename = "/tmp/tmp6g0jq9il.c"
target datalayout = "e-m:e-p270: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/tmp6g0jq9il.c"
target datalayout = "e-m:e-p270: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/tmpnzy3syrq.c'
source_filename = "/tmp/tmpnzy3syrq.c"
target datalayout = "e-m:e-p270: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"345\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = call i32 @printnames(ptr noundef @.str)
ret void
}
declare i32 @printnames(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/tmpnzy3syrq.c"
target datalayout = "e-m:e-p270: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"345\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = call i32 @printnames(ptr noundef @.str)
ret void
}
declare i32 @printnames(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/tmp4ju4j7rt.c'
source_filename = "/tmp/tmp4ju4j7rt.c"
target datalayout = "e-m:e-p270: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"y\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 i32, ptr %4, align 4
%7 = icmp sgt i32 %6, 1
br i1 %7, label %8, label %14
8: ; preds = %2
br label %9
9: ; preds = %9, %8
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds ptr, ptr %10, i64 1
%12 = load ptr, ptr %11, align 8
%13 = call i32 @puts(ptr noundef %12)
br label %9
14: ; preds = %2
br label %15
15: ; preds = %15, %14
%16 = call i32 @puts(ptr noundef @.str)
br label %15
}
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"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4ju4j7rt.c"
target datalayout = "e-m:e-p270: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"y\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 i32, ptr %4, align 4
%7 = icmp sgt i32 %6, 1
br i1 %7, label %8, label %14
8: ; preds = %2
br label %9
9: ; preds = %9, %8
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds ptr, ptr %10, i64 1
%12 = load ptr, ptr %11, align 8
%13 = call i32 @puts(ptr noundef %12)
br label %9
14: ; preds = %2
br label %15
15: ; preds = %15, %14
%16 = call i32 @puts(ptr noundef @.str)
br label %15
}
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"}
|
; ModuleID = '/tmp/tmpo5dqe4f0.c'
source_filename = "/tmp/tmpo5dqe4f0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i16 @Crc16Array(i64 noundef %0, ptr noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
store i64 %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %4, align 8
%6 = load i64, ptr %3, align 8
%7 = mul i64 %6, 4
%8 = call zeroext i16 @Crc16(i32 noundef 0, ptr noundef %5, i64 noundef %7)
ret i16 %8
}
declare zeroext i16 @Crc16(i32 noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpo5dqe4f0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i16 @Crc16Array(i64 noundef %0, ptr noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
store i64 %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %4, align 8
%6 = load i64, ptr %3, align 8
%7 = mul i64 %6, 4
%8 = call zeroext i16 @Crc16(i32 noundef 0, ptr noundef %5, i64 noundef %7)
ret i16 %8
}
declare zeroext i16 @Crc16(i32 noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7s097l51.c'
source_filename = "/tmp/tmp7s097l51.c"
target datalayout = "e-m:e-p270: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/tmp7s097l51.c"
target datalayout = "e-m:e-p270: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/tmp98wgsxn4.c'
source_filename = "/tmp/tmp98wgsxn4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@main.count = internal global i32 0, align 4
@main.check_dir = internal constant [16 x i8] c"/data/local/tmp\00", align 16
@.str = private unnamed_addr constant [65 x i8] c"/system/bin/logcat -r 1000 -v long -f /data/local/tmp/logcat.log\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store i32 0, ptr %1, align 4
br label %3
3: ; preds = %15, %0
%4 = load i32, ptr @main.count, align 4
%5 = icmp ne i32 %4, 120
br i1 %5, label %6, label %16
6: ; preds = %3
%7 = load i32, ptr @main.count, align 4
%8 = add nsw i32 %7, 1
store i32 %8, ptr @main.count, align 4
%9 = call i32 @sleep(i32 noundef 1)
%10 = call ptr @opendir(ptr noundef @main.check_dir)
store ptr %10, ptr %2, align 8
%11 = load ptr, ptr %2, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %15
13: ; preds = %6
%14 = call i32 @__system(ptr noundef @.str)
br label %15
15: ; preds = %13, %6
br label %3, !llvm.loop !6
16: ; preds = %3
ret i32 0
}
declare i32 @sleep(i32 noundef) #1
declare ptr @opendir(ptr noundef) #1
declare i32 @__system(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp98wgsxn4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@main.count = internal global i32 0, align 4
@main.check_dir = internal constant [16 x i8] c"/data/local/tmp\00", align 16
@.str = private unnamed_addr constant [65 x i8] c"/system/bin/logcat -r 1000 -v long -f /data/local/tmp/logcat.log\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%3 = load i32, ptr @main.count, align 4
%4 = icmp ne i32 %3, 120
br i1 %4, label %.lr.ph, label %17
.lr.ph: ; preds = %0
br label %5
5: ; preds = %.lr.ph, %14
%6 = load i32, ptr @main.count, align 4
%7 = add nsw i32 %6, 1
store i32 %7, ptr @main.count, align 4
%8 = call i32 @sleep(i32 noundef 1)
%9 = call ptr @opendir(ptr noundef @main.check_dir)
store ptr %9, ptr %2, align 8
%10 = load ptr, ptr %2, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %14
12: ; preds = %5
%13 = call i32 @__system(ptr noundef @.str)
br label %14
14: ; preds = %12, %5
%15 = load i32, ptr @main.count, align 4
%16 = icmp ne i32 %15, 120
br i1 %16, label %5, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %17
17: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @sleep(i32 noundef) #1
declare ptr @opendir(ptr noundef) #1
declare i32 @__system(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpput018c9.c'
source_filename = "/tmp/tmpput018c9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CODESET = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @iupdrvLocaleInfo() #0 {
%1 = load i32, ptr @CODESET, align 4
%2 = call i32 @nl_langinfo(i32 noundef %1)
%3 = call ptr @iupStrReturnStr(i32 noundef %2)
ret ptr %3
}
declare ptr @iupStrReturnStr(i32 noundef) #1
declare i32 @nl_langinfo(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/tmpput018c9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CODESET = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @iupdrvLocaleInfo() #0 {
%1 = load i32, ptr @CODESET, align 4
%2 = call i32 @nl_langinfo(i32 noundef %1)
%3 = call ptr @iupStrReturnStr(i32 noundef %2)
ret ptr %3
}
declare ptr @iupStrReturnStr(i32 noundef) #1
declare i32 @nl_langinfo(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/tmpsgskc96k.c'
source_filename = "/tmp/tmpsgskc96k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i64, i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @time_us() #0 {
%1 = alloca %struct.timeval, align 8
%2 = alloca i64, align 8
%3 = call i32 @gettimeofday(ptr noundef %1, ptr noundef null)
%4 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 1
%5 = load i64, ptr %4, align 8
%6 = mul nsw i64 %5, 1000000
store i64 %6, ptr %2, align 8
%7 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0
%8 = load i64, ptr %7, align 8
%9 = load i64, ptr %2, align 8
%10 = add nsw i64 %9, %8
store i64 %10, ptr %2, align 8
%11 = load i64, ptr %2, align 8
ret i64 %11
}
declare i32 @gettimeofday(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/tmpsgskc96k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i64, i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @time_us() #0 {
%1 = alloca %struct.timeval, align 8
%2 = alloca i64, align 8
%3 = call i32 @gettimeofday(ptr noundef %1, ptr noundef null)
%4 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 1
%5 = load i64, ptr %4, align 8
%6 = mul nsw i64 %5, 1000000
store i64 %6, ptr %2, align 8
%7 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0
%8 = load i64, ptr %7, align 8
%9 = load i64, ptr %2, align 8
%10 = add nsw i64 %9, %8
store i64 %10, ptr %2, align 8
%11 = load i64, ptr %2, align 8
ret i64 %11
}
declare i32 @gettimeofday(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/tmpdev_4wrd.c'
source_filename = "/tmp/tmpdev_4wrd.c"
target datalayout = "e-m:e-p270: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 [28 x i8] c"\0AReading a witness set ...\0A\00", align 1
@.str.1 = private unnamed_addr constant [32 x i8] c"\0AMENU for the kind of output :\0A\00", align 1
@.str.2 = private unnamed_addr constant [49 x i8] c" 0. remain silent with no intermediate output;\0A\00", align 1
@.str.3 = private unnamed_addr constant [46 x i8] c" 1. all intermediate output goes to screen;\0A\00", align 1
@.str.4 = private unnamed_addr constant [52 x i8] c" 2. give a file name for all intermediate output.\0A\00", align 1
@.str.5 = private unnamed_addr constant [36 x i8] c"Type 0, 1, or 2 to make a choice : \00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.7 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.8 = private unnamed_addr constant [30 x i8] c"\0AThe ambient dimension : %d.\0A\00", align 1
@.str.9 = private unnamed_addr constant [41 x i8] c"The dimension of the solution set : %d.\0A\00", align 1
@.str.10 = private unnamed_addr constant [38 x i8] c"The degree of the solution set : %d.\0A\00", align 1
@.str.11 = private unnamed_addr constant [49 x i8] c"\0ADo you wish to see the embedded system ? (y/n) \00", align 1
@.str.12 = private unnamed_addr constant [20 x i8] c"\0AThe system read :\0A\00", align 1
@.str.13 = private unnamed_addr constant [29 x i8] c"\0AGive the number of loops : \00", align 1
@.str.14 = private unnamed_addr constant [34 x i8] c"See the output file for results.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @standard_test() #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 i8, align 1
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = call i32 @read_witness_set(ptr noundef %2, ptr noundef %3, ptr noundef %4)
store i32 %9, ptr %1, align 4
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%15 = call i32 (ptr, ...) @scanf(ptr noundef @.str.6, ptr noundef %6)
%16 = call i32 (ptr, ...) @scanf(ptr noundef @.str.7, ptr noundef %7)
%17 = load i32, ptr %6, align 4
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %21
19: ; preds = %0
%20 = call i32 (...) @set_state_to_silent()
store i32 %20, ptr %1, align 4
br label %21
21: ; preds = %19, %0
%22 = load i32, ptr %6, align 4
%23 = icmp eq i32 %22, 2
br i1 %23, label %24, label %26
24: ; preds = %21
%25 = call i32 (...) @define_output_file()
store i32 %25, ptr %1, align 4
br label %26
26: ; preds = %24, %21
%27 = load i32, ptr %2, align 4
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %27)
%29 = load i32, ptr %3, align 4
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %29)
%31 = load i32, ptr %4, align 4
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %31)
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
%34 = call i32 (ptr, ...) @scanf(ptr noundef @.str.7, ptr noundef %7)
%35 = load i8, ptr %7, align 1
%36 = sext i8 %35 to i32
%37 = icmp eq i32 %36, 121
br i1 %37, label %38, label %41
38: ; preds = %26
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
%40 = call i32 (...) @print_system()
store i32 %40, ptr %1, align 4
br label %41
41: ; preds = %38, %26
%42 = load i32, ptr %2, align 4
%43 = load i32, ptr %4, align 4
%44 = call i32 @assign_labels(i32 noundef %42, i32 noundef %43, i32 noundef 0)
store i32 %44, ptr %1, align 4
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
%46 = call i32 (ptr, ...) @scanf(ptr noundef @.str.6, ptr noundef %5)
%47 = load i32, ptr %5, align 4
%48 = load i32, ptr %2, align 4
%49 = load i32, ptr %3, align 4
%50 = load i32, ptr %4, align 4
%51 = call i32 @standard_monodromy_breakup(i32 noundef %47, i32 noundef %48, i32 noundef %49, i32 noundef %50)
store i32 %51, ptr %1, align 4
%52 = load i32, ptr %6, align 4
%53 = icmp eq i32 %52, 2
br i1 %53, label %54, label %56
54: ; preds = %41
%55 = call i32 (ptr, ...) @printf(ptr noundef @.str.14)
br label %56
56: ; preds = %54, %41
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @read_witness_set(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @scanf(ptr noundef, ...) #1
declare i32 @set_state_to_silent(...) #1
declare i32 @define_output_file(...) #1
declare i32 @print_system(...) #1
declare i32 @assign_labels(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @standard_monodromy_breakup(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdev_4wrd.c"
target datalayout = "e-m:e-p270: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 [28 x i8] c"\0AReading a witness set ...\0A\00", align 1
@.str.1 = private unnamed_addr constant [32 x i8] c"\0AMENU for the kind of output :\0A\00", align 1
@.str.2 = private unnamed_addr constant [49 x i8] c" 0. remain silent with no intermediate output;\0A\00", align 1
@.str.3 = private unnamed_addr constant [46 x i8] c" 1. all intermediate output goes to screen;\0A\00", align 1
@.str.4 = private unnamed_addr constant [52 x i8] c" 2. give a file name for all intermediate output.\0A\00", align 1
@.str.5 = private unnamed_addr constant [36 x i8] c"Type 0, 1, or 2 to make a choice : \00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.7 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.8 = private unnamed_addr constant [30 x i8] c"\0AThe ambient dimension : %d.\0A\00", align 1
@.str.9 = private unnamed_addr constant [41 x i8] c"The dimension of the solution set : %d.\0A\00", align 1
@.str.10 = private unnamed_addr constant [38 x i8] c"The degree of the solution set : %d.\0A\00", align 1
@.str.11 = private unnamed_addr constant [49 x i8] c"\0ADo you wish to see the embedded system ? (y/n) \00", align 1
@.str.12 = private unnamed_addr constant [20 x i8] c"\0AThe system read :\0A\00", align 1
@.str.13 = private unnamed_addr constant [29 x i8] c"\0AGive the number of loops : \00", align 1
@.str.14 = private unnamed_addr constant [34 x i8] c"See the output file for results.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @standard_test() #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 i8, align 1
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = call i32 @read_witness_set(ptr noundef %2, ptr noundef %3, ptr noundef %4)
store i32 %9, ptr %1, align 4
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%15 = call i32 (ptr, ...) @scanf(ptr noundef @.str.6, ptr noundef %6)
%16 = call i32 (ptr, ...) @scanf(ptr noundef @.str.7, ptr noundef %7)
%17 = load i32, ptr %6, align 4
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %21
19: ; preds = %0
%20 = call i32 (...) @set_state_to_silent()
store i32 %20, ptr %1, align 4
br label %21
21: ; preds = %19, %0
%22 = load i32, ptr %6, align 4
%23 = icmp eq i32 %22, 2
br i1 %23, label %24, label %26
24: ; preds = %21
%25 = call i32 (...) @define_output_file()
store i32 %25, ptr %1, align 4
br label %26
26: ; preds = %24, %21
%27 = load i32, ptr %2, align 4
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %27)
%29 = load i32, ptr %3, align 4
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %29)
%31 = load i32, ptr %4, align 4
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %31)
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
%34 = call i32 (ptr, ...) @scanf(ptr noundef @.str.7, ptr noundef %7)
%35 = load i8, ptr %7, align 1
%36 = sext i8 %35 to i32
%37 = icmp eq i32 %36, 121
br i1 %37, label %38, label %41
38: ; preds = %26
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
%40 = call i32 (...) @print_system()
store i32 %40, ptr %1, align 4
br label %41
41: ; preds = %38, %26
%42 = load i32, ptr %2, align 4
%43 = load i32, ptr %4, align 4
%44 = call i32 @assign_labels(i32 noundef %42, i32 noundef %43, i32 noundef 0)
store i32 %44, ptr %1, align 4
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
%46 = call i32 (ptr, ...) @scanf(ptr noundef @.str.6, ptr noundef %5)
%47 = load i32, ptr %5, align 4
%48 = load i32, ptr %2, align 4
%49 = load i32, ptr %3, align 4
%50 = load i32, ptr %4, align 4
%51 = call i32 @standard_monodromy_breakup(i32 noundef %47, i32 noundef %48, i32 noundef %49, i32 noundef %50)
store i32 %51, ptr %1, align 4
%52 = load i32, ptr %6, align 4
%53 = icmp eq i32 %52, 2
br i1 %53, label %54, label %56
54: ; preds = %41
%55 = call i32 (ptr, ...) @printf(ptr noundef @.str.14)
br label %56
56: ; preds = %54, %41
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @read_witness_set(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @scanf(ptr noundef, ...) #1
declare i32 @set_state_to_silent(...) #1
declare i32 @define_output_file(...) #1
declare i32 @print_system(...) #1
declare i32 @assign_labels(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @standard_monodromy_breakup(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4x01y49i.c'
source_filename = "/tmp/tmp4x01y49i.c"
target datalayout = "e-m:e-p270: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.assert_not_null.func = private unnamed_addr constant [16 x i8] c"assert_not_null\00", align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @assert_not_null(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca [16 x i8], align 16
store ptr %0, ptr %3, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.assert_not_null.func, i64 16, i1 false)
%5 = load ptr, ptr %3, align 8
%6 = icmp ne ptr %5, null
br i1 %6, label %7, label %10
7: ; preds = %1
%8 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 0
%9 = call i32 @_assert_ok(ptr noundef %8)
store i32 %9, ptr %2, align 4
br label %13
10: ; preds = %1
%11 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 0
%12 = call i32 @_assert_null_found(ptr noundef %11)
store i32 %12, ptr %2, align 4
br label %13
13: ; preds = %10, %7
%14 = load i32, ptr %2, align 4
ret i32 %14
}
; 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 @_assert_ok(ptr noundef) #2
declare i32 @_assert_null_found(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4x01y49i.c"
target datalayout = "e-m:e-p270: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.assert_not_null.func = private unnamed_addr constant [16 x i8] c"assert_not_null\00", align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @assert_not_null(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca [16 x i8], align 16
store ptr %0, ptr %3, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.assert_not_null.func, i64 16, i1 false)
%5 = load ptr, ptr %3, align 8
%6 = icmp ne ptr %5, null
br i1 %6, label %7, label %10
7: ; preds = %1
%8 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 0
%9 = call i32 @_assert_ok(ptr noundef %8)
store i32 %9, ptr %2, align 4
br label %13
10: ; preds = %1
%11 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 0
%12 = call i32 @_assert_null_found(ptr noundef %11)
store i32 %12, ptr %2, align 4
br label %13
13: ; preds = %10, %7
%14 = load i32, ptr %2, align 4
ret i32 %14
}
; 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 @_assert_ok(ptr noundef) #2
declare i32 @_assert_null_found(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcbn4sfzp.c'
source_filename = "/tmp/tmpcbn4sfzp.c"
target datalayout = "e-m:e-p270: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 @pathcon_nm4(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
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
%11 = load ptr, ptr %6, align 8
%12 = load ptr, ptr %7, align 8
%13 = load ptr, ptr %8, align 8
%14 = load ptr, ptr %9, align 8
%15 = load i32, ptr %10, align 4
%16 = call i32 @pathcon_nm4_f0(ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, i32 noundef %15)
ret i32 %16
}
declare i32 @pathcon_nm4_f0(ptr 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/tmpcbn4sfzp.c"
target datalayout = "e-m:e-p270: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 @pathcon_nm4(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
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
%11 = load ptr, ptr %6, align 8
%12 = load ptr, ptr %7, align 8
%13 = load ptr, ptr %8, align 8
%14 = load ptr, ptr %9, align 8
%15 = load i32, ptr %10, align 4
%16 = call i32 @pathcon_nm4_f0(ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, i32 noundef %15)
ret i32 %16
}
declare i32 @pathcon_nm4_f0(ptr 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/tmpnr9x_pt5.c'
source_filename = "/tmp/tmpnr9x_pt5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [16 x i8] c"Nombre y edad: \00", align 1
@stdin = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [5 x i8] c"%s%d\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c"- %8s tiene %2d a\C3\B1os\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [80 x i8], align 16
%3 = alloca [80 x i8], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = load i32, ptr @stdout, align 4
%7 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %6, ptr noundef @.str)
%8 = load i32, ptr @stdin, align 4
%9 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0
%10 = call i32 @fscanf(i32 noundef %8, ptr noundef @.str.1, ptr noundef %9, ptr noundef %4)
%11 = load i32, ptr @stdout, align 4
%12 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %11, ptr noundef @.str)
%13 = load i32, ptr @stdin, align 4
%14 = getelementptr inbounds [80 x i8], ptr %3, i64 0, i64 0
%15 = call i32 @fscanf(i32 noundef %13, ptr noundef @.str.1, ptr noundef %14, ptr noundef %5)
%16 = load i32, ptr @stdout, align 4
%17 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0
%18 = load i32, ptr %4, align 4
%19 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %16, ptr noundef @.str.2, ptr noundef %17, i32 noundef %18)
%20 = load i32, ptr @stdout, align 4
%21 = getelementptr inbounds [80 x i8], ptr %3, i64 0, i64 0
%22 = load i32, ptr %5, align 4
%23 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %20, ptr noundef @.str.2, ptr noundef %21, i32 noundef %22)
ret i32 0
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare i32 @fscanf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnr9x_pt5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [16 x i8] c"Nombre y edad: \00", align 1
@stdin = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [5 x i8] c"%s%d\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c"- %8s tiene %2d a\C3\B1os\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [80 x i8], align 16
%3 = alloca [80 x i8], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = load i32, ptr @stdout, align 4
%7 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %6, ptr noundef @.str)
%8 = load i32, ptr @stdin, align 4
%9 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0
%10 = call i32 @fscanf(i32 noundef %8, ptr noundef @.str.1, ptr noundef %9, ptr noundef %4)
%11 = load i32, ptr @stdout, align 4
%12 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %11, ptr noundef @.str)
%13 = load i32, ptr @stdin, align 4
%14 = getelementptr inbounds [80 x i8], ptr %3, i64 0, i64 0
%15 = call i32 @fscanf(i32 noundef %13, ptr noundef @.str.1, ptr noundef %14, ptr noundef %5)
%16 = load i32, ptr @stdout, align 4
%17 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0
%18 = load i32, ptr %4, align 4
%19 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %16, ptr noundef @.str.2, ptr noundef %17, i32 noundef %18)
%20 = load i32, ptr @stdout, align 4
%21 = getelementptr inbounds [80 x i8], ptr %3, i64 0, i64 0
%22 = load i32, ptr %5, align 4
%23 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %20, ptr noundef @.str.2, ptr noundef %21, i32 noundef %22)
ret i32 0
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare i32 @fscanf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2eih966s.c'
source_filename = "/tmp/tmp2eih966s.c"
target datalayout = "e-m:e-p270: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/tmp2eih966s.c"
target datalayout = "e-m:e-p270: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/tmpc87__f4i.c'
source_filename = "/tmp/tmpc87__f4i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"zone\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"abigail\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"theta\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"form\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"libe\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"zas\00", align 1
@__const.main.a1 = private unnamed_addr constant [8 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5, ptr @.str.2, ptr @.str.1], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca [8 x ptr], align 16
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.a1, i64 64, i1 false)
%2 = getelementptr inbounds [8 x ptr], ptr %1, i64 0, i64 0
%3 = call ptr @longestConsec(ptr noundef %2, i32 noundef 8, i32 noundef 2)
%4 = call i32 @printf(ptr noundef %3)
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) #2
declare ptr @longestConsec(ptr noundef, i32 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/tmpc87__f4i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"zone\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"abigail\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"theta\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"form\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"libe\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"zas\00", align 1
@__const.main.a1 = private unnamed_addr constant [8 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5, ptr @.str.2, ptr @.str.1], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca [8 x ptr], align 16
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.a1, i64 64, i1 false)
%2 = getelementptr inbounds [8 x ptr], ptr %1, i64 0, i64 0
%3 = call ptr @longestConsec(ptr noundef %2, i32 noundef 8, i32 noundef 2)
%4 = call i32 @printf(ptr noundef %3)
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) #2
declare ptr @longestConsec(ptr noundef, i32 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/tmp302ccbzi.c'
source_filename = "/tmp/tmp302ccbzi.c"
target datalayout = "e-m:e-p270: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 void @terminate_process() #0 {
%1 = load i32, ptr @EXIT_SUCCESS, align 4
%2 = call i32 @exit(i32 noundef %1) #2
unreachable
}
; Function Attrs: noreturn
declare i32 @exit(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 = { 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"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp302ccbzi.c"
target datalayout = "e-m:e-p270: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 void @terminate_process() #0 {
%1 = load i32, ptr @EXIT_SUCCESS, align 4
%2 = call i32 @exit(i32 noundef %1) #2
unreachable
}
; Function Attrs: noreturn
declare i32 @exit(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 = { 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"}
|
; ModuleID = '/tmp/tmp5ihcsfvf.c'
source_filename = "/tmp/tmp5ihcsfvf.c"
target datalayout = "e-m:e-p270: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 @TableProb(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca double, align 8
%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 i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
store double 0.000000e+00, ptr %9, align 8
%16 = load i32, ptr %5, align 4
%17 = load i32, ptr %6, align 4
%18 = add nsw i32 %16, %17
%19 = load i32, ptr %7, align 4
%20 = load i32, ptr %8, align 4
%21 = add nsw i32 %19, %20
%22 = icmp sgt i32 %18, %21
br i1 %22, label %23, label %52
23: ; preds = %4
%24 = load i32, ptr %5, align 4
%25 = load i32, ptr %6, align 4
%26 = add nsw i32 %24, %25
store i32 %26, ptr %10, align 4
%27 = load i32, ptr %7, align 4
%28 = load i32, ptr %8, align 4
%29 = add nsw i32 %27, %28
store i32 %29, ptr %11, align 4
%30 = load i32, ptr %5, align 4
%31 = load i32, ptr %7, align 4
%32 = load i32, ptr %8, align 4
%33 = add nsw i32 %31, %32
%34 = mul nsw i32 %30, %33
%35 = load i32, ptr %7, align 4
%36 = load i32, ptr %5, align 4
%37 = load i32, ptr %6, align 4
%38 = add nsw i32 %36, %37
%39 = mul nsw i32 %35, %38
%40 = icmp sgt i32 %34, %39
br i1 %40, label %41, label %46
41: ; preds = %23
%42 = load i32, ptr %5, align 4
store i32 %42, ptr %15, align 4
%43 = load i32, ptr %5, align 4
%44 = load i32, ptr %7, align 4
%45 = add nsw i32 %43, %44
store i32 %45, ptr %12, align 4
br label %51
46: ; preds = %23
%47 = load i32, ptr %6, align 4
store i32 %47, ptr %15, align 4
%48 = load i32, ptr %6, align 4
%49 = load i32, ptr %8, align 4
%50 = add nsw i32 %48, %49
store i32 %50, ptr %12, align 4
br label %51
51: ; preds = %46, %41
br label %81
52: ; preds = %4
%53 = load i32, ptr %7, align 4
%54 = load i32, ptr %8, align 4
%55 = add nsw i32 %53, %54
store i32 %55, ptr %10, align 4
%56 = load i32, ptr %5, align 4
%57 = load i32, ptr %6, align 4
%58 = add nsw i32 %56, %57
store i32 %58, ptr %11, align 4
%59 = load i32, ptr %7, align 4
%60 = load i32, ptr %5, align 4
%61 = load i32, ptr %6, align 4
%62 = add nsw i32 %60, %61
%63 = mul nsw i32 %59, %62
%64 = load i32, ptr %5, align 4
%65 = load i32, ptr %7, align 4
%66 = load i32, ptr %8, align 4
%67 = add nsw i32 %65, %66
%68 = mul nsw i32 %64, %67
%69 = icmp sgt i32 %63, %68
br i1 %69, label %70, label %75
70: ; preds = %52
%71 = load i32, ptr %7, align 4
store i32 %71, ptr %15, align 4
%72 = load i32, ptr %7, align 4
%73 = load i32, ptr %5, align 4
%74 = add nsw i32 %72, %73
store i32 %74, ptr %12, align 4
br label %80
75: ; preds = %52
%76 = load i32, ptr %8, align 4
store i32 %76, ptr %15, align 4
%77 = load i32, ptr %8, align 4
%78 = load i32, ptr %6, align 4
%79 = add nsw i32 %77, %78
store i32 %79, ptr %12, align 4
br label %80
80: ; preds = %75, %70
br label %81
81: ; preds = %80, %51
%82 = load i32, ptr %12, align 4
%83 = load i32, ptr %10, align 4
%84 = icmp slt i32 %82, %83
br i1 %84, label %85, label %87
85: ; preds = %81
%86 = load i32, ptr %12, align 4
br label %89
87: ; preds = %81
%88 = load i32, ptr %10, align 4
br label %89
89: ; preds = %87, %85
%90 = phi i32 [ %86, %85 ], [ %88, %87 ]
store i32 %90, ptr %14, align 4
%91 = load i32, ptr %15, align 4
store i32 %91, ptr %13, align 4
br label %92
92: ; preds = %105, %89
%93 = load i32, ptr %13, align 4
%94 = load i32, ptr %14, align 4
%95 = icmp sle i32 %93, %94
br i1 %95, label %96, label %108
96: ; preds = %92
%97 = load i32, ptr %13, align 4
%98 = load i32, ptr %12, align 4
%99 = load i32, ptr %10, align 4
%100 = load i32, ptr %11, align 4
%101 = call i64 @Hypergeom(i32 noundef %97, i32 noundef %98, i32 noundef %99, i32 noundef %100)
%102 = sitofp i64 %101 to double
%103 = load double, ptr %9, align 8
%104 = fadd double %103, %102
store double %104, ptr %9, align 8
br label %105
105: ; preds = %96
%106 = load i32, ptr %13, align 4
%107 = add nsw i32 %106, 1
store i32 %107, ptr %13, align 4
br label %92, !llvm.loop !6
108: ; preds = %92
%109 = load double, ptr %9, align 8
%110 = fptrunc double %109 to float
ret float %110
}
declare i64 @Hypergeom(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5ihcsfvf.c"
target datalayout = "e-m:e-p270: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 @TableProb(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca double, align 8
%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 i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
store double 0.000000e+00, ptr %9, align 8
%16 = load i32, ptr %5, align 4
%17 = load i32, ptr %6, align 4
%18 = add nsw i32 %16, %17
%19 = load i32, ptr %7, align 4
%20 = load i32, ptr %8, align 4
%21 = add nsw i32 %19, %20
%22 = icmp sgt i32 %18, %21
br i1 %22, label %23, label %52
23: ; preds = %4
%24 = load i32, ptr %5, align 4
%25 = load i32, ptr %6, align 4
%26 = add nsw i32 %24, %25
store i32 %26, ptr %10, align 4
%27 = load i32, ptr %7, align 4
%28 = load i32, ptr %8, align 4
%29 = add nsw i32 %27, %28
store i32 %29, ptr %11, align 4
%30 = load i32, ptr %5, align 4
%31 = load i32, ptr %7, align 4
%32 = load i32, ptr %8, align 4
%33 = add nsw i32 %31, %32
%34 = mul nsw i32 %30, %33
%35 = load i32, ptr %7, align 4
%36 = load i32, ptr %5, align 4
%37 = load i32, ptr %6, align 4
%38 = add nsw i32 %36, %37
%39 = mul nsw i32 %35, %38
%40 = icmp sgt i32 %34, %39
br i1 %40, label %41, label %46
41: ; preds = %23
%42 = load i32, ptr %5, align 4
store i32 %42, ptr %15, align 4
%43 = load i32, ptr %5, align 4
%44 = load i32, ptr %7, align 4
%45 = add nsw i32 %43, %44
store i32 %45, ptr %12, align 4
br label %51
46: ; preds = %23
%47 = load i32, ptr %6, align 4
store i32 %47, ptr %15, align 4
%48 = load i32, ptr %6, align 4
%49 = load i32, ptr %8, align 4
%50 = add nsw i32 %48, %49
store i32 %50, ptr %12, align 4
br label %51
51: ; preds = %46, %41
br label %81
52: ; preds = %4
%53 = load i32, ptr %7, align 4
%54 = load i32, ptr %8, align 4
%55 = add nsw i32 %53, %54
store i32 %55, ptr %10, align 4
%56 = load i32, ptr %5, align 4
%57 = load i32, ptr %6, align 4
%58 = add nsw i32 %56, %57
store i32 %58, ptr %11, align 4
%59 = load i32, ptr %7, align 4
%60 = load i32, ptr %5, align 4
%61 = load i32, ptr %6, align 4
%62 = add nsw i32 %60, %61
%63 = mul nsw i32 %59, %62
%64 = load i32, ptr %5, align 4
%65 = load i32, ptr %7, align 4
%66 = load i32, ptr %8, align 4
%67 = add nsw i32 %65, %66
%68 = mul nsw i32 %64, %67
%69 = icmp sgt i32 %63, %68
br i1 %69, label %70, label %75
70: ; preds = %52
%71 = load i32, ptr %7, align 4
store i32 %71, ptr %15, align 4
%72 = load i32, ptr %7, align 4
%73 = load i32, ptr %5, align 4
%74 = add nsw i32 %72, %73
store i32 %74, ptr %12, align 4
br label %80
75: ; preds = %52
%76 = load i32, ptr %8, align 4
store i32 %76, ptr %15, align 4
%77 = load i32, ptr %8, align 4
%78 = load i32, ptr %6, align 4
%79 = add nsw i32 %77, %78
store i32 %79, ptr %12, align 4
br label %80
80: ; preds = %75, %70
br label %81
81: ; preds = %80, %51
%82 = load i32, ptr %12, align 4
%83 = load i32, ptr %10, align 4
%84 = icmp slt i32 %82, %83
br i1 %84, label %85, label %87
85: ; preds = %81
%86 = load i32, ptr %12, align 4
br label %89
87: ; preds = %81
%88 = load i32, ptr %10, align 4
br label %89
89: ; preds = %87, %85
%90 = phi i32 [ %86, %85 ], [ %88, %87 ]
store i32 %90, ptr %14, align 4
%91 = load i32, ptr %15, align 4
store i32 %91, ptr %13, align 4
%92 = load i32, ptr %13, align 4
%93 = load i32, ptr %14, align 4
%94 = icmp sle i32 %92, %93
br i1 %94, label %.lr.ph, label %110
.lr.ph: ; preds = %89
br label %95
95: ; preds = %.lr.ph, %104
%96 = load i32, ptr %13, align 4
%97 = load i32, ptr %12, align 4
%98 = load i32, ptr %10, align 4
%99 = load i32, ptr %11, align 4
%100 = call i64 @Hypergeom(i32 noundef %96, i32 noundef %97, i32 noundef %98, i32 noundef %99)
%101 = sitofp i64 %100 to double
%102 = load double, ptr %9, align 8
%103 = fadd double %102, %101
store double %103, ptr %9, align 8
br label %104
104: ; preds = %95
%105 = load i32, ptr %13, align 4
%106 = add nsw i32 %105, 1
store i32 %106, ptr %13, align 4
%107 = load i32, ptr %13, align 4
%108 = load i32, ptr %14, align 4
%109 = icmp sle i32 %107, %108
br i1 %109, label %95, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %104
br label %110
110: ; preds = %._crit_edge, %89
%111 = load double, ptr %9, align 8
%112 = fptrunc double %111 to float
ret float %112
}
declare i64 @Hypergeom(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpvl8gufm7.c'
source_filename = "/tmp/tmpvl8gufm7.c"
target datalayout = "e-m:e-p270: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 @writeWord(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = and i32 %3, 255
%5 = call i32 @writeByte(i32 noundef %4)
%6 = load i32, ptr %2, align 4
%7 = udiv i32 %6, 256
%8 = and i32 %7, 255
%9 = call i32 @writeByte(i32 noundef %8)
ret void
}
declare i32 @writeByte(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/tmpvl8gufm7.c"
target datalayout = "e-m:e-p270: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 @writeWord(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = and i32 %3, 255
%5 = call i32 @writeByte(i32 noundef %4)
%6 = load i32, ptr %2, align 4
%7 = udiv i32 %6, 256
%8 = and i32 %7, 255
%9 = call i32 @writeByte(i32 noundef %8)
ret void
}
declare i32 @writeByte(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/tmp613pmp76.c'
source_filename = "/tmp/tmp613pmp76.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%4 = call i64 @malloc(i32 noundef 40)
%5 = inttoptr i64 %4 to ptr
store ptr %5, ptr %3, align 8
store i32 0, ptr %2, align 4
br label %6
6: ; preds = %14, %0
%7 = load i32, ptr %2, align 4
%8 = icmp slt i32 %7, 20
br i1 %8, label %9, label %17
9: ; preds = %6
%10 = load ptr, ptr %3, align 8
%11 = load i32, ptr %2, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i32, ptr %10, i64 %12
store i32 10, ptr %13, align 4
br label %14
14: ; preds = %9
%15 = load i32, ptr %2, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %2, align 4
br label %6, !llvm.loop !6
17: ; preds = %6
%18 = load i32, ptr %1, align 4
ret i32 %18
}
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp613pmp76.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%4 = call i64 @malloc(i32 noundef 40)
%5 = inttoptr i64 %4 to ptr
store ptr %5, ptr %3, align 8
store i32 0, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp slt i32 %6, 20
br i1 %7, label %.lr.ph, label %18
.lr.ph: ; preds = %0
br label %8
8: ; preds = %.lr.ph, %13
%9 = load ptr, ptr %3, align 8
%10 = load i32, ptr %2, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds i32, ptr %9, i64 %11
store i32 10, ptr %12, align 4
br label %13
13: ; preds = %8
%14 = load i32, ptr %2, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %2, align 4
%16 = load i32, ptr %2, align 4
%17 = icmp slt i32 %16, 20
br i1 %17, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %18
18: ; preds = %._crit_edge, %0
%19 = load i32, ptr %1, align 4
ret i32 %19
}
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpk6clt06r.c'
source_filename = "/tmp/tmpk6clt06r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@MAP_FAILED = dso_local global i64 0, align 8
@MAP_PRIVATE = dso_local global i32 0, align 4
@O_RDONLY = dso_local global i32 0, align 4
@PROT_READ = dso_local global i32 0, align 4
@PROT_WRITE = 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/tmpk6clt06r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@MAP_FAILED = dso_local global i64 0, align 8
@MAP_PRIVATE = dso_local global i32 0, align 4
@O_RDONLY = dso_local global i32 0, align 4
@PROT_READ = dso_local global i32 0, align 4
@PROT_WRITE = 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/tmpwn0e1aoz.c'
source_filename = "/tmp/tmpwn0e1aoz.c"
target datalayout = "e-m:e-p270: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 @getRandomKey(i32 noundef %0, i32 noundef %1, i32 noundef %2, i64 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i64, align 8
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i64 %3, ptr %8, align 8
%9 = load i32, ptr %6, align 4
%10 = load i64, ptr %8, align 8
%11 = udiv i64 %10, 2
%12 = call i32 @getRandomPrime(i32 noundef %9, i64 noundef %11, i32 noundef 179)
%13 = load i32, ptr %7, align 4
%14 = load i64, ptr %8, align 8
%15 = udiv i64 %14, 2
%16 = call i32 @getRandomPrime(i32 noundef %13, i64 noundef %15, i32 noundef 199)
%17 = load i32, ptr %5, align 4
%18 = load i32, ptr %6, align 4
%19 = load i32, ptr %7, align 4
%20 = call i32 @mpz_mul(i32 noundef %17, i32 noundef %18, i32 noundef %19)
ret void
}
declare i32 @getRandomPrime(i32 noundef, i64 noundef, i32 noundef) #1
declare i32 @mpz_mul(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/tmpwn0e1aoz.c"
target datalayout = "e-m:e-p270: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 @getRandomKey(i32 noundef %0, i32 noundef %1, i32 noundef %2, i64 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i64, align 8
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i64 %3, ptr %8, align 8
%9 = load i32, ptr %6, align 4
%10 = load i64, ptr %8, align 8
%11 = udiv i64 %10, 2
%12 = call i32 @getRandomPrime(i32 noundef %9, i64 noundef %11, i32 noundef 179)
%13 = load i32, ptr %7, align 4
%14 = load i64, ptr %8, align 8
%15 = udiv i64 %14, 2
%16 = call i32 @getRandomPrime(i32 noundef %13, i64 noundef %15, i32 noundef 199)
%17 = load i32, ptr %5, align 4
%18 = load i32, ptr %6, align 4
%19 = load i32, ptr %7, align 4
%20 = call i32 @mpz_mul(i32 noundef %17, i32 noundef %18, i32 noundef %19)
ret void
}
declare i32 @getRandomPrime(i32 noundef, i64 noundef, i32 noundef) #1
declare i32 @mpz_mul(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/tmpg09zz_cx.c'
source_filename = "/tmp/tmpg09zz_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"
; 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 %4, align 4
%7 = icmp slt i32 %6, 2
br i1 %7, label %8, label %9
8: ; preds = %2
store i32 64, ptr %3, align 4
br label %17
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 @rmdir(ptr noundef %12)
%14 = icmp eq i64 %13, 0
%15 = zext i1 %14 to i64
%16 = select i1 %14, i32 0, i32 1
store i32 %16, ptr %3, align 4
br label %17
17: ; preds = %9, %8
%18 = load i32, ptr %3, align 4
ret i32 %18
}
declare i64 @rmdir(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/tmpg09zz_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"
; 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 %4, align 4
%7 = icmp slt i32 %6, 2
br i1 %7, label %8, label %9
8: ; preds = %2
store i32 64, ptr %3, align 4
br label %17
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 @rmdir(ptr noundef %12)
%14 = icmp eq i64 %13, 0
%15 = zext i1 %14 to i64
%16 = select i1 %14, i32 0, i32 1
store i32 %16, ptr %3, align 4
br label %17
17: ; preds = %9, %8
%18 = load i32, ptr %3, align 4
ret i32 %18
}
declare i64 @rmdir(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/tmp2hvamspp.c'
source_filename = "/tmp/tmp2hvamspp.c"
target datalayout = "e-m:e-p270: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 [204 x i8] c"waitmax version 1.1z\0ACopyright Mathias Kettner 2008\0AThis is free software; see the source for copying conditions. There is NO\0Awarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @version() #0 {
%1 = call i32 @strlen(ptr noundef @.str)
%2 = call i32 @write(i32 noundef 2, ptr noundef @.str, i32 noundef %1)
%3 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(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/tmp2hvamspp.c"
target datalayout = "e-m:e-p270: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 [204 x i8] c"waitmax version 1.1z\0ACopyright Mathias Kettner 2008\0AThis is free software; see the source for copying conditions. There is NO\0Awarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @version() #0 {
%1 = call i32 @strlen(ptr noundef @.str)
%2 = call i32 @write(i32 noundef 2, ptr noundef @.str, i32 noundef %1)
%3 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(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/tmpz6go42hh.c'
source_filename = "/tmp/tmpz6go42hh.c"
target datalayout = "e-m:e-p270: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"%o\09%o\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%o\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 65535, ptr %2, align 4
store i32 292, ptr %3, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @shift(i32 noundef %4, i32 noundef 5)
%6 = load i32, ptr %2, align 4
%7 = shl i32 %6, 5
%8 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %5, i32 noundef %7)
%9 = load i32, ptr %2, align 4
%10 = call i32 @shift(i32 noundef %9, i32 noundef -6)
%11 = load i32, ptr %2, align 4
%12 = lshr i32 %11, 6
%13 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %10, i32 noundef %12)
%14 = load i32, ptr %3, align 4
%15 = call i32 @shift(i32 noundef %14, i32 noundef 0)
%16 = load i32, ptr %3, align 4
%17 = lshr i32 %16, 0
%18 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %15, i32 noundef %17)
%19 = load i32, ptr %2, align 4
%20 = call i32 @shift(i32 noundef %19, i32 noundef -3)
%21 = call i32 @shift(i32 noundef %20, i32 noundef 3)
%22 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %21)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, ...) #1
declare i32 @shift(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/tmpz6go42hh.c"
target datalayout = "e-m:e-p270: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"%o\09%o\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%o\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 65535, ptr %2, align 4
store i32 292, ptr %3, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @shift(i32 noundef %4, i32 noundef 5)
%6 = load i32, ptr %2, align 4
%7 = shl i32 %6, 5
%8 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %5, i32 noundef %7)
%9 = load i32, ptr %2, align 4
%10 = call i32 @shift(i32 noundef %9, i32 noundef -6)
%11 = load i32, ptr %2, align 4
%12 = lshr i32 %11, 6
%13 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %10, i32 noundef %12)
%14 = load i32, ptr %3, align 4
%15 = call i32 @shift(i32 noundef %14, i32 noundef 0)
%16 = load i32, ptr %3, align 4
%17 = lshr i32 %16, 0
%18 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %15, i32 noundef %17)
%19 = load i32, ptr %2, align 4
%20 = call i32 @shift(i32 noundef %19, i32 noundef -3)
%21 = call i32 @shift(i32 noundef %20, i32 noundef 3)
%22 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %21)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, ...) #1
declare i32 @shift(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/tmpifyfe07l.c'
source_filename = "/tmp/tmpifyfe07l.c"
target datalayout = "e-m:e-p270: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 @box(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) #0 {
%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
store i32 %0, ptr %8, align 4
store i32 %1, ptr %9, align 4
store i32 %2, ptr %10, align 4
store i32 %3, ptr %11, align 4
store i32 %4, ptr %12, align 4
store i32 %5, ptr %13, align 4
store i32 %6, ptr %14, align 4
%15 = load i32, ptr %14, align 4
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %31
17: ; preds = %7
br label %18
18: ; preds = %22, %17
%19 = load i32, ptr %11, align 4
%20 = add i32 %19, -1
store i32 %20, ptr %11, align 4
%21 = icmp ne i32 %19, 0
br i1 %21, label %22, label %30
22: ; preds = %18
%23 = load i32, ptr %8, align 4
%24 = load i32, ptr %9, align 4
%25 = add i32 %24, 1
store i32 %25, ptr %9, align 4
%26 = load i32, ptr %10, align 4
%27 = load i32, ptr %12, align 4
%28 = load i32, ptr %13, align 4
%29 = call i32 @lineh(i32 noundef %23, i32 noundef %24, i32 noundef %26, i32 noundef %27, i32 noundef %28)
br label %18, !llvm.loop !6
30: ; preds = %18
br label %62
31: ; preds = %7
%32 = load i32, ptr %8, align 4
%33 = load i32, ptr %9, align 4
%34 = load i32, ptr %10, align 4
%35 = load i32, ptr %12, align 4
%36 = load i32, ptr %13, align 4
%37 = call i32 @lineh(i32 noundef %32, i32 noundef %33, i32 noundef %34, i32 noundef %35, i32 noundef %36)
%38 = load i32, ptr %8, align 4
%39 = load i32, ptr %10, align 4
%40 = add i32 %38, %39
%41 = sub i32 %40, 1
%42 = load i32, ptr %9, align 4
%43 = load i32, ptr %11, align 4
%44 = load i32, ptr %12, align 4
%45 = load i32, ptr %13, align 4
%46 = call i32 @linev(i32 noundef %41, i32 noundef %42, i32 noundef %43, i32 noundef %44, i32 noundef %45)
%47 = load i32, ptr %8, align 4
%48 = load i32, ptr %9, align 4
%49 = load i32, ptr %11, align 4
%50 = add i32 %48, %49
%51 = sub i32 %50, 1
%52 = load i32, ptr %10, align 4
%53 = load i32, ptr %12, align 4
%54 = load i32, ptr %13, align 4
%55 = call i32 @lineh(i32 noundef %47, i32 noundef %51, i32 noundef %52, i32 noundef %53, i32 noundef %54)
%56 = load i32, ptr %8, align 4
%57 = load i32, ptr %9, align 4
%58 = load i32, ptr %11, align 4
%59 = load i32, ptr %12, align 4
%60 = load i32, ptr %13, align 4
%61 = call i32 @linev(i32 noundef %56, i32 noundef %57, i32 noundef %58, i32 noundef %59, i32 noundef %60)
br label %62
62: ; preds = %31, %30
ret void
}
declare i32 @lineh(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @linev(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpifyfe07l.c"
target datalayout = "e-m:e-p270: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 @box(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) #0 {
%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
store i32 %0, ptr %8, align 4
store i32 %1, ptr %9, align 4
store i32 %2, ptr %10, align 4
store i32 %3, ptr %11, align 4
store i32 %4, ptr %12, align 4
store i32 %5, ptr %13, align 4
store i32 %6, ptr %14, align 4
%15 = load i32, ptr %14, align 4
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %33
17: ; preds = %7
%18 = load i32, ptr %11, align 4
%19 = add i32 %18, -1
store i32 %19, ptr %11, align 4
%20 = icmp ne i32 %18, 0
br i1 %20, label %.lr.ph, label %32
.lr.ph: ; preds = %17
br label %21
21: ; preds = %.lr.ph, %21
%22 = load i32, ptr %8, align 4
%23 = load i32, ptr %9, align 4
%24 = add i32 %23, 1
store i32 %24, ptr %9, align 4
%25 = load i32, ptr %10, align 4
%26 = load i32, ptr %12, align 4
%27 = load i32, ptr %13, align 4
%28 = call i32 @lineh(i32 noundef %22, i32 noundef %23, i32 noundef %25, i32 noundef %26, i32 noundef %27)
%29 = load i32, ptr %11, align 4
%30 = add i32 %29, -1
store i32 %30, ptr %11, align 4
%31 = icmp ne i32 %29, 0
br i1 %31, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %32
32: ; preds = %._crit_edge, %17
br label %64
33: ; preds = %7
%34 = load i32, ptr %8, align 4
%35 = load i32, ptr %9, align 4
%36 = load i32, ptr %10, align 4
%37 = load i32, ptr %12, align 4
%38 = load i32, ptr %13, align 4
%39 = call i32 @lineh(i32 noundef %34, i32 noundef %35, i32 noundef %36, i32 noundef %37, i32 noundef %38)
%40 = load i32, ptr %8, align 4
%41 = load i32, ptr %10, align 4
%42 = add i32 %40, %41
%43 = sub i32 %42, 1
%44 = load i32, ptr %9, align 4
%45 = load i32, ptr %11, align 4
%46 = load i32, ptr %12, align 4
%47 = load i32, ptr %13, align 4
%48 = call i32 @linev(i32 noundef %43, i32 noundef %44, i32 noundef %45, i32 noundef %46, i32 noundef %47)
%49 = load i32, ptr %8, align 4
%50 = load i32, ptr %9, align 4
%51 = load i32, ptr %11, align 4
%52 = add i32 %50, %51
%53 = sub i32 %52, 1
%54 = load i32, ptr %10, align 4
%55 = load i32, ptr %12, align 4
%56 = load i32, ptr %13, align 4
%57 = call i32 @lineh(i32 noundef %49, i32 noundef %53, i32 noundef %54, i32 noundef %55, i32 noundef %56)
%58 = load i32, ptr %8, align 4
%59 = load i32, ptr %9, align 4
%60 = load i32, ptr %11, align 4
%61 = load i32, ptr %12, align 4
%62 = load i32, ptr %13, align 4
%63 = call i32 @linev(i32 noundef %58, i32 noundef %59, i32 noundef %60, i32 noundef %61, i32 noundef %62)
br label %64
64: ; preds = %33, %32
ret void
}
declare i32 @lineh(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @linev(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp16uskggy.c'
source_filename = "/tmp/tmp16uskggy.c"
target datalayout = "e-m:e-p270: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/tmp16uskggy.c"
target datalayout = "e-m:e-p270: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/tmplhi5etre.c'
source_filename = "/tmp/tmplhi5etre.c"
target datalayout = "e-m:e-p270: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 [28 x i8] c"Neuer Wert des Bits %d: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i8 @cmd_resetBit(i32 noundef %0, i8 noundef zeroext %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i8, align 1
store i32 %0, ptr %3, align 4
store i8 %1, ptr %4, align 1
%5 = load i32, ptr %3, align 4
%6 = call i32 @printf(ptr noundef @.str, i32 noundef %5, i32 noundef 0)
%7 = load i32, ptr %3, align 4
%8 = load i8, ptr %4, align 1
%9 = call zeroext i8 @setBit(i32 noundef %7, i8 noundef zeroext %8, i32 noundef 0)
ret i8 %9
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
declare zeroext i8 @setBit(i32 noundef, i8 noundef zeroext, 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/tmplhi5etre.c"
target datalayout = "e-m:e-p270: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 [28 x i8] c"Neuer Wert des Bits %d: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i8 @cmd_resetBit(i32 noundef %0, i8 noundef zeroext %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i8, align 1
store i32 %0, ptr %3, align 4
store i8 %1, ptr %4, align 1
%5 = load i32, ptr %3, align 4
%6 = call i32 @printf(ptr noundef @.str, i32 noundef %5, i32 noundef 0)
%7 = load i32, ptr %3, align 4
%8 = load i8, ptr %4, align 1
%9 = call zeroext i8 @setBit(i32 noundef %7, i8 noundef zeroext %8, i32 noundef 0)
ret i8 %9
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
declare zeroext i8 @setBit(i32 noundef, i8 noundef zeroext, 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/tmphwa1yqut.c'
source_filename = "/tmp/tmphwa1yqut.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [24 x i8] c"xmodem needs to go away\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @rcv_xmodem() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
%3 = call i32 @_exit(i32 noundef -1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @_exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmphwa1yqut.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [24 x i8] c"xmodem needs to go away\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @rcv_xmodem() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
%3 = call i32 @_exit(i32 noundef -1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @_exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgqsjkl3l.c'
source_filename = "/tmp/tmpgqsjkl3l.c"
target datalayout = "e-m:e-p270: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 @droplastword(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @strlen(ptr noundef %5)
%7 = sub nsw i32 %6, 1
%8 = sext i32 %7 to i64
%9 = getelementptr inbounds i8, ptr %4, i64 %8
store ptr %9, ptr %3, align 8
%10 = load ptr, ptr %3, align 8
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = icmp eq i32 %12, 10
br i1 %13, label %14, label %17
14: ; preds = %1
%15 = load ptr, ptr %3, align 8
%16 = getelementptr inbounds i8, ptr %15, i32 -1
store ptr %16, ptr %3, align 8
br label %17
17: ; preds = %14, %1
br label %18
18: ; preds = %24, %17
%19 = load ptr, ptr %3, align 8
%20 = load i8, ptr %19, align 1
%21 = call i32 @isspace(i8 noundef signext %20)
%22 = icmp ne i32 %21, 0
%23 = xor i1 %22, true
br i1 %23, label %24, label %27
24: ; preds = %18
%25 = load ptr, ptr %3, align 8
%26 = getelementptr inbounds i8, ptr %25, i32 -1
store ptr %26, ptr %3, align 8
br label %18, !llvm.loop !6
27: ; preds = %18
%28 = load ptr, ptr %3, align 8
store i8 0, ptr %28, align 1
%29 = load ptr, ptr %2, align 8
ret ptr %29
}
declare i32 @strlen(ptr noundef) #1
declare i32 @isspace(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgqsjkl3l.c"
target datalayout = "e-m:e-p270: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 @droplastword(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @strlen(ptr noundef %5)
%7 = sub nsw i32 %6, 1
%8 = sext i32 %7 to i64
%9 = getelementptr inbounds i8, ptr %4, i64 %8
store ptr %9, ptr %3, align 8
%10 = load ptr, ptr %3, align 8
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = icmp eq i32 %12, 10
br i1 %13, label %14, label %17
14: ; preds = %1
%15 = load ptr, ptr %3, align 8
%16 = getelementptr inbounds i8, ptr %15, i32 -1
store ptr %16, ptr %3, align 8
br label %17
17: ; preds = %14, %1
%18 = load ptr, ptr %3, align 8
%19 = load i8, ptr %18, align 1
%20 = call i32 @isspace(i8 noundef signext %19)
%21 = icmp ne i32 %20, 0
%22 = xor i1 %21, true
br i1 %22, label %.lr.ph, label %31
.lr.ph: ; preds = %17
br label %23
23: ; preds = %.lr.ph, %23
%24 = load ptr, ptr %3, align 8
%25 = getelementptr inbounds i8, ptr %24, i32 -1
store ptr %25, ptr %3, align 8
%26 = load ptr, ptr %3, align 8
%27 = load i8, ptr %26, align 1
%28 = call i32 @isspace(i8 noundef signext %27)
%29 = icmp ne i32 %28, 0
%30 = xor i1 %29, true
br i1 %30, label %23, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %31
31: ; preds = %._crit_edge, %17
%32 = load ptr, ptr %3, align 8
store i8 0, ptr %32, align 1
%33 = load ptr, ptr %2, align 8
ret ptr %33
}
declare i32 @strlen(ptr noundef) #1
declare i32 @isspace(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmphw1esjca.c'
source_filename = "/tmp/tmphw1esjca.c"
target datalayout = "e-m:e-p270: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 [50 x i8] c"NOT IMPLEMENTED:pa_context_set_sink_input_volume\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pa_context_set_sink_input_volume() #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/tmphw1esjca.c"
target datalayout = "e-m:e-p270: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 [50 x i8] c"NOT IMPLEMENTED:pa_context_set_sink_input_volume\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pa_context_set_sink_input_volume() #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/tmpb0746tbe.c'
source_filename = "/tmp/tmpb0746tbe.c"
target datalayout = "e-m:e-p270: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 @GPIO_Deinit() #0 {
%1 = call i32 (...) @AUDDRV_GPIO_Stop()
ret void
}
declare i32 @AUDDRV_GPIO_Stop(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpb0746tbe.c"
target datalayout = "e-m:e-p270: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 @GPIO_Deinit() #0 {
%1 = call i32 (...) @AUDDRV_GPIO_Stop()
ret void
}
declare i32 @AUDDRV_GPIO_Stop(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmp9mg14_sm.c'
source_filename = "/tmp/tmp9mg14_sm.c"
target datalayout = "e-m:e-p270: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/tmp9mg14_sm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_fn9yuui.c'
source_filename = "/tmp/tmp_fn9yuui.c"
target datalayout = "e-m:e-p270: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 [1400 x i8] c"ecel - easy crypto easy life\0Ausage:\0A\09ecel --create-msg --kid=<number> [--pos=<number>] [--raw=<file>]\0A\09ecel --create-key --kid=<number> [--pos=<number>] [--raw=<file>]\0A\09ecel --encrypt (--key=<key> | --msg=<message> | --key=<key> --msg=<message>)\0A\09ecel --get=key_id --key=<key>\0A\0Aarguments:\0A\09--help Prints this screen\0A\09--create-msg Creates a message\0A\09--create-key Creates a key\0A\09--encrypt Encrypts a message with a key\0A\09--alert Disables --unalert\0A\09--raw=<file> Set a raw input file\0A\09--key=<file> Set a file created by --create-key\0A\09--msg=<file> Set a file created by --create-msg\0A\09--pos=<number> Set the offset in the key\0A\09--kid=<number> Set the ID of the key\0A\09--output=<file> Redirect stdout to <file>\0A\09--verbosity[=2] 0 quiet, 1 enable warnings (def), 2 enable debug info\0A\0A<key> indicates a <file> which was created by --create-key, same for <message>\0APassing - as <file> indicates stdin, which is the default behaviour.\0AAll numbers are hexadecimal even without \220x\22 or \22h\22.\0A\0Aexamples:\0A\091. Create a key from entropy data:\0A\09\09ecel --create-key --kid=123 --raw=entropy.file --output=key.file\0A\092. Create messge:\0A\09\09ecel --create-msg --kid=123 --raw=message.file --output=msg.file\0A\093. Encrypt:\0A\09\09ecel --encrypt --key=key.file --msg=msg.file --output=encrypted_msg.file\0A\094. Decrypt:\0A\09\09ecel --encrypt --key=key.file --msg=encrypted_msg.file --output=normal_msg.file\0A\0A\00", align 1
@stderr = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @print_usage() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fputs(ptr noundef @.str, i32 noundef %1)
ret i32 0
}
declare i32 @fputs(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/tmp_fn9yuui.c"
target datalayout = "e-m:e-p270: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 [1400 x i8] c"ecel - easy crypto easy life\0Ausage:\0A\09ecel --create-msg --kid=<number> [--pos=<number>] [--raw=<file>]\0A\09ecel --create-key --kid=<number> [--pos=<number>] [--raw=<file>]\0A\09ecel --encrypt (--key=<key> | --msg=<message> | --key=<key> --msg=<message>)\0A\09ecel --get=key_id --key=<key>\0A\0Aarguments:\0A\09--help Prints this screen\0A\09--create-msg Creates a message\0A\09--create-key Creates a key\0A\09--encrypt Encrypts a message with a key\0A\09--alert Disables --unalert\0A\09--raw=<file> Set a raw input file\0A\09--key=<file> Set a file created by --create-key\0A\09--msg=<file> Set a file created by --create-msg\0A\09--pos=<number> Set the offset in the key\0A\09--kid=<number> Set the ID of the key\0A\09--output=<file> Redirect stdout to <file>\0A\09--verbosity[=2] 0 quiet, 1 enable warnings (def), 2 enable debug info\0A\0A<key> indicates a <file> which was created by --create-key, same for <message>\0APassing - as <file> indicates stdin, which is the default behaviour.\0AAll numbers are hexadecimal even without \220x\22 or \22h\22.\0A\0Aexamples:\0A\091. Create a key from entropy data:\0A\09\09ecel --create-key --kid=123 --raw=entropy.file --output=key.file\0A\092. Create messge:\0A\09\09ecel --create-msg --kid=123 --raw=message.file --output=msg.file\0A\093. Encrypt:\0A\09\09ecel --encrypt --key=key.file --msg=msg.file --output=encrypted_msg.file\0A\094. Decrypt:\0A\09\09ecel --encrypt --key=key.file --msg=encrypted_msg.file --output=normal_msg.file\0A\0A\00", align 1
@stderr = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @print_usage() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fputs(ptr noundef @.str, i32 noundef %1)
ret i32 0
}
declare i32 @fputs(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/tmpchhlxgym.c'
source_filename = "/tmp/tmpchhlxgym.c"
target datalayout = "e-m:e-p270: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 @isPrime(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i64 @mpi_mpz_millerrabin(i32 noundef %3, i32 noundef 1)
%5 = icmp ne i64 %4, 0
%6 = zext i1 %5 to i32
ret i32 %6
}
declare i64 @mpi_mpz_millerrabin(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/tmpchhlxgym.c"
target datalayout = "e-m:e-p270: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 @isPrime(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i64 @mpi_mpz_millerrabin(i32 noundef %3, i32 noundef 1)
%5 = icmp ne i64 %4, 0
%6 = zext i1 %5 to i32
ret i32 %6
}
declare i64 @mpi_mpz_millerrabin(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/tmp04qv193u.c'
source_filename = "/tmp/tmp04qv193u.c"
target datalayout = "e-m:e-p270: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/tmp04qv193u.c"
target datalayout = "e-m:e-p270: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/tmpzkboqcm0.c'
source_filename = "/tmp/tmpzkboqcm0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@LONG_MIN = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @stoie(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 i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i64 @strtol(ptr noundef %8, ptr noundef %6, i32 noundef 10)
store i64 %9, ptr %7, align 8
%10 = load ptr, ptr %6, align 8
%11 = load ptr, ptr %4, align 8
%12 = icmp eq ptr %10, %11
br i1 %12, label %13, label %16
13: ; preds = %2
%14 = load ptr, ptr %5, align 8
store i32 1, ptr %14, align 4
%15 = load i64, ptr @LONG_MIN, align 8
store i64 %15, ptr %3, align 8
br label %18
16: ; preds = %2
%17 = load i64, ptr %7, align 8
store i64 %17, ptr %3, align 8
br label %18
18: ; preds = %16, %13
%19 = load i64, ptr %3, align 8
ret i64 %19
}
declare i64 @strtol(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/tmpzkboqcm0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@LONG_MIN = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @stoie(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 i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i64 @strtol(ptr noundef %8, ptr noundef %6, i32 noundef 10)
store i64 %9, ptr %7, align 8
%10 = load ptr, ptr %6, align 8
%11 = load ptr, ptr %4, align 8
%12 = icmp eq ptr %10, %11
br i1 %12, label %13, label %16
13: ; preds = %2
%14 = load ptr, ptr %5, align 8
store i32 1, ptr %14, align 4
%15 = load i64, ptr @LONG_MIN, align 8
store i64 %15, ptr %3, align 8
br label %18
16: ; preds = %2
%17 = load i64, ptr %7, align 8
store i64 %17, ptr %3, align 8
br label %18
18: ; preds = %16, %13
%19 = load i64, ptr %3, align 8
ret i64 %19
}
declare i64 @strtol(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/tmp0yb9h6aq.c'
source_filename = "/tmp/tmp0yb9h6aq.c"
target datalayout = "e-m:e-p270: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/tmp0yb9h6aq.c"
target datalayout = "e-m:e-p270: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/tmpmwxa8gbr.c'
source_filename = "/tmp/tmpmwxa8gbr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [47 x i8] c"galois_invert_matrix: Matrix not invertible!!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @galois_invert_binary_matrix(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%11 = load i32, ptr %6, align 4
store i32 %11, ptr %7, align 4
store i32 0, ptr %8, align 4
br label %12
12: ; preds = %23, %3
%13 = load i32, ptr %8, align 4
%14 = load i32, ptr %6, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %16, label %26
16: ; preds = %12
%17 = load i32, ptr %8, align 4
%18 = shl i32 1, %17
%19 = load ptr, ptr %5, align 8
%20 = load i32, ptr %8, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i32, ptr %19, i64 %21
store i32 %18, ptr %22, align 4
br label %23
23: ; preds = %16
%24 = load i32, ptr %8, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %8, align 4
br label %12, !llvm.loop !6
26: ; preds = %12
store i32 0, ptr %8, align 4
br label %27
27: ; preds = %156, %26
%28 = load i32, ptr %8, align 4
%29 = load i32, ptr %7, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %31, label %159
31: ; preds = %27
%32 = load ptr, ptr %4, align 8
%33 = load i32, ptr %8, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i32, ptr %32, i64 %34
%36 = load i32, ptr %35, align 4
%37 = load i32, ptr %8, align 4
%38 = shl i32 1, %37
%39 = and i32 %36, %38
%40 = icmp eq i32 %39, 0
br i1 %40, label %41, label %111
41: ; preds = %31
%42 = load i32, ptr %8, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %9, align 4
br label %44
44: ; preds = %61, %41
%45 = load i32, ptr %9, align 4
%46 = load i32, ptr %6, align 4
%47 = icmp slt i32 %45, %46
br i1 %47, label %48, label %58
48: ; preds = %44
%49 = load ptr, ptr %4, align 8
%50 = load i32, ptr %9, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i32, ptr %49, i64 %51
%53 = load i32, ptr %52, align 4
%54 = load i32, ptr %8, align 4
%55 = shl i32 1, %54
%56 = and i32 %53, %55
%57 = icmp eq i32 %56, 0
br label %58
58: ; preds = %48, %44
%59 = phi i1 [ false, %44 ], [ %57, %48 ]
br i1 %59, label %60, label %64
60: ; preds = %58
br label %61
61: ; preds = %60
%62 = load i32, ptr %9, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %9, align 4
br label %44, !llvm.loop !8
64: ; preds = %58
%65 = load i32, ptr %9, align 4
%66 = load i32, ptr %6, align 4
%67 = icmp eq i32 %65, %66
br i1 %67, label %68, label %72
68: ; preds = %64
%69 = load i32, ptr @stderr, align 4
%70 = call i32 @fprintf(i32 noundef %69, ptr noundef @.str)
%71 = call i32 @exit(i32 noundef 1) #3
unreachable
72: ; preds = %64
%73 = load ptr, ptr %4, align 8
%74 = load i32, ptr %8, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds i32, ptr %73, i64 %75
%77 = load i32, ptr %76, align 4
store i32 %77, ptr %10, align 4
%78 = load ptr, ptr %4, align 8
%79 = load i32, ptr %9, align 4
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds i32, ptr %78, i64 %80
%82 = load i32, ptr %81, align 4
%83 = load ptr, ptr %4, align 8
%84 = load i32, ptr %8, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds i32, ptr %83, i64 %85
store i32 %82, ptr %86, align 4
%87 = load i32, ptr %10, align 4
%88 = load ptr, ptr %4, align 8
%89 = load i32, ptr %9, align 4
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds i32, ptr %88, i64 %90
store i32 %87, ptr %91, align 4
%92 = load ptr, ptr %5, align 8
%93 = load i32, ptr %8, align 4
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds i32, ptr %92, i64 %94
%96 = load i32, ptr %95, align 4
store i32 %96, ptr %10, align 4
%97 = load ptr, ptr %5, align 8
%98 = load i32, ptr %9, align 4
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds i32, ptr %97, i64 %99
%101 = load i32, ptr %100, align 4
%102 = load ptr, ptr %5, align 8
%103 = load i32, ptr %8, align 4
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds i32, ptr %102, i64 %104
store i32 %101, ptr %105, align 4
%106 = load i32, ptr %10, align 4
%107 = load ptr, ptr %5, align 8
%108 = load i32, ptr %9, align 4
%109 = sext i32 %108 to i64
%110 = getelementptr inbounds i32, ptr %107, i64 %109
store i32 %106, ptr %110, align 4
br label %111
111: ; preds = %72, %31
%112 = load i32, ptr %8, align 4
%113 = add nsw i32 %112, 1
store i32 %113, ptr %9, align 4
br label %114
114: ; preds = %152, %111
%115 = load i32, ptr %9, align 4
%116 = load i32, ptr %6, align 4
%117 = icmp ne i32 %115, %116
br i1 %117, label %118, label %155
118: ; preds = %114
%119 = load ptr, ptr %4, align 8
%120 = load i32, ptr %9, align 4
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds i32, ptr %119, i64 %121
%123 = load i32, ptr %122, align 4
%124 = load i32, ptr %8, align 4
%125 = shl i32 1, %124
%126 = and i32 %123, %125
%127 = icmp ne i32 %126, 0
br i1 %127, label %128, label %151
128: ; preds = %118
%129 = load ptr, ptr %4, align 8
%130 = load i32, ptr %8, align 4
%131 = sext i32 %130 to i64
%132 = getelementptr inbounds i32, ptr %129, i64 %131
%133 = load i32, ptr %132, align 4
%134 = load ptr, ptr %4, align 8
%135 = load i32, ptr %9, align 4
%136 = sext i32 %135 to i64
%137 = getelementptr inbounds i32, ptr %134, i64 %136
%138 = load i32, ptr %137, align 4
%139 = xor i32 %138, %133
store i32 %139, ptr %137, align 4
%140 = load ptr, ptr %5, align 8
%141 = load i32, ptr %8, align 4
%142 = sext i32 %141 to i64
%143 = getelementptr inbounds i32, ptr %140, i64 %142
%144 = load i32, ptr %143, align 4
%145 = load ptr, ptr %5, align 8
%146 = load i32, ptr %9, align 4
%147 = sext i32 %146 to i64
%148 = getelementptr inbounds i32, ptr %145, i64 %147
%149 = load i32, ptr %148, align 4
%150 = xor i32 %149, %144
store i32 %150, ptr %148, align 4
br label %151
151: ; preds = %128, %118
br label %152
152: ; preds = %151
%153 = load i32, ptr %9, align 4
%154 = add nsw i32 %153, 1
store i32 %154, ptr %9, align 4
br label %114, !llvm.loop !9
155: ; preds = %114
br label %156
156: ; preds = %155
%157 = load i32, ptr %8, align 4
%158 = add nsw i32 %157, 1
store i32 %158, ptr %8, align 4
br label %27, !llvm.loop !10
159: ; preds = %27
%160 = load i32, ptr %6, align 4
%161 = sub nsw i32 %160, 1
store i32 %161, ptr %8, align 4
br label %162
162: ; preds = %197, %159
%163 = load i32, ptr %8, align 4
%164 = icmp sge i32 %163, 0
br i1 %164, label %165, label %200
165: ; preds = %162
store i32 0, ptr %9, align 4
br label %166
166: ; preds = %193, %165
%167 = load i32, ptr %9, align 4
%168 = load i32, ptr %8, align 4
%169 = icmp slt i32 %167, %168
br i1 %169, label %170, label %196
170: ; preds = %166
%171 = load ptr, ptr %4, align 8
%172 = load i32, ptr %9, align 4
%173 = sext i32 %172 to i64
%174 = getelementptr inbounds i32, ptr %171, i64 %173
%175 = load i32, ptr %174, align 4
%176 = load i32, ptr %8, align 4
%177 = shl i32 1, %176
%178 = and i32 %175, %177
%179 = icmp ne i32 %178, 0
br i1 %179, label %180, label %192
180: ; preds = %170
%181 = load ptr, ptr %5, align 8
%182 = load i32, ptr %8, align 4
%183 = sext i32 %182 to i64
%184 = getelementptr inbounds i32, ptr %181, i64 %183
%185 = load i32, ptr %184, align 4
%186 = load ptr, ptr %5, align 8
%187 = load i32, ptr %9, align 4
%188 = sext i32 %187 to i64
%189 = getelementptr inbounds i32, ptr %186, i64 %188
%190 = load i32, ptr %189, align 4
%191 = xor i32 %190, %185
store i32 %191, ptr %189, align 4
br label %192
192: ; preds = %180, %170
br label %193
193: ; preds = %192
%194 = load i32, ptr %9, align 4
%195 = add nsw i32 %194, 1
store i32 %195, ptr %9, align 4
br label %166, !llvm.loop !11
196: ; preds = %166
br label %197
197: ; preds = %196
%198 = load i32, ptr %8, align 4
%199 = add nsw i32 %198, -1
store i32 %199, ptr %8, align 4
br label %162, !llvm.loop !12
200: ; preds = %162
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmwxa8gbr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [47 x i8] c"galois_invert_matrix: Matrix not invertible!!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @galois_invert_binary_matrix(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%11 = load i32, ptr %6, align 4
store i32 %11, ptr %7, align 4
store i32 0, ptr %8, align 4
%12 = load i32, ptr %8, align 4
%13 = load i32, ptr %6, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %.lr.ph, label %28
.lr.ph: ; preds = %3
br label %15
15: ; preds = %.lr.ph, %22
%16 = load i32, ptr %8, align 4
%17 = shl i32 1, %16
%18 = load ptr, ptr %5, align 8
%19 = load i32, ptr %8, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i32, ptr %18, i64 %20
store i32 %17, ptr %21, align 4
br label %22
22: ; preds = %15
%23 = load i32, ptr %8, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %8, align 4
%25 = load i32, ptr %8, align 4
%26 = load i32, ptr %6, align 4
%27 = icmp slt i32 %25, %26
br i1 %27, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %28
28: ; preds = %._crit_edge, %3
store i32 0, ptr %8, align 4
%29 = load i32, ptr %8, align 4
%30 = load i32, ptr %7, align 4
%31 = icmp slt i32 %29, %30
br i1 %31, label %.lr.ph5, label %165
.lr.ph5: ; preds = %28
br label %32
32: ; preds = %.lr.ph5, %159
%33 = load ptr, ptr %4, align 8
%34 = load i32, ptr %8, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i32, ptr %33, i64 %35
%37 = load i32, ptr %36, align 4
%38 = load i32, ptr %8, align 4
%39 = shl i32 1, %38
%40 = and i32 %37, %39
%41 = icmp eq i32 %40, 0
br i1 %41, label %42, label %112
42: ; preds = %32
%43 = load i32, ptr %8, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %9, align 4
br label %45
45: ; preds = %62, %42
%46 = load i32, ptr %9, align 4
%47 = load i32, ptr %6, align 4
%48 = icmp slt i32 %46, %47
br i1 %48, label %49, label %59
49: ; preds = %45
%50 = load ptr, ptr %4, align 8
%51 = load i32, ptr %9, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds i32, ptr %50, i64 %52
%54 = load i32, ptr %53, align 4
%55 = load i32, ptr %8, align 4
%56 = shl i32 1, %55
%57 = and i32 %54, %56
%58 = icmp eq i32 %57, 0
br label %59
59: ; preds = %49, %45
%60 = phi i1 [ false, %45 ], [ %58, %49 ]
br i1 %60, label %61, label %65
61: ; preds = %59
br label %62
62: ; preds = %61
%63 = load i32, ptr %9, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %9, align 4
br label %45, !llvm.loop !8
65: ; preds = %59
%66 = load i32, ptr %9, align 4
%67 = load i32, ptr %6, align 4
%68 = icmp eq i32 %66, %67
br i1 %68, label %69, label %73
69: ; preds = %65
%70 = load i32, ptr @stderr, align 4
%71 = call i32 @fprintf(i32 noundef %70, ptr noundef @.str)
%72 = call i32 @exit(i32 noundef 1) #3
unreachable
73: ; preds = %65
%74 = load ptr, ptr %4, align 8
%75 = load i32, ptr %8, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds i32, ptr %74, i64 %76
%78 = load i32, ptr %77, align 4
store i32 %78, ptr %10, align 4
%79 = load ptr, ptr %4, align 8
%80 = load i32, ptr %9, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds i32, ptr %79, i64 %81
%83 = load i32, ptr %82, align 4
%84 = load ptr, ptr %4, align 8
%85 = load i32, ptr %8, align 4
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds i32, ptr %84, i64 %86
store i32 %83, ptr %87, align 4
%88 = load i32, ptr %10, align 4
%89 = load ptr, ptr %4, align 8
%90 = load i32, ptr %9, align 4
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds i32, ptr %89, i64 %91
store i32 %88, ptr %92, align 4
%93 = load ptr, ptr %5, align 8
%94 = load i32, ptr %8, align 4
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds i32, ptr %93, i64 %95
%97 = load i32, ptr %96, align 4
store i32 %97, ptr %10, align 4
%98 = load ptr, ptr %5, align 8
%99 = load i32, ptr %9, align 4
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds i32, ptr %98, i64 %100
%102 = load i32, ptr %101, align 4
%103 = load ptr, ptr %5, align 8
%104 = load i32, ptr %8, align 4
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds i32, ptr %103, i64 %105
store i32 %102, ptr %106, align 4
%107 = load i32, ptr %10, align 4
%108 = load ptr, ptr %5, align 8
%109 = load i32, ptr %9, align 4
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds i32, ptr %108, i64 %110
store i32 %107, ptr %111, align 4
br label %112
112: ; preds = %73, %32
%113 = load i32, ptr %8, align 4
%114 = add nsw i32 %113, 1
store i32 %114, ptr %9, align 4
%115 = load i32, ptr %9, align 4
%116 = load i32, ptr %6, align 4
%117 = icmp ne i32 %115, %116
br i1 %117, label %.lr.ph2, label %158
.lr.ph2: ; preds = %112
br label %118
118: ; preds = %.lr.ph2, %152
%119 = load ptr, ptr %4, align 8
%120 = load i32, ptr %9, align 4
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds i32, ptr %119, i64 %121
%123 = load i32, ptr %122, align 4
%124 = load i32, ptr %8, align 4
%125 = shl i32 1, %124
%126 = and i32 %123, %125
%127 = icmp ne i32 %126, 0
br i1 %127, label %128, label %151
128: ; preds = %118
%129 = load ptr, ptr %4, align 8
%130 = load i32, ptr %8, align 4
%131 = sext i32 %130 to i64
%132 = getelementptr inbounds i32, ptr %129, i64 %131
%133 = load i32, ptr %132, align 4
%134 = load ptr, ptr %4, align 8
%135 = load i32, ptr %9, align 4
%136 = sext i32 %135 to i64
%137 = getelementptr inbounds i32, ptr %134, i64 %136
%138 = load i32, ptr %137, align 4
%139 = xor i32 %138, %133
store i32 %139, ptr %137, align 4
%140 = load ptr, ptr %5, align 8
%141 = load i32, ptr %8, align 4
%142 = sext i32 %141 to i64
%143 = getelementptr inbounds i32, ptr %140, i64 %142
%144 = load i32, ptr %143, align 4
%145 = load ptr, ptr %5, align 8
%146 = load i32, ptr %9, align 4
%147 = sext i32 %146 to i64
%148 = getelementptr inbounds i32, ptr %145, i64 %147
%149 = load i32, ptr %148, align 4
%150 = xor i32 %149, %144
store i32 %150, ptr %148, align 4
br label %151
151: ; preds = %128, %118
br label %152
152: ; preds = %151
%153 = load i32, ptr %9, align 4
%154 = add nsw i32 %153, 1
store i32 %154, ptr %9, align 4
%155 = load i32, ptr %9, align 4
%156 = load i32, ptr %6, align 4
%157 = icmp ne i32 %155, %156
br i1 %157, label %118, label %._crit_edge3, !llvm.loop !9
._crit_edge3: ; preds = %152
br label %158
158: ; preds = %._crit_edge3, %112
br label %159
159: ; preds = %158
%160 = load i32, ptr %8, align 4
%161 = add nsw i32 %160, 1
store i32 %161, ptr %8, align 4
%162 = load i32, ptr %8, align 4
%163 = load i32, ptr %7, align 4
%164 = icmp slt i32 %162, %163
br i1 %164, label %32, label %._crit_edge6, !llvm.loop !10
._crit_edge6: ; preds = %159
br label %165
165: ; preds = %._crit_edge6, %28
%166 = load i32, ptr %6, align 4
%167 = sub nsw i32 %166, 1
store i32 %167, ptr %8, align 4
%168 = load i32, ptr %8, align 4
%169 = icmp sge i32 %168, 0
br i1 %169, label %.lr.ph11, label %209
.lr.ph11: ; preds = %165
br label %170
170: ; preds = %.lr.ph11, %204
store i32 0, ptr %9, align 4
%171 = load i32, ptr %9, align 4
%172 = load i32, ptr %8, align 4
%173 = icmp slt i32 %171, %172
br i1 %173, label %.lr.ph8, label %203
.lr.ph8: ; preds = %170
br label %174
174: ; preds = %.lr.ph8, %197
%175 = load ptr, ptr %4, align 8
%176 = load i32, ptr %9, align 4
%177 = sext i32 %176 to i64
%178 = getelementptr inbounds i32, ptr %175, i64 %177
%179 = load i32, ptr %178, align 4
%180 = load i32, ptr %8, align 4
%181 = shl i32 1, %180
%182 = and i32 %179, %181
%183 = icmp ne i32 %182, 0
br i1 %183, label %184, label %196
184: ; preds = %174
%185 = load ptr, ptr %5, align 8
%186 = load i32, ptr %8, align 4
%187 = sext i32 %186 to i64
%188 = getelementptr inbounds i32, ptr %185, i64 %187
%189 = load i32, ptr %188, align 4
%190 = load ptr, ptr %5, align 8
%191 = load i32, ptr %9, align 4
%192 = sext i32 %191 to i64
%193 = getelementptr inbounds i32, ptr %190, i64 %192
%194 = load i32, ptr %193, align 4
%195 = xor i32 %194, %189
store i32 %195, ptr %193, align 4
br label %196
196: ; preds = %184, %174
br label %197
197: ; preds = %196
%198 = load i32, ptr %9, align 4
%199 = add nsw i32 %198, 1
store i32 %199, ptr %9, align 4
%200 = load i32, ptr %9, align 4
%201 = load i32, ptr %8, align 4
%202 = icmp slt i32 %200, %201
br i1 %202, label %174, label %._crit_edge9, !llvm.loop !11
._crit_edge9: ; preds = %197
br label %203
203: ; preds = %._crit_edge9, %170
br label %204
204: ; preds = %203
%205 = load i32, ptr %8, align 4
%206 = add nsw i32 %205, -1
store i32 %206, ptr %8, align 4
%207 = load i32, ptr %8, align 4
%208 = icmp sge i32 %207, 0
br i1 %208, label %170, label %._crit_edge12, !llvm.loop !12
._crit_edge12: ; preds = %204
br label %209
209: ; preds = %._crit_edge12, %165
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
|
; ModuleID = '/tmp/tmpd6je25eh.c'
source_filename = "/tmp/tmpd6je25eh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [15 x i8] c"usage: %s <N>\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%ld\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 i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load i32, ptr %4, align 4
%9 = icmp ne i32 %8, 2
br i1 %9, label %10, label %16
10: ; preds = %2
%11 = load i32, ptr @stderr, align 4
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 0
%14 = load ptr, ptr %13, align 8
%15 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str, ptr noundef %14)
store i32 1, ptr %3, align 4
br label %31
16: ; preds = %2
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 1
%19 = load ptr, ptr %18, align 8
%20 = call i32 @atoi(ptr noundef %19)
store i32 %20, ptr %6, align 4
%21 = load i32, ptr %6, align 4
%22 = icmp sle i32 %21, 0
br i1 %22, label %23, label %24
23: ; preds = %16
store i32 1, ptr %3, align 4
br label %31
24: ; preds = %16
%25 = load i32, ptr %6, align 4
%26 = call i32 @totient_sum(i32 noundef %25)
%27 = sub nsw i32 %26, 1
%28 = sext i32 %27 to i64
store i64 %28, ptr %7, align 8
%29 = load i64, ptr %7, align 8
%30 = call i32 @printf(ptr noundef @.str.1, i64 noundef %29)
store i32 0, ptr %3, align 4
br label %31
31: ; preds = %24, %23, %10
%32 = load i32, ptr %3, align 4
ret i32 %32
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @totient_sum(i32 noundef) #1
declare i32 @printf(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd6je25eh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [15 x i8] c"usage: %s <N>\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%ld\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 i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load i32, ptr %4, align 4
%9 = icmp ne i32 %8, 2
br i1 %9, label %10, label %16
10: ; preds = %2
%11 = load i32, ptr @stderr, align 4
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 0
%14 = load ptr, ptr %13, align 8
%15 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str, ptr noundef %14)
store i32 1, ptr %3, align 4
br label %31
16: ; preds = %2
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 1
%19 = load ptr, ptr %18, align 8
%20 = call i32 @atoi(ptr noundef %19)
store i32 %20, ptr %6, align 4
%21 = load i32, ptr %6, align 4
%22 = icmp sle i32 %21, 0
br i1 %22, label %23, label %24
23: ; preds = %16
store i32 1, ptr %3, align 4
br label %31
24: ; preds = %16
%25 = load i32, ptr %6, align 4
%26 = call i32 @totient_sum(i32 noundef %25)
%27 = sub nsw i32 %26, 1
%28 = sext i32 %27 to i64
store i64 %28, ptr %7, align 8
%29 = load i64, ptr %7, align 8
%30 = call i32 @printf(ptr noundef @.str.1, i64 noundef %29)
store i32 0, ptr %3, align 4
br label %31
31: ; preds = %24, %23, %10
%32 = load i32, ptr %3, align 4
ret i32 %32
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @totient_sum(i32 noundef) #1
declare i32 @printf(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpik21abzn.c'
source_filename = "/tmp/tmpik21abzn.c"
target datalayout = "e-m:e-p270: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 @get_arg_from_pointer_malloc_ptr(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call ptr @strchr(ptr noundef %6, i8 noundef signext 32)
store ptr %7, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %12
10: ; preds = %1
%11 = load ptr, ptr %3, align 8
br label %15
12: ; preds = %1
%13 = load ptr, ptr %2, align 8
%14 = call ptr @strchr(ptr noundef %13, i8 noundef signext 10)
br label %15
15: ; preds = %12, %10
%16 = phi ptr [ %11, %10 ], [ %14, %12 ]
%17 = load ptr, ptr %2, align 8
%18 = ptrtoint ptr %16 to i64
%19 = ptrtoint ptr %17 to i64
%20 = sub i64 %18, %19
%21 = add nsw i64 %20, 1
%22 = trunc i64 %21 to i32
%23 = call ptr @calloc(i32 noundef %22, i32 noundef 1)
store ptr %23, ptr %4, align 8
%24 = load ptr, ptr %4, align 8
store ptr %24, ptr %5, align 8
br label %25
25: ; preds = %45, %15
%26 = load ptr, ptr %2, align 8
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp ne i32 %28, 32
br i1 %29, label %30, label %43
30: ; preds = %25
%31 = load ptr, ptr %2, align 8
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = icmp ne i32 %33, 10
br i1 %34, label %35, label %43
35: ; preds = %30
%36 = load ptr, ptr %2, align 8
%37 = getelementptr inbounds i8, ptr %36, i32 1
store ptr %37, ptr %2, align 8
%38 = load i8, ptr %36, align 1
%39 = load ptr, ptr %5, align 8
%40 = getelementptr inbounds i8, ptr %39, i32 1
store ptr %40, ptr %5, align 8
store i8 %38, ptr %39, align 1
%41 = sext i8 %38 to i32
%42 = icmp ne i32 %41, 0
br label %43
43: ; preds = %35, %30, %25
%44 = phi i1 [ false, %30 ], [ false, %25 ], [ %42, %35 ]
br i1 %44, label %45, label %46
45: ; preds = %43
br label %25, !llvm.loop !6
46: ; preds = %43
%47 = load ptr, ptr %4, align 8
ret ptr %47
}
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
declare ptr @calloc(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpik21abzn.c"
target datalayout = "e-m:e-p270: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 @get_arg_from_pointer_malloc_ptr(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call ptr @strchr(ptr noundef %6, i8 noundef signext 32)
store ptr %7, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %12
10: ; preds = %1
%11 = load ptr, ptr %3, align 8
br label %15
12: ; preds = %1
%13 = load ptr, ptr %2, align 8
%14 = call ptr @strchr(ptr noundef %13, i8 noundef signext 10)
br label %15
15: ; preds = %12, %10
%16 = phi ptr [ %11, %10 ], [ %14, %12 ]
%17 = load ptr, ptr %2, align 8
%18 = ptrtoint ptr %16 to i64
%19 = ptrtoint ptr %17 to i64
%20 = sub i64 %18, %19
%21 = add nsw i64 %20, 1
%22 = trunc i64 %21 to i32
%23 = call ptr @calloc(i32 noundef %22, i32 noundef 1)
store ptr %23, ptr %4, align 8
%24 = load ptr, ptr %4, align 8
store ptr %24, ptr %5, align 8
br label %25
25: ; preds = %43, %15
%26 = load ptr, ptr %2, align 8
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp ne i32 %28, 32
br i1 %29, label %30, label %43
30: ; preds = %25
%31 = load ptr, ptr %2, align 8
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = icmp ne i32 %33, 10
br i1 %34, label %35, label %43
35: ; preds = %30
%36 = load ptr, ptr %2, align 8
%37 = getelementptr inbounds i8, ptr %36, i32 1
store ptr %37, ptr %2, align 8
%38 = load i8, ptr %36, align 1
%39 = load ptr, ptr %5, align 8
%40 = getelementptr inbounds i8, ptr %39, i32 1
store ptr %40, ptr %5, align 8
store i8 %38, ptr %39, align 1
%41 = sext i8 %38 to i32
%42 = icmp ne i32 %41, 0
br label %43
43: ; preds = %35, %30, %25
%44 = phi i1 [ false, %30 ], [ false, %25 ], [ %42, %35 ]
br i1 %44, label %25, label %45, !llvm.loop !6
45: ; preds = %43
%46 = load ptr, ptr %4, align 8
ret ptr %46
}
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
declare ptr @calloc(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpx74hwjzq.c'
source_filename = "/tmp/tmpx74hwjzq.c"
target datalayout = "e-m:e-p270: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 @marker_string_filename_get_name(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%7 = load ptr, ptr %2, align 8
%8 = call i64 @strlen(ptr noundef %7)
store i64 %8, ptr %3, align 8
%9 = load ptr, ptr %2, align 8
store ptr %9, ptr %4, align 8
store i32 0, ptr %5, align 4
br label %10
10: ; preds = %30, %1
%11 = load i32, ptr %5, align 4
%12 = sext i32 %11 to i64
%13 = load i64, ptr %3, align 8
%14 = icmp ult i64 %12, %13
br i1 %14, label %15, label %33
15: ; preds = %10
%16 = load ptr, ptr %2, align 8
%17 = load i32, ptr %5, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %21, 47
br i1 %22, label %23, label %29
23: ; preds = %15
%24 = load ptr, ptr %2, align 8
%25 = load i32, ptr %5, align 4
%26 = add nsw i32 %25, 1
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %24, i64 %27
store ptr %28, ptr %4, align 8
br label %29
29: ; preds = %23, %15
br label %30
30: ; preds = %29
%31 = load i32, ptr %5, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %5, align 4
br label %10, !llvm.loop !6
33: ; preds = %10
%34 = load ptr, ptr %2, align 8
%35 = load i64, ptr %3, align 8
%36 = getelementptr inbounds i8, ptr %34, i64 %35
%37 = load ptr, ptr %4, align 8
%38 = ptrtoint ptr %36 to i64
%39 = ptrtoint ptr %37 to i64
%40 = sub i64 %38, %39
store i64 %40, ptr %3, align 8
%41 = load i64, ptr %3, align 8
%42 = add i64 %41, 1
%43 = call i64 @malloc(i64 noundef %42)
%44 = inttoptr i64 %43 to ptr
store ptr %44, ptr %6, align 8
%45 = load ptr, ptr %6, align 8
%46 = load i64, ptr %3, align 8
%47 = add i64 %46, 1
%48 = call i32 @memset(ptr noundef %45, i32 noundef 0, i64 noundef %47)
%49 = load ptr, ptr %6, align 8
%50 = load ptr, ptr %4, align 8
%51 = load i64, ptr %3, align 8
%52 = call i32 @memcpy(ptr noundef %49, ptr noundef %50, i64 noundef %51)
%53 = load ptr, ptr %6, align 8
ret ptr %53
}
declare i64 @strlen(ptr noundef) #1
declare i64 @malloc(i64 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpx74hwjzq.c"
target datalayout = "e-m:e-p270: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 @marker_string_filename_get_name(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%7 = load ptr, ptr %2, align 8
%8 = call i64 @strlen(ptr noundef %7)
store i64 %8, ptr %3, align 8
%9 = load ptr, ptr %2, align 8
store ptr %9, ptr %4, align 8
store i32 0, ptr %5, align 4
%10 = load i32, ptr %5, align 4
%11 = sext i32 %10 to i64
%12 = load i64, ptr %3, align 8
%13 = icmp ult i64 %11, %12
br i1 %13, label %.lr.ph, label %36
.lr.ph: ; preds = %1
br label %14
14: ; preds = %.lr.ph, %29
%15 = load ptr, ptr %2, align 8
%16 = load i32, ptr %5, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp eq i32 %20, 47
br i1 %21, label %22, label %28
22: ; preds = %14
%23 = load ptr, ptr %2, align 8
%24 = load i32, ptr %5, align 4
%25 = add nsw i32 %24, 1
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %23, i64 %26
store ptr %27, ptr %4, align 8
br label %28
28: ; preds = %22, %14
br label %29
29: ; preds = %28
%30 = load i32, ptr %5, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %5, align 4
%32 = load i32, ptr %5, align 4
%33 = sext i32 %32 to i64
%34 = load i64, ptr %3, align 8
%35 = icmp ult i64 %33, %34
br i1 %35, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %29
br label %36
36: ; preds = %._crit_edge, %1
%37 = load ptr, ptr %2, align 8
%38 = load i64, ptr %3, align 8
%39 = getelementptr inbounds i8, ptr %37, i64 %38
%40 = load ptr, ptr %4, align 8
%41 = ptrtoint ptr %39 to i64
%42 = ptrtoint ptr %40 to i64
%43 = sub i64 %41, %42
store i64 %43, ptr %3, align 8
%44 = load i64, ptr %3, align 8
%45 = add i64 %44, 1
%46 = call i64 @malloc(i64 noundef %45)
%47 = inttoptr i64 %46 to ptr
store ptr %47, ptr %6, align 8
%48 = load ptr, ptr %6, align 8
%49 = load i64, ptr %3, align 8
%50 = add i64 %49, 1
%51 = call i32 @memset(ptr noundef %48, i32 noundef 0, i64 noundef %50)
%52 = load ptr, ptr %6, align 8
%53 = load ptr, ptr %4, align 8
%54 = load i64, ptr %3, align 8
%55 = call i32 @memcpy(ptr noundef %52, ptr noundef %53, i64 noundef %54)
%56 = load ptr, ptr %6, align 8
ret ptr %56
}
declare i64 @strlen(ptr noundef) #1
declare i64 @malloc(i64 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpgaa9j0z3.c'
source_filename = "/tmp/tmpgaa9j0z3.c"
target datalayout = "e-m:e-p270: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 @localtime_r(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call ptr @gmtime_r(ptr noundef %5, ptr noundef %6)
ret ptr %7
}
declare ptr @gmtime_r(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/tmpgaa9j0z3.c"
target datalayout = "e-m:e-p270: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 @localtime_r(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call ptr @gmtime_r(ptr noundef %5, ptr noundef %6)
ret ptr %7
}
declare ptr @gmtime_r(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/tmpyfskjzpo.c'
source_filename = "/tmp/tmpyfskjzpo.c"
target datalayout = "e-m:e-p270: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"timer to turn on\0A security automaticly\0A 0=off\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @func8() #0 {
%1 = call i32 @print(ptr noundef @.str)
ret void
}
declare i32 @print(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/tmpyfskjzpo.c"
target datalayout = "e-m:e-p270: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"timer to turn on\0A security automaticly\0A 0=off\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @func8() #0 {
%1 = call i32 @print(ptr noundef @.str)
ret void
}
declare i32 @print(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/tmp1v3da2fh.c'
source_filename = "/tmp/tmp1v3da2fh.c"
target datalayout = "e-m:e-p270: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 [231 x i8] c" </td>\0A </tr>\0A </tbody>\0A </table>\0A<center>\0A<BR><BR><FONT SIZE=-1>This site is powered by <A HREF=\22http://www.wuerth-phoenix.com/neteye\22>SafedAgent for UNIX.</A></FONT></center>\0A</td></tr></tbody></table>\0A</body></html>\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @DefaultFooter(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%8 = load ptr, ptr %5, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %16
10: ; preds = %3
%11 = load ptr, ptr %6, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %16
13: ; preds = %10
%14 = load i32, ptr %7, align 4
%15 = icmp ne i32 %14, 0
br i1 %15, label %17, label %16
16: ; preds = %13, %10, %3
store i32 0, ptr %4, align 4
br label %21
17: ; preds = %13
%18 = load ptr, ptr %6, align 8
%19 = load i32, ptr %7, align 4
%20 = call i32 @strncpy(ptr noundef %18, ptr noundef @.str, i32 noundef %19)
store i32 0, ptr %4, align 4
br label %21
21: ; preds = %17, %16
%22 = load i32, ptr %4, align 4
ret i32 %22
}
declare i32 @strncpy(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/tmp1v3da2fh.c"
target datalayout = "e-m:e-p270: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 [231 x i8] c" </td>\0A </tr>\0A </tbody>\0A </table>\0A<center>\0A<BR><BR><FONT SIZE=-1>This site is powered by <A HREF=\22http://www.wuerth-phoenix.com/neteye\22>SafedAgent for UNIX.</A></FONT></center>\0A</td></tr></tbody></table>\0A</body></html>\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @DefaultFooter(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%8 = load ptr, ptr %5, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %16
10: ; preds = %3
%11 = load ptr, ptr %6, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %16
13: ; preds = %10
%14 = load i32, ptr %7, align 4
%15 = icmp ne i32 %14, 0
br i1 %15, label %17, label %16
16: ; preds = %13, %10, %3
store i32 0, ptr %4, align 4
br label %21
17: ; preds = %13
%18 = load ptr, ptr %6, align 8
%19 = load i32, ptr %7, align 4
%20 = call i32 @strncpy(ptr noundef %18, ptr noundef @.str, i32 noundef %19)
store i32 0, ptr %4, align 4
br label %21
21: ; preds = %17, %16
%22 = load i32, ptr %4, align 4
ret i32 %22
}
declare i32 @strncpy(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/tmplvjw27ks.c'
source_filename = "/tmp/tmplvjw27ks.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [96 x i8] c"If you want to give the -%c flag a parameter starting with a - don't put a space. Ignoring it.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @check_optional(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i8, align 1
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%6 = load ptr, ptr %4, align 8
%7 = getelementptr inbounds i8, ptr %6, i64 0
%8 = load i8, ptr %7, align 1
%9 = sext i8 %8 to i32
%10 = icmp eq i32 %9, 45
br i1 %10, label %11, label %15
11: ; preds = %2
%12 = load i32, ptr @stderr, align 4
%13 = load i32, ptr %5, align 4
%14 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str, i32 noundef %13)
store i8 0, ptr %3, align 1
br label %16
15: ; preds = %2
store i8 1, ptr %3, align 1
br label %16
16: ; preds = %15, %11
%17 = load i8, ptr %3, align 1
ret i8 %17
}
declare i32 @fprintf(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/tmplvjw27ks.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [96 x i8] c"If you want to give the -%c flag a parameter starting with a - don't put a space. Ignoring it.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @check_optional(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i8, align 1
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%6 = load ptr, ptr %4, align 8
%7 = getelementptr inbounds i8, ptr %6, i64 0
%8 = load i8, ptr %7, align 1
%9 = sext i8 %8 to i32
%10 = icmp eq i32 %9, 45
br i1 %10, label %11, label %15
11: ; preds = %2
%12 = load i32, ptr @stderr, align 4
%13 = load i32, ptr %5, align 4
%14 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str, i32 noundef %13)
store i8 0, ptr %3, align 1
br label %16
15: ; preds = %2
store i8 1, ptr %3, align 1
br label %16
16: ; preds = %15, %11
%17 = load i8, ptr %3, align 1
ret i8 %17
}
declare i32 @fprintf(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/tmp_5eor0tz.c'
source_filename = "/tmp/tmp_5eor0tz.c"
target datalayout = "e-m:e-p270: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 @BMP_loadAndScaleGenBmp16(ptr noundef %0, i16 noundef zeroext %1, i16 noundef zeroext %2, i16 noundef zeroext %3, i16 noundef zeroext %4, i16 noundef zeroext %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca i16, align 2
%9 = alloca i16, align 2
%10 = alloca i16, align 2
%11 = alloca i16, align 2
%12 = alloca i16, align 2
%13 = alloca i16, align 2
%14 = alloca i16, align 2
store ptr %0, ptr %7, align 8
store i16 %1, ptr %8, align 2
store i16 %2, ptr %9, align 2
store i16 %3, ptr %10, align 2
store i16 %4, ptr %11, align 2
store i16 %5, ptr %12, align 2
%15 = load ptr, ptr %7, align 8
%16 = getelementptr inbounds i16, ptr %15, i64 0
%17 = load i16, ptr %16, align 2
%18 = zext i16 %17 to i32
%19 = ashr i32 %18, 1
%20 = trunc i32 %19 to i16
store i16 %20, ptr %13, align 2
%21 = load ptr, ptr %7, align 8
%22 = getelementptr inbounds i16, ptr %21, i64 1
%23 = load i16, ptr %22, align 2
store i16 %23, ptr %14, align 2
%24 = load i16, ptr %12, align 2
%25 = zext i16 %24 to i32
%26 = icmp slt i32 %25, 4
br i1 %26, label %27, label %32
27: ; preds = %6
%28 = load i16, ptr %12, align 2
%29 = load ptr, ptr %7, align 8
%30 = getelementptr inbounds i16, ptr %29, i64 2
%31 = call i32 @VDP_setPalette(i16 noundef zeroext %28, ptr noundef %30)
br label %32
32: ; preds = %27, %6
%33 = load ptr, ptr %7, align 8
%34 = getelementptr inbounds i16, ptr %33, i64 18
%35 = load i16, ptr %13, align 2
%36 = load i16, ptr %14, align 2
%37 = load i16, ptr %13, align 2
%38 = load i16, ptr %8, align 2
%39 = load i16, ptr %9, align 2
%40 = call i32 @BMP_getWritePointer(i16 noundef zeroext %38, i16 noundef zeroext %39)
%41 = load i16, ptr %10, align 2
%42 = load i16, ptr %11, align 2
%43 = call i32 @BMP_scale(ptr noundef %34, i16 noundef zeroext %35, i16 noundef zeroext %36, i16 noundef zeroext %37, i32 noundef %40, i16 noundef zeroext %41, i16 noundef zeroext %42, i32 noundef 128)
ret void
}
declare i32 @VDP_setPalette(i16 noundef zeroext, ptr noundef) #1
declare i32 @BMP_scale(ptr noundef, i16 noundef zeroext, i16 noundef zeroext, i16 noundef zeroext, i32 noundef, i16 noundef zeroext, i16 noundef zeroext, i32 noundef) #1
declare i32 @BMP_getWritePointer(i16 noundef zeroext, i16 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_5eor0tz.c"
target datalayout = "e-m:e-p270: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 @BMP_loadAndScaleGenBmp16(ptr noundef %0, i16 noundef zeroext %1, i16 noundef zeroext %2, i16 noundef zeroext %3, i16 noundef zeroext %4, i16 noundef zeroext %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca i16, align 2
%9 = alloca i16, align 2
%10 = alloca i16, align 2
%11 = alloca i16, align 2
%12 = alloca i16, align 2
%13 = alloca i16, align 2
%14 = alloca i16, align 2
store ptr %0, ptr %7, align 8
store i16 %1, ptr %8, align 2
store i16 %2, ptr %9, align 2
store i16 %3, ptr %10, align 2
store i16 %4, ptr %11, align 2
store i16 %5, ptr %12, align 2
%15 = load ptr, ptr %7, align 8
%16 = getelementptr inbounds i16, ptr %15, i64 0
%17 = load i16, ptr %16, align 2
%18 = zext i16 %17 to i32
%19 = ashr i32 %18, 1
%20 = trunc i32 %19 to i16
store i16 %20, ptr %13, align 2
%21 = load ptr, ptr %7, align 8
%22 = getelementptr inbounds i16, ptr %21, i64 1
%23 = load i16, ptr %22, align 2
store i16 %23, ptr %14, align 2
%24 = load i16, ptr %12, align 2
%25 = zext i16 %24 to i32
%26 = icmp slt i32 %25, 4
br i1 %26, label %27, label %32
27: ; preds = %6
%28 = load i16, ptr %12, align 2
%29 = load ptr, ptr %7, align 8
%30 = getelementptr inbounds i16, ptr %29, i64 2
%31 = call i32 @VDP_setPalette(i16 noundef zeroext %28, ptr noundef %30)
br label %32
32: ; preds = %27, %6
%33 = load ptr, ptr %7, align 8
%34 = getelementptr inbounds i16, ptr %33, i64 18
%35 = load i16, ptr %13, align 2
%36 = load i16, ptr %14, align 2
%37 = load i16, ptr %13, align 2
%38 = load i16, ptr %8, align 2
%39 = load i16, ptr %9, align 2
%40 = call i32 @BMP_getWritePointer(i16 noundef zeroext %38, i16 noundef zeroext %39)
%41 = load i16, ptr %10, align 2
%42 = load i16, ptr %11, align 2
%43 = call i32 @BMP_scale(ptr noundef %34, i16 noundef zeroext %35, i16 noundef zeroext %36, i16 noundef zeroext %37, i32 noundef %40, i16 noundef zeroext %41, i16 noundef zeroext %42, i32 noundef 128)
ret void
}
declare i32 @VDP_setPalette(i16 noundef zeroext, ptr noundef) #1
declare i32 @BMP_scale(ptr noundef, i16 noundef zeroext, i16 noundef zeroext, i16 noundef zeroext, i32 noundef, i16 noundef zeroext, i16 noundef zeroext, i32 noundef) #1
declare i32 @BMP_getWritePointer(i16 noundef zeroext, i16 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyhf12zi4.c'
source_filename = "/tmp/tmpyhf12zi4.c"
target datalayout = "e-m:e-p270: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 i32 0, align 4
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @read_single_line() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = call ptr @malloc(i32 noundef 100)
store ptr %8, ptr %2, align 8
%9 = load ptr, ptr %2, align 8
store ptr %9, ptr %3, align 8
store i64 100, ptr %4, align 8
%10 = load i64, ptr %4, align 8
store i64 %10, ptr %5, align 8
%11 = load ptr, ptr %2, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %14
13: ; preds = %0
store ptr null, ptr %1, align 8
br label %58
14: ; preds = %0
br label %15
15: ; preds = %54, %14
%16 = load i32, ptr @stdin, align 4
%17 = call i32 @fgetc(i32 noundef %16)
store i32 %17, ptr %6, align 4
%18 = load i32, ptr %6, align 4
%19 = load i32, ptr @EOF, align 4
%20 = icmp eq i32 %18, %19
br i1 %20, label %21, label %22
21: ; preds = %15
br label %55
22: ; preds = %15
%23 = load i64, ptr %5, align 8
%24 = add i64 %23, -1
store i64 %24, ptr %5, align 8
%25 = icmp eq i64 %24, 0
br i1 %25, label %26, label %46
26: ; preds = %22
%27 = load i64, ptr %4, align 8
store i64 %27, ptr %5, align 8
%28 = load ptr, ptr %3, align 8
%29 = load i64, ptr %4, align 8
%30 = mul i64 %29, 2
store i64 %30, ptr %4, align 8
%31 = call ptr @realloc(ptr noundef %28, i64 noundef %30)
store ptr %31, ptr %7, align 8
%32 = load ptr, ptr %7, align 8
%33 = icmp eq ptr %32, null
br i1 %33, label %34, label %37
34: ; preds = %26
%35 = load ptr, ptr %3, align 8
%36 = call i32 @free(ptr noundef %35)
store ptr null, ptr %1, align 8
br label %58
37: ; preds = %26
%38 = load ptr, ptr %7, align 8
%39 = load ptr, ptr %2, align 8
%40 = load ptr, ptr %3, align 8
%41 = ptrtoint ptr %39 to i64
%42 = ptrtoint ptr %40 to i64
%43 = sub i64 %41, %42
%44 = getelementptr inbounds i8, ptr %38, i64 %43
store ptr %44, ptr %2, align 8
%45 = load ptr, ptr %7, align 8
store ptr %45, ptr %3, align 8
br label %46
46: ; preds = %37, %22
%47 = load i32, ptr %6, align 4
%48 = trunc i32 %47 to i8
%49 = load ptr, ptr %2, align 8
%50 = getelementptr inbounds i8, ptr %49, i32 1
store ptr %50, ptr %2, align 8
store i8 %48, ptr %49, align 1
%51 = sext i8 %48 to i32
%52 = icmp eq i32 %51, 10
br i1 %52, label %53, label %54
53: ; preds = %46
br label %55
54: ; preds = %46
br label %15
55: ; preds = %53, %21
%56 = load ptr, ptr %2, align 8
store i8 0, ptr %56, align 1
%57 = load ptr, ptr %3, align 8
store ptr %57, ptr %1, align 8
br label %58
58: ; preds = %55, %34, %13
%59 = load ptr, ptr %1, align 8
ret ptr %59
}
declare ptr @malloc(i32 noundef) #1
declare i32 @fgetc(i32 noundef) #1
declare ptr @realloc(ptr noundef, i64 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/tmpyhf12zi4.c"
target datalayout = "e-m:e-p270: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 i32 0, align 4
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @read_single_line() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = call ptr @malloc(i32 noundef 100)
store ptr %8, ptr %2, align 8
%9 = load ptr, ptr %2, align 8
store ptr %9, ptr %3, align 8
store i64 100, ptr %4, align 8
%10 = load i64, ptr %4, align 8
store i64 %10, ptr %5, align 8
%11 = load ptr, ptr %2, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %14
13: ; preds = %0
store ptr null, ptr %1, align 8
br label %62
14: ; preds = %0
%15 = load i32, ptr @stdin, align 4
%16 = call i32 @fgetc(i32 noundef %15)
store i32 %16, ptr %6, align 4
%17 = load i32, ptr %6, align 4
%18 = load i32, ptr @EOF, align 4
%19 = icmp eq i32 %17, %18
br i1 %19, label %26, label %.lr.ph
.lr.ph: ; preds = %14
br label %27
20: ; preds = %51
%21 = load i32, ptr @stdin, align 4
%22 = call i32 @fgetc(i32 noundef %21)
store i32 %22, ptr %6, align 4
%23 = load i32, ptr %6, align 4
%24 = load i32, ptr @EOF, align 4
%25 = icmp eq i32 %23, %24
br i1 %25, label %._crit_edge, label %27
._crit_edge: ; preds = %20
br label %26
26: ; preds = %._crit_edge, %14
br label %59
27: ; preds = %.lr.ph, %20
%28 = load i64, ptr %5, align 8
%29 = add i64 %28, -1
store i64 %29, ptr %5, align 8
%30 = icmp eq i64 %29, 0
br i1 %30, label %31, label %51
31: ; preds = %27
%32 = load i64, ptr %4, align 8
store i64 %32, ptr %5, align 8
%33 = load ptr, ptr %3, align 8
%34 = load i64, ptr %4, align 8
%35 = mul i64 %34, 2
store i64 %35, ptr %4, align 8
%36 = call ptr @realloc(ptr noundef %33, i64 noundef %35)
store ptr %36, ptr %7, align 8
%37 = load ptr, ptr %7, align 8
%38 = icmp eq ptr %37, null
br i1 %38, label %39, label %42
39: ; preds = %31
%40 = load ptr, ptr %3, align 8
%41 = call i32 @free(ptr noundef %40)
store ptr null, ptr %1, align 8
br label %62
42: ; preds = %31
%43 = load ptr, ptr %7, align 8
%44 = load ptr, ptr %2, align 8
%45 = load ptr, ptr %3, align 8
%46 = ptrtoint ptr %44 to i64
%47 = ptrtoint ptr %45 to i64
%48 = sub i64 %46, %47
%49 = getelementptr inbounds i8, ptr %43, i64 %48
store ptr %49, ptr %2, align 8
%50 = load ptr, ptr %7, align 8
store ptr %50, ptr %3, align 8
br label %51
51: ; preds = %42, %27
%52 = load i32, ptr %6, align 4
%53 = trunc i32 %52 to i8
%54 = load ptr, ptr %2, align 8
%55 = getelementptr inbounds i8, ptr %54, i32 1
store ptr %55, ptr %2, align 8
store i8 %53, ptr %54, align 1
%56 = sext i8 %53 to i32
%57 = icmp eq i32 %56, 10
br i1 %57, label %58, label %20
58: ; preds = %51
br label %59
59: ; preds = %58, %26
%60 = load ptr, ptr %2, align 8
store i8 0, ptr %60, align 1
%61 = load ptr, ptr %3, align 8
store ptr %61, ptr %1, align 8
br label %62
62: ; preds = %59, %39, %13
%63 = load ptr, ptr %1, align 8
ret ptr %63
}
declare ptr @malloc(i32 noundef) #1
declare i32 @fgetc(i32 noundef) #1
declare ptr @realloc(ptr noundef, i64 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/tmpdwjb0hcf.c'
source_filename = "/tmp/tmpdwjb0hcf.c"
target datalayout = "e-m:e-p270: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"Podaj ilosc liczb \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"%lf\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 ptr, align 8
%5 = alloca i64, align 8
%6 = alloca double, align 8
store i32 0, ptr %1, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2)
%9 = load i32, ptr %2, align 4
%10 = zext i32 %9 to i64
%11 = call ptr @llvm.stacksave()
store ptr %11, ptr %4, align 8
%12 = alloca double, i64 %10, align 16
store i64 %10, ptr %5, align 8
store i32 0, ptr %3, align 4
br label %13
13: ; preds = %22, %0
%14 = load i32, ptr %3, align 4
%15 = load i32, ptr %2, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %17, label %25
17: ; preds = %13
%18 = load i32, ptr %3, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds double, ptr %12, i64 %19
%21 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %20)
br label %22
22: ; preds = %17
%23 = load i32, ptr %3, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %3, align 4
br label %13, !llvm.loop !6
25: ; preds = %13
%26 = load i32, ptr %2, align 4
%27 = call double @max_tab(ptr noundef %12, i32 noundef %26)
store double %27, ptr %6, align 8
%28 = load double, ptr %6, align 8
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %28)
%30 = load ptr, ptr %4, align 8
call void @llvm.stackrestore(ptr %30)
%31 = load i32, ptr %1, align 4
ret i32 %31
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ...) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare double @max_tab(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"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdwjb0hcf.c"
target datalayout = "e-m:e-p270: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"Podaj ilosc liczb \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"%lf\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 ptr, align 8
%5 = alloca i64, align 8
%6 = alloca double, align 8
store i32 0, ptr %1, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2)
%9 = load i32, ptr %2, align 4
%10 = zext i32 %9 to i64
%11 = call ptr @llvm.stacksave()
store ptr %11, ptr %4, align 8
%12 = alloca double, i64 %10, align 16
store i64 %10, ptr %5, align 8
store i32 0, ptr %3, align 4
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr %2, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %.lr.ph, label %27
.lr.ph: ; preds = %0
br label %16
16: ; preds = %.lr.ph, %21
%17 = load i32, ptr %3, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds double, ptr %12, i64 %18
%20 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %19)
br label %21
21: ; preds = %16
%22 = load i32, ptr %3, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %3, align 4
%24 = load i32, ptr %3, align 4
%25 = load i32, ptr %2, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %27
27: ; preds = %._crit_edge, %0
%28 = load i32, ptr %2, align 4
%29 = call double @max_tab(ptr noundef %12, i32 noundef %28)
store double %29, ptr %6, align 8
%30 = load double, ptr %6, align 8
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %30)
%32 = load ptr, ptr %4, align 8
call void @llvm.stackrestore(ptr %32)
%33 = load i32, ptr %1, align 4
ret i32 %33
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ...) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare double @max_tab(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"}
|
; ModuleID = '/tmp/tmpbo1nmju6.c'
source_filename = "/tmp/tmpbo1nmju6.c"
target datalayout = "e-m:e-p270: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/tmpbo1nmju6.c"
target datalayout = "e-m:e-p270: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/tmpuho3_exc.c'
source_filename = "/tmp/tmpuho3_exc.c"
target datalayout = "e-m:e-p270: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/tmpuho3_exc.c"
target datalayout = "e-m:e-p270: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/tmpzx80a707.c'
source_filename = "/tmp/tmpzx80a707.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"list size: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca ptr, align 8
%2 = call ptr @malloc(i32 noundef 16)
store ptr %2, ptr %1, align 8
%3 = load ptr, ptr %1, align 8
%4 = getelementptr inbounds i32, ptr %3, i64 0
store i32 0, ptr %4, align 4
%5 = load ptr, ptr %1, align 8
%6 = getelementptr inbounds i32, ptr %5, i64 1
store i32 8, ptr %6, align 4
%7 = load ptr, ptr %1, align 8
%8 = getelementptr inbounds i32, ptr %7, i64 2
store i32 5, ptr %8, align 4
%9 = load ptr, ptr %1, align 8
%10 = getelementptr inbounds i32, ptr %9, i64 3
store i32 3, ptr %10, align 4
%11 = call i32 @printf(ptr noundef @.str, i32 noundef 4)
%12 = call i32 @_print_list(ptr noundef %1, i32 noundef 4)
%13 = load ptr, ptr %1, align 8
%14 = call i32 @free(ptr noundef %13)
ret i32 0
}
declare ptr @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @_print_list(ptr 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"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzx80a707.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"list size: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca ptr, align 8
%2 = call ptr @malloc(i32 noundef 16)
store ptr %2, ptr %1, align 8
%3 = load ptr, ptr %1, align 8
%4 = getelementptr inbounds i32, ptr %3, i64 0
store i32 0, ptr %4, align 4
%5 = load ptr, ptr %1, align 8
%6 = getelementptr inbounds i32, ptr %5, i64 1
store i32 8, ptr %6, align 4
%7 = load ptr, ptr %1, align 8
%8 = getelementptr inbounds i32, ptr %7, i64 2
store i32 5, ptr %8, align 4
%9 = load ptr, ptr %1, align 8
%10 = getelementptr inbounds i32, ptr %9, i64 3
store i32 3, ptr %10, align 4
%11 = call i32 @printf(ptr noundef @.str, i32 noundef 4)
%12 = call i32 @_print_list(ptr noundef %1, i32 noundef 4)
%13 = load ptr, ptr %1, align 8
%14 = call i32 @free(ptr noundef %13)
ret i32 0
}
declare ptr @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @_print_list(ptr 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"}
|
; ModuleID = '/tmp/tmpo3xic9eu.c'
source_filename = "/tmp/tmpo3xic9eu.c"
target datalayout = "e-m:e-p270: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 @titleToNumber(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
%7 = load ptr, ptr %2, align 8
%8 = call i32 @strlen(ptr noundef %7)
store i32 %8, ptr %5, align 4
%9 = load i32, ptr %5, align 4
%10 = sub nsw i32 %9, 1
store i32 %10, ptr %6, align 4
br label %11
11: ; preds = %30, %1
%12 = load i32, ptr %6, align 4
%13 = icmp sge i32 %12, 0
br i1 %13, label %14, label %33
14: ; preds = %11
%15 = load i32, ptr %4, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %4, align 4
%17 = call signext i8 @pow(i32 noundef 26, i32 noundef %15)
%18 = sext i8 %17 to i32
%19 = load ptr, ptr %2, align 8
%20 = load i32, ptr %6, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %19, i64 %21
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = sub nsw i32 %24, 65
%26 = add nsw i32 %25, 1
%27 = mul nsw i32 %18, %26
%28 = load i32, ptr %3, align 4
%29 = add nsw i32 %28, %27
store i32 %29, ptr %3, align 4
br label %30
30: ; preds = %14
%31 = load i32, ptr %6, align 4
%32 = add nsw i32 %31, -1
store i32 %32, ptr %6, align 4
br label %11, !llvm.loop !6
33: ; preds = %11
%34 = load i32, ptr %3, align 4
ret i32 %34
}
declare i32 @strlen(ptr noundef) #1
declare signext i8 @pow(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/tmpo3xic9eu.c"
target datalayout = "e-m:e-p270: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 @titleToNumber(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
%7 = load ptr, ptr %2, align 8
%8 = call i32 @strlen(ptr noundef %7)
store i32 %8, ptr %5, align 4
%9 = load i32, ptr %5, align 4
%10 = sub nsw i32 %9, 1
store i32 %10, ptr %6, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp sge i32 %11, 0
br i1 %12, label %.lr.ph, label %34
.lr.ph: ; preds = %1
br label %13
13: ; preds = %.lr.ph, %29
%14 = load i32, ptr %4, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %4, align 4
%16 = call signext i8 @pow(i32 noundef 26, i32 noundef %14)
%17 = sext i8 %16 to i32
%18 = load ptr, ptr %2, align 8
%19 = load i32, ptr %6, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i8, ptr %18, i64 %20
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = sub nsw i32 %23, 65
%25 = add nsw i32 %24, 1
%26 = mul nsw i32 %17, %25
%27 = load i32, ptr %3, align 4
%28 = add nsw i32 %27, %26
store i32 %28, ptr %3, align 4
br label %29
29: ; preds = %13
%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 = icmp sge i32 %32, 0
br i1 %33, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %29
br label %34
34: ; preds = %._crit_edge, %1
%35 = load i32, ptr %3, align 4
ret i32 %35
}
declare i32 @strlen(ptr noundef) #1
declare signext i8 @pow(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/tmp51ayt0bd.c'
source_filename = "/tmp/tmp51ayt0bd.c"
target datalayout = "e-m:e-p270: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/tmp51ayt0bd.c"
target datalayout = "e-m:e-p270: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/tmpyey8bqtg.c'
source_filename = "/tmp/tmpyey8bqtg.c"
target datalayout = "e-m:e-p270: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/tmpyey8bqtg.c"
target datalayout = "e-m:e-p270: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/tmp8xj4n3x9.c'
source_filename = "/tmp/tmp8xj4n3x9.c"
target datalayout = "e-m:e-p270: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 i32 0, align 4
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = load i32, ptr @stdin, align 4
%3 = call i32 @sd_solve(i32 noundef %2)
%4 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %4
}
declare i32 @sd_solve(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/tmp8xj4n3x9.c"
target datalayout = "e-m:e-p270: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 i32 0, align 4
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = load i32, ptr @stdin, align 4
%3 = call i32 @sd_solve(i32 noundef %2)
%4 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %4
}
declare i32 @sd_solve(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/tmpq3jul0ag.c'
source_filename = "/tmp/tmpq3jul0ag.c"
target datalayout = "e-m:e-p270: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/tmpq3jul0ag.c"
target datalayout = "e-m:e-p270: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/tmpgb423a57.c'
source_filename = "/tmp/tmpgb423a57.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [61 x i8] c"init: error running rc script, dropping to singleuser mode!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store i32 0, ptr %4, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%8 = call i32 (...) @execute_rc_scripts()
%9 = icmp ne i32 %8, 0
br i1 %9, label %14, label %10
10: ; preds = %3
%11 = load i32, ptr @stderr, align 4
%12 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str)
%13 = call i32 (...) @setup_singleuser_mode()
br label %16
14: ; preds = %3
%15 = call i32 (...) @read_inittab()
br label %16
16: ; preds = %14, %10
%17 = call i32 (...) @start_ttys()
%18 = call i32 (...) @wait_loop()
ret i32 0
}
declare i32 @execute_rc_scripts(...) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @setup_singleuser_mode(...) #1
declare i32 @read_inittab(...) #1
declare i32 @start_ttys(...) #1
declare i32 @wait_loop(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpgb423a57.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [61 x i8] c"init: error running rc script, dropping to singleuser mode!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store i32 0, ptr %4, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%8 = call i32 (...) @execute_rc_scripts()
%9 = icmp ne i32 %8, 0
br i1 %9, label %14, label %10
10: ; preds = %3
%11 = load i32, ptr @stderr, align 4
%12 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str)
%13 = call i32 (...) @setup_singleuser_mode()
br label %16
14: ; preds = %3
%15 = call i32 (...) @read_inittab()
br label %16
16: ; preds = %14, %10
%17 = call i32 (...) @start_ttys()
%18 = call i32 (...) @wait_loop()
ret i32 0
}
declare i32 @execute_rc_scripts(...) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @setup_singleuser_mode(...) #1
declare i32 @read_inittab(...) #1
declare i32 @start_ttys(...) #1
declare i32 @wait_loop(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpotrn_p12.c'
source_filename = "/tmp/tmpotrn_p12.c"
target datalayout = "e-m:e-p270: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/tmpotrn_p12.c"
target datalayout = "e-m:e-p270: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/tmpel2xe2p7.c'
source_filename = "/tmp/tmpel2xe2p7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"I am not sleeping!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sleep(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @printf(ptr noundef @.str)
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/tmpel2xe2p7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"I am not sleeping!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sleep(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @printf(ptr noundef @.str)
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/tmpzr842hbn.c'
source_filename = "/tmp/tmpzr842hbn.c"
target datalayout = "e-m:e-p270: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 @rgph_u32x3_jenkins2v_u8(i64 noundef %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
store i64 %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = call i32 @UINT32_C(i32 noundef -1640531527)
%8 = load ptr, ptr %6, align 8
%9 = getelementptr inbounds i32, ptr %8, i64 0
store i32 %7, ptr %9, align 4
%10 = call i32 @UINT32_C(i32 noundef -1640531527)
%11 = load ptr, ptr %6, align 8
%12 = getelementptr inbounds i32, ptr %11, i64 1
store i32 %10, ptr %12, align 4
%13 = load i64, ptr %5, align 8
%14 = trunc i64 %13 to i32
%15 = load ptr, ptr %6, align 8
%16 = getelementptr inbounds i32, ptr %15, i64 2
store i32 %14, ptr %16, align 4
%17 = load i64, ptr %4, align 8
%18 = load ptr, ptr %6, align 8
%19 = getelementptr inbounds i32, ptr %18, i64 0
%20 = load i32, ptr %19, align 4
%21 = sext i32 %20 to i64
%22 = add nsw i64 %21, %17
%23 = trunc i64 %22 to i32
store i32 %23, ptr %19, align 4
%24 = load ptr, ptr %6, align 8
%25 = getelementptr inbounds i32, ptr %24, i64 2
%26 = load i32, ptr %25, align 4
%27 = sext i32 %26 to i64
%28 = add i64 %27, 8
%29 = trunc i64 %28 to i32
store i32 %29, ptr %25, align 4
%30 = load ptr, ptr %6, align 8
%31 = call i32 @rgph_jenkins2_mix(ptr noundef %30)
ret void
}
declare i32 @UINT32_C(i32 noundef) #1
declare i32 @rgph_jenkins2_mix(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/tmpzr842hbn.c"
target datalayout = "e-m:e-p270: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 @rgph_u32x3_jenkins2v_u8(i64 noundef %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
store i64 %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = call i32 @UINT32_C(i32 noundef -1640531527)
%8 = load ptr, ptr %6, align 8
%9 = getelementptr inbounds i32, ptr %8, i64 0
store i32 %7, ptr %9, align 4
%10 = call i32 @UINT32_C(i32 noundef -1640531527)
%11 = load ptr, ptr %6, align 8
%12 = getelementptr inbounds i32, ptr %11, i64 1
store i32 %10, ptr %12, align 4
%13 = load i64, ptr %5, align 8
%14 = trunc i64 %13 to i32
%15 = load ptr, ptr %6, align 8
%16 = getelementptr inbounds i32, ptr %15, i64 2
store i32 %14, ptr %16, align 4
%17 = load i64, ptr %4, align 8
%18 = load ptr, ptr %6, align 8
%19 = getelementptr inbounds i32, ptr %18, i64 0
%20 = load i32, ptr %19, align 4
%21 = sext i32 %20 to i64
%22 = add nsw i64 %21, %17
%23 = trunc i64 %22 to i32
store i32 %23, ptr %19, align 4
%24 = load ptr, ptr %6, align 8
%25 = getelementptr inbounds i32, ptr %24, i64 2
%26 = load i32, ptr %25, align 4
%27 = sext i32 %26 to i64
%28 = add i64 %27, 8
%29 = trunc i64 %28 to i32
store i32 %29, ptr %25, align 4
%30 = load ptr, ptr %6, align 8
%31 = call i32 @rgph_jenkins2_mix(ptr noundef %30)
ret void
}
declare i32 @UINT32_C(i32 noundef) #1
declare i32 @rgph_jenkins2_mix(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/tmp5njujg2j.c'
source_filename = "/tmp/tmp5njujg2j.c"
target datalayout = "e-m:e-p270: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 @_pcouner_is_on() #0 {
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/tmp5njujg2j.c"
target datalayout = "e-m:e-p270: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 @_pcouner_is_on() #0 {
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/tmpyhj5rjgl.c'
source_filename = "/tmp/tmpyhj5rjgl.c"
target datalayout = "e-m:e-p270: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"%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"Hello World\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printHelloWorld() #0 {
%1 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1)
ret void
}
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/tmpyhj5rjgl.c"
target datalayout = "e-m:e-p270: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"%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"Hello World\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printHelloWorld() #0 {
%1 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1)
ret void
}
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/tmpoqzmpcqd.c'
source_filename = "/tmp/tmpoqzmpcqd.c"
target datalayout = "e-m:e-p270: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 @Sys_GetLastNetErrorString() #0 {
%1 = alloca i32, align 4
%2 = call i32 (...) @Sys_GetLastNetError()
store i32 %2, ptr %1, align 4
%3 = load i32, ptr %1, align 4
%4 = call ptr @strerror(i32 noundef %3)
ret ptr %4
}
declare i32 @Sys_GetLastNetError(...) #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/tmpoqzmpcqd.c"
target datalayout = "e-m:e-p270: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 @Sys_GetLastNetErrorString() #0 {
%1 = alloca i32, align 4
%2 = call i32 (...) @Sys_GetLastNetError()
store i32 %2, ptr %1, align 4
%3 = load i32, ptr %1, align 4
%4 = call ptr @strerror(i32 noundef %3)
ret ptr %4
}
declare i32 @Sys_GetLastNetError(...) #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/tmp028kmj1x.c'
source_filename = "/tmp/tmp028kmj1x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i32, double }
@acc_device_default = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [49 x i8] c"same_gang_vector + FAILED! sum=%d, known_sum=%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [49 x i8] c"same_gang_vector + execution time is :%.2lf: ms\0A\00", align 1
@.str.2 = private unnamed_addr constant [29 x i8] c"same_gang_vector + SUCCESS!\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 ptr, align 8
%10 = alloca %struct.timeval, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
store i32 0, ptr %1, align 4
store i32 1048576, ptr %7, align 4
store i32 0, ptr %8, align 4
%13 = load i32, ptr %7, align 4
%14 = sext i32 %13 to i64
%15 = mul i64 %14, 4
%16 = trunc i64 %15 to i32
%17 = call i64 @malloc(i32 noundef %16)
%18 = inttoptr i64 %17 to ptr
store ptr %18, ptr %9, align 8
%19 = load i32, ptr @acc_device_default, align 4
%20 = call i32 @acc_init(i32 noundef %19)
%21 = call i64 @time(i32 noundef 0)
%22 = trunc i64 %21 to i32
%23 = call i32 @srand(i32 noundef %22)
store i32 0, ptr %2, align 4
br label %24
24: ; preds = %36, %0
%25 = load i32, ptr %2, align 4
%26 = load i32, ptr %7, align 4
%27 = icmp slt i32 %25, %26
br i1 %27, label %28, label %39
28: ; preds = %24
%29 = call i32 (...) @rand()
%30 = srem i32 %29, 5
%31 = add nsw i32 %30, 1
%32 = load ptr, ptr %9, align 8
%33 = load i32, ptr %2, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i32, ptr %32, i64 %34
store i32 %31, ptr %35, align 4
br label %36
36: ; preds = %28
%37 = load i32, ptr %2, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %2, align 4
br label %24, !llvm.loop !6
39: ; preds = %24
store i32 0, ptr %5, align 4
%40 = call i32 @gettimeofday(ptr noundef %10, ptr noundef null)
%41 = getelementptr inbounds %struct.timeval, ptr %10, i32 0, i32 0
%42 = load i32, ptr %41, align 8
%43 = mul nsw i32 %42, 1000
%44 = sitofp i32 %43 to double
%45 = getelementptr inbounds %struct.timeval, ptr %10, i32 0, i32 1
%46 = load double, ptr %45, align 8
%47 = fdiv double %46, 1.000000e+03
%48 = fadd double %44, %47
store double %48, ptr %11, align 8
store i32 0, ptr %2, align 4
br label %49
49: ; preds = %61, %39
%50 = load i32, ptr %2, align 4
%51 = load i32, ptr %7, align 4
%52 = icmp slt i32 %50, %51
br i1 %52, label %53, label %64
53: ; preds = %49
%54 = load ptr, ptr %9, align 8
%55 = load i32, ptr %2, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i32, ptr %54, i64 %56
%58 = load i32, ptr %57, align 4
%59 = load i32, ptr %5, align 4
%60 = add nsw i32 %59, %58
store i32 %60, ptr %5, align 4
br label %61
61: ; preds = %53
%62 = load i32, ptr %2, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %2, align 4
br label %49, !llvm.loop !8
64: ; preds = %49
%65 = call i32 @gettimeofday(ptr noundef %10, ptr noundef null)
%66 = getelementptr inbounds %struct.timeval, ptr %10, i32 0, i32 0
%67 = load i32, ptr %66, align 8
%68 = mul nsw i32 %67, 1000
%69 = sitofp i32 %68 to double
%70 = getelementptr inbounds %struct.timeval, ptr %10, i32 0, i32 1
%71 = load double, ptr %70, align 8
%72 = fdiv double %71, 1.000000e+03
%73 = fadd double %69, %72
store double %73, ptr %12, align 8
store i32 0, ptr %6, align 4
store i32 0, ptr %2, align 4
br label %74
74: ; preds = %86, %64
%75 = load i32, ptr %2, align 4
%76 = load i32, ptr %7, align 4
%77 = icmp slt i32 %75, %76
br i1 %77, label %78, label %89
78: ; preds = %74
%79 = load ptr, ptr %9, align 8
%80 = load i32, ptr %2, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds i32, ptr %79, i64 %81
%83 = load i32, ptr %82, align 4
%84 = load i32, ptr %6, align 4
%85 = add nsw i32 %84, %83
store i32 %85, ptr %6, align 4
br label %86
86: ; preds = %78
%87 = load i32, ptr %2, align 4
%88 = add nsw i32 %87, 1
store i32 %88, ptr %2, align 4
br label %74, !llvm.loop !9
89: ; preds = %74
%90 = load i32, ptr %5, align 4
%91 = load i32, ptr %6, align 4
%92 = icmp ne i32 %90, %91
br i1 %92, label %93, label %99
93: ; preds = %89
%94 = load i32, ptr %8, align 4
%95 = add nsw i32 %94, 1
store i32 %95, ptr %8, align 4
%96 = load i32, ptr %5, align 4
%97 = load i32, ptr %6, align 4
%98 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %96, i32 noundef %97)
br label %99
99: ; preds = %93, %89
%100 = load double, ptr %12, align 8
%101 = load double, ptr %11, align 8
%102 = fsub double %100, %101
%103 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %102)
%104 = load i32, ptr %8, align 4
%105 = icmp eq i32 %104, 0
br i1 %105, label %106, label %108
106: ; preds = %99
%107 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %108
108: ; preds = %106, %99
%109 = load ptr, ptr %9, align 8
%110 = call i32 @free(ptr noundef %109)
%111 = load i32, ptr %1, align 4
ret i32 %111
}
declare i64 @malloc(i32 noundef) #1
declare i32 @acc_init(i32 noundef) #1
declare i32 @srand(i32 noundef) #1
declare i64 @time(i32 noundef) #1
declare i32 @rand(...) #1
declare i32 @gettimeofday(ptr noundef, ptr noundef) #1
declare i32 @printf(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp028kmj1x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i32, double }
@acc_device_default = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [49 x i8] c"same_gang_vector + FAILED! sum=%d, known_sum=%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [49 x i8] c"same_gang_vector + execution time is :%.2lf: ms\0A\00", align 1
@.str.2 = private unnamed_addr constant [29 x i8] c"same_gang_vector + SUCCESS!\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 ptr, align 8
%10 = alloca %struct.timeval, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
store i32 0, ptr %1, align 4
store i32 1048576, ptr %7, align 4
store i32 0, ptr %8, align 4
%13 = load i32, ptr %7, align 4
%14 = sext i32 %13 to i64
%15 = mul i64 %14, 4
%16 = trunc i64 %15 to i32
%17 = call i64 @malloc(i32 noundef %16)
%18 = inttoptr i64 %17 to ptr
store ptr %18, ptr %9, align 8
%19 = load i32, ptr @acc_device_default, align 4
%20 = call i32 @acc_init(i32 noundef %19)
%21 = call i64 @time(i32 noundef 0)
%22 = trunc i64 %21 to i32
%23 = call i32 @srand(i32 noundef %22)
store i32 0, ptr %2, align 4
%24 = load i32, ptr %2, align 4
%25 = load i32, ptr %7, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %.lr.ph, label %41
.lr.ph: ; preds = %0
br label %27
27: ; preds = %.lr.ph, %35
%28 = call i32 (...) @rand()
%29 = srem i32 %28, 5
%30 = add nsw i32 %29, 1
%31 = load ptr, ptr %9, align 8
%32 = load i32, ptr %2, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i32, ptr %31, i64 %33
store i32 %30, ptr %34, align 4
br label %35
35: ; preds = %27
%36 = load i32, ptr %2, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %2, align 4
%38 = load i32, ptr %2, align 4
%39 = load i32, ptr %7, align 4
%40 = icmp slt i32 %38, %39
br i1 %40, label %27, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %35
br label %41
41: ; preds = %._crit_edge, %0
store i32 0, ptr %5, align 4
%42 = call i32 @gettimeofday(ptr noundef %10, ptr noundef null)
%43 = getelementptr inbounds %struct.timeval, ptr %10, i32 0, i32 0
%44 = load i32, ptr %43, align 8
%45 = mul nsw i32 %44, 1000
%46 = sitofp i32 %45 to double
%47 = getelementptr inbounds %struct.timeval, ptr %10, i32 0, i32 1
%48 = load double, ptr %47, align 8
%49 = fdiv double %48, 1.000000e+03
%50 = fadd double %46, %49
store double %50, ptr %11, align 8
store i32 0, ptr %2, align 4
%51 = load i32, ptr %2, align 4
%52 = load i32, ptr %7, align 4
%53 = icmp slt i32 %51, %52
br i1 %53, label %.lr.ph2, label %68
.lr.ph2: ; preds = %41
br label %54
54: ; preds = %.lr.ph2, %62
%55 = load ptr, ptr %9, align 8
%56 = load i32, ptr %2, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i32, ptr %55, i64 %57
%59 = load i32, ptr %58, align 4
%60 = load i32, ptr %5, align 4
%61 = add nsw i32 %60, %59
store i32 %61, ptr %5, align 4
br label %62
62: ; preds = %54
%63 = load i32, ptr %2, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %2, align 4
%65 = load i32, ptr %2, align 4
%66 = load i32, ptr %7, align 4
%67 = icmp slt i32 %65, %66
br i1 %67, label %54, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %62
br label %68
68: ; preds = %._crit_edge3, %41
%69 = call i32 @gettimeofday(ptr noundef %10, ptr noundef null)
%70 = getelementptr inbounds %struct.timeval, ptr %10, i32 0, i32 0
%71 = load i32, ptr %70, align 8
%72 = mul nsw i32 %71, 1000
%73 = sitofp i32 %72 to double
%74 = getelementptr inbounds %struct.timeval, ptr %10, i32 0, i32 1
%75 = load double, ptr %74, align 8
%76 = fdiv double %75, 1.000000e+03
%77 = fadd double %73, %76
store double %77, ptr %12, align 8
store i32 0, ptr %6, align 4
store i32 0, ptr %2, align 4
%78 = load i32, ptr %2, align 4
%79 = load i32, ptr %7, align 4
%80 = icmp slt i32 %78, %79
br i1 %80, label %.lr.ph5, label %95
.lr.ph5: ; preds = %68
br label %81
81: ; preds = %.lr.ph5, %89
%82 = load ptr, ptr %9, align 8
%83 = load i32, ptr %2, align 4
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds i32, ptr %82, i64 %84
%86 = load i32, ptr %85, align 4
%87 = load i32, ptr %6, align 4
%88 = add nsw i32 %87, %86
store i32 %88, ptr %6, align 4
br label %89
89: ; preds = %81
%90 = load i32, ptr %2, align 4
%91 = add nsw i32 %90, 1
store i32 %91, ptr %2, align 4
%92 = load i32, ptr %2, align 4
%93 = load i32, ptr %7, align 4
%94 = icmp slt i32 %92, %93
br i1 %94, label %81, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %89
br label %95
95: ; preds = %._crit_edge6, %68
%96 = load i32, ptr %5, align 4
%97 = load i32, ptr %6, align 4
%98 = icmp ne i32 %96, %97
br i1 %98, label %99, label %105
99: ; preds = %95
%100 = load i32, ptr %8, align 4
%101 = add nsw i32 %100, 1
store i32 %101, ptr %8, align 4
%102 = load i32, ptr %5, align 4
%103 = load i32, ptr %6, align 4
%104 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %102, i32 noundef %103)
br label %105
105: ; preds = %99, %95
%106 = load double, ptr %12, align 8
%107 = load double, ptr %11, align 8
%108 = fsub double %106, %107
%109 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %108)
%110 = load i32, ptr %8, align 4
%111 = icmp eq i32 %110, 0
br i1 %111, label %112, label %114
112: ; preds = %105
%113 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %114
114: ; preds = %112, %105
%115 = load ptr, ptr %9, align 8
%116 = call i32 @free(ptr noundef %115)
%117 = load i32, ptr %1, align 4
ret i32 %117
}
declare i64 @malloc(i32 noundef) #1
declare i32 @acc_init(i32 noundef) #1
declare i32 @srand(i32 noundef) #1
declare i64 @time(i32 noundef) #1
declare i32 @rand(...) #1
declare i32 @gettimeofday(ptr noundef, ptr noundef) #1
declare i32 @printf(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpsfkqiwpk.c'
source_filename = "/tmp/tmpsfkqiwpk.c"
target datalayout = "e-m:e-p270: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/tmpsfkqiwpk.c"
target datalayout = "e-m:e-p270: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/tmp2qxsolta.c'
source_filename = "/tmp/tmp2qxsolta.c"
target datalayout = "e-m:e-p270: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 [68 x i8] c"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!$-_@\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fslittle_test_filename_gen(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store i64 0, ptr %6, align 8
store ptr @.str, ptr %7, align 8
%9 = load ptr, ptr %7, align 8
%10 = call i32 @strlen(ptr noundef %9)
store i32 %10, ptr %8, align 4
br label %11
11: ; preds = %2
br label %12
12: ; preds = %11
store i64 0, ptr %5, align 8
br label %13
13: ; preds = %29, %12
%14 = load i64, ptr %5, align 8
%15 = load i64, ptr %4, align 8
%16 = icmp ult i64 %14, %15
br i1 %16, label %17, label %32
17: ; preds = %13
%18 = call i32 (...) @rand()
%19 = load i32, ptr %8, align 4
%20 = srem i32 %18, %19
%21 = sext i32 %20 to i64
store i64 %21, ptr %6, align 8
%22 = load ptr, ptr %7, align 8
%23 = load i64, ptr %6, align 8
%24 = getelementptr inbounds i8, ptr %22, i64 %23
%25 = load i8, ptr %24, align 1
%26 = load ptr, ptr %3, align 8
%27 = load i64, ptr %5, align 8
%28 = getelementptr inbounds i8, ptr %26, i64 %27
store i8 %25, ptr %28, align 1
br label %29
29: ; preds = %17
%30 = load i64, ptr %5, align 8
%31 = add i64 %30, 1
store i64 %31, ptr %5, align 8
br label %13, !llvm.loop !6
32: ; preds = %13
ret i32 0
}
declare i32 @strlen(ptr noundef) #1
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2qxsolta.c"
target datalayout = "e-m:e-p270: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 [68 x i8] c"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!$-_@\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fslittle_test_filename_gen(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store i64 0, ptr %6, align 8
store ptr @.str, ptr %7, align 8
%9 = load ptr, ptr %7, align 8
%10 = call i32 @strlen(ptr noundef %9)
store i32 %10, ptr %8, align 4
br label %11
11: ; preds = %2
br label %12
12: ; preds = %11
store i64 0, ptr %5, align 8
%13 = load i64, ptr %5, align 8
%14 = load i64, ptr %4, align 8
%15 = icmp ult i64 %13, %14
br i1 %15, label %.lr.ph, label %34
.lr.ph: ; preds = %12
br label %16
16: ; preds = %.lr.ph, %28
%17 = call i32 (...) @rand()
%18 = load i32, ptr %8, align 4
%19 = srem i32 %17, %18
%20 = sext i32 %19 to i64
store i64 %20, ptr %6, align 8
%21 = load ptr, ptr %7, align 8
%22 = load i64, ptr %6, align 8
%23 = getelementptr inbounds i8, ptr %21, i64 %22
%24 = load i8, ptr %23, align 1
%25 = load ptr, ptr %3, align 8
%26 = load i64, ptr %5, align 8
%27 = getelementptr inbounds i8, ptr %25, i64 %26
store i8 %24, ptr %27, align 1
br label %28
28: ; preds = %16
%29 = load i64, ptr %5, align 8
%30 = add i64 %29, 1
store i64 %30, ptr %5, align 8
%31 = load i64, ptr %5, align 8
%32 = load i64, ptr %4, align 8
%33 = icmp ult i64 %31, %32
br i1 %33, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %28
br label %34
34: ; preds = %._crit_edge, %12
ret i32 0
}
declare i32 @strlen(ptr noundef) #1
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpdnm1i8za.c'
source_filename = "/tmp/tmpdnm1i8za.c"
target datalayout = "e-m:e-p270: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 @v_EepromWaitBusy(i16 noundef zeroext %0) #0 {
%2 = alloca i16, align 2
%3 = alloca i8, align 1
store i16 %0, ptr %2, align 2
store i8 0, ptr %3, align 1
br label %4
4: ; preds = %14, %1
%5 = load i16, ptr %2, align 2
%6 = zext i16 %5 to i32
%7 = add nsw i32 %6, 63
%8 = trunc i32 %7 to i16
%9 = call zeroext i8 @inb(i16 noundef zeroext %8)
store i8 %9, ptr %3, align 1
%10 = load i8, ptr %3, align 1
%11 = zext i8 %10 to i32
%12 = and i32 %11, 128
%13 = trunc i32 %12 to i8
store i8 %13, ptr %3, align 1
br label %14
14: ; preds = %4
%15 = load i8, ptr %3, align 1
%16 = zext i8 %15 to i32
%17 = icmp eq i32 %16, 128
br i1 %17, label %4, label %18, !llvm.loop !6
18: ; preds = %14
ret void
}
declare zeroext i8 @inb(i16 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdnm1i8za.c"
target datalayout = "e-m:e-p270: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 @v_EepromWaitBusy(i16 noundef zeroext %0) #0 {
%2 = alloca i16, align 2
%3 = alloca i8, align 1
store i16 %0, ptr %2, align 2
store i8 0, ptr %3, align 1
br label %4
4: ; preds = %14, %1
%5 = load i16, ptr %2, align 2
%6 = zext i16 %5 to i32
%7 = add nsw i32 %6, 63
%8 = trunc i32 %7 to i16
%9 = call zeroext i8 @inb(i16 noundef zeroext %8)
store i8 %9, ptr %3, align 1
%10 = load i8, ptr %3, align 1
%11 = zext i8 %10 to i32
%12 = and i32 %11, 128
%13 = trunc i32 %12 to i8
store i8 %13, ptr %3, align 1
br label %14
14: ; preds = %4
%15 = load i8, ptr %3, align 1
%16 = zext i8 %15 to i32
%17 = icmp eq i32 %16, 128
br i1 %17, label %4, label %18, !llvm.loop !6
18: ; preds = %14
ret void
}
declare zeroext i8 @inb(i16 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmply353e_7.c'
source_filename = "/tmp/tmply353e_7.c"
target datalayout = "e-m:e-p270: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 @nonfree_malloc(i64 noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store i64 %0, ptr %3, align 8
%6 = call ptr @sbrk(i64 noundef 0)
store ptr %6, ptr %4, align 8
%7 = load i64, ptr %3, align 8
%8 = call ptr @sbrk(i64 noundef %7)
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
%10 = icmp eq ptr %9, inttoptr (i64 -1 to ptr)
br i1 %10, label %11, label %12
11: ; preds = %1
store ptr null, ptr %2, align 8
br label %19
12: ; preds = %1
%13 = load ptr, ptr %4, align 8
%14 = load ptr, ptr %5, align 8
%15 = icmp eq ptr %13, %14
%16 = zext i1 %15 to i32
%17 = call i32 @assert(i32 noundef %16)
%18 = load ptr, ptr %4, align 8
store ptr %18, ptr %2, align 8
br label %19
19: ; preds = %12, %11
%20 = load ptr, ptr %2, align 8
ret ptr %20
}
declare ptr @sbrk(i64 noundef) #1
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmply353e_7.c"
target datalayout = "e-m:e-p270: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 @nonfree_malloc(i64 noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store i64 %0, ptr %3, align 8
%6 = call ptr @sbrk(i64 noundef 0)
store ptr %6, ptr %4, align 8
%7 = load i64, ptr %3, align 8
%8 = call ptr @sbrk(i64 noundef %7)
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
%10 = icmp eq ptr %9, inttoptr (i64 -1 to ptr)
br i1 %10, label %11, label %12
11: ; preds = %1
store ptr null, ptr %2, align 8
br label %19
12: ; preds = %1
%13 = load ptr, ptr %4, align 8
%14 = load ptr, ptr %5, align 8
%15 = icmp eq ptr %13, %14
%16 = zext i1 %15 to i32
%17 = call i32 @assert(i32 noundef %16)
%18 = load ptr, ptr %4, align 8
store ptr %18, ptr %2, align 8
br label %19
19: ; preds = %12, %11
%20 = load ptr, ptr %2, align 8
ret ptr %20
}
declare ptr @sbrk(i64 noundef) #1
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcw72m76v.c'
source_filename = "/tmp/tmpcw72m76v.c"
target datalayout = "e-m:e-p270: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/tmpcw72m76v.c"
target datalayout = "e-m:e-p270: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/tmpzzw0u2is.c'
source_filename = "/tmp/tmpzzw0u2is.c"
target datalayout = "e-m:e-p270: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"eeks\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ptracepreload_init() #0 {
%1 = call i32 (...) @getppid()
%2 = call i32 @prctl(i32 noundef 1499557217, i32 noundef %1, i32 noundef 0, i32 noundef 0, i32 noundef 0)
%3 = call i32 @puts(ptr noundef @.str)
ret i32 0
}
declare i32 @prctl(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @getppid(...) #1
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"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzzw0u2is.c"
target datalayout = "e-m:e-p270: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"eeks\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ptracepreload_init() #0 {
%1 = call i32 (...) @getppid()
%2 = call i32 @prctl(i32 noundef 1499557217, i32 noundef %1, i32 noundef 0, i32 noundef 0, i32 noundef 0)
%3 = call i32 @puts(ptr noundef @.str)
ret i32 0
}
declare i32 @prctl(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @getppid(...) #1
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"}
|
; ModuleID = '/tmp/tmphjbvvyl_.c'
source_filename = "/tmp/tmphjbvvyl_.c"
target datalayout = "e-m:e-p270: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 @USB_DIS_ISR_Stop() #0 {
%1 = call i32 (...) @USB_DIS_ISR_Disable()
ret void
}
declare i32 @USB_DIS_ISR_Disable(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmphjbvvyl_.c"
target datalayout = "e-m:e-p270: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 @USB_DIS_ISR_Stop() #0 {
%1 = call i32 (...) @USB_DIS_ISR_Disable()
ret void
}
declare i32 @USB_DIS_ISR_Disable(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmp31eq49mx.c'
source_filename = "/tmp/tmp31eq49mx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [21 x i8] c"usage: %s [options]\0A\00", align 1
@.str.1 = private unnamed_addr constant [247 x i8] c" -h this text\0A -i sensor sensor identifier\0A -d device serial device\0A -b rate device baudrate (default = 115200)\0A -t timeout wanted timeout in ms (default = 100ms)\0A -s value write value to sensor\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @show_help(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
%6 = load i32, ptr @stderr, align 4
%7 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %6, ptr noundef @.str.1)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp31eq49mx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [21 x i8] c"usage: %s [options]\0A\00", align 1
@.str.1 = private unnamed_addr constant [247 x i8] c" -h this text\0A -i sensor sensor identifier\0A -d device serial device\0A -b rate device baudrate (default = 115200)\0A -t timeout wanted timeout in ms (default = 100ms)\0A -s value write value to sensor\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @show_help(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
%6 = load i32, ptr @stderr, align 4
%7 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %6, ptr noundef @.str.1)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8kl6koom.c'
source_filename = "/tmp/tmp8kl6koom.c"
target datalayout = "e-m:e-p270: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/tmp8kl6koom.c"
target datalayout = "e-m:e-p270: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/tmpcjiatww8.c'
source_filename = "/tmp/tmpcjiatww8.c"
target datalayout = "e-m:e-p270: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/tmpcjiatww8.c"
target datalayout = "e-m:e-p270: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/tmpoxo6ihtz.c'
source_filename = "/tmp/tmpoxo6ihtz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpoxo6ihtz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppp04_l90.c'
source_filename = "/tmp/tmppp04_l90.c"
target datalayout = "e-m:e-p270: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 double @bgamma(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
store double %0, ptr %4, align 8
store double %1, ptr %5, align 8
store double 1.200000e+02, ptr %8, align 8
store double 6.000000e+00, ptr %13, align 8
store double 9.000000e-01, ptr %14, align 8
store double 1.200000e+01, ptr %15, align 8
store double 9.000000e-01, ptr %16, align 8
store double 1.000000e-01, ptr %17, align 8
%18 = load double, ptr %4, align 8
%19 = load double, ptr %5, align 8
%20 = fsub double %18, %19
store double %20, ptr %6, align 8
%21 = load double, ptr %6, align 8
%22 = fcmp olt double %21, 0.000000e+00
br i1 %22, label %26, label %23
23: ; preds = %2
%24 = load double, ptr %6, align 8
%25 = fcmp ogt double %24, 5.000000e+01
br i1 %25, label %26, label %27
26: ; preds = %23, %2
store double 0.000000e+00, ptr %3, align 8
br label %69
27: ; preds = %23
%28 = load double, ptr %13, align 8
%29 = load double, ptr %14, align 8
%30 = fmul double %28, %29
store double %30, ptr %11, align 8
%31 = load double, ptr %15, align 8
%32 = load double, ptr %16, align 8
%33 = fmul double %31, %32
store double %33, ptr %12, align 8
%34 = load double, ptr %6, align 8
%35 = load double, ptr %11, align 8
%36 = fdiv double %34, %35
%37 = load double, ptr %13, align 8
%38 = call double @pow(double noundef %36, double noundef %37) #3
%39 = load double, ptr %6, align 8
%40 = load double, ptr %11, align 8
%41 = fsub double %39, %40
%42 = fneg double %41
%43 = load double, ptr %14, align 8
%44 = fdiv double %42, %43
%45 = call double @exp(double noundef %44) #3
%46 = fmul double %38, %45
store double %46, ptr %9, align 8
%47 = load double, ptr %6, align 8
%48 = load double, ptr %12, align 8
%49 = fdiv double %47, %48
%50 = load double, ptr %15, align 8
%51 = call double @pow(double noundef %49, double noundef %50) #3
%52 = load double, ptr %6, align 8
%53 = load double, ptr %12, align 8
%54 = fsub double %52, %53
%55 = fneg double %54
%56 = load double, ptr %16, align 8
%57 = fdiv double %55, %56
%58 = call double @exp(double noundef %57) #3
%59 = fmul double %51, %58
store double %59, ptr %10, align 8
%60 = load double, ptr %9, align 8
%61 = load double, ptr %17, align 8
%62 = load double, ptr %10, align 8
%63 = fneg double %61
%64 = call double @llvm.fmuladd.f64(double %63, double %62, double %60)
store double %64, ptr %7, align 8
%65 = load double, ptr %8, align 8
%66 = load double, ptr %7, align 8
%67 = fdiv double %66, %65
store double %67, ptr %7, align 8
%68 = load double, ptr %7, align 8
store double %68, ptr %3, align 8
br label %69
69: ; preds = %27, %26
%70 = load double, ptr %3, align 8
ret double %70
}
; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #1
; Function Attrs: nounwind
declare double @exp(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmppp04_l90.c"
target datalayout = "e-m:e-p270: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 double @bgamma(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
store double %0, ptr %4, align 8
store double %1, ptr %5, align 8
store double 1.200000e+02, ptr %8, align 8
store double 6.000000e+00, ptr %13, align 8
store double 9.000000e-01, ptr %14, align 8
store double 1.200000e+01, ptr %15, align 8
store double 9.000000e-01, ptr %16, align 8
store double 1.000000e-01, ptr %17, align 8
%18 = load double, ptr %4, align 8
%19 = load double, ptr %5, align 8
%20 = fsub double %18, %19
store double %20, ptr %6, align 8
%21 = load double, ptr %6, align 8
%22 = fcmp olt double %21, 0.000000e+00
br i1 %22, label %26, label %23
23: ; preds = %2
%24 = load double, ptr %6, align 8
%25 = fcmp ogt double %24, 5.000000e+01
br i1 %25, label %26, label %27
26: ; preds = %23, %2
store double 0.000000e+00, ptr %3, align 8
br label %69
27: ; preds = %23
%28 = load double, ptr %13, align 8
%29 = load double, ptr %14, align 8
%30 = fmul double %28, %29
store double %30, ptr %11, align 8
%31 = load double, ptr %15, align 8
%32 = load double, ptr %16, align 8
%33 = fmul double %31, %32
store double %33, ptr %12, align 8
%34 = load double, ptr %6, align 8
%35 = load double, ptr %11, align 8
%36 = fdiv double %34, %35
%37 = load double, ptr %13, align 8
%38 = call double @pow(double noundef %36, double noundef %37) #3
%39 = load double, ptr %6, align 8
%40 = load double, ptr %11, align 8
%41 = fsub double %39, %40
%42 = fneg double %41
%43 = load double, ptr %14, align 8
%44 = fdiv double %42, %43
%45 = call double @exp(double noundef %44) #3
%46 = fmul double %38, %45
store double %46, ptr %9, align 8
%47 = load double, ptr %6, align 8
%48 = load double, ptr %12, align 8
%49 = fdiv double %47, %48
%50 = load double, ptr %15, align 8
%51 = call double @pow(double noundef %49, double noundef %50) #3
%52 = load double, ptr %6, align 8
%53 = load double, ptr %12, align 8
%54 = fsub double %52, %53
%55 = fneg double %54
%56 = load double, ptr %16, align 8
%57 = fdiv double %55, %56
%58 = call double @exp(double noundef %57) #3
%59 = fmul double %51, %58
store double %59, ptr %10, align 8
%60 = load double, ptr %9, align 8
%61 = load double, ptr %17, align 8
%62 = load double, ptr %10, align 8
%63 = fneg double %61
%64 = call double @llvm.fmuladd.f64(double %63, double %62, double %60)
store double %64, ptr %7, align 8
%65 = load double, ptr %8, align 8
%66 = load double, ptr %7, align 8
%67 = fdiv double %66, %65
store double %67, ptr %7, align 8
%68 = load double, ptr %7, align 8
store double %68, ptr %3, align 8
br label %69
69: ; preds = %27, %26
%70 = load double, ptr %3, align 8
ret double %70
}
; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #1
; Function Attrs: nounwind
declare double @exp(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpideu8tth.c'
source_filename = "/tmp/tmpideu8tth.c"
target datalayout = "e-m:e-p270: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 @config_change_read_marker(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load ptr, ptr %6, align 8
%10 = call i32 @gui_window_ask_refresh(i32 noundef 1)
ret void
}
declare i32 @gui_window_ask_refresh(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/tmpideu8tth.c"
target datalayout = "e-m:e-p270: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 @config_change_read_marker(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load ptr, ptr %6, align 8
%10 = call i32 @gui_window_ask_refresh(i32 noundef 1)
ret void
}
declare i32 @gui_window_ask_refresh(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/tmpq1jhie_v.c'
source_filename = "/tmp/tmpq1jhie_v.c"
target datalayout = "e-m:e-p270: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 [10 x i8] c"%d %d %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 i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %2, align 4
br label %7
7: ; preds = %51, %0
%8 = load i32, ptr %2, align 4
%9 = icmp slt i32 %8, 10
br i1 %9, label %10, label %54
10: ; preds = %7
store i32 1, ptr %3, align 4
br label %11
11: ; preds = %47, %10
%12 = load i32, ptr %3, align 4
%13 = icmp slt i32 %12, 10
br i1 %13, label %14, label %50
14: ; preds = %11
store i32 0, ptr %4, align 4
br label %15
15: ; preds = %43, %14
%16 = load i32, ptr %4, align 4
%17 = icmp slt i32 %16, 10
br i1 %17, label %18, label %46
18: ; preds = %15
%19 = load i32, ptr %2, align 4
%20 = mul nsw i32 100, %19
%21 = load i32, ptr %3, align 4
%22 = mul nsw i32 10, %21
%23 = add nsw i32 %20, %22
%24 = load i32, ptr %4, align 4
%25 = add nsw i32 %23, %24
store i32 %25, ptr %5, align 4
%26 = load i32, ptr %3, align 4
%27 = mul nsw i32 100, %26
%28 = load i32, ptr %4, align 4
%29 = mul nsw i32 10, %28
%30 = add nsw i32 %27, %29
%31 = load i32, ptr %4, align 4
%32 = add nsw i32 %30, %31
store i32 %32, ptr %6, align 4
%33 = load i32, ptr %5, align 4
%34 = load i32, ptr %6, align 4
%35 = add nsw i32 %33, %34
%36 = icmp eq i32 %35, 532
br i1 %36, label %37, label %42
37: ; preds = %18
%38 = load i32, ptr %2, align 4
%39 = load i32, ptr %3, align 4
%40 = load i32, ptr %4, align 4
%41 = call i32 @printf(ptr noundef @.str, i32 noundef %38, i32 noundef %39, i32 noundef %40)
br label %42
42: ; preds = %37, %18
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
br label %15, !llvm.loop !6
46: ; preds = %15
br label %47
47: ; preds = %46
%48 = load i32, ptr %3, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %3, align 4
br label %11, !llvm.loop !8
50: ; preds = %11
br label %51
51: ; preds = %50
%52 = load i32, ptr %2, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %2, align 4
br label %7, !llvm.loop !9
54: ; preds = %7
%55 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @printf(ptr noundef, i32 noundef, i32 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpq1jhie_v.c"
target datalayout = "e-m:e-p270: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 [10 x i8] c"%d %d %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 i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %2, align 4
%7 = load i32, ptr %2, align 4
%8 = icmp slt i32 %7, 10
br i1 %8, label %.lr.ph5, label %57
.lr.ph5: ; preds = %0
br label %9
9: ; preds = %.lr.ph5, %52
store i32 1, ptr %3, align 4
%10 = load i32, ptr %3, align 4
%11 = icmp slt i32 %10, 10
br i1 %11, label %.lr.ph2, label %51
.lr.ph2: ; preds = %9
br label %12
12: ; preds = %.lr.ph2, %46
store i32 0, ptr %4, align 4
%13 = load i32, ptr %4, align 4
%14 = icmp slt i32 %13, 10
br i1 %14, label %.lr.ph, label %45
.lr.ph: ; preds = %12
br label %15
15: ; preds = %.lr.ph, %40
%16 = load i32, ptr %2, align 4
%17 = mul nsw i32 100, %16
%18 = load i32, ptr %3, align 4
%19 = mul nsw i32 10, %18
%20 = add nsw i32 %17, %19
%21 = load i32, ptr %4, align 4
%22 = add nsw i32 %20, %21
store i32 %22, ptr %5, align 4
%23 = load i32, ptr %3, align 4
%24 = mul nsw i32 100, %23
%25 = load i32, ptr %4, align 4
%26 = mul nsw i32 10, %25
%27 = add nsw i32 %24, %26
%28 = load i32, ptr %4, align 4
%29 = add nsw i32 %27, %28
store i32 %29, ptr %6, align 4
%30 = load i32, ptr %5, align 4
%31 = load i32, ptr %6, align 4
%32 = add nsw i32 %30, %31
%33 = icmp eq i32 %32, 532
br i1 %33, label %34, label %39
34: ; preds = %15
%35 = load i32, ptr %2, align 4
%36 = load i32, ptr %3, align 4
%37 = load i32, ptr %4, align 4
%38 = call i32 @printf(ptr noundef @.str, i32 noundef %35, i32 noundef %36, i32 noundef %37)
br label %39
39: ; preds = %34, %15
br label %40
40: ; preds = %39
%41 = load i32, ptr %4, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %4, align 4
%43 = load i32, ptr %4, align 4
%44 = icmp slt i32 %43, 10
br i1 %44, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %40
br label %45
45: ; preds = %._crit_edge, %12
br label %46
46: ; preds = %45
%47 = load i32, ptr %3, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %3, align 4
%49 = load i32, ptr %3, align 4
%50 = icmp slt i32 %49, 10
br i1 %50, label %12, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %46
br label %51
51: ; preds = %._crit_edge3, %9
br label %52
52: ; preds = %51
%53 = load i32, ptr %2, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %2, align 4
%55 = load i32, ptr %2, align 4
%56 = icmp slt i32 %55, 10
br i1 %56, label %9, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %52
br label %57
57: ; preds = %._crit_edge6, %0
%58 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @printf(ptr noundef, i32 noundef, i32 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpbtmx3hg1.c'
source_filename = "/tmp/tmpbtmx3hg1.c"
target datalayout = "e-m:e-p270: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 [43 x i8] c"/* DIY : Student has to implement this */\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @start_randomcounting(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @printf(ptr noundef @.str)
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/tmpbtmx3hg1.c"
target datalayout = "e-m:e-p270: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 [43 x i8] c"/* DIY : Student has to implement this */\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @start_randomcounting(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @printf(ptr noundef @.str)
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/tmp8lvmlmhk.c'
source_filename = "/tmp/tmp8lvmlmhk.c"
target datalayout = "e-m:e-p270: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 [31 x i8] c"HTTP/1.1 501 Not Implemented\0D\0A\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"Content-type: text/html\0A\0A\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"<html>\0A\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c" <body>\0A\00", align 1
@.str.4 = private unnamed_addr constant [32 x i8] c" <h1>501 Not Implemented</h1>\0A\00", align 1
@.str.5 = private unnamed_addr constant [56 x i8] c" <p>The HTTP request you made is not implemented.</p>\0A\00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @unimplmented_response(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%7 = load i64, ptr %4, align 8
%8 = call ptr @llvm.stacksave()
store ptr %8, ptr %5, align 8
%9 = alloca i8, i64 %7, align 16
store i64 %7, ptr %6, align 8
%10 = load i64, ptr %4, align 8
%11 = call i32 @bzero(ptr noundef %9, i64 noundef %10)
%12 = call i32 @strncpy(ptr noundef %9, ptr noundef @.str, i32 noundef 30)
%13 = call i32 @strncat(ptr noundef %9, ptr noundef @.str.1, i32 noundef 25)
%14 = call i32 @strncat(ptr noundef %9, ptr noundef @.str.2, i32 noundef 7)
%15 = call i32 @strncat(ptr noundef %9, ptr noundef @.str.3, i32 noundef 8)
%16 = call i32 @strncat(ptr noundef %9, ptr noundef @.str.4, i32 noundef 31)
%17 = call i32 @strncat(ptr noundef %9, ptr noundef @.str.5, i32 noundef 55)
%18 = call i32 @strncat(ptr noundef %9, ptr noundef @.str.3, i32 noundef 8)
%19 = call i32 @strncat(ptr noundef %9, ptr noundef @.str.2, i32 noundef 7)
%20 = call i32 @strncat(ptr noundef %9, ptr noundef @.str.6, i32 noundef 2)
%21 = call i32 @strncat(ptr noundef %9, ptr noundef @.str.6, i32 noundef 2)
%22 = load ptr, ptr %3, align 8
%23 = load i64, ptr %4, align 8
%24 = call i32 @memcpy(ptr noundef %22, ptr noundef %9, i64 noundef %23)
%25 = load ptr, ptr %5, align 8
call void @llvm.stackrestore(ptr %25)
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @bzero(ptr noundef, i64 noundef) #2
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @strncat(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @memcpy(ptr noundef, ptr noundef, i64 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"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8lvmlmhk.c"
target datalayout = "e-m:e-p270: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 [31 x i8] c"HTTP/1.1 501 Not Implemented\0D\0A\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"Content-type: text/html\0A\0A\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"<html>\0A\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c" <body>\0A\00", align 1
@.str.4 = private unnamed_addr constant [32 x i8] c" <h1>501 Not Implemented</h1>\0A\00", align 1
@.str.5 = private unnamed_addr constant [56 x i8] c" <p>The HTTP request you made is not implemented.</p>\0A\00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @unimplmented_response(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%7 = load i64, ptr %4, align 8
%8 = call ptr @llvm.stacksave()
store ptr %8, ptr %5, align 8
%9 = alloca i8, i64 %7, align 16
store i64 %7, ptr %6, align 8
%10 = load i64, ptr %4, align 8
%11 = call i32 @bzero(ptr noundef %9, i64 noundef %10)
%12 = call i32 @strncpy(ptr noundef %9, ptr noundef @.str, i32 noundef 30)
%13 = call i32 @strncat(ptr noundef %9, ptr noundef @.str.1, i32 noundef 25)
%14 = call i32 @strncat(ptr noundef %9, ptr noundef @.str.2, i32 noundef 7)
%15 = call i32 @strncat(ptr noundef %9, ptr noundef @.str.3, i32 noundef 8)
%16 = call i32 @strncat(ptr noundef %9, ptr noundef @.str.4, i32 noundef 31)
%17 = call i32 @strncat(ptr noundef %9, ptr noundef @.str.5, i32 noundef 55)
%18 = call i32 @strncat(ptr noundef %9, ptr noundef @.str.3, i32 noundef 8)
%19 = call i32 @strncat(ptr noundef %9, ptr noundef @.str.2, i32 noundef 7)
%20 = call i32 @strncat(ptr noundef %9, ptr noundef @.str.6, i32 noundef 2)
%21 = call i32 @strncat(ptr noundef %9, ptr noundef @.str.6, i32 noundef 2)
%22 = load ptr, ptr %3, align 8
%23 = load i64, ptr %4, align 8
%24 = call i32 @memcpy(ptr noundef %22, ptr noundef %9, i64 noundef %23)
%25 = load ptr, ptr %5, align 8
call void @llvm.stackrestore(ptr %25)
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @bzero(ptr noundef, i64 noundef) #2
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @strncat(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @memcpy(ptr noundef, ptr noundef, i64 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"}
|
; ModuleID = '/tmp/tmpxqbx896q.c'
source_filename = "/tmp/tmpxqbx896q.c"
target datalayout = "e-m:e-p270: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/tmpxqbx896q.c"
target datalayout = "e-m:e-p270: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/tmpj7yo57ka.c'
source_filename = "/tmp/tmpj7yo57ka.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"abc35*ghj+*+\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"Result: %s \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call ptr @analyse(ptr noundef %4)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @printf(ptr noundef @.str.1, ptr noundef %6)
ret i32 0
}
declare ptr @analyse(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/tmpj7yo57ka.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"abc35*ghj+*+\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"Result: %s \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call ptr @analyse(ptr noundef %4)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @printf(ptr noundef @.str.1, ptr noundef %6)
ret i32 0
}
declare ptr @analyse(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/tmp7gax946v.c'
source_filename = "/tmp/tmp7gax946v.c"
target datalayout = "e-m:e-p270: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/tmp7gax946v.c"
target datalayout = "e-m:e-p270: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/tmp6aaqmzj3.c'
source_filename = "/tmp/tmp6aaqmzj3.c"
target datalayout = "e-m:e-p270: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/tmp6aaqmzj3.c"
target datalayout = "e-m:e-p270: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/tmpz6r7tvv1.c'
source_filename = "/tmp/tmpz6r7tvv1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i8 @iowReadByte() #0 {
%1 = call zeroext i8 @iowTouchByte(i32 noundef 255)
ret i8 %1
}
declare zeroext i8 @iowTouchByte(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/tmpz6r7tvv1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i8 @iowReadByte() #0 {
%1 = call zeroext i8 @iowTouchByte(i32 noundef 255)
ret i8 %1
}
declare zeroext i8 @iowTouchByte(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"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.