llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmpvujlcydj.c'
source_filename = "/tmp/tmpvujlcydj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%lld\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"-1\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
store i32 0, ptr %1, align 4
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %4)
br label %6
6: ; preds = %53, %0
%7 = load i32, ptr %4, align 4
%8 = icmp sgt i32 %7, 0
br i1 %8, label %9, label %56
9: ; preds = %6
%10 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%11 = load i32, ptr %3, align 4
%12 = srem i32 %11, 3
store i32 %12, ptr %2, align 4
%13 = load i32, ptr %2, align 4
%14 = icmp eq i32 %13, 2
br i1 %14, label %15, label %26
15: ; preds = %9
%16 = load i32, ptr %3, align 4
%17 = sub nsw i32 %16, 5
%18 = icmp sgt i32 %17, -1
br i1 %18, label %19, label %26
19: ; preds = %15
%20 = load i32, ptr %3, align 4
%21 = sub nsw i32 %20, 5
%22 = call i32 @dig(i32 noundef %21)
%23 = mul nsw i32 %22, 100000
%24 = add nsw i32 %23, 33333
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %24)
br label %52
26: ; preds = %15, %9
%27 = load i32, ptr %2, align 4
%28 = icmp eq i32 %27, 0
br i1 %28, label %29, label %33
29: ; preds = %26
%30 = load i32, ptr %3, align 4
%31 = call i32 @dig(i32 noundef %30)
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %31)
br label %51
33: ; preds = %26
%34 = load i32, ptr %2, align 4
%35 = icmp eq i32 %34, 1
br i1 %35, label %36, label %48
36: ; preds = %33
%37 = load i32, ptr %3, align 4
%38 = sub nsw i32 %37, 10
%39 = icmp sgt i32 %38, -1
br i1 %39, label %40, label %48
40: ; preds = %36
%41 = load i32, ptr %3, align 4
%42 = sub nsw i32 %41, 10
%43 = call i32 @dig(i32 noundef %42)
%44 = mul nsw i32 %43, 1000000000
%45 = sext i32 %44 to i64
%46 = add nsw i64 %45, 3333333333
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef %46)
br label %50
48: ; preds = %36, %33
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %50
50: ; preds = %48, %40
br label %51
51: ; preds = %50, %29
br label %52
52: ; preds = %51, %19
br label %53
53: ; preds = %52
%54 = load i32, ptr %4, align 4
%55 = add nsw i32 %54, -1
store i32 %55, ptr %4, align 4
br label %6, !llvm.loop !6
56: ; preds = %6
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @dig(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/tmpvujlcydj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%lld\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"-1\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
store i32 0, ptr %1, align 4
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %4)
%6 = load i32, ptr %4, align 4
%7 = icmp sgt i32 %6, 0
br i1 %7, label %.lr.ph, label %57
.lr.ph: ; preds = %0
br label %8
8: ; preds = %.lr.ph, %52
%9 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%10 = load i32, ptr %3, align 4
%11 = srem i32 %10, 3
store i32 %11, ptr %2, align 4
%12 = load i32, ptr %2, align 4
%13 = icmp eq i32 %12, 2
br i1 %13, label %14, label %25
14: ; preds = %8
%15 = load i32, ptr %3, align 4
%16 = sub nsw i32 %15, 5
%17 = icmp sgt i32 %16, -1
br i1 %17, label %18, label %25
18: ; preds = %14
%19 = load i32, ptr %3, align 4
%20 = sub nsw i32 %19, 5
%21 = call i32 @dig(i32 noundef %20)
%22 = mul nsw i32 %21, 100000
%23 = add nsw i32 %22, 33333
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %23)
br label %51
25: ; preds = %14, %8
%26 = load i32, ptr %2, align 4
%27 = icmp eq i32 %26, 0
br i1 %27, label %28, label %32
28: ; preds = %25
%29 = load i32, ptr %3, align 4
%30 = call i32 @dig(i32 noundef %29)
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %30)
br label %50
32: ; preds = %25
%33 = load i32, ptr %2, align 4
%34 = icmp eq i32 %33, 1
br i1 %34, label %35, label %47
35: ; preds = %32
%36 = load i32, ptr %3, align 4
%37 = sub nsw i32 %36, 10
%38 = icmp sgt i32 %37, -1
br i1 %38, label %39, label %47
39: ; preds = %35
%40 = load i32, ptr %3, align 4
%41 = sub nsw i32 %40, 10
%42 = call i32 @dig(i32 noundef %41)
%43 = mul nsw i32 %42, 1000000000
%44 = sext i32 %43 to i64
%45 = add nsw i64 %44, 3333333333
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef %45)
br label %49
47: ; preds = %35, %32
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %49
49: ; preds = %47, %39
br label %50
50: ; preds = %49, %28
br label %51
51: ; preds = %50, %18
br label %52
52: ; preds = %51
%53 = load i32, ptr %4, align 4
%54 = add nsw i32 %53, -1
store i32 %54, ptr %4, align 4
%55 = load i32, ptr %4, align 4
%56 = icmp sgt i32 %55, 0
br i1 %56, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %52
br label %57
57: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @dig(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/tmp898r2bhv.c'
source_filename = "/tmp/tmp898r2bhv.c"
target datalayout = "e-m:e-p270: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 @_getopt_long_r(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
store i32 %0, ptr %7, align 4
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%13 = load i32, ptr %7, align 4
%14 = load ptr, ptr %8, align 8
%15 = load ptr, ptr %9, align 8
%16 = load ptr, ptr %10, align 8
%17 = load ptr, ptr %11, align 8
%18 = load ptr, ptr %12, align 8
%19 = call i32 @_getopt_internal_r(i32 noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, i32 noundef 0, ptr noundef %18)
ret i32 %19
}
declare i32 @_getopt_internal_r(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, 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/tmp898r2bhv.c"
target datalayout = "e-m:e-p270: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 @_getopt_long_r(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
store i32 %0, ptr %7, align 4
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%13 = load i32, ptr %7, align 4
%14 = load ptr, ptr %8, align 8
%15 = load ptr, ptr %9, align 8
%16 = load ptr, ptr %10, align 8
%17 = load ptr, ptr %11, align 8
%18 = load ptr, ptr %12, align 8
%19 = call i32 @_getopt_internal_r(i32 noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, i32 noundef 0, ptr noundef %18)
ret i32 %19
}
declare i32 @_getopt_internal_r(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, 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/tmp9rsa9a9m.c'
source_filename = "/tmp/tmp9rsa9a9m.c"
target datalayout = "e-m:e-p270: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 @comp(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %4, align 8
%7 = load ptr, ptr %6, align 8
%8 = load ptr, ptr %5, align 8
%9 = load ptr, ptr %8, align 8
%10 = call i64 @strcmp(ptr noundef %7, ptr noundef %9)
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %2
store i32 0, ptr %3, align 4
br label %29
13: ; preds = %2
%14 = load ptr, ptr %4, align 8
%15 = load ptr, ptr %14, align 8
%16 = load ptr, ptr %5, align 8
%17 = load ptr, ptr %16, align 8
%18 = call i64 @strcmp(ptr noundef %15, ptr noundef %17)
%19 = icmp sgt i64 %18, 0
br i1 %19, label %20, label %21
20: ; preds = %13
store i32 1, ptr %3, align 4
br label %29
21: ; preds = %13
%22 = load ptr, ptr %4, align 8
%23 = load ptr, ptr %22, align 8
%24 = load ptr, ptr %5, align 8
%25 = load ptr, ptr %24, align 8
%26 = call i64 @strcmp(ptr noundef %23, ptr noundef %25)
%27 = icmp slt i64 %26, 0
br i1 %27, label %28, label %29
28: ; preds = %21
store i32 -1, ptr %3, align 4
br label %29
29: ; preds = %12, %20, %28, %21
%30 = load i32, ptr %3, align 4
ret i32 %30
}
declare i64 @strcmp(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/tmp9rsa9a9m.c"
target datalayout = "e-m:e-p270: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 @comp(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %4, align 8
%7 = load ptr, ptr %6, align 8
%8 = load ptr, ptr %5, align 8
%9 = load ptr, ptr %8, align 8
%10 = call i64 @strcmp(ptr noundef %7, ptr noundef %9)
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %2
store i32 0, ptr %3, align 4
br label %29
13: ; preds = %2
%14 = load ptr, ptr %4, align 8
%15 = load ptr, ptr %14, align 8
%16 = load ptr, ptr %5, align 8
%17 = load ptr, ptr %16, align 8
%18 = call i64 @strcmp(ptr noundef %15, ptr noundef %17)
%19 = icmp sgt i64 %18, 0
br i1 %19, label %20, label %21
20: ; preds = %13
store i32 1, ptr %3, align 4
br label %29
21: ; preds = %13
%22 = load ptr, ptr %4, align 8
%23 = load ptr, ptr %22, align 8
%24 = load ptr, ptr %5, align 8
%25 = load ptr, ptr %24, align 8
%26 = call i64 @strcmp(ptr noundef %23, ptr noundef %25)
%27 = icmp slt i64 %26, 0
br i1 %27, label %28, label %29
28: ; preds = %21
store i32 -1, ptr %3, align 4
br label %29
29: ; preds = %28, %21, %20, %12
%30 = load i32, ptr %3, align 4
ret i32 %30
}
declare i64 @strcmp(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/tmpn6ekzgrk.c'
source_filename = "/tmp/tmpn6ekzgrk.c"
target datalayout = "e-m:e-p270: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 @stdlib_ndarray_get_ptr_uint64(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 i32, ptr %5, align 4
%7 = load ptr, ptr %4, align 8
store i32 %6, ptr %7, align 4
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpn6ekzgrk.c"
target datalayout = "e-m:e-p270: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 @stdlib_ndarray_get_ptr_uint64(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 i32, ptr %5, align 4
%7 = load ptr, ptr %4, align 8
store i32 %6, ptr %7, align 4
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpmeiqx4ev.c'
source_filename = "/tmp/tmpmeiqx4ev.c"
target datalayout = "e-m:e-p270: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/tmpmeiqx4ev.c"
target datalayout = "e-m:e-p270: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/tmp8bmfexm8.c'
source_filename = "/tmp/tmp8bmfexm8.c"
target datalayout = "e-m:e-p270: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 @op_set(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
store ptr %7, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
store ptr %8, ptr %6, align 8
%9 = load ptr, ptr %6, align 8
%10 = load i32, ptr %9, align 4
%11 = shl i32 1, %10
%12 = load ptr, ptr %5, align 8
%13 = load i32, ptr %12, align 4
%14 = or i32 %13, %11
store i32 %14, ptr %12, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8bmfexm8.c"
target datalayout = "e-m:e-p270: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 @op_set(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
store ptr %7, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
store ptr %8, ptr %6, align 8
%9 = load ptr, ptr %6, align 8
%10 = load i32, ptr %9, align 4
%11 = shl i32 1, %10
%12 = load ptr, ptr %5, align 8
%13 = load i32, ptr %12, align 4
%14 = or i32 %13, %11
store i32 %14, ptr %12, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5wt2dny2.c'
source_filename = "/tmp/tmp5wt2dny2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_2__ = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XPointerMovedEvent_state(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0
store i32 %5, ptr %7, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5wt2dny2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_2__ = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XPointerMovedEvent_state(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0
store i32 %5, ptr %7, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8ahe1u_4.c'
source_filename = "/tmp/tmp8ahe1u_4.c"
target datalayout = "e-m:e-p270: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"memory error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @join_path(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%9 = load ptr, ptr %4, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %14
11: ; preds = %2
%12 = load ptr, ptr %5, align 8
%13 = icmp ne ptr %12, null
br label %14
14: ; preds = %11, %2
%15 = phi i1 [ false, %2 ], [ %13, %11 ]
%16 = zext i1 %15 to i32
%17 = call i32 @assert(i32 noundef %16)
%18 = load ptr, ptr %4, align 8
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp ne i32 %20, 0
br i1 %21, label %27, label %22
22: ; preds = %14
%23 = load ptr, ptr %5, align 8
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp ne i32 %25, 0
br label %27
27: ; preds = %22, %14
%28 = phi i1 [ true, %14 ], [ %26, %22 ]
%29 = zext i1 %28 to i32
%30 = call i32 @assert(i32 noundef %29)
%31 = load ptr, ptr %4, align 8
%32 = call i64 @strlen(ptr noundef %31)
%33 = icmp eq i64 %32, 0
br i1 %33, label %34, label %37
34: ; preds = %27
%35 = load ptr, ptr %5, align 8
%36 = call ptr @strdup(ptr noundef %35)
store ptr %36, ptr %3, align 8
br label %93
37: ; preds = %27
%38 = load ptr, ptr %5, align 8
%39 = call i64 @strlen(ptr noundef %38)
%40 = icmp eq i64 %39, 0
br i1 %40, label %41, label %44
41: ; preds = %37
%42 = load ptr, ptr %4, align 8
%43 = call ptr @strdup(ptr noundef %42)
store ptr %43, ptr %3, align 8
br label %93
44: ; preds = %37
br label %45
45: ; preds = %44
store i32 0, ptr %6, align 4
%46 = load ptr, ptr %4, align 8
%47 = load ptr, ptr %4, align 8
%48 = call i64 @strlen(ptr noundef %47)
%49 = sub i64 %48, 1
%50 = getelementptr inbounds i8, ptr %46, i64 %49
%51 = load i8, ptr %50, align 1
%52 = sext i8 %51 to i32
%53 = icmp ne i32 %52, 47
br i1 %53, label %54, label %55
54: ; preds = %45
store i32 1, ptr %6, align 4
br label %55
55: ; preds = %54, %45
%56 = load ptr, ptr %4, align 8
%57 = call i64 @strlen(ptr noundef %56)
%58 = load i32, ptr %6, align 4
%59 = sext i32 %58 to i64
%60 = add i64 %57, %59
%61 = load ptr, ptr %5, align 8
%62 = call i64 @strlen(ptr noundef %61)
%63 = add i64 %60, %62
store i64 %63, ptr %7, align 8
%64 = load i64, ptr %7, align 8
%65 = call ptr @malloc(i64 noundef %64)
store ptr %65, ptr %8, align 8
%66 = load ptr, ptr %8, align 8
%67 = icmp eq ptr %66, null
br i1 %67, label %68, label %70
68: ; preds = %55
%69 = call i32 @err(i32 noundef 1, ptr noundef @.str)
br label %70
70: ; preds = %68, %55
%71 = load ptr, ptr %8, align 8
%72 = load ptr, ptr %4, align 8
%73 = load i64, ptr %7, align 8
%74 = call i32 @strncpy(ptr noundef %71, ptr noundef %72, i64 noundef %73)
%75 = load i32, ptr %6, align 4
%76 = icmp ne i32 %75, 0
br i1 %76, label %77, label %87
77: ; preds = %70
%78 = load ptr, ptr %8, align 8
%79 = load ptr, ptr %8, align 8
%80 = call i64 @strlen(ptr noundef %79)
%81 = add i64 %80, 1
%82 = getelementptr inbounds i8, ptr %78, i64 %81
store i8 0, ptr %82, align 1
%83 = load ptr, ptr %8, align 8
%84 = load ptr, ptr %8, align 8
%85 = call i64 @strlen(ptr noundef %84)
%86 = getelementptr inbounds i8, ptr %83, i64 %85
store i8 47, ptr %86, align 1
br label %87
87: ; preds = %77, %70
%88 = load ptr, ptr %8, align 8
%89 = load ptr, ptr %5, align 8
%90 = load i64, ptr %7, align 8
%91 = call i32 @strncat(ptr noundef %88, ptr noundef %89, i64 noundef %90)
%92 = load ptr, ptr %8, align 8
store ptr %92, ptr %3, align 8
br label %93
93: ; preds = %87, %41, %34
%94 = load ptr, ptr %3, align 8
ret ptr %94
}
declare i32 @assert(i32 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare ptr @strdup(ptr noundef) #1
declare ptr @malloc(i64 noundef) #1
declare i32 @err(i32 noundef, ptr noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @strncat(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8ahe1u_4.c"
target datalayout = "e-m:e-p270: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"memory error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @join_path(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%9 = load ptr, ptr %4, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %14
11: ; preds = %2
%12 = load ptr, ptr %5, align 8
%13 = icmp ne ptr %12, null
br label %14
14: ; preds = %11, %2
%15 = phi i1 [ false, %2 ], [ %13, %11 ]
%16 = zext i1 %15 to i32
%17 = call i32 @assert(i32 noundef %16)
%18 = load ptr, ptr %4, align 8
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp ne i32 %20, 0
br i1 %21, label %27, label %22
22: ; preds = %14
%23 = load ptr, ptr %5, align 8
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp ne i32 %25, 0
br label %27
27: ; preds = %22, %14
%28 = phi i1 [ true, %14 ], [ %26, %22 ]
%29 = zext i1 %28 to i32
%30 = call i32 @assert(i32 noundef %29)
%31 = load ptr, ptr %4, align 8
%32 = call i64 @strlen(ptr noundef %31)
%33 = icmp eq i64 %32, 0
br i1 %33, label %34, label %37
34: ; preds = %27
%35 = load ptr, ptr %5, align 8
%36 = call ptr @strdup(ptr noundef %35)
store ptr %36, ptr %3, align 8
br label %93
37: ; preds = %27
%38 = load ptr, ptr %5, align 8
%39 = call i64 @strlen(ptr noundef %38)
%40 = icmp eq i64 %39, 0
br i1 %40, label %41, label %44
41: ; preds = %37
%42 = load ptr, ptr %4, align 8
%43 = call ptr @strdup(ptr noundef %42)
store ptr %43, ptr %3, align 8
br label %93
44: ; preds = %37
br label %45
45: ; preds = %44
store i32 0, ptr %6, align 4
%46 = load ptr, ptr %4, align 8
%47 = load ptr, ptr %4, align 8
%48 = call i64 @strlen(ptr noundef %47)
%49 = sub i64 %48, 1
%50 = getelementptr inbounds i8, ptr %46, i64 %49
%51 = load i8, ptr %50, align 1
%52 = sext i8 %51 to i32
%53 = icmp ne i32 %52, 47
br i1 %53, label %54, label %55
54: ; preds = %45
store i32 1, ptr %6, align 4
br label %55
55: ; preds = %54, %45
%56 = load ptr, ptr %4, align 8
%57 = call i64 @strlen(ptr noundef %56)
%58 = load i32, ptr %6, align 4
%59 = sext i32 %58 to i64
%60 = add i64 %57, %59
%61 = load ptr, ptr %5, align 8
%62 = call i64 @strlen(ptr noundef %61)
%63 = add i64 %60, %62
store i64 %63, ptr %7, align 8
%64 = load i64, ptr %7, align 8
%65 = call ptr @malloc(i64 noundef %64)
store ptr %65, ptr %8, align 8
%66 = load ptr, ptr %8, align 8
%67 = icmp eq ptr %66, null
br i1 %67, label %68, label %70
68: ; preds = %55
%69 = call i32 @err(i32 noundef 1, ptr noundef @.str)
br label %70
70: ; preds = %68, %55
%71 = load ptr, ptr %8, align 8
%72 = load ptr, ptr %4, align 8
%73 = load i64, ptr %7, align 8
%74 = call i32 @strncpy(ptr noundef %71, ptr noundef %72, i64 noundef %73)
%75 = load i32, ptr %6, align 4
%76 = icmp ne i32 %75, 0
br i1 %76, label %77, label %87
77: ; preds = %70
%78 = load ptr, ptr %8, align 8
%79 = load ptr, ptr %8, align 8
%80 = call i64 @strlen(ptr noundef %79)
%81 = add i64 %80, 1
%82 = getelementptr inbounds i8, ptr %78, i64 %81
store i8 0, ptr %82, align 1
%83 = load ptr, ptr %8, align 8
%84 = load ptr, ptr %8, align 8
%85 = call i64 @strlen(ptr noundef %84)
%86 = getelementptr inbounds i8, ptr %83, i64 %85
store i8 47, ptr %86, align 1
br label %87
87: ; preds = %77, %70
%88 = load ptr, ptr %8, align 8
%89 = load ptr, ptr %5, align 8
%90 = load i64, ptr %7, align 8
%91 = call i32 @strncat(ptr noundef %88, ptr noundef %89, i64 noundef %90)
%92 = load ptr, ptr %8, align 8
store ptr %92, ptr %3, align 8
br label %93
93: ; preds = %87, %41, %34
%94 = load ptr, ptr %3, align 8
ret ptr %94
}
declare i32 @assert(i32 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare ptr @strdup(ptr noundef) #1
declare ptr @malloc(i64 noundef) #1
declare i32 @err(i32 noundef, ptr noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @strncat(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppd7iaozw.c'
source_filename = "/tmp/tmppd7iaozw.c"
target datalayout = "e-m:e-p270: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 @lecture(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = load ptr, ptr %7, align 8
%9 = call ptr @ft_strchr(ptr noundef %8, i8 noundef signext 10)
store ptr %9, ptr %5, align 8
%10 = load ptr, ptr %4, align 8
%11 = load ptr, ptr %10, align 8
%12 = call i32 @free(ptr noundef %11)
%13 = load ptr, ptr %3, align 8
%14 = load ptr, ptr %13, align 8
%15 = load ptr, ptr %5, align 8
%16 = load ptr, ptr %3, align 8
%17 = load ptr, ptr %16, align 8
%18 = ptrtoint ptr %15 to i64
%19 = ptrtoint ptr %17 to i64
%20 = sub i64 %18, %19
%21 = trunc i64 %20 to i32
%22 = call ptr @ft_strsub(ptr noundef %14, i32 noundef 0, i32 noundef %21)
%23 = load ptr, ptr %4, align 8
store ptr %22, ptr %23, align 8
%24 = load ptr, ptr %5, align 8
%25 = getelementptr inbounds i8, ptr %24, i64 1
%26 = call ptr @ft_strdup(ptr noundef %25)
store ptr %26, ptr %6, align 8
%27 = load ptr, ptr %3, align 8
%28 = load ptr, ptr %27, align 8
%29 = call i32 @free(ptr noundef %28)
%30 = load ptr, ptr %6, align 8
%31 = load ptr, ptr %3, align 8
store ptr %30, ptr %31, align 8
ret i32 1
}
declare ptr @ft_strchr(ptr noundef, i8 noundef signext) #1
declare i32 @free(ptr noundef) #1
declare ptr @ft_strsub(ptr noundef, i32 noundef, i32 noundef) #1
declare ptr @ft_strdup(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/tmppd7iaozw.c"
target datalayout = "e-m:e-p270: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 @lecture(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = load ptr, ptr %7, align 8
%9 = call ptr @ft_strchr(ptr noundef %8, i8 noundef signext 10)
store ptr %9, ptr %5, align 8
%10 = load ptr, ptr %4, align 8
%11 = load ptr, ptr %10, align 8
%12 = call i32 @free(ptr noundef %11)
%13 = load ptr, ptr %3, align 8
%14 = load ptr, ptr %13, align 8
%15 = load ptr, ptr %5, align 8
%16 = load ptr, ptr %3, align 8
%17 = load ptr, ptr %16, align 8
%18 = ptrtoint ptr %15 to i64
%19 = ptrtoint ptr %17 to i64
%20 = sub i64 %18, %19
%21 = trunc i64 %20 to i32
%22 = call ptr @ft_strsub(ptr noundef %14, i32 noundef 0, i32 noundef %21)
%23 = load ptr, ptr %4, align 8
store ptr %22, ptr %23, align 8
%24 = load ptr, ptr %5, align 8
%25 = getelementptr inbounds i8, ptr %24, i64 1
%26 = call ptr @ft_strdup(ptr noundef %25)
store ptr %26, ptr %6, align 8
%27 = load ptr, ptr %3, align 8
%28 = load ptr, ptr %27, align 8
%29 = call i32 @free(ptr noundef %28)
%30 = load ptr, ptr %6, align 8
%31 = load ptr, ptr %3, align 8
store ptr %30, ptr %31, align 8
ret i32 1
}
declare ptr @ft_strchr(ptr noundef, i8 noundef signext) #1
declare i32 @free(ptr noundef) #1
declare ptr @ft_strsub(ptr noundef, i32 noundef, i32 noundef) #1
declare ptr @ft_strdup(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/tmpl1b6jzhj.c'
source_filename = "/tmp/tmpl1b6jzhj.c"
target datalayout = "e-m:e-p270: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 @freadline(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 @freadstring(ptr noundef %3, i8 noundef signext 10, i32 noundef 0)
ret ptr %4
}
declare ptr @freadstring(ptr noundef, i8 noundef signext, 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/tmpl1b6jzhj.c"
target datalayout = "e-m:e-p270: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 @freadline(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 @freadstring(ptr noundef %3, i8 noundef signext 10, i32 noundef 0)
ret ptr %4
}
declare ptr @freadstring(ptr noundef, i8 noundef signext, 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/tmp40d_fub9.c'
source_filename = "/tmp/tmp40d_fub9.c"
target datalayout = "e-m:e-p270: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/tmp40d_fub9.c"
target datalayout = "e-m:e-p270: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/tmpfn6ngdjv.c'
source_filename = "/tmp/tmpfn6ngdjv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [23 x i8] c"Word length frequency:\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"\0A%03d:\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca [100 x i32], align 16
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %10, align 4
store i32 0, ptr %8, align 4
br label %11
11: ; preds = %18, %2
%12 = load i32, ptr %8, align 4
%13 = icmp slt i32 %12, 100
br i1 %13, label %14, label %21
14: ; preds = %11
%15 = load i32, ptr %8, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [100 x i32], ptr %7, i64 0, i64 %16
store i32 0, ptr %17, align 4
br label %18
18: ; preds = %14
%19 = load i32, ptr %8, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %8, align 4
br label %11, !llvm.loop !6
21: ; preds = %11
br label %22
22: ; preds = %48, %21
%23 = call i32 (...) @getchar()
store i32 %23, ptr %6, align 4
%24 = load i32, ptr @EOF, align 4
%25 = icmp ne i32 %23, %24
br i1 %25, label %26, label %49
26: ; preds = %22
%27 = load i32, ptr %6, align 4
%28 = icmp slt i32 %27, 33
br i1 %28, label %32, label %29
29: ; preds = %26
%30 = load i32, ptr %6, align 4
%31 = icmp sgt i32 %30, 126
br i1 %31, label %32, label %45
32: ; preds = %29, %26
%33 = load i32, ptr %10, align 4
%34 = icmp ne i32 %33, 0
br i1 %34, label %35, label %44
35: ; preds = %32
%36 = load i32, ptr %10, align 4
%37 = icmp slt i32 %36, 100
br i1 %37, label %38, label %44
38: ; preds = %35
%39 = load i32, ptr %10, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds [100 x i32], ptr %7, i64 0, i64 %40
%42 = load i32, ptr %41, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %41, align 4
br label %44
44: ; preds = %38, %35, %32
store i32 0, ptr %10, align 4
br label %48
45: ; preds = %29
%46 = load i32, ptr %10, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %10, align 4
br label %48
48: ; preds = %45, %44
br label %22, !llvm.loop !8
49: ; preds = %22
%50 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %8, align 4
br label %51
51: ; preds = %77, %49
%52 = load i32, ptr %8, align 4
%53 = icmp slt i32 %52, 100
br i1 %53, label %54, label %80
54: ; preds = %51
%55 = load i32, ptr %8, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds [100 x i32], ptr %7, i64 0, i64 %56
%58 = load i32, ptr %57, align 4
%59 = icmp ne i32 %58, 0
br i1 %59, label %60, label %76
60: ; preds = %54
%61 = load i32, ptr %8, align 4
%62 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %61)
store i32 0, ptr %9, align 4
br label %63
63: ; preds = %72, %60
%64 = load i32, ptr %9, align 4
%65 = load i32, ptr %8, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds [100 x i32], ptr %7, i64 0, i64 %66
%68 = load i32, ptr %67, align 4
%69 = icmp slt i32 %64, %68
br i1 %69, label %70, label %75
70: ; preds = %63
%71 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %72
72: ; preds = %70
%73 = load i32, ptr %9, align 4
%74 = add nsw i32 %73, 1
store i32 %74, ptr %9, align 4
br label %63, !llvm.loop !9
75: ; preds = %63
br label %76
76: ; preds = %75, %54
br label %77
77: ; preds = %76
%78 = load i32, ptr %8, align 4
%79 = add nsw i32 %78, 1
store i32 %79, ptr %8, align 4
br label %51, !llvm.loop !10
80: ; preds = %51
%81 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
ret i32 0
}
declare i32 @getchar(...) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfn6ngdjv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [23 x i8] c"Word length frequency:\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"\0A%03d:\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca [100 x i32], align 16
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %10, align 4
store i32 0, ptr %8, align 4
%11 = load i32, ptr %8, align 4
%12 = icmp slt i32 %11, 100
br i1 %12, label %.lr.ph, label %22
.lr.ph: ; preds = %2
br label %13
13: ; preds = %.lr.ph, %17
%14 = load i32, ptr %8, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds [100 x i32], ptr %7, i64 0, i64 %15
store i32 0, ptr %16, align 4
br label %17
17: ; preds = %13
%18 = load i32, ptr %8, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %8, align 4
%20 = load i32, ptr %8, align 4
%21 = icmp slt i32 %20, 100
br i1 %21, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %22
22: ; preds = %._crit_edge, %2
%23 = call i32 (...) @getchar()
store i32 %23, ptr %6, align 4
%24 = load i32, ptr @EOF, align 4
%25 = icmp ne i32 %23, %24
br i1 %25, label %.lr.ph2, label %52
.lr.ph2: ; preds = %22
br label %26
26: ; preds = %.lr.ph2, %48
%27 = load i32, ptr %6, align 4
%28 = icmp slt i32 %27, 33
br i1 %28, label %32, label %29
29: ; preds = %26
%30 = load i32, ptr %6, align 4
%31 = icmp sgt i32 %30, 126
br i1 %31, label %32, label %45
32: ; preds = %29, %26
%33 = load i32, ptr %10, align 4
%34 = icmp ne i32 %33, 0
br i1 %34, label %35, label %44
35: ; preds = %32
%36 = load i32, ptr %10, align 4
%37 = icmp slt i32 %36, 100
br i1 %37, label %38, label %44
38: ; preds = %35
%39 = load i32, ptr %10, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds [100 x i32], ptr %7, i64 0, i64 %40
%42 = load i32, ptr %41, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %41, align 4
br label %44
44: ; preds = %38, %35, %32
store i32 0, ptr %10, align 4
br label %48
45: ; preds = %29
%46 = load i32, ptr %10, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %10, align 4
br label %48
48: ; preds = %45, %44
%49 = call i32 (...) @getchar()
store i32 %49, ptr %6, align 4
%50 = load i32, ptr @EOF, align 4
%51 = icmp ne i32 %49, %50
br i1 %51, label %26, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %48
br label %52
52: ; preds = %._crit_edge3, %22
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %8, align 4
%54 = load i32, ptr %8, align 4
%55 = icmp slt i32 %54, 100
br i1 %55, label %.lr.ph8, label %89
.lr.ph8: ; preds = %52
br label %56
56: ; preds = %.lr.ph8, %84
%57 = load i32, ptr %8, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds [100 x i32], ptr %7, i64 0, i64 %58
%60 = load i32, ptr %59, align 4
%61 = icmp ne i32 %60, 0
br i1 %61, label %62, label %83
62: ; preds = %56
%63 = load i32, ptr %8, align 4
%64 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %63)
store i32 0, ptr %9, align 4
%65 = load i32, ptr %9, align 4
%66 = load i32, ptr %8, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds [100 x i32], ptr %7, i64 0, i64 %67
%69 = load i32, ptr %68, align 4
%70 = icmp slt i32 %65, %69
br i1 %70, label %.lr.ph5, label %82
.lr.ph5: ; preds = %62
br label %71
71: ; preds = %.lr.ph5, %73
%72 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %73
73: ; preds = %71
%74 = load i32, ptr %9, align 4
%75 = add nsw i32 %74, 1
store i32 %75, ptr %9, align 4
%76 = load i32, ptr %9, align 4
%77 = load i32, ptr %8, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds [100 x i32], ptr %7, i64 0, i64 %78
%80 = load i32, ptr %79, align 4
%81 = icmp slt i32 %76, %80
br i1 %81, label %71, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %73
br label %82
82: ; preds = %._crit_edge6, %62
br label %83
83: ; preds = %82, %56
br label %84
84: ; preds = %83
%85 = load i32, ptr %8, align 4
%86 = add nsw i32 %85, 1
store i32 %86, ptr %8, align 4
%87 = load i32, ptr %8, align 4
%88 = icmp slt i32 %87, 100
br i1 %88, label %56, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %84
br label %89
89: ; preds = %._crit_edge9, %52
%90 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
ret i32 0
}
declare i32 @getchar(...) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpeh78kihr.c'
source_filename = "/tmp/tmpeh78kihr.c"
target datalayout = "e-m:e-p270: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 [46 x i8] c"usage: libc_test <libc-name> [<min-version>]\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"glibc\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 slt i32 %6, 2
br i1 %7, label %8, label %12
8: ; preds = %2
%9 = load i32, ptr @stderr, align 4
%10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str)
%11 = call i32 @exit(i32 noundef 3) #3
unreachable
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 1
%15 = load ptr, ptr %14, align 8
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 2
%18 = load ptr, ptr %17, align 8
%19 = call i64 @go(ptr noundef %15, ptr noundef %18)
%20 = icmp ne i64 %19, 0
br i1 %20, label %21, label %22
21: ; preds = %12
store i32 0, ptr %3, align 4
br label %30
22: ; preds = %12
%23 = load ptr, ptr %5, align 8
%24 = getelementptr inbounds ptr, ptr %23, i64 1
%25 = load ptr, ptr %24, align 8
%26 = call i64 @strcmp(ptr noundef %25, ptr noundef @.str.1)
%27 = icmp eq i64 0, %26
br i1 %27, label %28, label %29
28: ; preds = %22
store i32 1, ptr %3, align 4
br label %30
29: ; preds = %22
store i32 2, ptr %3, align 4
br label %30
30: ; preds = %29, %28, %21
%31 = load i32, ptr %3, align 4
ret i32 %31
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @go(ptr noundef, ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpeh78kihr.c"
target datalayout = "e-m:e-p270: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 [46 x i8] c"usage: libc_test <libc-name> [<min-version>]\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"glibc\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 slt i32 %6, 2
br i1 %7, label %8, label %12
8: ; preds = %2
%9 = load i32, ptr @stderr, align 4
%10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str)
%11 = call i32 @exit(i32 noundef 3) #3
unreachable
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 1
%15 = load ptr, ptr %14, align 8
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 2
%18 = load ptr, ptr %17, align 8
%19 = call i64 @go(ptr noundef %15, ptr noundef %18)
%20 = icmp ne i64 %19, 0
br i1 %20, label %21, label %22
21: ; preds = %12
store i32 0, ptr %3, align 4
br label %30
22: ; preds = %12
%23 = load ptr, ptr %5, align 8
%24 = getelementptr inbounds ptr, ptr %23, i64 1
%25 = load ptr, ptr %24, align 8
%26 = call i64 @strcmp(ptr noundef %25, ptr noundef @.str.1)
%27 = icmp eq i64 0, %26
br i1 %27, label %28, label %29
28: ; preds = %22
store i32 1, ptr %3, align 4
br label %30
29: ; preds = %22
store i32 2, ptr %3, align 4
br label %30
30: ; preds = %29, %28, %21
%31 = load i32, ptr %3, align 4
ret i32 %31
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @go(ptr noundef, ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpldt579ai.c'
source_filename = "/tmp/tmpldt579ai.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [36 x i8] c"option `%s' need a string argument\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @option_str(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
%8 = load i32, ptr %6, align 4
%9 = icmp slt i32 %8, 2
br i1 %9, label %16, label %10
10: ; preds = %3
%11 = load ptr, ptr %7, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 1
%13 = load ptr, ptr %12, align 8
%14 = call i64 @str_empty(ptr noundef %13)
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %21
16: ; preds = %10, %3
%17 = load ptr, ptr %7, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 0
%19 = load ptr, ptr %18, align 8
%20 = call i32 @gt_print(ptr noundef @.str, ptr noundef %19)
store i32 -1, ptr %4, align 4
br label %26
21: ; preds = %10
%22 = load ptr, ptr %5, align 8
%23 = load ptr, ptr %7, align 8
%24 = getelementptr inbounds ptr, ptr %23, i64 1
%25 = call i32 @memcpy(ptr noundef %22, ptr noundef %24, i32 noundef 8)
store i32 1, ptr %4, align 4
br label %26
26: ; preds = %21, %16
%27 = load i32, ptr %4, align 4
ret i32 %27
}
declare i64 @str_empty(ptr noundef) #1
declare i32 @gt_print(ptr noundef, ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpldt579ai.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [36 x i8] c"option `%s' need a string argument\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @option_str(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
%8 = load i32, ptr %6, align 4
%9 = icmp slt i32 %8, 2
br i1 %9, label %16, label %10
10: ; preds = %3
%11 = load ptr, ptr %7, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 1
%13 = load ptr, ptr %12, align 8
%14 = call i64 @str_empty(ptr noundef %13)
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %21
16: ; preds = %10, %3
%17 = load ptr, ptr %7, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 0
%19 = load ptr, ptr %18, align 8
%20 = call i32 @gt_print(ptr noundef @.str, ptr noundef %19)
store i32 -1, ptr %4, align 4
br label %26
21: ; preds = %10
%22 = load ptr, ptr %5, align 8
%23 = load ptr, ptr %7, align 8
%24 = getelementptr inbounds ptr, ptr %23, i64 1
%25 = call i32 @memcpy(ptr noundef %22, ptr noundef %24, i32 noundef 8)
store i32 1, ptr %4, align 4
br label %26
26: ; preds = %21, %16
%27 = load i32, ptr %4, align 4
ret i32 %27
}
declare i64 @str_empty(ptr noundef) #1
declare i32 @gt_print(ptr noundef, ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpt5fu4uc3.c'
source_filename = "/tmp/tmpt5fu4uc3.c"
target datalayout = "e-m:e-p270: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 @evaluate_vent() #0 {
%1 = call i32 (...) @evaluate_vent_c()
ret void
}
declare i32 @evaluate_vent_c(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpt5fu4uc3.c"
target datalayout = "e-m:e-p270: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 @evaluate_vent() #0 {
%1 = call i32 (...) @evaluate_vent_c()
ret void
}
declare i32 @evaluate_vent_c(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmp4f19f_6f.c'
source_filename = "/tmp/tmp4f19f_6f.c"
target datalayout = "e-m:e-p270: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 willreturn memory(none) uwtable
define dso_local x86_fp80 @rintl(x86_fp80 noundef %0) #0 {
%2 = alloca x86_fp80, align 16
store x86_fp80 %0, ptr %2, align 16
%3 = load x86_fp80, ptr %2, align 16
%4 = fptrunc x86_fp80 %3 to double
%5 = call i64 @rint(double noundef %4)
%6 = sitofp i64 %5 to x86_fp80
ret x86_fp80 %6
}
declare i64 @rint(double noundef) #1
attributes #0 = { noinline nounwind sspstrong willreturn memory(none) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmp4f19f_6f.c"
target datalayout = "e-m:e-p270: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 willreturn memory(none) uwtable
define dso_local x86_fp80 @rintl(x86_fp80 noundef %0) #0 {
%2 = alloca x86_fp80, align 16
store x86_fp80 %0, ptr %2, align 16
%3 = load x86_fp80, ptr %2, align 16
%4 = fptrunc x86_fp80 %3 to double
%5 = call i64 @rint(double noundef %4)
%6 = sitofp i64 %5 to x86_fp80
ret x86_fp80 %6
}
declare i64 @rint(double noundef) #1
attributes #0 = { noinline nounwind sspstrong willreturn memory(none) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmprbbwiwju.c'
source_filename = "/tmp/tmprbbwiwju.c"
target datalayout = "e-m:e-p270: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 @ccin_open_imfactory() #0 {
%1 = call i32 (...) @ccin_load_system_glossary()
%2 = call i32 (...) @ccin_load_system_frequency()
%3 = call i32 (...) @ccin_load_user_glossary()
%4 = call i32 (...) @ccin_load_user_frequency()
%5 = call i32 (...) @ccin_create_freq_list()
ret void
}
declare i32 @ccin_load_system_glossary(...) #1
declare i32 @ccin_load_system_frequency(...) #1
declare i32 @ccin_load_user_glossary(...) #1
declare i32 @ccin_load_user_frequency(...) #1
declare i32 @ccin_create_freq_list(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmprbbwiwju.c"
target datalayout = "e-m:e-p270: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 @ccin_open_imfactory() #0 {
%1 = call i32 (...) @ccin_load_system_glossary()
%2 = call i32 (...) @ccin_load_system_frequency()
%3 = call i32 (...) @ccin_load_user_glossary()
%4 = call i32 (...) @ccin_load_user_frequency()
%5 = call i32 (...) @ccin_create_freq_list()
ret void
}
declare i32 @ccin_load_system_glossary(...) #1
declare i32 @ccin_load_system_frequency(...) #1
declare i32 @ccin_load_user_glossary(...) #1
declare i32 @ccin_load_user_frequency(...) #1
declare i32 @ccin_create_freq_list(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmp71nhg0k7.c'
source_filename = "/tmp/tmp71nhg0k7.c"
target datalayout = "e-m:e-p270: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/tmp71nhg0k7.c"
target datalayout = "e-m:e-p270: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_g_twt5w.c'
source_filename = "/tmp/tmp_g_twt5w.c"
target datalayout = "e-m:e-p270: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 [41 x i8] c"Its impossible to execute this function\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @impossible() #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/tmp_g_twt5w.c"
target datalayout = "e-m:e-p270: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 [41 x i8] c"Its impossible to execute this function\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @impossible() #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/tmpdpgta_20.c'
source_filename = "/tmp/tmpdpgta_20.c"
target datalayout = "e-m:e-p270: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 @undoBackwards() #0 {
%1 = call i32 @sys_call(i32 noundef 9, i32 noundef 7, i32 noundef 0)
ret void
}
declare i32 @sys_call(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/tmpdpgta_20.c"
target datalayout = "e-m:e-p270: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 @undoBackwards() #0 {
%1 = call i32 @sys_call(i32 noundef 9, i32 noundef 7, i32 noundef 0)
ret void
}
declare i32 @sys_call(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/tmpl493ugc9.c'
source_filename = "/tmp/tmpl493ugc9.c"
target datalayout = "e-m:e-p270: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 @Page_Delete(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = ptrtoint ptr %5 to i32
%7 = load i64, ptr %4, align 8
%8 = call i64 @munmap(i32 noundef %6, i64 noundef %7)
%9 = icmp slt i64 %8, 0
br i1 %9, label %10, label %14
10: ; preds = %2
%11 = load ptr, ptr %3, align 8
%12 = load i64, ptr %4, align 8
%13 = call i32 @Page_DenyAccess(ptr noundef %11, i64 noundef %12)
br label %14
14: ; preds = %10, %2
ret void
}
declare i64 @munmap(i32 noundef, i64 noundef) #1
declare i32 @Page_DenyAccess(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/tmpl493ugc9.c"
target datalayout = "e-m:e-p270: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 @Page_Delete(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = ptrtoint ptr %5 to i32
%7 = load i64, ptr %4, align 8
%8 = call i64 @munmap(i32 noundef %6, i64 noundef %7)
%9 = icmp slt i64 %8, 0
br i1 %9, label %10, label %14
10: ; preds = %2
%11 = load ptr, ptr %3, align 8
%12 = load i64, ptr %4, align 8
%13 = call i32 @Page_DenyAccess(ptr noundef %11, i64 noundef %12)
br label %14
14: ; preds = %10, %2
ret void
}
declare i64 @munmap(i32 noundef, i64 noundef) #1
declare i32 @Page_DenyAccess(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/tmpux5p1q9k.c'
source_filename = "/tmp/tmpux5p1q9k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"%2d! = %ld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %2
2: ; preds = %10, %0
%3 = load i32, ptr %1, align 4
%4 = icmp sle i32 %3, 10
br i1 %4, label %5, label %13
5: ; preds = %2
%6 = load i32, ptr %1, align 4
%7 = load i32, ptr %1, align 4
%8 = call i32 @factorial(i32 noundef %7)
%9 = call i32 @printf(ptr noundef @.str, i32 noundef %6, i32 noundef %8)
br label %10
10: ; preds = %5
%11 = load i32, ptr %1, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %1, align 4
br label %2, !llvm.loop !6
13: ; preds = %2
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @factorial(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/tmpux5p1q9k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"%2d! = %ld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = load i32, ptr %1, align 4
%3 = icmp sle i32 %2, 10
br i1 %3, label %.lr.ph, label %14
.lr.ph: ; preds = %0
br label %4
4: ; preds = %.lr.ph, %9
%5 = load i32, ptr %1, align 4
%6 = load i32, ptr %1, align 4
%7 = call i32 @factorial(i32 noundef %6)
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %5, i32 noundef %7)
br label %9
9: ; preds = %4
%10 = load i32, ptr %1, align 4
%11 = add nsw i32 %10, 1
store i32 %11, ptr %1, align 4
%12 = load i32, ptr %1, align 4
%13 = icmp sle i32 %12, 10
br i1 %13, label %4, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %9
br label %14
14: ; preds = %._crit_edge, %0
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @factorial(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/tmpd3g_f38r.c'
source_filename = "/tmp/tmpd3g_f38r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENOMEM = dso_local global i32 0, align 4
@ENOENT = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @getgrnam_r(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store i64 %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
%14 = load ptr, ptr %11, align 8
store ptr null, ptr %14, align 8
%15 = load ptr, ptr %9, align 8
store ptr %15, ptr %13, align 8
%16 = load i64, ptr %10, align 8
%17 = icmp ult i64 %16, 4
br i1 %17, label %18, label %20
18: ; preds = %5
%19 = load i32, ptr @ENOMEM, align 4
store i32 %19, ptr %6, align 4
br label %38
20: ; preds = %5
%21 = load ptr, ptr %7, align 8
%22 = call ptr @getgrnam(ptr noundef %21)
store ptr %22, ptr %12, align 8
%23 = load ptr, ptr %12, align 8
%24 = icmp ne ptr %23, null
br i1 %24, label %25, label %30
25: ; preds = %20
%26 = load ptr, ptr %13, align 8
%27 = load ptr, ptr %12, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %26, ptr align 4 %27, i64 4, i1 false)
%28 = load ptr, ptr %13, align 8
%29 = load ptr, ptr %11, align 8
store ptr %28, ptr %29, align 8
br label %30
30: ; preds = %25, %20
%31 = load ptr, ptr %12, align 8
%32 = icmp ne ptr %31, null
br i1 %32, label %33, label %35
33: ; preds = %30
%34 = load i32, ptr @ENOENT, align 4
br label %36
35: ; preds = %30
br label %36
36: ; preds = %35, %33
%37 = phi i32 [ %34, %33 ], [ 0, %35 ]
store i32 %37, ptr %6, align 4
br label %38
38: ; preds = %36, %18
%39 = load i32, ptr %6, align 4
ret i32 %39
}
declare ptr @getgrnam(ptr noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpd3g_f38r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENOMEM = dso_local global i32 0, align 4
@ENOENT = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @getgrnam_r(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store i64 %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
%14 = load ptr, ptr %11, align 8
store ptr null, ptr %14, align 8
%15 = load ptr, ptr %9, align 8
store ptr %15, ptr %13, align 8
%16 = load i64, ptr %10, align 8
%17 = icmp ult i64 %16, 4
br i1 %17, label %18, label %20
18: ; preds = %5
%19 = load i32, ptr @ENOMEM, align 4
store i32 %19, ptr %6, align 4
br label %38
20: ; preds = %5
%21 = load ptr, ptr %7, align 8
%22 = call ptr @getgrnam(ptr noundef %21)
store ptr %22, ptr %12, align 8
%23 = load ptr, ptr %12, align 8
%24 = icmp ne ptr %23, null
br i1 %24, label %25, label %30
25: ; preds = %20
%26 = load ptr, ptr %13, align 8
%27 = load ptr, ptr %12, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %26, ptr align 4 %27, i64 4, i1 false)
%28 = load ptr, ptr %13, align 8
%29 = load ptr, ptr %11, align 8
store ptr %28, ptr %29, align 8
br label %30
30: ; preds = %25, %20
%31 = load ptr, ptr %12, align 8
%32 = icmp ne ptr %31, null
br i1 %32, label %33, label %35
33: ; preds = %30
%34 = load i32, ptr @ENOENT, align 4
br label %36
35: ; preds = %30
br label %36
36: ; preds = %35, %33
%37 = phi i32 [ %34, %33 ], [ 0, %35 ]
store i32 %37, ptr %6, align 4
br label %38
38: ; preds = %36, %18
%39 = load i32, ptr %6, align 4
ret i32 %39
}
declare ptr @getgrnam(ptr noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmp4rihlcat.c'
source_filename = "/tmp/tmp4rihlcat.c"
target datalayout = "e-m:e-p270: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 @ls_costN_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 @ls_costN_nm4_f0(ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, i32 noundef %15)
ret i32 %16
}
declare i32 @ls_costN_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/tmp4rihlcat.c"
target datalayout = "e-m:e-p270: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 @ls_costN_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 @ls_costN_nm4_f0(ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, i32 noundef %15)
ret i32 %16
}
declare i32 @ls_costN_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/tmpitsitwyd.c'
source_filename = "/tmp/tmpitsitwyd.c"
target datalayout = "e-m:e-p270: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/tmpitsitwyd.c"
target datalayout = "e-m:e-p270: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/tmpcpxlaag9.c'
source_filename = "/tmp/tmpcpxlaag9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @split(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i64 %3, ptr %9, align 8
%14 = load i64, ptr %9, align 8
%15 = icmp eq i64 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %4
store i64 0, ptr %5, align 8
br label %89
17: ; preds = %4
%18 = load ptr, ptr %6, align 8
%19 = load ptr, ptr %8, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 0
store ptr %18, ptr %20, align 8
store i64 1, ptr %10, align 8
%21 = load ptr, ptr %7, align 8
%22 = getelementptr inbounds i8, ptr %21, i64 0
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp eq i32 %24, 0
br i1 %25, label %26, label %27
26: ; preds = %17
br label %87
27: ; preds = %17
%28 = load ptr, ptr %7, align 8
%29 = getelementptr inbounds i8, ptr %28, i64 1
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp eq i32 %31, 0
br i1 %32, label %33, label %61
33: ; preds = %27
%34 = load ptr, ptr %7, align 8
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
store i32 %36, ptr %11, align 4
%37 = load ptr, ptr %6, align 8
%38 = load i32, ptr %11, align 4
%39 = call ptr @strchr(ptr noundef %37, i32 noundef %38)
store ptr %39, ptr %12, align 8
br label %40
40: ; preds = %56, %33
%41 = load ptr, ptr %12, align 8
%42 = icmp ne ptr %41, null
br i1 %42, label %43, label %60
43: ; preds = %40
%44 = load ptr, ptr %12, align 8
%45 = getelementptr inbounds i8, ptr %44, i32 1
store ptr %45, ptr %12, align 8
store i8 0, ptr %44, align 1
%46 = load i64, ptr %10, align 8
%47 = load i64, ptr %9, align 8
%48 = icmp eq i64 %46, %47
br i1 %48, label %49, label %50
49: ; preds = %43
br label %60
50: ; preds = %43
%51 = load ptr, ptr %12, align 8
%52 = load ptr, ptr %8, align 8
%53 = load i64, ptr %10, align 8
%54 = add i64 %53, 1
store i64 %54, ptr %10, align 8
%55 = getelementptr inbounds ptr, ptr %52, i64 %53
store ptr %51, ptr %55, align 8
br label %56
56: ; preds = %50
%57 = load ptr, ptr %12, align 8
%58 = load i32, ptr %11, align 4
%59 = call ptr @strchr(ptr noundef %57, i32 noundef %58)
store ptr %59, ptr %12, align 8
br label %40, !llvm.loop !6
60: ; preds = %49, %40
br label %86
61: ; preds = %27
%62 = load ptr, ptr %6, align 8
%63 = load ptr, ptr %7, align 8
%64 = call ptr @strpbrk(ptr noundef %62, ptr noundef %63)
store ptr %64, ptr %13, align 8
br label %65
65: ; preds = %81, %61
%66 = load ptr, ptr %13, align 8
%67 = icmp ne ptr %66, null
br i1 %67, label %68, label %85
68: ; preds = %65
%69 = load ptr, ptr %13, align 8
%70 = getelementptr inbounds i8, ptr %69, i32 1
store ptr %70, ptr %13, align 8
store i8 0, ptr %69, align 1
%71 = load i64, ptr %10, align 8
%72 = load i64, ptr %9, align 8
%73 = icmp eq i64 %71, %72
br i1 %73, label %74, label %75
74: ; preds = %68
br label %85
75: ; preds = %68
%76 = load ptr, ptr %13, align 8
%77 = load ptr, ptr %8, align 8
%78 = load i64, ptr %10, align 8
%79 = add i64 %78, 1
store i64 %79, ptr %10, align 8
%80 = getelementptr inbounds ptr, ptr %77, i64 %78
store ptr %76, ptr %80, align 8
br label %81
81: ; preds = %75
%82 = load ptr, ptr %13, align 8
%83 = load ptr, ptr %7, align 8
%84 = call ptr @strpbrk(ptr noundef %82, ptr noundef %83)
store ptr %84, ptr %13, align 8
br label %65, !llvm.loop !8
85: ; preds = %74, %65
br label %86
86: ; preds = %85, %60
br label %87
87: ; preds = %86, %26
%88 = load i64, ptr %10, align 8
store i64 %88, ptr %5, align 8
br label %89
89: ; preds = %87, %16
%90 = load i64, ptr %5, align 8
ret i64 %90
}
declare ptr @strchr(ptr noundef, i32 noundef) #1
declare ptr @strpbrk(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcpxlaag9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @split(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i64 %3, ptr %9, align 8
%14 = load i64, ptr %9, align 8
%15 = icmp eq i64 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %4
store i64 0, ptr %5, align 8
br label %91
17: ; preds = %4
%18 = load ptr, ptr %6, align 8
%19 = load ptr, ptr %8, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 0
store ptr %18, ptr %20, align 8
store i64 1, ptr %10, align 8
%21 = load ptr, ptr %7, align 8
%22 = getelementptr inbounds i8, ptr %21, i64 0
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp eq i32 %24, 0
br i1 %25, label %26, label %27
26: ; preds = %17
br label %89
27: ; preds = %17
%28 = load ptr, ptr %7, align 8
%29 = getelementptr inbounds i8, ptr %28, i64 1
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp eq i32 %31, 0
br i1 %32, label %33, label %62
33: ; preds = %27
%34 = load ptr, ptr %7, align 8
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
store i32 %36, ptr %11, align 4
%37 = load ptr, ptr %6, align 8
%38 = load i32, ptr %11, align 4
%39 = call ptr @strchr(ptr noundef %37, i32 noundef %38)
store ptr %39, ptr %12, align 8
%40 = load ptr, ptr %12, align 8
%41 = icmp ne ptr %40, null
br i1 %41, label %.lr.ph2, label %.loopexit
.lr.ph2: ; preds = %33
br label %42
42: ; preds = %.lr.ph2, %55
%43 = load ptr, ptr %12, align 8
%44 = getelementptr inbounds i8, ptr %43, i32 1
store ptr %44, ptr %12, align 8
store i8 0, ptr %43, align 1
%45 = load i64, ptr %10, align 8
%46 = load i64, ptr %9, align 8
%47 = icmp eq i64 %45, %46
br i1 %47, label %48, label %49
48: ; preds = %42
br label %61
49: ; preds = %42
%50 = load ptr, ptr %12, align 8
%51 = load ptr, ptr %8, align 8
%52 = load i64, ptr %10, align 8
%53 = add i64 %52, 1
store i64 %53, ptr %10, align 8
%54 = getelementptr inbounds ptr, ptr %51, i64 %52
store ptr %50, ptr %54, align 8
br label %55
55: ; preds = %49
%56 = load ptr, ptr %12, align 8
%57 = load i32, ptr %11, align 4
%58 = call ptr @strchr(ptr noundef %56, i32 noundef %57)
store ptr %58, ptr %12, align 8
%59 = load ptr, ptr %12, align 8
%60 = icmp ne ptr %59, null
br i1 %60, label %42, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %55
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %33
br label %61
61: ; preds = %.loopexit, %48
br label %88
62: ; preds = %27
%63 = load ptr, ptr %6, align 8
%64 = load ptr, ptr %7, align 8
%65 = call ptr @strpbrk(ptr noundef %63, ptr noundef %64)
store ptr %65, ptr %13, align 8
%66 = load ptr, ptr %13, align 8
%67 = icmp ne ptr %66, null
br i1 %67, label %.lr.ph, label %.loopexit1
.lr.ph: ; preds = %62
br label %68
68: ; preds = %.lr.ph, %81
%69 = load ptr, ptr %13, align 8
%70 = getelementptr inbounds i8, ptr %69, i32 1
store ptr %70, ptr %13, align 8
store i8 0, ptr %69, align 1
%71 = load i64, ptr %10, align 8
%72 = load i64, ptr %9, align 8
%73 = icmp eq i64 %71, %72
br i1 %73, label %74, label %75
74: ; preds = %68
br label %87
75: ; preds = %68
%76 = load ptr, ptr %13, align 8
%77 = load ptr, ptr %8, align 8
%78 = load i64, ptr %10, align 8
%79 = add i64 %78, 1
store i64 %79, ptr %10, align 8
%80 = getelementptr inbounds ptr, ptr %77, i64 %78
store ptr %76, ptr %80, align 8
br label %81
81: ; preds = %75
%82 = load ptr, ptr %13, align 8
%83 = load ptr, ptr %7, align 8
%84 = call ptr @strpbrk(ptr noundef %82, ptr noundef %83)
store ptr %84, ptr %13, align 8
%85 = load ptr, ptr %13, align 8
%86 = icmp ne ptr %85, null
br i1 %86, label %68, label %..loopexit1_crit_edge, !llvm.loop !8
..loopexit1_crit_edge: ; preds = %81
br label %.loopexit1
.loopexit1: ; preds = %..loopexit1_crit_edge, %62
br label %87
87: ; preds = %.loopexit1, %74
br label %88
88: ; preds = %87, %61
br label %89
89: ; preds = %88, %26
%90 = load i64, ptr %10, align 8
store i64 %90, ptr %5, align 8
br label %91
91: ; preds = %89, %16
%92 = load i64, ptr %5, align 8
ret i64 %92
}
declare ptr @strchr(ptr noundef, i32 noundef) #1
declare ptr @strpbrk(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpzz7yo32z.c'
source_filename = "/tmp/tmpzz7yo32z.c"
target datalayout = "e-m:e-p270: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/tmpzz7yo32z.c"
target datalayout = "e-m:e-p270: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/tmp7o6_ee9j.c'
source_filename = "/tmp/tmp7o6_ee9j.c"
target datalayout = "e-m:e-p270: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 [23 x i8] c"Error creating program\00", align 1
@CL_SUCCESS = dso_local global i64 0, align 8
@buildKernel.s = internal global [1048576 x i8] zeroinitializer, align 16
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [24 x i8] c"Error building program\0A\00", align 1
@CL_PROGRAM_BUILD_LOG = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [15 x i8] c"Build log:\0A%s\0A\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"Error creating kernel\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @buildKernel(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i64, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i64, align 8
%15 = 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 i32 %3, ptr %9, align 4
store i32 %4, ptr %10, align 4
%16 = load ptr, ptr %6, align 8
%17 = call ptr @load_program_source(ptr noundef %16)
store ptr %17, ptr %12, align 8
%18 = load i32, ptr %9, align 4
%19 = call i32 @clCreateProgramWithSource(i32 noundef %18, i32 noundef 1, ptr noundef %12, ptr noundef null, ptr noundef %11)
store i32 %19, ptr %13, align 4
%20 = load i64, ptr %11, align 8
%21 = call i32 @clError(ptr noundef @.str, i64 noundef %20)
%22 = load i32, ptr %13, align 4
%23 = load ptr, ptr %8, align 8
%24 = call i64 @clBuildProgram(i32 noundef %22, i32 noundef 1, ptr noundef %10, ptr noundef %23, ptr noundef null, ptr noundef null)
store i64 %24, ptr %11, align 8
%25 = load i64, ptr @CL_SUCCESS, align 8
%26 = load i64, ptr %11, align 8
%27 = icmp ne i64 %25, %26
br i1 %27, label %28, label %38
28: ; preds = %5
%29 = load i32, ptr @stderr, align 4
%30 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %29, ptr noundef @.str.1)
%31 = load i32, ptr %13, align 4
%32 = load i32, ptr %10, align 4
%33 = load i32, ptr @CL_PROGRAM_BUILD_LOG, align 4
%34 = call i32 @clGetProgramBuildInfo(i32 noundef %31, i32 noundef %32, i32 noundef %33, i32 noundef 1048576, ptr noundef @buildKernel.s, ptr noundef %14)
%35 = load i32, ptr @stderr, align 4
%36 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %35, ptr noundef @.str.2, ptr noundef @buildKernel.s)
%37 = call i32 @exit(i32 noundef 1) #3
unreachable
38: ; preds = %5
%39 = load i32, ptr %13, align 4
%40 = load ptr, ptr %7, align 8
%41 = call i32 @clCreateKernel(i32 noundef %39, ptr noundef %40, ptr noundef %11)
store i32 %41, ptr %15, align 4
%42 = load i64, ptr %11, align 8
%43 = call i32 @clError(ptr noundef @.str.3, i64 noundef %42)
%44 = load ptr, ptr %12, align 8
%45 = call i32 @free(ptr noundef %44)
%46 = load i32, ptr %15, align 4
ret i32 %46
}
declare ptr @load_program_source(ptr noundef) #1
declare i32 @clCreateProgramWithSource(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @clError(ptr noundef, i64 noundef) #1
declare i64 @clBuildProgram(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare i32 @clGetProgramBuildInfo(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @clCreateKernel(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmp7o6_ee9j.c"
target datalayout = "e-m:e-p270: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 [23 x i8] c"Error creating program\00", align 1
@CL_SUCCESS = dso_local global i64 0, align 8
@buildKernel.s = internal global [1048576 x i8] zeroinitializer, align 16
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [24 x i8] c"Error building program\0A\00", align 1
@CL_PROGRAM_BUILD_LOG = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [15 x i8] c"Build log:\0A%s\0A\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"Error creating kernel\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @buildKernel(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i64, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i64, align 8
%15 = 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 i32 %3, ptr %9, align 4
store i32 %4, ptr %10, align 4
%16 = load ptr, ptr %6, align 8
%17 = call ptr @load_program_source(ptr noundef %16)
store ptr %17, ptr %12, align 8
%18 = load i32, ptr %9, align 4
%19 = call i32 @clCreateProgramWithSource(i32 noundef %18, i32 noundef 1, ptr noundef %12, ptr noundef null, ptr noundef %11)
store i32 %19, ptr %13, align 4
%20 = load i64, ptr %11, align 8
%21 = call i32 @clError(ptr noundef @.str, i64 noundef %20)
%22 = load i32, ptr %13, align 4
%23 = load ptr, ptr %8, align 8
%24 = call i64 @clBuildProgram(i32 noundef %22, i32 noundef 1, ptr noundef %10, ptr noundef %23, ptr noundef null, ptr noundef null)
store i64 %24, ptr %11, align 8
%25 = load i64, ptr @CL_SUCCESS, align 8
%26 = load i64, ptr %11, align 8
%27 = icmp ne i64 %25, %26
br i1 %27, label %28, label %38
28: ; preds = %5
%29 = load i32, ptr @stderr, align 4
%30 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %29, ptr noundef @.str.1)
%31 = load i32, ptr %13, align 4
%32 = load i32, ptr %10, align 4
%33 = load i32, ptr @CL_PROGRAM_BUILD_LOG, align 4
%34 = call i32 @clGetProgramBuildInfo(i32 noundef %31, i32 noundef %32, i32 noundef %33, i32 noundef 1048576, ptr noundef @buildKernel.s, ptr noundef %14)
%35 = load i32, ptr @stderr, align 4
%36 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %35, ptr noundef @.str.2, ptr noundef @buildKernel.s)
%37 = call i32 @exit(i32 noundef 1) #3
unreachable
38: ; preds = %5
%39 = load i32, ptr %13, align 4
%40 = load ptr, ptr %7, align 8
%41 = call i32 @clCreateKernel(i32 noundef %39, ptr noundef %40, ptr noundef %11)
store i32 %41, ptr %15, align 4
%42 = load i64, ptr %11, align 8
%43 = call i32 @clError(ptr noundef @.str.3, i64 noundef %42)
%44 = load ptr, ptr %12, align 8
%45 = call i32 @free(ptr noundef %44)
%46 = load i32, ptr %15, align 4
ret i32 %46
}
declare ptr @load_program_source(ptr noundef) #1
declare i32 @clCreateProgramWithSource(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @clError(ptr noundef, i64 noundef) #1
declare i64 @clBuildProgram(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare i32 @clGetProgramBuildInfo(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @clCreateKernel(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpt_rf7h6k.c'
source_filename = "/tmp/tmpt_rf7h6k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [36 x i8] c"%.2lf %.2ld %.2lf %.2lf %.2lf %.2lf\00", align 1
@EOF = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
%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
store i32 0, ptr %1, align 4
br label %8
8: ; preds = %12, %0
%9 = call i64 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7)
%10 = load i64, ptr @EOF, align 8
%11 = icmp ne i64 %9, %10
br i1 %11, label %12, label %13
12: ; preds = %8
br label %8, !llvm.loop !6
13: ; preds = %8
%14 = load i32, ptr %1, align 4
ret i32 %14
}
declare i64 @scanf(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpt_rf7h6k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [36 x i8] c"%.2lf %.2ld %.2lf %.2lf %.2lf %.2lf\00", align 1
@EOF = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
%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
store i32 0, ptr %1, align 4
br label %8
8: ; preds = %8, %0
%9 = call i64 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7)
%10 = load i64, ptr @EOF, align 8
%11 = icmp ne i64 %9, %10
br i1 %11, label %8, label %12, !llvm.loop !6
12: ; preds = %8
%13 = load i32, ptr %1, align 4
ret i32 %13
}
declare i64 @scanf(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpj9e7zmkv.c'
source_filename = "/tmp/tmpj9e7zmkv.c"
target datalayout = "e-m:e-p270: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/tmpj9e7zmkv.c"
target datalayout = "e-m:e-p270: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/tmpm4d3lahv.c'
source_filename = "/tmp/tmpm4d3lahv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%4 = load i32, ptr %2, align 4
%5 = mul nsw i32 2, %4
%6 = add nsw i32 %5, 10
%7 = sub nsw i32 %6, 2
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %7)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpm4d3lahv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%4 = load i32, ptr %2, align 4
%5 = mul nsw i32 2, %4
%6 = add nsw i32 %5, 10
%7 = sub nsw i32 %6, 2
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %7)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvz_c0q2u.c'
source_filename = "/tmp/tmpvz_c0q2u.c"
target datalayout = "e-m:e-p270: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"read from %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @readInt(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%4 = call i64 @malloc(i32 noundef 4)
%5 = inttoptr i64 %4 to ptr
store ptr %5, ptr %3, align 8
%6 = load i32, ptr %2, align 4
%7 = load ptr, ptr %3, align 8
%8 = call i32 @read(i32 noundef %6, ptr noundef %7, i32 noundef 4)
%9 = sext i32 %8 to i64
%10 = icmp ne i64 %9, 4
br i1 %10, label %11, label %14
11: ; preds = %1
%12 = load i32, ptr %2, align 4
%13 = call i32 @syserr(ptr noundef @.str, i32 noundef %12)
br label %14
14: ; preds = %11, %1
%15 = load ptr, ptr %3, align 8
%16 = load i32, ptr %15, align 4
ret i32 %16
}
declare i64 @malloc(i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @syserr(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/tmpvz_c0q2u.c"
target datalayout = "e-m:e-p270: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"read from %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @readInt(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%4 = call i64 @malloc(i32 noundef 4)
%5 = inttoptr i64 %4 to ptr
store ptr %5, ptr %3, align 8
%6 = load i32, ptr %2, align 4
%7 = load ptr, ptr %3, align 8
%8 = call i32 @read(i32 noundef %6, ptr noundef %7, i32 noundef 4)
%9 = sext i32 %8 to i64
%10 = icmp ne i64 %9, 4
br i1 %10, label %11, label %14
11: ; preds = %1
%12 = load i32, ptr %2, align 4
%13 = call i32 @syserr(ptr noundef @.str, i32 noundef %12)
br label %14
14: ; preds = %11, %1
%15 = load ptr, ptr %3, align 8
%16 = load i32, ptr %15, align 4
ret i32 %16
}
declare i64 @malloc(i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @syserr(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/tmpd0dvs57d.c'
source_filename = "/tmp/tmpd0dvs57d.c"
target datalayout = "e-m:e-p270: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 @i2c1_readregs(i8 noundef zeroext %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i8, align 1
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i8 %0, ptr %4, align 1
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = call i32 @i2c1_write(ptr noundef %4, i32 noundef 1)
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %6, align 4
%10 = call i32 @i2c1_read(ptr noundef %8, i32 noundef %9)
ret void
}
declare i32 @i2c1_write(ptr noundef, i32 noundef) #1
declare i32 @i2c1_read(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/tmpd0dvs57d.c"
target datalayout = "e-m:e-p270: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 @i2c1_readregs(i8 noundef zeroext %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i8, align 1
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i8 %0, ptr %4, align 1
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = call i32 @i2c1_write(ptr noundef %4, i32 noundef 1)
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %6, align 4
%10 = call i32 @i2c1_read(ptr noundef %8, i32 noundef %9)
ret void
}
declare i32 @i2c1_write(ptr noundef, i32 noundef) #1
declare i32 @i2c1_read(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/tmpi7a4bol8.c'
source_filename = "/tmp/tmpi7a4bol8.c"
target datalayout = "e-m:e-p270: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/tmpi7a4bol8.c"
target datalayout = "e-m:e-p270: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/tmpykglziti.c'
source_filename = "/tmp/tmpykglziti.c"
target datalayout = "e-m:e-p270: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 @current_usec() #0 {
%1 = alloca %struct.timeval, align 8
%2 = call i32 @gettimeofday(ptr noundef %1, i32 noundef 0)
%3 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0
%4 = load i64, ptr %3, align 8
%5 = mul i64 %4, 1000000
%6 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 1
%7 = load i64, ptr %6, align 8
%8 = add i64 %5, %7
ret i64 %8
}
declare i32 @gettimeofday(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/tmpykglziti.c"
target datalayout = "e-m:e-p270: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 @current_usec() #0 {
%1 = alloca %struct.timeval, align 8
%2 = call i32 @gettimeofday(ptr noundef %1, i32 noundef 0)
%3 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0
%4 = load i64, ptr %3, align 8
%5 = mul i64 %4, 1000000
%6 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 1
%7 = load i64, ptr %6, align 8
%8 = add i64 %5, %7
ret i64 %8
}
declare i32 @gettimeofday(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/tmptftfjuf0.c'
source_filename = "/tmp/tmptftfjuf0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"how to use this program:\0A\00", align 1
@.str.1 = private unnamed_addr constant [38 x i8] c"run program: ut804_logger -d device \0A\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"program options:\0A\00", align 1
@.str.3 = private unnamed_addr constant [74 x i8] c"\09\09 -d device_interface_name \09- device interface name like /dev/ttyUSB0 \0A\00", align 1
@.str.4 = private unnamed_addr constant [23 x i8] c"\09\09 -h - this message\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @display_usage() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
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/tmptftfjuf0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"how to use this program:\0A\00", align 1
@.str.1 = private unnamed_addr constant [38 x i8] c"run program: ut804_logger -d device \0A\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"program options:\0A\00", align 1
@.str.3 = private unnamed_addr constant [74 x i8] c"\09\09 -d device_interface_name \09- device interface name like /dev/ttyUSB0 \0A\00", align 1
@.str.4 = private unnamed_addr constant [23 x i8] c"\09\09 -h - this message\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @display_usage() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
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/tmpvrfb4_4j.c'
source_filename = "/tmp/tmpvrfb4_4j.c"
target datalayout = "e-m:e-p270: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/tmpvrfb4_4j.c"
target datalayout = "e-m:e-p270: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/tmpl6pjxprk.c'
source_filename = "/tmp/tmpl6pjxprk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"%d %c %d %c %d %c %d\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"%d/%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
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i8, align 1
%14 = alloca i8, align 1
store i32 0, ptr %1, align 4
%15 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
br label %16
16: ; preds = %120, %0
%17 = load i32, ptr %2, align 4
%18 = add nsw i32 %17, -1
store i32 %18, ptr %2, align 4
%19 = icmp ne i32 %17, 0
br i1 %19, label %20, label %126
20: ; preds = %16
%21 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %3, ptr noundef %14, ptr noundef %4, ptr noundef %13, ptr noundef %5, ptr noundef %14, ptr noundef %6)
%22 = load i8, ptr %13, align 1
%23 = sext i8 %22 to i32
switch i32 %23, label %69 [
i32 43, label %24
i32 45, label %43
i32 42, label %62
]
24: ; preds = %20
%25 = load i32, ptr %4, align 4
%26 = load i32, ptr %6, align 4
%27 = mul nsw i32 %25, %26
%28 = load i32, ptr %3, align 4
%29 = mul nsw i32 %27, %28
%30 = load i32, ptr %4, align 4
%31 = sdiv i32 %29, %30
%32 = load i32, ptr %4, align 4
%33 = load i32, ptr %6, align 4
%34 = mul nsw i32 %32, %33
%35 = load i32, ptr %5, align 4
%36 = mul nsw i32 %34, %35
%37 = load i32, ptr %6, align 4
%38 = sdiv i32 %36, %37
%39 = add nsw i32 %31, %38
store i32 %39, ptr %8, align 4
%40 = load i32, ptr %4, align 4
%41 = load i32, ptr %6, align 4
%42 = mul nsw i32 %40, %41
store i32 %42, ptr %9, align 4
br label %76
43: ; preds = %20
%44 = load i32, ptr %4, align 4
%45 = load i32, ptr %6, align 4
%46 = mul nsw i32 %44, %45
%47 = load i32, ptr %3, align 4
%48 = mul nsw i32 %46, %47
%49 = load i32, ptr %4, align 4
%50 = sdiv i32 %48, %49
%51 = load i32, ptr %4, align 4
%52 = load i32, ptr %6, align 4
%53 = mul nsw i32 %51, %52
%54 = load i32, ptr %5, align 4
%55 = mul nsw i32 %53, %54
%56 = load i32, ptr %6, align 4
%57 = sdiv i32 %55, %56
%58 = sub nsw i32 %50, %57
store i32 %58, ptr %8, align 4
%59 = load i32, ptr %4, align 4
%60 = load i32, ptr %6, align 4
%61 = mul nsw i32 %59, %60
store i32 %61, ptr %9, align 4
br label %76
62: ; preds = %20
%63 = load i32, ptr %3, align 4
%64 = load i32, ptr %5, align 4
%65 = mul nsw i32 %63, %64
store i32 %65, ptr %8, align 4
%66 = load i32, ptr %4, align 4
%67 = load i32, ptr %6, align 4
%68 = mul nsw i32 %66, %67
store i32 %68, ptr %9, align 4
br label %76
69: ; preds = %20
%70 = load i32, ptr %3, align 4
%71 = load i32, ptr %6, align 4
%72 = mul nsw i32 %70, %71
store i32 %72, ptr %8, align 4
%73 = load i32, ptr %4, align 4
%74 = load i32, ptr %5, align 4
%75 = mul nsw i32 %73, %74
store i32 %75, ptr %9, align 4
br label %76
76: ; preds = %69, %62, %43, %24
%77 = load i32, ptr %8, align 4
%78 = call i64 @abs(i32 noundef %77)
%79 = load i32, ptr %9, align 4
%80 = call i64 @abs(i32 noundef %79)
%81 = icmp slt i64 %78, %80
br i1 %81, label %82, label %86
82: ; preds = %76
%83 = load i32, ptr %8, align 4
%84 = call i64 @abs(i32 noundef %83)
%85 = trunc i64 %84 to i32
store i32 %85, ptr %7, align 4
br label %90
86: ; preds = %76
%87 = load i32, ptr %9, align 4
%88 = call i64 @abs(i32 noundef %87)
%89 = trunc i64 %88 to i32
store i32 %89, ptr %7, align 4
br label %90
90: ; preds = %86, %82
%91 = load i32, ptr %8, align 4
store i32 %91, ptr %10, align 4
%92 = load i32, ptr %9, align 4
store i32 %92, ptr %11, align 4
store i32 2, ptr %12, align 4
br label %93
93: ; preds = %119, %90
%94 = load i32, ptr %12, align 4
%95 = load i32, ptr %7, align 4
%96 = sdiv i32 %95, 2
%97 = add nsw i32 %96, 1
%98 = icmp sle i32 %94, %97
br i1 %98, label %99, label %120
99: ; preds = %93
%100 = load i32, ptr %10, align 4
%101 = load i32, ptr %12, align 4
%102 = srem i32 %100, %101
%103 = icmp eq i32 %102, 0
br i1 %103, label %104, label %116
104: ; preds = %99
%105 = load i32, ptr %11, align 4
%106 = load i32, ptr %12, align 4
%107 = srem i32 %105, %106
%108 = icmp eq i32 %107, 0
br i1 %108, label %109, label %116
109: ; preds = %104
%110 = load i32, ptr %10, align 4
%111 = load i32, ptr %12, align 4
%112 = sdiv i32 %110, %111
store i32 %112, ptr %10, align 4
%113 = load i32, ptr %11, align 4
%114 = load i32, ptr %12, align 4
%115 = sdiv i32 %113, %114
store i32 %115, ptr %11, align 4
br label %119
116: ; preds = %104, %99
%117 = load i32, ptr %12, align 4
%118 = add nsw i32 %117, 1
store i32 %118, ptr %12, align 4
br label %119
119: ; preds = %116, %109
br label %93, !llvm.loop !6
120: ; preds = %93
%121 = load i32, ptr %8, align 4
%122 = load i32, ptr %9, align 4
%123 = load i32, ptr %10, align 4
%124 = load i32, ptr %11, align 4
%125 = call i32 @printf(ptr noundef @.str.2, i32 noundef %121, i32 noundef %122, i32 noundef %123, i32 noundef %124)
br label %16, !llvm.loop !8
126: ; preds = %16
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
declare i64 @abs(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl6pjxprk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"%d %c %d %c %d %c %d\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"%d/%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
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i8, align 1
%14 = alloca i8, align 1
store i32 0, ptr %1, align 4
%15 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
%16 = load i32, ptr %2, align 4
%17 = add nsw i32 %16, -1
store i32 %17, ptr %2, align 4
%18 = icmp ne i32 %16, 0
br i1 %18, label %.lr.ph2, label %132
.lr.ph2: ; preds = %0
br label %19
19: ; preds = %.lr.ph2, %123
%20 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %3, ptr noundef %14, ptr noundef %4, ptr noundef %13, ptr noundef %5, ptr noundef %14, ptr noundef %6)
%21 = load i8, ptr %13, align 1
%22 = sext i8 %21 to i32
switch i32 %22, label %68 [
i32 43, label %23
i32 45, label %42
i32 42, label %61
]
23: ; preds = %19
%24 = load i32, ptr %4, align 4
%25 = load i32, ptr %6, align 4
%26 = mul nsw i32 %24, %25
%27 = load i32, ptr %3, align 4
%28 = mul nsw i32 %26, %27
%29 = load i32, ptr %4, align 4
%30 = sdiv i32 %28, %29
%31 = load i32, ptr %4, align 4
%32 = load i32, ptr %6, align 4
%33 = mul nsw i32 %31, %32
%34 = load i32, ptr %5, align 4
%35 = mul nsw i32 %33, %34
%36 = load i32, ptr %6, align 4
%37 = sdiv i32 %35, %36
%38 = add nsw i32 %30, %37
store i32 %38, ptr %8, align 4
%39 = load i32, ptr %4, align 4
%40 = load i32, ptr %6, align 4
%41 = mul nsw i32 %39, %40
store i32 %41, ptr %9, align 4
br label %75
42: ; preds = %19
%43 = load i32, ptr %4, align 4
%44 = load i32, ptr %6, align 4
%45 = mul nsw i32 %43, %44
%46 = load i32, ptr %3, align 4
%47 = mul nsw i32 %45, %46
%48 = load i32, ptr %4, align 4
%49 = sdiv i32 %47, %48
%50 = load i32, ptr %4, align 4
%51 = load i32, ptr %6, align 4
%52 = mul nsw i32 %50, %51
%53 = load i32, ptr %5, align 4
%54 = mul nsw i32 %52, %53
%55 = load i32, ptr %6, align 4
%56 = sdiv i32 %54, %55
%57 = sub nsw i32 %49, %56
store i32 %57, ptr %8, align 4
%58 = load i32, ptr %4, align 4
%59 = load i32, ptr %6, align 4
%60 = mul nsw i32 %58, %59
store i32 %60, ptr %9, align 4
br label %75
61: ; preds = %19
%62 = load i32, ptr %3, align 4
%63 = load i32, ptr %5, align 4
%64 = mul nsw i32 %62, %63
store i32 %64, ptr %8, align 4
%65 = load i32, ptr %4, align 4
%66 = load i32, ptr %6, align 4
%67 = mul nsw i32 %65, %66
store i32 %67, ptr %9, align 4
br label %75
68: ; preds = %19
%69 = load i32, ptr %3, align 4
%70 = load i32, ptr %6, align 4
%71 = mul nsw i32 %69, %70
store i32 %71, ptr %8, align 4
%72 = load i32, ptr %4, align 4
%73 = load i32, ptr %5, align 4
%74 = mul nsw i32 %72, %73
store i32 %74, ptr %9, align 4
br label %75
75: ; preds = %68, %61, %42, %23
%76 = load i32, ptr %8, align 4
%77 = call i64 @abs(i32 noundef %76)
%78 = load i32, ptr %9, align 4
%79 = call i64 @abs(i32 noundef %78)
%80 = icmp slt i64 %77, %79
br i1 %80, label %81, label %85
81: ; preds = %75
%82 = load i32, ptr %8, align 4
%83 = call i64 @abs(i32 noundef %82)
%84 = trunc i64 %83 to i32
store i32 %84, ptr %7, align 4
br label %89
85: ; preds = %75
%86 = load i32, ptr %9, align 4
%87 = call i64 @abs(i32 noundef %86)
%88 = trunc i64 %87 to i32
store i32 %88, ptr %7, align 4
br label %89
89: ; preds = %85, %81
%90 = load i32, ptr %8, align 4
store i32 %90, ptr %10, align 4
%91 = load i32, ptr %9, align 4
store i32 %91, ptr %11, align 4
store i32 2, ptr %12, align 4
%92 = load i32, ptr %12, align 4
%93 = load i32, ptr %7, align 4
%94 = sdiv i32 %93, 2
%95 = add nsw i32 %94, 1
%96 = icmp sle i32 %92, %95
br i1 %96, label %.lr.ph, label %123
.lr.ph: ; preds = %89
br label %97
97: ; preds = %.lr.ph, %117
%98 = load i32, ptr %10, align 4
%99 = load i32, ptr %12, align 4
%100 = srem i32 %98, %99
%101 = icmp eq i32 %100, 0
br i1 %101, label %102, label %114
102: ; preds = %97
%103 = load i32, ptr %11, align 4
%104 = load i32, ptr %12, align 4
%105 = srem i32 %103, %104
%106 = icmp eq i32 %105, 0
br i1 %106, label %107, label %114
107: ; preds = %102
%108 = load i32, ptr %10, align 4
%109 = load i32, ptr %12, align 4
%110 = sdiv i32 %108, %109
store i32 %110, ptr %10, align 4
%111 = load i32, ptr %11, align 4
%112 = load i32, ptr %12, align 4
%113 = sdiv i32 %111, %112
store i32 %113, ptr %11, align 4
br label %117
114: ; preds = %102, %97
%115 = load i32, ptr %12, align 4
%116 = add nsw i32 %115, 1
store i32 %116, ptr %12, align 4
br label %117
117: ; preds = %114, %107
%118 = load i32, ptr %12, align 4
%119 = load i32, ptr %7, align 4
%120 = sdiv i32 %119, 2
%121 = add nsw i32 %120, 1
%122 = icmp sle i32 %118, %121
br i1 %122, label %97, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %117
br label %123
123: ; preds = %._crit_edge, %89
%124 = load i32, ptr %8, align 4
%125 = load i32, ptr %9, align 4
%126 = load i32, ptr %10, align 4
%127 = load i32, ptr %11, align 4
%128 = call i32 @printf(ptr noundef @.str.2, i32 noundef %124, i32 noundef %125, i32 noundef %126, i32 noundef %127)
%129 = load i32, ptr %2, align 4
%130 = add nsw i32 %129, -1
store i32 %130, ptr %2, align 4
%131 = icmp ne i32 %129, 0
br i1 %131, label %19, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %123
br label %132
132: ; preds = %._crit_edge3, %0
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
declare i64 @abs(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpqwueoq_5.c'
source_filename = "/tmp/tmpqwueoq_5.c"
target datalayout = "e-m:e-p270: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"%d%d%d\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"Wrong\0A\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"%d*%d!=%d\0A\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"%d*%d==%d\0A\00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"Right\0A\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"Pass\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
store i32 0, ptr %1, align 4
%8 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4)
%9 = load i32, ptr %2, align 4
%10 = call i32 @mod9_sum(i32 noundef %9)
store i32 %10, ptr %5, align 4
%11 = load i32, ptr %3, align 4
%12 = call i32 @mod9_sum(i32 noundef %11)
store i32 %12, ptr %6, align 4
%13 = load i32, ptr %4, align 4
%14 = call i32 @mod9_sum(i32 noundef %13)
store i32 %14, ptr %7, align 4
%15 = load i32, ptr %5, align 4
%16 = load i32, ptr %6, align 4
%17 = mul nsw i32 %15, %16
%18 = srem i32 %17, 9
%19 = load i32, ptr %7, align 4
%20 = icmp ne i32 %18, %19
br i1 %20, label %21, label %33
21: ; preds = %0
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%23 = load i32, ptr %2, align 4
%24 = load i32, ptr %3, align 4
%25 = load i32, ptr %4, align 4
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %23, i32 noundef %24, i32 noundef %25)
%27 = load i32, ptr %2, align 4
%28 = load i32, ptr %3, align 4
%29 = load i32, ptr %2, align 4
%30 = load i32, ptr %3, align 4
%31 = mul nsw i32 %29, %30
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %27, i32 noundef %28, i32 noundef %31)
br label %54
33: ; preds = %0
%34 = load i32, ptr %2, align 4
%35 = load i32, ptr %3, align 4
%36 = mul nsw i32 %34, %35
%37 = load i32, ptr %4, align 4
%38 = icmp eq i32 %36, %37
br i1 %38, label %39, label %41
39: ; preds = %33
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %53
41: ; preds = %33
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%43 = load i32, ptr %2, align 4
%44 = load i32, ptr %3, align 4
%45 = load i32, ptr %4, align 4
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %43, i32 noundef %44, i32 noundef %45)
%47 = load i32, ptr %2, align 4
%48 = load i32, ptr %3, align 4
%49 = load i32, ptr %2, align 4
%50 = load i32, ptr %3, align 4
%51 = mul nsw i32 %49, %50
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %47, i32 noundef %48, i32 noundef %51)
br label %53
53: ; preds = %41, %39
br label %54
54: ; preds = %53, %21
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @mod9_sum(i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqwueoq_5.c"
target datalayout = "e-m:e-p270: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"%d%d%d\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"Wrong\0A\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"%d*%d!=%d\0A\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"%d*%d==%d\0A\00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"Right\0A\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"Pass\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
store i32 0, ptr %1, align 4
%8 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4)
%9 = load i32, ptr %2, align 4
%10 = call i32 @mod9_sum(i32 noundef %9)
store i32 %10, ptr %5, align 4
%11 = load i32, ptr %3, align 4
%12 = call i32 @mod9_sum(i32 noundef %11)
store i32 %12, ptr %6, align 4
%13 = load i32, ptr %4, align 4
%14 = call i32 @mod9_sum(i32 noundef %13)
store i32 %14, ptr %7, align 4
%15 = load i32, ptr %5, align 4
%16 = load i32, ptr %6, align 4
%17 = mul nsw i32 %15, %16
%18 = srem i32 %17, 9
%19 = load i32, ptr %7, align 4
%20 = icmp ne i32 %18, %19
br i1 %20, label %21, label %33
21: ; preds = %0
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%23 = load i32, ptr %2, align 4
%24 = load i32, ptr %3, align 4
%25 = load i32, ptr %4, align 4
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %23, i32 noundef %24, i32 noundef %25)
%27 = load i32, ptr %2, align 4
%28 = load i32, ptr %3, align 4
%29 = load i32, ptr %2, align 4
%30 = load i32, ptr %3, align 4
%31 = mul nsw i32 %29, %30
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %27, i32 noundef %28, i32 noundef %31)
br label %54
33: ; preds = %0
%34 = load i32, ptr %2, align 4
%35 = load i32, ptr %3, align 4
%36 = mul nsw i32 %34, %35
%37 = load i32, ptr %4, align 4
%38 = icmp eq i32 %36, %37
br i1 %38, label %39, label %41
39: ; preds = %33
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %53
41: ; preds = %33
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%43 = load i32, ptr %2, align 4
%44 = load i32, ptr %3, align 4
%45 = load i32, ptr %4, align 4
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %43, i32 noundef %44, i32 noundef %45)
%47 = load i32, ptr %2, align 4
%48 = load i32, ptr %3, align 4
%49 = load i32, ptr %2, align 4
%50 = load i32, ptr %3, align 4
%51 = mul nsw i32 %49, %50
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %47, i32 noundef %48, i32 noundef %51)
br label %53
53: ; preds = %41, %39
br label %54
54: ; preds = %53, %21
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @mod9_sum(i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp06ws1mq9.c'
source_filename = "/tmp/tmp06ws1mq9.c"
target datalayout = "e-m:e-p270: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 [77 x i8] c"RND Invoke Response: ContentDirectory/StopTransferResource[ErrorCode:%d]()\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @RNDResponseSink_ContentDirectory_StopTransferResource(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
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%7 = load i32, ptr %5, align 4
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %7)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp06ws1mq9.c"
target datalayout = "e-m:e-p270: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 [77 x i8] c"RND Invoke Response: ContentDirectory/StopTransferResource[ErrorCode:%d]()\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @RNDResponseSink_ContentDirectory_StopTransferResource(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
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%7 = load i32, ptr %5, align 4
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %7)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6frfpuaz.c'
source_filename = "/tmp/tmp6frfpuaz.c"
target datalayout = "e-m:e-p270: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 @send_cmdWord_msb_first(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
br label %8
8: ; preds = %23, %3
%9 = load i32, ptr %6, align 4
%10 = add nsw i32 %9, -1
store i32 %10, ptr %6, align 4
%11 = icmp ne i32 %9, 0
br i1 %11, label %12, label %27
12: ; preds = %8
%13 = load i32, ptr %4, align 4
%14 = load i32, ptr %6, align 4
%15 = lshr i32 %13, %14
%16 = and i32 %15, 1
store i32 %16, ptr %7, align 4
%17 = load i32, ptr %7, align 4
%18 = load i32, ptr %5, align 4
%19 = icmp eq i32 %18, 1
br i1 %19, label %20, label %23
20: ; preds = %12
%21 = load i32, ptr %6, align 4
%22 = icmp eq i32 %21, 0
br label %23
23: ; preds = %20, %12
%24 = phi i1 [ false, %12 ], [ %22, %20 ]
%25 = zext i1 %24 to i32
%26 = call i32 @send_cmd(i32 noundef %17, i32 noundef %25)
br label %8, !llvm.loop !6
27: ; preds = %8
ret void
}
declare i32 @send_cmd(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/tmp6frfpuaz.c"
target datalayout = "e-m:e-p270: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 @send_cmdWord_msb_first(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%8 = load i32, ptr %6, align 4
%9 = add nsw i32 %8, -1
store i32 %9, ptr %6, align 4
%10 = icmp ne i32 %8, 0
br i1 %10, label %.lr.ph, label %29
.lr.ph: ; preds = %3
br label %11
11: ; preds = %.lr.ph, %22
%12 = load i32, ptr %4, align 4
%13 = load i32, ptr %6, align 4
%14 = lshr i32 %12, %13
%15 = and i32 %14, 1
store i32 %15, ptr %7, align 4
%16 = load i32, ptr %7, align 4
%17 = load i32, ptr %5, align 4
%18 = icmp eq i32 %17, 1
br i1 %18, label %19, label %22
19: ; preds = %11
%20 = load i32, ptr %6, align 4
%21 = icmp eq i32 %20, 0
br label %22
22: ; preds = %19, %11
%23 = phi i1 [ false, %11 ], [ %21, %19 ]
%24 = zext i1 %23 to i32
%25 = call i32 @send_cmd(i32 noundef %16, i32 noundef %24)
%26 = load i32, ptr %6, align 4
%27 = add nsw i32 %26, -1
store i32 %27, ptr %6, align 4
%28 = icmp ne i32 %26, 0
br i1 %28, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %29
29: ; preds = %._crit_edge, %3
ret void
}
declare i32 @send_cmd(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/tmpfrjyue73.c'
source_filename = "/tmp/tmpfrjyue73.c"
target datalayout = "e-m:e-p270: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 @do_monitor(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 1, ptr %4, align 4
br label %5
5: ; preds = %9, %1
%6 = load ptr, ptr %2, align 8
%7 = load i32, ptr %4, align 4
%8 = call i32 @wait_and_act(ptr noundef %6, i32 noundef %7)
store i32 %8, ptr %3, align 4
store i32 0, ptr %4, align 4
br label %9
9: ; preds = %5
%10 = load i32, ptr %3, align 4
%11 = icmp sge i32 %10, 0
br i1 %11, label %5, label %12, !llvm.loop !6
12: ; preds = %9
ret void
}
declare i32 @wait_and_act(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfrjyue73.c"
target datalayout = "e-m:e-p270: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 @do_monitor(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 1, ptr %4, align 4
br label %5
5: ; preds = %9, %1
%6 = load ptr, ptr %2, align 8
%7 = load i32, ptr %4, align 4
%8 = call i32 @wait_and_act(ptr noundef %6, i32 noundef %7)
store i32 %8, ptr %3, align 4
store i32 0, ptr %4, align 4
br label %9
9: ; preds = %5
%10 = load i32, ptr %3, align 4
%11 = icmp sge i32 %10, 0
br i1 %11, label %5, label %12, !llvm.loop !6
12: ; preds = %9
ret void
}
declare i32 @wait_and_act(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpxxfh60tk.c'
source_filename = "/tmp/tmpxxfh60tk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c" #\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c" *\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @memory_dump(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %19, %1
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 1024
br i1 %6, label %7, label %22
7: ; preds = %4
%8 = load ptr, ptr %2, align 8
%9 = load i32, ptr %3, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds i32, ptr %8, i64 %10
%12 = load i32, ptr %11, align 4
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %7
%15 = call i32 @printf(ptr noundef @.str)
br label %18
16: ; preds = %7
%17 = call i32 @printf(ptr noundef @.str.1)
br label %18
18: ; preds = %16, %14
br label %19
19: ; preds = %18
%20 = load i32, ptr %3, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %3, align 4
br label %4, !llvm.loop !6
22: ; preds = %4
%23 = call i32 @printf(ptr noundef @.str.2)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxxfh60tk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c" #\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c" *\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @memory_dump(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp slt i32 %4, 1024
br i1 %5, label %.lr.ph, label %23
.lr.ph: ; preds = %1
br label %6
6: ; preds = %.lr.ph, %18
%7 = load ptr, ptr %2, align 8
%8 = load i32, ptr %3, align 4
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds i32, ptr %7, i64 %9
%11 = load i32, ptr %10, align 4
%12 = icmp ne i32 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %6
%14 = call i32 @printf(ptr noundef @.str)
br label %17
15: ; preds = %6
%16 = call i32 @printf(ptr noundef @.str.1)
br label %17
17: ; preds = %15, %13
br label %18
18: ; preds = %17
%19 = load i32, ptr %3, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %3, align 4
%21 = load i32, ptr %3, align 4
%22 = icmp slt i32 %21, 1024
br i1 %22, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %23
23: ; preds = %._crit_edge, %1
%24 = call i32 @printf(ptr noundef @.str.2)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpxo1vea4s.c'
source_filename = "/tmp/tmpxo1vea4s.c"
target datalayout = "e-m:e-p270: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 @chase_symlinks(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 @xstrdup(ptr noundef %3)
ret ptr %4
}
declare ptr @xstrdup(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/tmpxo1vea4s.c"
target datalayout = "e-m:e-p270: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 @chase_symlinks(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 @xstrdup(ptr noundef %3)
ret ptr %4
}
declare ptr @xstrdup(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/tmp176q4hgt.c'
source_filename = "/tmp/tmp176q4hgt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@S_IRUSR = dso_local global i32 0, align 4
@S_IWUSR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @mkstemp(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load i32, ptr @S_IRUSR, align 4
%5 = load i32, ptr @S_IWUSR, align 4
%6 = or i32 %4, %5
%7 = call i32 @__gen_tempname(ptr noundef %3, i32 noundef 0, i32 noundef 0, i32 noundef %6)
ret i32 %7
}
declare i32 @__gen_tempname(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp176q4hgt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@S_IRUSR = dso_local global i32 0, align 4
@S_IWUSR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @mkstemp(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load i32, ptr @S_IRUSR, align 4
%5 = load i32, ptr @S_IWUSR, align 4
%6 = or i32 %4, %5
%7 = call i32 @__gen_tempname(ptr noundef %3, i32 noundef 0, i32 noundef 0, i32 noundef %6)
ret i32 %7
}
declare i32 @__gen_tempname(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9dw01e9v.c'
source_filename = "/tmp/tmp9dw01e9v.c"
target datalayout = "e-m:e-p270: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 weak dso_local void @PIT_IRQHandler() #0 section ".after_vectors" {
%1 = call i32 (...) @PIT_DriverIRQHandler()
ret void
}
declare i32 @PIT_DriverIRQHandler(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmp9dw01e9v.c"
target datalayout = "e-m:e-p270: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 weak dso_local void @PIT_IRQHandler() #0 section ".after_vectors" {
%1 = call i32 (...) @PIT_DriverIRQHandler()
ret void
}
declare i32 @PIT_DriverIRQHandler(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpg1ns6smy.c'
source_filename = "/tmp/tmpg1ns6smy.c"
target datalayout = "e-m:e-p270: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/tmpg1ns6smy.c"
target datalayout = "e-m:e-p270: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/tmptn4dkjb8.c'
source_filename = "/tmp/tmptn4dkjb8.c"
target datalayout = "e-m:e-p270: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 [37 x i8] c"Call this program with %i arguments\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%u\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 [1 x i16], align 2
%7 = alloca [1 x i16], align 2
%8 = alloca i32, align 4
%9 = alloca i16, align 2
%10 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = call i32 (...) @megaInit()
%12 = load i32, ptr %4, align 4
%13 = icmp ne i32 %12, 2
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1)
%16 = call i32 @exit(i32 noundef -1) #3
unreachable
17: ; preds = %2
br label %18
18: ; preds = %17
store i32 0, ptr %8, align 4
br label %19
19: ; preds = %22, %18
%20 = load i32, ptr %8, align 4
%21 = icmp slt i32 %20, 1
br i1 %21, label %22, label %37
22: ; preds = %19
%23 = load ptr, ptr %5, align 8
%24 = load i32, ptr %8, align 4
%25 = add nsw i32 %24, 1
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds ptr, ptr %23, i64 %26
%28 = load ptr, ptr %27, align 8
%29 = call i64 @strtoul(ptr noundef %28, i32 noundef 0, i32 noundef 10)
%30 = trunc i64 %29 to i16
store i16 %30, ptr %9, align 2
%31 = load i16, ptr %9, align 2
%32 = load i32, ptr %8, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [1 x i16], ptr %6, i64 0, i64 %33
store i16 %31, ptr %34, align 2
%35 = load i32, ptr %8, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %8, align 4
br label %19, !llvm.loop !6
37: ; preds = %19
%38 = getelementptr inbounds [1 x i16], ptr %6, i64 0, i64 0
%39 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0
%40 = call i32 @RandomFunc(ptr noundef %38, ptr noundef %39)
%41 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0
%42 = load i16, ptr %41, align 2
%43 = zext i16 %42 to i32
%44 = icmp eq i32 %43, 48895
br i1 %44, label %45, label %47
45: ; preds = %37
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %48
47: ; preds = %37
br label %48
48: ; preds = %47, %45
store i32 0, ptr %10, align 4
br label %49
49: ; preds = %52, %48
%50 = load i32, ptr %10, align 4
%51 = icmp slt i32 %50, 1
br i1 %51, label %52, label %61
52: ; preds = %49
%53 = load i32, ptr %10, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 %54
%56 = load i16, ptr %55, align 2
%57 = zext i16 %56 to i32
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %57)
%59 = load i32, ptr %10, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %10, align 4
br label %49, !llvm.loop !8
61: ; preds = %49
%62 = load i32, ptr %3, align 4
ret i32 %62
}
declare i32 @megaInit(...) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @RandomFunc(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptn4dkjb8.c"
target datalayout = "e-m:e-p270: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 [37 x i8] c"Call this program with %i arguments\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%u\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 [1 x i16], align 2
%7 = alloca [1 x i16], align 2
%8 = alloca i32, align 4
%9 = alloca i16, align 2
%10 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = call i32 (...) @megaInit()
%12 = load i32, ptr %4, align 4
%13 = icmp ne i32 %12, 2
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1)
%16 = call i32 @exit(i32 noundef -1) #3
unreachable
17: ; preds = %2
br label %18
18: ; preds = %17
store i32 0, ptr %8, align 4
%19 = load i32, ptr %8, align 4
%20 = icmp slt i32 %19, 1
br i1 %20, label %.lr.ph, label %38
.lr.ph: ; preds = %18
br label %21
21: ; preds = %.lr.ph, %21
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr %8, align 4
%24 = add nsw i32 %23, 1
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds ptr, ptr %22, i64 %25
%27 = load ptr, ptr %26, align 8
%28 = call i64 @strtoul(ptr noundef %27, i32 noundef 0, i32 noundef 10)
%29 = trunc i64 %28 to i16
store i16 %29, ptr %9, align 2
%30 = load i16, ptr %9, align 2
%31 = load i32, ptr %8, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [1 x i16], ptr %6, i64 0, i64 %32
store i16 %30, ptr %33, align 2
%34 = load i32, ptr %8, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %8, align 4
%36 = load i32, ptr %8, align 4
%37 = icmp slt i32 %36, 1
br i1 %37, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %38
38: ; preds = %._crit_edge, %18
%39 = getelementptr inbounds [1 x i16], ptr %6, i64 0, i64 0
%40 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0
%41 = call i32 @RandomFunc(ptr noundef %39, ptr noundef %40)
%42 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0
%43 = load i16, ptr %42, align 2
%44 = zext i16 %43 to i32
%45 = icmp eq i32 %44, 48895
br i1 %45, label %46, label %48
46: ; preds = %38
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %49
48: ; preds = %38
br label %49
49: ; preds = %48, %46
store i32 0, ptr %10, align 4
%50 = load i32, ptr %10, align 4
%51 = icmp slt i32 %50, 1
br i1 %51, label %.lr.ph2, label %63
.lr.ph2: ; preds = %49
br label %52
52: ; preds = %.lr.ph2, %52
%53 = load i32, ptr %10, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 %54
%56 = load i16, ptr %55, align 2
%57 = zext i16 %56 to i32
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %57)
%59 = load i32, ptr %10, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %10, align 4
%61 = load i32, ptr %10, align 4
%62 = icmp slt i32 %61, 1
br i1 %62, label %52, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %52
br label %63
63: ; preds = %._crit_edge3, %49
%64 = load i32, ptr %3, align 4
ret i32 %64
}
declare i32 @megaInit(...) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @RandomFunc(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpx8h5svef.c'
source_filename = "/tmp/tmpx8h5svef.c"
target datalayout = "e-m:e-p270: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 @test1() #0 {
%1 = call i32 (...) @test2()
ret i32 %1
}
declare i32 @test2(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpx8h5svef.c"
target datalayout = "e-m:e-p270: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 @test1() #0 {
%1 = call i32 (...) @test2()
ret i32 %1
}
declare i32 @test2(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpa22cx7id.c'
source_filename = "/tmp/tmpa22cx7id.c"
target datalayout = "e-m:e-p270: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 @alpha_m(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = fsub double 5.000000e+01, %3
%5 = fmul double 1.000000e-01, %4
%6 = load double, ptr %2, align 8
%7 = fsub double 5.000000e+01, %6
%8 = fdiv double %7, 1.000000e+01
%9 = fptosi double %8 to i32
%10 = call i32 @exp(i32 noundef %9)
%11 = sitofp i32 %10 to double
%12 = fsub double %11, 1.000000e+00
%13 = fdiv double %5, %12
ret double %13
}
declare i32 @exp(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/tmpa22cx7id.c"
target datalayout = "e-m:e-p270: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 @alpha_m(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = fsub double 5.000000e+01, %3
%5 = fmul double 1.000000e-01, %4
%6 = load double, ptr %2, align 8
%7 = fsub double 5.000000e+01, %6
%8 = fdiv double %7, 1.000000e+01
%9 = fptosi double %8 to i32
%10 = call i32 @exp(i32 noundef %9)
%11 = sitofp i32 %10 to double
%12 = fsub double %11, 1.000000e+00
%13 = fdiv double %5, %12
ret double %13
}
declare i32 @exp(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/tmp6htofppa.c'
source_filename = "/tmp/tmp6htofppa.c"
target datalayout = "e-m:e-p270: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"%0d\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%00d\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"%d%[asdfasdfd\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"%hu\0A\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%y\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"%%\00", align 1
@.str.6 = private unnamed_addr constant [7 x i8] c"%%%1$d\00", align 1
@.str.7 = private unnamed_addr constant [7 x i8] c"%1$d%%\00", align 1
@.str.8 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.9 = private unnamed_addr constant [4 x i8] c"%*d\00", align 1
@.str.10 = private unnamed_addr constant [8 x i8] c"%*d%1$d\00", align 1
@.str.11 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.12 = private unnamed_addr constant [5 x i8] c"%hhu\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i16, align 2
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 (ptr, ...) @scanf(ptr noundef %6, ptr noundef %7)
%9 = load ptr, ptr %4, align 8
%10 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %9)
%11 = load ptr, ptr %4, align 8
%12 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %11)
%13 = load ptr, ptr %4, align 8
%14 = load ptr, ptr %3, align 8
%15 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %13, ptr noundef %14)
%16 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %5)
%17 = load ptr, ptr %4, align 8
%18 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %17)
%19 = call i32 (ptr, ...) @scanf(ptr noundef @.str.5)
%20 = load ptr, ptr %4, align 8
%21 = call i32 (ptr, ...) @scanf(ptr noundef @.str.6, ptr noundef %20)
%22 = load ptr, ptr %4, align 8
%23 = call i32 (ptr, ...) @scanf(ptr noundef @.str.7, ptr noundef %22)
%24 = load ptr, ptr %4, align 8
%25 = load ptr, ptr %4, align 8
%26 = call i32 (ptr, ...) @scanf(ptr noundef @.str.8, ptr noundef %24, ptr noundef %25)
%27 = load ptr, ptr %4, align 8
%28 = call i32 (ptr, ...) @scanf(ptr noundef @.str.9, ptr noundef %27)
%29 = load ptr, ptr %4, align 8
%30 = call i32 (ptr, ...) @scanf(ptr noundef @.str.9, ptr noundef %29)
%31 = load ptr, ptr %4, align 8
%32 = call i32 (ptr, ...) @scanf(ptr noundef @.str.10, ptr noundef %31)
%33 = call i32 (ptr, ...) @scanf(ptr noundef @.str.11, ptr noundef null)
%34 = call i32 (ptr, ...) @scanf(ptr noundef @.str.11, ptr noundef null)
%35 = call i32 (ptr, ...) @scanf(ptr noundef @.str.11, ptr noundef null)
%36 = call i32 (ptr, ...) @scanf(ptr noundef @.str.11, ptr noundef null)
%37 = call i32 (ptr, ...) @scanf(ptr noundef @.str.12, ptr noundef null)
ret void
}
declare i32 @scanf(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/tmp6htofppa.c"
target datalayout = "e-m:e-p270: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"%0d\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%00d\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"%d%[asdfasdfd\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"%hu\0A\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%y\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"%%\00", align 1
@.str.6 = private unnamed_addr constant [7 x i8] c"%%%1$d\00", align 1
@.str.7 = private unnamed_addr constant [7 x i8] c"%1$d%%\00", align 1
@.str.8 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.9 = private unnamed_addr constant [4 x i8] c"%*d\00", align 1
@.str.10 = private unnamed_addr constant [8 x i8] c"%*d%1$d\00", align 1
@.str.11 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.12 = private unnamed_addr constant [5 x i8] c"%hhu\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i16, align 2
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 (ptr, ...) @scanf(ptr noundef %6, ptr noundef %7)
%9 = load ptr, ptr %4, align 8
%10 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %9)
%11 = load ptr, ptr %4, align 8
%12 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %11)
%13 = load ptr, ptr %4, align 8
%14 = load ptr, ptr %3, align 8
%15 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %13, ptr noundef %14)
%16 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %5)
%17 = load ptr, ptr %4, align 8
%18 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %17)
%19 = call i32 (ptr, ...) @scanf(ptr noundef @.str.5)
%20 = load ptr, ptr %4, align 8
%21 = call i32 (ptr, ...) @scanf(ptr noundef @.str.6, ptr noundef %20)
%22 = load ptr, ptr %4, align 8
%23 = call i32 (ptr, ...) @scanf(ptr noundef @.str.7, ptr noundef %22)
%24 = load ptr, ptr %4, align 8
%25 = load ptr, ptr %4, align 8
%26 = call i32 (ptr, ...) @scanf(ptr noundef @.str.8, ptr noundef %24, ptr noundef %25)
%27 = load ptr, ptr %4, align 8
%28 = call i32 (ptr, ...) @scanf(ptr noundef @.str.9, ptr noundef %27)
%29 = load ptr, ptr %4, align 8
%30 = call i32 (ptr, ...) @scanf(ptr noundef @.str.9, ptr noundef %29)
%31 = load ptr, ptr %4, align 8
%32 = call i32 (ptr, ...) @scanf(ptr noundef @.str.10, ptr noundef %31)
%33 = call i32 (ptr, ...) @scanf(ptr noundef @.str.11, ptr noundef null)
%34 = call i32 (ptr, ...) @scanf(ptr noundef @.str.11, ptr noundef null)
%35 = call i32 (ptr, ...) @scanf(ptr noundef @.str.11, ptr noundef null)
%36 = call i32 (ptr, ...) @scanf(ptr noundef @.str.11, ptr noundef null)
%37 = call i32 (ptr, ...) @scanf(ptr noundef @.str.12, ptr noundef null)
ret void
}
declare i32 @scanf(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/tmp0l6cn0u9.c'
source_filename = "/tmp/tmp0l6cn0u9.c"
target datalayout = "e-m:e-p270: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/tmp0l6cn0u9.c"
target datalayout = "e-m:e-p270: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/tmpgh8qaw47.c'
source_filename = "/tmp/tmpgh8qaw47.c"
target datalayout = "e-m:e-p270: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 @dsp_word_wrap(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 0, ptr %8, align 4
br label %11
11: ; preds = %96, %3
%12 = load i32, ptr %8, align 4
%13 = load ptr, ptr %6, align 8
%14 = call i32 @strlen(ptr noundef %13)
%15 = icmp slt i32 %12, %14
br i1 %15, label %16, label %97
16: ; preds = %11
store i32 1, ptr %10, align 4
br label %17
17: ; preds = %53, %16
%18 = load i32, ptr %10, align 4
%19 = load i32, ptr %7, align 4
%20 = icmp sle i32 %18, %19
br i1 %20, label %21, label %56
21: ; preds = %17
%22 = load i32, ptr %8, align 4
%23 = load ptr, ptr %6, align 8
%24 = call i32 @strlen(ptr noundef %23)
%25 = icmp eq i32 %22, %24
br i1 %25, label %26, label %32
26: ; preds = %21
%27 = load ptr, ptr %5, align 8
%28 = load i32, ptr %8, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i8, ptr %27, i64 %29
store i8 0, ptr %30, align 1
%31 = load ptr, ptr %5, align 8
store ptr %31, ptr %4, align 8
br label %103
32: ; preds = %21
%33 = load ptr, ptr %6, align 8
%34 = load i32, ptr %8, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %33, i64 %35
%37 = load i8, ptr %36, align 1
%38 = load ptr, ptr %5, align 8
%39 = load i32, ptr %8, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i8, ptr %38, i64 %40
store i8 %37, ptr %41, align 1
%42 = load ptr, ptr %5, align 8
%43 = load i32, ptr %8, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i8, ptr %42, i64 %44
%46 = load i8, ptr %45, align 1
%47 = sext i8 %46 to i32
%48 = icmp eq i32 %47, 10
br i1 %48, label %49, label %50
49: ; preds = %32
store i32 1, ptr %10, align 4
br label %50
50: ; preds = %49, %32
%51 = load i32, ptr %8, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %8, align 4
br label %53
53: ; preds = %50
%54 = load i32, ptr %10, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %10, align 4
br label %17, !llvm.loop !6
56: ; preds = %17
%57 = load ptr, ptr %6, align 8
%58 = load i32, ptr %8, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i8, ptr %57, i64 %59
%61 = load i8, ptr %60, align 1
%62 = call i64 @isspace(i8 noundef signext %61)
%63 = icmp ne i64 %62, 0
br i1 %63, label %64, label %71
64: ; preds = %56
%65 = load ptr, ptr %5, align 8
%66 = load i32, ptr %8, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds i8, ptr %65, i64 %67
store i8 10, ptr %68, align 1
%69 = load i32, ptr %8, align 4
%70 = add nsw i32 %69, 1
store i32 %70, ptr %8, align 4
br label %96
71: ; preds = %56
%72 = load i32, ptr %8, align 4
store i32 %72, ptr %9, align 4
br label %73
73: ; preds = %92, %71
%74 = load i32, ptr %9, align 4
%75 = icmp sgt i32 %74, 0
br i1 %75, label %76, label %95
76: ; preds = %73
%77 = load ptr, ptr %6, align 8
%78 = load i32, ptr %9, align 4
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds i8, ptr %77, i64 %79
%81 = load i8, ptr %80, align 1
%82 = call i64 @isspace(i8 noundef signext %81)
%83 = icmp ne i64 %82, 0
br i1 %83, label %84, label %91
84: ; preds = %76
%85 = load ptr, ptr %5, align 8
%86 = load i32, ptr %9, align 4
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds i8, ptr %85, i64 %87
store i8 10, ptr %88, align 1
%89 = load i32, ptr %9, align 4
%90 = add nsw i32 %89, 1
store i32 %90, ptr %8, align 4
br label %95
91: ; preds = %76
br label %92
92: ; preds = %91
%93 = load i32, ptr %9, align 4
%94 = add nsw i32 %93, -1
store i32 %94, ptr %9, align 4
br label %73, !llvm.loop !8
95: ; preds = %84, %73
br label %96
96: ; preds = %95, %64
br label %11, !llvm.loop !9
97: ; preds = %11
%98 = load ptr, ptr %5, align 8
%99 = load i32, ptr %8, align 4
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds i8, ptr %98, i64 %100
store i8 0, ptr %101, align 1
%102 = load ptr, ptr %5, align 8
store ptr %102, ptr %4, align 8
br label %103
103: ; preds = %97, %26
%104 = load ptr, ptr %4, align 8
ret ptr %104
}
declare i32 @strlen(ptr noundef) #1
declare i64 @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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgh8qaw47.c"
target datalayout = "e-m:e-p270: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 @dsp_word_wrap(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 0, ptr %8, align 4
%11 = load i32, ptr %8, align 4
%12 = load ptr, ptr %6, align 8
%13 = call i32 @strlen(ptr noundef %12)
%14 = icmp slt i32 %11, %13
br i1 %14, label %.lr.ph4, label %103
.lr.ph4: ; preds = %3
br label %15
15: ; preds = %.lr.ph4, %98
store i32 1, ptr %10, align 4
%16 = load i32, ptr %10, align 4
%17 = load i32, ptr %7, align 4
%18 = icmp sle i32 %16, %17
br i1 %18, label %.lr.ph, label %57
.lr.ph: ; preds = %15
br label %19
19: ; preds = %.lr.ph, %51
%20 = load i32, ptr %8, align 4
%21 = load ptr, ptr %6, align 8
%22 = call i32 @strlen(ptr noundef %21)
%23 = icmp eq i32 %20, %22
br i1 %23, label %24, label %30
24: ; preds = %19
%25 = load ptr, ptr %5, align 8
%26 = load i32, ptr %8, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %25, i64 %27
store i8 0, ptr %28, align 1
%29 = load ptr, ptr %5, align 8
store ptr %29, ptr %4, align 8
br label %109
30: ; preds = %19
%31 = load ptr, ptr %6, align 8
%32 = load i32, ptr %8, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i8, ptr %31, i64 %33
%35 = load i8, ptr %34, align 1
%36 = load ptr, ptr %5, align 8
%37 = load i32, ptr %8, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i8, ptr %36, i64 %38
store i8 %35, ptr %39, align 1
%40 = load ptr, ptr %5, align 8
%41 = load i32, ptr %8, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i8, ptr %40, i64 %42
%44 = load i8, ptr %43, align 1
%45 = sext i8 %44 to i32
%46 = icmp eq i32 %45, 10
br i1 %46, label %47, label %48
47: ; preds = %30
store i32 1, ptr %10, align 4
br label %48
48: ; preds = %47, %30
%49 = load i32, ptr %8, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %8, align 4
br label %51
51: ; preds = %48
%52 = load i32, ptr %10, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %10, align 4
%54 = load i32, ptr %10, align 4
%55 = load i32, ptr %7, align 4
%56 = icmp sle i32 %54, %55
br i1 %56, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %51
br label %57
57: ; preds = %._crit_edge, %15
%58 = load ptr, ptr %6, align 8
%59 = load i32, ptr %8, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds i8, ptr %58, i64 %60
%62 = load i8, ptr %61, align 1
%63 = call i64 @isspace(i8 noundef signext %62)
%64 = icmp ne i64 %63, 0
br i1 %64, label %65, label %72
65: ; preds = %57
%66 = load ptr, ptr %5, align 8
%67 = load i32, ptr %8, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds i8, ptr %66, i64 %68
store i8 10, ptr %69, align 1
%70 = load i32, ptr %8, align 4
%71 = add nsw i32 %70, 1
store i32 %71, ptr %8, align 4
br label %98
72: ; preds = %57
%73 = load i32, ptr %8, align 4
store i32 %73, ptr %9, align 4
%74 = load i32, ptr %9, align 4
%75 = icmp sgt i32 %74, 0
br i1 %75, label %.lr.ph2, label %.loopexit
.lr.ph2: ; preds = %72
br label %76
76: ; preds = %.lr.ph2, %92
%77 = load ptr, ptr %6, align 8
%78 = load i32, ptr %9, align 4
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds i8, ptr %77, i64 %79
%81 = load i8, ptr %80, align 1
%82 = call i64 @isspace(i8 noundef signext %81)
%83 = icmp ne i64 %82, 0
br i1 %83, label %84, label %91
84: ; preds = %76
%85 = load ptr, ptr %5, align 8
%86 = load i32, ptr %9, align 4
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds i8, ptr %85, i64 %87
store i8 10, ptr %88, align 1
%89 = load i32, ptr %9, align 4
%90 = add nsw i32 %89, 1
store i32 %90, ptr %8, align 4
br label %97
91: ; preds = %76
br label %92
92: ; preds = %91
%93 = load i32, ptr %9, align 4
%94 = add nsw i32 %93, -1
store i32 %94, ptr %9, align 4
%95 = load i32, ptr %9, align 4
%96 = icmp sgt i32 %95, 0
br i1 %96, label %76, label %..loopexit_crit_edge, !llvm.loop !8
..loopexit_crit_edge: ; preds = %92
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %72
br label %97
97: ; preds = %.loopexit, %84
br label %98
98: ; preds = %97, %65
%99 = load i32, ptr %8, align 4
%100 = load ptr, ptr %6, align 8
%101 = call i32 @strlen(ptr noundef %100)
%102 = icmp slt i32 %99, %101
br i1 %102, label %15, label %._crit_edge5, !llvm.loop !9
._crit_edge5: ; preds = %98
br label %103
103: ; preds = %._crit_edge5, %3
%104 = load ptr, ptr %5, align 8
%105 = load i32, ptr %8, align 4
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds i8, ptr %104, i64 %106
store i8 0, ptr %107, align 1
%108 = load ptr, ptr %5, align 8
store ptr %108, ptr %4, align 8
br label %109
109: ; preds = %103, %24
%110 = load ptr, ptr %4, align 8
ret ptr %110
}
declare i32 @strlen(ptr noundef) #1
declare i64 @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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpal1refvg.c'
source_filename = "/tmp/tmpal1refvg.c"
target datalayout = "e-m:e-p270: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 @epslon(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
store double %0, ptr %2, align 8
store double 0x3FF5555555555555, ptr %3, align 8
store double 0.000000e+00, ptr %6, align 8
br label %7
7: ; preds = %10, %1
%8 = load double, ptr %6, align 8
%9 = fcmp oeq double %8, 0.000000e+00
br i1 %9, label %10, label %21
10: ; preds = %7
%11 = load double, ptr %3, align 8
%12 = fsub double %11, 1.000000e+00
store double %12, ptr %4, align 8
%13 = load double, ptr %4, align 8
%14 = load double, ptr %4, align 8
%15 = fadd double %13, %14
%16 = load double, ptr %4, align 8
%17 = fadd double %15, %16
store double %17, ptr %5, align 8
%18 = load double, ptr %5, align 8
%19 = fsub double %18, 1.000000e+00
%20 = call double @llvm.fabs.f64(double %19)
store double %20, ptr %6, align 8
br label %7, !llvm.loop !6
21: ; preds = %7
%22 = load double, ptr %6, align 8
%23 = load double, ptr %2, align 8
%24 = call double @llvm.fabs.f64(double %23)
%25 = fmul double %22, %24
ret double %25
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpal1refvg.c"
target datalayout = "e-m:e-p270: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 @epslon(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
store double %0, ptr %2, align 8
store double 0x3FF5555555555555, ptr %3, align 8
store double 0.000000e+00, ptr %6, align 8
%7 = load double, ptr %6, align 8
%8 = fcmp oeq double %7, 0.000000e+00
br i1 %8, label %.lr.ph, label %22
.lr.ph: ; preds = %1
br label %9
9: ; preds = %.lr.ph, %9
%10 = load double, ptr %3, align 8
%11 = fsub double %10, 1.000000e+00
store double %11, ptr %4, align 8
%12 = load double, ptr %4, align 8
%13 = load double, ptr %4, align 8
%14 = fadd double %12, %13
%15 = load double, ptr %4, align 8
%16 = fadd double %14, %15
store double %16, ptr %5, align 8
%17 = load double, ptr %5, align 8
%18 = fsub double %17, 1.000000e+00
%19 = call double @llvm.fabs.f64(double %18)
store double %19, ptr %6, align 8
%20 = load double, ptr %6, align 8
%21 = fcmp oeq double %20, 0.000000e+00
br i1 %21, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %9
br label %22
22: ; preds = %._crit_edge, %1
%23 = load double, ptr %6, align 8
%24 = load double, ptr %2, align 8
%25 = call double @llvm.fabs.f64(double %24)
%26 = fmul double %23, %25
ret double %26
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpr1f5fa31.c'
source_filename = "/tmp/tmpr1f5fa31.c"
target datalayout = "e-m:e-p270: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 @initUART() #0 {
%1 = load volatile i32, ptr inttoptr (i64 2130739200 to ptr), align 4
%2 = and i32 %1, -256
%3 = or i32 %2, 34
store volatile i32 %3, ptr inttoptr (i64 2130739200 to ptr), align 4
store volatile i32 34, ptr inttoptr (i64 2130726952 to ptr), align 4
store volatile i32 57309, ptr inttoptr (i64 2130726956 to ptr), align 4
store volatile i32 3, ptr inttoptr (i64 2130726912 to ptr), align 4
%4 = load volatile i32, ptr inttoptr (i64 2130726916 to ptr), align 4
%5 = and i32 %4, -4096
%6 = or i32 %5, 2053
store volatile i32 %6, ptr inttoptr (i64 2130726916 to ptr), align 4
store volatile i32 0, ptr inttoptr (i64 2130726920 to ptr), align 4
store volatile i32 0, ptr inttoptr (i64 2130726924 to ptr), align 4
%7 = call i32 @uartPutc(i8 noundef signext 10)
ret void
}
declare i32 @uartPutc(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/tmpr1f5fa31.c"
target datalayout = "e-m:e-p270: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 @initUART() #0 {
%1 = load volatile i32, ptr inttoptr (i64 2130739200 to ptr), align 4
%2 = and i32 %1, -256
%3 = or i32 %2, 34
store volatile i32 %3, ptr inttoptr (i64 2130739200 to ptr), align 4
store volatile i32 34, ptr inttoptr (i64 2130726952 to ptr), align 4
store volatile i32 57309, ptr inttoptr (i64 2130726956 to ptr), align 4
store volatile i32 3, ptr inttoptr (i64 2130726912 to ptr), align 4
%4 = load volatile i32, ptr inttoptr (i64 2130726916 to ptr), align 4
%5 = and i32 %4, -4096
%6 = or i32 %5, 2053
store volatile i32 %6, ptr inttoptr (i64 2130726916 to ptr), align 4
store volatile i32 0, ptr inttoptr (i64 2130726920 to ptr), align 4
store volatile i32 0, ptr inttoptr (i64 2130726924 to ptr), align 4
%7 = call i32 @uartPutc(i8 noundef signext 10)
ret void
}
declare i32 @uartPutc(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/tmp2m7eq2ov.c'
source_filename = "/tmp/tmp2m7eq2ov.c"
target datalayout = "e-m:e-p270: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/tmp2m7eq2ov.c"
target datalayout = "e-m:e-p270: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/tmpixermu4g.c'
source_filename = "/tmp/tmpixermu4g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"\0A%s\0A====================\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printfTitle(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, ptr noundef %3)
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/tmpixermu4g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"\0A%s\0A====================\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printfTitle(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, ptr noundef %3)
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/tmp5lt90s1z.c'
source_filename = "/tmp/tmp5lt90s1z.c"
target datalayout = "e-m:e-p270: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 [59 x i8] c" ==========================================\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @banner_dash() #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/tmp5lt90s1z.c"
target datalayout = "e-m:e-p270: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 [59 x i8] c" ==========================================\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @banner_dash() #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/tmpkn422i6y.c'
source_filename = "/tmp/tmpkn422i6y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"gap: %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @shellSort(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%10 = load i32, ptr %4, align 4
%11 = sdiv i32 %10, 2
store i32 %11, ptr %9, align 4
br label %12
12: ; preds = %33, %2
%13 = load i32, ptr %9, align 4
%14 = icmp sgt i32 %13, 0
br i1 %14, label %15, label %36
15: ; preds = %12
%16 = load i32, ptr %9, align 4
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %16)
store i32 0, ptr %5, align 4
br label %18
18: ; preds = %28, %15
%19 = load i32, ptr %5, align 4
%20 = load i32, ptr %9, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %22, label %31
22: ; preds = %18
%23 = load ptr, ptr %3, align 8
%24 = load i32, ptr %4, align 4
%25 = load i32, ptr %5, align 4
%26 = load i32, ptr %9, align 4
%27 = call i32 @insertionSortSub(ptr noundef %23, i32 noundef %24, i32 noundef %25, i32 noundef %26)
br label %28
28: ; preds = %22
%29 = load i32, ptr %5, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %5, align 4
br label %18, !llvm.loop !6
31: ; preds = %18
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %33
33: ; preds = %31
%34 = load i32, ptr %9, align 4
%35 = sdiv i32 %34, 2
store i32 %35, ptr %9, align 4
br label %12, !llvm.loop !8
36: ; preds = %12
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @insertionSortSub(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkn422i6y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"gap: %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @shellSort(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%10 = load i32, ptr %4, align 4
%11 = sdiv i32 %10, 2
store i32 %11, ptr %9, align 4
%12 = load i32, ptr %9, align 4
%13 = icmp sgt i32 %12, 0
br i1 %13, label %.lr.ph2, label %39
.lr.ph2: ; preds = %2
br label %14
14: ; preds = %.lr.ph2, %34
%15 = load i32, ptr %9, align 4
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %15)
store i32 0, ptr %5, align 4
%17 = load i32, ptr %5, align 4
%18 = load i32, ptr %9, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %.lr.ph, label %32
.lr.ph: ; preds = %14
br label %20
20: ; preds = %.lr.ph, %26
%21 = load ptr, ptr %3, align 8
%22 = load i32, ptr %4, align 4
%23 = load i32, ptr %5, align 4
%24 = load i32, ptr %9, align 4
%25 = call i32 @insertionSortSub(ptr noundef %21, i32 noundef %22, i32 noundef %23, i32 noundef %24)
br label %26
26: ; preds = %20
%27 = load i32, ptr %5, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %5, align 4
%29 = load i32, ptr %5, align 4
%30 = load i32, ptr %9, align 4
%31 = icmp slt i32 %29, %30
br i1 %31, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %26
br label %32
32: ; preds = %._crit_edge, %14
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %34
34: ; preds = %32
%35 = load i32, ptr %9, align 4
%36 = sdiv i32 %35, 2
store i32 %36, ptr %9, align 4
%37 = load i32, ptr %9, align 4
%38 = icmp sgt i32 %37, 0
br i1 %38, label %14, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %34
br label %39
39: ; preds = %._crit_edge3, %2
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @insertionSortSub(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpej2jl50_.c'
source_filename = "/tmp/tmpej2jl50_.c"
target datalayout = "e-m:e-p270: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/tmpej2jl50_.c"
target datalayout = "e-m:e-p270: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/tmpqm0_j0gh.c'
source_filename = "/tmp/tmpqm0_j0gh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINVAL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @cpufreq_modify_policy_governor(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 %4, align 4
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %5, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %12
8: ; preds = %2
%9 = load ptr, ptr %5, align 8
%10 = call i32 @strlen(ptr noundef %9)
%11 = icmp sgt i32 %10, 19
br i1 %11, label %12, label %15
12: ; preds = %8, %2
%13 = load i32, ptr @EINVAL, align 4
%14 = sub nsw i32 0, %13
store i32 %14, ptr %3, align 4
br label %19
15: ; preds = %8
%16 = load i32, ptr %4, align 4
%17 = load ptr, ptr %5, align 8
%18 = call i32 @sysfs_modify_freq_policy_governor(i32 noundef %16, ptr noundef %17)
store i32 %18, ptr %3, align 4
br label %19
19: ; preds = %15, %12
%20 = load i32, ptr %3, align 4
ret i32 %20
}
declare i32 @strlen(ptr noundef) #1
declare i32 @sysfs_modify_freq_policy_governor(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/tmpqm0_j0gh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINVAL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @cpufreq_modify_policy_governor(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 %4, align 4
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %5, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %12
8: ; preds = %2
%9 = load ptr, ptr %5, align 8
%10 = call i32 @strlen(ptr noundef %9)
%11 = icmp sgt i32 %10, 19
br i1 %11, label %12, label %15
12: ; preds = %8, %2
%13 = load i32, ptr @EINVAL, align 4
%14 = sub nsw i32 0, %13
store i32 %14, ptr %3, align 4
br label %19
15: ; preds = %8
%16 = load i32, ptr %4, align 4
%17 = load ptr, ptr %5, align 8
%18 = call i32 @sysfs_modify_freq_policy_governor(i32 noundef %16, ptr noundef %17)
store i32 %18, ptr %3, align 4
br label %19
19: ; preds = %15, %12
%20 = load i32, ptr %3, align 4
ret i32 %20
}
declare i32 @strlen(ptr noundef) #1
declare i32 @sysfs_modify_freq_policy_governor(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/tmpsmmsynos.c'
source_filename = "/tmp/tmpsmmsynos.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global 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/tmpsmmsynos.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global 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/tmpq3i7vi5x.c'
source_filename = "/tmp/tmpq3i7vi5x.c"
target datalayout = "e-m:e-p270: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_FILENO = dso_local global i32 0, align 4
@STDOUT_FILENO = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [12 x i8] c"write error\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"read error\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 [4096 x i8], align 16
store i32 0, ptr %1, align 4
br label %4
4: ; preds = %19, %0
%5 = load i32, ptr @STDIN_FILENO, align 4
%6 = getelementptr inbounds [4096 x i8], ptr %3, i64 0, i64 0
%7 = call i32 @read(i32 noundef %5, ptr noundef %6, i32 noundef 4096)
store i32 %7, ptr %2, align 4
%8 = icmp sgt i32 %7, 0
br i1 %8, label %9, label %20
9: ; preds = %4
%10 = load i32, ptr @STDOUT_FILENO, align 4
%11 = getelementptr inbounds [4096 x i8], ptr %3, i64 0, i64 0
%12 = load i32, ptr %2, align 4
%13 = call i32 @write(i32 noundef %10, ptr noundef %11, i32 noundef %12)
%14 = load i32, ptr %2, align 4
%15 = icmp ne i32 %13, %14
br i1 %15, label %16, label %19
16: ; preds = %9
%17 = load i32, ptr @stderr, align 4
%18 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str)
br label %19
19: ; preds = %16, %9
br label %4, !llvm.loop !6
20: ; preds = %4
%21 = load i32, ptr %2, align 4
%22 = icmp slt i32 %21, 0
br i1 %22, label %23, label %26
23: ; preds = %20
%24 = load i32, ptr @stderr, align 4
%25 = call i32 @fprintf(i32 noundef %24, ptr noundef @.str.1)
br label %26
26: ; preds = %23, %20
%27 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpq3i7vi5x.c"
target datalayout = "e-m:e-p270: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_FILENO = dso_local global i32 0, align 4
@STDOUT_FILENO = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [12 x i8] c"write error\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"read error\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 [4096 x i8], align 16
store i32 0, ptr %1, align 4
%4 = load i32, ptr @STDIN_FILENO, align 4
%5 = getelementptr inbounds [4096 x i8], ptr %3, i64 0, i64 0
%6 = call i32 @read(i32 noundef %4, ptr noundef %5, i32 noundef 4096)
store i32 %6, ptr %2, align 4
%7 = icmp sgt i32 %6, 0
br i1 %7, label %.lr.ph, label %22
.lr.ph: ; preds = %0
br label %8
8: ; preds = %.lr.ph, %18
%9 = load i32, ptr @STDOUT_FILENO, align 4
%10 = getelementptr inbounds [4096 x i8], ptr %3, i64 0, i64 0
%11 = load i32, ptr %2, align 4
%12 = call i32 @write(i32 noundef %9, ptr noundef %10, i32 noundef %11)
%13 = load i32, ptr %2, align 4
%14 = icmp ne i32 %12, %13
br i1 %14, label %15, label %18
15: ; preds = %8
%16 = load i32, ptr @stderr, align 4
%17 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str)
br label %18
18: ; preds = %15, %8
%19 = load i32, ptr @STDIN_FILENO, align 4
%20 = call i32 @read(i32 noundef %19, ptr noundef %5, i32 noundef 4096)
store i32 %20, ptr %2, align 4
%21 = icmp sgt i32 %20, 0
br i1 %21, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %22
22: ; preds = %._crit_edge, %0
%23 = load i32, ptr %2, align 4
%24 = icmp slt i32 %23, 0
br i1 %24, label %25, label %28
25: ; preds = %22
%26 = load i32, ptr @stderr, align 4
%27 = call i32 @fprintf(i32 noundef %26, ptr noundef @.str.1)
br label %28
28: ; preds = %25, %22
%29 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
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"}
|
; ModuleID = '/tmp/tmp9wlee5r2.c'
source_filename = "/tmp/tmp9wlee5r2.c"
target datalayout = "e-m:e-p270: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"BIGNUM\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"<=\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @test_BN_le(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
store ptr %0, ptr %8, align 8
store i32 %1, ptr %9, align 4
store ptr %2, ptr %10, align 8
store ptr %3, ptr %11, align 8
store ptr %4, ptr %12, align 8
store ptr %5, ptr %13, align 8
%14 = load ptr, ptr %12, align 8
%15 = load ptr, ptr %13, align 8
%16 = call i64 @BN_cmp(ptr noundef %14, ptr noundef %15)
%17 = icmp sle i64 %16, 0
br i1 %17, label %18, label %19
18: ; preds = %6
store i32 1, ptr %7, align 4
br label %27
19: ; preds = %6
%20 = load ptr, ptr %8, align 8
%21 = load i32, ptr %9, align 4
%22 = load ptr, ptr %10, align 8
%23 = load ptr, ptr %11, align 8
%24 = load ptr, ptr %12, align 8
%25 = load ptr, ptr %13, align 8
%26 = call i32 @test_fail_bignum_message(ptr noundef null, ptr noundef %20, i32 noundef %21, ptr noundef @.str, ptr noundef %22, ptr noundef %23, ptr noundef @.str.1, ptr noundef %24, ptr noundef %25)
store i32 0, ptr %7, align 4
br label %27
27: ; preds = %19, %18
%28 = load i32, ptr %7, align 4
ret i32 %28
}
declare i64 @BN_cmp(ptr noundef, ptr noundef) #1
declare i32 @test_fail_bignum_message(ptr noundef, ptr noundef, i32 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/tmp9wlee5r2.c"
target datalayout = "e-m:e-p270: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"BIGNUM\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"<=\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @test_BN_le(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
store ptr %0, ptr %8, align 8
store i32 %1, ptr %9, align 4
store ptr %2, ptr %10, align 8
store ptr %3, ptr %11, align 8
store ptr %4, ptr %12, align 8
store ptr %5, ptr %13, align 8
%14 = load ptr, ptr %12, align 8
%15 = load ptr, ptr %13, align 8
%16 = call i64 @BN_cmp(ptr noundef %14, ptr noundef %15)
%17 = icmp sle i64 %16, 0
br i1 %17, label %18, label %19
18: ; preds = %6
store i32 1, ptr %7, align 4
br label %27
19: ; preds = %6
%20 = load ptr, ptr %8, align 8
%21 = load i32, ptr %9, align 4
%22 = load ptr, ptr %10, align 8
%23 = load ptr, ptr %11, align 8
%24 = load ptr, ptr %12, align 8
%25 = load ptr, ptr %13, align 8
%26 = call i32 @test_fail_bignum_message(ptr noundef null, ptr noundef %20, i32 noundef %21, ptr noundef @.str, ptr noundef %22, ptr noundef %23, ptr noundef @.str.1, ptr noundef %24, ptr noundef %25)
store i32 0, ptr %7, align 4
br label %27
27: ; preds = %19, %18
%28 = load i32, ptr %7, align 4
ret i32 %28
}
declare i64 @BN_cmp(ptr noundef, ptr noundef) #1
declare i32 @test_fail_bignum_message(ptr noundef, ptr noundef, i32 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/tmpa6sq44w2.c'
source_filename = "/tmp/tmpa6sq44w2.c"
target datalayout = "e-m:e-p270: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 @f262(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @f261(ptr noundef %3)
ret i32 %4
}
declare i32 @f261(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/tmpa6sq44w2.c"
target datalayout = "e-m:e-p270: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 @f262(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @f261(ptr noundef %3)
ret i32 %4
}
declare i32 @f261(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/tmp0x9_w1nz.c'
source_filename = "/tmp/tmp0x9_w1nz.c"
target datalayout = "e-m:e-p270: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 [16 x i8] c"%lf %lf %lf %lf\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%.4f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
store i32 0, ptr %1, align 4
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5)
%7 = load double, ptr %4, align 8
%8 = load double, ptr %2, align 8
%9 = fsub double %7, %8
%10 = call i64 @pow(double noundef %9, i32 noundef 2)
%11 = load double, ptr %5, align 8
%12 = load double, ptr %3, align 8
%13 = fsub double %11, %12
%14 = call i64 @pow(double noundef %13, i32 noundef 2)
%15 = add nsw i64 %10, %14
%16 = call double @sqrt(i64 noundef %15)
%17 = call i32 @printf(ptr noundef @.str.1, double noundef %16)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, double noundef) #1
declare double @sqrt(i64 noundef) #1
declare i64 @pow(double 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/tmp0x9_w1nz.c"
target datalayout = "e-m:e-p270: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 [16 x i8] c"%lf %lf %lf %lf\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%.4f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
store i32 0, ptr %1, align 4
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5)
%7 = load double, ptr %4, align 8
%8 = load double, ptr %2, align 8
%9 = fsub double %7, %8
%10 = call i64 @pow(double noundef %9, i32 noundef 2)
%11 = load double, ptr %5, align 8
%12 = load double, ptr %3, align 8
%13 = fsub double %11, %12
%14 = call i64 @pow(double noundef %13, i32 noundef 2)
%15 = add nsw i64 %10, %14
%16 = call double @sqrt(i64 noundef %15)
%17 = call i32 @printf(ptr noundef @.str.1, double noundef %16)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, double noundef) #1
declare double @sqrt(i64 noundef) #1
declare i64 @pow(double 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/tmpli040qkw.c'
source_filename = "/tmp/tmpli040qkw.c"
target datalayout = "e-m:e-p270: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 @crypto_aead_decrypt(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i64 noundef %4, ptr noundef %5, i64 noundef %6, ptr noundef %7, ptr noundef %8) #0 {
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca i64, align 8
%15 = alloca ptr, align 8
%16 = alloca i64, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca i32, align 4
%20 = alloca ptr, align 8
%21 = alloca i64, align 8
store ptr %0, ptr %10, align 8
store ptr %1, ptr %11, align 8
store ptr %2, ptr %12, align 8
store ptr %3, ptr %13, align 8
store i64 %4, ptr %14, align 8
store ptr %5, ptr %15, align 8
store i64 %6, ptr %16, align 8
store ptr %7, ptr %17, align 8
store ptr %8, ptr %18, align 8
%22 = load ptr, ptr %13, align 8
%23 = load i64, ptr %14, align 8
%24 = getelementptr inbounds i8, ptr %22, i64 %23
%25 = getelementptr inbounds i8, ptr %24, i64 -16
store ptr %25, ptr %20, align 8
%26 = load i64, ptr %14, align 8
%27 = sub i64 %26, 16
store i64 %27, ptr %21, align 8
%28 = load ptr, ptr %10, align 8
%29 = load ptr, ptr %11, align 8
%30 = load ptr, ptr %18, align 8
%31 = load ptr, ptr %17, align 8
%32 = load ptr, ptr %13, align 8
%33 = load i64, ptr %21, align 8
%34 = load ptr, ptr %15, align 8
%35 = load i64, ptr %16, align 8
%36 = load ptr, ptr %20, align 8
%37 = call i32 @jhae_decryption_verification(ptr noundef %28, ptr noundef %29, ptr noundef %30, ptr noundef %31, ptr noundef %32, i64 noundef %33, ptr noundef %34, i64 noundef %35, ptr noundef %36)
store i32 %37, ptr %19, align 4
%38 = load i32, ptr %19, align 4
ret i32 %38
}
declare i32 @jhae_decryption_verification(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef, i64 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/tmpli040qkw.c"
target datalayout = "e-m:e-p270: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 @crypto_aead_decrypt(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i64 noundef %4, ptr noundef %5, i64 noundef %6, ptr noundef %7, ptr noundef %8) #0 {
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca i64, align 8
%15 = alloca ptr, align 8
%16 = alloca i64, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca i32, align 4
%20 = alloca ptr, align 8
%21 = alloca i64, align 8
store ptr %0, ptr %10, align 8
store ptr %1, ptr %11, align 8
store ptr %2, ptr %12, align 8
store ptr %3, ptr %13, align 8
store i64 %4, ptr %14, align 8
store ptr %5, ptr %15, align 8
store i64 %6, ptr %16, align 8
store ptr %7, ptr %17, align 8
store ptr %8, ptr %18, align 8
%22 = load ptr, ptr %13, align 8
%23 = load i64, ptr %14, align 8
%24 = getelementptr inbounds i8, ptr %22, i64 %23
%25 = getelementptr inbounds i8, ptr %24, i64 -16
store ptr %25, ptr %20, align 8
%26 = load i64, ptr %14, align 8
%27 = sub i64 %26, 16
store i64 %27, ptr %21, align 8
%28 = load ptr, ptr %10, align 8
%29 = load ptr, ptr %11, align 8
%30 = load ptr, ptr %18, align 8
%31 = load ptr, ptr %17, align 8
%32 = load ptr, ptr %13, align 8
%33 = load i64, ptr %21, align 8
%34 = load ptr, ptr %15, align 8
%35 = load i64, ptr %16, align 8
%36 = load ptr, ptr %20, align 8
%37 = call i32 @jhae_decryption_verification(ptr noundef %28, ptr noundef %29, ptr noundef %30, ptr noundef %31, ptr noundef %32, i64 noundef %33, ptr noundef %34, i64 noundef %35, ptr noundef %36)
store i32 %37, ptr %19, align 4
%38 = load i32, ptr %19, align 4
ret i32 %38
}
declare i32 @jhae_decryption_verification(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef, i64 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/tmpa6fhr9ow.c'
source_filename = "/tmp/tmpa6fhr9ow.c"
target datalayout = "e-m:e-p270: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/tmpa6fhr9ow.c"
target datalayout = "e-m:e-p270: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/tmparoonm06.c'
source_filename = "/tmp/tmparoonm06.c"
target datalayout = "e-m:e-p270: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 @bf_clear(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = call i32 @bf_write(ptr noundef %5, i32 noundef %6, i32 noundef 0)
ret void
}
declare i32 @bf_write(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmparoonm06.c"
target datalayout = "e-m:e-p270: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 @bf_clear(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = call i32 @bf_write(ptr noundef %5, i32 noundef %6, i32 noundef 0)
ret void
}
declare i32 @bf_write(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpapait2re.c'
source_filename = "/tmp/tmpapait2re.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"swmmXXXXXX\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @getTmpName(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [260 x i8], align 16
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @strcpy(ptr noundef %5, ptr noundef @.str)
%7 = load ptr, ptr %2, align 8
%8 = call i32 @mkstemp(ptr noundef %7)
%9 = load ptr, ptr %2, align 8
ret ptr %9
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @mkstemp(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/tmpapait2re.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"swmmXXXXXX\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @getTmpName(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [260 x i8], align 16
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @strcpy(ptr noundef %5, ptr noundef @.str)
%7 = load ptr, ptr %2, align 8
%8 = call i32 @mkstemp(ptr noundef %7)
%9 = load ptr, ptr %2, align 8
ret ptr %9
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @mkstemp(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/tmphuhpf33f.c'
source_filename = "/tmp/tmphuhpf33f.c"
target datalayout = "e-m:e-p270: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 @_WLocale_mb_cur_max(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
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/tmphuhpf33f.c"
target datalayout = "e-m:e-p270: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 @_WLocale_mb_cur_max(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
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/tmpdieftv_o.c'
source_filename = "/tmp/tmpdieftv_o.c"
target datalayout = "e-m:e-p270: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 [45 x i8] c"\0APrefix and Postfix operators... (num1 = 10)\00", align 1
@.str.1 = private unnamed_addr constant [43 x i8] c"\0Anum2 = num1++; so num2 = %d and num1 = %d\00", align 1
@.str.2 = private unnamed_addr constant [44 x i8] c"\0Anum2 = ++num1; so num2 = %d and num1 = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @showPrefixAndPostfixOps() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 10, ptr %1, align 4
%4 = load i32, ptr %1, align 4
%5 = add nsw i32 %4, 1
store i32 %5, ptr %1, align 4
store i32 %4, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = load i32, ptr %1, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %6, i32 noundef %7)
store i32 10, ptr %1, align 4
%9 = load i32, ptr %1, align 4
%10 = add nsw i32 %9, 1
store i32 %10, ptr %1, align 4
store i32 %10, ptr %2, align 4
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr %1, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %11, i32 noundef %12)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdieftv_o.c"
target datalayout = "e-m:e-p270: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 [45 x i8] c"\0APrefix and Postfix operators... (num1 = 10)\00", align 1
@.str.1 = private unnamed_addr constant [43 x i8] c"\0Anum2 = num1++; so num2 = %d and num1 = %d\00", align 1
@.str.2 = private unnamed_addr constant [44 x i8] c"\0Anum2 = ++num1; so num2 = %d and num1 = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @showPrefixAndPostfixOps() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 10, ptr %1, align 4
%4 = load i32, ptr %1, align 4
%5 = add nsw i32 %4, 1
store i32 %5, ptr %1, align 4
store i32 %4, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = load i32, ptr %1, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %6, i32 noundef %7)
store i32 10, ptr %1, align 4
%9 = load i32, ptr %1, align 4
%10 = add nsw i32 %9, 1
store i32 %10, ptr %1, align 4
store i32 %10, ptr %2, align 4
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr %1, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %11, i32 noundef %12)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpks11_zx6.c'
source_filename = "/tmp/tmpks11_zx6.c"
target datalayout = "e-m:e-p270: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/tmpks11_zx6.c"
target datalayout = "e-m:e-p270: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/tmpsd5ei8fl.c'
source_filename = "/tmp/tmpsd5ei8fl.c"
target datalayout = "e-m:e-p270: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/tmpsd5ei8fl.c"
target datalayout = "e-m:e-p270: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/tmp06popqmi.c'
source_filename = "/tmp/tmp06popqmi.c"
target datalayout = "e-m:e-p270: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 [34 x i8] c"double fixed point[64:%2u]: \00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"%#016llX\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_fixed_float_64(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr @stdout, align 4
%6 = load i32, ptr %4, align 4
%7 = zext i32 %6 to i64
%8 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str, i64 noundef %7)
%9 = load i32, ptr @stdout, align 4
%10 = load ptr, ptr %3, align 8
%11 = load i64, ptr %10, align 8
%12 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str.1, i64 noundef %11)
ret void
}
declare i32 @fprintf(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/tmp06popqmi.c"
target datalayout = "e-m:e-p270: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 [34 x i8] c"double fixed point[64:%2u]: \00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"%#016llX\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_fixed_float_64(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr @stdout, align 4
%6 = load i32, ptr %4, align 4
%7 = zext i32 %6 to i64
%8 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str, i64 noundef %7)
%9 = load i32, ptr @stdout, align 4
%10 = load ptr, ptr %3, align 8
%11 = load i64, ptr %10, align 8
%12 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str.1, i64 noundef %11)
ret void
}
declare i32 @fprintf(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/tmpy5z_le59.c'
source_filename = "/tmp/tmpy5z_le59.c"
target datalayout = "e-m:e-p270: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 [37 x i8] c"Call this program with %i arguments\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%u\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 [1 x i16], align 2
%7 = alloca [1 x i16], align 2
%8 = alloca i32, align 4
%9 = alloca i16, align 2
%10 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = call i32 (...) @megaInit()
%12 = load i32, ptr %4, align 4
%13 = icmp ne i32 %12, 2
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1)
%16 = call i32 @exit(i32 noundef -1) #3
unreachable
17: ; preds = %2
br label %18
18: ; preds = %17
store i32 0, ptr %8, align 4
br label %19
19: ; preds = %22, %18
%20 = load i32, ptr %8, align 4
%21 = icmp slt i32 %20, 1
br i1 %21, label %22, label %37
22: ; preds = %19
%23 = load ptr, ptr %5, align 8
%24 = load i32, ptr %8, align 4
%25 = add nsw i32 %24, 1
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds ptr, ptr %23, i64 %26
%28 = load ptr, ptr %27, align 8
%29 = call i64 @strtoul(ptr noundef %28, i32 noundef 0, i32 noundef 10)
%30 = trunc i64 %29 to i16
store i16 %30, ptr %9, align 2
%31 = load i16, ptr %9, align 2
%32 = load i32, ptr %8, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [1 x i16], ptr %6, i64 0, i64 %33
store i16 %31, ptr %34, align 2
%35 = load i32, ptr %8, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %8, align 4
br label %19, !llvm.loop !6
37: ; preds = %19
%38 = getelementptr inbounds [1 x i16], ptr %6, i64 0, i64 0
%39 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0
%40 = call i32 @RandomFunc(ptr noundef %38, ptr noundef %39)
%41 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0
%42 = load i16, ptr %41, align 2
%43 = zext i16 %42 to i32
%44 = icmp eq i32 %43, 15874
br i1 %44, label %45, label %47
45: ; preds = %37
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %48
47: ; preds = %37
br label %48
48: ; preds = %47, %45
store i32 0, ptr %10, align 4
br label %49
49: ; preds = %52, %48
%50 = load i32, ptr %10, align 4
%51 = icmp slt i32 %50, 1
br i1 %51, label %52, label %61
52: ; preds = %49
%53 = load i32, ptr %10, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 %54
%56 = load i16, ptr %55, align 2
%57 = zext i16 %56 to i32
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %57)
%59 = load i32, ptr %10, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %10, align 4
br label %49, !llvm.loop !8
61: ; preds = %49
%62 = load i32, ptr %3, align 4
ret i32 %62
}
declare i32 @megaInit(...) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @RandomFunc(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy5z_le59.c"
target datalayout = "e-m:e-p270: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 [37 x i8] c"Call this program with %i arguments\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%u\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 [1 x i16], align 2
%7 = alloca [1 x i16], align 2
%8 = alloca i32, align 4
%9 = alloca i16, align 2
%10 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = call i32 (...) @megaInit()
%12 = load i32, ptr %4, align 4
%13 = icmp ne i32 %12, 2
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1)
%16 = call i32 @exit(i32 noundef -1) #3
unreachable
17: ; preds = %2
br label %18
18: ; preds = %17
store i32 0, ptr %8, align 4
%19 = load i32, ptr %8, align 4
%20 = icmp slt i32 %19, 1
br i1 %20, label %.lr.ph, label %38
.lr.ph: ; preds = %18
br label %21
21: ; preds = %.lr.ph, %21
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr %8, align 4
%24 = add nsw i32 %23, 1
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds ptr, ptr %22, i64 %25
%27 = load ptr, ptr %26, align 8
%28 = call i64 @strtoul(ptr noundef %27, i32 noundef 0, i32 noundef 10)
%29 = trunc i64 %28 to i16
store i16 %29, ptr %9, align 2
%30 = load i16, ptr %9, align 2
%31 = load i32, ptr %8, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [1 x i16], ptr %6, i64 0, i64 %32
store i16 %30, ptr %33, align 2
%34 = load i32, ptr %8, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %8, align 4
%36 = load i32, ptr %8, align 4
%37 = icmp slt i32 %36, 1
br i1 %37, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %38
38: ; preds = %._crit_edge, %18
%39 = getelementptr inbounds [1 x i16], ptr %6, i64 0, i64 0
%40 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0
%41 = call i32 @RandomFunc(ptr noundef %39, ptr noundef %40)
%42 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0
%43 = load i16, ptr %42, align 2
%44 = zext i16 %43 to i32
%45 = icmp eq i32 %44, 15874
br i1 %45, label %46, label %48
46: ; preds = %38
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %49
48: ; preds = %38
br label %49
49: ; preds = %48, %46
store i32 0, ptr %10, align 4
%50 = load i32, ptr %10, align 4
%51 = icmp slt i32 %50, 1
br i1 %51, label %.lr.ph2, label %63
.lr.ph2: ; preds = %49
br label %52
52: ; preds = %.lr.ph2, %52
%53 = load i32, ptr %10, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 %54
%56 = load i16, ptr %55, align 2
%57 = zext i16 %56 to i32
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %57)
%59 = load i32, ptr %10, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %10, align 4
%61 = load i32, ptr %10, align 4
%62 = icmp slt i32 %61, 1
br i1 %62, label %52, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %52
br label %63
63: ; preds = %._crit_edge3, %49
%64 = load i32, ptr %3, align 4
ret i32 %64
}
declare i32 @megaInit(...) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @RandomFunc(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpwu8fb2uc.c'
source_filename = "/tmp/tmpwu8fb2uc.c"
target datalayout = "e-m:e-p270: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 @euclidesEstendido(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 0, ptr %7, align 4
%8 = call i64 @malloc(i32 noundef 12)
%9 = inttoptr i64 %8 to ptr
store ptr %9, ptr %6, align 8
%10 = load i32, ptr %5, align 4
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %21
12: ; preds = %2
%13 = load ptr, ptr %6, align 8
%14 = getelementptr inbounds i32, ptr %13, i64 0
store i32 1, ptr %14, align 4
%15 = load ptr, ptr %6, align 8
%16 = getelementptr inbounds i32, ptr %15, i64 1
store i32 0, ptr %16, align 4
%17 = load i32, ptr %4, align 4
%18 = load ptr, ptr %6, align 8
%19 = getelementptr inbounds i32, ptr %18, i64 2
store i32 %17, ptr %19, align 4
%20 = load ptr, ptr %6, align 8
store ptr %20, ptr %3, align 8
br label %46
21: ; preds = %2
%22 = load i32, ptr %5, align 4
%23 = load i32, ptr %4, align 4
%24 = load i32, ptr %5, align 4
%25 = srem i32 %23, %24
%26 = call ptr @euclidesEstendido(i32 noundef %22, i32 noundef %25)
store ptr %26, ptr %6, align 8
%27 = load i32, ptr %5, align 4
%28 = load ptr, ptr %6, align 8
%29 = getelementptr inbounds i32, ptr %28, i64 0
store i32 %27, ptr %29, align 4
%30 = load i32, ptr %4, align 4
%31 = load i32, ptr %4, align 4
%32 = load i32, ptr %5, align 4
%33 = sdiv i32 %31, %32
%34 = call i32 @floor(i32 noundef %33)
%35 = load i32, ptr %5, align 4
%36 = mul nsw i32 %34, %35
%37 = sub nsw i32 %30, %36
%38 = load ptr, ptr %6, align 8
%39 = getelementptr inbounds i32, ptr %38, i64 1
store i32 %37, ptr %39, align 4
%40 = load ptr, ptr %6, align 8
%41 = getelementptr inbounds i32, ptr %40, i64 2
%42 = load i32, ptr %41, align 4
%43 = load ptr, ptr %6, align 8
%44 = getelementptr inbounds i32, ptr %43, i64 2
store i32 %42, ptr %44, align 4
%45 = load ptr, ptr %6, align 8
store ptr %45, ptr %3, align 8
br label %46
46: ; preds = %21, %12
%47 = load ptr, ptr %3, align 8
ret ptr %47
}
declare i64 @malloc(i32 noundef) #1
declare i32 @floor(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/tmpwu8fb2uc.c"
target datalayout = "e-m:e-p270: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 @euclidesEstendido(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 0, ptr %7, align 4
%8 = call i64 @malloc(i32 noundef 12)
%9 = inttoptr i64 %8 to ptr
store ptr %9, ptr %6, align 8
%10 = load i32, ptr %5, align 4
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %21
12: ; preds = %2
%13 = load ptr, ptr %6, align 8
%14 = getelementptr inbounds i32, ptr %13, i64 0
store i32 1, ptr %14, align 4
%15 = load ptr, ptr %6, align 8
%16 = getelementptr inbounds i32, ptr %15, i64 1
store i32 0, ptr %16, align 4
%17 = load i32, ptr %4, align 4
%18 = load ptr, ptr %6, align 8
%19 = getelementptr inbounds i32, ptr %18, i64 2
store i32 %17, ptr %19, align 4
%20 = load ptr, ptr %6, align 8
store ptr %20, ptr %3, align 8
br label %46
21: ; preds = %2
%22 = load i32, ptr %5, align 4
%23 = load i32, ptr %4, align 4
%24 = load i32, ptr %5, align 4
%25 = srem i32 %23, %24
%26 = call ptr @euclidesEstendido(i32 noundef %22, i32 noundef %25)
store ptr %26, ptr %6, align 8
%27 = load i32, ptr %5, align 4
%28 = load ptr, ptr %6, align 8
%29 = getelementptr inbounds i32, ptr %28, i64 0
store i32 %27, ptr %29, align 4
%30 = load i32, ptr %4, align 4
%31 = load i32, ptr %4, align 4
%32 = load i32, ptr %5, align 4
%33 = sdiv i32 %31, %32
%34 = call i32 @floor(i32 noundef %33)
%35 = load i32, ptr %5, align 4
%36 = mul nsw i32 %34, %35
%37 = sub nsw i32 %30, %36
%38 = load ptr, ptr %6, align 8
%39 = getelementptr inbounds i32, ptr %38, i64 1
store i32 %37, ptr %39, align 4
%40 = load ptr, ptr %6, align 8
%41 = getelementptr inbounds i32, ptr %40, i64 2
%42 = load i32, ptr %41, align 4
%43 = load ptr, ptr %6, align 8
%44 = getelementptr inbounds i32, ptr %43, i64 2
store i32 %42, ptr %44, align 4
%45 = load ptr, ptr %6, align 8
store ptr %45, ptr %3, align 8
br label %46
46: ; preds = %21, %12
%47 = load ptr, ptr %3, align 8
ret ptr %47
}
declare i64 @malloc(i32 noundef) #1
declare i32 @floor(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/tmpaf999isa.c'
source_filename = "/tmp/tmpaf999isa.c"
target datalayout = "e-m:e-p270: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 @VIA1_iCA2_RTC_OneSecond_PulseNtfy() #0 {
%1 = call i32 @VIA1_SetInterruptFlag(i32 noundef 0)
ret void
}
declare i32 @VIA1_SetInterruptFlag(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/tmpaf999isa.c"
target datalayout = "e-m:e-p270: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 @VIA1_iCA2_RTC_OneSecond_PulseNtfy() #0 {
%1 = call i32 @VIA1_SetInterruptFlag(i32 noundef 0)
ret void
}
declare i32 @VIA1_SetInterruptFlag(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/tmp3h7b8km5.c'
source_filename = "/tmp/tmp3h7b8km5.c"
target datalayout = "e-m:e-p270: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/tmp3h7b8km5.c"
target datalayout = "e-m:e-p270: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/tmpfe2peupd.c'
source_filename = "/tmp/tmpfe2peupd.c"
target datalayout = "e-m:e-p270: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 [62 x i8] c"This module is on development process.Please try again later.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Rocket() #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/tmpfe2peupd.c"
target datalayout = "e-m:e-p270: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 [62 x i8] c"This module is on development process.Please try again later.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Rocket() #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/tmp9fgs3uep.c'
source_filename = "/tmp/tmp9fgs3uep.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_2__ = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XFocusOutEvent_type(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0
store i32 %5, ptr %7, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9fgs3uep.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_2__ = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XFocusOutEvent_type(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0
store i32 %5, ptr %7, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppbu760yo.c'
source_filename = "/tmp/tmppbu760yo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@hexdecode.buf = internal global [1024 x i8] zeroinitializer, align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @hexdecode(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 %3, align 8
store ptr @hexdecode.buf, ptr %5, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @strlen(ptr noundef %6)
%8 = sext i32 %7 to i64
%9 = icmp ugt i64 %8, 2048
br i1 %9, label %10, label %11
10: ; preds = %1
store ptr null, ptr %2, align 8
br label %36
11: ; preds = %1
%12 = load ptr, ptr %3, align 8
store ptr %12, ptr %4, align 8
br label %13
13: ; preds = %31, %11
%14 = load ptr, ptr %4, align 8
%15 = load i8, ptr %14, align 1
%16 = icmp ne i8 %15, 0
br i1 %16, label %17, label %34
17: ; preds = %13
%18 = load ptr, ptr %4, align 8
%19 = load i8, ptr %18, align 1
%20 = call i32 @decode_intern(i8 noundef signext %19)
%21 = shl i32 %20, 4
%22 = load ptr, ptr %4, align 8
%23 = getelementptr inbounds i8, ptr %22, i64 1
%24 = load i8, ptr %23, align 1
%25 = call i32 @decode_intern(i8 noundef signext %24)
%26 = or i32 %21, %25
%27 = trunc i32 %26 to i8
%28 = load ptr, ptr %5, align 8
store i8 %27, ptr %28, align 1
%29 = load ptr, ptr %5, align 8
%30 = getelementptr inbounds i8, ptr %29, i32 1
store ptr %30, ptr %5, align 8
br label %31
31: ; preds = %17
%32 = load ptr, ptr %4, align 8
%33 = getelementptr inbounds i8, ptr %32, i64 2
store ptr %33, ptr %4, align 8
br label %13, !llvm.loop !6
34: ; preds = %13
%35 = load ptr, ptr %5, align 8
store i8 0, ptr %35, align 1
store ptr @hexdecode.buf, ptr %2, align 8
br label %36
36: ; preds = %34, %10
%37 = load ptr, ptr %2, align 8
ret ptr %37
}
declare i32 @strlen(ptr noundef) #1
declare i32 @decode_intern(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/tmppbu760yo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@hexdecode.buf = internal global [1024 x i8] zeroinitializer, align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @hexdecode(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 %3, align 8
store ptr @hexdecode.buf, ptr %5, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @strlen(ptr noundef %6)
%8 = sext i32 %7 to i64
%9 = icmp ugt i64 %8, 2048
br i1 %9, label %10, label %11
10: ; preds = %1
store ptr null, ptr %2, align 8
br label %38
11: ; preds = %1
%12 = load ptr, ptr %3, align 8
store ptr %12, ptr %4, align 8
%13 = load ptr, ptr %4, align 8
%14 = load i8, ptr %13, align 1
%15 = icmp ne i8 %14, 0
br i1 %15, label %.lr.ph, label %36
.lr.ph: ; preds = %11
br label %16
16: ; preds = %.lr.ph, %30
%17 = load ptr, ptr %4, align 8
%18 = load i8, ptr %17, align 1
%19 = call i32 @decode_intern(i8 noundef signext %18)
%20 = shl i32 %19, 4
%21 = load ptr, ptr %4, align 8
%22 = getelementptr inbounds i8, ptr %21, i64 1
%23 = load i8, ptr %22, align 1
%24 = call i32 @decode_intern(i8 noundef signext %23)
%25 = or i32 %20, %24
%26 = trunc i32 %25 to i8
%27 = load ptr, ptr %5, align 8
store i8 %26, ptr %27, align 1
%28 = load ptr, ptr %5, align 8
%29 = getelementptr inbounds i8, ptr %28, i32 1
store ptr %29, ptr %5, align 8
br label %30
30: ; preds = %16
%31 = load ptr, ptr %4, align 8
%32 = getelementptr inbounds i8, ptr %31, i64 2
store ptr %32, ptr %4, align 8
%33 = load ptr, ptr %4, align 8
%34 = load i8, ptr %33, align 1
%35 = icmp ne i8 %34, 0
br i1 %35, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %30
br label %36
36: ; preds = %._crit_edge, %11
%37 = load ptr, ptr %5, align 8
store i8 0, ptr %37, align 1
store ptr @hexdecode.buf, ptr %2, align 8
br label %38
38: ; preds = %36, %10
%39 = load ptr, ptr %2, align 8
ret ptr %39
}
declare i32 @strlen(ptr noundef) #1
declare i32 @decode_intern(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/tmpizzi1yk2.c'
source_filename = "/tmp/tmpizzi1yk2.c"
target datalayout = "e-m:e-p270: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"%ld\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [1024 x i8], align 16
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 1024, i1 false)
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %11, %0
%5 = call signext i8 (...) @getchar()
%6 = load i32, ptr %3, align 4
%7 = sext i32 %6 to i64
%8 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 %7
store i8 %5, ptr %8, align 1
%9 = sext i8 %5 to i32
%10 = icmp ne i32 %9, 10
br i1 %10, label %11, label %14
11: ; preds = %4
%12 = load i32, ptr %3, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %3, align 4
br label %4, !llvm.loop !6
14: ; preds = %4
%15 = load i32, ptr %3, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 %16
store i8 0, ptr %17, align 1
%18 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0
%19 = call i32 @strlen(ptr noundef %18)
%20 = call i32 @printf(ptr noundef @.str, i32 noundef %19)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare signext i8 @getchar(...) #2
declare i32 @printf(ptr noundef, i32 noundef) #2
declare i32 @strlen(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: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpizzi1yk2.c"
target datalayout = "e-m:e-p270: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"%ld\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [1024 x i8], align 16
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 1024, i1 false)
store i32 0, ptr %3, align 4
%4 = call signext i8 (...) @getchar()
%5 = load i32, ptr %3, align 4
%6 = sext i32 %5 to i64
%7 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 %6
store i8 %4, ptr %7, align 1
%8 = sext i8 %4 to i32
%9 = icmp ne i32 %8, 10
br i1 %9, label %.lr.ph, label %19
.lr.ph: ; preds = %0
br label %10
10: ; preds = %.lr.ph, %10
%11 = load i32, ptr %3, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %3, align 4
%13 = call signext i8 (...) @getchar()
%14 = load i32, ptr %3, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 %15
store i8 %13, ptr %16, align 1
%17 = sext i8 %13 to i32
%18 = icmp ne i32 %17, 10
br i1 %18, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %10
br label %19
19: ; preds = %._crit_edge, %0
%20 = load i32, ptr %3, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 %21
store i8 0, ptr %22, align 1
%23 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0
%24 = call i32 @strlen(ptr noundef %23)
%25 = call i32 @printf(ptr noundef @.str, i32 noundef %24)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare signext i8 @getchar(...) #2
declare i32 @printf(ptr noundef, i32 noundef) #2
declare i32 @strlen(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: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp52nqlyy0.c'
source_filename = "/tmp/tmp52nqlyy0.c"
target datalayout = "e-m:e-p270: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"On %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @threadFunc(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %4, align 4
%5 = load ptr, ptr %2, align 8
store ptr %5, ptr %3, align 8
br label %6
6: ; preds = %9, %1
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %7, 10
br i1 %8, label %9, label %14
9: ; preds = %6
%10 = load ptr, ptr %3, align 8
%11 = call i32 @printf(ptr noundef @.str, ptr noundef %10)
%12 = load i32, ptr %4, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %4, align 4
br label %6, !llvm.loop !6
14: ; preds = %6
ret ptr null
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp52nqlyy0.c"
target datalayout = "e-m:e-p270: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"On %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @threadFunc(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %4, align 4
%5 = load ptr, ptr %2, align 8
store ptr %5, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = icmp slt i32 %6, 10
br i1 %7, label %.lr.ph, label %15
.lr.ph: ; preds = %1
br label %8
8: ; preds = %.lr.ph, %8
%9 = load ptr, ptr %3, align 8
%10 = call i32 @printf(ptr noundef @.str, ptr noundef %9)
%11 = load i32, ptr %4, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %4, align 4
%13 = load i32, ptr %4, align 4
%14 = icmp slt i32 %13, 10
br i1 %14, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %8
br label %15
15: ; preds = %._crit_edge, %1
ret ptr null
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpn7vvq5t6.c'
source_filename = "/tmp/tmpn7vvq5t6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"/cluster2/test/testfile\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @just_read() #0 {
%1 = alloca ptr, align 8
%2 = alloca i32, align 4
store ptr @.str, ptr %1, align 8
store i32 0, ptr %2, align 4
%3 = load ptr, ptr %1, align 8
%4 = call i32 @read_test(ptr noundef %3)
ret void
}
declare i32 @read_test(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/tmpn7vvq5t6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"/cluster2/test/testfile\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @just_read() #0 {
%1 = alloca ptr, align 8
%2 = alloca i32, align 4
store ptr @.str, ptr %1, align 8
store i32 0, ptr %2, align 4
%3 = load ptr, ptr %1, align 8
%4 = call i32 @read_test(ptr noundef %3)
ret void
}
declare i32 @read_test(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/tmp8rcxplh4.c'
source_filename = "/tmp/tmp8rcxplh4.c"
target datalayout = "e-m:e-p270: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/tmp8rcxplh4.c"
target datalayout = "e-m:e-p270: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/tmpj5tsxupi.c'
source_filename = "/tmp/tmpj5tsxupi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@gklt_1d_collapsed.workA = internal global [32 x [32 x double]] zeroinitializer, align 16
@gklt_1d_collapsed.workB = internal global [16 x [16 x double]] zeroinitializer, align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @gklt_1d_collapsed(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 i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store i32 0, ptr %7, align 4
br label %9
9: ; preds = %34, %3
%10 = load i32, ptr %7, align 4
%11 = icmp slt i32 %10, 32
br i1 %11, label %12, label %37
12: ; preds = %9
store i32 0, ptr %8, align 4
br label %13
13: ; preds = %30, %12
%14 = load i32, ptr %8, align 4
%15 = icmp slt i32 %14, 32
br i1 %15, label %16, label %33
16: ; preds = %13
%17 = load ptr, ptr %5, align 8
%18 = load i32, ptr %7, align 4
%19 = load i32, ptr %8, align 4
%20 = sub nsw i32 %18, %19
%21 = call i64 @abs(i32 noundef %20)
%22 = getelementptr inbounds double, ptr %17, i64 %21
%23 = load double, ptr %22, align 8
%24 = load i32, ptr %7, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [32 x [32 x double]], ptr @gklt_1d_collapsed.workA, i64 0, i64 %25
%27 = load i32, ptr %8, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [32 x double], ptr %26, i64 0, i64 %28
store double %23, ptr %29, align 8
br label %30
30: ; preds = %16
%31 = load i32, ptr %8, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %8, align 4
br label %13, !llvm.loop !6
33: ; preds = %13
br label %34
34: ; preds = %33
%35 = load i32, ptr %7, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %7, align 4
br label %9, !llvm.loop !8
37: ; preds = %9
%38 = load ptr, ptr %6, align 8
%39 = call i32 @flap_2d(ptr noundef @gklt_1d_collapsed.workB, ptr noundef @gklt_1d_collapsed.workA, ptr noundef %38)
%40 = load ptr, ptr %4, align 8
%41 = getelementptr inbounds [16 x double], ptr %40, i64 0
%42 = getelementptr inbounds [16 x double], ptr %41, i64 0, i64 0
%43 = call i32 @symeigen(ptr noundef %42, ptr noundef @gklt_1d_collapsed.workB, i32 noundef 16)
ret void
}
declare i64 @abs(i32 noundef) #1
declare i32 @flap_2d(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @symeigen(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj5tsxupi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@gklt_1d_collapsed.workA = internal global [32 x [32 x double]] zeroinitializer, align 16
@gklt_1d_collapsed.workB = internal global [16 x [16 x double]] zeroinitializer, align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @gklt_1d_collapsed(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 i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store i32 0, ptr %7, align 4
%9 = load i32, ptr %7, align 4
%10 = icmp slt i32 %9, 32
br i1 %10, label %.lr.ph2, label %39
.lr.ph2: ; preds = %3
br label %11
11: ; preds = %.lr.ph2, %34
store i32 0, ptr %8, align 4
%12 = load i32, ptr %8, align 4
%13 = icmp slt i32 %12, 32
br i1 %13, label %.lr.ph, label %33
.lr.ph: ; preds = %11
br label %14
14: ; preds = %.lr.ph, %28
%15 = load ptr, ptr %5, align 8
%16 = load i32, ptr %7, align 4
%17 = load i32, ptr %8, align 4
%18 = sub nsw i32 %16, %17
%19 = call i64 @abs(i32 noundef %18)
%20 = getelementptr inbounds double, ptr %15, i64 %19
%21 = load double, ptr %20, align 8
%22 = load i32, ptr %7, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [32 x [32 x double]], ptr @gklt_1d_collapsed.workA, i64 0, i64 %23
%25 = load i32, ptr %8, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [32 x double], ptr %24, i64 0, i64 %26
store double %21, ptr %27, align 8
br label %28
28: ; preds = %14
%29 = load i32, ptr %8, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %8, align 4
%31 = load i32, ptr %8, align 4
%32 = icmp slt i32 %31, 32
br i1 %32, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %28
br label %33
33: ; preds = %._crit_edge, %11
br label %34
34: ; preds = %33
%35 = load i32, ptr %7, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %7, align 4
%37 = load i32, ptr %7, align 4
%38 = icmp slt i32 %37, 32
br i1 %38, label %11, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %34
br label %39
39: ; preds = %._crit_edge3, %3
%40 = load ptr, ptr %6, align 8
%41 = call i32 @flap_2d(ptr noundef @gklt_1d_collapsed.workB, ptr noundef @gklt_1d_collapsed.workA, ptr noundef %40)
%42 = load ptr, ptr %4, align 8
%43 = getelementptr inbounds [16 x double], ptr %42, i64 0
%44 = getelementptr inbounds [16 x double], ptr %43, i64 0, i64 0
%45 = call i32 @symeigen(ptr noundef %44, ptr noundef @gklt_1d_collapsed.workB, i32 noundef 16)
ret void
}
declare i64 @abs(i32 noundef) #1
declare i32 @flap_2d(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @symeigen(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp_v0c93d0.c'
source_filename = "/tmp/tmp_v0c93d0.c"
target datalayout = "e-m:e-p270: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"argc = [%d]\0A\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"argv[%d] = [%s]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %7)
store i32 0, ptr %6, align 4
br label %9
9: ; preds = %21, %2
%10 = load i32, ptr %6, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %13, label %24
13: ; preds = %9
%14 = load i32, ptr %6, align 4
%15 = load ptr, ptr %5, align 8
%16 = load i32, ptr %6, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds ptr, ptr %15, i64 %17
%19 = load ptr, ptr %18, align 8
%20 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %14, ptr noundef %19)
br label %21
21: ; preds = %13
%22 = load i32, ptr %6, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %6, align 4
br label %9, !llvm.loop !6
24: ; preds = %9
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_v0c93d0.c"
target datalayout = "e-m:e-p270: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"argc = [%d]\0A\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"argv[%d] = [%s]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %7)
store i32 0, ptr %6, align 4
%9 = load i32, ptr %6, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %.lr.ph, label %26
.lr.ph: ; preds = %2
br label %12
12: ; preds = %.lr.ph, %20
%13 = load i32, ptr %6, align 4
%14 = load ptr, ptr %5, align 8
%15 = load i32, ptr %6, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds ptr, ptr %14, i64 %16
%18 = load ptr, ptr %17, align 8
%19 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %13, ptr noundef %18)
br label %20
20: ; preds = %12
%21 = load i32, ptr %6, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %6, align 4
%23 = load i32, ptr %6, align 4
%24 = load i32, ptr %4, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %26
26: ; preds = %._crit_edge, %2
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp743g9a85.c'
source_filename = "/tmp/tmp743g9a85.c"
target datalayout = "e-m:e-p270: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 @ArrayParam(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds i32, ptr %3, i64 50
%5 = load i32, ptr %4, align 4
%6 = sext i32 %5 to i64
%7 = inttoptr i64 %6 to ptr
%8 = load ptr, ptr %2, align 8
%9 = getelementptr inbounds i32, ptr %8, i64 50
%10 = call i32 @EF1(ptr noundef %7, ptr noundef inttoptr (i64 1 to ptr), ptr noundef %9)
ret i32 %10
}
declare i32 @EF1(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/tmp743g9a85.c"
target datalayout = "e-m:e-p270: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 @ArrayParam(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds i32, ptr %3, i64 50
%5 = load i32, ptr %4, align 4
%6 = sext i32 %5 to i64
%7 = inttoptr i64 %6 to ptr
%8 = load ptr, ptr %2, align 8
%9 = getelementptr inbounds i32, ptr %8, i64 50
%10 = call i32 @EF1(ptr noundef %7, ptr noundef inttoptr (i64 1 to ptr), ptr noundef %9)
ret i32 %10
}
declare i32 @EF1(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/tmptey5ytc0.c'
source_filename = "/tmp/tmptey5ytc0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @convertInToString(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %4, align 8
%6 = call i32 @cleanString(ptr noundef %5)
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %3, align 4
%9 = call i32 @snprintf(ptr noundef %7, i32 noundef 500, ptr noundef @.str, i32 noundef %8)
ret void
}
declare i32 @cleanString(ptr noundef) #1
declare i32 @snprintf(ptr noundef, 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/tmptey5ytc0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @convertInToString(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %4, align 8
%6 = call i32 @cleanString(ptr noundef %5)
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %3, align 4
%9 = call i32 @snprintf(ptr noundef %7, i32 noundef 500, ptr noundef @.str, i32 noundef %8)
ret void
}
declare i32 @cleanString(ptr noundef) #1
declare i32 @snprintf(ptr noundef, 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/tmpeqs07ea4.c'
source_filename = "/tmp/tmpeqs07ea4.c"
target datalayout = "e-m:e-p270: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"%hhu\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_uint8(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 @printf(ptr noundef @.str, i32 noundef %3)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpeqs07ea4.c"
target datalayout = "e-m:e-p270: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"%hhu\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_uint8(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 @printf(ptr noundef @.str, i32 noundef %3)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp01ic8zor.c'
source_filename = "/tmp/tmp01ic8zor.c"
target datalayout = "e-m:e-p270: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"Hello from main.c\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @printf(ptr noundef @.str)
%7 = call i32 (...) @prog1()
%8 = call i32 (...) @prog2()
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @prog1(...) #1
declare i32 @prog2(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmp01ic8zor.c"
target datalayout = "e-m:e-p270: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"Hello from main.c\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @printf(ptr noundef @.str)
%7 = call i32 (...) @prog1()
%8 = call i32 (...) @prog2()
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @prog1(...) #1
declare i32 @prog2(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpliecqjnv.c'
source_filename = "/tmp/tmpliecqjnv.c"
target datalayout = "e-m:e-p270: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 [30 x i8] c"Digite o grau do polimonio: \0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"Coeficiente de A[%d]: \0A\00", align 1
@.str.3 = private unnamed_addr constant [44 x i8] c"Digite um valor para a,tal que (x-a = 0): \0A\00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"%dx^%d + \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 [10 x i32], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca [10 x i32], align 16
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 0, ptr %1, align 4
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%12 = load i32, ptr %2, align 4
store i32 %12, ptr %4, align 4
br label %13
13: ; preds = %23, %0
%14 = load i32, ptr %4, align 4
%15 = icmp sge i32 %14, 0
br i1 %15, label %16, label %26
16: ; preds = %13
%17 = load i32, ptr %4, align 4
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %17)
%19 = load i32, ptr %4, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 %20
%22 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %21)
br label %23
23: ; preds = %16
%24 = load i32, ptr %4, align 4
%25 = add nsw i32 %24, -1
store i32 %25, ptr %4, align 4
br label %13, !llvm.loop !6
26: ; preds = %13
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%28 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6)
%29 = load i32, ptr %2, align 4
store i32 %29, ptr %8, align 4
%30 = load i32, ptr %2, align 4
%31 = sub nsw i32 %30, 1
store i32 %31, ptr %5, align 4
br label %32
32: ; preds = %45, %26
%33 = load i32, ptr %5, align 4
%34 = icmp sge i32 %33, 0
br i1 %34, label %35, label %48
35: ; preds = %32
%36 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 0
%37 = getelementptr inbounds [10 x i32], ptr %7, i64 0, i64 0
%38 = load i32, ptr %5, align 4
%39 = load i32, ptr %6, align 4
%40 = load i32, ptr %8, align 4
%41 = call i32 @polynomial(ptr noundef %36, ptr noundef %37, i32 noundef %38, i32 noundef %39, i32 noundef %40)
%42 = load i32, ptr %5, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds [10 x i32], ptr %7, i64 0, i64 %43
store i32 %41, ptr %44, align 4
br label %45
45: ; preds = %35
%46 = load i32, ptr %5, align 4
%47 = add nsw i32 %46, -1
store i32 %47, ptr %5, align 4
br label %32, !llvm.loop !8
48: ; preds = %32
%49 = load i32, ptr %8, align 4
%50 = sub nsw i32 %49, 1
store i32 %50, ptr %4, align 4
br label %51
51: ; preds = %61, %48
%52 = load i32, ptr %4, align 4
%53 = icmp sge i32 %52, 0
br i1 %53, label %54, label %64
54: ; preds = %51
%55 = load i32, ptr %4, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds [10 x i32], ptr %7, i64 0, i64 %56
%58 = load i32, ptr %57, align 4
%59 = load i32, ptr %4, align 4
%60 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %58, i32 noundef %59)
br label %61
61: ; preds = %54
%62 = load i32, ptr %4, align 4
%63 = add nsw i32 %62, -1
store i32 %63, ptr %4, align 4
br label %51, !llvm.loop !9
64: ; preds = %51
%65 = load i32, ptr %1, align 4
ret i32 %65
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @polynomial(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpliecqjnv.c"
target datalayout = "e-m:e-p270: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 [30 x i8] c"Digite o grau do polimonio: \0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"Coeficiente de A[%d]: \0A\00", align 1
@.str.3 = private unnamed_addr constant [44 x i8] c"Digite um valor para a,tal que (x-a = 0): \0A\00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"%dx^%d + \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 [10 x i32], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca [10 x i32], align 16
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 0, ptr %1, align 4
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%12 = load i32, ptr %2, align 4
store i32 %12, ptr %4, align 4
%13 = load i32, ptr %4, align 4
%14 = icmp sge i32 %13, 0
br i1 %14, label %.lr.ph, label %27
.lr.ph: ; preds = %0
br label %15
15: ; preds = %.lr.ph, %22
%16 = load i32, ptr %4, align 4
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %16)
%18 = load i32, ptr %4, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 %19
%21 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %20)
br label %22
22: ; preds = %15
%23 = load i32, ptr %4, align 4
%24 = add nsw i32 %23, -1
store i32 %24, ptr %4, align 4
%25 = load i32, ptr %4, align 4
%26 = icmp sge i32 %25, 0
br i1 %26, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %27
27: ; preds = %._crit_edge, %0
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%29 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6)
%30 = load i32, ptr %2, align 4
store i32 %30, ptr %8, align 4
%31 = load i32, ptr %2, align 4
%32 = sub nsw i32 %31, 1
store i32 %32, ptr %5, align 4
%33 = load i32, ptr %5, align 4
%34 = icmp sge i32 %33, 0
br i1 %34, label %.lr.ph2, label %50
.lr.ph2: ; preds = %27
br label %35
35: ; preds = %.lr.ph2, %45
%36 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 0
%37 = getelementptr inbounds [10 x i32], ptr %7, i64 0, i64 0
%38 = load i32, ptr %5, align 4
%39 = load i32, ptr %6, align 4
%40 = load i32, ptr %8, align 4
%41 = call i32 @polynomial(ptr noundef %36, ptr noundef %37, i32 noundef %38, i32 noundef %39, i32 noundef %40)
%42 = load i32, ptr %5, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds [10 x i32], ptr %7, i64 0, i64 %43
store i32 %41, ptr %44, align 4
br label %45
45: ; preds = %35
%46 = load i32, ptr %5, align 4
%47 = add nsw i32 %46, -1
store i32 %47, ptr %5, align 4
%48 = load i32, ptr %5, align 4
%49 = icmp sge i32 %48, 0
br i1 %49, label %35, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %45
br label %50
50: ; preds = %._crit_edge3, %27
%51 = load i32, ptr %8, align 4
%52 = sub nsw i32 %51, 1
store i32 %52, ptr %4, align 4
%53 = load i32, ptr %4, align 4
%54 = icmp sge i32 %53, 0
br i1 %54, label %.lr.ph5, label %67
.lr.ph5: ; preds = %50
br label %55
55: ; preds = %.lr.ph5, %62
%56 = load i32, ptr %4, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds [10 x i32], ptr %7, i64 0, i64 %57
%59 = load i32, ptr %58, align 4
%60 = load i32, ptr %4, align 4
%61 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %59, i32 noundef %60)
br label %62
62: ; preds = %55
%63 = load i32, ptr %4, align 4
%64 = add nsw i32 %63, -1
store i32 %64, ptr %4, align 4
%65 = load i32, ptr %4, align 4
%66 = icmp sge i32 %65, 0
br i1 %66, label %55, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %62
br label %67
67: ; preds = %._crit_edge6, %50
%68 = load i32, ptr %1, align 4
ret i32 %68
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @polynomial(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpgufx3ovs.c'
source_filename = "/tmp/tmpgufx3ovs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"%i!\09%i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %2, align 4
store i32 1, ptr %3, align 4
br label %4
4: ; preds = %14, %0
%5 = load i32, ptr %3, align 4
%6 = icmp sle i32 %5, 10
br i1 %6, label %7, label %17
7: ; preds = %4
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %2, align 4
%10 = mul nsw i32 %8, %9
store i32 %10, ptr %2, align 4
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr %2, align 4
%13 = call i32 @printf(ptr noundef @.str, i32 noundef %11, i32 noundef %12)
br label %14
14: ; preds = %7
%15 = load i32, ptr %3, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %3, align 4
br label %4, !llvm.loop !6
17: ; preds = %4
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgufx3ovs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"%i!\09%i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %2, align 4
store i32 1, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp sle i32 %4, 10
br i1 %5, label %.lr.ph, label %18
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %13
%7 = load i32, ptr %3, align 4
%8 = load i32, ptr %2, align 4
%9 = mul nsw i32 %7, %8
store i32 %9, ptr %2, align 4
%10 = load i32, ptr %3, align 4
%11 = load i32, ptr %2, align 4
%12 = call i32 @printf(ptr noundef @.str, i32 noundef %10, i32 noundef %11)
br label %13
13: ; preds = %6
%14 = load i32, ptr %3, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %3, align 4
%16 = load i32, ptr %3, align 4
%17 = icmp sle i32 %16, 10
br i1 %17, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %18
18: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpsbd85omk.c'
source_filename = "/tmp/tmpsbd85omk.c"
target datalayout = "e-m:e-p270: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 [30 x i8] c"Enter number to be factored: \00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%ld\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 i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call i32 @printf(ptr noundef @.str)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6)
%9 = load i64, ptr %6, align 8
%10 = call i32 @primeFactorization(i64 noundef %9)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @primeFactorization(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/tmpsbd85omk.c"
target datalayout = "e-m:e-p270: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 [30 x i8] c"Enter number to be factored: \00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%ld\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 i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call i32 @printf(ptr noundef @.str)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6)
%9 = load i64, ptr %6, align 8
%10 = call i32 @primeFactorization(i64 noundef %9)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @primeFactorization(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/tmphelgjpmc.c'
source_filename = "/tmp/tmphelgjpmc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"symtab.txt\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @search_symtab(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [10 x i8], align 1
%6 = alloca [10 x i8], align 1
store ptr %0, ptr %3, align 8
call void @llvm.memset.p0.i64(ptr align 1 %5, i8 0, i64 10, i1 false)
call void @llvm.memset.p0.i64(ptr align 1 %6, i8 0, i64 10, i1 false)
%7 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %7, ptr %4, align 8
%8 = load ptr, ptr %4, align 8
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %11
10: ; preds = %1
store i32 -1, ptr %2, align 4
br label %41
11: ; preds = %1
%12 = load ptr, ptr %4, align 8
%13 = call i32 @rewind(ptr noundef %12)
%14 = load ptr, ptr %3, align 8
%15 = icmp eq ptr %14, null
br i1 %15, label %16, label %17
16: ; preds = %11
store i32 -1, ptr %2, align 4
br label %41
17: ; preds = %11
br label %18
18: ; preds = %33, %17
%19 = load ptr, ptr %4, align 8
%20 = getelementptr inbounds [10 x i8], ptr %5, i64 0, i64 0
%21 = call i32 @fscanf(ptr noundef %19, ptr noundef @.str.2, ptr noundef %20)
%22 = load ptr, ptr %4, align 8
%23 = getelementptr inbounds [10 x i8], ptr %6, i64 0, i64 0
%24 = call i32 @fscanf(ptr noundef %22, ptr noundef @.str.2, ptr noundef %23)
%25 = load ptr, ptr %3, align 8
%26 = getelementptr inbounds [10 x i8], ptr %5, i64 0, i64 0
%27 = call i64 @strcmp(ptr noundef %25, ptr noundef %26)
%28 = icmp eq i64 %27, 0
br i1 %28, label %29, label %32
29: ; preds = %18
%30 = load ptr, ptr %4, align 8
%31 = call i32 @fclose(ptr noundef %30)
store i32 0, ptr %2, align 4
br label %41
32: ; preds = %18
br label %33
33: ; preds = %32
%34 = load ptr, ptr %4, align 8
%35 = call i32 @feof(ptr noundef %34)
%36 = icmp ne i32 %35, 0
%37 = xor i1 %36, true
br i1 %37, label %18, label %38, !llvm.loop !6
38: ; preds = %33
%39 = load ptr, ptr %4, align 8
%40 = call i32 @fclose(ptr noundef %39)
store i32 0, ptr %2, align 4
br label %41
41: ; preds = %38, %29, %16, %10
%42 = load i32, ptr %2, align 4
ret i32 %42
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare ptr @fopen(ptr noundef, ptr noundef) #2
declare i32 @rewind(ptr noundef) #2
declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #2
declare i64 @strcmp(ptr noundef, ptr noundef) #2
declare i32 @fclose(ptr noundef) #2
declare i32 @feof(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: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphelgjpmc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"symtab.txt\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @search_symtab(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [10 x i8], align 1
%6 = alloca [10 x i8], align 1
store ptr %0, ptr %3, align 8
call void @llvm.memset.p0.i64(ptr align 1 %5, i8 0, i64 10, i1 false)
call void @llvm.memset.p0.i64(ptr align 1 %6, i8 0, i64 10, i1 false)
%7 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %7, ptr %4, align 8
%8 = load ptr, ptr %4, align 8
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %11
10: ; preds = %1
store i32 -1, ptr %2, align 4
br label %41
11: ; preds = %1
%12 = load ptr, ptr %4, align 8
%13 = call i32 @rewind(ptr noundef %12)
%14 = load ptr, ptr %3, align 8
%15 = icmp eq ptr %14, null
br i1 %15, label %16, label %17
16: ; preds = %11
store i32 -1, ptr %2, align 4
br label %41
17: ; preds = %11
br label %18
18: ; preds = %33, %17
%19 = load ptr, ptr %4, align 8
%20 = getelementptr inbounds [10 x i8], ptr %5, i64 0, i64 0
%21 = call i32 @fscanf(ptr noundef %19, ptr noundef @.str.2, ptr noundef %20)
%22 = load ptr, ptr %4, align 8
%23 = getelementptr inbounds [10 x i8], ptr %6, i64 0, i64 0
%24 = call i32 @fscanf(ptr noundef %22, ptr noundef @.str.2, ptr noundef %23)
%25 = load ptr, ptr %3, align 8
%26 = getelementptr inbounds [10 x i8], ptr %5, i64 0, i64 0
%27 = call i64 @strcmp(ptr noundef %25, ptr noundef %26)
%28 = icmp eq i64 %27, 0
br i1 %28, label %29, label %32
29: ; preds = %18
%30 = load ptr, ptr %4, align 8
%31 = call i32 @fclose(ptr noundef %30)
store i32 0, ptr %2, align 4
br label %41
32: ; preds = %18
br label %33
33: ; preds = %32
%34 = load ptr, ptr %4, align 8
%35 = call i32 @feof(ptr noundef %34)
%36 = icmp ne i32 %35, 0
%37 = xor i1 %36, true
br i1 %37, label %18, label %38, !llvm.loop !6
38: ; preds = %33
%39 = load ptr, ptr %4, align 8
%40 = call i32 @fclose(ptr noundef %39)
store i32 0, ptr %2, align 4
br label %41
41: ; preds = %38, %29, %16, %10
%42 = load i32, ptr %2, align 4
ret i32 %42
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare ptr @fopen(ptr noundef, ptr noundef) #2
declare i32 @rewind(ptr noundef) #2
declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #2
declare i64 @strcmp(ptr noundef, ptr noundef) #2
declare i32 @fclose(ptr noundef) #2
declare i32 @feof(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: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpar253gk3.c'
source_filename = "/tmp/tmpar253gk3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@M_PI = dso_local global double 0.000000e+00, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpar253gk3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@M_PI = dso_local global double 0.000000e+00, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppl48dh_h.c'
source_filename = "/tmp/tmppl48dh_h.c"
target datalayout = "e-m:e-p270: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 @copy_double_column(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%11 = load i32, ptr %6, align 4
%12 = add nsw i32 %11, 1
%13 = call ptr @generate_zero_vector(i32 noundef %12)
store ptr %13, ptr %9, align 8
store i32 0, ptr %10, align 4
br label %14
14: ; preds = %34, %4
%15 = load i32, ptr %10, align 4
%16 = load i32, ptr %6, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %18, label %37
18: ; preds = %14
%19 = load ptr, ptr %5, align 8
%20 = load i32, ptr %10, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds ptr, ptr %19, i64 %21
%23 = load ptr, ptr %22, align 8
%24 = load i32, ptr %8, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %23, i64 %25
%27 = load i8, ptr %26, align 1
%28 = sitofp i8 %27 to double
%29 = load ptr, ptr %9, align 8
%30 = load i32, ptr %10, align 4
%31 = add nsw i32 %30, 1
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds double, ptr %29, i64 %32
store double %28, ptr %33, align 8
br label %34
34: ; preds = %18
%35 = load i32, ptr %10, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %10, align 4
br label %14, !llvm.loop !6
37: ; preds = %14
%38 = load ptr, ptr %9, align 8
ret ptr %38
}
declare ptr @generate_zero_vector(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/tmppl48dh_h.c"
target datalayout = "e-m:e-p270: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 @copy_double_column(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%11 = load i32, ptr %6, align 4
%12 = add nsw i32 %11, 1
%13 = call ptr @generate_zero_vector(i32 noundef %12)
store ptr %13, ptr %9, align 8
store i32 0, ptr %10, align 4
%14 = load i32, ptr %10, align 4
%15 = load i32, ptr %6, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %.lr.ph, label %39
.lr.ph: ; preds = %4
br label %17
17: ; preds = %.lr.ph, %33
%18 = load ptr, ptr %5, align 8
%19 = load i32, ptr %10, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds ptr, ptr %18, i64 %20
%22 = load ptr, ptr %21, align 8
%23 = load i32, ptr %8, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %22, i64 %24
%26 = load i8, ptr %25, align 1
%27 = sitofp i8 %26 to double
%28 = load ptr, ptr %9, align 8
%29 = load i32, ptr %10, align 4
%30 = add nsw i32 %29, 1
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds double, ptr %28, i64 %31
store double %27, ptr %32, align 8
br label %33
33: ; preds = %17
%34 = load i32, ptr %10, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %10, align 4
%36 = load i32, ptr %10, align 4
%37 = load i32, ptr %6, align 4
%38 = icmp slt i32 %36, %37
br i1 %38, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %33
br label %39
39: ; preds = %._crit_edge, %4
%40 = load ptr, ptr %9, align 8
ret ptr %40
}
declare ptr @generate_zero_vector(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/tmpgviemt5r.c'
source_filename = "/tmp/tmpgviemt5r.c"
target datalayout = "e-m:e-p270: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 @readprogline(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i8, align 1
%7 = alloca i8, align 1
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca double, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%11 = load ptr, ptr %4, align 8
%12 = call i32 @get_bit(ptr noundef %11)
store i32 %12, ptr %9, align 4
%13 = icmp slt i32 %12, 0
br i1 %13, label %14, label %15
14: ; preds = %2
store i32 1, ptr %3, align 4
br label %153
15: ; preds = %2
%16 = load i32, ptr %9, align 4
%17 = mul nsw i32 %16, 1
%18 = trunc i32 %17 to i8
store i8 %18, ptr %6, align 1
%19 = load i32, ptr %9, align 4
%20 = icmp ne i32 %19, 0
%21 = zext i1 %20 to i64
%22 = select i1 %20, double 1.136000e+03, double 5.680000e+02
%23 = fdiv double 1.000000e+01, %22
store double %23, ptr %10, align 8
store i8 2, ptr %7, align 1
store i32 0, ptr %8, align 4
br label %24
24: ; preds = %59, %15
%25 = load i32, ptr %8, align 4
%26 = icmp slt i32 %25, 3
br i1 %26, label %27, label %62
27: ; preds = %24
%28 = load ptr, ptr %4, align 8
%29 = load double, ptr %10, align 8
%30 = fsub double 6.300000e-02, %29
%31 = call i64 @skipseq(ptr noundef %28, double noundef %30)
%32 = icmp ne i64 %31, 0
br i1 %32, label %33, label %34
33: ; preds = %27
store i32 1, ptr %3, align 4
br label %153
34: ; preds = %27
%35 = load ptr, ptr %4, align 8
%36 = call i32 @get_bit(ptr noundef %35)
store i32 %36, ptr %9, align 4
%37 = icmp slt i32 %36, 0
br i1 %37, label %38, label %39
38: ; preds = %34
store i32 1, ptr %3, align 4
br label %153
39: ; preds = %34
%40 = load i32, ptr %9, align 4
%41 = icmp ne i32 %40, 0
br i1 %41, label %42, label %49
42: ; preds = %39
%43 = load i8, ptr %7, align 1
%44 = zext i8 %43 to i32
%45 = load i8, ptr %6, align 1
%46 = zext i8 %45 to i32
%47 = or i32 %46, %44
%48 = trunc i32 %47 to i8
store i8 %48, ptr %6, align 1
br label %49
49: ; preds = %42, %39
%50 = load i8, ptr %7, align 1
%51 = zext i8 %50 to i32
%52 = shl i32 %51, 1
%53 = trunc i32 %52 to i8
store i8 %53, ptr %7, align 1
%54 = load i32, ptr %9, align 4
%55 = icmp ne i32 %54, 0
%56 = zext i1 %55 to i64
%57 = select i1 %55, double 1.136000e+03, double 5.680000e+02
%58 = fdiv double 1.000000e+01, %57
store double %58, ptr %10, align 8
br label %59
59: ; preds = %49
%60 = load i32, ptr %8, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %8, align 4
br label %24, !llvm.loop !6
62: ; preds = %24
%63 = load i8, ptr %6, align 1
%64 = call signext i8 @ui2hex(i8 noundef zeroext %63)
%65 = load ptr, ptr %5, align 8
%66 = getelementptr inbounds i8, ptr %65, i64 0
store i8 %64, ptr %66, align 1
store i8 1, ptr %7, align 1
store i8 0, ptr %6, align 1
store i32 0, ptr %8, align 4
br label %67
67: ; preds = %102, %62
%68 = load i32, ptr %8, align 4
%69 = icmp slt i32 %68, 4
br i1 %69, label %70, label %105
70: ; preds = %67
%71 = load ptr, ptr %4, align 8
%72 = load double, ptr %10, align 8
%73 = fsub double 6.300000e-02, %72
%74 = call i64 @skipseq(ptr noundef %71, double noundef %73)
%75 = icmp ne i64 %74, 0
br i1 %75, label %76, label %77
76: ; preds = %70
store i32 1, ptr %3, align 4
br label %153
77: ; preds = %70
%78 = load ptr, ptr %4, align 8
%79 = call i32 @get_bit(ptr noundef %78)
store i32 %79, ptr %9, align 4
%80 = icmp slt i32 %79, 0
br i1 %80, label %81, label %82
81: ; preds = %77
store i32 1, ptr %3, align 4
br label %153
82: ; preds = %77
%83 = load i32, ptr %9, align 4
%84 = icmp ne i32 %83, 0
br i1 %84, label %85, label %92
85: ; preds = %82
%86 = load i8, ptr %7, align 1
%87 = zext i8 %86 to i32
%88 = load i8, ptr %6, align 1
%89 = zext i8 %88 to i32
%90 = or i32 %89, %87
%91 = trunc i32 %90 to i8
store i8 %91, ptr %6, align 1
br label %92
92: ; preds = %85, %82
%93 = load i8, ptr %7, align 1
%94 = zext i8 %93 to i32
%95 = shl i32 %94, 1
%96 = trunc i32 %95 to i8
store i8 %96, ptr %7, align 1
%97 = load i32, ptr %9, align 4
%98 = icmp ne i32 %97, 0
%99 = zext i1 %98 to i64
%100 = select i1 %98, double 1.136000e+03, double 5.680000e+02
%101 = fdiv double 1.000000e+01, %100
store double %101, ptr %10, align 8
br label %102
102: ; preds = %92
%103 = load i32, ptr %8, align 4
%104 = add nsw i32 %103, 1
store i32 %104, ptr %8, align 4
br label %67, !llvm.loop !8
105: ; preds = %67
%106 = load i8, ptr %6, align 1
%107 = call signext i8 @ui2hex(i8 noundef zeroext %106)
%108 = load ptr, ptr %5, align 8
%109 = getelementptr inbounds i8, ptr %108, i64 1
store i8 %107, ptr %109, align 1
store i8 1, ptr %7, align 1
store i8 0, ptr %6, align 1
store i32 0, ptr %8, align 4
br label %110
110: ; preds = %145, %105
%111 = load i32, ptr %8, align 4
%112 = icmp slt i32 %111, 4
br i1 %112, label %113, label %148
113: ; preds = %110
%114 = load ptr, ptr %4, align 8
%115 = load double, ptr %10, align 8
%116 = fsub double 6.300000e-02, %115
%117 = call i64 @skipseq(ptr noundef %114, double noundef %116)
%118 = icmp ne i64 %117, 0
br i1 %118, label %119, label %120
119: ; preds = %113
store i32 1, ptr %3, align 4
br label %153
120: ; preds = %113
%121 = load ptr, ptr %4, align 8
%122 = call i32 @get_bit(ptr noundef %121)
store i32 %122, ptr %9, align 4
%123 = icmp slt i32 %122, 0
br i1 %123, label %124, label %125
124: ; preds = %120
store i32 1, ptr %3, align 4
br label %153
125: ; preds = %120
%126 = load i32, ptr %9, align 4
%127 = icmp ne i32 %126, 0
br i1 %127, label %128, label %135
128: ; preds = %125
%129 = load i8, ptr %7, align 1
%130 = zext i8 %129 to i32
%131 = load i8, ptr %6, align 1
%132 = zext i8 %131 to i32
%133 = or i32 %132, %130
%134 = trunc i32 %133 to i8
store i8 %134, ptr %6, align 1
br label %135
135: ; preds = %128, %125
%136 = load i8, ptr %7, align 1
%137 = zext i8 %136 to i32
%138 = shl i32 %137, 1
%139 = trunc i32 %138 to i8
store i8 %139, ptr %7, align 1
%140 = load i32, ptr %9, align 4
%141 = icmp ne i32 %140, 0
%142 = zext i1 %141 to i64
%143 = select i1 %141, double 1.136000e+03, double 5.680000e+02
%144 = fdiv double 1.000000e+01, %143
store double %144, ptr %10, align 8
br label %145
145: ; preds = %135
%146 = load i32, ptr %8, align 4
%147 = add nsw i32 %146, 1
store i32 %147, ptr %8, align 4
br label %110, !llvm.loop !9
148: ; preds = %110
%149 = load i8, ptr %6, align 1
%150 = call signext i8 @ui2hex(i8 noundef zeroext %149)
%151 = load ptr, ptr %5, align 8
%152 = getelementptr inbounds i8, ptr %151, i64 2
store i8 %150, ptr %152, align 1
store i32 0, ptr %3, align 4
br label %153
153: ; preds = %148, %124, %119, %81, %76, %38, %33, %14
%154 = load i32, ptr %3, align 4
ret i32 %154
}
declare i32 @get_bit(ptr noundef) #1
declare i64 @skipseq(ptr noundef, double noundef) #1
declare signext i8 @ui2hex(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgviemt5r.c"
target datalayout = "e-m:e-p270: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 @readprogline(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i8, align 1
%7 = alloca i8, align 1
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca double, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%11 = load ptr, ptr %4, align 8
%12 = call i32 @get_bit(ptr noundef %11)
store i32 %12, ptr %9, align 4
%13 = icmp slt i32 %12, 0
br i1 %13, label %14, label %15
14: ; preds = %2
store i32 1, ptr %3, align 4
br label %156
15: ; preds = %2
%16 = load i32, ptr %9, align 4
%17 = mul nsw i32 %16, 1
%18 = trunc i32 %17 to i8
store i8 %18, ptr %6, align 1
%19 = load i32, ptr %9, align 4
%20 = icmp ne i32 %19, 0
%21 = zext i1 %20 to i64
%22 = select i1 %20, double 1.136000e+03, double 5.680000e+02
%23 = fdiv double 1.000000e+01, %22
store double %23, ptr %10, align 8
store i8 2, ptr %7, align 1
store i32 0, ptr %8, align 4
%24 = load i32, ptr %8, align 4
%25 = icmp slt i32 %24, 3
br i1 %25, label %.lr.ph, label %63
.lr.ph: ; preds = %15
br label %26
26: ; preds = %.lr.ph, %58
%27 = load ptr, ptr %4, align 8
%28 = load double, ptr %10, align 8
%29 = fsub double 6.300000e-02, %28
%30 = call i64 @skipseq(ptr noundef %27, double noundef %29)
%31 = icmp ne i64 %30, 0
br i1 %31, label %32, label %33
32: ; preds = %26
store i32 1, ptr %3, align 4
br label %156
33: ; preds = %26
%34 = load ptr, ptr %4, align 8
%35 = call i32 @get_bit(ptr noundef %34)
store i32 %35, ptr %9, align 4
%36 = icmp slt i32 %35, 0
br i1 %36, label %37, label %38
37: ; preds = %33
store i32 1, ptr %3, align 4
br label %156
38: ; preds = %33
%39 = load i32, ptr %9, align 4
%40 = icmp ne i32 %39, 0
br i1 %40, label %41, label %48
41: ; preds = %38
%42 = load i8, ptr %7, align 1
%43 = zext i8 %42 to i32
%44 = load i8, ptr %6, align 1
%45 = zext i8 %44 to i32
%46 = or i32 %45, %43
%47 = trunc i32 %46 to i8
store i8 %47, ptr %6, align 1
br label %48
48: ; preds = %41, %38
%49 = load i8, ptr %7, align 1
%50 = zext i8 %49 to i32
%51 = shl i32 %50, 1
%52 = trunc i32 %51 to i8
store i8 %52, ptr %7, align 1
%53 = load i32, ptr %9, align 4
%54 = icmp ne i32 %53, 0
%55 = zext i1 %54 to i64
%56 = select i1 %54, double 1.136000e+03, double 5.680000e+02
%57 = fdiv double 1.000000e+01, %56
store double %57, ptr %10, align 8
br label %58
58: ; preds = %48
%59 = load i32, ptr %8, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %8, align 4
%61 = load i32, ptr %8, align 4
%62 = icmp slt i32 %61, 3
br i1 %62, label %26, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %58
br label %63
63: ; preds = %._crit_edge, %15
%64 = load i8, ptr %6, align 1
%65 = call signext i8 @ui2hex(i8 noundef zeroext %64)
%66 = load ptr, ptr %5, align 8
%67 = getelementptr inbounds i8, ptr %66, i64 0
store i8 %65, ptr %67, align 1
store i8 1, ptr %7, align 1
store i8 0, ptr %6, align 1
store i32 0, ptr %8, align 4
%68 = load i32, ptr %8, align 4
%69 = icmp slt i32 %68, 4
br i1 %69, label %.lr.ph2, label %107
.lr.ph2: ; preds = %63
br label %70
70: ; preds = %.lr.ph2, %102
%71 = load ptr, ptr %4, align 8
%72 = load double, ptr %10, align 8
%73 = fsub double 6.300000e-02, %72
%74 = call i64 @skipseq(ptr noundef %71, double noundef %73)
%75 = icmp ne i64 %74, 0
br i1 %75, label %76, label %77
76: ; preds = %70
store i32 1, ptr %3, align 4
br label %156
77: ; preds = %70
%78 = load ptr, ptr %4, align 8
%79 = call i32 @get_bit(ptr noundef %78)
store i32 %79, ptr %9, align 4
%80 = icmp slt i32 %79, 0
br i1 %80, label %81, label %82
81: ; preds = %77
store i32 1, ptr %3, align 4
br label %156
82: ; preds = %77
%83 = load i32, ptr %9, align 4
%84 = icmp ne i32 %83, 0
br i1 %84, label %85, label %92
85: ; preds = %82
%86 = load i8, ptr %7, align 1
%87 = zext i8 %86 to i32
%88 = load i8, ptr %6, align 1
%89 = zext i8 %88 to i32
%90 = or i32 %89, %87
%91 = trunc i32 %90 to i8
store i8 %91, ptr %6, align 1
br label %92
92: ; preds = %85, %82
%93 = load i8, ptr %7, align 1
%94 = zext i8 %93 to i32
%95 = shl i32 %94, 1
%96 = trunc i32 %95 to i8
store i8 %96, ptr %7, align 1
%97 = load i32, ptr %9, align 4
%98 = icmp ne i32 %97, 0
%99 = zext i1 %98 to i64
%100 = select i1 %98, double 1.136000e+03, double 5.680000e+02
%101 = fdiv double 1.000000e+01, %100
store double %101, ptr %10, align 8
br label %102
102: ; preds = %92
%103 = load i32, ptr %8, align 4
%104 = add nsw i32 %103, 1
store i32 %104, ptr %8, align 4
%105 = load i32, ptr %8, align 4
%106 = icmp slt i32 %105, 4
br i1 %106, label %70, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %102
br label %107
107: ; preds = %._crit_edge3, %63
%108 = load i8, ptr %6, align 1
%109 = call signext i8 @ui2hex(i8 noundef zeroext %108)
%110 = load ptr, ptr %5, align 8
%111 = getelementptr inbounds i8, ptr %110, i64 1
store i8 %109, ptr %111, align 1
store i8 1, ptr %7, align 1
store i8 0, ptr %6, align 1
store i32 0, ptr %8, align 4
%112 = load i32, ptr %8, align 4
%113 = icmp slt i32 %112, 4
br i1 %113, label %.lr.ph5, label %151
.lr.ph5: ; preds = %107
br label %114
114: ; preds = %.lr.ph5, %146
%115 = load ptr, ptr %4, align 8
%116 = load double, ptr %10, align 8
%117 = fsub double 6.300000e-02, %116
%118 = call i64 @skipseq(ptr noundef %115, double noundef %117)
%119 = icmp ne i64 %118, 0
br i1 %119, label %120, label %121
120: ; preds = %114
store i32 1, ptr %3, align 4
br label %156
121: ; preds = %114
%122 = load ptr, ptr %4, align 8
%123 = call i32 @get_bit(ptr noundef %122)
store i32 %123, ptr %9, align 4
%124 = icmp slt i32 %123, 0
br i1 %124, label %125, label %126
125: ; preds = %121
store i32 1, ptr %3, align 4
br label %156
126: ; preds = %121
%127 = load i32, ptr %9, align 4
%128 = icmp ne i32 %127, 0
br i1 %128, label %129, label %136
129: ; preds = %126
%130 = load i8, ptr %7, align 1
%131 = zext i8 %130 to i32
%132 = load i8, ptr %6, align 1
%133 = zext i8 %132 to i32
%134 = or i32 %133, %131
%135 = trunc i32 %134 to i8
store i8 %135, ptr %6, align 1
br label %136
136: ; preds = %129, %126
%137 = load i8, ptr %7, align 1
%138 = zext i8 %137 to i32
%139 = shl i32 %138, 1
%140 = trunc i32 %139 to i8
store i8 %140, ptr %7, align 1
%141 = load i32, ptr %9, align 4
%142 = icmp ne i32 %141, 0
%143 = zext i1 %142 to i64
%144 = select i1 %142, double 1.136000e+03, double 5.680000e+02
%145 = fdiv double 1.000000e+01, %144
store double %145, ptr %10, align 8
br label %146
146: ; preds = %136
%147 = load i32, ptr %8, align 4
%148 = add nsw i32 %147, 1
store i32 %148, ptr %8, align 4
%149 = load i32, ptr %8, align 4
%150 = icmp slt i32 %149, 4
br i1 %150, label %114, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %146
br label %151
151: ; preds = %._crit_edge6, %107
%152 = load i8, ptr %6, align 1
%153 = call signext i8 @ui2hex(i8 noundef zeroext %152)
%154 = load ptr, ptr %5, align 8
%155 = getelementptr inbounds i8, ptr %154, i64 2
store i8 %153, ptr %155, align 1
store i32 0, ptr %3, align 4
br label %156
156: ; preds = %151, %125, %120, %81, %76, %37, %32, %14
%157 = load i32, ptr %3, align 4
ret i32 %157
}
declare i32 @get_bit(ptr noundef) #1
declare i64 @skipseq(ptr noundef, double noundef) #1
declare signext i8 @ui2hex(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp_y4nngty.c'
source_filename = "/tmp/tmp_y4nngty.c"
target datalayout = "e-m:e-p270: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 @btor_cmp_const(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%12 = load ptr, ptr %4, align 8
%13 = icmp ne ptr %12, null
%14 = zext i1 %13 to i32
%15 = call i32 @assert(i32 noundef %14)
%16 = load ptr, ptr %5, align 8
%17 = icmp ne ptr %16, null
%18 = zext i1 %17 to i32
%19 = call i32 @assert(i32 noundef %18)
%20 = load ptr, ptr %4, align 8
%21 = call i32 @is_valid_const(ptr noundef %20)
%22 = call i32 @assert(i32 noundef %21)
%23 = load ptr, ptr %5, align 8
%24 = call i32 @is_valid_const(ptr noundef %23)
%25 = call i32 @assert(i32 noundef %24)
%26 = load ptr, ptr %4, align 8
%27 = call ptr @strip_zeroes(ptr noundef %26)
store ptr %27, ptr %4, align 8
%28 = load ptr, ptr %5, align 8
%29 = call ptr @strip_zeroes(ptr noundef %28)
store ptr %29, ptr %5, align 8
%30 = load ptr, ptr %4, align 8
%31 = call i64 @strlen(ptr noundef %30)
%32 = trunc i64 %31 to i32
store i32 %32, ptr %9, align 4
%33 = load ptr, ptr %5, align 8
%34 = call i64 @strlen(ptr noundef %33)
%35 = trunc i64 %34 to i32
store i32 %35, ptr %10, align 4
%36 = load i32, ptr %9, align 4
%37 = load i32, ptr %10, align 4
%38 = sub nsw i32 %36, %37
store i32 %38, ptr %11, align 4
%39 = load i32, ptr %11, align 4
%40 = icmp slt i32 %39, 0
br i1 %40, label %41, label %64
41: ; preds = %2
%42 = load ptr, ptr %4, align 8
store ptr %42, ptr %6, align 8
%43 = load ptr, ptr %5, align 8
%44 = load i32, ptr %11, align 4
%45 = sext i32 %44 to i64
%46 = sub i64 0, %45
%47 = getelementptr inbounds i8, ptr %43, i64 %46
store ptr %47, ptr %8, align 8
%48 = load ptr, ptr %5, align 8
store ptr %48, ptr %7, align 8
br label %49
49: ; preds = %60, %41
%50 = load ptr, ptr %7, align 8
%51 = load ptr, ptr %8, align 8
%52 = icmp ult ptr %50, %51
br i1 %52, label %53, label %63
53: ; preds = %49
%54 = load ptr, ptr %7, align 8
%55 = load i8, ptr %54, align 1
%56 = sext i8 %55 to i32
%57 = icmp eq i32 %56, 49
br i1 %57, label %58, label %59
58: ; preds = %53
store i32 -1, ptr %3, align 4
br label %97
59: ; preds = %53
br label %60
60: ; preds = %59
%61 = load ptr, ptr %7, align 8
%62 = getelementptr inbounds i8, ptr %61, i32 1
store ptr %62, ptr %7, align 8
br label %49, !llvm.loop !6
63: ; preds = %49
br label %86
64: ; preds = %2
%65 = load ptr, ptr %4, align 8
%66 = load i32, ptr %11, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds i8, ptr %65, i64 %67
store ptr %68, ptr %8, align 8
%69 = load ptr, ptr %5, align 8
store ptr %69, ptr %7, align 8
%70 = load ptr, ptr %4, align 8
store ptr %70, ptr %6, align 8
br label %71
71: ; preds = %82, %64
%72 = load ptr, ptr %6, align 8
%73 = load ptr, ptr %8, align 8
%74 = icmp ult ptr %72, %73
br i1 %74, label %75, label %85
75: ; preds = %71
%76 = load ptr, ptr %6, align 8
%77 = load i8, ptr %76, align 1
%78 = sext i8 %77 to i32
%79 = icmp eq i32 %78, 49
br i1 %79, label %80, label %81
80: ; preds = %75
store i32 1, ptr %3, align 4
br label %97
81: ; preds = %75
br label %82
82: ; preds = %81
%83 = load ptr, ptr %6, align 8
%84 = getelementptr inbounds i8, ptr %83, i32 1
store ptr %84, ptr %6, align 8
br label %71, !llvm.loop !8
85: ; preds = %71
br label %86
86: ; preds = %85, %63
%87 = load ptr, ptr %6, align 8
%88 = call i64 @strlen(ptr noundef %87)
%89 = load ptr, ptr %7, align 8
%90 = call i64 @strlen(ptr noundef %89)
%91 = icmp eq i64 %88, %90
%92 = zext i1 %91 to i32
%93 = call i32 @assert(i32 noundef %92)
%94 = load ptr, ptr %6, align 8
%95 = load ptr, ptr %7, align 8
%96 = call i32 @strcmp(ptr noundef %94, ptr noundef %95)
store i32 %96, ptr %3, align 4
br label %97
97: ; preds = %86, %80, %58
%98 = load i32, ptr %3, align 4
ret i32 %98
}
declare i32 @assert(i32 noundef) #1
declare i32 @is_valid_const(ptr noundef) #1
declare ptr @strip_zeroes(ptr noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_y4nngty.c"
target datalayout = "e-m:e-p270: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 @btor_cmp_const(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%12 = load ptr, ptr %4, align 8
%13 = icmp ne ptr %12, null
%14 = zext i1 %13 to i32
%15 = call i32 @assert(i32 noundef %14)
%16 = load ptr, ptr %5, align 8
%17 = icmp ne ptr %16, null
%18 = zext i1 %17 to i32
%19 = call i32 @assert(i32 noundef %18)
%20 = load ptr, ptr %4, align 8
%21 = call i32 @is_valid_const(ptr noundef %20)
%22 = call i32 @assert(i32 noundef %21)
%23 = load ptr, ptr %5, align 8
%24 = call i32 @is_valid_const(ptr noundef %23)
%25 = call i32 @assert(i32 noundef %24)
%26 = load ptr, ptr %4, align 8
%27 = call ptr @strip_zeroes(ptr noundef %26)
store ptr %27, ptr %4, align 8
%28 = load ptr, ptr %5, align 8
%29 = call ptr @strip_zeroes(ptr noundef %28)
store ptr %29, ptr %5, align 8
%30 = load ptr, ptr %4, align 8
%31 = call i64 @strlen(ptr noundef %30)
%32 = trunc i64 %31 to i32
store i32 %32, ptr %9, align 4
%33 = load ptr, ptr %5, align 8
%34 = call i64 @strlen(ptr noundef %33)
%35 = trunc i64 %34 to i32
store i32 %35, ptr %10, align 4
%36 = load i32, ptr %9, align 4
%37 = load i32, ptr %10, align 4
%38 = sub nsw i32 %36, %37
store i32 %38, ptr %11, align 4
%39 = load i32, ptr %11, align 4
%40 = icmp slt i32 %39, 0
br i1 %40, label %41, label %66
41: ; preds = %2
%42 = load ptr, ptr %4, align 8
store ptr %42, ptr %6, align 8
%43 = load ptr, ptr %5, align 8
%44 = load i32, ptr %11, align 4
%45 = sext i32 %44 to i64
%46 = sub i64 0, %45
%47 = getelementptr inbounds i8, ptr %43, i64 %46
store ptr %47, ptr %8, align 8
%48 = load ptr, ptr %5, align 8
store ptr %48, ptr %7, align 8
%49 = load ptr, ptr %7, align 8
%50 = load ptr, ptr %8, align 8
%51 = icmp ult ptr %49, %50
br i1 %51, label %.lr.ph2, label %65
.lr.ph2: ; preds = %41
br label %52
52: ; preds = %.lr.ph2, %59
%53 = load ptr, ptr %7, align 8
%54 = load i8, ptr %53, align 1
%55 = sext i8 %54 to i32
%56 = icmp eq i32 %55, 49
br i1 %56, label %57, label %58
57: ; preds = %52
store i32 -1, ptr %3, align 4
br label %101
58: ; preds = %52
br label %59
59: ; preds = %58
%60 = load ptr, ptr %7, align 8
%61 = getelementptr inbounds i8, ptr %60, i32 1
store ptr %61, ptr %7, align 8
%62 = load ptr, ptr %7, align 8
%63 = load ptr, ptr %8, align 8
%64 = icmp ult ptr %62, %63
br i1 %64, label %52, label %._crit_edge3, !llvm.loop !6
._crit_edge3: ; preds = %59
br label %65
65: ; preds = %._crit_edge3, %41
br label %90
66: ; preds = %2
%67 = load ptr, ptr %4, align 8
%68 = load i32, ptr %11, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds i8, ptr %67, i64 %69
store ptr %70, ptr %8, align 8
%71 = load ptr, ptr %5, align 8
store ptr %71, ptr %7, align 8
%72 = load ptr, ptr %4, align 8
store ptr %72, ptr %6, align 8
%73 = load ptr, ptr %6, align 8
%74 = load ptr, ptr %8, align 8
%75 = icmp ult ptr %73, %74
br i1 %75, label %.lr.ph, label %89
.lr.ph: ; preds = %66
br label %76
76: ; preds = %.lr.ph, %83
%77 = load ptr, ptr %6, align 8
%78 = load i8, ptr %77, align 1
%79 = sext i8 %78 to i32
%80 = icmp eq i32 %79, 49
br i1 %80, label %81, label %82
81: ; preds = %76
store i32 1, ptr %3, align 4
br label %101
82: ; preds = %76
br label %83
83: ; preds = %82
%84 = load ptr, ptr %6, align 8
%85 = getelementptr inbounds i8, ptr %84, i32 1
store ptr %85, ptr %6, align 8
%86 = load ptr, ptr %6, align 8
%87 = load ptr, ptr %8, align 8
%88 = icmp ult ptr %86, %87
br i1 %88, label %76, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %83
br label %89
89: ; preds = %._crit_edge, %66
br label %90
90: ; preds = %89, %65
%91 = load ptr, ptr %6, align 8
%92 = call i64 @strlen(ptr noundef %91)
%93 = load ptr, ptr %7, align 8
%94 = call i64 @strlen(ptr noundef %93)
%95 = icmp eq i64 %92, %94
%96 = zext i1 %95 to i32
%97 = call i32 @assert(i32 noundef %96)
%98 = load ptr, ptr %6, align 8
%99 = load ptr, ptr %7, align 8
%100 = call i32 @strcmp(ptr noundef %98, ptr noundef %99)
store i32 %100, ptr %3, align 4
br label %101
101: ; preds = %90, %81, %57
%102 = load i32, ptr %3, align 4
ret i32 %102
}
declare i32 @assert(i32 noundef) #1
declare i32 @is_valid_const(ptr noundef) #1
declare ptr @strip_zeroes(ptr noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.