llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmpkf7yhnyr.c'
source_filename = "/tmp/tmpkf7yhnyr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 (...) @print_esp()
ret i32 0
}
declare i32 @print_esp(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkf7yhnyr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 (...) @print_esp()
ret i32 0
}
declare i32 @print_esp(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpaik9q2_v.c'
source_filename = "/tmp/tmpaik9q2_v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"Loading \22%s\22 ... \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@SEEK_END = dso_local global i32 0, align 4
@SEEK_SET = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [27 x i8] c"Out of memory!\0AHit [ENTER]\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"done!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @LoadDataFile(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%11 = load ptr, ptr %5, align 8
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %11)
%13 = load ptr, ptr %5, align 8
%14 = call ptr @fopen(ptr noundef %13, ptr noundef @.str.1)
store ptr %14, ptr %9, align 8
%15 = load ptr, ptr %9, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %17, label %65
17: ; preds = %4
%18 = load ptr, ptr %9, align 8
%19 = load i32, ptr @SEEK_END, align 4
%20 = call i32 @fseek(ptr noundef %18, i32 noundef 0, i32 noundef %19)
%21 = load ptr, ptr %9, align 8
%22 = call i32 @ftell(ptr noundef %21)
%23 = load i32, ptr %8, align 4
%24 = udiv i32 %22, %23
%25 = load ptr, ptr %6, align 8
store i32 %24, ptr %25, align 4
%26 = load ptr, ptr %9, align 8
%27 = load i32, ptr @SEEK_SET, align 4
%28 = call i32 @fseek(ptr noundef %26, i32 noundef 0, i32 noundef %27)
store i32 0, ptr %10, align 4
br label %29
29: ; preds = %59, %17
%30 = load i32, ptr %10, align 4
%31 = load ptr, ptr %6, align 8
%32 = load i32, ptr %31, align 4
%33 = icmp ult i32 %30, %32
br i1 %33, label %34, label %62
34: ; preds = %29
%35 = load i32, ptr %8, align 4
%36 = call ptr @malloc(i32 noundef %35)
%37 = load ptr, ptr %7, align 8
%38 = load i32, ptr %10, align 4
%39 = zext i32 %38 to i64
%40 = getelementptr inbounds ptr, ptr %37, i64 %39
store ptr %36, ptr %40, align 8
%41 = load ptr, ptr %7, align 8
%42 = load i32, ptr %10, align 4
%43 = zext i32 %42 to i64
%44 = getelementptr inbounds ptr, ptr %41, i64 %43
%45 = load ptr, ptr %44, align 8
%46 = icmp ne ptr %45, null
br i1 %46, label %50, label %47
47: ; preds = %34
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%49 = call i32 @exit(i32 noundef 1) #3
unreachable
50: ; preds = %34
%51 = load ptr, ptr %7, align 8
%52 = load i32, ptr %10, align 4
%53 = zext i32 %52 to i64
%54 = getelementptr inbounds ptr, ptr %51, i64 %53
%55 = load ptr, ptr %54, align 8
%56 = load i32, ptr %8, align 4
%57 = load ptr, ptr %9, align 8
%58 = call i32 @fread(ptr noundef %55, i32 noundef 1, i32 noundef %56, ptr noundef %57)
br label %59
59: ; preds = %50
%60 = load i32, ptr %10, align 4
%61 = add i32 %60, 1
store i32 %61, ptr %10, align 4
br label %29, !llvm.loop !6
62: ; preds = %29
%63 = load ptr, ptr %9, align 8
%64 = call i32 @fclose(ptr noundef %63)
br label %65
65: ; preds = %62, %4
%66 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @ftell(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpaik9q2_v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"Loading \22%s\22 ... \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@SEEK_END = dso_local global i32 0, align 4
@SEEK_SET = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [27 x i8] c"Out of memory!\0AHit [ENTER]\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"done!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @LoadDataFile(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%11 = load ptr, ptr %5, align 8
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %11)
%13 = load ptr, ptr %5, align 8
%14 = call ptr @fopen(ptr noundef %13, ptr noundef @.str.1)
store ptr %14, ptr %9, align 8
%15 = load ptr, ptr %9, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %17, label %68
17: ; preds = %4
%18 = load ptr, ptr %9, align 8
%19 = load i32, ptr @SEEK_END, align 4
%20 = call i32 @fseek(ptr noundef %18, i32 noundef 0, i32 noundef %19)
%21 = load ptr, ptr %9, align 8
%22 = call i32 @ftell(ptr noundef %21)
%23 = load i32, ptr %8, align 4
%24 = udiv i32 %22, %23
%25 = load ptr, ptr %6, align 8
store i32 %24, ptr %25, align 4
%26 = load ptr, ptr %9, align 8
%27 = load i32, ptr @SEEK_SET, align 4
%28 = call i32 @fseek(ptr noundef %26, i32 noundef 0, i32 noundef %27)
store i32 0, ptr %10, align 4
%29 = load i32, ptr %10, align 4
%30 = load ptr, ptr %6, align 8
%31 = load i32, ptr %30, align 4
%32 = icmp ult i32 %29, %31
br i1 %32, label %.lr.ph, label %65
.lr.ph: ; preds = %17
br label %33
33: ; preds = %.lr.ph, %58
%34 = load i32, ptr %8, align 4
%35 = call ptr @malloc(i32 noundef %34)
%36 = load ptr, ptr %7, align 8
%37 = load i32, ptr %10, align 4
%38 = zext i32 %37 to i64
%39 = getelementptr inbounds ptr, ptr %36, i64 %38
store ptr %35, ptr %39, align 8
%40 = load ptr, ptr %7, align 8
%41 = load i32, ptr %10, align 4
%42 = zext i32 %41 to i64
%43 = getelementptr inbounds ptr, ptr %40, i64 %42
%44 = load ptr, ptr %43, align 8
%45 = icmp ne ptr %44, null
br i1 %45, label %49, label %46
46: ; preds = %33
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%48 = call i32 @exit(i32 noundef 1) #3
unreachable
49: ; preds = %33
%50 = load ptr, ptr %7, align 8
%51 = load i32, ptr %10, align 4
%52 = zext i32 %51 to i64
%53 = getelementptr inbounds ptr, ptr %50, i64 %52
%54 = load ptr, ptr %53, align 8
%55 = load i32, ptr %8, align 4
%56 = load ptr, ptr %9, align 8
%57 = call i32 @fread(ptr noundef %54, i32 noundef 1, i32 noundef %55, ptr noundef %56)
br label %58
58: ; preds = %49
%59 = load i32, ptr %10, align 4
%60 = add i32 %59, 1
store i32 %60, ptr %10, align 4
%61 = load i32, ptr %10, align 4
%62 = load ptr, ptr %6, align 8
%63 = load i32, ptr %62, align 4
%64 = icmp ult i32 %61, %63
br i1 %64, label %33, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %58
br label %65
65: ; preds = %._crit_edge, %17
%66 = load ptr, ptr %9, align 8
%67 = call i32 @fclose(ptr noundef %66)
br label %68
68: ; preds = %65, %4
%69 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @ftell(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpes8jo5ci.c'
source_filename = "/tmp/tmpes8jo5ci.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"Unexpected EOF\00", align 1
@.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @end_of_file() #0 {
%1 = call i32 @fatal(ptr noundef @.str, ptr noundef @.str.1)
ret void
}
declare i32 @fatal(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/tmpes8jo5ci.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"Unexpected EOF\00", align 1
@.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @end_of_file() #0 {
%1 = call i32 @fatal(ptr noundef @.str, ptr noundef @.str.1)
ret void
}
declare i32 @fatal(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/tmpovxnw_tu.c'
source_filename = "/tmp/tmpovxnw_tu.c"
target datalayout = "e-m:e-p270: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/tmpovxnw_tu.c"
target datalayout = "e-m:e-p270: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/tmpl_7fnuts.c'
source_filename = "/tmp/tmpl_7fnuts.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\\[](){} \09\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @lsftp_quote(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
%11 = load ptr, ptr %3, align 8
%12 = call i32 @strlen(ptr noundef %11)
%13 = mul nsw i32 %12, 2
%14 = add nsw i32 %13, 1
%15 = call ptr @malloc(i32 noundef %14)
store ptr %15, ptr %6, align 8
store ptr @.str, ptr %7, align 8
%16 = load ptr, ptr %7, align 8
%17 = call i32 @strlen(ptr noundef %16)
store i32 %17, ptr %8, align 4
%18 = load ptr, ptr %6, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %21, label %20
20: ; preds = %1
store ptr null, ptr %2, align 8
br label %92
21: ; preds = %1
br label %22
22: ; preds = %85, %21
%23 = load ptr, ptr %3, align 8
%24 = load i32, ptr %4, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %23, i64 %25
%27 = load i8, ptr %26, align 1
%28 = icmp ne i8 %27, 0
br i1 %28, label %29, label %86
29: ; preds = %22
store i32 1, ptr %9, align 4
store i32 0, ptr %10, align 4
br label %30
30: ; preds = %50, %29
%31 = load i32, ptr %10, align 4
%32 = load i32, ptr %8, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %34, label %53
34: ; preds = %30
%35 = load ptr, ptr %3, align 8
%36 = load i32, ptr %4, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i8, ptr %35, i64 %37
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i32
%41 = load ptr, ptr %7, align 8
%42 = load i32, ptr %10, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i8, ptr %41, i64 %43
%45 = load i8, ptr %44, align 1
%46 = sext i8 %45 to i32
%47 = icmp eq i32 %40, %46
br i1 %47, label %48, label %49
48: ; preds = %34
store i32 0, ptr %9, align 4
br label %49
49: ; preds = %48, %34
br label %50
50: ; preds = %49
%51 = load i32, ptr %10, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %10, align 4
br label %30, !llvm.loop !6
53: ; preds = %30
%54 = load i32, ptr %9, align 4
%55 = icmp ne i32 %54, 0
br i1 %55, label %56, label %68
56: ; preds = %53
%57 = load ptr, ptr %3, align 8
%58 = load i32, ptr %4, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %4, align 4
%60 = sext i32 %58 to i64
%61 = getelementptr inbounds i8, ptr %57, i64 %60
%62 = load i8, ptr %61, align 1
%63 = load ptr, ptr %6, align 8
%64 = load i32, ptr %5, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %5, align 4
%66 = sext i32 %64 to i64
%67 = getelementptr inbounds i8, ptr %63, i64 %66
store i8 %62, ptr %67, align 1
br label %85
68: ; preds = %53
%69 = load ptr, ptr %6, align 8
%70 = load i32, ptr %5, align 4
%71 = add nsw i32 %70, 1
store i32 %71, ptr %5, align 4
%72 = sext i32 %70 to i64
%73 = getelementptr inbounds i8, ptr %69, i64 %72
store i8 92, ptr %73, align 1
%74 = load ptr, ptr %3, align 8
%75 = load i32, ptr %4, align 4
%76 = add nsw i32 %75, 1
store i32 %76, ptr %4, align 4
%77 = sext i32 %75 to i64
%78 = getelementptr inbounds i8, ptr %74, i64 %77
%79 = load i8, ptr %78, align 1
%80 = load ptr, ptr %6, align 8
%81 = load i32, ptr %5, align 4
%82 = add nsw i32 %81, 1
store i32 %82, ptr %5, align 4
%83 = sext i32 %81 to i64
%84 = getelementptr inbounds i8, ptr %80, i64 %83
store i8 %79, ptr %84, align 1
br label %85
85: ; preds = %68, %56
br label %22, !llvm.loop !8
86: ; preds = %22
%87 = load ptr, ptr %6, align 8
%88 = load i32, ptr %5, align 4
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds i8, ptr %87, i64 %89
store i8 0, ptr %90, align 1
%91 = load ptr, ptr %6, align 8
store ptr %91, ptr %2, align 8
br label %92
92: ; preds = %86, %20
%93 = load ptr, ptr %2, align 8
ret ptr %93
}
declare ptr @malloc(i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl_7fnuts.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\\[](){} \09\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @lsftp_quote(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
%11 = load ptr, ptr %3, align 8
%12 = call i32 @strlen(ptr noundef %11)
%13 = mul nsw i32 %12, 2
%14 = add nsw i32 %13, 1
%15 = call ptr @malloc(i32 noundef %14)
store ptr %15, ptr %6, align 8
store ptr @.str, ptr %7, align 8
%16 = load ptr, ptr %7, align 8
%17 = call i32 @strlen(ptr noundef %16)
store i32 %17, ptr %8, align 4
%18 = load ptr, ptr %6, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %21, label %20
20: ; preds = %1
store ptr null, ptr %2, align 8
br label %99
21: ; preds = %1
%22 = load ptr, ptr %3, align 8
%23 = load i32, ptr %4, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %22, i64 %24
%26 = load i8, ptr %25, align 1
%27 = icmp ne i8 %26, 0
br i1 %27, label %.lr.ph2, label %93
.lr.ph2: ; preds = %21
br label %28
28: ; preds = %.lr.ph2, %86
store i32 1, ptr %9, align 4
store i32 0, ptr %10, align 4
%29 = load i32, ptr %10, align 4
%30 = load i32, ptr %8, align 4
%31 = icmp slt i32 %29, %30
br i1 %31, label %.lr.ph, label %54
.lr.ph: ; preds = %28
br label %32
32: ; preds = %.lr.ph, %48
%33 = load ptr, ptr %3, align 8
%34 = load i32, ptr %4, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %33, i64 %35
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = load ptr, ptr %7, align 8
%40 = load i32, ptr %10, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i8, ptr %39, i64 %41
%43 = load i8, ptr %42, align 1
%44 = sext i8 %43 to i32
%45 = icmp eq i32 %38, %44
br i1 %45, label %46, label %47
46: ; preds = %32
store i32 0, ptr %9, align 4
br label %47
47: ; preds = %46, %32
br label %48
48: ; preds = %47
%49 = load i32, ptr %10, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %10, align 4
%51 = load i32, ptr %10, align 4
%52 = load i32, ptr %8, align 4
%53 = icmp slt i32 %51, %52
br i1 %53, label %32, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %48
br label %54
54: ; preds = %._crit_edge, %28
%55 = load i32, ptr %9, align 4
%56 = icmp ne i32 %55, 0
br i1 %56, label %57, label %69
57: ; preds = %54
%58 = load ptr, ptr %3, align 8
%59 = load i32, ptr %4, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %4, align 4
%61 = sext i32 %59 to i64
%62 = getelementptr inbounds i8, ptr %58, i64 %61
%63 = load i8, ptr %62, align 1
%64 = load ptr, ptr %6, align 8
%65 = load i32, ptr %5, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %5, align 4
%67 = sext i32 %65 to i64
%68 = getelementptr inbounds i8, ptr %64, i64 %67
store i8 %63, ptr %68, align 1
br label %86
69: ; preds = %54
%70 = load ptr, ptr %6, align 8
%71 = load i32, ptr %5, align 4
%72 = add nsw i32 %71, 1
store i32 %72, ptr %5, align 4
%73 = sext i32 %71 to i64
%74 = getelementptr inbounds i8, ptr %70, i64 %73
store i8 92, ptr %74, align 1
%75 = load ptr, ptr %3, align 8
%76 = load i32, ptr %4, align 4
%77 = add nsw i32 %76, 1
store i32 %77, ptr %4, align 4
%78 = sext i32 %76 to i64
%79 = getelementptr inbounds i8, ptr %75, i64 %78
%80 = load i8, ptr %79, align 1
%81 = load ptr, ptr %6, align 8
%82 = load i32, ptr %5, align 4
%83 = add nsw i32 %82, 1
store i32 %83, ptr %5, align 4
%84 = sext i32 %82 to i64
%85 = getelementptr inbounds i8, ptr %81, i64 %84
store i8 %80, ptr %85, align 1
br label %86
86: ; preds = %69, %57
%87 = load ptr, ptr %3, align 8
%88 = load i32, ptr %4, align 4
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds i8, ptr %87, i64 %89
%91 = load i8, ptr %90, align 1
%92 = icmp ne i8 %91, 0
br i1 %92, label %28, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %86
br label %93
93: ; preds = %._crit_edge3, %21
%94 = load ptr, ptr %6, align 8
%95 = load i32, ptr %5, align 4
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds i8, ptr %94, i64 %96
store i8 0, ptr %97, align 1
%98 = load ptr, ptr %6, align 8
store ptr %98, ptr %2, align 8
br label %99
99: ; preds = %93, %20
%100 = load ptr, ptr %2, align 8
ret ptr %100
}
declare ptr @malloc(i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp4icpsjjc.c'
source_filename = "/tmp/tmp4icpsjjc.c"
target datalayout = "e-m:e-p270: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 @urcu_register_thread() #0 {
%1 = call i32 (...) @internal_urcu_lock()
%2 = call i32 (...) @pthread_self()
%3 = call i32 @urcu_add_reader(i32 noundef %2)
%4 = call i32 (...) @internal_urcu_unlock()
ret void
}
declare i32 @internal_urcu_lock(...) #1
declare i32 @urcu_add_reader(i32 noundef) #1
declare i32 @pthread_self(...) #1
declare i32 @internal_urcu_unlock(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4icpsjjc.c"
target datalayout = "e-m:e-p270: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 @urcu_register_thread() #0 {
%1 = call i32 (...) @internal_urcu_lock()
%2 = call i32 (...) @pthread_self()
%3 = call i32 @urcu_add_reader(i32 noundef %2)
%4 = call i32 (...) @internal_urcu_unlock()
ret void
}
declare i32 @internal_urcu_lock(...) #1
declare i32 @urcu_add_reader(i32 noundef) #1
declare i32 @pthread_self(...) #1
declare i32 @internal_urcu_unlock(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpauelh1uu.c'
source_filename = "/tmp/tmpauelh1uu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@stdout = dso_local global i32 0, align 4
@stdin = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [5 x i8] c"exit\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
store i32 0, ptr %1, align 4
call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 1024, i1 false)
br label %3
3: ; preds = %0, %15
%4 = call i32 @printf(ptr noundef @.str)
%5 = load i32, ptr @stdout, align 4
%6 = call i32 @fflush(i32 noundef %5)
%7 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0
%8 = load i32, ptr @stdin, align 4
%9 = call i32 @fgets(ptr noundef %7, i32 noundef 1024, i32 noundef %8)
%10 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0
%11 = call i64 @memcmp(ptr noundef %10, ptr noundef @.str.1, i32 noundef 4)
%12 = icmp eq i64 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %3
%14 = call i32 @exit(i32 noundef 0) #4
unreachable
15: ; preds = %3
%16 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0
%17 = call i32 @my_system(ptr noundef %16)
%18 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0
%19 = call i32 @memset(ptr noundef %18, i32 noundef 0, i32 noundef 1024)
br label %3
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @printf(ptr noundef) #2
declare i32 @fflush(i32 noundef) #2
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #2
declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
declare i32 @my_system(ptr noundef) #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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/tmpauelh1uu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@stdout = dso_local global i32 0, align 4
@stdin = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [5 x i8] c"exit\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
store i32 0, ptr %1, align 4
call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 1024, i1 false)
%3 = call i32 @printf(ptr noundef @.str)
%4 = load i32, ptr @stdout, align 4
%5 = call i32 @fflush(i32 noundef %4)
%6 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0
%7 = load i32, ptr @stdin, align 4
%8 = call i32 @fgets(ptr noundef %6, i32 noundef 1024, i32 noundef %7)
%9 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0
%10 = call i64 @memcmp(ptr noundef %9, ptr noundef @.str.1, i32 noundef 4)
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %.lr.ph
.lr.ph: ; preds = %0
br label %14
._crit_edge: ; preds = %14
br label %12
12: ; preds = %._crit_edge, %0
%13 = call i32 @exit(i32 noundef 0) #4
unreachable
14: ; preds = %.lr.ph, %14
%15 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0
%16 = call i32 @my_system(ptr noundef %15)
%17 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0
%18 = call i32 @memset(ptr noundef %17, i32 noundef 0, i32 noundef 1024)
%19 = call i32 @printf(ptr noundef @.str)
%20 = load i32, ptr @stdout, align 4
%21 = call i32 @fflush(i32 noundef %20)
%22 = load i32, ptr @stdin, align 4
%23 = call i32 @fgets(ptr noundef %6, i32 noundef 1024, i32 noundef %22)
%24 = call i64 @memcmp(ptr noundef %9, ptr noundef @.str.1, i32 noundef 4)
%25 = icmp eq i64 %24, 0
br i1 %25, label %._crit_edge, label %14
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @printf(ptr noundef) #2
declare i32 @fflush(i32 noundef) #2
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #2
declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
declare i32 @my_system(ptr noundef) #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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/tmpowway87a.c'
source_filename = "/tmp/tmpowway87a.c"
target datalayout = "e-m:e-p270: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_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @get_XEvent_xmotion_time(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 %struct.TYPE_4__, ptr %3, i32 0, i32 0
%5 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i32 0, i32 0
%6 = load i64, ptr %5, align 8
ret i64 %6
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpowway87a.c"
target datalayout = "e-m:e-p270: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_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @get_XEvent_xmotion_time(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 %struct.TYPE_4__, ptr %3, i32 0, i32 0
%5 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i32 0, i32 0
%6 = load i64, ptr %5, align 8
ret i64 %6
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpppgdjxvw.c'
source_filename = "/tmp/tmpppgdjxvw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpppgdjxvw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvt00j6vv.c'
source_filename = "/tmp/tmpvt00j6vv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Wait error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @Wait(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @wait(ptr noundef %4)
store i32 %5, ptr %3, align 4
%6 = icmp slt i32 %5, 0
br i1 %6, label %7, label %9
7: ; preds = %1
%8 = call i32 @unix_error(ptr noundef @.str)
br label %9
9: ; preds = %7, %1
%10 = load i32, ptr %3, align 4
ret i32 %10
}
declare i32 @wait(ptr noundef) #1
declare i32 @unix_error(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/tmpvt00j6vv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Wait error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @Wait(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @wait(ptr noundef %4)
store i32 %5, ptr %3, align 4
%6 = icmp slt i32 %5, 0
br i1 %6, label %7, label %9
7: ; preds = %1
%8 = call i32 @unix_error(ptr noundef @.str)
br label %9
9: ; preds = %7, %1
%10 = load i32, ptr %3, align 4
ret i32 %10
}
declare i32 @wait(ptr noundef) #1
declare i32 @unix_error(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/tmpjf8vju29.c'
source_filename = "/tmp/tmpjf8vju29.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"data_daemon\00", align 1
@LOG_PID = dso_local global i32 0, align 4
@LOG_DAEMON = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @start_log() #0 {
%1 = load i32, ptr @LOG_PID, align 4
%2 = load i32, ptr @LOG_DAEMON, align 4
%3 = call i32 @openlog(ptr noundef @.str, i32 noundef %1, i32 noundef %2)
ret void
}
declare i32 @openlog(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/tmpjf8vju29.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"data_daemon\00", align 1
@LOG_PID = dso_local global i32 0, align 4
@LOG_DAEMON = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @start_log() #0 {
%1 = load i32, ptr @LOG_PID, align 4
%2 = load i32, ptr @LOG_DAEMON, align 4
%3 = call i32 @openlog(ptr noundef @.str, i32 noundef %1, i32 noundef %2)
ret void
}
declare i32 @openlog(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/tmpd0bovgwk.c'
source_filename = "/tmp/tmpd0bovgwk.c"
target datalayout = "e-m:e-p270: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 @nuse_set_affinity() #0 {
%1 = alloca i32, align 4
%2 = call i32 @CPU_ZERO(ptr noundef %1)
%3 = call i32 @CPU_SET(i32 noundef 0, ptr noundef %1)
%4 = call i32 (...) @getpid()
%5 = call i32 @sched_setaffinity(i32 noundef %4, i32 noundef 4, ptr noundef %1)
ret void
}
declare i32 @CPU_ZERO(ptr noundef) #1
declare i32 @CPU_SET(i32 noundef, ptr noundef) #1
declare i32 @sched_setaffinity(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @getpid(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd0bovgwk.c"
target datalayout = "e-m:e-p270: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 @nuse_set_affinity() #0 {
%1 = alloca i32, align 4
%2 = call i32 @CPU_ZERO(ptr noundef %1)
%3 = call i32 @CPU_SET(i32 noundef 0, ptr noundef %1)
%4 = call i32 (...) @getpid()
%5 = call i32 @sched_setaffinity(i32 noundef %4, i32 noundef 4, ptr noundef %1)
ret void
}
declare i32 @CPU_ZERO(ptr noundef) #1
declare i32 @CPU_SET(i32 noundef, ptr noundef) #1
declare i32 @sched_setaffinity(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @getpid(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpitjoiszi.c'
source_filename = "/tmp/tmpitjoiszi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"?%di\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @mc_autoprint(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp ne i32 %3, 0
%5 = zext i1 %4 to i64
%6 = select i1 %4, i32 5, i32 4
%7 = call i32 @do_csi(ptr noundef @.str, i32 noundef %6)
ret void
}
declare i32 @do_csi(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/tmpitjoiszi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"?%di\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @mc_autoprint(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp ne i32 %3, 0
%5 = zext i1 %4 to i64
%6 = select i1 %4, i32 5, i32 4
%7 = call i32 @do_csi(ptr noundef @.str, i32 noundef %6)
ret void
}
declare i32 @do_csi(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/tmp2f2qtsdm.c'
source_filename = "/tmp/tmp2f2qtsdm.c"
target datalayout = "e-m:e-p270: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 @selection_sort(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %5, align 4
br label %7
7: ; preds = %31, %2
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %4, align 4
%10 = sub nsw i32 %9, 1
%11 = icmp slt i32 %8, %10
br i1 %11, label %12, label %34
12: ; preds = %7
%13 = load ptr, ptr %3, align 8
%14 = load i32, ptr %5, align 4
%15 = load i32, ptr %4, align 4
%16 = call i32 @get_min_index(ptr noundef %13, i32 noundef %14, i32 noundef %15)
store i32 %16, ptr %6, align 4
%17 = load i32, ptr %5, align 4
%18 = load i32, ptr %6, align 4
%19 = icmp ne i32 %17, %18
br i1 %19, label %20, label %30
20: ; preds = %12
%21 = load ptr, ptr %3, align 8
%22 = load i32, ptr %5, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i32, ptr %21, i64 %23
%25 = load ptr, ptr %3, align 8
%26 = load i32, ptr %6, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i32, ptr %25, i64 %27
%29 = call i32 @swap(ptr noundef %24, ptr noundef %28)
br label %30
30: ; preds = %20, %12
br label %31
31: ; preds = %30
%32 = load i32, ptr %5, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %5, align 4
br label %7, !llvm.loop !6
34: ; preds = %7
ret void
}
declare i32 @get_min_index(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @swap(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/tmp2f2qtsdm.c"
target datalayout = "e-m:e-p270: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 @selection_sort(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %5, align 4
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = sub nsw i32 %8, 1
%10 = icmp slt i32 %7, %9
br i1 %10, label %.lr.ph, label %37
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %30
%12 = load ptr, ptr %3, align 8
%13 = load i32, ptr %5, align 4
%14 = load i32, ptr %4, align 4
%15 = call i32 @get_min_index(ptr noundef %12, i32 noundef %13, i32 noundef %14)
store i32 %15, ptr %6, align 4
%16 = load i32, ptr %5, align 4
%17 = load i32, ptr %6, align 4
%18 = icmp ne i32 %16, %17
br i1 %18, label %19, label %29
19: ; preds = %11
%20 = load ptr, ptr %3, align 8
%21 = load i32, ptr %5, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i32, ptr %20, i64 %22
%24 = load ptr, ptr %3, align 8
%25 = load i32, ptr %6, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i32, ptr %24, i64 %26
%28 = call i32 @swap(ptr noundef %23, ptr noundef %27)
br label %29
29: ; preds = %19, %11
br label %30
30: ; preds = %29
%31 = load i32, ptr %5, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %5, align 4
%33 = load i32, ptr %5, align 4
%34 = load i32, ptr %4, align 4
%35 = sub nsw i32 %34, 1
%36 = icmp slt i32 %33, %35
br i1 %36, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %30
br label %37
37: ; preds = %._crit_edge, %2
ret void
}
declare i32 @get_min_index(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @swap(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/tmp7nh_e8dk.c'
source_filename = "/tmp/tmp7nh_e8dk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @fma(float noundef %0, float noundef %1, float noundef %2) #0 {
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
store float %0, ptr %4, align 4
store float %1, ptr %5, align 4
store float %2, ptr %6, align 4
%7 = load float, ptr %4, align 4
%8 = load float, ptr %5, align 4
%9 = load float, ptr %6, align 4
%10 = call float @llvm.fmuladd.f32(float %7, float %8, float %9)
ret float %10
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7nh_e8dk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @fma(float noundef %0, float noundef %1, float noundef %2) #0 {
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
store float %0, ptr %4, align 4
store float %1, ptr %5, align 4
store float %2, ptr %6, align 4
%7 = load float, ptr %4, align 4
%8 = load float, ptr %5, align 4
%9 = load float, ptr %6, align 4
%10 = call float @llvm.fmuladd.f32(float %7, float %8, float %9)
ret float %10
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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"}
|
; ModuleID = '/tmp/tmpfd995cfi.c'
source_filename = "/tmp/tmpfd995cfi.c"
target datalayout = "e-m:e-p270: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/tmpfd995cfi.c"
target datalayout = "e-m:e-p270: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/tmpv7j7576d.c'
source_filename = "/tmp/tmpv7j7576d.c"
target datalayout = "e-m:e-p270: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.utimbuf = type { i32, i32 }
@.str = private unnamed_addr constant [30 x i8] c"utime(): file=%s, times=0x%p\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"(null)\00", align 1
@errno = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [12 x i8] c"\09\09ret = %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [20 x i8] c"\09Succeeded Phase 1\0A\00", align 1
@.str.4 = private unnamed_addr constant [16 x i8] c"\09\09actime = %ld\0A\00", align 1
@.str.5 = private unnamed_addr constant [17 x i8] c"\09\09modtime = %ld\0A\00", align 1
@.str.6 = private unnamed_addr constant [53 x i8] c"\09Failed Phase 1: returned undefined value! ret = %d\0A\00", align 1
@.str.7 = private unnamed_addr constant [43 x i8] c"Internal syscalltester error: passed = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @utime_test(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%8 = load ptr, ptr %3, align 8
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %11
10: ; preds = %2
br label %13
11: ; preds = %2
%12 = load ptr, ptr %3, align 8
br label %13
13: ; preds = %11, %10
%14 = phi ptr [ @.str.1, %10 ], [ %12, %11 ]
%15 = load ptr, ptr %4, align 8
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %14, ptr noundef %15)
%17 = call i32 @fflush(ptr noundef null)
%18 = load ptr, ptr %3, align 8
%19 = load ptr, ptr %4, align 8
%20 = call i32 @utime(ptr noundef %18, ptr noundef %19)
store i32 %20, ptr %5, align 4
%21 = call i32 @handle_zng(i32 noundef %20)
store i32 %21, ptr %7, align 4
%22 = load i32, ptr @errno, align 4
store i32 %22, ptr %6, align 4
%23 = load i32, ptr %7, align 4
switch i32 %23, label %46 [
i32 -1, label %24
i32 0, label %29
i32 -2, label %42
]
24: ; preds = %13
%25 = load i32, ptr %5, align 4
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %25)
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%28 = call i32 @fflush(ptr noundef null)
br label %50
29: ; preds = %13
%30 = load ptr, ptr %4, align 8
%31 = getelementptr inbounds %struct.utimbuf, ptr %30, i32 0, i32 0
%32 = load i32, ptr %31, align 4
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %32)
%34 = load ptr, ptr %4, align 8
%35 = getelementptr inbounds %struct.utimbuf, ptr %34, i32 0, i32 1
%36 = load i32, ptr %35, align 4
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %36)
%38 = load i32, ptr %5, align 4
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %38)
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%41 = call i32 @fflush(ptr noundef null)
br label %50
42: ; preds = %13
%43 = load i32, ptr %5, align 4
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %43)
%45 = call i32 @fflush(ptr noundef null)
br label %50
46: ; preds = %13
%47 = load i32, ptr %7, align 4
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %47)
%49 = call i32 @fflush(ptr noundef null)
br label %50
50: ; preds = %46, %42, %29, %24
%51 = load i32, ptr %6, align 4
store i32 %51, ptr @errno, align 4
%52 = load i32, ptr %5, align 4
ret i32 %52
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @fflush(ptr noundef) #1
declare i32 @handle_zng(i32 noundef) #1
declare i32 @utime(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/tmpv7j7576d.c"
target datalayout = "e-m:e-p270: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.utimbuf = type { i32, i32 }
@.str = private unnamed_addr constant [30 x i8] c"utime(): file=%s, times=0x%p\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"(null)\00", align 1
@errno = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [12 x i8] c"\09\09ret = %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [20 x i8] c"\09Succeeded Phase 1\0A\00", align 1
@.str.4 = private unnamed_addr constant [16 x i8] c"\09\09actime = %ld\0A\00", align 1
@.str.5 = private unnamed_addr constant [17 x i8] c"\09\09modtime = %ld\0A\00", align 1
@.str.6 = private unnamed_addr constant [53 x i8] c"\09Failed Phase 1: returned undefined value! ret = %d\0A\00", align 1
@.str.7 = private unnamed_addr constant [43 x i8] c"Internal syscalltester error: passed = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @utime_test(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%8 = load ptr, ptr %3, align 8
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %11
10: ; preds = %2
br label %13
11: ; preds = %2
%12 = load ptr, ptr %3, align 8
br label %13
13: ; preds = %11, %10
%14 = phi ptr [ @.str.1, %10 ], [ %12, %11 ]
%15 = load ptr, ptr %4, align 8
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %14, ptr noundef %15)
%17 = call i32 @fflush(ptr noundef null)
%18 = load ptr, ptr %3, align 8
%19 = load ptr, ptr %4, align 8
%20 = call i32 @utime(ptr noundef %18, ptr noundef %19)
store i32 %20, ptr %5, align 4
%21 = call i32 @handle_zng(i32 noundef %20)
store i32 %21, ptr %7, align 4
%22 = load i32, ptr @errno, align 4
store i32 %22, ptr %6, align 4
%23 = load i32, ptr %7, align 4
switch i32 %23, label %46 [
i32 -1, label %24
i32 0, label %29
i32 -2, label %42
]
24: ; preds = %13
%25 = load i32, ptr %5, align 4
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %25)
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%28 = call i32 @fflush(ptr noundef null)
br label %50
29: ; preds = %13
%30 = load ptr, ptr %4, align 8
%31 = getelementptr inbounds %struct.utimbuf, ptr %30, i32 0, i32 0
%32 = load i32, ptr %31, align 4
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %32)
%34 = load ptr, ptr %4, align 8
%35 = getelementptr inbounds %struct.utimbuf, ptr %34, i32 0, i32 1
%36 = load i32, ptr %35, align 4
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %36)
%38 = load i32, ptr %5, align 4
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %38)
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%41 = call i32 @fflush(ptr noundef null)
br label %50
42: ; preds = %13
%43 = load i32, ptr %5, align 4
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %43)
%45 = call i32 @fflush(ptr noundef null)
br label %50
46: ; preds = %13
%47 = load i32, ptr %7, align 4
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %47)
%49 = call i32 @fflush(ptr noundef null)
br label %50
50: ; preds = %46, %42, %29, %24
%51 = load i32, ptr %6, align 4
store i32 %51, ptr @errno, align 4
%52 = load i32, ptr %5, align 4
ret i32 %52
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @fflush(ptr noundef) #1
declare i32 @handle_zng(i32 noundef) #1
declare i32 @utime(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/tmpt9k1pn4r.c'
source_filename = "/tmp/tmpt9k1pn4r.c"
target datalayout = "e-m:e-p270: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.termios = type { i32, i32, i32, ptr, i32 }
@O_RDWR = dso_local global i32 0, align 4
@O_NONBLOCK = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [38 x i8] c"serialport_init: Unable to open port \00", align 1
@TIOCM_RTS = dso_local global i32 0, align 4
@TIOCMSET = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [46 x i8] c"serialport_init: Couldn't get term attributes\00", align 1
@B4800 = dso_local global i32 0, align 4
@B9600 = dso_local global i32 0, align 4
@B19200 = dso_local global i32 0, align 4
@B38400 = dso_local global i32 0, align 4
@B57600 = dso_local global i32 0, align 4
@B115200 = dso_local global i32 0, align 4
@PARENB = dso_local global i32 0, align 4
@CSTOPB = dso_local global i32 0, align 4
@CSIZE = dso_local global i32 0, align 4
@CS8 = dso_local global i32 0, align 4
@CRTSCTS = dso_local global i32 0, align 4
@CREAD = dso_local global i32 0, align 4
@CLOCAL = dso_local global i32 0, align 4
@IXON = dso_local global i32 0, align 4
@IXOFF = dso_local global i32 0, align 4
@IXANY = dso_local global i32 0, align 4
@ICANON = dso_local global i32 0, align 4
@ECHO = dso_local global i32 0, align 4
@ECHOE = dso_local global i32 0, align 4
@ISIG = dso_local global i32 0, align 4
@OPOST = dso_local global i32 0, align 4
@VMIN = dso_local global i64 0, align 8
@VTIME = dso_local global i64 0, align 8
@TCSANOW = dso_local global i32 0, align 4
@TCSAFLUSH = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [46 x i8] c"init_serialport: Couldn't set term attributes\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @serialport_init(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca %struct.termios, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%10 = load ptr, ptr %4, align 8
%11 = load i32, ptr @O_RDWR, align 4
%12 = load i32, ptr @O_NONBLOCK, align 4
%13 = or i32 %11, %12
%14 = call i32 @open(ptr noundef %10, i32 noundef %13)
store i32 %14, ptr %7, align 4
%15 = load i32, ptr %7, align 4
%16 = icmp eq i32 %15, -1
br i1 %16, label %17, label %19
17: ; preds = %2
%18 = call i32 @perror(ptr noundef @.str)
store i32 -1, ptr %3, align 4
br label %126
19: ; preds = %2
%20 = load i32, ptr @TIOCM_RTS, align 4
%21 = xor i32 %20, -1
%22 = load i32, ptr %8, align 4
%23 = and i32 %22, %21
store i32 %23, ptr %8, align 4
%24 = load i32, ptr %7, align 4
%25 = load i32, ptr @TIOCMSET, align 4
%26 = call i32 @ioctl(i32 noundef %24, i32 noundef %25, ptr noundef %8)
%27 = load i32, ptr %7, align 4
%28 = call i64 @tcgetattr(i32 noundef %27, ptr noundef %6)
%29 = icmp slt i64 %28, 0
br i1 %29, label %30, label %32
30: ; preds = %19
%31 = call i32 @perror(ptr noundef @.str.1)
store i32 -1, ptr %3, align 4
br label %126
32: ; preds = %19
%33 = load i32, ptr %5, align 4
store i32 %33, ptr %9, align 4
%34 = load i32, ptr %5, align 4
switch i32 %34, label %47 [
i32 4800, label %35
i32 9600, label %37
i32 19200, label %39
i32 38400, label %41
i32 57600, label %43
i32 115200, label %45
]
35: ; preds = %32
%36 = load i32, ptr @B4800, align 4
store i32 %36, ptr %9, align 4
br label %47
37: ; preds = %32
%38 = load i32, ptr @B9600, align 4
store i32 %38, ptr %9, align 4
br label %47
39: ; preds = %32
%40 = load i32, ptr @B19200, align 4
store i32 %40, ptr %9, align 4
br label %47
41: ; preds = %32
%42 = load i32, ptr @B38400, align 4
store i32 %42, ptr %9, align 4
br label %47
43: ; preds = %32
%44 = load i32, ptr @B57600, align 4
store i32 %44, ptr %9, align 4
br label %47
45: ; preds = %32
%46 = load i32, ptr @B115200, align 4
store i32 %46, ptr %9, align 4
br label %47
47: ; preds = %32, %45, %43, %41, %39, %37, %35
%48 = load i32, ptr %9, align 4
%49 = call i32 @cfsetispeed(ptr noundef %6, i32 noundef %48)
%50 = load i32, ptr %9, align 4
%51 = call i32 @cfsetospeed(ptr noundef %6, i32 noundef %50)
%52 = load i32, ptr @PARENB, align 4
%53 = xor i32 %52, -1
%54 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 0
%55 = load i32, ptr %54, align 8
%56 = and i32 %55, %53
store i32 %56, ptr %54, align 8
%57 = load i32, ptr @CSTOPB, align 4
%58 = xor i32 %57, -1
%59 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 0
%60 = load i32, ptr %59, align 8
%61 = and i32 %60, %58
store i32 %61, ptr %59, align 8
%62 = load i32, ptr @CSIZE, align 4
%63 = xor i32 %62, -1
%64 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 0
%65 = load i32, ptr %64, align 8
%66 = and i32 %65, %63
store i32 %66, ptr %64, align 8
%67 = load i32, ptr @CS8, align 4
%68 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 0
%69 = load i32, ptr %68, align 8
%70 = or i32 %69, %67
store i32 %70, ptr %68, align 8
%71 = load i32, ptr @CRTSCTS, align 4
%72 = xor i32 %71, -1
%73 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 0
%74 = load i32, ptr %73, align 8
%75 = and i32 %74, %72
store i32 %75, ptr %73, align 8
%76 = load i32, ptr @CREAD, align 4
%77 = load i32, ptr @CLOCAL, align 4
%78 = or i32 %76, %77
%79 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 0
%80 = load i32, ptr %79, align 8
%81 = or i32 %80, %78
store i32 %81, ptr %79, align 8
%82 = load i32, ptr @IXON, align 4
%83 = load i32, ptr @IXOFF, align 4
%84 = or i32 %82, %83
%85 = load i32, ptr @IXANY, align 4
%86 = or i32 %84, %85
%87 = xor i32 %86, -1
%88 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 1
%89 = load i32, ptr %88, align 4
%90 = and i32 %89, %87
store i32 %90, ptr %88, align 4
%91 = load i32, ptr @ICANON, align 4
%92 = load i32, ptr @ECHO, align 4
%93 = or i32 %91, %92
%94 = load i32, ptr @ECHOE, align 4
%95 = or i32 %93, %94
%96 = load i32, ptr @ISIG, align 4
%97 = or i32 %95, %96
%98 = xor i32 %97, -1
%99 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 2
%100 = load i32, ptr %99, align 8
%101 = and i32 %100, %98
store i32 %101, ptr %99, align 8
%102 = load i32, ptr @OPOST, align 4
%103 = xor i32 %102, -1
%104 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 4
%105 = load i32, ptr %104, align 8
%106 = and i32 %105, %103
store i32 %106, ptr %104, align 8
%107 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 3
%108 = load ptr, ptr %107, align 8
%109 = load i64, ptr @VMIN, align 8
%110 = getelementptr inbounds i64, ptr %108, i64 %109
store i64 0, ptr %110, align 8
%111 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 3
%112 = load ptr, ptr %111, align 8
%113 = load i64, ptr @VTIME, align 8
%114 = getelementptr inbounds i64, ptr %112, i64 %113
store i64 0, ptr %114, align 8
%115 = load i32, ptr %7, align 4
%116 = load i32, ptr @TCSANOW, align 4
%117 = call i64 @tcsetattr(i32 noundef %115, i32 noundef %116, ptr noundef %6)
%118 = load i32, ptr %7, align 4
%119 = load i32, ptr @TCSAFLUSH, align 4
%120 = call i64 @tcsetattr(i32 noundef %118, i32 noundef %119, ptr noundef %6)
%121 = icmp slt i64 %120, 0
br i1 %121, label %122, label %124
122: ; preds = %47
%123 = call i32 @perror(ptr noundef @.str.2)
store i32 -1, ptr %3, align 4
br label %126
124: ; preds = %47
%125 = load i32, ptr %7, align 4
store i32 %125, ptr %3, align 4
br label %126
126: ; preds = %124, %122, %30, %17
%127 = load i32, ptr %3, align 4
ret i32 %127
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1
declare i64 @tcgetattr(i32 noundef, ptr noundef) #1
declare i32 @cfsetispeed(ptr noundef, i32 noundef) #1
declare i32 @cfsetospeed(ptr noundef, i32 noundef) #1
declare i64 @tcsetattr(i32 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/tmpt9k1pn4r.c"
target datalayout = "e-m:e-p270: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.termios = type { i32, i32, i32, ptr, i32 }
@O_RDWR = dso_local global i32 0, align 4
@O_NONBLOCK = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [38 x i8] c"serialport_init: Unable to open port \00", align 1
@TIOCM_RTS = dso_local global i32 0, align 4
@TIOCMSET = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [46 x i8] c"serialport_init: Couldn't get term attributes\00", align 1
@B4800 = dso_local global i32 0, align 4
@B9600 = dso_local global i32 0, align 4
@B19200 = dso_local global i32 0, align 4
@B38400 = dso_local global i32 0, align 4
@B57600 = dso_local global i32 0, align 4
@B115200 = dso_local global i32 0, align 4
@PARENB = dso_local global i32 0, align 4
@CSTOPB = dso_local global i32 0, align 4
@CSIZE = dso_local global i32 0, align 4
@CS8 = dso_local global i32 0, align 4
@CRTSCTS = dso_local global i32 0, align 4
@CREAD = dso_local global i32 0, align 4
@CLOCAL = dso_local global i32 0, align 4
@IXON = dso_local global i32 0, align 4
@IXOFF = dso_local global i32 0, align 4
@IXANY = dso_local global i32 0, align 4
@ICANON = dso_local global i32 0, align 4
@ECHO = dso_local global i32 0, align 4
@ECHOE = dso_local global i32 0, align 4
@ISIG = dso_local global i32 0, align 4
@OPOST = dso_local global i32 0, align 4
@VMIN = dso_local global i64 0, align 8
@VTIME = dso_local global i64 0, align 8
@TCSANOW = dso_local global i32 0, align 4
@TCSAFLUSH = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [46 x i8] c"init_serialport: Couldn't set term attributes\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @serialport_init(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca %struct.termios, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%10 = load ptr, ptr %4, align 8
%11 = load i32, ptr @O_RDWR, align 4
%12 = load i32, ptr @O_NONBLOCK, align 4
%13 = or i32 %11, %12
%14 = call i32 @open(ptr noundef %10, i32 noundef %13)
store i32 %14, ptr %7, align 4
%15 = load i32, ptr %7, align 4
%16 = icmp eq i32 %15, -1
br i1 %16, label %17, label %19
17: ; preds = %2
%18 = call i32 @perror(ptr noundef @.str)
store i32 -1, ptr %3, align 4
br label %126
19: ; preds = %2
%20 = load i32, ptr @TIOCM_RTS, align 4
%21 = xor i32 %20, -1
%22 = load i32, ptr %8, align 4
%23 = and i32 %22, %21
store i32 %23, ptr %8, align 4
%24 = load i32, ptr %7, align 4
%25 = load i32, ptr @TIOCMSET, align 4
%26 = call i32 @ioctl(i32 noundef %24, i32 noundef %25, ptr noundef %8)
%27 = load i32, ptr %7, align 4
%28 = call i64 @tcgetattr(i32 noundef %27, ptr noundef %6)
%29 = icmp slt i64 %28, 0
br i1 %29, label %30, label %32
30: ; preds = %19
%31 = call i32 @perror(ptr noundef @.str.1)
store i32 -1, ptr %3, align 4
br label %126
32: ; preds = %19
%33 = load i32, ptr %5, align 4
store i32 %33, ptr %9, align 4
%34 = load i32, ptr %5, align 4
switch i32 %34, label %47 [
i32 4800, label %35
i32 9600, label %37
i32 19200, label %39
i32 38400, label %41
i32 57600, label %43
i32 115200, label %45
]
35: ; preds = %32
%36 = load i32, ptr @B4800, align 4
store i32 %36, ptr %9, align 4
br label %47
37: ; preds = %32
%38 = load i32, ptr @B9600, align 4
store i32 %38, ptr %9, align 4
br label %47
39: ; preds = %32
%40 = load i32, ptr @B19200, align 4
store i32 %40, ptr %9, align 4
br label %47
41: ; preds = %32
%42 = load i32, ptr @B38400, align 4
store i32 %42, ptr %9, align 4
br label %47
43: ; preds = %32
%44 = load i32, ptr @B57600, align 4
store i32 %44, ptr %9, align 4
br label %47
45: ; preds = %32
%46 = load i32, ptr @B115200, align 4
store i32 %46, ptr %9, align 4
br label %47
47: ; preds = %45, %43, %41, %39, %37, %35, %32
%48 = load i32, ptr %9, align 4
%49 = call i32 @cfsetispeed(ptr noundef %6, i32 noundef %48)
%50 = load i32, ptr %9, align 4
%51 = call i32 @cfsetospeed(ptr noundef %6, i32 noundef %50)
%52 = load i32, ptr @PARENB, align 4
%53 = xor i32 %52, -1
%54 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 0
%55 = load i32, ptr %54, align 8
%56 = and i32 %55, %53
store i32 %56, ptr %54, align 8
%57 = load i32, ptr @CSTOPB, align 4
%58 = xor i32 %57, -1
%59 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 0
%60 = load i32, ptr %59, align 8
%61 = and i32 %60, %58
store i32 %61, ptr %59, align 8
%62 = load i32, ptr @CSIZE, align 4
%63 = xor i32 %62, -1
%64 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 0
%65 = load i32, ptr %64, align 8
%66 = and i32 %65, %63
store i32 %66, ptr %64, align 8
%67 = load i32, ptr @CS8, align 4
%68 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 0
%69 = load i32, ptr %68, align 8
%70 = or i32 %69, %67
store i32 %70, ptr %68, align 8
%71 = load i32, ptr @CRTSCTS, align 4
%72 = xor i32 %71, -1
%73 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 0
%74 = load i32, ptr %73, align 8
%75 = and i32 %74, %72
store i32 %75, ptr %73, align 8
%76 = load i32, ptr @CREAD, align 4
%77 = load i32, ptr @CLOCAL, align 4
%78 = or i32 %76, %77
%79 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 0
%80 = load i32, ptr %79, align 8
%81 = or i32 %80, %78
store i32 %81, ptr %79, align 8
%82 = load i32, ptr @IXON, align 4
%83 = load i32, ptr @IXOFF, align 4
%84 = or i32 %82, %83
%85 = load i32, ptr @IXANY, align 4
%86 = or i32 %84, %85
%87 = xor i32 %86, -1
%88 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 1
%89 = load i32, ptr %88, align 4
%90 = and i32 %89, %87
store i32 %90, ptr %88, align 4
%91 = load i32, ptr @ICANON, align 4
%92 = load i32, ptr @ECHO, align 4
%93 = or i32 %91, %92
%94 = load i32, ptr @ECHOE, align 4
%95 = or i32 %93, %94
%96 = load i32, ptr @ISIG, align 4
%97 = or i32 %95, %96
%98 = xor i32 %97, -1
%99 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 2
%100 = load i32, ptr %99, align 8
%101 = and i32 %100, %98
store i32 %101, ptr %99, align 8
%102 = load i32, ptr @OPOST, align 4
%103 = xor i32 %102, -1
%104 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 4
%105 = load i32, ptr %104, align 8
%106 = and i32 %105, %103
store i32 %106, ptr %104, align 8
%107 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 3
%108 = load ptr, ptr %107, align 8
%109 = load i64, ptr @VMIN, align 8
%110 = getelementptr inbounds i64, ptr %108, i64 %109
store i64 0, ptr %110, align 8
%111 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 3
%112 = load ptr, ptr %111, align 8
%113 = load i64, ptr @VTIME, align 8
%114 = getelementptr inbounds i64, ptr %112, i64 %113
store i64 0, ptr %114, align 8
%115 = load i32, ptr %7, align 4
%116 = load i32, ptr @TCSANOW, align 4
%117 = call i64 @tcsetattr(i32 noundef %115, i32 noundef %116, ptr noundef %6)
%118 = load i32, ptr %7, align 4
%119 = load i32, ptr @TCSAFLUSH, align 4
%120 = call i64 @tcsetattr(i32 noundef %118, i32 noundef %119, ptr noundef %6)
%121 = icmp slt i64 %120, 0
br i1 %121, label %122, label %124
122: ; preds = %47
%123 = call i32 @perror(ptr noundef @.str.2)
store i32 -1, ptr %3, align 4
br label %126
124: ; preds = %47
%125 = load i32, ptr %7, align 4
store i32 %125, ptr %3, align 4
br label %126
126: ; preds = %124, %122, %30, %17
%127 = load i32, ptr %3, align 4
ret i32 %127
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1
declare i64 @tcgetattr(i32 noundef, ptr noundef) #1
declare i32 @cfsetispeed(ptr noundef, i32 noundef) #1
declare i32 @cfsetospeed(ptr noundef, i32 noundef) #1
declare i64 @tcsetattr(i32 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/tmp_cogcyw1.c'
source_filename = "/tmp/tmp_cogcyw1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_cogcyw1.c"
target datalayout = "e-m:e-p270: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/tmpe32sttw8.c'
source_filename = "/tmp/tmpe32sttw8.c"
target datalayout = "e-m:e-p270: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 @rng_under(ptr noundef %0, double noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca double, align 8
store ptr %0, ptr %3, align 8
store double %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = call double @rng_uniform(ptr noundef %5)
%7 = load double, ptr %4, align 8
%8 = fmul double %6, %7
ret double %8
}
declare double @rng_uniform(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/tmpe32sttw8.c"
target datalayout = "e-m:e-p270: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 @rng_under(ptr noundef %0, double noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca double, align 8
store ptr %0, ptr %3, align 8
store double %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = call double @rng_uniform(ptr noundef %5)
%7 = load double, ptr %4, align 8
%8 = fmul double %6, %7
ret double %8
}
declare double @rng_uniform(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/tmpnpyhqfxl.c'
source_filename = "/tmp/tmpnpyhqfxl.c"
target datalayout = "e-m:e-p270: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 @usb_lld_tx_data_len(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 @st103_get_tx_count(i32 noundef %3)
ret i32 %4
}
declare i32 @st103_get_tx_count(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/tmpnpyhqfxl.c"
target datalayout = "e-m:e-p270: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 @usb_lld_tx_data_len(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 @st103_get_tx_count(i32 noundef %3)
ret i32 %4
}
declare i32 @st103_get_tx_count(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/tmpw3wg2r50.c'
source_filename = "/tmp/tmpw3wg2r50.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@NLMSG_DONE = dso_local global i64 0, align 8
@NLMSG_ERROR = dso_local global i64 0, align 8
@RTM_NEWADDR = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpw3wg2r50.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@NLMSG_DONE = dso_local global i64 0, align 8
@NLMSG_ERROR = dso_local global i64 0, align 8
@RTM_NEWADDR = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprmq5o4n3.c'
source_filename = "/tmp/tmprmq5o4n3.c"
target datalayout = "e-m:e-p270: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/tmprmq5o4n3.c"
target datalayout = "e-m:e-p270: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/tmpagtu1okl.c'
source_filename = "/tmp/tmpagtu1okl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%ld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
%3 = alloca i32, align 4
%4 = alloca i64, align 8
store i32 0, ptr %1, align 4
store i8 97, ptr %2, align 1
store i32 -1, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = trunc i32 %5 to i8
store i8 %6, ptr %2, align 1
%7 = sext i8 %6 to i64
store i64 %7, ptr %4, align 8
%8 = load i64, ptr %4, align 8
%9 = call i32 @printf(ptr noundef @.str, i64 noundef %8)
ret i32 0
}
declare i32 @printf(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpagtu1okl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%ld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
%3 = alloca i32, align 4
%4 = alloca i64, align 8
store i32 0, ptr %1, align 4
store i8 97, ptr %2, align 1
store i32 -1, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = trunc i32 %5 to i8
store i8 %6, ptr %2, align 1
%7 = sext i8 %6 to i64
store i64 %7, ptr %4, align 8
%8 = load i64, ptr %4, align 8
%9 = call i32 @printf(ptr noundef @.str, i64 noundef %8)
ret i32 0
}
declare i32 @printf(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpj67u3_gm.c'
source_filename = "/tmp/tmpj67u3_gm.c"
target datalayout = "e-m:e-p270: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/tmpj67u3_gm.c"
target datalayout = "e-m:e-p270: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/tmpd65htjyx.c'
source_filename = "/tmp/tmpd65htjyx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.test_MatrixCopy.a = private unnamed_addr constant [3 x [4 x double]] [[4 x double] [double 1.000000e+00, double 2.000000e+00, double 3.000000e+00, double 4.000000e+00], [4 x double] [double 5.000000e+00, double 6.000000e+00, double 7.000000e+00, double 8.000000e+00], [4 x double] [double 9.000000e+00, double 1.000000e+01, double 1.100000e+01, double 1.200000e+01]], align 16
@.str = private unnamed_addr constant [5 x i8] c"%lf\09\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 @test_MatrixCopy() #0 {
%1 = alloca [3 x [4 x double]], align 16
%2 = alloca [3 x [4 x double]], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.test_MatrixCopy.a, i64 96, i1 false)
%5 = getelementptr inbounds [3 x [4 x double]], ptr %1, i64 0, i64 0
%6 = getelementptr inbounds [3 x [4 x double]], ptr %2, i64 0, i64 0
%7 = call i32 @MatrixCopy(ptr noundef %5, i32 noundef 3, i32 noundef 4, ptr noundef %6)
store i32 0, ptr %3, align 4
br label %8
8: ; preds = %29, %0
%9 = load i32, ptr %3, align 4
%10 = icmp slt i32 %9, 3
br i1 %10, label %11, label %32
11: ; preds = %8
store i32 0, ptr %4, align 4
br label %12
12: ; preds = %24, %11
%13 = load i32, ptr %4, align 4
%14 = icmp slt i32 %13, 4
br i1 %14, label %15, label %27
15: ; preds = %12
%16 = load i32, ptr %3, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [3 x [4 x double]], ptr %2, i64 0, i64 %17
%19 = load i32, ptr %4, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [4 x double], ptr %18, i64 0, i64 %20
%22 = load double, ptr %21, align 8
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %22)
br label %24
24: ; preds = %15
%25 = load i32, ptr %4, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %4, align 4
br label %12, !llvm.loop !6
27: ; preds = %12
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %29
29: ; preds = %27
%30 = load i32, ptr %3, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %3, align 4
br label %8, !llvm.loop !8
32: ; preds = %8
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @MatrixCopy(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #2
declare i32 @printf(ptr noundef, ...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd65htjyx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.test_MatrixCopy.a = private unnamed_addr constant [3 x [4 x double]] [[4 x double] [double 1.000000e+00, double 2.000000e+00, double 3.000000e+00, double 4.000000e+00], [4 x double] [double 5.000000e+00, double 6.000000e+00, double 7.000000e+00, double 8.000000e+00], [4 x double] [double 9.000000e+00, double 1.000000e+01, double 1.100000e+01, double 1.200000e+01]], align 16
@.str = private unnamed_addr constant [5 x i8] c"%lf\09\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 @test_MatrixCopy() #0 {
%1 = alloca [3 x [4 x double]], align 16
%2 = alloca [3 x [4 x double]], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.test_MatrixCopy.a, i64 96, i1 false)
%5 = getelementptr inbounds [3 x [4 x double]], ptr %1, i64 0, i64 0
%6 = getelementptr inbounds [3 x [4 x double]], ptr %2, i64 0, i64 0
%7 = call i32 @MatrixCopy(ptr noundef %5, i32 noundef 3, i32 noundef 4, ptr noundef %6)
store i32 0, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %8, 3
br i1 %9, label %.lr.ph2, label %34
.lr.ph2: ; preds = %0
br label %10
10: ; preds = %.lr.ph2, %29
store i32 0, ptr %4, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %11, 4
br i1 %12, label %.lr.ph, label %27
.lr.ph: ; preds = %10
br label %13
13: ; preds = %.lr.ph, %22
%14 = load i32, ptr %3, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds [3 x [4 x double]], ptr %2, i64 0, i64 %15
%17 = load i32, ptr %4, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [4 x double], ptr %16, i64 0, i64 %18
%20 = load double, ptr %19, align 8
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %20)
br label %22
22: ; preds = %13
%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 slt i32 %25, 4
br i1 %26, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %27
27: ; preds = %._crit_edge, %10
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %29
29: ; preds = %27
%30 = load i32, ptr %3, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %3, align 4
%32 = load i32, ptr %3, align 4
%33 = icmp slt i32 %32, 3
br i1 %33, label %10, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %29
br label %34
34: ; preds = %._crit_edge3, %0
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @MatrixCopy(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #2
declare i32 @printf(ptr noundef, ...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpissiolhc.c'
source_filename = "/tmp/tmpissiolhc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Growing down.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @grow_down() #0 {
%1 = call i32 @wm_debug(ptr noundef @.str)
ret void
}
declare i32 @wm_debug(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/tmpissiolhc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Growing down.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @grow_down() #0 {
%1 = call i32 @wm_debug(ptr noundef @.str)
ret void
}
declare i32 @wm_debug(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/tmp7za320gu.c'
source_filename = "/tmp/tmp7za320gu.c"
target datalayout = "e-m:e-p270: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/tmp7za320gu.c"
target datalayout = "e-m:e-p270: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/tmp30qp2t26.c'
source_filename = "/tmp/tmp30qp2t26.c"
target datalayout = "e-m:e-p270: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/tmp30qp2t26.c"
target datalayout = "e-m:e-p270: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/tmpq6sg5woj.c'
source_filename = "/tmp/tmpq6sg5woj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [18 x i8] c"the result is %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [10 x i32], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
br label %5
5: ; preds = %13, %0
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 %6, 10
br i1 %7, label %8, label %16
8: ; preds = %5
%9 = load i32, ptr %3, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %10
%12 = call i32 @scanf(ptr noundef @.str, ptr noundef %11)
br label %13
13: ; preds = %8
%14 = load i32, ptr %3, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %3, align 4
br label %5, !llvm.loop !6
16: ; preds = %5
%17 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0
%18 = load i32, ptr %17, align 16
store i32 %18, ptr %4, align 4
store i32 0, ptr %3, align 4
br label %19
19: ; preds = %35, %16
%20 = load i32, ptr %3, align 4
%21 = icmp slt i32 %20, 10
br i1 %21, label %22, label %38
22: ; preds = %19
%23 = load i32, ptr %4, align 4
%24 = load i32, ptr %3, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %25
%27 = load i32, ptr %26, align 4
%28 = icmp slt i32 %23, %27
br i1 %28, label %29, label %34
29: ; preds = %22
%30 = load i32, ptr %3, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %31
%33 = load i32, ptr %32, align 4
store i32 %33, ptr %4, align 4
br label %34
34: ; preds = %29, %22
br label %35
35: ; preds = %34
%36 = load i32, ptr %3, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %3, align 4
br label %19, !llvm.loop !8
38: ; preds = %19
%39 = load i32, ptr %4, align 4
%40 = call i32 @printf(ptr noundef @.str.1, i32 noundef %39)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpq6sg5woj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [18 x i8] c"the result is %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [10 x i32], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 10
br i1 %6, label %.lr.ph, label %17
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %12
%8 = load i32, ptr %3, align 4
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %9
%11 = call i32 @scanf(ptr noundef @.str, ptr noundef %10)
br label %12
12: ; preds = %7
%13 = load i32, ptr %3, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %3, align 4
%15 = load i32, ptr %3, align 4
%16 = icmp slt i32 %15, 10
br i1 %16, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %12
br label %17
17: ; preds = %._crit_edge, %0
%18 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0
%19 = load i32, ptr %18, align 16
store i32 %19, ptr %4, align 4
store i32 0, ptr %3, align 4
%20 = load i32, ptr %3, align 4
%21 = icmp slt i32 %20, 10
br i1 %21, label %.lr.ph2, label %40
.lr.ph2: ; preds = %17
br label %22
22: ; preds = %.lr.ph2, %35
%23 = load i32, ptr %4, align 4
%24 = load i32, ptr %3, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %25
%27 = load i32, ptr %26, align 4
%28 = icmp slt i32 %23, %27
br i1 %28, label %29, label %34
29: ; preds = %22
%30 = load i32, ptr %3, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %31
%33 = load i32, ptr %32, align 4
store i32 %33, ptr %4, align 4
br label %34
34: ; preds = %29, %22
br label %35
35: ; preds = %34
%36 = load i32, ptr %3, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %3, align 4
%38 = load i32, ptr %3, align 4
%39 = icmp slt i32 %38, 10
br i1 %39, label %22, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %35
br label %40
40: ; preds = %._crit_edge3, %17
%41 = load i32, ptr %4, align 4
%42 = call i32 @printf(ptr noundef @.str.1, i32 noundef %41)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp34yl3gz1.c'
source_filename = "/tmp/tmp34yl3gz1.c"
target datalayout = "e-m:e-p270: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 [27 x i8] c"usage: aget [options] url\0A\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"\09options:\0A\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"\09\09-p port number\0A\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"\09\09-l local file name\0A\00", align 1
@.str.4 = private unnamed_addr constant [34 x i8] c"\09\09-n suggested number of threads\0A\00", align 1
@.str.5 = private unnamed_addr constant [46 x i8] c"\09\09-f force using suggested number of threads\0A\00", align 1
@.str.6 = private unnamed_addr constant [18 x i8] c"\09\09-h this screen\0A\00", align 1
@.str.7 = private unnamed_addr constant [19 x i8] c"\09\09-v version info\0A\00", align 1
@.str.8 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.9 = private unnamed_addr constant [31 x i8] c"http//www.enderunix.org/aget/\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
%3 = load i32, ptr @stderr, align 4
%4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str.1)
%5 = load i32, ptr @stderr, align 4
%6 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str.2)
%7 = load i32, ptr @stderr, align 4
%8 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str.3)
%9 = load i32, ptr @stderr, align 4
%10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str.4)
%11 = load i32, ptr @stderr, align 4
%12 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str.5)
%13 = load i32, ptr @stderr, align 4
%14 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str.6)
%15 = load i32, ptr @stderr, align 4
%16 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str.7)
%17 = load i32, ptr @stderr, align 4
%18 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str.8)
%19 = load i32, ptr @stderr, align 4
%20 = call i32 @fprintf(i32 noundef %19, ptr noundef @.str.9)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp34yl3gz1.c"
target datalayout = "e-m:e-p270: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 [27 x i8] c"usage: aget [options] url\0A\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"\09options:\0A\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"\09\09-p port number\0A\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"\09\09-l local file name\0A\00", align 1
@.str.4 = private unnamed_addr constant [34 x i8] c"\09\09-n suggested number of threads\0A\00", align 1
@.str.5 = private unnamed_addr constant [46 x i8] c"\09\09-f force using suggested number of threads\0A\00", align 1
@.str.6 = private unnamed_addr constant [18 x i8] c"\09\09-h this screen\0A\00", align 1
@.str.7 = private unnamed_addr constant [19 x i8] c"\09\09-v version info\0A\00", align 1
@.str.8 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.9 = private unnamed_addr constant [31 x i8] c"http//www.enderunix.org/aget/\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
%3 = load i32, ptr @stderr, align 4
%4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str.1)
%5 = load i32, ptr @stderr, align 4
%6 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str.2)
%7 = load i32, ptr @stderr, align 4
%8 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str.3)
%9 = load i32, ptr @stderr, align 4
%10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str.4)
%11 = load i32, ptr @stderr, align 4
%12 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str.5)
%13 = load i32, ptr @stderr, align 4
%14 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str.6)
%15 = load i32, ptr @stderr, align 4
%16 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str.7)
%17 = load i32, ptr @stderr, align 4
%18 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str.8)
%19 = load i32, ptr @stderr, align 4
%20 = call i32 @fprintf(i32 noundef %19, ptr noundef @.str.9)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp10khes8b.c'
source_filename = "/tmp/tmp10khes8b.c"
target datalayout = "e-m:e-p270: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 @E_to_zs(double noundef %0, i64 noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca i64, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca i32, align 4
store double %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%8 = load double, ptr %3, align 8
%9 = load i64, ptr %4, align 8
%10 = sitofp i64 %9 to double
%11 = fdiv double %8, %10
store double %11, ptr %5, align 8
%12 = load double, ptr %5, align 8
%13 = call double @log(double noundef %12) #3
%14 = fadd double %13, 0x3FE2788CFC6FB619
%15 = fdiv double %14, 0xBFF48552F88091A8
store double %15, ptr %6, align 8
%16 = load double, ptr %6, align 8
%17 = call double @llvm.fmuladd.f64(double %16, double 1.000000e+01, double 5.000000e+01)
ret double %17
}
; Function Attrs: nounwind
declare double @log(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp10khes8b.c"
target datalayout = "e-m:e-p270: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 @E_to_zs(double noundef %0, i64 noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca i64, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca i32, align 4
store double %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%8 = load double, ptr %3, align 8
%9 = load i64, ptr %4, align 8
%10 = sitofp i64 %9 to double
%11 = fdiv double %8, %10
store double %11, ptr %5, align 8
%12 = load double, ptr %5, align 8
%13 = call double @log(double noundef %12) #3
%14 = fadd double %13, 0x3FE2788CFC6FB619
%15 = fdiv double %14, 0xBFF48552F88091A8
store double %15, ptr %6, align 8
%16 = load double, ptr %6, align 8
%17 = call double @llvm.fmuladd.f64(double %16, double 1.000000e+01, double 5.000000e+01)
ret double %17
}
; Function Attrs: nounwind
declare double @log(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpj6b0eqo2.c'
source_filename = "/tmp/tmpj6b0eqo2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"Delay for three seconds\0A\00", align 1
@CLOCKS_PER_SEC = dso_local global double 0.000000e+00, align 8
@.str.1 = private unnamed_addr constant [7 x i8] c"Done!\0A\00", align 1
@.str.2 = private unnamed_addr constant [31 x i8] c"Time to do %ld empty loops is \00", align 1
@.str.3 = private unnamed_addr constant [15 x i8] c"%2.1f seconds\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
store i32 0, ptr %1, align 4
store i64 6000000, ptr %2, align 8
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = load double, ptr @CLOCKS_PER_SEC, align 8
%8 = fmul double 3.000000e+00, %7
%9 = call i32 @sleep(double noundef %8)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%11 = load i64, ptr %2, align 8
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %11)
%13 = call double (...) @clock()
store double %13, ptr %3, align 8
br label %14
14: ; preds = %18, %0
%15 = load i64, ptr %2, align 8
%16 = add nsw i64 %15, -1
store i64 %16, ptr %2, align 8
%17 = icmp ne i64 %15, 0
br i1 %17, label %18, label %19
18: ; preds = %14
br label %14, !llvm.loop !6
19: ; preds = %14
%20 = call double (...) @clock()
store double %20, ptr %4, align 8
%21 = load double, ptr %4, align 8
%22 = load double, ptr %3, align 8
%23 = fsub double %21, %22
%24 = load double, ptr @CLOCKS_PER_SEC, align 8
%25 = fdiv double %23, %24
store double %25, ptr %5, align 8
%26 = load double, ptr %5, align 8
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %26)
%28 = load i32, ptr %1, align 4
ret i32 %28
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @sleep(double noundef) #1
declare double @clock(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpj6b0eqo2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"Delay for three seconds\0A\00", align 1
@CLOCKS_PER_SEC = dso_local global double 0.000000e+00, align 8
@.str.1 = private unnamed_addr constant [7 x i8] c"Done!\0A\00", align 1
@.str.2 = private unnamed_addr constant [31 x i8] c"Time to do %ld empty loops is \00", align 1
@.str.3 = private unnamed_addr constant [15 x i8] c"%2.1f seconds\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
store i32 0, ptr %1, align 4
store i64 6000000, ptr %2, align 8
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = load double, ptr @CLOCKS_PER_SEC, align 8
%8 = fmul double 3.000000e+00, %7
%9 = call i32 @sleep(double noundef %8)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%11 = load i64, ptr %2, align 8
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %11)
%13 = call double (...) @clock()
store double %13, ptr %3, align 8
br label %14
14: ; preds = %14, %0
%15 = load i64, ptr %2, align 8
%16 = add nsw i64 %15, -1
store i64 %16, ptr %2, align 8
%17 = icmp ne i64 %15, 0
br i1 %17, label %14, label %18, !llvm.loop !6
18: ; preds = %14
%19 = call double (...) @clock()
store double %19, ptr %4, align 8
%20 = load double, ptr %4, align 8
%21 = load double, ptr %3, align 8
%22 = fsub double %20, %21
%23 = load double, ptr @CLOCKS_PER_SEC, align 8
%24 = fdiv double %22, %23
store double %24, ptr %5, align 8
%25 = load double, ptr %5, align 8
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %25)
%27 = load i32, ptr %1, align 4
ret i32 %27
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @sleep(double noundef) #1
declare double @clock(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpsrfawb8f.c'
source_filename = "/tmp/tmpsrfawb8f.c"
target datalayout = "e-m:e-p270: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 @boyer_moore_search(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca [256 x i32], align 16
%14 = alloca i32, align 4
%15 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store i32 %1, ptr %8, align 4
store ptr %2, ptr %9, align 8
store i32 %3, ptr %10, align 4
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
store i32 0, ptr %14, align 4
store i32 0, ptr %15, align 4
store i32 0, ptr %14, align 4
br label %16
16: ; preds = %24, %6
%17 = load i32, ptr %14, align 4
%18 = icmp slt i32 %17, 255
br i1 %18, label %19, label %27
19: ; preds = %16
%20 = load i32, ptr %10, align 4
%21 = load i32, ptr %14, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [256 x i32], ptr %13, i64 0, i64 %22
store i32 %20, ptr %23, align 4
br label %24
24: ; preds = %19
%25 = load i32, ptr %14, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %14, align 4
br label %16, !llvm.loop !6
27: ; preds = %16
store i32 0, ptr %14, align 4
br label %28
28: ; preds = %44, %27
%29 = load i32, ptr %14, align 4
%30 = load i32, ptr %10, align 4
%31 = sub nsw i32 %30, 1
%32 = icmp slt i32 %29, %31
br i1 %32, label %33, label %47
33: ; preds = %28
%34 = load i32, ptr %10, align 4
%35 = load i32, ptr %14, align 4
%36 = sub nsw i32 %34, %35
%37 = sub nsw i32 %36, 1
%38 = load ptr, ptr %9, align 8
%39 = load i32, ptr %14, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i64, ptr %38, i64 %40
%42 = load i64, ptr %41, align 8
%43 = getelementptr inbounds [256 x i32], ptr %13, i64 0, i64 %42
store i32 %37, ptr %43, align 4
br label %44
44: ; preds = %33
%45 = load i32, ptr %14, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %14, align 4
br label %28, !llvm.loop !8
47: ; preds = %28
%48 = load ptr, ptr %11, align 8
store i32 0, ptr %48, align 4
%49 = load i32, ptr %10, align 4
%50 = sub nsw i32 %49, 1
store i32 %50, ptr %14, align 4
br label %51
51: ; preds = %91, %47
%52 = load i32, ptr %14, align 4
%53 = load i32, ptr %8, align 4
%54 = icmp slt i32 %52, %53
br i1 %54, label %55, label %107
55: ; preds = %51
%56 = load i32, ptr %10, align 4
%57 = sub nsw i32 %56, 1
store i32 %57, ptr %15, align 4
br label %58
58: ; preds = %85, %55
%59 = load ptr, ptr %7, align 8
%60 = load i32, ptr %14, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds i64, ptr %59, i64 %61
%63 = load i64, ptr %62, align 8
%64 = load ptr, ptr %9, align 8
%65 = load i32, ptr %15, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds i64, ptr %64, i64 %66
%68 = load i64, ptr %67, align 8
%69 = icmp eq i64 %63, %68
br i1 %69, label %70, label %90
70: ; preds = %58
%71 = load i32, ptr %15, align 4
%72 = icmp eq i32 %71, 0
br i1 %72, label %73, label %84
73: ; preds = %70
%74 = load i32, ptr %14, align 4
%75 = load ptr, ptr %12, align 8
%76 = load ptr, ptr %11, align 8
%77 = load i32, ptr %76, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds i32, ptr %75, i64 %78
store i32 %74, ptr %79, align 4
%80 = load ptr, ptr %11, align 8
%81 = load i32, ptr %80, align 4
%82 = add nsw i32 %81, 1
%83 = load ptr, ptr %11, align 8
store i32 %82, ptr %83, align 4
br label %90
84: ; preds = %70
br label %85
85: ; preds = %84
%86 = load i32, ptr %14, align 4
%87 = add nsw i32 %86, -1
store i32 %87, ptr %14, align 4
%88 = load i32, ptr %15, align 4
%89 = add nsw i32 %88, -1
store i32 %89, ptr %15, align 4
br label %58, !llvm.loop !9
90: ; preds = %73, %58
br label %91
91: ; preds = %90
%92 = load ptr, ptr %7, align 8
%93 = load i32, ptr %14, align 4
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds i64, ptr %92, i64 %94
%96 = load i64, ptr %95, align 8
%97 = getelementptr inbounds [256 x i32], ptr %13, i64 0, i64 %96
%98 = load i32, ptr %97, align 4
%99 = load i32, ptr %10, align 4
%100 = load i32, ptr %15, align 4
%101 = sub nsw i32 %99, %100
%102 = call i64 @max(i32 noundef %98, i32 noundef %101)
%103 = load i32, ptr %14, align 4
%104 = sext i32 %103 to i64
%105 = add nsw i64 %104, %102
%106 = trunc i64 %105 to i32
store i32 %106, ptr %14, align 4
br label %51, !llvm.loop !10
107: ; preds = %51
ret void
}
declare i64 @max(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}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsrfawb8f.c"
target datalayout = "e-m:e-p270: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 @boyer_moore_search(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca [256 x i32], align 16
%14 = alloca i32, align 4
%15 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store i32 %1, ptr %8, align 4
store ptr %2, ptr %9, align 8
store i32 %3, ptr %10, align 4
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
store i32 0, ptr %14, align 4
store i32 0, ptr %15, align 4
store i32 0, ptr %14, align 4
%16 = load i32, ptr %14, align 4
%17 = icmp slt i32 %16, 255
br i1 %17, label %.lr.ph, label %28
.lr.ph: ; preds = %6
br label %18
18: ; preds = %.lr.ph, %23
%19 = load i32, ptr %10, align 4
%20 = load i32, ptr %14, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [256 x i32], ptr %13, i64 0, i64 %21
store i32 %19, ptr %22, align 4
br label %23
23: ; preds = %18
%24 = load i32, ptr %14, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %14, align 4
%26 = load i32, ptr %14, align 4
%27 = icmp slt i32 %26, 255
br i1 %27, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %28
28: ; preds = %._crit_edge, %6
store i32 0, ptr %14, align 4
%29 = load i32, ptr %14, align 4
%30 = load i32, ptr %10, align 4
%31 = sub nsw i32 %30, 1
%32 = icmp slt i32 %29, %31
br i1 %32, label %.lr.ph2, label %51
.lr.ph2: ; preds = %28
br label %33
33: ; preds = %.lr.ph2, %44
%34 = load i32, ptr %10, align 4
%35 = load i32, ptr %14, align 4
%36 = sub nsw i32 %34, %35
%37 = sub nsw i32 %36, 1
%38 = load ptr, ptr %9, align 8
%39 = load i32, ptr %14, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i64, ptr %38, i64 %40
%42 = load i64, ptr %41, align 8
%43 = getelementptr inbounds [256 x i32], ptr %13, i64 0, i64 %42
store i32 %37, ptr %43, align 4
br label %44
44: ; preds = %33
%45 = load i32, ptr %14, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %14, align 4
%47 = load i32, ptr %14, align 4
%48 = load i32, ptr %10, align 4
%49 = sub nsw i32 %48, 1
%50 = icmp slt i32 %47, %49
br i1 %50, label %33, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %44
br label %51
51: ; preds = %._crit_edge3, %28
%52 = load ptr, ptr %11, align 8
store i32 0, ptr %52, align 4
%53 = load i32, ptr %10, align 4
%54 = sub nsw i32 %53, 1
store i32 %54, ptr %14, align 4
%55 = load i32, ptr %14, align 4
%56 = load i32, ptr %8, align 4
%57 = icmp slt i32 %55, %56
br i1 %57, label %.lr.ph7, label %123
.lr.ph7: ; preds = %51
br label %58
58: ; preds = %.lr.ph7, %104
%59 = load i32, ptr %10, align 4
%60 = sub nsw i32 %59, 1
store i32 %60, ptr %15, align 4
%61 = load ptr, ptr %7, align 8
%62 = load i32, ptr %14, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds i64, ptr %61, i64 %63
%65 = load i64, ptr %64, align 8
%66 = load ptr, ptr %9, align 8
%67 = load i32, ptr %15, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds i64, ptr %66, i64 %68
%70 = load i64, ptr %69, align 8
%71 = icmp eq i64 %65, %70
br i1 %71, label %.lr.ph5, label %.loopexit
.lr.ph5: ; preds = %58
br label %72
72: ; preds = %.lr.ph5, %87
%73 = load i32, ptr %15, align 4
%74 = icmp eq i32 %73, 0
br i1 %74, label %75, label %86
75: ; preds = %72
%76 = load i32, ptr %14, align 4
%77 = load ptr, ptr %12, align 8
%78 = load ptr, ptr %11, align 8
%79 = load i32, ptr %78, align 4
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds i32, ptr %77, i64 %80
store i32 %76, ptr %81, align 4
%82 = load ptr, ptr %11, align 8
%83 = load i32, ptr %82, align 4
%84 = add nsw i32 %83, 1
%85 = load ptr, ptr %11, align 8
store i32 %84, ptr %85, align 4
br label %103
86: ; preds = %72
br label %87
87: ; preds = %86
%88 = load i32, ptr %14, align 4
%89 = add nsw i32 %88, -1
store i32 %89, ptr %14, align 4
%90 = load i32, ptr %15, align 4
%91 = add nsw i32 %90, -1
store i32 %91, ptr %15, align 4
%92 = load ptr, ptr %7, align 8
%93 = load i32, ptr %14, align 4
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds i64, ptr %92, i64 %94
%96 = load i64, ptr %95, align 8
%97 = load ptr, ptr %9, align 8
%98 = load i32, ptr %15, align 4
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds i64, ptr %97, i64 %99
%101 = load i64, ptr %100, align 8
%102 = icmp eq i64 %96, %101
br i1 %102, label %72, label %..loopexit_crit_edge, !llvm.loop !9
..loopexit_crit_edge: ; preds = %87
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %58
br label %103
103: ; preds = %.loopexit, %75
br label %104
104: ; preds = %103
%105 = load ptr, ptr %7, align 8
%106 = load i32, ptr %14, align 4
%107 = sext i32 %106 to i64
%108 = getelementptr inbounds i64, ptr %105, i64 %107
%109 = load i64, ptr %108, align 8
%110 = getelementptr inbounds [256 x i32], ptr %13, i64 0, i64 %109
%111 = load i32, ptr %110, align 4
%112 = load i32, ptr %10, align 4
%113 = load i32, ptr %15, align 4
%114 = sub nsw i32 %112, %113
%115 = call i64 @max(i32 noundef %111, i32 noundef %114)
%116 = load i32, ptr %14, align 4
%117 = sext i32 %116 to i64
%118 = add nsw i64 %117, %115
%119 = trunc i64 %118 to i32
store i32 %119, ptr %14, align 4
%120 = load i32, ptr %14, align 4
%121 = load i32, ptr %8, align 4
%122 = icmp slt i32 %120, %121
br i1 %122, label %58, label %._crit_edge8, !llvm.loop !10
._crit_edge8: ; preds = %104
br label %123
123: ; preds = %._crit_edge8, %51
ret void
}
declare i64 @max(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}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmprllw6736.c'
source_filename = "/tmp/tmprllw6736.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@EOF = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [10 x i8] c"%d:%d:%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
br label %5
5: ; preds = %25, %0
%6 = call i64 @scanf(ptr noundef @.str, ptr noundef %2)
%7 = load i64, ptr @EOF, align 8
%8 = icmp ne i64 %6, %7
br i1 %8, label %9, label %30
9: ; preds = %5
%10 = load i32, ptr %2, align 4
%11 = icmp sge i32 %10, 3600
br i1 %11, label %12, label %17
12: ; preds = %9
%13 = load i32, ptr %2, align 4
%14 = sdiv i32 %13, 3600
store i32 %14, ptr %3, align 4
%15 = load i32, ptr %2, align 4
%16 = srem i32 %15, 3600
store i32 %16, ptr %2, align 4
br label %17
17: ; preds = %12, %9
%18 = load i32, ptr %2, align 4
%19 = icmp sge i32 %18, 60
br i1 %19, label %20, label %25
20: ; preds = %17
%21 = load i32, ptr %2, align 4
%22 = sdiv i32 %21, 60
store i32 %22, ptr %4, align 4
%23 = load i32, ptr %2, align 4
%24 = srem i32 %23, 60
store i32 %24, ptr %2, align 4
br label %25
25: ; preds = %20, %17
%26 = load i32, ptr %3, align 4
%27 = load i32, ptr %4, align 4
%28 = load i32, ptr %2, align 4
%29 = call i32 @printf(ptr noundef @.str.1, i32 noundef %26, i32 noundef %27, i32 noundef %28)
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
br label %5, !llvm.loop !6
30: ; preds = %5
ret i32 0
}
declare i64 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprllw6736.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@EOF = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [10 x i8] c"%d:%d:%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
%5 = call i64 @scanf(ptr noundef @.str, ptr noundef %2)
%6 = load i64, ptr @EOF, align 8
%7 = icmp ne i64 %5, %6
br i1 %7, label %.lr.ph, label %32
.lr.ph: ; preds = %0
br label %8
8: ; preds = %.lr.ph, %24
%9 = load i32, ptr %2, align 4
%10 = icmp sge i32 %9, 3600
br i1 %10, label %11, label %16
11: ; preds = %8
%12 = load i32, ptr %2, align 4
%13 = sdiv i32 %12, 3600
store i32 %13, ptr %3, align 4
%14 = load i32, ptr %2, align 4
%15 = srem i32 %14, 3600
store i32 %15, ptr %2, align 4
br label %16
16: ; preds = %11, %8
%17 = load i32, ptr %2, align 4
%18 = icmp sge i32 %17, 60
br i1 %18, label %19, label %24
19: ; preds = %16
%20 = load i32, ptr %2, align 4
%21 = sdiv i32 %20, 60
store i32 %21, ptr %4, align 4
%22 = load i32, ptr %2, align 4
%23 = srem i32 %22, 60
store i32 %23, ptr %2, align 4
br label %24
24: ; preds = %19, %16
%25 = load i32, ptr %3, align 4
%26 = load i32, ptr %4, align 4
%27 = load i32, ptr %2, align 4
%28 = call i32 @printf(ptr noundef @.str.1, i32 noundef %25, i32 noundef %26, i32 noundef %27)
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
%29 = call i64 @scanf(ptr noundef @.str, ptr noundef %2)
%30 = load i64, ptr @EOF, align 8
%31 = icmp ne i64 %29, %30
br i1 %31, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %32
32: ; preds = %._crit_edge, %0
ret i32 0
}
declare i64 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(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"}
|
; ModuleID = '/tmp/tmpedff__jq.c'
source_filename = "/tmp/tmpedff__jq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENOSYS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @mq_unlink(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @ENOSYS, align 4
%4 = call i32 @__set_errno(i32 noundef %3)
ret i32 -1
}
declare i32 @__set_errno(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/tmpedff__jq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENOSYS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @mq_unlink(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @ENOSYS, align 4
%4 = call i32 @__set_errno(i32 noundef %3)
ret i32 -1
}
declare i32 @__set_errno(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/tmpr7083hw6.c'
source_filename = "/tmp/tmpr7083hw6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { ptr, %struct.TYPE_2__, ptr }
%struct.TYPE_2__ = type { ptr }
@.str = private unnamed_addr constant [21 x i8] c"usage : ./%s port! \0A\00", align 1
@AF_INET = dso_local global ptr null, align 8
@INADDR_ANY = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [23 x i8] c"create socket failed!\0A\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"Client bind port failed! \0A\00", align 1
@.str.3 = private unnamed_addr constant [26 x i8] c"Server Ip address Error!\0A\00", align 1
@.str.4 = private unnamed_addr constant [18 x i8] c"connect failed! \0A\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"hello\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 %struct.sockaddr_in, align 8
%7 = alloca i32, align 4
%8 = alloca %struct.sockaddr_in, align 8
%9 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%10 = load i32, ptr %4, align 4
%11 = icmp ne i32 %10, 2
br i1 %11, label %12, label %18
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 0
%15 = load ptr, ptr %14, align 8
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %15)
%17 = call i32 @exit(i32 noundef 1) #3
unreachable
18: ; preds = %2
%19 = call i32 @bzero(ptr noundef %6, i32 noundef 24)
%20 = load ptr, ptr @AF_INET, align 8
%21 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 2
store ptr %20, ptr %21, align 8
%22 = load i32, ptr @INADDR_ANY, align 4
%23 = call ptr @htons(i32 noundef %22)
%24 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 1
%25 = getelementptr inbounds %struct.TYPE_2__, ptr %24, i32 0, i32 0
store ptr %23, ptr %25, align 8
%26 = call ptr @htons(i32 noundef 0)
%27 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 0
store ptr %26, ptr %27, align 8
%28 = load ptr, ptr @AF_INET, align 8
%29 = load i32, ptr @SOCK_STREAM, align 4
%30 = call i32 @socket(ptr noundef %28, i32 noundef %29, i32 noundef 0)
store i32 %30, ptr %7, align 4
%31 = load i32, ptr %7, align 4
%32 = icmp slt i32 %31, 0
br i1 %32, label %33, label %36
33: ; preds = %18
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%35 = call i32 @exit(i32 noundef 1) #3
unreachable
36: ; preds = %18
%37 = load i32, ptr %7, align 4
%38 = call i64 @bind(i32 noundef %37, ptr noundef %6, i32 noundef 24)
%39 = icmp ne i64 %38, 0
br i1 %39, label %40, label %43
40: ; preds = %36
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%42 = call i32 @exit(i32 noundef 1) #3
unreachable
43: ; preds = %36
%44 = call i32 @bzero(ptr noundef %8, i32 noundef 24)
%45 = load ptr, ptr @AF_INET, align 8
%46 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 2
store ptr %45, ptr %46, align 8
%47 = load ptr, ptr %5, align 8
%48 = getelementptr inbounds ptr, ptr %47, i64 1
%49 = load ptr, ptr %48, align 8
%50 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 1
%51 = call i64 @inet_aton(ptr noundef %49, ptr noundef %50)
%52 = icmp eq i64 %51, 0
br i1 %52, label %53, label %56
53: ; preds = %43
%54 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%55 = call i32 @exit(i32 noundef 1) #3
unreachable
56: ; preds = %43
%57 = call ptr @htons(i32 noundef 6666)
%58 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 0
store ptr %57, ptr %58, align 8
store i32 24, ptr %9, align 4
%59 = load i32, ptr %7, align 4
%60 = load i32, ptr %9, align 4
%61 = call i64 @connect(i32 noundef %59, ptr noundef %8, i32 noundef %60)
%62 = icmp slt i64 %61, 0
br i1 %62, label %63, label %66
63: ; preds = %56
%64 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%65 = call i32 @exit(i32 noundef 1) #3
unreachable
66: ; preds = %56
br label %67
67: ; preds = %66, %67
%68 = load i32, ptr %7, align 4
%69 = call i32 @send(i32 noundef %68, ptr noundef @.str.5, i32 noundef 5, i32 noundef 0)
%70 = call i32 @sleep(i32 noundef 10)
br label %67
}
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @bzero(ptr noundef, i32 noundef) #1
declare ptr @htons(i32 noundef) #1
declare i32 @socket(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @inet_aton(ptr noundef, ptr noundef) #1
declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpr7083hw6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { ptr, %struct.TYPE_2__, ptr }
%struct.TYPE_2__ = type { ptr }
@.str = private unnamed_addr constant [21 x i8] c"usage : ./%s port! \0A\00", align 1
@AF_INET = dso_local global ptr null, align 8
@INADDR_ANY = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [23 x i8] c"create socket failed!\0A\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"Client bind port failed! \0A\00", align 1
@.str.3 = private unnamed_addr constant [26 x i8] c"Server Ip address Error!\0A\00", align 1
@.str.4 = private unnamed_addr constant [18 x i8] c"connect failed! \0A\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"hello\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 %struct.sockaddr_in, align 8
%7 = alloca i32, align 4
%8 = alloca %struct.sockaddr_in, align 8
%9 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%10 = load i32, ptr %4, align 4
%11 = icmp ne i32 %10, 2
br i1 %11, label %12, label %18
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 0
%15 = load ptr, ptr %14, align 8
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %15)
%17 = call i32 @exit(i32 noundef 1) #3
unreachable
18: ; preds = %2
%19 = call i32 @bzero(ptr noundef %6, i32 noundef 24)
%20 = load ptr, ptr @AF_INET, align 8
%21 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 2
store ptr %20, ptr %21, align 8
%22 = load i32, ptr @INADDR_ANY, align 4
%23 = call ptr @htons(i32 noundef %22)
%24 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 1
%25 = getelementptr inbounds %struct.TYPE_2__, ptr %24, i32 0, i32 0
store ptr %23, ptr %25, align 8
%26 = call ptr @htons(i32 noundef 0)
%27 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 0
store ptr %26, ptr %27, align 8
%28 = load ptr, ptr @AF_INET, align 8
%29 = load i32, ptr @SOCK_STREAM, align 4
%30 = call i32 @socket(ptr noundef %28, i32 noundef %29, i32 noundef 0)
store i32 %30, ptr %7, align 4
%31 = load i32, ptr %7, align 4
%32 = icmp slt i32 %31, 0
br i1 %32, label %33, label %36
33: ; preds = %18
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%35 = call i32 @exit(i32 noundef 1) #3
unreachable
36: ; preds = %18
%37 = load i32, ptr %7, align 4
%38 = call i64 @bind(i32 noundef %37, ptr noundef %6, i32 noundef 24)
%39 = icmp ne i64 %38, 0
br i1 %39, label %40, label %43
40: ; preds = %36
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%42 = call i32 @exit(i32 noundef 1) #3
unreachable
43: ; preds = %36
%44 = call i32 @bzero(ptr noundef %8, i32 noundef 24)
%45 = load ptr, ptr @AF_INET, align 8
%46 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 2
store ptr %45, ptr %46, align 8
%47 = load ptr, ptr %5, align 8
%48 = getelementptr inbounds ptr, ptr %47, i64 1
%49 = load ptr, ptr %48, align 8
%50 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 1
%51 = call i64 @inet_aton(ptr noundef %49, ptr noundef %50)
%52 = icmp eq i64 %51, 0
br i1 %52, label %53, label %56
53: ; preds = %43
%54 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%55 = call i32 @exit(i32 noundef 1) #3
unreachable
56: ; preds = %43
%57 = call ptr @htons(i32 noundef 6666)
%58 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 0
store ptr %57, ptr %58, align 8
store i32 24, ptr %9, align 4
%59 = load i32, ptr %7, align 4
%60 = load i32, ptr %9, align 4
%61 = call i64 @connect(i32 noundef %59, ptr noundef %8, i32 noundef %60)
%62 = icmp slt i64 %61, 0
br i1 %62, label %63, label %66
63: ; preds = %56
%64 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%65 = call i32 @exit(i32 noundef 1) #3
unreachable
66: ; preds = %56
br label %67
67: ; preds = %67, %66
%68 = load i32, ptr %7, align 4
%69 = call i32 @send(i32 noundef %68, ptr noundef @.str.5, i32 noundef 5, i32 noundef 0)
%70 = call i32 @sleep(i32 noundef 10)
br label %67
}
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @bzero(ptr noundef, i32 noundef) #1
declare ptr @htons(i32 noundef) #1
declare i32 @socket(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @inet_aton(ptr noundef, ptr noundef) #1
declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpm64t2ywc.c'
source_filename = "/tmp/tmpm64t2ywc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"ok, ok I exit\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sigintHandler(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, ptr noundef @.str.1)
%5 = call i32 (...) @cleanup()
%6 = load i32, ptr @EXIT_FAILURE, align 4
%7 = call i32 @exit(i32 noundef %6) #3
unreachable
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @cleanup(...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpm64t2ywc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"ok, ok I exit\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sigintHandler(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, ptr noundef @.str.1)
%5 = call i32 (...) @cleanup()
%6 = load i32, ptr @EXIT_FAILURE, align 4
%7 = call i32 @exit(i32 noundef %6) #3
unreachable
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @cleanup(...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgo2c9kvp.c'
source_filename = "/tmp/tmpgo2c9kvp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EIO = dso_local global i32 0, align 4
@EPERM = dso_local global i32 0, align 4
@W_OK = dso_local global i32 0, align 4
@X_OK = 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/tmpgo2c9kvp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EIO = dso_local global i32 0, align 4
@EPERM = dso_local global i32 0, align 4
@W_OK = dso_local global i32 0, align 4
@X_OK = 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/tmpur0deq2b.c'
source_filename = "/tmp/tmpur0deq2b.c"
target datalayout = "e-m:e-p270: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 @__wrap_ungetc(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 i32, ptr %3, align 4
%6 = load ptr, ptr %4, align 8
%7 = call i32 @dll_ungetc(i32 noundef %5, ptr noundef %6)
ret i32 %7
}
declare i32 @dll_ungetc(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/tmpur0deq2b.c"
target datalayout = "e-m:e-p270: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 @__wrap_ungetc(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 i32, ptr %3, align 4
%6 = load ptr, ptr %4, align 8
%7 = call i32 @dll_ungetc(i32 noundef %5, ptr noundef %6)
ret i32 %7
}
declare i32 @dll_ungetc(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/tmp3cf_ojd8.c'
source_filename = "/tmp/tmp3cf_ojd8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"Sentence says _%s_\0A\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"Prop_inv is _%s_\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @invers(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 ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%8 = load ptr, ptr %3, align 8
%9 = call i32 @printf(ptr noundef @.str, ptr noundef %8)
%10 = load i32, ptr %4, align 4
%11 = sext i32 %10 to i64
%12 = mul i64 %11, 1
%13 = trunc i64 %12 to i32
%14 = call i64 @malloc(i32 noundef %13)
%15 = inttoptr i64 %14 to ptr
store ptr %15, ptr %7, align 8
%16 = load i32, ptr %4, align 4
%17 = sub nsw i32 %16, 1
store i32 %17, ptr %5, align 4
store i32 0, ptr %6, align 4
br label %18
18: ; preds = %31, %2
%19 = load i32, ptr %5, align 4
%20 = icmp sge i32 %19, 0
br i1 %20, label %21, label %36
21: ; preds = %18
%22 = load ptr, ptr %3, align 8
%23 = load i32, ptr %5, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %22, i64 %24
%26 = load i8, ptr %25, align 1
%27 = load ptr, ptr %7, align 8
%28 = load i32, ptr %6, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i8, ptr %27, i64 %29
store i8 %26, ptr %30, align 1
br label %31
31: ; preds = %21
%32 = load i32, ptr %5, align 4
%33 = add nsw i32 %32, -1
store i32 %33, ptr %5, align 4
%34 = load i32, ptr %6, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %6, align 4
br label %18, !llvm.loop !6
36: ; preds = %18
%37 = load ptr, ptr %7, align 8
%38 = call i32 @printf(ptr noundef @.str.1, ptr noundef %37)
%39 = load ptr, ptr %7, align 8
ret ptr %39
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3cf_ojd8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"Sentence says _%s_\0A\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"Prop_inv is _%s_\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @invers(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 ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%8 = load ptr, ptr %3, align 8
%9 = call i32 @printf(ptr noundef @.str, ptr noundef %8)
%10 = load i32, ptr %4, align 4
%11 = sext i32 %10 to i64
%12 = mul i64 %11, 1
%13 = trunc i64 %12 to i32
%14 = call i64 @malloc(i32 noundef %13)
%15 = inttoptr i64 %14 to ptr
store ptr %15, ptr %7, align 8
%16 = load i32, ptr %4, align 4
%17 = sub nsw i32 %16, 1
store i32 %17, ptr %5, align 4
store i32 0, ptr %6, align 4
%18 = load i32, ptr %5, align 4
%19 = icmp sge i32 %18, 0
br i1 %19, label %.lr.ph, label %37
.lr.ph: ; preds = %2
br label %20
20: ; preds = %.lr.ph, %30
%21 = load ptr, ptr %3, align 8
%22 = load i32, ptr %5, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %21, i64 %23
%25 = load i8, ptr %24, align 1
%26 = load ptr, ptr %7, align 8
%27 = load i32, ptr %6, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %26, i64 %28
store i8 %25, ptr %29, align 1
br label %30
30: ; preds = %20
%31 = load i32, ptr %5, align 4
%32 = add nsw i32 %31, -1
store i32 %32, ptr %5, align 4
%33 = load i32, ptr %6, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %6, align 4
%35 = load i32, ptr %5, align 4
%36 = icmp sge i32 %35, 0
br i1 %36, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %30
br label %37
37: ; preds = %._crit_edge, %2
%38 = load ptr, ptr %7, align 8
%39 = call i32 @printf(ptr noundef @.str.1, ptr noundef %38)
%40 = load ptr, ptr %7, align 8
ret ptr %40
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpf3urcqnm.c'
source_filename = "/tmp/tmpf3urcqnm.c"
target datalayout = "e-m:e-p270: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 @berechne_volumen_kugel_mit_durchmesser(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %2, align 8
store double 0x400921FB54524550, ptr %3, align 8
%5 = load double, ptr %2, align 8
%6 = call double @pow(double noundef %5, i32 noundef 3)
%7 = fmul double 0x3FE0C1523836D8E0, %6
store double %7, ptr %4, align 8
%8 = load double, ptr %4, align 8
ret double %8
}
declare double @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/tmpf3urcqnm.c"
target datalayout = "e-m:e-p270: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 @berechne_volumen_kugel_mit_durchmesser(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %2, align 8
store double 0x400921FB54524550, ptr %3, align 8
%5 = load double, ptr %2, align 8
%6 = call double @pow(double noundef %5, i32 noundef 3)
%7 = fmul double 0x3FE0C1523836D8E0, %6
store double %7, ptr %4, align 8
%8 = load double, ptr %4, align 8
ret double %8
}
declare double @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/tmpbu4f5_6o.c'
source_filename = "/tmp/tmpbu4f5_6o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_RDWR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @o_rdwr() #0 {
%1 = load i32, ptr @O_RDWR, align 4
ret i32 %1
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbu4f5_6o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_RDWR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @o_rdwr() #0 {
%1 = load i32, ptr @O_RDWR, align 4
ret i32 %1
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvv7frtu2.c'
source_filename = "/tmp/tmpvv7frtu2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"input some numbers\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c" in %d is %d numbers\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 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1)
%5 = load i32, ptr %1, align 4
%6 = call i32 @count(i32 noundef %5)
store i32 %6, ptr %2, align 4
%7 = load i32, ptr %1, align 4
%8 = load i32, ptr %2, align 4
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %7, i32 noundef %8)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @count(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/tmpvv7frtu2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"input some numbers\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c" in %d is %d numbers\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 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1)
%5 = load i32, ptr %1, align 4
%6 = call i32 @count(i32 noundef %5)
store i32 %6, ptr %2, align 4
%7 = load i32, ptr %1, align 4
%8 = load i32, ptr %2, align 4
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %7, i32 noundef %8)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @count(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/tmpak86y8mr.c'
source_filename = "/tmp/tmpak86y8mr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ebuild\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c" #comment\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"comment\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"#comment\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_ebuild_comment_entities() #0 {
%1 = call i32 @test_parser_sourcefile(ptr noundef @.str, ptr noundef @.str.1)
%2 = call i32 @test_parser_verify_entity(i32 noundef %1, ptr noundef @.str.2, ptr noundef @.str.3)
ret void
}
declare i32 @test_parser_verify_entity(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @test_parser_sourcefile(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/tmpak86y8mr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ebuild\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c" #comment\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"comment\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"#comment\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_ebuild_comment_entities() #0 {
%1 = call i32 @test_parser_sourcefile(ptr noundef @.str, ptr noundef @.str.1)
%2 = call i32 @test_parser_verify_entity(i32 noundef %1, ptr noundef @.str.2, ptr noundef @.str.3)
ret void
}
declare i32 @test_parser_verify_entity(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @test_parser_sourcefile(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/tmpurl4rbfz.c'
source_filename = "/tmp/tmpurl4rbfz.c"
target datalayout = "e-m:e-p270: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/tmpurl4rbfz.c"
target datalayout = "e-m:e-p270: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/tmp9592n92x.c'
source_filename = "/tmp/tmp9592n92x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = call ptr @IconsetFromArguments(i32 noundef %7, ptr noundef %8)
store ptr %9, ptr %6, align 8
%10 = load ptr, ptr %6, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %13, label %12
12: ; preds = %2
store i32 -1, ptr %3, align 4
br label %19
13: ; preds = %2
%14 = load ptr, ptr %6, align 8
%15 = call i32 @CreateIcnsFromIconset(ptr noundef %14)
%16 = icmp ne i32 %15, 0
br i1 %16, label %18, label %17
17: ; preds = %13
store i32 -1, ptr %3, align 4
br label %19
18: ; preds = %13
store i32 0, ptr %3, align 4
br label %19
19: ; preds = %18, %17, %12
%20 = load i32, ptr %3, align 4
ret i32 %20
}
declare ptr @IconsetFromArguments(i32 noundef, ptr noundef) #1
declare i32 @CreateIcnsFromIconset(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/tmp9592n92x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = call ptr @IconsetFromArguments(i32 noundef %7, ptr noundef %8)
store ptr %9, ptr %6, align 8
%10 = load ptr, ptr %6, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %13, label %12
12: ; preds = %2
store i32 -1, ptr %3, align 4
br label %19
13: ; preds = %2
%14 = load ptr, ptr %6, align 8
%15 = call i32 @CreateIcnsFromIconset(ptr noundef %14)
%16 = icmp ne i32 %15, 0
br i1 %16, label %18, label %17
17: ; preds = %13
store i32 -1, ptr %3, align 4
br label %19
18: ; preds = %13
store i32 0, ptr %3, align 4
br label %19
19: ; preds = %18, %17, %12
%20 = load i32, ptr %3, align 4
ret i32 %20
}
declare ptr @IconsetFromArguments(i32 noundef, ptr noundef) #1
declare i32 @CreateIcnsFromIconset(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/tmpokga0g3d.c'
source_filename = "/tmp/tmpokga0g3d.c"
target datalayout = "e-m:e-p270: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 @ssl_sigalg(i64 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store i64 %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store i32 0, ptr %9, align 4
br label %10
10: ; preds = %25, %3
%11 = load i32, ptr %9, align 4
%12 = sext i32 %11 to i64
%13 = load i64, ptr %7, align 8
%14 = icmp ult i64 %12, %13
br i1 %14, label %15, label %28
15: ; preds = %10
%16 = load ptr, ptr %6, align 8
%17 = load i32, ptr %9, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i64, ptr %16, i64 %18
%20 = load i64, ptr %19, align 8
%21 = load i64, ptr %5, align 8
%22 = icmp eq i64 %20, %21
br i1 %22, label %23, label %24
23: ; preds = %15
br label %28
24: ; preds = %15
br label %25
25: ; preds = %24
%26 = load i32, ptr %9, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %9, align 4
br label %10, !llvm.loop !6
28: ; preds = %23, %10
%29 = load ptr, ptr %6, align 8
%30 = load i32, ptr %9, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i64, ptr %29, i64 %31
%33 = load i64, ptr %32, align 8
%34 = load i64, ptr %5, align 8
%35 = icmp eq i64 %33, %34
br i1 %35, label %36, label %43
36: ; preds = %28
%37 = load i64, ptr %5, align 8
%38 = call ptr @ssl_sigalg_lookup(i64 noundef %37)
store ptr %38, ptr %8, align 8
%39 = icmp ne ptr %38, null
br i1 %39, label %40, label %42
40: ; preds = %36
%41 = load ptr, ptr %8, align 8
store ptr %41, ptr %4, align 8
br label %44
42: ; preds = %36
br label %43
43: ; preds = %42, %28
store ptr null, ptr %4, align 8
br label %44
44: ; preds = %43, %40
%45 = load ptr, ptr %4, align 8
ret ptr %45
}
declare ptr @ssl_sigalg_lookup(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpokga0g3d.c"
target datalayout = "e-m:e-p270: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 @ssl_sigalg(i64 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store i64 %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store i32 0, ptr %9, align 4
%10 = load i32, ptr %9, align 4
%11 = sext i32 %10 to i64
%12 = load i64, ptr %7, align 8
%13 = icmp ult i64 %11, %12
br i1 %13, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %3
br label %14
14: ; preds = %.lr.ph, %24
%15 = load ptr, ptr %6, align 8
%16 = load i32, ptr %9, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i64, ptr %15, i64 %17
%19 = load i64, ptr %18, align 8
%20 = load i64, ptr %5, align 8
%21 = icmp eq i64 %19, %20
br i1 %21, label %22, label %23
22: ; preds = %14
br label %31
23: ; preds = %14
br label %24
24: ; preds = %23
%25 = load i32, ptr %9, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %9, align 4
%27 = load i32, ptr %9, align 4
%28 = sext i32 %27 to i64
%29 = load i64, ptr %7, align 8
%30 = icmp ult i64 %28, %29
br i1 %30, label %14, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %24
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %3
br label %31
31: ; preds = %.loopexit, %22
%32 = load ptr, ptr %6, align 8
%33 = load i32, ptr %9, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i64, ptr %32, i64 %34
%36 = load i64, ptr %35, align 8
%37 = load i64, ptr %5, align 8
%38 = icmp eq i64 %36, %37
br i1 %38, label %39, label %46
39: ; preds = %31
%40 = load i64, ptr %5, align 8
%41 = call ptr @ssl_sigalg_lookup(i64 noundef %40)
store ptr %41, ptr %8, align 8
%42 = icmp ne ptr %41, null
br i1 %42, label %43, label %45
43: ; preds = %39
%44 = load ptr, ptr %8, align 8
store ptr %44, ptr %4, align 8
br label %47
45: ; preds = %39
br label %46
46: ; preds = %45, %31
store ptr null, ptr %4, align 8
br label %47
47: ; preds = %46, %43
%48 = load ptr, ptr %4, align 8
ret ptr %48
}
declare ptr @ssl_sigalg_lookup(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpcjd85ig1.c'
source_filename = "/tmp/tmpcjd85ig1.c"
target datalayout = "e-m:e-p270: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/tmpcjd85ig1.c"
target datalayout = "e-m:e-p270: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/tmp2af09ni2.c'
source_filename = "/tmp/tmp2af09ni2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"\1B[%dm\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @uxmi_color_bg(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 40, ptr %3, align 4
%4 = load i32, ptr %2, align 4
switch i32 %4, label %12 [
i32 0, label %5
i32 1, label %6
i32 2, label %7
i32 3, label %8
i32 4, label %9
i32 5, label %10
i32 6, label %11
]
5: ; preds = %1
store i32 40, ptr %3, align 4
br label %13
6: ; preds = %1
store i32 44, ptr %3, align 4
br label %13
7: ; preds = %1
store i32 42, ptr %3, align 4
br label %13
8: ; preds = %1
store i32 46, ptr %3, align 4
br label %13
9: ; preds = %1
store i32 41, ptr %3, align 4
br label %13
10: ; preds = %1
store i32 45, ptr %3, align 4
br label %13
11: ; preds = %1
store i32 43, ptr %3, align 4
br label %13
12: ; preds = %1
store i32 47, ptr %3, align 4
br label %13
13: ; preds = %12, %11, %10, %9, %8, %7, %6, %5
%14 = load i32, ptr %3, align 4
%15 = call i32 @printf(ptr noundef @.str, i32 noundef %14)
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/tmp2af09ni2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"\1B[%dm\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @uxmi_color_bg(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 40, ptr %3, align 4
%4 = load i32, ptr %2, align 4
switch i32 %4, label %12 [
i32 0, label %5
i32 1, label %6
i32 2, label %7
i32 3, label %8
i32 4, label %9
i32 5, label %10
i32 6, label %11
]
5: ; preds = %1
store i32 40, ptr %3, align 4
br label %13
6: ; preds = %1
store i32 44, ptr %3, align 4
br label %13
7: ; preds = %1
store i32 42, ptr %3, align 4
br label %13
8: ; preds = %1
store i32 46, ptr %3, align 4
br label %13
9: ; preds = %1
store i32 41, ptr %3, align 4
br label %13
10: ; preds = %1
store i32 45, ptr %3, align 4
br label %13
11: ; preds = %1
store i32 43, ptr %3, align 4
br label %13
12: ; preds = %1
store i32 47, ptr %3, align 4
br label %13
13: ; preds = %12, %11, %10, %9, %8, %7, %6, %5
%14 = load i32, ptr %3, align 4
%15 = call i32 @printf(ptr noundef @.str, i32 noundef %14)
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/tmpmsqh5cio.c'
source_filename = "/tmp/tmpmsqh5cio.c"
target datalayout = "e-m:e-p270: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 @findKthLargest(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = 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
%12 = load i32, ptr %6, align 4
%13 = icmp sle i32 %12, 1
br i1 %13, label %14, label %24
14: ; preds = %3
%15 = load i32, ptr %6, align 4
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %21
17: ; preds = %14
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds i32, ptr %18, i64 0
%20 = load i32, ptr %19, align 4
br label %22
21: ; preds = %14
br label %22
22: ; preds = %21, %17
%23 = phi i32 [ %20, %17 ], [ 0, %21 ]
store i32 %23, ptr %4, align 4
br label %86
24: ; preds = %3
store i32 0, ptr %8, align 4
%25 = load i32, ptr %6, align 4
%26 = sub nsw i32 %25, 1
store i32 %26, ptr %9, align 4
br label %27
27: ; preds = %24, %85
%28 = load i32, ptr %8, align 4
store i32 %28, ptr %10, align 4
%29 = load i32, ptr %8, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %11, align 4
br label %31
31: ; preds = %54, %27
%32 = load i32, ptr %11, align 4
%33 = load i32, ptr %9, align 4
%34 = icmp sle i32 %32, %33
br i1 %34, label %35, label %57
35: ; preds = %31
%36 = load ptr, ptr %5, align 8
%37 = load i32, ptr %11, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i32, ptr %36, i64 %38
%40 = load i32, ptr %39, align 4
%41 = load ptr, ptr %5, align 8
%42 = load i32, ptr %8, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i32, ptr %41, i64 %43
%45 = load i32, ptr %44, align 4
%46 = icmp sle i32 %40, %45
br i1 %46, label %47, label %53
47: ; preds = %35
%48 = load ptr, ptr %5, align 8
%49 = load i32, ptr %10, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %10, align 4
%51 = load i32, ptr %11, align 4
%52 = call i32 @swap(ptr noundef %48, i32 noundef %50, i32 noundef %51)
br label %53
53: ; preds = %47, %35
br label %54
54: ; preds = %53
%55 = load i32, ptr %11, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %11, align 4
br label %31, !llvm.loop !6
57: ; preds = %31
%58 = load ptr, ptr %5, align 8
%59 = load i32, ptr %8, align 4
%60 = load i32, ptr %10, align 4
%61 = call i32 @swap(ptr noundef %58, i32 noundef %59, i32 noundef %60)
%62 = load i32, ptr %6, align 4
%63 = load i32, ptr %10, align 4
%64 = sub nsw i32 %62, %63
%65 = load i32, ptr %7, align 4
%66 = icmp eq i32 %64, %65
br i1 %66, label %67, label %73
67: ; preds = %57
%68 = load ptr, ptr %5, align 8
%69 = load i32, ptr %10, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds i32, ptr %68, i64 %70
%72 = load i32, ptr %71, align 4
store i32 %72, ptr %4, align 4
br label %86
73: ; preds = %57
%74 = load i32, ptr %6, align 4
%75 = load i32, ptr %10, align 4
%76 = sub nsw i32 %74, %75
%77 = load i32, ptr %7, align 4
%78 = icmp sgt i32 %76, %77
br i1 %78, label %79, label %82
79: ; preds = %73
%80 = load i32, ptr %10, align 4
%81 = add nsw i32 %80, 1
store i32 %81, ptr %8, align 4
br label %85
82: ; preds = %73
%83 = load i32, ptr %10, align 4
%84 = sub nsw i32 %83, 1
store i32 %84, ptr %9, align 4
br label %85
85: ; preds = %82, %79
br label %27
86: ; preds = %67, %22
%87 = load i32, ptr %4, align 4
ret i32 %87
}
declare i32 @swap(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/tmpmsqh5cio.c"
target datalayout = "e-m:e-p270: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 @findKthLargest(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = 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
%12 = load i32, ptr %6, align 4
%13 = icmp sle i32 %12, 1
br i1 %13, label %14, label %24
14: ; preds = %3
%15 = load i32, ptr %6, align 4
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %21
17: ; preds = %14
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds i32, ptr %18, i64 0
%20 = load i32, ptr %19, align 4
br label %22
21: ; preds = %14
br label %22
22: ; preds = %21, %17
%23 = phi i32 [ %20, %17 ], [ 0, %21 ]
store i32 %23, ptr %4, align 4
br label %88
24: ; preds = %3
store i32 0, ptr %8, align 4
%25 = load i32, ptr %6, align 4
%26 = sub nsw i32 %25, 1
store i32 %26, ptr %9, align 4
br label %27
27: ; preds = %87, %24
%28 = load i32, ptr %8, align 4
store i32 %28, ptr %10, align 4
%29 = load i32, ptr %8, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %11, align 4
%31 = load i32, ptr %11, align 4
%32 = load i32, ptr %9, align 4
%33 = icmp sle i32 %31, %32
br i1 %33, label %.lr.ph, label %59
.lr.ph: ; preds = %27
br label %34
34: ; preds = %.lr.ph, %53
%35 = load ptr, ptr %5, align 8
%36 = load i32, ptr %11, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i32, ptr %35, i64 %37
%39 = load i32, ptr %38, align 4
%40 = load ptr, ptr %5, align 8
%41 = load i32, ptr %8, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i32, ptr %40, i64 %42
%44 = load i32, ptr %43, align 4
%45 = icmp sle i32 %39, %44
br i1 %45, label %46, label %52
46: ; preds = %34
%47 = load ptr, ptr %5, align 8
%48 = load i32, ptr %10, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %10, align 4
%50 = load i32, ptr %11, align 4
%51 = call i32 @swap(ptr noundef %47, i32 noundef %49, i32 noundef %50)
br label %52
52: ; preds = %46, %34
br label %53
53: ; preds = %52
%54 = load i32, ptr %11, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %11, align 4
%56 = load i32, ptr %11, align 4
%57 = load i32, ptr %9, align 4
%58 = icmp sle i32 %56, %57
br i1 %58, label %34, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %53
br label %59
59: ; preds = %._crit_edge, %27
%60 = load ptr, ptr %5, align 8
%61 = load i32, ptr %8, align 4
%62 = load i32, ptr %10, align 4
%63 = call i32 @swap(ptr noundef %60, i32 noundef %61, i32 noundef %62)
%64 = load i32, ptr %6, align 4
%65 = load i32, ptr %10, align 4
%66 = sub nsw i32 %64, %65
%67 = load i32, ptr %7, align 4
%68 = icmp eq i32 %66, %67
br i1 %68, label %69, label %75
69: ; preds = %59
%70 = load ptr, ptr %5, align 8
%71 = load i32, ptr %10, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds i32, ptr %70, i64 %72
%74 = load i32, ptr %73, align 4
store i32 %74, ptr %4, align 4
br label %88
75: ; preds = %59
%76 = load i32, ptr %6, align 4
%77 = load i32, ptr %10, align 4
%78 = sub nsw i32 %76, %77
%79 = load i32, ptr %7, align 4
%80 = icmp sgt i32 %78, %79
br i1 %80, label %81, label %84
81: ; preds = %75
%82 = load i32, ptr %10, align 4
%83 = add nsw i32 %82, 1
store i32 %83, ptr %8, align 4
br label %87
84: ; preds = %75
%85 = load i32, ptr %10, align 4
%86 = sub nsw i32 %85, 1
store i32 %86, ptr %9, align 4
br label %87
87: ; preds = %84, %81
br label %27
88: ; preds = %69, %22
%89 = load i32, ptr %4, align 4
ret i32 %89
}
declare i32 @swap(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/tmpf3nu4w0k.c'
source_filename = "/tmp/tmpf3nu4w0k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"cl\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @create_cl_packet(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%9 = load ptr, ptr %5, align 8
%10 = load i64, ptr %6, align 8
%11 = load ptr, ptr %7, align 8
%12 = load ptr, ptr %8, align 8
%13 = call ptr @create_kv_packet(ptr noundef @.str, i32 noundef 2, ptr noundef %9, i64 noundef %10, ptr noundef %11, ptr noundef %12)
ret ptr %13
}
declare ptr @create_kv_packet(ptr noundef, i32 noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpf3nu4w0k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"cl\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @create_cl_packet(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%9 = load ptr, ptr %5, align 8
%10 = load i64, ptr %6, align 8
%11 = load ptr, ptr %7, align 8
%12 = load ptr, ptr %8, align 8
%13 = call ptr @create_kv_packet(ptr noundef @.str, i32 noundef 2, ptr noundef %9, i64 noundef %10, ptr noundef %11, ptr noundef %12)
ret ptr %13
}
declare ptr @create_kv_packet(ptr noundef, i32 noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3_zeboyu.c'
source_filename = "/tmp/tmp3_zeboyu.c"
target datalayout = "e-m:e-p270: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 @uninitvar_strtol() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = load ptr, ptr %1, align 8
%5 = load ptr, ptr %2, align 8
%6 = load i32, ptr %3, align 4
%7 = call i32 @strtol(ptr noundef %4, ptr noundef %5, i32 noundef %6)
%8 = load ptr, ptr %1, align 8
%9 = load ptr, ptr %2, align 8
%10 = load i32, ptr %3, align 4
%11 = call i32 @strtoll(ptr noundef %8, ptr noundef %9, i32 noundef %10)
%12 = load ptr, ptr %1, align 8
%13 = load ptr, ptr %2, align 8
%14 = load i32, ptr %3, align 4
%15 = call i32 @strtoul(ptr noundef %12, ptr noundef %13, i32 noundef %14)
%16 = load ptr, ptr %1, align 8
%17 = load ptr, ptr %2, align 8
%18 = load i32, ptr %3, align 4
%19 = call i32 @strtoull(ptr noundef %16, ptr noundef %17, i32 noundef %18)
ret void
}
declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strtoll(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strtoul(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strtoull(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/tmp3_zeboyu.c"
target datalayout = "e-m:e-p270: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 @uninitvar_strtol() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = load ptr, ptr %1, align 8
%5 = load ptr, ptr %2, align 8
%6 = load i32, ptr %3, align 4
%7 = call i32 @strtol(ptr noundef %4, ptr noundef %5, i32 noundef %6)
%8 = load ptr, ptr %1, align 8
%9 = load ptr, ptr %2, align 8
%10 = load i32, ptr %3, align 4
%11 = call i32 @strtoll(ptr noundef %8, ptr noundef %9, i32 noundef %10)
%12 = load ptr, ptr %1, align 8
%13 = load ptr, ptr %2, align 8
%14 = load i32, ptr %3, align 4
%15 = call i32 @strtoul(ptr noundef %12, ptr noundef %13, i32 noundef %14)
%16 = load ptr, ptr %1, align 8
%17 = load ptr, ptr %2, align 8
%18 = load i32, ptr %3, align 4
%19 = call i32 @strtoull(ptr noundef %16, ptr noundef %17, i32 noundef %18)
ret void
}
declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strtoll(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strtoul(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strtoull(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/tmp6k7em47j.c'
source_filename = "/tmp/tmp6k7em47j.c"
target datalayout = "e-m:e-p270: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 @mulMatMat(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef %7) #0 {
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca ptr, align 8
store ptr %0, ptr %9, align 8
store ptr %1, ptr %10, align 8
store ptr %2, ptr %11, align 8
store i32 %3, ptr %12, align 4
store i32 %4, ptr %13, align 4
store i32 %5, ptr %14, align 4
store i32 %6, ptr %15, align 4
store ptr %7, ptr %16, align 8
%17 = load ptr, ptr %16, align 8
%18 = getelementptr inbounds i8, ptr %17, i64 0
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp eq i32 %20, 78
br i1 %21, label %22, label %36
22: ; preds = %8
%23 = load ptr, ptr %16, align 8
%24 = getelementptr inbounds i8, ptr %23, i64 1
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = icmp eq i32 %26, 78
br i1 %27, label %28, label %36
28: ; preds = %22
%29 = load ptr, ptr %9, align 8
%30 = load ptr, ptr %10, align 8
%31 = load ptr, ptr %11, align 8
%32 = load i32, ptr %12, align 4
%33 = load i32, ptr %13, align 4
%34 = load i32, ptr %15, align 4
%35 = call i32 @multAB(ptr noundef %29, ptr noundef %30, ptr noundef %31, i32 noundef %32, i32 noundef %33, i32 noundef %34)
br label %99
36: ; preds = %22, %8
%37 = load ptr, ptr %16, align 8
%38 = getelementptr inbounds i8, ptr %37, i64 0
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i32
%41 = icmp eq i32 %40, 84
br i1 %41, label %42, label %56
42: ; preds = %36
%43 = load ptr, ptr %16, align 8
%44 = getelementptr inbounds i8, ptr %43, i64 1
%45 = load i8, ptr %44, align 1
%46 = sext i8 %45 to i32
%47 = icmp eq i32 %46, 78
br i1 %47, label %48, label %56
48: ; preds = %42
%49 = load ptr, ptr %9, align 8
%50 = load ptr, ptr %10, align 8
%51 = load ptr, ptr %11, align 8
%52 = load i32, ptr %12, align 4
%53 = load i32, ptr %13, align 4
%54 = load i32, ptr %15, align 4
%55 = call i32 @multAtB(ptr noundef %49, ptr noundef %50, ptr noundef %51, i32 noundef %52, i32 noundef %53, i32 noundef %54)
br label %98
56: ; preds = %42, %36
%57 = load ptr, ptr %16, align 8
%58 = getelementptr inbounds i8, ptr %57, i64 0
%59 = load i8, ptr %58, align 1
%60 = sext i8 %59 to i32
%61 = icmp eq i32 %60, 78
br i1 %61, label %62, label %76
62: ; preds = %56
%63 = load ptr, ptr %16, align 8
%64 = getelementptr inbounds i8, ptr %63, i64 1
%65 = load i8, ptr %64, align 1
%66 = sext i8 %65 to i32
%67 = icmp eq i32 %66, 84
br i1 %67, label %68, label %76
68: ; preds = %62
%69 = load ptr, ptr %9, align 8
%70 = load ptr, ptr %10, align 8
%71 = load ptr, ptr %11, align 8
%72 = load i32, ptr %12, align 4
%73 = load i32, ptr %13, align 4
%74 = load i32, ptr %14, align 4
%75 = call i32 @multABt(ptr noundef %69, ptr noundef %70, ptr noundef %71, i32 noundef %72, i32 noundef %73, i32 noundef %74)
br label %97
76: ; preds = %62, %56
%77 = load ptr, ptr %16, align 8
%78 = getelementptr inbounds i8, ptr %77, i64 0
%79 = load i8, ptr %78, align 1
%80 = sext i8 %79 to i32
%81 = icmp eq i32 %80, 84
br i1 %81, label %82, label %96
82: ; preds = %76
%83 = load ptr, ptr %16, align 8
%84 = getelementptr inbounds i8, ptr %83, i64 1
%85 = load i8, ptr %84, align 1
%86 = sext i8 %85 to i32
%87 = icmp eq i32 %86, 84
br i1 %87, label %88, label %96
88: ; preds = %82
%89 = load ptr, ptr %9, align 8
%90 = load ptr, ptr %10, align 8
%91 = load ptr, ptr %11, align 8
%92 = load i32, ptr %12, align 4
%93 = load i32, ptr %13, align 4
%94 = load i32, ptr %14, align 4
%95 = call i32 @multAtBt(ptr noundef %89, ptr noundef %90, ptr noundef %91, i32 noundef %92, i32 noundef %93, i32 noundef %94)
br label %96
96: ; preds = %88, %82, %76
br label %97
97: ; preds = %96, %68
br label %98
98: ; preds = %97, %48
br label %99
99: ; preds = %98, %28
ret void
}
declare i32 @multAB(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @multAtB(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @multABt(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @multAtBt(ptr noundef, 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6k7em47j.c"
target datalayout = "e-m:e-p270: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 @mulMatMat(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef %7) #0 {
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca ptr, align 8
store ptr %0, ptr %9, align 8
store ptr %1, ptr %10, align 8
store ptr %2, ptr %11, align 8
store i32 %3, ptr %12, align 4
store i32 %4, ptr %13, align 4
store i32 %5, ptr %14, align 4
store i32 %6, ptr %15, align 4
store ptr %7, ptr %16, align 8
%17 = load ptr, ptr %16, align 8
%18 = getelementptr inbounds i8, ptr %17, i64 0
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp eq i32 %20, 78
br i1 %21, label %22, label %36
22: ; preds = %8
%23 = load ptr, ptr %16, align 8
%24 = getelementptr inbounds i8, ptr %23, i64 1
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = icmp eq i32 %26, 78
br i1 %27, label %28, label %36
28: ; preds = %22
%29 = load ptr, ptr %9, align 8
%30 = load ptr, ptr %10, align 8
%31 = load ptr, ptr %11, align 8
%32 = load i32, ptr %12, align 4
%33 = load i32, ptr %13, align 4
%34 = load i32, ptr %15, align 4
%35 = call i32 @multAB(ptr noundef %29, ptr noundef %30, ptr noundef %31, i32 noundef %32, i32 noundef %33, i32 noundef %34)
br label %99
36: ; preds = %22, %8
%37 = load ptr, ptr %16, align 8
%38 = getelementptr inbounds i8, ptr %37, i64 0
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i32
%41 = icmp eq i32 %40, 84
br i1 %41, label %42, label %56
42: ; preds = %36
%43 = load ptr, ptr %16, align 8
%44 = getelementptr inbounds i8, ptr %43, i64 1
%45 = load i8, ptr %44, align 1
%46 = sext i8 %45 to i32
%47 = icmp eq i32 %46, 78
br i1 %47, label %48, label %56
48: ; preds = %42
%49 = load ptr, ptr %9, align 8
%50 = load ptr, ptr %10, align 8
%51 = load ptr, ptr %11, align 8
%52 = load i32, ptr %12, align 4
%53 = load i32, ptr %13, align 4
%54 = load i32, ptr %15, align 4
%55 = call i32 @multAtB(ptr noundef %49, ptr noundef %50, ptr noundef %51, i32 noundef %52, i32 noundef %53, i32 noundef %54)
br label %98
56: ; preds = %42, %36
%57 = load ptr, ptr %16, align 8
%58 = getelementptr inbounds i8, ptr %57, i64 0
%59 = load i8, ptr %58, align 1
%60 = sext i8 %59 to i32
%61 = icmp eq i32 %60, 78
br i1 %61, label %62, label %76
62: ; preds = %56
%63 = load ptr, ptr %16, align 8
%64 = getelementptr inbounds i8, ptr %63, i64 1
%65 = load i8, ptr %64, align 1
%66 = sext i8 %65 to i32
%67 = icmp eq i32 %66, 84
br i1 %67, label %68, label %76
68: ; preds = %62
%69 = load ptr, ptr %9, align 8
%70 = load ptr, ptr %10, align 8
%71 = load ptr, ptr %11, align 8
%72 = load i32, ptr %12, align 4
%73 = load i32, ptr %13, align 4
%74 = load i32, ptr %14, align 4
%75 = call i32 @multABt(ptr noundef %69, ptr noundef %70, ptr noundef %71, i32 noundef %72, i32 noundef %73, i32 noundef %74)
br label %97
76: ; preds = %62, %56
%77 = load ptr, ptr %16, align 8
%78 = getelementptr inbounds i8, ptr %77, i64 0
%79 = load i8, ptr %78, align 1
%80 = sext i8 %79 to i32
%81 = icmp eq i32 %80, 84
br i1 %81, label %82, label %96
82: ; preds = %76
%83 = load ptr, ptr %16, align 8
%84 = getelementptr inbounds i8, ptr %83, i64 1
%85 = load i8, ptr %84, align 1
%86 = sext i8 %85 to i32
%87 = icmp eq i32 %86, 84
br i1 %87, label %88, label %96
88: ; preds = %82
%89 = load ptr, ptr %9, align 8
%90 = load ptr, ptr %10, align 8
%91 = load ptr, ptr %11, align 8
%92 = load i32, ptr %12, align 4
%93 = load i32, ptr %13, align 4
%94 = load i32, ptr %14, align 4
%95 = call i32 @multAtBt(ptr noundef %89, ptr noundef %90, ptr noundef %91, i32 noundef %92, i32 noundef %93, i32 noundef %94)
br label %96
96: ; preds = %88, %82, %76
br label %97
97: ; preds = %96, %68
br label %98
98: ; preds = %97, %48
br label %99
99: ; preds = %98, %28
ret void
}
declare i32 @multAB(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @multAtB(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @multABt(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @multAtBt(ptr noundef, 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"}
|
; ModuleID = '/tmp/tmpbm6f5x6l.c'
source_filename = "/tmp/tmpbm6f5x6l.c"
target datalayout = "e-m:e-p270: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 [6 x i8] c"%s%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"!! \00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"! \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @astPutErr_(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%6 = call ptr (...) @astGetStatusPtr_()
store ptr %6, ptr %5, align 8
%7 = load i32, ptr @stderr, align 4
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %8, align 4
%10 = icmp eq i32 %9, 0
%11 = zext i1 %10 to i64
%12 = select i1 %10, ptr @.str.1, ptr @.str.2
%13 = load ptr, ptr %4, align 8
%14 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str, ptr noundef %12, ptr noundef %13)
ret void
}
declare ptr @astGetStatusPtr_(...) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbm6f5x6l.c"
target datalayout = "e-m:e-p270: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 [6 x i8] c"%s%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"!! \00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"! \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @astPutErr_(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%6 = call ptr (...) @astGetStatusPtr_()
store ptr %6, ptr %5, align 8
%7 = load i32, ptr @stderr, align 4
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %8, align 4
%10 = icmp eq i32 %9, 0
%11 = zext i1 %10 to i64
%12 = select i1 %10, ptr @.str.1, ptr @.str.2
%13 = load ptr, ptr %4, align 8
%14 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str, ptr noundef %12, ptr noundef %13)
ret void
}
declare ptr @astGetStatusPtr_(...) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdak54q80.c'
source_filename = "/tmp/tmpdak54q80.c"
target datalayout = "e-m:e-p270: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/tmpdak54q80.c"
target datalayout = "e-m:e-p270: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/tmpo4tdcp87.c'
source_filename = "/tmp/tmpo4tdcp87.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ERROR: need the path to generation binaries\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"%s/genexp\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"%s/genlog\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"%s/genlog10\00", align 1
@.str.4 = private unnamed_addr constant [12 x i8] c"%s/genfrexp\00", align 1
@.str.5 = private unnamed_addr constant [12 x i8] c"%s/genldexp\00", align 1
@.str.6 = private unnamed_addr constant [12 x i8] c"%s/genhypot\00", align 1
@.str.7 = private unnamed_addr constant [11 x i8] c"%s/genmodf\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = load i32, ptr %4, align 4
%10 = icmp ne i32 %9, 2
br i1 %10, label %11, label %14
11: ; preds = %2
%12 = call i32 @printf(ptr noundef @.str)
%13 = call i32 (...) @abort() #3
unreachable
14: ; preds = %2
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 1
%17 = load ptr, ptr %16, align 8
store ptr %17, ptr %7, align 8
%18 = load ptr, ptr %7, align 8
%19 = call i64 @strlen(ptr noundef %18)
%20 = add nsw i64 %19, 16
%21 = call ptr @malloc(i64 noundef %20)
store ptr %21, ptr %6, align 8
%22 = load ptr, ptr %6, align 8
%23 = load ptr, ptr %7, align 8
%24 = call i32 @sprintf(ptr noundef %22, ptr noundef @.str.1, ptr noundef %23)
%25 = load ptr, ptr %6, align 8
%26 = call i32 @create_file(ptr noundef %25, i32 noundef 0)
store i32 %26, ptr %8, align 4
%27 = load i32, ptr %8, align 4
%28 = call i32 @waitpid(i32 noundef %27, ptr noundef null, i32 noundef 0)
%29 = load ptr, ptr %6, align 8
%30 = load ptr, ptr %7, align 8
%31 = call i32 @sprintf(ptr noundef %29, ptr noundef @.str.2, ptr noundef %30)
%32 = load ptr, ptr %6, align 8
%33 = call i32 @create_file(ptr noundef %32, i32 noundef 0)
store i32 %33, ptr %8, align 4
%34 = load i32, ptr %8, align 4
%35 = call i32 @waitpid(i32 noundef %34, ptr noundef null, i32 noundef 0)
%36 = load ptr, ptr %6, align 8
%37 = load ptr, ptr %7, align 8
%38 = call i32 @sprintf(ptr noundef %36, ptr noundef @.str.3, ptr noundef %37)
%39 = load ptr, ptr %6, align 8
%40 = call i32 @create_file(ptr noundef %39, i32 noundef 0)
store i32 %40, ptr %8, align 4
%41 = load i32, ptr %8, align 4
%42 = call i32 @waitpid(i32 noundef %41, ptr noundef null, i32 noundef 0)
%43 = load ptr, ptr %6, align 8
%44 = load ptr, ptr %7, align 8
%45 = call i32 @sprintf(ptr noundef %43, ptr noundef @.str.4, ptr noundef %44)
%46 = load ptr, ptr %6, align 8
%47 = call i32 @create_file(ptr noundef %46, i32 noundef 0)
store i32 %47, ptr %8, align 4
%48 = load i32, ptr %8, align 4
%49 = call i32 @waitpid(i32 noundef %48, ptr noundef null, i32 noundef 0)
%50 = load ptr, ptr %6, align 8
%51 = load ptr, ptr %7, align 8
%52 = call i32 @sprintf(ptr noundef %50, ptr noundef @.str.5, ptr noundef %51)
%53 = load ptr, ptr %6, align 8
%54 = call i32 @create_file(ptr noundef %53, i32 noundef 0)
store i32 %54, ptr %8, align 4
%55 = load i32, ptr %8, align 4
%56 = call i32 @waitpid(i32 noundef %55, ptr noundef null, i32 noundef 0)
%57 = load ptr, ptr %6, align 8
%58 = load ptr, ptr %7, align 8
%59 = call i32 @sprintf(ptr noundef %57, ptr noundef @.str.6, ptr noundef %58)
%60 = load ptr, ptr %6, align 8
%61 = call i32 @create_file(ptr noundef %60, i32 noundef 0)
store i32 %61, ptr %8, align 4
%62 = load i32, ptr %8, align 4
%63 = call i32 @waitpid(i32 noundef %62, ptr noundef null, i32 noundef 0)
%64 = load ptr, ptr %6, align 8
%65 = load ptr, ptr %7, align 8
%66 = call i32 @sprintf(ptr noundef %64, ptr noundef @.str.7, ptr noundef %65)
%67 = load ptr, ptr %6, align 8
%68 = call i32 @create_file(ptr noundef %67, i32 noundef 0)
store i32 %68, ptr %8, align 4
%69 = load i32, ptr %8, align 4
%70 = call i32 @waitpid(i32 noundef %69, ptr noundef null, i32 noundef 0)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
declare ptr @malloc(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @create_file(ptr noundef, i32 noundef) #1
declare i32 @waitpid(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpo4tdcp87.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ERROR: need the path to generation binaries\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"%s/genexp\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"%s/genlog\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"%s/genlog10\00", align 1
@.str.4 = private unnamed_addr constant [12 x i8] c"%s/genfrexp\00", align 1
@.str.5 = private unnamed_addr constant [12 x i8] c"%s/genldexp\00", align 1
@.str.6 = private unnamed_addr constant [12 x i8] c"%s/genhypot\00", align 1
@.str.7 = private unnamed_addr constant [11 x i8] c"%s/genmodf\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = load i32, ptr %4, align 4
%10 = icmp ne i32 %9, 2
br i1 %10, label %11, label %14
11: ; preds = %2
%12 = call i32 @printf(ptr noundef @.str)
%13 = call i32 (...) @abort() #3
unreachable
14: ; preds = %2
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 1
%17 = load ptr, ptr %16, align 8
store ptr %17, ptr %7, align 8
%18 = load ptr, ptr %7, align 8
%19 = call i64 @strlen(ptr noundef %18)
%20 = add nsw i64 %19, 16
%21 = call ptr @malloc(i64 noundef %20)
store ptr %21, ptr %6, align 8
%22 = load ptr, ptr %6, align 8
%23 = load ptr, ptr %7, align 8
%24 = call i32 @sprintf(ptr noundef %22, ptr noundef @.str.1, ptr noundef %23)
%25 = load ptr, ptr %6, align 8
%26 = call i32 @create_file(ptr noundef %25, i32 noundef 0)
store i32 %26, ptr %8, align 4
%27 = load i32, ptr %8, align 4
%28 = call i32 @waitpid(i32 noundef %27, ptr noundef null, i32 noundef 0)
%29 = load ptr, ptr %6, align 8
%30 = load ptr, ptr %7, align 8
%31 = call i32 @sprintf(ptr noundef %29, ptr noundef @.str.2, ptr noundef %30)
%32 = load ptr, ptr %6, align 8
%33 = call i32 @create_file(ptr noundef %32, i32 noundef 0)
store i32 %33, ptr %8, align 4
%34 = load i32, ptr %8, align 4
%35 = call i32 @waitpid(i32 noundef %34, ptr noundef null, i32 noundef 0)
%36 = load ptr, ptr %6, align 8
%37 = load ptr, ptr %7, align 8
%38 = call i32 @sprintf(ptr noundef %36, ptr noundef @.str.3, ptr noundef %37)
%39 = load ptr, ptr %6, align 8
%40 = call i32 @create_file(ptr noundef %39, i32 noundef 0)
store i32 %40, ptr %8, align 4
%41 = load i32, ptr %8, align 4
%42 = call i32 @waitpid(i32 noundef %41, ptr noundef null, i32 noundef 0)
%43 = load ptr, ptr %6, align 8
%44 = load ptr, ptr %7, align 8
%45 = call i32 @sprintf(ptr noundef %43, ptr noundef @.str.4, ptr noundef %44)
%46 = load ptr, ptr %6, align 8
%47 = call i32 @create_file(ptr noundef %46, i32 noundef 0)
store i32 %47, ptr %8, align 4
%48 = load i32, ptr %8, align 4
%49 = call i32 @waitpid(i32 noundef %48, ptr noundef null, i32 noundef 0)
%50 = load ptr, ptr %6, align 8
%51 = load ptr, ptr %7, align 8
%52 = call i32 @sprintf(ptr noundef %50, ptr noundef @.str.5, ptr noundef %51)
%53 = load ptr, ptr %6, align 8
%54 = call i32 @create_file(ptr noundef %53, i32 noundef 0)
store i32 %54, ptr %8, align 4
%55 = load i32, ptr %8, align 4
%56 = call i32 @waitpid(i32 noundef %55, ptr noundef null, i32 noundef 0)
%57 = load ptr, ptr %6, align 8
%58 = load ptr, ptr %7, align 8
%59 = call i32 @sprintf(ptr noundef %57, ptr noundef @.str.6, ptr noundef %58)
%60 = load ptr, ptr %6, align 8
%61 = call i32 @create_file(ptr noundef %60, i32 noundef 0)
store i32 %61, ptr %8, align 4
%62 = load i32, ptr %8, align 4
%63 = call i32 @waitpid(i32 noundef %62, ptr noundef null, i32 noundef 0)
%64 = load ptr, ptr %6, align 8
%65 = load ptr, ptr %7, align 8
%66 = call i32 @sprintf(ptr noundef %64, ptr noundef @.str.7, ptr noundef %65)
%67 = load ptr, ptr %6, align 8
%68 = call i32 @create_file(ptr noundef %67, i32 noundef 0)
store i32 %68, ptr %8, align 4
%69 = load i32, ptr %8, align 4
%70 = call i32 @waitpid(i32 noundef %69, ptr noundef null, i32 noundef 0)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
declare ptr @malloc(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @create_file(ptr noundef, i32 noundef) #1
declare i32 @waitpid(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpsy326vs1.c'
source_filename = "/tmp/tmpsy326vs1.c"
target datalayout = "e-m:e-p270: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 @dRombergO(ptr noundef %0, ptr noundef %1, double noundef %2, double noundef %3, double noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca [14 x double], align 16
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca double, align 8
%17 = alloca double, align 8
%18 = alloca i32, align 4
%19 = alloca double, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store double %2, ptr %8, align 8
store double %3, ptr %9, align 8
store double %4, ptr %10, align 8
store i32 1, ptr %14, align 4
store i32 1, ptr %15, align 4
%20 = load double, ptr %9, align 8
%21 = load double, ptr %8, align 8
%22 = fsub double %20, %21
%23 = load ptr, ptr %7, align 8
%24 = load ptr, ptr %6, align 8
%25 = load double, ptr %9, align 8
%26 = load double, ptr %8, align 8
%27 = fadd double %25, %26
%28 = fmul double 5.000000e-01, %27
%29 = call double %23(ptr noundef %24, double noundef %28)
%30 = fmul double %22, %29
store double %30, ptr %11, align 8
%31 = getelementptr inbounds [14 x double], ptr %13, i64 0, i64 0
store double %30, ptr %31, align 16
store double 3.400000e+38, ptr %12, align 8
br label %32
32: ; preds = %132, %5
%33 = load double, ptr %11, align 8
%34 = load double, ptr %12, align 8
%35 = fsub double %33, %34
%36 = load double, ptr %11, align 8
%37 = fdiv double %35, %36
%38 = call double @llvm.fabs.f64(double %37)
%39 = load double, ptr %10, align 8
%40 = fcmp ogt double %38, %39
br i1 %40, label %41, label %44
41: ; preds = %32
%42 = load i32, ptr %14, align 4
%43 = icmp slt i32 %42, 13
br label %44
44: ; preds = %41, %32
%45 = phi i1 [ false, %32 ], [ %43, %41 ]
br i1 %45, label %46, label %140
46: ; preds = %44
%47 = load i32, ptr %15, align 4
%48 = mul nsw i32 %47, 3
store i32 %48, ptr %15, align 4
%49 = load double, ptr %9, align 8
%50 = load double, ptr %8, align 8
%51 = fsub double %49, %50
%52 = load i32, ptr %15, align 4
%53 = sitofp i32 %52 to double
%54 = fdiv double %51, %53
store double %54, ptr %16, align 8
%55 = getelementptr inbounds [14 x double], ptr %13, i64 0, i64 0
%56 = load double, ptr %55, align 16
store double %56, ptr %17, align 8
%57 = getelementptr inbounds [14 x double], ptr %13, i64 0, i64 0
%58 = load double, ptr %57, align 16
%59 = fdiv double %58, 3.000000e+00
%60 = getelementptr inbounds [14 x double], ptr %13, i64 0, i64 0
store double %59, ptr %60, align 16
store i32 0, ptr %18, align 4
br label %61
61: ; preds = %95, %46
%62 = load i32, ptr %18, align 4
%63 = load i32, ptr %15, align 4
%64 = sdiv i32 %63, 3
%65 = icmp slt i32 %62, %64
br i1 %65, label %66, label %98
66: ; preds = %61
%67 = load double, ptr %16, align 8
%68 = load ptr, ptr %7, align 8
%69 = load ptr, ptr %6, align 8
%70 = load double, ptr %8, align 8
%71 = load i32, ptr %18, align 4
%72 = mul nsw i32 3, %71
%73 = sitofp i32 %72 to double
%74 = fadd double %73, 5.000000e-01
%75 = load double, ptr %16, align 8
%76 = call double @llvm.fmuladd.f64(double %74, double %75, double %70)
%77 = call double %68(ptr noundef %69, double noundef %76)
%78 = getelementptr inbounds [14 x double], ptr %13, i64 0, i64 0
%79 = load double, ptr %78, align 16
%80 = call double @llvm.fmuladd.f64(double %67, double %77, double %79)
store double %80, ptr %78, align 16
%81 = load double, ptr %16, align 8
%82 = load ptr, ptr %7, align 8
%83 = load ptr, ptr %6, align 8
%84 = load double, ptr %8, align 8
%85 = load i32, ptr %18, align 4
%86 = mul nsw i32 3, %85
%87 = sitofp i32 %86 to double
%88 = fadd double %87, 2.500000e+00
%89 = load double, ptr %16, align 8
%90 = call double @llvm.fmuladd.f64(double %88, double %89, double %84)
%91 = call double %82(ptr noundef %83, double noundef %90)
%92 = getelementptr inbounds [14 x double], ptr %13, i64 0, i64 0
%93 = load double, ptr %92, align 16
%94 = call double @llvm.fmuladd.f64(double %81, double %91, double %93)
store double %94, ptr %92, align 16
br label %95
95: ; preds = %66
%96 = load i32, ptr %18, align 4
%97 = add nsw i32 %96, 1
store i32 %97, ptr %18, align 4
br label %61, !llvm.loop !6
98: ; preds = %61
store i32 0, ptr %18, align 4
br label %99
99: ; preds = %129, %98
%100 = load i32, ptr %18, align 4
%101 = load i32, ptr %14, align 4
%102 = icmp slt i32 %100, %101
br i1 %102, label %103, label %132
103: ; preds = %99
%104 = load i32, ptr %18, align 4
%105 = add nsw i32 %104, 1
%106 = call double @pow(double noundef 9.000000e+00, i32 noundef %105)
%107 = load i32, ptr %18, align 4
%108 = sext i32 %107 to i64
%109 = getelementptr inbounds [14 x double], ptr %13, i64 0, i64 %108
%110 = load double, ptr %109, align 8
%111 = load double, ptr %17, align 8
%112 = fneg double %111
%113 = call double @llvm.fmuladd.f64(double %106, double %110, double %112)
%114 = load i32, ptr %18, align 4
%115 = add nsw i32 %114, 1
%116 = call double @pow(double noundef 9.000000e+00, i32 noundef %115)
%117 = fsub double %116, 1.000000e+00
%118 = fdiv double %113, %117
store double %118, ptr %19, align 8
%119 = load i32, ptr %18, align 4
%120 = add nsw i32 %119, 1
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds [14 x double], ptr %13, i64 0, i64 %121
%123 = load double, ptr %122, align 8
store double %123, ptr %17, align 8
%124 = load double, ptr %19, align 8
%125 = load i32, ptr %18, align 4
%126 = add nsw i32 %125, 1
%127 = sext i32 %126 to i64
%128 = getelementptr inbounds [14 x double], ptr %13, i64 0, i64 %127
store double %124, ptr %128, align 8
br label %129
129: ; preds = %103
%130 = load i32, ptr %18, align 4
%131 = add nsw i32 %130, 1
store i32 %131, ptr %18, align 4
br label %99, !llvm.loop !8
132: ; preds = %99
%133 = load double, ptr %11, align 8
store double %133, ptr %12, align 8
%134 = load i32, ptr %14, align 4
%135 = sext i32 %134 to i64
%136 = getelementptr inbounds [14 x double], ptr %13, i64 0, i64 %135
%137 = load double, ptr %136, align 8
store double %137, ptr %11, align 8
%138 = load i32, ptr %14, align 4
%139 = add nsw i32 %138, 1
store i32 %139, ptr %14, align 4
br label %32, !llvm.loop !9
140: ; preds = %44
%141 = load double, ptr %11, align 8
%142 = load double, ptr %12, align 8
%143 = fsub double %141, %142
%144 = load double, ptr %11, align 8
%145 = fdiv double %143, %144
%146 = call double @llvm.fabs.f64(double %145)
%147 = load double, ptr %10, align 8
%148 = fcmp olt double %146, %147
%149 = zext i1 %148 to i32
%150 = call i32 @assert(i32 noundef %149)
%151 = load double, ptr %11, align 8
ret double %151
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
declare double @pow(double noundef, i32 noundef) #2
declare i32 @assert(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsy326vs1.c"
target datalayout = "e-m:e-p270: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 @dRombergO(ptr noundef %0, ptr noundef %1, double noundef %2, double noundef %3, double noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca [14 x double], align 16
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca double, align 8
%17 = alloca double, align 8
%18 = alloca i32, align 4
%19 = alloca double, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store double %2, ptr %8, align 8
store double %3, ptr %9, align 8
store double %4, ptr %10, align 8
store i32 1, ptr %14, align 4
store i32 1, ptr %15, align 4
%20 = load double, ptr %9, align 8
%21 = load double, ptr %8, align 8
%22 = fsub double %20, %21
%23 = load ptr, ptr %7, align 8
%24 = load ptr, ptr %6, align 8
%25 = load double, ptr %9, align 8
%26 = load double, ptr %8, align 8
%27 = fadd double %25, %26
%28 = fmul double 5.000000e-01, %27
%29 = call double %23(ptr noundef %24, double noundef %28)
%30 = fmul double %22, %29
store double %30, ptr %11, align 8
%31 = getelementptr inbounds [14 x double], ptr %13, i64 0, i64 0
store double %30, ptr %31, align 16
store double 3.400000e+38, ptr %12, align 8
br label %32
32: ; preds = %137, %5
%33 = load double, ptr %11, align 8
%34 = load double, ptr %12, align 8
%35 = fsub double %33, %34
%36 = load double, ptr %11, align 8
%37 = fdiv double %35, %36
%38 = call double @llvm.fabs.f64(double %37)
%39 = load double, ptr %10, align 8
%40 = fcmp ogt double %38, %39
br i1 %40, label %41, label %44
41: ; preds = %32
%42 = load i32, ptr %14, align 4
%43 = icmp slt i32 %42, 13
br label %44
44: ; preds = %41, %32
%45 = phi i1 [ false, %32 ], [ %43, %41 ]
br i1 %45, label %46, label %145
46: ; preds = %44
%47 = load i32, ptr %15, align 4
%48 = mul nsw i32 %47, 3
store i32 %48, ptr %15, align 4
%49 = load double, ptr %9, align 8
%50 = load double, ptr %8, align 8
%51 = fsub double %49, %50
%52 = load i32, ptr %15, align 4
%53 = sitofp i32 %52 to double
%54 = fdiv double %51, %53
store double %54, ptr %16, align 8
%55 = getelementptr inbounds [14 x double], ptr %13, i64 0, i64 0
%56 = load double, ptr %55, align 16
store double %56, ptr %17, align 8
%57 = getelementptr inbounds [14 x double], ptr %13, i64 0, i64 0
%58 = load double, ptr %57, align 16
%59 = fdiv double %58, 3.000000e+00
%60 = getelementptr inbounds [14 x double], ptr %13, i64 0, i64 0
store double %59, ptr %60, align 16
store i32 0, ptr %18, align 4
%61 = load i32, ptr %18, align 4
%62 = load i32, ptr %15, align 4
%63 = sdiv i32 %62, 3
%64 = icmp slt i32 %61, %63
br i1 %64, label %.lr.ph, label %101
.lr.ph: ; preds = %46
br label %65
65: ; preds = %.lr.ph, %94
%66 = load double, ptr %16, align 8
%67 = load ptr, ptr %7, align 8
%68 = load ptr, ptr %6, align 8
%69 = load double, ptr %8, align 8
%70 = load i32, ptr %18, align 4
%71 = mul nsw i32 3, %70
%72 = sitofp i32 %71 to double
%73 = fadd double %72, 5.000000e-01
%74 = load double, ptr %16, align 8
%75 = call double @llvm.fmuladd.f64(double %73, double %74, double %69)
%76 = call double %67(ptr noundef %68, double noundef %75)
%77 = getelementptr inbounds [14 x double], ptr %13, i64 0, i64 0
%78 = load double, ptr %77, align 16
%79 = call double @llvm.fmuladd.f64(double %66, double %76, double %78)
store double %79, ptr %77, align 16
%80 = load double, ptr %16, align 8
%81 = load ptr, ptr %7, align 8
%82 = load ptr, ptr %6, align 8
%83 = load double, ptr %8, align 8
%84 = load i32, ptr %18, align 4
%85 = mul nsw i32 3, %84
%86 = sitofp i32 %85 to double
%87 = fadd double %86, 2.500000e+00
%88 = load double, ptr %16, align 8
%89 = call double @llvm.fmuladd.f64(double %87, double %88, double %83)
%90 = call double %81(ptr noundef %82, double noundef %89)
%91 = getelementptr inbounds [14 x double], ptr %13, i64 0, i64 0
%92 = load double, ptr %91, align 16
%93 = call double @llvm.fmuladd.f64(double %80, double %90, double %92)
store double %93, ptr %91, align 16
br label %94
94: ; preds = %65
%95 = load i32, ptr %18, align 4
%96 = add nsw i32 %95, 1
store i32 %96, ptr %18, align 4
%97 = load i32, ptr %18, align 4
%98 = load i32, ptr %15, align 4
%99 = sdiv i32 %98, 3
%100 = icmp slt i32 %97, %99
br i1 %100, label %65, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %94
br label %101
101: ; preds = %._crit_edge, %46
store i32 0, ptr %18, align 4
%102 = load i32, ptr %18, align 4
%103 = load i32, ptr %14, align 4
%104 = icmp slt i32 %102, %103
br i1 %104, label %.lr.ph2, label %137
.lr.ph2: ; preds = %101
br label %105
105: ; preds = %.lr.ph2, %131
%106 = load i32, ptr %18, align 4
%107 = add nsw i32 %106, 1
%108 = call double @pow(double noundef 9.000000e+00, i32 noundef %107)
%109 = load i32, ptr %18, align 4
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds [14 x double], ptr %13, i64 0, i64 %110
%112 = load double, ptr %111, align 8
%113 = load double, ptr %17, align 8
%114 = fneg double %113
%115 = call double @llvm.fmuladd.f64(double %108, double %112, double %114)
%116 = load i32, ptr %18, align 4
%117 = add nsw i32 %116, 1
%118 = call double @pow(double noundef 9.000000e+00, i32 noundef %117)
%119 = fsub double %118, 1.000000e+00
%120 = fdiv double %115, %119
store double %120, ptr %19, align 8
%121 = load i32, ptr %18, align 4
%122 = add nsw i32 %121, 1
%123 = sext i32 %122 to i64
%124 = getelementptr inbounds [14 x double], ptr %13, i64 0, i64 %123
%125 = load double, ptr %124, align 8
store double %125, ptr %17, align 8
%126 = load double, ptr %19, align 8
%127 = load i32, ptr %18, align 4
%128 = add nsw i32 %127, 1
%129 = sext i32 %128 to i64
%130 = getelementptr inbounds [14 x double], ptr %13, i64 0, i64 %129
store double %126, ptr %130, align 8
br label %131
131: ; preds = %105
%132 = load i32, ptr %18, align 4
%133 = add nsw i32 %132, 1
store i32 %133, ptr %18, align 4
%134 = load i32, ptr %18, align 4
%135 = load i32, ptr %14, align 4
%136 = icmp slt i32 %134, %135
br i1 %136, label %105, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %131
br label %137
137: ; preds = %._crit_edge3, %101
%138 = load double, ptr %11, align 8
store double %138, ptr %12, align 8
%139 = load i32, ptr %14, align 4
%140 = sext i32 %139 to i64
%141 = getelementptr inbounds [14 x double], ptr %13, i64 0, i64 %140
%142 = load double, ptr %141, align 8
store double %142, ptr %11, align 8
%143 = load i32, ptr %14, align 4
%144 = add nsw i32 %143, 1
store i32 %144, ptr %14, align 4
br label %32, !llvm.loop !9
145: ; preds = %44
%146 = load double, ptr %11, align 8
%147 = load double, ptr %12, align 8
%148 = fsub double %146, %147
%149 = load double, ptr %11, align 8
%150 = fdiv double %148, %149
%151 = call double @llvm.fabs.f64(double %150)
%152 = load double, ptr %10, align 8
%153 = fcmp olt double %151, %152
%154 = zext i1 %153 to i32
%155 = call i32 @assert(i32 noundef %154)
%156 = load double, ptr %11, align 8
ret double %156
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
declare double @pow(double noundef, i32 noundef) #2
declare i32 @assert(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpvx1s34ba.c'
source_filename = "/tmp/tmpvx1s34ba.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"FALSE\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"TRUE\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [100 x i8], align 16
%3 = alloca [100 x i8], align 16
%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
store i32 0, ptr %1, align 4
%9 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%10 = call i32 @gets(ptr noundef %9)
%11 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%12 = call i32 @strlen(ptr noundef %11)
store i32 %12, ptr %5, align 4
%13 = load i32, ptr %5, align 4
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %17
15: ; preds = %0
%16 = call i32 @printf(ptr noundef @.str)
store i32 -1, ptr %1, align 4
br label %74
17: ; preds = %0
store i32 0, ptr %8, align 4
%18 = load i32, ptr %5, align 4
%19 = sdiv i32 %18, 2
%20 = sub nsw i32 %19, 1
store i32 %20, ptr %6, align 4
store i32 0, ptr %4, align 4
br label %21
21: ; preds = %34, %17
%22 = load i32, ptr %4, align 4
%23 = load i32, ptr %6, align 4
%24 = icmp sle i32 %22, %23
br i1 %24, label %25, label %37
25: ; preds = %21
%26 = load i32, ptr %4, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %27
%29 = load i8, ptr %28, align 1
%30 = load i32, ptr %8, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %8, align 4
%32 = sext i32 %30 to i64
%33 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 %32
store i8 %29, ptr %33, align 1
br label %34
34: ; preds = %25
%35 = load i32, ptr %4, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %4, align 4
br label %21, !llvm.loop !6
37: ; preds = %21
%38 = load i32, ptr %5, align 4
%39 = srem i32 %38, 2
%40 = icmp eq i32 %39, 0
br i1 %40, label %41, label %44
41: ; preds = %37
%42 = load i32, ptr %6, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %7, align 4
br label %47
44: ; preds = %37
%45 = load i32, ptr %6, align 4
%46 = add nsw i32 %45, 2
store i32 %46, ptr %7, align 4
br label %47
47: ; preds = %44, %41
%48 = load i32, ptr %7, align 4
store i32 %48, ptr %4, align 4
br label %49
49: ; preds = %69, %47
%50 = load i32, ptr %4, align 4
%51 = load i32, ptr %5, align 4
%52 = icmp slt i32 %50, %51
br i1 %52, label %53, label %72
53: ; preds = %49
%54 = load i32, ptr %8, align 4
%55 = add nsw i32 %54, -1
store i32 %55, ptr %8, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 %56
%58 = load i8, ptr %57, align 1
%59 = sext i8 %58 to i32
%60 = load i32, ptr %4, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %61
%63 = load i8, ptr %62, align 1
%64 = sext i8 %63 to i32
%65 = icmp ne i32 %59, %64
br i1 %65, label %66, label %68
66: ; preds = %53
%67 = call i32 @printf(ptr noundef @.str)
store i32 0, ptr %1, align 4
br label %74
68: ; preds = %53
br label %69
69: ; preds = %68
%70 = load i32, ptr %4, align 4
%71 = add nsw i32 %70, 1
store i32 %71, ptr %4, align 4
br label %49, !llvm.loop !8
72: ; preds = %49
%73 = call i32 @printf(ptr noundef @.str.1)
store i32 0, ptr %1, align 4
br label %74
74: ; preds = %72, %66, %15
%75 = load i32, ptr %1, align 4
ret i32 %75
}
declare i32 @gets(ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvx1s34ba.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"FALSE\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"TRUE\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [100 x i8], align 16
%3 = alloca [100 x i8], align 16
%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
store i32 0, ptr %1, align 4
%9 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%10 = call i32 @gets(ptr noundef %9)
%11 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%12 = call i32 @strlen(ptr noundef %11)
store i32 %12, ptr %5, align 4
%13 = load i32, ptr %5, align 4
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %17
15: ; preds = %0
%16 = call i32 @printf(ptr noundef @.str)
store i32 -1, ptr %1, align 4
br label %78
17: ; preds = %0
store i32 0, ptr %8, align 4
%18 = load i32, ptr %5, align 4
%19 = sdiv i32 %18, 2
%20 = sub nsw i32 %19, 1
store i32 %20, ptr %6, align 4
store i32 0, ptr %4, align 4
%21 = load i32, ptr %4, align 4
%22 = load i32, ptr %6, align 4
%23 = icmp sle i32 %21, %22
br i1 %23, label %.lr.ph, label %39
.lr.ph: ; preds = %17
br label %24
24: ; preds = %.lr.ph, %33
%25 = load i32, ptr %4, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %26
%28 = load i8, ptr %27, align 1
%29 = load i32, ptr %8, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %8, align 4
%31 = sext i32 %29 to i64
%32 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 %31
store i8 %28, ptr %32, align 1
br label %33
33: ; preds = %24
%34 = load i32, ptr %4, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %4, align 4
%36 = load i32, ptr %4, align 4
%37 = load i32, ptr %6, align 4
%38 = icmp sle i32 %36, %37
br i1 %38, label %24, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %33
br label %39
39: ; preds = %._crit_edge, %17
%40 = load i32, ptr %5, align 4
%41 = srem i32 %40, 2
%42 = icmp eq i32 %41, 0
br i1 %42, label %43, label %46
43: ; preds = %39
%44 = load i32, ptr %6, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %7, align 4
br label %49
46: ; preds = %39
%47 = load i32, ptr %6, align 4
%48 = add nsw i32 %47, 2
store i32 %48, ptr %7, align 4
br label %49
49: ; preds = %46, %43
%50 = load i32, ptr %7, align 4
store i32 %50, ptr %4, align 4
%51 = load i32, ptr %4, align 4
%52 = load i32, ptr %5, align 4
%53 = icmp slt i32 %51, %52
br i1 %53, label %.lr.ph2, label %76
.lr.ph2: ; preds = %49
br label %54
54: ; preds = %.lr.ph2, %70
%55 = load i32, ptr %8, align 4
%56 = add nsw i32 %55, -1
store i32 %56, ptr %8, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 %57
%59 = load i8, ptr %58, align 1
%60 = sext i8 %59 to i32
%61 = load i32, ptr %4, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %62
%64 = load i8, ptr %63, align 1
%65 = sext i8 %64 to i32
%66 = icmp ne i32 %60, %65
br i1 %66, label %67, label %69
67: ; preds = %54
%68 = call i32 @printf(ptr noundef @.str)
store i32 0, ptr %1, align 4
br label %78
69: ; preds = %54
br label %70
70: ; preds = %69
%71 = load i32, ptr %4, align 4
%72 = add nsw i32 %71, 1
store i32 %72, ptr %4, align 4
%73 = load i32, ptr %4, align 4
%74 = load i32, ptr %5, align 4
%75 = icmp slt i32 %73, %74
br i1 %75, label %54, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %70
br label %76
76: ; preds = %._crit_edge3, %49
%77 = call i32 @printf(ptr noundef @.str.1)
store i32 0, ptr %1, align 4
br label %78
78: ; preds = %76, %67, %15
%79 = load i32, ptr %1, align 4
ret i32 %79
}
declare i32 @gets(ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp5w4ssem8.c'
source_filename = "/tmp/tmp5w4ssem8.c"
target datalayout = "e-m:e-p270: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/tmp5w4ssem8.c"
target datalayout = "e-m:e-p270: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/tmpbz6fjosj.c'
source_filename = "/tmp/tmpbz6fjosj.c"
target datalayout = "e-m:e-p270: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/tmpbz6fjosj.c"
target datalayout = "e-m:e-p270: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/tmpbq1gm4gd.c'
source_filename = "/tmp/tmpbq1gm4gd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"Out of Memory! %s:%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [140 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/timmassingham/SLR/refs/heads/master/src/utility.c\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @ReadString(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %6, align 4
br label %8
8: ; preds = %11, %1
%9 = load ptr, ptr %2, align 8
%10 = call i32 @fgetc(ptr noundef %9)
store i32 %10, ptr %5, align 4
br label %11
11: ; preds = %8
%12 = load i32, ptr %5, align 4
%13 = call i64 @isspace(i32 noundef %12)
%14 = icmp ne i64 %13, 0
br i1 %14, label %8, label %15, !llvm.loop !6
15: ; preds = %11
%16 = call ptr @calloc(i64 noundef 21, i32 noundef 1)
store ptr %16, ptr %3, align 8
%17 = load ptr, ptr %3, align 8
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %23
19: ; preds = %15
%20 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 242)
%21 = load i32, ptr @EXIT_FAILURE, align 4
%22 = call i32 @exit(i32 noundef %21) #3
unreachable
23: ; preds = %15
br label %24
24: ; preds = %69, %23
%25 = load i32, ptr %5, align 4
%26 = trunc i32 %25 to i8
%27 = load ptr, ptr %3, align 8
%28 = load i32, ptr %6, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %6, align 4
%30 = sext i32 %28 to i64
%31 = getelementptr inbounds i8, ptr %27, i64 %30
store i8 %26, ptr %31, align 1
%32 = load i32, ptr %6, align 4
%33 = srem i32 %32, 20
%34 = icmp eq i32 %33, 0
br i1 %34, label %35, label %68
35: ; preds = %24
%36 = load i32, ptr %6, align 4
%37 = add nsw i32 %36, 20
%38 = sext i32 %37 to i64
%39 = call ptr @calloc(i64 noundef %38, i32 noundef 1)
store ptr %39, ptr %4, align 8
%40 = load ptr, ptr %4, align 8
%41 = icmp eq ptr %40, null
br i1 %41, label %42, label %46
42: ; preds = %35
%43 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 247)
%44 = load i32, ptr @EXIT_FAILURE, align 4
%45 = call i32 @exit(i32 noundef %44) #3
unreachable
46: ; preds = %35
store i32 0, ptr %7, align 4
br label %47
47: ; preds = %61, %46
%48 = load i32, ptr %7, align 4
%49 = load i32, ptr %6, align 4
%50 = icmp slt i32 %48, %49
br i1 %50, label %51, label %64
51: ; preds = %47
%52 = load ptr, ptr %3, align 8
%53 = load i32, ptr %7, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i8, ptr %52, i64 %54
%56 = load i8, ptr %55, align 1
%57 = load ptr, ptr %4, align 8
%58 = load i32, ptr %7, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i8, ptr %57, i64 %59
store i8 %56, ptr %60, align 1
br label %61
61: ; preds = %51
%62 = load i32, ptr %7, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %7, align 4
br label %47, !llvm.loop !8
64: ; preds = %47
%65 = load ptr, ptr %3, align 8
%66 = call i32 @free(ptr noundef %65)
%67 = load ptr, ptr %4, align 8
store ptr %67, ptr %3, align 8
br label %68
68: ; preds = %64, %24
br label %69
69: ; preds = %68
%70 = load ptr, ptr %2, align 8
%71 = call i32 @fgetc(ptr noundef %70)
store i32 %71, ptr %5, align 4
%72 = load i32, ptr @EOF, align 4
%73 = icmp ne i32 %71, %72
br i1 %73, label %24, label %74, !llvm.loop !9
74: ; preds = %69
%75 = load ptr, ptr %3, align 8
%76 = load i32, ptr %6, align 4
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds i8, ptr %75, i64 %77
store i8 0, ptr %78, align 1
%79 = load i32, ptr %6, align 4
%80 = add nsw i32 %79, 1
%81 = sext i32 %80 to i64
%82 = call ptr @calloc(i64 noundef %81, i32 noundef 1)
store ptr %82, ptr %4, align 8
%83 = load ptr, ptr %4, align 8
%84 = icmp eq ptr %83, null
br i1 %84, label %85, label %89
85: ; preds = %74
%86 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 257)
%87 = load i32, ptr @EXIT_FAILURE, align 4
%88 = call i32 @exit(i32 noundef %87) #3
unreachable
89: ; preds = %74
store i32 0, ptr %7, align 4
br label %90
90: ; preds = %105, %89
%91 = load i32, ptr %7, align 4
%92 = load i32, ptr %6, align 4
%93 = add nsw i32 %92, 1
%94 = icmp slt i32 %91, %93
br i1 %94, label %95, label %108
95: ; preds = %90
%96 = load ptr, ptr %3, align 8
%97 = load i32, ptr %7, align 4
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds i8, ptr %96, i64 %98
%100 = load i8, ptr %99, align 1
%101 = load ptr, ptr %4, align 8
%102 = load i32, ptr %7, align 4
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds i8, ptr %101, i64 %103
store i8 %100, ptr %104, align 1
br label %105
105: ; preds = %95
%106 = load i32, ptr %7, align 4
%107 = add nsw i32 %106, 1
store i32 %107, ptr %7, align 4
br label %90, !llvm.loop !10
108: ; preds = %90
%109 = load ptr, ptr %3, align 8
%110 = call i32 @free(ptr noundef %109)
%111 = load ptr, ptr %4, align 8
ret ptr %111
}
declare i32 @fgetc(ptr noundef) #1
declare i64 @isspace(i32 noundef) #1
declare ptr @calloc(i64 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
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"}
!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/tmpbq1gm4gd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"Out of Memory! %s:%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [140 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/timmassingham/SLR/refs/heads/master/src/utility.c\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @ReadString(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %6, align 4
br label %8
8: ; preds = %11, %1
%9 = load ptr, ptr %2, align 8
%10 = call i32 @fgetc(ptr noundef %9)
store i32 %10, ptr %5, align 4
br label %11
11: ; preds = %8
%12 = load i32, ptr %5, align 4
%13 = call i64 @isspace(i32 noundef %12)
%14 = icmp ne i64 %13, 0
br i1 %14, label %8, label %15, !llvm.loop !6
15: ; preds = %11
%16 = call ptr @calloc(i64 noundef 21, i32 noundef 1)
store ptr %16, ptr %3, align 8
%17 = load ptr, ptr %3, align 8
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %23
19: ; preds = %15
%20 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 242)
%21 = load i32, ptr @EXIT_FAILURE, align 4
%22 = call i32 @exit(i32 noundef %21) #3
unreachable
23: ; preds = %15
br label %24
24: ; preds = %71, %23
%25 = load i32, ptr %5, align 4
%26 = trunc i32 %25 to i8
%27 = load ptr, ptr %3, align 8
%28 = load i32, ptr %6, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %6, align 4
%30 = sext i32 %28 to i64
%31 = getelementptr inbounds i8, ptr %27, i64 %30
store i8 %26, ptr %31, align 1
%32 = load i32, ptr %6, align 4
%33 = srem i32 %32, 20
%34 = icmp eq i32 %33, 0
br i1 %34, label %35, label %70
35: ; preds = %24
%36 = load i32, ptr %6, align 4
%37 = add nsw i32 %36, 20
%38 = sext i32 %37 to i64
%39 = call ptr @calloc(i64 noundef %38, i32 noundef 1)
store ptr %39, ptr %4, align 8
%40 = load ptr, ptr %4, align 8
%41 = icmp eq ptr %40, null
br i1 %41, label %42, label %46
42: ; preds = %35
%43 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 247)
%44 = load i32, ptr @EXIT_FAILURE, align 4
%45 = call i32 @exit(i32 noundef %44) #3
unreachable
46: ; preds = %35
store i32 0, ptr %7, align 4
%47 = load i32, ptr %7, align 4
%48 = load i32, ptr %6, align 4
%49 = icmp slt i32 %47, %48
br i1 %49, label %.lr.ph, label %66
.lr.ph: ; preds = %46
br label %50
50: ; preds = %.lr.ph, %60
%51 = load ptr, ptr %3, align 8
%52 = load i32, ptr %7, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds i8, ptr %51, i64 %53
%55 = load i8, ptr %54, align 1
%56 = load ptr, ptr %4, align 8
%57 = load i32, ptr %7, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds i8, ptr %56, i64 %58
store i8 %55, ptr %59, align 1
br label %60
60: ; preds = %50
%61 = load i32, ptr %7, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %7, align 4
%63 = load i32, ptr %7, align 4
%64 = load i32, ptr %6, align 4
%65 = icmp slt i32 %63, %64
br i1 %65, label %50, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %60
br label %66
66: ; preds = %._crit_edge, %46
%67 = load ptr, ptr %3, align 8
%68 = call i32 @free(ptr noundef %67)
%69 = load ptr, ptr %4, align 8
store ptr %69, ptr %3, align 8
br label %70
70: ; preds = %66, %24
br label %71
71: ; preds = %70
%72 = load ptr, ptr %2, align 8
%73 = call i32 @fgetc(ptr noundef %72)
store i32 %73, ptr %5, align 4
%74 = load i32, ptr @EOF, align 4
%75 = icmp ne i32 %73, %74
br i1 %75, label %24, label %76, !llvm.loop !9
76: ; preds = %71
%77 = load ptr, ptr %3, align 8
%78 = load i32, ptr %6, align 4
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds i8, ptr %77, i64 %79
store i8 0, ptr %80, align 1
%81 = load i32, ptr %6, align 4
%82 = add nsw i32 %81, 1
%83 = sext i32 %82 to i64
%84 = call ptr @calloc(i64 noundef %83, i32 noundef 1)
store ptr %84, ptr %4, align 8
%85 = load ptr, ptr %4, align 8
%86 = icmp eq ptr %85, null
br i1 %86, label %87, label %91
87: ; preds = %76
%88 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 257)
%89 = load i32, ptr @EXIT_FAILURE, align 4
%90 = call i32 @exit(i32 noundef %89) #3
unreachable
91: ; preds = %76
store i32 0, ptr %7, align 4
%92 = load i32, ptr %7, align 4
%93 = load i32, ptr %6, align 4
%94 = add nsw i32 %93, 1
%95 = icmp slt i32 %92, %94
br i1 %95, label %.lr.ph2, label %113
.lr.ph2: ; preds = %91
br label %96
96: ; preds = %.lr.ph2, %106
%97 = load ptr, ptr %3, align 8
%98 = load i32, ptr %7, align 4
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds i8, ptr %97, i64 %99
%101 = load i8, ptr %100, align 1
%102 = load ptr, ptr %4, align 8
%103 = load i32, ptr %7, align 4
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds i8, ptr %102, i64 %104
store i8 %101, ptr %105, align 1
br label %106
106: ; preds = %96
%107 = load i32, ptr %7, align 4
%108 = add nsw i32 %107, 1
store i32 %108, ptr %7, align 4
%109 = load i32, ptr %7, align 4
%110 = load i32, ptr %6, align 4
%111 = add nsw i32 %110, 1
%112 = icmp slt i32 %109, %111
br i1 %112, label %96, label %._crit_edge3, !llvm.loop !10
._crit_edge3: ; preds = %106
br label %113
113: ; preds = %._crit_edge3, %91
%114 = load ptr, ptr %3, align 8
%115 = call i32 @free(ptr noundef %114)
%116 = load ptr, ptr %4, align 8
ret ptr %116
}
declare i32 @fgetc(ptr noundef) #1
declare i64 @isspace(i32 noundef) #1
declare ptr @calloc(i64 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpapkmkh7m.c'
source_filename = "/tmp/tmpapkmkh7m.c"
target datalayout = "e-m:e-p270: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 @spg_get_symmetry(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, i32 noundef %6, double noundef %7) #0 {
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
%16 = alloca double, align 8
store ptr %0, ptr %9, align 8
store ptr %1, ptr %10, align 8
store i32 %2, ptr %11, align 4
store ptr %3, ptr %12, align 8
store ptr %4, ptr %13, align 8
store ptr %5, ptr %14, align 8
store i32 %6, ptr %15, align 4
store double %7, ptr %16, align 8
%17 = load ptr, ptr %9, align 8
%18 = load ptr, ptr %10, align 8
%19 = load i32, ptr %11, align 4
%20 = load ptr, ptr %12, align 8
%21 = load ptr, ptr %13, align 8
%22 = load ptr, ptr %14, align 8
%23 = load i32, ptr %15, align 4
%24 = load double, ptr %16, align 8
%25 = call i32 @get_symmetry_from_dataset(ptr noundef %17, ptr noundef %18, i32 noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22, i32 noundef %23, double noundef %24, double noundef -1.000000e+00)
ret i32 %25
}
declare i32 @get_symmetry_from_dataset(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpapkmkh7m.c"
target datalayout = "e-m:e-p270: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 @spg_get_symmetry(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, i32 noundef %6, double noundef %7) #0 {
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
%16 = alloca double, align 8
store ptr %0, ptr %9, align 8
store ptr %1, ptr %10, align 8
store i32 %2, ptr %11, align 4
store ptr %3, ptr %12, align 8
store ptr %4, ptr %13, align 8
store ptr %5, ptr %14, align 8
store i32 %6, ptr %15, align 4
store double %7, ptr %16, align 8
%17 = load ptr, ptr %9, align 8
%18 = load ptr, ptr %10, align 8
%19 = load i32, ptr %11, align 4
%20 = load ptr, ptr %12, align 8
%21 = load ptr, ptr %13, align 8
%22 = load ptr, ptr %14, align 8
%23 = load i32, ptr %15, align 4
%24 = load double, ptr %16, align 8
%25 = call i32 @get_symmetry_from_dataset(ptr noundef %17, ptr noundef %18, i32 noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22, i32 noundef %23, double noundef %24, double noundef -1.000000e+00)
ret i32 %25
}
declare i32 @get_symmetry_from_dataset(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpf068ytpz.c'
source_filename = "/tmp/tmpf068ytpz.c"
target datalayout = "e-m:e-p270: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/tmpf068ytpz.c"
target datalayout = "e-m:e-p270: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/tmpsjt2b_3n.c'
source_filename = "/tmp/tmpsjt2b_3n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@MAP_ANONYMOUS = dso_local global i32 0, align 4
@MAP_FAILED = dso_local global ptr null, align 8
@MAP_PRIVATE = dso_local global i32 0, align 4
@PROT_EXEC = dso_local global i32 0, align 4
@PROT_READ = dso_local global i32 0, align 4
@PROT_WRITE = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsjt2b_3n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@MAP_ANONYMOUS = dso_local global i32 0, align 4
@MAP_FAILED = dso_local global ptr null, align 8
@MAP_PRIVATE = dso_local global i32 0, align 4
@PROT_EXEC = dso_local global i32 0, align 4
@PROT_READ = dso_local global i32 0, align 4
@PROT_WRITE = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpggea3mn9.c'
source_filename = "/tmp/tmpggea3mn9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"signal: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @handle_sigpipe(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/tmpggea3mn9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"signal: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @handle_sigpipe(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/tmpufafiy1d.c'
source_filename = "/tmp/tmpufafiy1d.c"
target datalayout = "e-m:e-p270: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 @test83(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @_mm_unpacklo_pi32(i32 noundef %5, i32 noundef %6)
ret i32 %7
}
declare i32 @_mm_unpacklo_pi32(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/tmpufafiy1d.c"
target datalayout = "e-m:e-p270: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 @test83(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @_mm_unpacklo_pi32(i32 noundef %5, i32 noundef %6)
ret i32 %7
}
declare i32 @_mm_unpacklo_pi32(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/tmpoxhwk1hs.c'
source_filename = "/tmp/tmpoxhwk1hs.c"
target datalayout = "e-m:e-p270: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 @p9p_write(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, i32 noundef %4) #0 {
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca i32, align 4
%12 = alloca i64, align 8
%13 = alloca i32, align 4
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 i32 %4, ptr %11, align 4
%14 = load ptr, ptr %7, align 8
%15 = load ptr, ptr %8, align 8
%16 = load ptr, ptr %9, align 8
%17 = load i64, ptr %10, align 8
%18 = load i32, ptr %11, align 4
%19 = call i64 @p9p_write_send(ptr noundef %14, ptr noundef %15, ptr noundef %16, i64 noundef %17, i32 noundef %18, ptr noundef %13)
store i64 %19, ptr %12, align 8
%20 = load i64, ptr %12, align 8
%21 = icmp ne i64 %20, 0
br i1 %21, label %22, label %24
22: ; preds = %5
%23 = load i64, ptr %12, align 8
store i64 %23, ptr %6, align 8
br label %28
24: ; preds = %5
%25 = load ptr, ptr %7, align 8
%26 = load i32, ptr %13, align 4
%27 = call i64 @p9p_write_wait(ptr noundef %25, i32 noundef %26)
store i64 %27, ptr %6, align 8
br label %28
28: ; preds = %24, %22
%29 = load i64, ptr %6, align 8
ret i64 %29
}
declare i64 @p9p_write_send(ptr noundef, ptr noundef, ptr noundef, i64 noundef, i32 noundef, ptr noundef) #1
declare i64 @p9p_write_wait(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/tmpoxhwk1hs.c"
target datalayout = "e-m:e-p270: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 @p9p_write(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, i32 noundef %4) #0 {
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca i32, align 4
%12 = alloca i64, align 8
%13 = alloca i32, align 4
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 i32 %4, ptr %11, align 4
%14 = load ptr, ptr %7, align 8
%15 = load ptr, ptr %8, align 8
%16 = load ptr, ptr %9, align 8
%17 = load i64, ptr %10, align 8
%18 = load i32, ptr %11, align 4
%19 = call i64 @p9p_write_send(ptr noundef %14, ptr noundef %15, ptr noundef %16, i64 noundef %17, i32 noundef %18, ptr noundef %13)
store i64 %19, ptr %12, align 8
%20 = load i64, ptr %12, align 8
%21 = icmp ne i64 %20, 0
br i1 %21, label %22, label %24
22: ; preds = %5
%23 = load i64, ptr %12, align 8
store i64 %23, ptr %6, align 8
br label %28
24: ; preds = %5
%25 = load ptr, ptr %7, align 8
%26 = load i32, ptr %13, align 4
%27 = call i64 @p9p_write_wait(ptr noundef %25, i32 noundef %26)
store i64 %27, ptr %6, align 8
br label %28
28: ; preds = %24, %22
%29 = load i64, ptr %6, align 8
ret i64 %29
}
declare i64 @p9p_write_send(ptr noundef, ptr noundef, ptr noundef, i64 noundef, i32 noundef, ptr noundef) #1
declare i64 @p9p_write_wait(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/tmp7z6dbai_.c'
source_filename = "/tmp/tmp7z6dbai_.c"
target datalayout = "e-m:e-p270: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 @swap(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%8 = load ptr, ptr %4, align 8
%9 = load ptr, ptr %5, align 8
%10 = icmp ne ptr %8, %9
br i1 %10, label %11, label %28
11: ; preds = %3
%12 = load i32, ptr %6, align 4
%13 = call ptr @malloc(i32 noundef %12)
store ptr %13, ptr %7, align 8
%14 = load ptr, ptr %7, align 8
%15 = load ptr, ptr %4, align 8
%16 = load i32, ptr %6, align 4
%17 = call i32 @memcpy(ptr noundef %14, ptr noundef %15, i32 noundef %16)
%18 = load ptr, ptr %4, align 8
%19 = load ptr, ptr %5, align 8
%20 = load i32, ptr %6, align 4
%21 = call i32 @memcpy(ptr noundef %18, ptr noundef %19, i32 noundef %20)
%22 = load ptr, ptr %5, align 8
%23 = load ptr, ptr %7, align 8
%24 = load i32, ptr %6, align 4
%25 = call i32 @memcpy(ptr noundef %22, ptr noundef %23, i32 noundef %24)
%26 = load ptr, ptr %7, align 8
%27 = call i32 @free(ptr noundef %26)
br label %28
28: ; preds = %11, %3
ret void
}
declare ptr @malloc(i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7z6dbai_.c"
target datalayout = "e-m:e-p270: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 @swap(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%8 = load ptr, ptr %4, align 8
%9 = load ptr, ptr %5, align 8
%10 = icmp ne ptr %8, %9
br i1 %10, label %11, label %28
11: ; preds = %3
%12 = load i32, ptr %6, align 4
%13 = call ptr @malloc(i32 noundef %12)
store ptr %13, ptr %7, align 8
%14 = load ptr, ptr %7, align 8
%15 = load ptr, ptr %4, align 8
%16 = load i32, ptr %6, align 4
%17 = call i32 @memcpy(ptr noundef %14, ptr noundef %15, i32 noundef %16)
%18 = load ptr, ptr %4, align 8
%19 = load ptr, ptr %5, align 8
%20 = load i32, ptr %6, align 4
%21 = call i32 @memcpy(ptr noundef %18, ptr noundef %19, i32 noundef %20)
%22 = load ptr, ptr %5, align 8
%23 = load ptr, ptr %7, align 8
%24 = load i32, ptr %6, align 4
%25 = call i32 @memcpy(ptr noundef %22, ptr noundef %23, i32 noundef %24)
%26 = load ptr, ptr %7, align 8
%27 = call i32 @free(ptr noundef %26)
br label %28
28: ; preds = %11, %3
ret void
}
declare ptr @malloc(i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5e68nscu.c'
source_filename = "/tmp/tmp5e68nscu.c"
target datalayout = "e-m:e-p270: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/tmp5e68nscu.c"
target datalayout = "e-m:e-p270: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/tmpw32a6xe0.c'
source_filename = "/tmp/tmpw32a6xe0.c"
target datalayout = "e-m:e-p270: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 @blinkQ() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %2
2: ; preds = %5, %0
%3 = load i32, ptr %1, align 4
%4 = icmp ne i32 %3, 2
br i1 %4, label %5, label %9
5: ; preds = %2
%6 = call i32 (...) @blinkdash()
%7 = load i32, ptr %1, align 4
%8 = add nsw i32 %7, 1
store i32 %8, ptr %1, align 4
br label %2, !llvm.loop !6
9: ; preds = %2
%10 = call i32 (...) @blinkdot()
%11 = call i32 (...) @blinkdash()
%12 = call i32 @sleep(double noundef 1.500000e+00)
ret i32 0
}
declare i32 @blinkdash(...) #1
declare i32 @blinkdot(...) #1
declare i32 @sleep(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpw32a6xe0.c"
target datalayout = "e-m:e-p270: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 @blinkQ() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = load i32, ptr %1, align 4
%3 = icmp ne i32 %2, 2
br i1 %3, label %.lr.ph, label %10
.lr.ph: ; preds = %0
br label %4
4: ; preds = %.lr.ph, %4
%5 = call i32 (...) @blinkdash()
%6 = load i32, ptr %1, align 4
%7 = add nsw i32 %6, 1
store i32 %7, ptr %1, align 4
%8 = load i32, ptr %1, align 4
%9 = icmp ne i32 %8, 2
br i1 %9, label %4, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %4
br label %10
10: ; preds = %._crit_edge, %0
%11 = call i32 (...) @blinkdot()
%12 = call i32 (...) @blinkdash()
%13 = call i32 @sleep(double noundef 1.500000e+00)
ret i32 0
}
declare i32 @blinkdash(...) #1
declare i32 @blinkdot(...) #1
declare i32 @sleep(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpz5dstbql.c'
source_filename = "/tmp/tmpz5dstbql.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@UCHAR_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fffi4i1(ptr noundef %0, i64 noundef %1, double noundef %2, double noundef %3, i32 noundef %4, i32 noundef %5, i8 noundef zeroext %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10) #0 {
%12 = alloca ptr, align 8
%13 = alloca i64, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i8, align 1
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
%23 = alloca i64, align 8
%24 = alloca double, align 8
store ptr %0, ptr %12, align 8
store i64 %1, ptr %13, align 8
store double %2, ptr %14, align 8
store double %3, ptr %15, align 8
store i32 %4, ptr %16, align 4
store i32 %5, ptr %17, align 4
store i8 %6, ptr %18, align 1
store ptr %7, ptr %19, align 8
store ptr %8, ptr %20, align 8
store ptr %9, ptr %21, align 8
store ptr %10, ptr %22, align 8
%25 = load i32, ptr %16, align 4
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %122
27: ; preds = %11
%28 = load double, ptr %14, align 8
%29 = fcmp oeq double %28, 1.000000e+00
br i1 %29, label %30, label %78
30: ; preds = %27
%31 = load double, ptr %15, align 8
%32 = fcmp oeq double %31, 0.000000e+00
br i1 %32, label %33, label %78
33: ; preds = %30
store i64 0, ptr %23, align 8
br label %34
34: ; preds = %74, %33
%35 = load i64, ptr %23, align 8
%36 = load i64, ptr %13, align 8
%37 = icmp slt i64 %35, %36
br i1 %37, label %38, label %77
38: ; preds = %34
%39 = load ptr, ptr %12, align 8
%40 = load i64, ptr %23, align 8
%41 = getelementptr inbounds i32, ptr %39, i64 %40
%42 = load i32, ptr %41, align 4
%43 = icmp slt i32 %42, 0
br i1 %43, label %44, label %49
44: ; preds = %38
%45 = load ptr, ptr %22, align 8
store i32 -11, ptr %45, align 4
%46 = load ptr, ptr %21, align 8
%47 = load i64, ptr %23, align 8
%48 = getelementptr inbounds i8, ptr %46, i64 %47
store i8 0, ptr %48, align 1
br label %73
49: ; preds = %38
%50 = load ptr, ptr %12, align 8
%51 = load i64, ptr %23, align 8
%52 = getelementptr inbounds i32, ptr %50, i64 %51
%53 = load i32, ptr %52, align 4
%54 = load i32, ptr @UCHAR_MAX, align 4
%55 = icmp sgt i32 %53, %54
br i1 %55, label %56, label %63
56: ; preds = %49
%57 = load ptr, ptr %22, align 8
store i32 -11, ptr %57, align 4
%58 = load i32, ptr @UCHAR_MAX, align 4
%59 = trunc i32 %58 to i8
%60 = load ptr, ptr %21, align 8
%61 = load i64, ptr %23, align 8
%62 = getelementptr inbounds i8, ptr %60, i64 %61
store i8 %59, ptr %62, align 1
br label %72
63: ; preds = %49
%64 = load ptr, ptr %12, align 8
%65 = load i64, ptr %23, align 8
%66 = getelementptr inbounds i32, ptr %64, i64 %65
%67 = load i32, ptr %66, align 4
%68 = trunc i32 %67 to i8
%69 = load ptr, ptr %21, align 8
%70 = load i64, ptr %23, align 8
%71 = getelementptr inbounds i8, ptr %69, i64 %70
store i8 %68, ptr %71, align 1
br label %72
72: ; preds = %63, %56
br label %73
73: ; preds = %72, %44
br label %74
74: ; preds = %73
%75 = load i64, ptr %23, align 8
%76 = add nsw i64 %75, 1
store i64 %76, ptr %23, align 8
br label %34, !llvm.loop !6
77: ; preds = %34
br label %121
78: ; preds = %30, %27
store i64 0, ptr %23, align 8
br label %79
79: ; preds = %117, %78
%80 = load i64, ptr %23, align 8
%81 = load i64, ptr %13, align 8
%82 = icmp slt i64 %80, %81
br i1 %82, label %83, label %120
83: ; preds = %79
%84 = load ptr, ptr %12, align 8
%85 = load i64, ptr %23, align 8
%86 = getelementptr inbounds i32, ptr %84, i64 %85
%87 = load i32, ptr %86, align 4
%88 = sitofp i32 %87 to double
%89 = load double, ptr %14, align 8
%90 = load double, ptr %15, align 8
%91 = call double @llvm.fmuladd.f64(double %88, double %89, double %90)
store double %91, ptr %24, align 8
%92 = load double, ptr %24, align 8
%93 = fcmp olt double %92, -4.900000e-01
br i1 %93, label %94, label %99
94: ; preds = %83
%95 = load ptr, ptr %22, align 8
store i32 -11, ptr %95, align 4
%96 = load ptr, ptr %21, align 8
%97 = load i64, ptr %23, align 8
%98 = getelementptr inbounds i8, ptr %96, i64 %97
store i8 0, ptr %98, align 1
br label %116
99: ; preds = %83
%100 = load double, ptr %24, align 8
%101 = fcmp ogt double %100, 2.554900e+02
br i1 %101, label %102, label %109
102: ; preds = %99
%103 = load ptr, ptr %22, align 8
store i32 -11, ptr %103, align 4
%104 = load i32, ptr @UCHAR_MAX, align 4
%105 = trunc i32 %104 to i8
%106 = load ptr, ptr %21, align 8
%107 = load i64, ptr %23, align 8
%108 = getelementptr inbounds i8, ptr %106, i64 %107
store i8 %105, ptr %108, align 1
br label %115
109: ; preds = %99
%110 = load double, ptr %24, align 8
%111 = fptoui double %110 to i8
%112 = load ptr, ptr %21, align 8
%113 = load i64, ptr %23, align 8
%114 = getelementptr inbounds i8, ptr %112, i64 %113
store i8 %111, ptr %114, align 1
br label %115
115: ; preds = %109, %102
br label %116
116: ; preds = %115, %94
br label %117
117: ; preds = %116
%118 = load i64, ptr %23, align 8
%119 = add nsw i64 %118, 1
store i64 %119, ptr %23, align 8
br label %79, !llvm.loop !8
120: ; preds = %79
br label %121
121: ; preds = %120, %77
br label %261
122: ; preds = %11
%123 = load double, ptr %14, align 8
%124 = fcmp oeq double %123, 1.000000e+00
br i1 %124, label %125, label %195
125: ; preds = %122
%126 = load double, ptr %15, align 8
%127 = fcmp oeq double %126, 0.000000e+00
br i1 %127, label %128, label %195
128: ; preds = %125
store i64 0, ptr %23, align 8
br label %129
129: ; preds = %191, %128
%130 = load i64, ptr %23, align 8
%131 = load i64, ptr %13, align 8
%132 = icmp slt i64 %130, %131
br i1 %132, label %133, label %194
133: ; preds = %129
%134 = load ptr, ptr %12, align 8
%135 = load i64, ptr %23, align 8
%136 = getelementptr inbounds i32, ptr %134, i64 %135
%137 = load i32, ptr %136, align 4
%138 = load i32, ptr %17, align 4
%139 = icmp eq i32 %137, %138
br i1 %139, label %140, label %154
140: ; preds = %133
%141 = load ptr, ptr %20, align 8
store i32 1, ptr %141, align 4
%142 = load i32, ptr %16, align 4
%143 = icmp eq i32 %142, 1
br i1 %143, label %144, label %149
144: ; preds = %140
%145 = load i8, ptr %18, align 1
%146 = load ptr, ptr %21, align 8
%147 = load i64, ptr %23, align 8
%148 = getelementptr inbounds i8, ptr %146, i64 %147
store i8 %145, ptr %148, align 1
br label %153
149: ; preds = %140
%150 = load ptr, ptr %19, align 8
%151 = load i64, ptr %23, align 8
%152 = getelementptr inbounds i8, ptr %150, i64 %151
store i8 1, ptr %152, align 1
br label %153
153: ; preds = %149, %144
br label %190
154: ; preds = %133
%155 = load ptr, ptr %12, align 8
%156 = load i64, ptr %23, align 8
%157 = getelementptr inbounds i32, ptr %155, i64 %156
%158 = load i32, ptr %157, align 4
%159 = icmp slt i32 %158, 0
br i1 %159, label %160, label %165
160: ; preds = %154
%161 = load ptr, ptr %22, align 8
store i32 -11, ptr %161, align 4
%162 = load ptr, ptr %21, align 8
%163 = load i64, ptr %23, align 8
%164 = getelementptr inbounds i8, ptr %162, i64 %163
store i8 0, ptr %164, align 1
br label %189
165: ; preds = %154
%166 = load ptr, ptr %12, align 8
%167 = load i64, ptr %23, align 8
%168 = getelementptr inbounds i32, ptr %166, i64 %167
%169 = load i32, ptr %168, align 4
%170 = load i32, ptr @UCHAR_MAX, align 4
%171 = icmp sgt i32 %169, %170
br i1 %171, label %172, label %179
172: ; preds = %165
%173 = load ptr, ptr %22, align 8
store i32 -11, ptr %173, align 4
%174 = load i32, ptr @UCHAR_MAX, align 4
%175 = trunc i32 %174 to i8
%176 = load ptr, ptr %21, align 8
%177 = load i64, ptr %23, align 8
%178 = getelementptr inbounds i8, ptr %176, i64 %177
store i8 %175, ptr %178, align 1
br label %188
179: ; preds = %165
%180 = load ptr, ptr %12, align 8
%181 = load i64, ptr %23, align 8
%182 = getelementptr inbounds i32, ptr %180, i64 %181
%183 = load i32, ptr %182, align 4
%184 = trunc i32 %183 to i8
%185 = load ptr, ptr %21, align 8
%186 = load i64, ptr %23, align 8
%187 = getelementptr inbounds i8, ptr %185, i64 %186
store i8 %184, ptr %187, align 1
br label %188
188: ; preds = %179, %172
br label %189
189: ; preds = %188, %160
br label %190
190: ; preds = %189, %153
br label %191
191: ; preds = %190
%192 = load i64, ptr %23, align 8
%193 = add nsw i64 %192, 1
store i64 %193, ptr %23, align 8
br label %129, !llvm.loop !9
194: ; preds = %129
br label %260
195: ; preds = %125, %122
store i64 0, ptr %23, align 8
br label %196
196: ; preds = %256, %195
%197 = load i64, ptr %23, align 8
%198 = load i64, ptr %13, align 8
%199 = icmp slt i64 %197, %198
br i1 %199, label %200, label %259
200: ; preds = %196
%201 = load ptr, ptr %12, align 8
%202 = load i64, ptr %23, align 8
%203 = getelementptr inbounds i32, ptr %201, i64 %202
%204 = load i32, ptr %203, align 4
%205 = load i32, ptr %17, align 4
%206 = icmp eq i32 %204, %205
br i1 %206, label %207, label %221
207: ; preds = %200
%208 = load ptr, ptr %20, align 8
store i32 1, ptr %208, align 4
%209 = load i32, ptr %16, align 4
%210 = icmp eq i32 %209, 1
br i1 %210, label %211, label %216
211: ; preds = %207
%212 = load i8, ptr %18, align 1
%213 = load ptr, ptr %21, align 8
%214 = load i64, ptr %23, align 8
%215 = getelementptr inbounds i8, ptr %213, i64 %214
store i8 %212, ptr %215, align 1
br label %220
216: ; preds = %207
%217 = load ptr, ptr %19, align 8
%218 = load i64, ptr %23, align 8
%219 = getelementptr inbounds i8, ptr %217, i64 %218
store i8 1, ptr %219, align 1
br label %220
220: ; preds = %216, %211
br label %255
221: ; preds = %200
%222 = load ptr, ptr %12, align 8
%223 = load i64, ptr %23, align 8
%224 = getelementptr inbounds i32, ptr %222, i64 %223
%225 = load i32, ptr %224, align 4
%226 = sitofp i32 %225 to double
%227 = load double, ptr %14, align 8
%228 = load double, ptr %15, align 8
%229 = call double @llvm.fmuladd.f64(double %226, double %227, double %228)
store double %229, ptr %24, align 8
%230 = load double, ptr %24, align 8
%231 = fcmp olt double %230, -4.900000e-01
br i1 %231, label %232, label %237
232: ; preds = %221
%233 = load ptr, ptr %22, align 8
store i32 -11, ptr %233, align 4
%234 = load ptr, ptr %21, align 8
%235 = load i64, ptr %23, align 8
%236 = getelementptr inbounds i8, ptr %234, i64 %235
store i8 0, ptr %236, align 1
br label %254
237: ; preds = %221
%238 = load double, ptr %24, align 8
%239 = fcmp ogt double %238, 2.554900e+02
br i1 %239, label %240, label %247
240: ; preds = %237
%241 = load ptr, ptr %22, align 8
store i32 -11, ptr %241, align 4
%242 = load i32, ptr @UCHAR_MAX, align 4
%243 = trunc i32 %242 to i8
%244 = load ptr, ptr %21, align 8
%245 = load i64, ptr %23, align 8
%246 = getelementptr inbounds i8, ptr %244, i64 %245
store i8 %243, ptr %246, align 1
br label %253
247: ; preds = %237
%248 = load double, ptr %24, align 8
%249 = fptoui double %248 to i8
%250 = load ptr, ptr %21, align 8
%251 = load i64, ptr %23, align 8
%252 = getelementptr inbounds i8, ptr %250, i64 %251
store i8 %249, ptr %252, align 1
br label %253
253: ; preds = %247, %240
br label %254
254: ; preds = %253, %232
br label %255
255: ; preds = %254, %220
br label %256
256: ; preds = %255
%257 = load i64, ptr %23, align 8
%258 = add nsw i64 %257, 1
store i64 %258, ptr %23, align 8
br label %196, !llvm.loop !10
259: ; preds = %196
br label %260
260: ; preds = %259, %194
br label %261
261: ; preds = %260, %121
%262 = load ptr, ptr %22, align 8
%263 = load i32, ptr %262, align 4
ret i32 %263
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, 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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpz5dstbql.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@UCHAR_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fffi4i1(ptr noundef %0, i64 noundef %1, double noundef %2, double noundef %3, i32 noundef %4, i32 noundef %5, i8 noundef zeroext %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10) #0 {
%12 = alloca ptr, align 8
%13 = alloca i64, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i8, align 1
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
%23 = alloca i64, align 8
%24 = alloca double, align 8
store ptr %0, ptr %12, align 8
store i64 %1, ptr %13, align 8
store double %2, ptr %14, align 8
store double %3, ptr %15, align 8
store i32 %4, ptr %16, align 4
store i32 %5, ptr %17, align 4
store i8 %6, ptr %18, align 1
store ptr %7, ptr %19, align 8
store ptr %8, ptr %20, align 8
store ptr %9, ptr %21, align 8
store ptr %10, ptr %22, align 8
%25 = load i32, ptr %16, align 4
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %126
27: ; preds = %11
%28 = load double, ptr %14, align 8
%29 = fcmp oeq double %28, 1.000000e+00
br i1 %29, label %30, label %80
30: ; preds = %27
%31 = load double, ptr %15, align 8
%32 = fcmp oeq double %31, 0.000000e+00
br i1 %32, label %33, label %80
33: ; preds = %30
store i64 0, ptr %23, align 8
%34 = load i64, ptr %23, align 8
%35 = load i64, ptr %13, align 8
%36 = icmp slt i64 %34, %35
br i1 %36, label %.lr.ph8, label %79
.lr.ph8: ; preds = %33
br label %37
37: ; preds = %.lr.ph8, %73
%38 = load ptr, ptr %12, align 8
%39 = load i64, ptr %23, align 8
%40 = getelementptr inbounds i32, ptr %38, i64 %39
%41 = load i32, ptr %40, align 4
%42 = icmp slt i32 %41, 0
br i1 %42, label %43, label %48
43: ; preds = %37
%44 = load ptr, ptr %22, align 8
store i32 -11, ptr %44, align 4
%45 = load ptr, ptr %21, align 8
%46 = load i64, ptr %23, align 8
%47 = getelementptr inbounds i8, ptr %45, i64 %46
store i8 0, ptr %47, align 1
br label %72
48: ; preds = %37
%49 = load ptr, ptr %12, align 8
%50 = load i64, ptr %23, align 8
%51 = getelementptr inbounds i32, ptr %49, i64 %50
%52 = load i32, ptr %51, align 4
%53 = load i32, ptr @UCHAR_MAX, align 4
%54 = icmp sgt i32 %52, %53
br i1 %54, label %55, label %62
55: ; preds = %48
%56 = load ptr, ptr %22, align 8
store i32 -11, ptr %56, align 4
%57 = load i32, ptr @UCHAR_MAX, align 4
%58 = trunc i32 %57 to i8
%59 = load ptr, ptr %21, align 8
%60 = load i64, ptr %23, align 8
%61 = getelementptr inbounds i8, ptr %59, i64 %60
store i8 %58, ptr %61, align 1
br label %71
62: ; preds = %48
%63 = load ptr, ptr %12, align 8
%64 = load i64, ptr %23, align 8
%65 = getelementptr inbounds i32, ptr %63, i64 %64
%66 = load i32, ptr %65, align 4
%67 = trunc i32 %66 to i8
%68 = load ptr, ptr %21, align 8
%69 = load i64, ptr %23, align 8
%70 = getelementptr inbounds i8, ptr %68, i64 %69
store i8 %67, ptr %70, align 1
br label %71
71: ; preds = %62, %55
br label %72
72: ; preds = %71, %43
br label %73
73: ; preds = %72
%74 = load i64, ptr %23, align 8
%75 = add nsw i64 %74, 1
store i64 %75, ptr %23, align 8
%76 = load i64, ptr %23, align 8
%77 = load i64, ptr %13, align 8
%78 = icmp slt i64 %76, %77
br i1 %78, label %37, label %._crit_edge9, !llvm.loop !6
._crit_edge9: ; preds = %73
br label %79
79: ; preds = %._crit_edge9, %33
br label %125
80: ; preds = %30, %27
store i64 0, ptr %23, align 8
%81 = load i64, ptr %23, align 8
%82 = load i64, ptr %13, align 8
%83 = icmp slt i64 %81, %82
br i1 %83, label %.lr.ph5, label %124
.lr.ph5: ; preds = %80
br label %84
84: ; preds = %.lr.ph5, %118
%85 = load ptr, ptr %12, align 8
%86 = load i64, ptr %23, align 8
%87 = getelementptr inbounds i32, ptr %85, i64 %86
%88 = load i32, ptr %87, align 4
%89 = sitofp i32 %88 to double
%90 = load double, ptr %14, align 8
%91 = load double, ptr %15, align 8
%92 = call double @llvm.fmuladd.f64(double %89, double %90, double %91)
store double %92, ptr %24, align 8
%93 = load double, ptr %24, align 8
%94 = fcmp olt double %93, -4.900000e-01
br i1 %94, label %95, label %100
95: ; preds = %84
%96 = load ptr, ptr %22, align 8
store i32 -11, ptr %96, align 4
%97 = load ptr, ptr %21, align 8
%98 = load i64, ptr %23, align 8
%99 = getelementptr inbounds i8, ptr %97, i64 %98
store i8 0, ptr %99, align 1
br label %117
100: ; preds = %84
%101 = load double, ptr %24, align 8
%102 = fcmp ogt double %101, 2.554900e+02
br i1 %102, label %103, label %110
103: ; preds = %100
%104 = load ptr, ptr %22, align 8
store i32 -11, ptr %104, align 4
%105 = load i32, ptr @UCHAR_MAX, align 4
%106 = trunc i32 %105 to i8
%107 = load ptr, ptr %21, align 8
%108 = load i64, ptr %23, align 8
%109 = getelementptr inbounds i8, ptr %107, i64 %108
store i8 %106, ptr %109, align 1
br label %116
110: ; preds = %100
%111 = load double, ptr %24, align 8
%112 = fptoui double %111 to i8
%113 = load ptr, ptr %21, align 8
%114 = load i64, ptr %23, align 8
%115 = getelementptr inbounds i8, ptr %113, i64 %114
store i8 %112, ptr %115, align 1
br label %116
116: ; preds = %110, %103
br label %117
117: ; preds = %116, %95
br label %118
118: ; preds = %117
%119 = load i64, ptr %23, align 8
%120 = add nsw i64 %119, 1
store i64 %120, ptr %23, align 8
%121 = load i64, ptr %23, align 8
%122 = load i64, ptr %13, align 8
%123 = icmp slt i64 %121, %122
br i1 %123, label %84, label %._crit_edge6, !llvm.loop !8
._crit_edge6: ; preds = %118
br label %124
124: ; preds = %._crit_edge6, %80
br label %125
125: ; preds = %124, %79
br label %269
126: ; preds = %11
%127 = load double, ptr %14, align 8
%128 = fcmp oeq double %127, 1.000000e+00
br i1 %128, label %129, label %201
129: ; preds = %126
%130 = load double, ptr %15, align 8
%131 = fcmp oeq double %130, 0.000000e+00
br i1 %131, label %132, label %201
132: ; preds = %129
store i64 0, ptr %23, align 8
%133 = load i64, ptr %23, align 8
%134 = load i64, ptr %13, align 8
%135 = icmp slt i64 %133, %134
br i1 %135, label %.lr.ph2, label %200
.lr.ph2: ; preds = %132
br label %136
136: ; preds = %.lr.ph2, %194
%137 = load ptr, ptr %12, align 8
%138 = load i64, ptr %23, align 8
%139 = getelementptr inbounds i32, ptr %137, i64 %138
%140 = load i32, ptr %139, align 4
%141 = load i32, ptr %17, align 4
%142 = icmp eq i32 %140, %141
br i1 %142, label %143, label %157
143: ; preds = %136
%144 = load ptr, ptr %20, align 8
store i32 1, ptr %144, align 4
%145 = load i32, ptr %16, align 4
%146 = icmp eq i32 %145, 1
br i1 %146, label %147, label %152
147: ; preds = %143
%148 = load i8, ptr %18, align 1
%149 = load ptr, ptr %21, align 8
%150 = load i64, ptr %23, align 8
%151 = getelementptr inbounds i8, ptr %149, i64 %150
store i8 %148, ptr %151, align 1
br label %156
152: ; preds = %143
%153 = load ptr, ptr %19, align 8
%154 = load i64, ptr %23, align 8
%155 = getelementptr inbounds i8, ptr %153, i64 %154
store i8 1, ptr %155, align 1
br label %156
156: ; preds = %152, %147
br label %193
157: ; preds = %136
%158 = load ptr, ptr %12, align 8
%159 = load i64, ptr %23, align 8
%160 = getelementptr inbounds i32, ptr %158, i64 %159
%161 = load i32, ptr %160, align 4
%162 = icmp slt i32 %161, 0
br i1 %162, label %163, label %168
163: ; preds = %157
%164 = load ptr, ptr %22, align 8
store i32 -11, ptr %164, align 4
%165 = load ptr, ptr %21, align 8
%166 = load i64, ptr %23, align 8
%167 = getelementptr inbounds i8, ptr %165, i64 %166
store i8 0, ptr %167, align 1
br label %192
168: ; preds = %157
%169 = load ptr, ptr %12, align 8
%170 = load i64, ptr %23, align 8
%171 = getelementptr inbounds i32, ptr %169, i64 %170
%172 = load i32, ptr %171, align 4
%173 = load i32, ptr @UCHAR_MAX, align 4
%174 = icmp sgt i32 %172, %173
br i1 %174, label %175, label %182
175: ; preds = %168
%176 = load ptr, ptr %22, align 8
store i32 -11, ptr %176, align 4
%177 = load i32, ptr @UCHAR_MAX, align 4
%178 = trunc i32 %177 to i8
%179 = load ptr, ptr %21, align 8
%180 = load i64, ptr %23, align 8
%181 = getelementptr inbounds i8, ptr %179, i64 %180
store i8 %178, ptr %181, align 1
br label %191
182: ; preds = %168
%183 = load ptr, ptr %12, align 8
%184 = load i64, ptr %23, align 8
%185 = getelementptr inbounds i32, ptr %183, i64 %184
%186 = load i32, ptr %185, align 4
%187 = trunc i32 %186 to i8
%188 = load ptr, ptr %21, align 8
%189 = load i64, ptr %23, align 8
%190 = getelementptr inbounds i8, ptr %188, i64 %189
store i8 %187, ptr %190, align 1
br label %191
191: ; preds = %182, %175
br label %192
192: ; preds = %191, %163
br label %193
193: ; preds = %192, %156
br label %194
194: ; preds = %193
%195 = load i64, ptr %23, align 8
%196 = add nsw i64 %195, 1
store i64 %196, ptr %23, align 8
%197 = load i64, ptr %23, align 8
%198 = load i64, ptr %13, align 8
%199 = icmp slt i64 %197, %198
br i1 %199, label %136, label %._crit_edge3, !llvm.loop !9
._crit_edge3: ; preds = %194
br label %200
200: ; preds = %._crit_edge3, %132
br label %268
201: ; preds = %129, %126
store i64 0, ptr %23, align 8
%202 = load i64, ptr %23, align 8
%203 = load i64, ptr %13, align 8
%204 = icmp slt i64 %202, %203
br i1 %204, label %.lr.ph, label %267
.lr.ph: ; preds = %201
br label %205
205: ; preds = %.lr.ph, %261
%206 = load ptr, ptr %12, align 8
%207 = load i64, ptr %23, align 8
%208 = getelementptr inbounds i32, ptr %206, i64 %207
%209 = load i32, ptr %208, align 4
%210 = load i32, ptr %17, align 4
%211 = icmp eq i32 %209, %210
br i1 %211, label %212, label %226
212: ; preds = %205
%213 = load ptr, ptr %20, align 8
store i32 1, ptr %213, align 4
%214 = load i32, ptr %16, align 4
%215 = icmp eq i32 %214, 1
br i1 %215, label %216, label %221
216: ; preds = %212
%217 = load i8, ptr %18, align 1
%218 = load ptr, ptr %21, align 8
%219 = load i64, ptr %23, align 8
%220 = getelementptr inbounds i8, ptr %218, i64 %219
store i8 %217, ptr %220, align 1
br label %225
221: ; preds = %212
%222 = load ptr, ptr %19, align 8
%223 = load i64, ptr %23, align 8
%224 = getelementptr inbounds i8, ptr %222, i64 %223
store i8 1, ptr %224, align 1
br label %225
225: ; preds = %221, %216
br label %260
226: ; preds = %205
%227 = load ptr, ptr %12, align 8
%228 = load i64, ptr %23, align 8
%229 = getelementptr inbounds i32, ptr %227, i64 %228
%230 = load i32, ptr %229, align 4
%231 = sitofp i32 %230 to double
%232 = load double, ptr %14, align 8
%233 = load double, ptr %15, align 8
%234 = call double @llvm.fmuladd.f64(double %231, double %232, double %233)
store double %234, ptr %24, align 8
%235 = load double, ptr %24, align 8
%236 = fcmp olt double %235, -4.900000e-01
br i1 %236, label %237, label %242
237: ; preds = %226
%238 = load ptr, ptr %22, align 8
store i32 -11, ptr %238, align 4
%239 = load ptr, ptr %21, align 8
%240 = load i64, ptr %23, align 8
%241 = getelementptr inbounds i8, ptr %239, i64 %240
store i8 0, ptr %241, align 1
br label %259
242: ; preds = %226
%243 = load double, ptr %24, align 8
%244 = fcmp ogt double %243, 2.554900e+02
br i1 %244, label %245, label %252
245: ; preds = %242
%246 = load ptr, ptr %22, align 8
store i32 -11, ptr %246, align 4
%247 = load i32, ptr @UCHAR_MAX, align 4
%248 = trunc i32 %247 to i8
%249 = load ptr, ptr %21, align 8
%250 = load i64, ptr %23, align 8
%251 = getelementptr inbounds i8, ptr %249, i64 %250
store i8 %248, ptr %251, align 1
br label %258
252: ; preds = %242
%253 = load double, ptr %24, align 8
%254 = fptoui double %253 to i8
%255 = load ptr, ptr %21, align 8
%256 = load i64, ptr %23, align 8
%257 = getelementptr inbounds i8, ptr %255, i64 %256
store i8 %254, ptr %257, align 1
br label %258
258: ; preds = %252, %245
br label %259
259: ; preds = %258, %237
br label %260
260: ; preds = %259, %225
br label %261
261: ; preds = %260
%262 = load i64, ptr %23, align 8
%263 = add nsw i64 %262, 1
store i64 %263, ptr %23, align 8
%264 = load i64, ptr %23, align 8
%265 = load i64, ptr %13, align 8
%266 = icmp slt i64 %264, %265
br i1 %266, label %205, label %._crit_edge, !llvm.loop !10
._crit_edge: ; preds = %261
br label %267
267: ; preds = %._crit_edge, %201
br label %268
268: ; preds = %267, %200
br label %269
269: ; preds = %268, %125
%270 = load ptr, ptr %22, align 8
%271 = load i32, ptr %270, align 4
ret i32 %271
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, 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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmp2avb_9eb.c'
source_filename = "/tmp/tmp2avb_9eb.c"
target datalayout = "e-m:e-p270: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 @mailimf_domain_literal_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @free(ptr noundef %3)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2avb_9eb.c"
target datalayout = "e-m:e-p270: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 @mailimf_domain_literal_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @free(ptr noundef %3)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpl9un1nqg.c'
source_filename = "/tmp/tmpl9un1nqg.c"
target datalayout = "e-m:e-p270: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 @sw_span_test(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 @sw_span(i32 noundef 0)
%4 = call i32 @assert_int_equal(i32 noundef %3, i32 noundef 134480385)
ret void
}
declare i32 @assert_int_equal(i32 noundef, i32 noundef) #1
declare i32 @sw_span(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/tmpl9un1nqg.c"
target datalayout = "e-m:e-p270: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 @sw_span_test(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 @sw_span(i32 noundef 0)
%4 = call i32 @assert_int_equal(i32 noundef %3, i32 noundef 134480385)
ret void
}
declare i32 @assert_int_equal(i32 noundef, i32 noundef) #1
declare i32 @sw_span(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/tmpdit7ajy_.c'
source_filename = "/tmp/tmpdit7ajy_.c"
target datalayout = "e-m:e-p270: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 @vec_del(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 double, ptr %3, i64 -1
%5 = call i32 @free(ptr noundef %4)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdit7ajy_.c"
target datalayout = "e-m:e-p270: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 @vec_del(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 double, ptr %3, i64 -1
%5 = call i32 @free(ptr noundef %4)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbzj8s4jt.c'
source_filename = "/tmp/tmpbzj8s4jt.c"
target datalayout = "e-m:e-p270: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 @_strdup(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i64 @strlen(ptr noundef %4)
%6 = add nsw i64 %5, 1
%7 = call ptr @calloc(i64 noundef %6, i32 noundef 1)
store ptr %7, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = load ptr, ptr %2, align 8
%10 = call i32 @strcpy(ptr noundef %8, ptr noundef %9)
%11 = load ptr, ptr %3, align 8
ret ptr %11
}
declare ptr @calloc(i64 noundef, i32 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbzj8s4jt.c"
target datalayout = "e-m:e-p270: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 @_strdup(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i64 @strlen(ptr noundef %4)
%6 = add nsw i64 %5, 1
%7 = call ptr @calloc(i64 noundef %6, i32 noundef 1)
store ptr %7, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = load ptr, ptr %2, align 8
%10 = call i32 @strcpy(ptr noundef %8, ptr noundef %9)
%11 = load ptr, ptr %3, align 8
ret ptr %11
}
declare ptr @calloc(i64 noundef, i32 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmbarmva0.c'
source_filename = "/tmp/tmpmbarmva0.c"
target datalayout = "e-m:e-p270: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/tmpmbarmva0.c"
target datalayout = "e-m:e-p270: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/tmpqlodz_et.c'
source_filename = "/tmp/tmpqlodz_et.c"
target datalayout = "e-m:e-p270: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 @__tiger__size(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 @strlen(ptr noundef %3)
ret i32 %4
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqlodz_et.c"
target datalayout = "e-m:e-p270: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 @__tiger__size(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 @strlen(ptr noundef %3)
ret i32 %4
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkja_wmlx.c'
source_filename = "/tmp/tmpkja_wmlx.c"
target datalayout = "e-m:e-p270: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 @my_free(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 @my_free_buddy(ptr noundef %3)
ret void
}
declare i32 @my_free_buddy(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/tmpkja_wmlx.c"
target datalayout = "e-m:e-p270: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 @my_free(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 @my_free_buddy(ptr noundef %3)
ret void
}
declare i32 @my_free_buddy(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/tmp7gv1csap.c'
source_filename = "/tmp/tmp7gv1csap.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [28 x i8] c"ust degeri giriniz(buyuk): \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"alt degeri giriniz(kucuk): \00", align 1
@.str.3 = private unnamed_addr constant [26 x i8] c"Al lan kombinasyon = %.f\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 [30 x i32], align 16
%9 = alloca [30 x i32], align 16
%10 = alloca [30 x i32], align 16
%11 = alloca float, align 4
%12 = alloca float, align 4
%13 = alloca float, align 4
%14 = alloca float, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
store float 1.000000e+00, ptr %11, align 4
store float 1.000000e+00, ptr %12, align 4
store float 1.000000e+00, ptr %13, align 4
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%16 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5)
%17 = load i32, ptr %5, align 4
store i32 %17, ptr %2, align 4
br label %18
18: ; preds = %26, %0
%19 = load i32, ptr %2, align 4
%20 = icmp sgt i32 %19, 0
br i1 %20, label %21, label %29
21: ; preds = %18
%22 = load i32, ptr %2, align 4
%23 = load i32, ptr %2, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [30 x i32], ptr %8, i64 0, i64 %24
store i32 %22, ptr %25, align 4
br label %26
26: ; preds = %21
%27 = load i32, ptr %2, align 4
%28 = add nsw i32 %27, -1
store i32 %28, ptr %2, align 4
br label %18, !llvm.loop !6
29: ; preds = %18
store i32 0, ptr %2, align 4
br label %30
30: ; preds = %43, %29
%31 = load i32, ptr %2, align 4
%32 = load i32, ptr %5, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %34, label %46
34: ; preds = %30
%35 = load i32, ptr %2, align 4
%36 = add nsw i32 %35, 1
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds [30 x i32], ptr %8, i64 0, i64 %37
%39 = load i32, ptr %38, align 4
%40 = sitofp i32 %39 to float
%41 = load float, ptr %11, align 4
%42 = fmul float %41, %40
store float %42, ptr %11, align 4
br label %43
43: ; preds = %34
%44 = load i32, ptr %2, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %2, align 4
br label %30, !llvm.loop !8
46: ; preds = %30
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%48 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6)
%49 = load i32, ptr %6, align 4
store i32 %49, ptr %3, align 4
br label %50
50: ; preds = %58, %46
%51 = load i32, ptr %3, align 4
%52 = icmp sgt i32 %51, 0
br i1 %52, label %53, label %61
53: ; preds = %50
%54 = load i32, ptr %3, align 4
%55 = load i32, ptr %3, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds [30 x i32], ptr %9, i64 0, i64 %56
store i32 %54, ptr %57, align 4
br label %58
58: ; preds = %53
%59 = load i32, ptr %3, align 4
%60 = add nsw i32 %59, -1
store i32 %60, ptr %3, align 4
br label %50, !llvm.loop !9
61: ; preds = %50
store i32 0, ptr %3, align 4
br label %62
62: ; preds = %75, %61
%63 = load i32, ptr %3, align 4
%64 = load i32, ptr %6, align 4
%65 = icmp slt i32 %63, %64
br i1 %65, label %66, label %78
66: ; preds = %62
%67 = load i32, ptr %3, align 4
%68 = add nsw i32 %67, 1
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds [30 x i32], ptr %9, i64 0, i64 %69
%71 = load i32, ptr %70, align 4
%72 = sitofp i32 %71 to float
%73 = load float, ptr %12, align 4
%74 = fmul float %73, %72
store float %74, ptr %12, align 4
br label %75
75: ; preds = %66
%76 = load i32, ptr %3, align 4
%77 = add nsw i32 %76, 1
store i32 %77, ptr %3, align 4
br label %62, !llvm.loop !10
78: ; preds = %62
%79 = load i32, ptr %5, align 4
%80 = load i32, ptr %6, align 4
%81 = sub nsw i32 %79, %80
store i32 %81, ptr %7, align 4
%82 = load i32, ptr %7, align 4
store i32 %82, ptr %4, align 4
br label %83
83: ; preds = %91, %78
%84 = load i32, ptr %4, align 4
%85 = icmp sgt i32 %84, 0
br i1 %85, label %86, label %94
86: ; preds = %83
%87 = load i32, ptr %4, align 4
%88 = load i32, ptr %4, align 4
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds [30 x i32], ptr %10, i64 0, i64 %89
store i32 %87, ptr %90, align 4
br label %91
91: ; preds = %86
%92 = load i32, ptr %4, align 4
%93 = add nsw i32 %92, -1
store i32 %93, ptr %4, align 4
br label %83, !llvm.loop !11
94: ; preds = %83
store i32 0, ptr %4, align 4
br label %95
95: ; preds = %108, %94
%96 = load i32, ptr %4, align 4
%97 = load i32, ptr %7, align 4
%98 = icmp slt i32 %96, %97
br i1 %98, label %99, label %111
99: ; preds = %95
%100 = load i32, ptr %4, align 4
%101 = add nsw i32 %100, 1
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds [30 x i32], ptr %10, i64 0, i64 %102
%104 = load i32, ptr %103, align 4
%105 = sitofp i32 %104 to float
%106 = load float, ptr %13, align 4
%107 = fmul float %106, %105
store float %107, ptr %13, align 4
br label %108
108: ; preds = %99
%109 = load i32, ptr %4, align 4
%110 = add nsw i32 %109, 1
store i32 %110, ptr %4, align 4
br label %95, !llvm.loop !12
111: ; preds = %95
%112 = load float, ptr %11, align 4
%113 = load float, ptr %12, align 4
%114 = load float, ptr %13, align 4
%115 = fmul float %113, %114
%116 = fdiv float %112, %115
store float %116, ptr %14, align 4
%117 = load float, ptr %14, align 4
%118 = fpext float %117 to double
%119 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %118)
%120 = load i32, ptr %1, align 4
ret i32 %120
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7gv1csap.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [28 x i8] c"ust degeri giriniz(buyuk): \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"alt degeri giriniz(kucuk): \00", align 1
@.str.3 = private unnamed_addr constant [26 x i8] c"Al lan kombinasyon = %.f\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 [30 x i32], align 16
%9 = alloca [30 x i32], align 16
%10 = alloca [30 x i32], align 16
%11 = alloca float, align 4
%12 = alloca float, align 4
%13 = alloca float, align 4
%14 = alloca float, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
store float 1.000000e+00, ptr %11, align 4
store float 1.000000e+00, ptr %12, align 4
store float 1.000000e+00, ptr %13, align 4
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%16 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5)
%17 = load i32, ptr %5, align 4
store i32 %17, ptr %2, align 4
%18 = load i32, ptr %2, align 4
%19 = icmp sgt i32 %18, 0
br i1 %19, label %.lr.ph, label %30
.lr.ph: ; preds = %0
br label %20
20: ; preds = %.lr.ph, %25
%21 = load i32, ptr %2, align 4
%22 = load i32, ptr %2, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [30 x i32], ptr %8, i64 0, i64 %23
store i32 %21, ptr %24, align 4
br label %25
25: ; preds = %20
%26 = load i32, ptr %2, align 4
%27 = add nsw i32 %26, -1
store i32 %27, ptr %2, align 4
%28 = load i32, ptr %2, align 4
%29 = icmp sgt i32 %28, 0
br i1 %29, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %30
30: ; preds = %._crit_edge, %0
store i32 0, ptr %2, align 4
%31 = load i32, ptr %2, align 4
%32 = load i32, ptr %5, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %.lr.ph2, label %49
.lr.ph2: ; preds = %30
br label %34
34: ; preds = %.lr.ph2, %43
%35 = load i32, ptr %2, align 4
%36 = add nsw i32 %35, 1
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds [30 x i32], ptr %8, i64 0, i64 %37
%39 = load i32, ptr %38, align 4
%40 = sitofp i32 %39 to float
%41 = load float, ptr %11, align 4
%42 = fmul float %41, %40
store float %42, ptr %11, align 4
br label %43
43: ; preds = %34
%44 = load i32, ptr %2, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %2, align 4
%46 = load i32, ptr %2, align 4
%47 = load i32, ptr %5, align 4
%48 = icmp slt i32 %46, %47
br i1 %48, label %34, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %43
br label %49
49: ; preds = %._crit_edge3, %30
%50 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%51 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6)
%52 = load i32, ptr %6, align 4
store i32 %52, ptr %3, align 4
%53 = load i32, ptr %3, align 4
%54 = icmp sgt i32 %53, 0
br i1 %54, label %.lr.ph5, label %65
.lr.ph5: ; preds = %49
br label %55
55: ; preds = %.lr.ph5, %60
%56 = load i32, ptr %3, align 4
%57 = load i32, ptr %3, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds [30 x i32], ptr %9, i64 0, i64 %58
store i32 %56, ptr %59, align 4
br label %60
60: ; preds = %55
%61 = load i32, ptr %3, align 4
%62 = add nsw i32 %61, -1
store i32 %62, ptr %3, align 4
%63 = load i32, ptr %3, align 4
%64 = icmp sgt i32 %63, 0
br i1 %64, label %55, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %60
br label %65
65: ; preds = %._crit_edge6, %49
store i32 0, ptr %3, align 4
%66 = load i32, ptr %3, align 4
%67 = load i32, ptr %6, align 4
%68 = icmp slt i32 %66, %67
br i1 %68, label %.lr.ph8, label %84
.lr.ph8: ; preds = %65
br label %69
69: ; preds = %.lr.ph8, %78
%70 = load i32, ptr %3, align 4
%71 = add nsw i32 %70, 1
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds [30 x i32], ptr %9, i64 0, i64 %72
%74 = load i32, ptr %73, align 4
%75 = sitofp i32 %74 to float
%76 = load float, ptr %12, align 4
%77 = fmul float %76, %75
store float %77, ptr %12, align 4
br label %78
78: ; preds = %69
%79 = load i32, ptr %3, align 4
%80 = add nsw i32 %79, 1
store i32 %80, ptr %3, align 4
%81 = load i32, ptr %3, align 4
%82 = load i32, ptr %6, align 4
%83 = icmp slt i32 %81, %82
br i1 %83, label %69, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %78
br label %84
84: ; preds = %._crit_edge9, %65
%85 = load i32, ptr %5, align 4
%86 = load i32, ptr %6, align 4
%87 = sub nsw i32 %85, %86
store i32 %87, ptr %7, align 4
%88 = load i32, ptr %7, align 4
store i32 %88, ptr %4, align 4
%89 = load i32, ptr %4, align 4
%90 = icmp sgt i32 %89, 0
br i1 %90, label %.lr.ph11, label %101
.lr.ph11: ; preds = %84
br label %91
91: ; preds = %.lr.ph11, %96
%92 = load i32, ptr %4, align 4
%93 = load i32, ptr %4, align 4
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds [30 x i32], ptr %10, i64 0, i64 %94
store i32 %92, ptr %95, align 4
br label %96
96: ; preds = %91
%97 = load i32, ptr %4, align 4
%98 = add nsw i32 %97, -1
store i32 %98, ptr %4, align 4
%99 = load i32, ptr %4, align 4
%100 = icmp sgt i32 %99, 0
br i1 %100, label %91, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %96
br label %101
101: ; preds = %._crit_edge12, %84
store i32 0, ptr %4, align 4
%102 = load i32, ptr %4, align 4
%103 = load i32, ptr %7, align 4
%104 = icmp slt i32 %102, %103
br i1 %104, label %.lr.ph14, label %120
.lr.ph14: ; preds = %101
br label %105
105: ; preds = %.lr.ph14, %114
%106 = load i32, ptr %4, align 4
%107 = add nsw i32 %106, 1
%108 = sext i32 %107 to i64
%109 = getelementptr inbounds [30 x i32], ptr %10, i64 0, i64 %108
%110 = load i32, ptr %109, align 4
%111 = sitofp i32 %110 to float
%112 = load float, ptr %13, align 4
%113 = fmul float %112, %111
store float %113, ptr %13, align 4
br label %114
114: ; preds = %105
%115 = load i32, ptr %4, align 4
%116 = add nsw i32 %115, 1
store i32 %116, ptr %4, align 4
%117 = load i32, ptr %4, align 4
%118 = load i32, ptr %7, align 4
%119 = icmp slt i32 %117, %118
br i1 %119, label %105, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %114
br label %120
120: ; preds = %._crit_edge15, %101
%121 = load float, ptr %11, align 4
%122 = load float, ptr %12, align 4
%123 = load float, ptr %13, align 4
%124 = fmul float %122, %123
%125 = fdiv float %121, %124
store float %125, ptr %14, align 4
%126 = load float, ptr %14, align 4
%127 = fpext float %126 to double
%128 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %127)
%129 = load i32, ptr %1, align 4
ret i32 %129
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
|
; ModuleID = '/tmp/tmp2iv1rybv.c'
source_filename = "/tmp/tmp2iv1rybv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"S\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"N\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [64 x i8], align 16
%3 = alloca [64 x i8], align 16
store i32 0, ptr %1, align 4
%4 = getelementptr inbounds [64 x i8], ptr %2, i64 0, i64 0
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %4)
%6 = getelementptr inbounds [64 x i8], ptr %3, i64 0, i64 0
%7 = getelementptr inbounds [64 x i8], ptr %2, i64 0, i64 0
%8 = call i32 @copiarVogais(ptr noundef %6, ptr noundef %7)
%9 = getelementptr inbounds [64 x i8], ptr %3, i64 0, i64 0
%10 = call i64 @ehPalindroma(ptr noundef %9)
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %0
%13 = call i32 @printf(ptr noundef @.str.1)
br label %16
14: ; preds = %0
%15 = call i32 @printf(ptr noundef @.str.2)
br label %16
16: ; preds = %14, %12
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @copiarVogais(ptr noundef, ptr noundef) #1
declare i64 @ehPalindroma(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2iv1rybv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"S\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"N\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [64 x i8], align 16
%3 = alloca [64 x i8], align 16
store i32 0, ptr %1, align 4
%4 = getelementptr inbounds [64 x i8], ptr %2, i64 0, i64 0
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %4)
%6 = getelementptr inbounds [64 x i8], ptr %3, i64 0, i64 0
%7 = getelementptr inbounds [64 x i8], ptr %2, i64 0, i64 0
%8 = call i32 @copiarVogais(ptr noundef %6, ptr noundef %7)
%9 = getelementptr inbounds [64 x i8], ptr %3, i64 0, i64 0
%10 = call i64 @ehPalindroma(ptr noundef %9)
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %0
%13 = call i32 @printf(ptr noundef @.str.1)
br label %16
14: ; preds = %0
%15 = call i32 @printf(ptr noundef @.str.2)
br label %16
16: ; preds = %14, %12
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @copiarVogais(ptr noundef, ptr noundef) #1
declare i64 @ehPalindroma(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmosmpfmm.c'
source_filename = "/tmp/tmpmosmpfmm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"12\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 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
store ptr @.str.1, ptr %3, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i64 @strcmp(ptr noundef %4, ptr noundef @.str)
%6 = icmp ne i64 %5, 0
br i1 %6, label %11, label %7
7: ; preds = %0
%8 = load ptr, ptr %3, align 8
%9 = call i64 @strcmp(ptr noundef %8, ptr noundef @.str.1)
%10 = icmp ne i64 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %7, %0
%12 = call i32 (...) @abort() #3
unreachable
13: ; preds = %7
ret i32 0
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmosmpfmm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"12\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 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
store ptr @.str.1, ptr %3, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i64 @strcmp(ptr noundef %4, ptr noundef @.str)
%6 = icmp ne i64 %5, 0
br i1 %6, label %11, label %7
7: ; preds = %0
%8 = load ptr, ptr %3, align 8
%9 = call i64 @strcmp(ptr noundef %8, ptr noundef @.str.1)
%10 = icmp ne i64 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %7, %0
%12 = call i32 (...) @abort() #3
unreachable
13: ; preds = %7
ret i32 0
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqvll756c.c'
source_filename = "/tmp/tmpqvll756c.c"
target datalayout = "e-m:e-p270: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/tmpqvll756c.c"
target datalayout = "e-m:e-p270: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/tmpdow3yab1.c'
source_filename = "/tmp/tmpdow3yab1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdow3yab1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0n7qokp2.c'
source_filename = "/tmp/tmp0n7qokp2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Usage: test1 <topology-file> <node-address>\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 = load i32, ptr %4, align 4
%7 = icmp ne i32 %6, 3
br i1 %7, label %8, label %11
8: ; preds = %2
%9 = call i32 @printf(ptr noundef @.str)
%10 = call i32 @exit(i32 noundef 1) #3
unreachable
11: ; preds = %2
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 1
%14 = load ptr, ptr %13, align 8
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 2
%17 = load ptr, ptr %16, align 8
%18 = call i32 @atoi(ptr noundef %17)
%19 = call i32 @sahn_init(ptr noundef %14, i32 noundef %18, ptr noundef null)
%20 = call i32 (...) @sahn_cleanup()
ret i32 0
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @sahn_init(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @sahn_cleanup(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmp0n7qokp2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Usage: test1 <topology-file> <node-address>\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 = load i32, ptr %4, align 4
%7 = icmp ne i32 %6, 3
br i1 %7, label %8, label %11
8: ; preds = %2
%9 = call i32 @printf(ptr noundef @.str)
%10 = call i32 @exit(i32 noundef 1) #3
unreachable
11: ; preds = %2
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 1
%14 = load ptr, ptr %13, align 8
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 2
%17 = load ptr, ptr %16, align 8
%18 = call i32 @atoi(ptr noundef %17)
%19 = call i32 @sahn_init(ptr noundef %14, i32 noundef %18, ptr noundef null)
%20 = call i32 (...) @sahn_cleanup()
ret i32 0
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @sahn_init(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @sahn_cleanup(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmph7u53bh6.c'
source_filename = "/tmp/tmph7u53bh6.c"
target datalayout = "e-m:e-p270: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
@F_SETFL = dso_local global i32 0, align 4
@O_NONBLOCK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @prepare_getch_nb() #0 {
%1 = alloca i32, align 4
%2 = call i32 (...) @prepare_getch()
store i32 %2, ptr %1, align 4
%3 = load i32, ptr @STDIN_FILENO, align 4
%4 = load i32, ptr @F_SETFL, align 4
%5 = load i32, ptr @O_NONBLOCK, align 4
%6 = call i32 @fcntl(i32 noundef %3, i32 noundef %4, i32 noundef %5)
%7 = load i32, ptr %1, align 4
ret i32 %7
}
declare i32 @prepare_getch(...) #1
declare i32 @fcntl(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/tmph7u53bh6.c"
target datalayout = "e-m:e-p270: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
@F_SETFL = dso_local global i32 0, align 4
@O_NONBLOCK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @prepare_getch_nb() #0 {
%1 = alloca i32, align 4
%2 = call i32 (...) @prepare_getch()
store i32 %2, ptr %1, align 4
%3 = load i32, ptr @STDIN_FILENO, align 4
%4 = load i32, ptr @F_SETFL, align 4
%5 = load i32, ptr @O_NONBLOCK, align 4
%6 = call i32 @fcntl(i32 noundef %3, i32 noundef %4, i32 noundef %5)
%7 = load i32, ptr %1, align 4
ret i32 %7
}
declare i32 @prepare_getch(...) #1
declare i32 @fcntl(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/tmps2jd6mia.c'
source_filename = "/tmp/tmps2jd6mia.c"
target datalayout = "e-m:e-p270: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/tmps2jd6mia.c"
target datalayout = "e-m:e-p270: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/tmp840k3ex8.c'
source_filename = "/tmp/tmp840k3ex8.c"
target datalayout = "e-m:e-p270: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 @delete_column(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
store i32 0, ptr %9, align 4
br label %11
11: ; preds = %62, %4
%12 = load i32, ptr %9, align 4
%13 = load i32, ptr %6, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %15, label %65
15: ; preds = %11
%16 = load i32, ptr %8, align 4
store i32 %16, ptr %10, align 4
br label %17
17: ; preds = %42, %15
%18 = load i32, ptr %10, align 4
%19 = load ptr, ptr %7, align 8
%20 = load i32, ptr %19, align 4
%21 = sub nsw i32 %20, 1
%22 = icmp slt i32 %18, %21
br i1 %22, label %23, label %45
23: ; preds = %17
%24 = load ptr, ptr %5, align 8
%25 = load i32, ptr %9, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds ptr, ptr %24, i64 %26
%28 = load ptr, ptr %27, align 8
%29 = load i32, ptr %10, align 4
%30 = add nsw i32 %29, 1
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i32, ptr %28, i64 %31
%33 = load i32, ptr %32, align 4
%34 = load ptr, ptr %5, align 8
%35 = load i32, ptr %9, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds ptr, ptr %34, i64 %36
%38 = load ptr, ptr %37, align 8
%39 = load i32, ptr %10, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i32, ptr %38, i64 %40
store i32 %33, ptr %41, align 4
br label %42
42: ; preds = %23
%43 = load i32, ptr %10, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %10, align 4
br label %17, !llvm.loop !6
45: ; preds = %17
%46 = load ptr, ptr %5, align 8
%47 = load i32, ptr %9, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds ptr, ptr %46, i64 %48
%50 = load ptr, ptr %49, align 8
%51 = load ptr, ptr %7, align 8
%52 = load i32, ptr %51, align 4
%53 = sub nsw i32 %52, 1
%54 = sext i32 %53 to i64
%55 = mul i64 %54, 4
%56 = trunc i64 %55 to i32
%57 = call ptr @realloc(ptr noundef %50, i32 noundef %56)
%58 = load ptr, ptr %5, align 8
%59 = load i32, ptr %9, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds ptr, ptr %58, i64 %60
store ptr %57, ptr %61, align 8
br label %62
62: ; preds = %45
%63 = load i32, ptr %9, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %9, align 4
br label %11, !llvm.loop !8
65: ; preds = %11
%66 = load ptr, ptr %7, align 8
%67 = load i32, ptr %66, align 4
%68 = sub nsw i32 %67, 1
%69 = load ptr, ptr %7, align 8
store i32 %68, ptr %69, align 4
ret void
}
declare ptr @realloc(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp840k3ex8.c"
target datalayout = "e-m:e-p270: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 @delete_column(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
store i32 0, ptr %9, align 4
%11 = load i32, ptr %9, align 4
%12 = load i32, ptr %6, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %.lr.ph2, label %71
.lr.ph2: ; preds = %4
br label %14
14: ; preds = %.lr.ph2, %65
%15 = load i32, ptr %8, align 4
store i32 %15, ptr %10, align 4
%16 = load i32, ptr %10, align 4
%17 = load ptr, ptr %7, align 8
%18 = load i32, ptr %17, align 4
%19 = sub nsw i32 %18, 1
%20 = icmp slt i32 %16, %19
br i1 %20, label %.lr.ph, label %48
.lr.ph: ; preds = %14
br label %21
21: ; preds = %.lr.ph, %40
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr %9, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds ptr, ptr %22, i64 %24
%26 = load ptr, ptr %25, align 8
%27 = load i32, ptr %10, align 4
%28 = add nsw i32 %27, 1
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i32, ptr %26, i64 %29
%31 = load i32, ptr %30, align 4
%32 = load ptr, ptr %5, align 8
%33 = load i32, ptr %9, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds ptr, ptr %32, i64 %34
%36 = load ptr, ptr %35, align 8
%37 = load i32, ptr %10, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i32, ptr %36, i64 %38
store i32 %31, ptr %39, align 4
br label %40
40: ; preds = %21
%41 = load i32, ptr %10, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %10, align 4
%43 = load i32, ptr %10, align 4
%44 = load ptr, ptr %7, align 8
%45 = load i32, ptr %44, align 4
%46 = sub nsw i32 %45, 1
%47 = icmp slt i32 %43, %46
br i1 %47, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %40
br label %48
48: ; preds = %._crit_edge, %14
%49 = load ptr, ptr %5, align 8
%50 = load i32, ptr %9, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds ptr, ptr %49, i64 %51
%53 = load ptr, ptr %52, align 8
%54 = load ptr, ptr %7, align 8
%55 = load i32, ptr %54, align 4
%56 = sub nsw i32 %55, 1
%57 = sext i32 %56 to i64
%58 = mul i64 %57, 4
%59 = trunc i64 %58 to i32
%60 = call ptr @realloc(ptr noundef %53, i32 noundef %59)
%61 = load ptr, ptr %5, align 8
%62 = load i32, ptr %9, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds ptr, ptr %61, i64 %63
store ptr %60, ptr %64, align 8
br label %65
65: ; preds = %48
%66 = load i32, ptr %9, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %9, align 4
%68 = load i32, ptr %9, align 4
%69 = load i32, ptr %6, align 4
%70 = icmp slt i32 %68, %69
br i1 %70, label %14, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %65
br label %71
71: ; preds = %._crit_edge3, %4
%72 = load ptr, ptr %7, align 8
%73 = load i32, ptr %72, align 4
%74 = sub nsw i32 %73, 1
%75 = load ptr, ptr %7, align 8
store i32 %74, ptr %75, align 4
ret void
}
declare ptr @realloc(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp1p6k81ew.c'
source_filename = "/tmp/tmp1p6k81ew.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @WSQ_AddOp_1_1(i32 noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca [128 x i8], align 16
%12 = alloca [128 x i8], align 16
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
store ptr %4, ptr %10, align 8
%13 = getelementptr inbounds [128 x i8], ptr %11, i64 0, i64 0
%14 = load i32, ptr %8, align 4
%15 = call i32 @sprintf(ptr noundef %13, ptr noundef @.str, i32 noundef %14)
%16 = getelementptr inbounds [128 x i8], ptr %12, i64 0, i64 0
%17 = load i32, ptr %9, align 4
%18 = call i32 @sprintf(ptr noundef %16, ptr noundef @.str, i32 noundef %17)
%19 = load i32, ptr %6, align 4
%20 = load ptr, ptr %7, align 8
%21 = getelementptr inbounds [128 x i8], ptr %11, i64 0, i64 0
%22 = getelementptr inbounds [128 x i8], ptr %12, i64 0, i64 0
%23 = load ptr, ptr %10, align 8
%24 = call i32 @WSQ_AddOp(i32 noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23)
ret void
}
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @WSQ_AddOp(i32 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/tmp1p6k81ew.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @WSQ_AddOp_1_1(i32 noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca [128 x i8], align 16
%12 = alloca [128 x i8], align 16
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
store ptr %4, ptr %10, align 8
%13 = getelementptr inbounds [128 x i8], ptr %11, i64 0, i64 0
%14 = load i32, ptr %8, align 4
%15 = call i32 @sprintf(ptr noundef %13, ptr noundef @.str, i32 noundef %14)
%16 = getelementptr inbounds [128 x i8], ptr %12, i64 0, i64 0
%17 = load i32, ptr %9, align 4
%18 = call i32 @sprintf(ptr noundef %16, ptr noundef @.str, i32 noundef %17)
%19 = load i32, ptr %6, align 4
%20 = load ptr, ptr %7, align 8
%21 = getelementptr inbounds [128 x i8], ptr %11, i64 0, i64 0
%22 = getelementptr inbounds [128 x i8], ptr %12, i64 0, i64 0
%23 = load ptr, ptr %10, align 8
%24 = call i32 @WSQ_AddOp(i32 noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23)
ret void
}
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @WSQ_AddOp(i32 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/tmpzp7lsly1.c'
source_filename = "/tmp/tmpzp7lsly1.c"
target datalayout = "e-m:e-p270: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/tmpzp7lsly1.c"
target datalayout = "e-m:e-p270: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/tmp4ttt4jzt.c'
source_filename = "/tmp/tmp4ttt4jzt.c"
target datalayout = "e-m:e-p270: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/tmp4ttt4jzt.c"
target datalayout = "e-m:e-p270: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/tmp0rbtu043.c'
source_filename = "/tmp/tmp0rbtu043.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@WNOHANG = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"Child %d terminated.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sigchld_handler(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i64, align 8
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
br label %5
5: ; preds = %9, %1
%6 = load i32, ptr @WNOHANG, align 4
%7 = call i64 @waitpid(i32 noundef -1, ptr noundef %4, i32 noundef %6)
store i64 %7, ptr %3, align 8
%8 = icmp sgt i64 %7, 0
br i1 %8, label %9, label %13
9: ; preds = %5
%10 = load i64, ptr %3, align 8
%11 = trunc i64 %10 to i32
%12 = call i32 @printf(ptr noundef @.str, i32 noundef %11)
br label %5, !llvm.loop !6
13: ; preds = %5
ret void
}
declare i64 @waitpid(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0rbtu043.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@WNOHANG = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"Child %d terminated.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sigchld_handler(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i64, align 8
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%5 = load i32, ptr @WNOHANG, align 4
%6 = call i64 @waitpid(i32 noundef -1, ptr noundef %4, i32 noundef %5)
store i64 %6, ptr %3, align 8
%7 = icmp sgt i64 %6, 0
br i1 %7, label %.lr.ph, label %15
.lr.ph: ; preds = %1
br label %8
8: ; preds = %.lr.ph, %8
%9 = load i64, ptr %3, align 8
%10 = trunc i64 %9 to i32
%11 = call i32 @printf(ptr noundef @.str, i32 noundef %10)
%12 = load i32, ptr @WNOHANG, align 4
%13 = call i64 @waitpid(i32 noundef -1, ptr noundef %4, i32 noundef %12)
store i64 %13, ptr %3, align 8
%14 = icmp sgt i64 %13, 0
br i1 %14, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %8
br label %15
15: ; preds = %._crit_edge, %1
ret void
}
declare i64 @waitpid(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp9rzby6u4.c'
source_filename = "/tmp/tmp9rzby6u4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"/\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @create_file_name(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%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 = icmp ne ptr %6, null
br i1 %7, label %8, label %11
8: ; preds = %2
%9 = load ptr, ptr %5, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %12, label %11
11: ; preds = %8, %2
store ptr null, ptr %3, align 8
br label %37
12: ; preds = %8
%13 = load ptr, ptr %5, align 8
%14 = call i64 @strchr(ptr noundef %13, i8 noundef signext 47)
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %19
16: ; preds = %12
%17 = load ptr, ptr %5, align 8
%18 = call ptr @mhs_strdup(ptr noundef %17)
store ptr %18, ptr %3, align 8
br label %37
19: ; preds = %12
%20 = load ptr, ptr %4, align 8
%21 = load ptr, ptr %4, align 8
%22 = call i32 @strlen(ptr noundef %21)
%23 = sub nsw i32 %22, 1
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %20, i64 %24
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp eq i32 %27, 47
br i1 %28, label %29, label %33
29: ; preds = %19
%30 = load ptr, ptr %4, align 8
%31 = load ptr, ptr %5, align 8
%32 = call ptr (ptr, ptr, ptr, ...) @mhs_strconcat(ptr noundef %30, ptr noundef %31, ptr noundef null)
store ptr %32, ptr %3, align 8
br label %37
33: ; preds = %19
%34 = load ptr, ptr %4, align 8
%35 = load ptr, ptr %5, align 8
%36 = call ptr (ptr, ptr, ptr, ...) @mhs_strconcat(ptr noundef %34, ptr noundef @.str, ptr noundef %35, ptr noundef null)
store ptr %36, ptr %3, align 8
br label %37
37: ; preds = %33, %29, %16, %11
%38 = load ptr, ptr %3, align 8
ret ptr %38
}
declare i64 @strchr(ptr noundef, i8 noundef signext) #1
declare ptr @mhs_strdup(ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare ptr @mhs_strconcat(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/tmp9rzby6u4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"/\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @create_file_name(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%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 = icmp ne ptr %6, null
br i1 %7, label %8, label %11
8: ; preds = %2
%9 = load ptr, ptr %5, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %12, label %11
11: ; preds = %8, %2
store ptr null, ptr %3, align 8
br label %37
12: ; preds = %8
%13 = load ptr, ptr %5, align 8
%14 = call i64 @strchr(ptr noundef %13, i8 noundef signext 47)
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %19
16: ; preds = %12
%17 = load ptr, ptr %5, align 8
%18 = call ptr @mhs_strdup(ptr noundef %17)
store ptr %18, ptr %3, align 8
br label %37
19: ; preds = %12
%20 = load ptr, ptr %4, align 8
%21 = load ptr, ptr %4, align 8
%22 = call i32 @strlen(ptr noundef %21)
%23 = sub nsw i32 %22, 1
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %20, i64 %24
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp eq i32 %27, 47
br i1 %28, label %29, label %33
29: ; preds = %19
%30 = load ptr, ptr %4, align 8
%31 = load ptr, ptr %5, align 8
%32 = call ptr (ptr, ptr, ptr, ...) @mhs_strconcat(ptr noundef %30, ptr noundef %31, ptr noundef null)
store ptr %32, ptr %3, align 8
br label %37
33: ; preds = %19
%34 = load ptr, ptr %4, align 8
%35 = load ptr, ptr %5, align 8
%36 = call ptr (ptr, ptr, ptr, ...) @mhs_strconcat(ptr noundef %34, ptr noundef @.str, ptr noundef %35, ptr noundef null)
store ptr %36, ptr %3, align 8
br label %37
37: ; preds = %33, %29, %16, %11
%38 = load ptr, ptr %3, align 8
ret ptr %38
}
declare i64 @strchr(ptr noundef, i8 noundef signext) #1
declare ptr @mhs_strdup(ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare ptr @mhs_strconcat(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/tmpzk97vlnh.c'
source_filename = "/tmp/tmpzk97vlnh.c"
target datalayout = "e-m:e-p270: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 @celcon_read_quaddobl_random_coefficient_system() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = load ptr, ptr %1, align 8
%6 = load ptr, ptr %2, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @_ada_use_c2phc4c(i32 noundef 471, ptr noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef 0)
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %3, align 4
ret i32 %9
}
declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzk97vlnh.c"
target datalayout = "e-m:e-p270: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 @celcon_read_quaddobl_random_coefficient_system() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = load ptr, ptr %1, align 8
%6 = load ptr, ptr %2, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @_ada_use_c2phc4c(i32 noundef 471, ptr noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef 0)
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %3, align 4
ret i32 %9
}
declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_i3fszpc.c'
source_filename = "/tmp/tmp_i3fszpc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @distance(float noundef %0, float noundef %1, float noundef %2, float noundef %3, float noundef %4, float noundef %5) #0 {
%7 = alloca float, align 4
%8 = alloca float, align 4
%9 = alloca float, align 4
%10 = alloca float, align 4
%11 = alloca float, align 4
%12 = alloca float, align 4
%13 = alloca float, align 4
%14 = alloca float, align 4
%15 = alloca float, align 4
store float %0, ptr %7, align 4
store float %1, ptr %8, align 4
store float %2, ptr %9, align 4
store float %3, ptr %10, align 4
store float %4, ptr %11, align 4
store float %5, ptr %12, align 4
%16 = load float, ptr %7, align 4
%17 = load float, ptr %10, align 4
%18 = fsub float %16, %17
store float %18, ptr %13, align 4
%19 = load float, ptr %8, align 4
%20 = load float, ptr %11, align 4
%21 = fsub float %19, %20
store float %21, ptr %14, align 4
%22 = load float, ptr %9, align 4
%23 = load float, ptr %12, align 4
%24 = fsub float %22, %23
store float %24, ptr %15, align 4
%25 = load float, ptr %13, align 4
%26 = load float, ptr %13, align 4
%27 = load float, ptr %14, align 4
%28 = load float, ptr %14, align 4
%29 = fmul float %27, %28
%30 = call float @llvm.fmuladd.f32(float %25, float %26, float %29)
%31 = load float, ptr %15, align 4
%32 = load float, ptr %15, align 4
%33 = call float @llvm.fmuladd.f32(float %31, float %32, float %30)
%34 = call float @sqrt(float noundef %33)
ret float %34
}
declare float @sqrt(float noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_i3fszpc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @distance(float noundef %0, float noundef %1, float noundef %2, float noundef %3, float noundef %4, float noundef %5) #0 {
%7 = alloca float, align 4
%8 = alloca float, align 4
%9 = alloca float, align 4
%10 = alloca float, align 4
%11 = alloca float, align 4
%12 = alloca float, align 4
%13 = alloca float, align 4
%14 = alloca float, align 4
%15 = alloca float, align 4
store float %0, ptr %7, align 4
store float %1, ptr %8, align 4
store float %2, ptr %9, align 4
store float %3, ptr %10, align 4
store float %4, ptr %11, align 4
store float %5, ptr %12, align 4
%16 = load float, ptr %7, align 4
%17 = load float, ptr %10, align 4
%18 = fsub float %16, %17
store float %18, ptr %13, align 4
%19 = load float, ptr %8, align 4
%20 = load float, ptr %11, align 4
%21 = fsub float %19, %20
store float %21, ptr %14, align 4
%22 = load float, ptr %9, align 4
%23 = load float, ptr %12, align 4
%24 = fsub float %22, %23
store float %24, ptr %15, align 4
%25 = load float, ptr %13, align 4
%26 = load float, ptr %13, align 4
%27 = load float, ptr %14, align 4
%28 = load float, ptr %14, align 4
%29 = fmul float %27, %28
%30 = call float @llvm.fmuladd.f32(float %25, float %26, float %29)
%31 = load float, ptr %15, align 4
%32 = load float, ptr %15, align 4
%33 = call float @llvm.fmuladd.f32(float %31, float %32, float %30)
%34 = call float @sqrt(float noundef %33)
ret float %34
}
declare float @sqrt(float noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpff8xsmp_.c'
source_filename = "/tmp/tmpff8xsmp_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"Setting %s to %s\00", align 1
@.str.1 = private unnamed_addr constant [32 x i8] c"echo %s > /proc/sys/net/irda/%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @set_sysctl_param(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [128 x i8], align 16
%6 = alloca [512 x i8], align 16
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = getelementptr inbounds [128 x i8], ptr %5, i64 0, i64 0
%8 = load ptr, ptr %3, align 8
%9 = load ptr, ptr %4, align 8
%10 = call i32 @sprintf(ptr noundef %7, ptr noundef @.str, ptr noundef %8, ptr noundef %9)
%11 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%12 = load ptr, ptr %4, align 8
%13 = load ptr, ptr %3, align 8
%14 = call i32 @sprintf(ptr noundef %11, ptr noundef @.str.1, ptr noundef %12, ptr noundef %13)
%15 = getelementptr inbounds [128 x i8], ptr %5, i64 0, i64 0
%16 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%17 = call i32 @execute(ptr noundef %15, ptr noundef %16)
ret i32 %17
}
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @execute(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/tmpff8xsmp_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"Setting %s to %s\00", align 1
@.str.1 = private unnamed_addr constant [32 x i8] c"echo %s > /proc/sys/net/irda/%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @set_sysctl_param(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [128 x i8], align 16
%6 = alloca [512 x i8], align 16
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = getelementptr inbounds [128 x i8], ptr %5, i64 0, i64 0
%8 = load ptr, ptr %3, align 8
%9 = load ptr, ptr %4, align 8
%10 = call i32 @sprintf(ptr noundef %7, ptr noundef @.str, ptr noundef %8, ptr noundef %9)
%11 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%12 = load ptr, ptr %4, align 8
%13 = load ptr, ptr %3, align 8
%14 = call i32 @sprintf(ptr noundef %11, ptr noundef @.str.1, ptr noundef %12, ptr noundef %13)
%15 = getelementptr inbounds [128 x i8], ptr %5, i64 0, i64 0
%16 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%17 = call i32 @execute(ptr noundef %15, ptr noundef %16)
ret i32 %17
}
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @execute(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/tmp8afn7rj9.c'
source_filename = "/tmp/tmp8afn7rj9.c"
target datalayout = "e-m:e-p270: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 [8 x i8] c"Usage:\0A\00", align 1
@.str.1 = private unnamed_addr constant [72 x i8] c" %s [ -vS ] [ -s START ] [ -e END ] [ -f format ] ( file | device )\0A\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c" %s -h\0A\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.4 = private unnamed_addr constant [13 x i8] c"-v: verbose\0A\00", align 1
@.str.5 = private unnamed_addr constant [50 x i8] c"-S: skip interior of partitions as they're found\0A\00", align 1
@.str.6 = private unnamed_addr constant [65 x i8] c"-s/-e: Start and end blocks for the search (in 512-byte blocks)\0A\00", align 1
@.str.7 = private unnamed_addr constant [35 x i8] c"-f: output format. valid formats:\0A\00", align 1
@.str.8 = private unnamed_addr constant [80 x i8] c" talkative (default): spew enough information to make the partition, and as\0A\00", align 1
@.str.9 = private unnamed_addr constant [60 x i8] c" much as possible if used with -v.\0A\00", align 1
@.str.10 = private unnamed_addr constant [58 x i8] c" bsdlabel: mostly compatible with openbsd's disklabel\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str)
%5 = load i32, ptr @stderr, align 4
%6 = load ptr, ptr %2, align 8
%7 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %5, ptr noundef @.str.1, ptr noundef %6)
%8 = load i32, ptr @stderr, align 4
%9 = load ptr, ptr %2, align 8
%10 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %8, ptr noundef @.str.2, ptr noundef %9)
%11 = load i32, ptr @stderr, align 4
%12 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %11, ptr noundef @.str.3)
%13 = load i32, ptr @stderr, align 4
%14 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %13, ptr noundef @.str.4)
%15 = load i32, ptr @stderr, align 4
%16 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %15, ptr noundef @.str.5)
%17 = load i32, ptr @stderr, align 4
%18 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %17, ptr noundef @.str.6)
%19 = load i32, ptr @stderr, align 4
%20 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %19, ptr noundef @.str.7)
%21 = load i32, ptr @stderr, align 4
%22 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %21, ptr noundef @.str.8)
%23 = load i32, ptr @stderr, align 4
%24 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %23, ptr noundef @.str.9)
%25 = load i32, ptr @stderr, align 4
%26 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %25, ptr noundef @.str.10)
%27 = load i32, ptr @stderr, align 4
%28 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %27, ptr noundef @.str.3)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8afn7rj9.c"
target datalayout = "e-m:e-p270: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 [8 x i8] c"Usage:\0A\00", align 1
@.str.1 = private unnamed_addr constant [72 x i8] c" %s [ -vS ] [ -s START ] [ -e END ] [ -f format ] ( file | device )\0A\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c" %s -h\0A\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.4 = private unnamed_addr constant [13 x i8] c"-v: verbose\0A\00", align 1
@.str.5 = private unnamed_addr constant [50 x i8] c"-S: skip interior of partitions as they're found\0A\00", align 1
@.str.6 = private unnamed_addr constant [65 x i8] c"-s/-e: Start and end blocks for the search (in 512-byte blocks)\0A\00", align 1
@.str.7 = private unnamed_addr constant [35 x i8] c"-f: output format. valid formats:\0A\00", align 1
@.str.8 = private unnamed_addr constant [80 x i8] c" talkative (default): spew enough information to make the partition, and as\0A\00", align 1
@.str.9 = private unnamed_addr constant [60 x i8] c" much as possible if used with -v.\0A\00", align 1
@.str.10 = private unnamed_addr constant [58 x i8] c" bsdlabel: mostly compatible with openbsd's disklabel\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str)
%5 = load i32, ptr @stderr, align 4
%6 = load ptr, ptr %2, align 8
%7 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %5, ptr noundef @.str.1, ptr noundef %6)
%8 = load i32, ptr @stderr, align 4
%9 = load ptr, ptr %2, align 8
%10 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %8, ptr noundef @.str.2, ptr noundef %9)
%11 = load i32, ptr @stderr, align 4
%12 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %11, ptr noundef @.str.3)
%13 = load i32, ptr @stderr, align 4
%14 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %13, ptr noundef @.str.4)
%15 = load i32, ptr @stderr, align 4
%16 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %15, ptr noundef @.str.5)
%17 = load i32, ptr @stderr, align 4
%18 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %17, ptr noundef @.str.6)
%19 = load i32, ptr @stderr, align 4
%20 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %19, ptr noundef @.str.7)
%21 = load i32, ptr @stderr, align 4
%22 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %21, ptr noundef @.str.8)
%23 = load i32, ptr @stderr, align 4
%24 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %23, ptr noundef @.str.9)
%25 = load i32, ptr @stderr, align 4
%26 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %25, ptr noundef @.str.10)
%27 = load i32, ptr @stderr, align 4
%28 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %27, ptr noundef @.str.3)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3eztne9h.c'
source_filename = "/tmp/tmp3eztne9h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @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 0, ptr %3, align 4
br label %4
4: ; preds = %21, %0
%5 = call i32 (...) @getchar()
store i32 %5, ptr %2, align 4
%6 = load i32, ptr @EOF, align 4
%7 = icmp ne i32 %5, %6
br i1 %7, label %8, label %22
8: ; preds = %4
%9 = load i32, ptr %2, align 4
%10 = icmp eq i32 %9, 32
br i1 %10, label %11, label %18
11: ; preds = %8
%12 = load i32, ptr %3, align 4
%13 = icmp ne i32 %12, 0
br i1 %13, label %17, label %14
14: ; preds = %11
%15 = load i32, ptr %2, align 4
%16 = call i32 @putchar(i32 noundef %15)
store i32 1, ptr %3, align 4
br label %17
17: ; preds = %14, %11
br label %21
18: ; preds = %8
%19 = load i32, ptr %2, align 4
%20 = call i32 @putchar(i32 noundef %19)
store i32 0, ptr %3, align 4
br label %21
21: ; preds = %18, %17
br label %4, !llvm.loop !6
22: ; preds = %4
ret i32 0
}
declare i32 @getchar(...) #1
declare i32 @putchar(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/tmp3eztne9h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @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 0, ptr %3, align 4
%4 = call i32 (...) @getchar()
store i32 %4, ptr %2, align 4
%5 = load i32, ptr @EOF, align 4
%6 = icmp ne i32 %4, %5
br i1 %6, label %.lr.ph, label %24
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %20
%8 = load i32, ptr %2, align 4
%9 = icmp eq i32 %8, 32
br i1 %9, label %10, label %17
10: ; preds = %7
%11 = load i32, ptr %3, align 4
%12 = icmp ne i32 %11, 0
br i1 %12, label %16, label %13
13: ; preds = %10
%14 = load i32, ptr %2, align 4
%15 = call i32 @putchar(i32 noundef %14)
store i32 1, ptr %3, align 4
br label %16
16: ; preds = %13, %10
br label %20
17: ; preds = %7
%18 = load i32, ptr %2, align 4
%19 = call i32 @putchar(i32 noundef %18)
store i32 0, ptr %3, align 4
br label %20
20: ; preds = %17, %16
%21 = call i32 (...) @getchar()
store i32 %21, ptr %2, align 4
%22 = load i32, ptr @EOF, align 4
%23 = icmp ne i32 %21, %22
br i1 %23, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %24
24: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @getchar(...) #1
declare i32 @putchar(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/tmpoes0w878.c'
source_filename = "/tmp/tmpoes0w878.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
store i32 0, ptr %1, align 4
%8 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%9 = load i32, ptr %2, align 4
%10 = zext i32 %9 to i64
%11 = call ptr @llvm.stacksave()
store ptr %11, ptr %6, align 8
%12 = alloca i32, i64 %10, align 16
store i64 %10, ptr %7, align 8
store i32 0, ptr %3, align 4
br label %13
13: ; preds = %31, %0
%14 = load i32, ptr %3, align 4
%15 = load i32, ptr %2, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %17, label %34
17: ; preds = %13
br label %18
18: ; preds = %23, %17
%19 = load i32, ptr %3, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i32, ptr %12, i64 %20
%22 = call i32 @scanf(ptr noundef @.str, ptr noundef %21)
br label %23
23: ; preds = %18
%24 = load i32, ptr %3, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i32, ptr %12, i64 %25
%27 = load i32, ptr %26, align 4
%28 = srem i32 %27, 2
%29 = icmp eq i32 %28, 0
br i1 %29, label %18, label %30, !llvm.loop !6
30: ; preds = %23
br label %31
31: ; preds = %30
%32 = load i32, ptr %3, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %3, align 4
br label %13, !llvm.loop !8
34: ; preds = %13
%35 = load i32, ptr %2, align 4
%36 = sub nsw i32 %35, 1
store i32 %36, ptr %5, align 4
store i32 0, ptr %3, align 4
br label %37
37: ; preds = %56, %34
%38 = load i32, ptr %3, align 4
%39 = load i32, ptr %2, align 4
%40 = sdiv i32 %39, 2
%41 = icmp slt i32 %38, %40
br i1 %41, label %42, label %59
42: ; preds = %37
%43 = load i32, ptr %3, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i32, ptr %12, i64 %44
%46 = load i32, ptr %45, align 4
%47 = load i32, ptr %5, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i32, ptr %12, i64 %48
%50 = load i32, ptr %49, align 4
%51 = sub nsw i32 %46, %50
store i32 %51, ptr %4, align 4
%52 = load i32, ptr %4, align 4
%53 = call i32 @printf(ptr noundef @.str.1, i32 noundef %52)
%54 = load i32, ptr %5, align 4
%55 = add nsw i32 %54, -1
store i32 %55, ptr %5, align 4
br label %56
56: ; preds = %42
%57 = load i32, ptr %3, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %3, align 4
br label %37, !llvm.loop !9
59: ; preds = %37
%60 = load i32, ptr %2, align 4
%61 = srem i32 %60, 2
%62 = icmp ne i32 %61, 0
br i1 %62, label %63, label %70
63: ; preds = %59
%64 = load i32, ptr %2, align 4
%65 = sdiv i32 %64, 2
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds i32, ptr %12, i64 %66
%68 = load i32, ptr %67, align 4
%69 = call i32 @printf(ptr noundef @.str.1, i32 noundef %68)
br label %70
70: ; preds = %63, %59
store i32 0, ptr %1, align 4
%71 = load ptr, ptr %6, align 8
call void @llvm.stackrestore(ptr %71)
%72 = load i32, ptr %1, align 4
ret i32 %72
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @printf(ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpoes0w878.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
store i32 0, ptr %1, align 4
%8 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%9 = load i32, ptr %2, align 4
%10 = zext i32 %9 to i64
%11 = call ptr @llvm.stacksave()
store ptr %11, ptr %6, align 8
%12 = alloca i32, i64 %10, align 16
store i64 %10, ptr %7, align 8
store i32 0, ptr %3, align 4
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr %2, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %.lr.ph, label %36
.lr.ph: ; preds = %0
br label %16
16: ; preds = %.lr.ph, %30
br label %17
17: ; preds = %22, %16
%18 = load i32, ptr %3, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i32, ptr %12, i64 %19
%21 = call i32 @scanf(ptr noundef @.str, ptr noundef %20)
br label %22
22: ; preds = %17
%23 = load i32, ptr %3, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i32, ptr %12, i64 %24
%26 = load i32, ptr %25, align 4
%27 = srem i32 %26, 2
%28 = icmp eq i32 %27, 0
br i1 %28, label %17, label %29, !llvm.loop !6
29: ; preds = %22
br label %30
30: ; preds = %29
%31 = load i32, ptr %3, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %3, align 4
%33 = load i32, ptr %3, align 4
%34 = load i32, ptr %2, align 4
%35 = icmp slt i32 %33, %34
br i1 %35, label %16, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %30
br label %36
36: ; preds = %._crit_edge, %0
%37 = load i32, ptr %2, align 4
%38 = sub nsw i32 %37, 1
store i32 %38, ptr %5, align 4
store i32 0, ptr %3, align 4
%39 = load i32, ptr %3, align 4
%40 = load i32, ptr %2, align 4
%41 = sdiv i32 %40, 2
%42 = icmp slt i32 %39, %41
br i1 %42, label %.lr.ph2, label %64
.lr.ph2: ; preds = %36
br label %43
43: ; preds = %.lr.ph2, %57
%44 = load i32, ptr %3, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i32, ptr %12, i64 %45
%47 = load i32, ptr %46, align 4
%48 = load i32, ptr %5, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i32, ptr %12, i64 %49
%51 = load i32, ptr %50, align 4
%52 = sub nsw i32 %47, %51
store i32 %52, ptr %4, align 4
%53 = load i32, ptr %4, align 4
%54 = call i32 @printf(ptr noundef @.str.1, i32 noundef %53)
%55 = load i32, ptr %5, align 4
%56 = add nsw i32 %55, -1
store i32 %56, ptr %5, align 4
br label %57
57: ; preds = %43
%58 = load i32, ptr %3, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %3, align 4
%60 = load i32, ptr %3, align 4
%61 = load i32, ptr %2, align 4
%62 = sdiv i32 %61, 2
%63 = icmp slt i32 %60, %62
br i1 %63, label %43, label %._crit_edge3, !llvm.loop !9
._crit_edge3: ; preds = %57
br label %64
64: ; preds = %._crit_edge3, %36
%65 = load i32, ptr %2, align 4
%66 = srem i32 %65, 2
%67 = icmp ne i32 %66, 0
br i1 %67, label %68, label %75
68: ; preds = %64
%69 = load i32, ptr %2, align 4
%70 = sdiv i32 %69, 2
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds i32, ptr %12, i64 %71
%73 = load i32, ptr %72, align 4
%74 = call i32 @printf(ptr noundef @.str.1, i32 noundef %73)
br label %75
75: ; preds = %68, %64
store i32 0, ptr %1, align 4
%76 = load ptr, ptr %6, align 8
call void @llvm.stackrestore(ptr %76)
%77 = load i32, ptr %1, align 4
ret i32 %77
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @printf(ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp_1dkxifv.c'
source_filename = "/tmp/tmp_1dkxifv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"t:w:\00", align 1
@EOF = dso_local global i32 0, align 4
@optarg = dso_local global i32 0, align 4
@optind = dso_local global i32 0, align 4
@O_RDWR = dso_local global i32 0, align 4
@O_CREAT = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [12 x i8] c"During open\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"During truncate\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"During pwrite\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
store i32 0, ptr %11, align 4
br label %13
13: ; preds = %39, %2
%14 = load i32, ptr %4, align 4
%15 = load ptr, ptr %5, align 8
%16 = call i32 @getopt(i32 noundef %14, ptr noundef %15, ptr noundef @.str)
store i32 %16, ptr %8, align 4
%17 = load i32, ptr @EOF, align 4
%18 = icmp ne i32 %16, %17
br i1 %18, label %19, label %40
19: ; preds = %13
%20 = load i32, ptr %8, align 4
switch i32 %20, label %37 [
i32 116, label %21
i32 119, label %29
]
21: ; preds = %19
%22 = load i32, ptr @optarg, align 4
%23 = call i32 @get_number(i32 noundef %22, ptr noundef %6)
store i32 %23, ptr %9, align 4
%24 = load i32, ptr %9, align 4
%25 = icmp ne i32 %24, 0
br i1 %25, label %26, label %28
26: ; preds = %21
%27 = call i32 (...) @print_usage()
store i32 1, ptr %3, align 4
br label %90
28: ; preds = %21
store i32 1, ptr %11, align 4
br label %39
29: ; preds = %19
%30 = load i32, ptr @optarg, align 4
%31 = call i32 @get_number(i32 noundef %30, ptr noundef %7)
store i32 %31, ptr %9, align 4
%32 = load i32, ptr %9, align 4
%33 = icmp ne i32 %32, 0
br i1 %33, label %34, label %36
34: ; preds = %29
%35 = call i32 (...) @print_usage()
store i32 1, ptr %3, align 4
br label %90
36: ; preds = %29
br label %39
37: ; preds = %19
%38 = call i32 (...) @print_usage()
store i32 1, ptr %3, align 4
br label %90
39: ; preds = %36, %28
br label %13, !llvm.loop !6
40: ; preds = %13
%41 = load i32, ptr @optind, align 4
%42 = load i32, ptr %4, align 4
%43 = icmp sge i32 %41, %42
br i1 %43, label %44, label %46
44: ; preds = %40
%45 = call i32 (...) @print_usage()
store i32 1, ptr %3, align 4
br label %90
46: ; preds = %40
%47 = load ptr, ptr %5, align 8
%48 = load i32, ptr @optind, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds ptr, ptr %47, i64 %49
%51 = load ptr, ptr %50, align 8
store ptr %51, ptr %12, align 8
%52 = load ptr, ptr %12, align 8
%53 = load i32, ptr @O_RDWR, align 4
%54 = load i32, ptr @O_CREAT, align 4
%55 = or i32 %53, %54
%56 = call i32 @open64(ptr noundef %52, i32 noundef %55, i32 noundef 420)
store i32 %56, ptr %10, align 4
%57 = load i32, ptr %10, align 4
%58 = icmp slt i32 %57, 0
br i1 %58, label %59, label %62
59: ; preds = %46
%60 = load i32, ptr @errno, align 4
%61 = call i32 @_err(i32 noundef %60, ptr noundef @.str.1)
store i32 1, ptr %3, align 4
br label %90
62: ; preds = %46
%63 = load i32, ptr %11, align 4
%64 = icmp ne i32 %63, 0
br i1 %64, label %65, label %75
65: ; preds = %62
%66 = load i32, ptr %10, align 4
%67 = load i32, ptr %6, align 4
%68 = call i32 @ftruncate64(i32 noundef %66, i32 noundef %67)
store i32 %68, ptr %9, align 4
%69 = load i32, ptr %9, align 4
%70 = icmp slt i32 %69, 0
br i1 %70, label %71, label %74
71: ; preds = %65
%72 = load i32, ptr @errno, align 4
%73 = call i32 @_err(i32 noundef %72, ptr noundef @.str.2)
store i32 1, ptr %3, align 4
br label %90
74: ; preds = %65
br label %75
75: ; preds = %74, %62
%76 = load i32, ptr %10, align 4
%77 = load ptr, ptr %12, align 8
%78 = load ptr, ptr %12, align 8
%79 = call i32 @strlen(ptr noundef %78)
%80 = load i32, ptr %7, align 4
%81 = call i32 @pwrite64(i32 noundef %76, ptr noundef %77, i32 noundef %79, i32 noundef %80)
store i32 %81, ptr %9, align 4
%82 = load i32, ptr %9, align 4
%83 = icmp slt i32 %82, 0
br i1 %83, label %84, label %87
84: ; preds = %75
%85 = load i32, ptr @errno, align 4
%86 = call i32 @_err(i32 noundef %85, ptr noundef @.str.3)
store i32 1, ptr %3, align 4
br label %90
87: ; preds = %75
%88 = load i32, ptr %10, align 4
%89 = call i32 @close(i32 noundef %88)
store i32 0, ptr %3, align 4
br label %90
90: ; preds = %87, %84, %71, %59, %44, %37, %34, %26
%91 = load i32, ptr %3, align 4
ret i32 %91
}
declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @get_number(i32 noundef, ptr noundef) #1
declare i32 @print_usage(...) #1
declare i32 @open64(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @_err(i32 noundef, ptr noundef) #1
declare i32 @ftruncate64(i32 noundef, i32 noundef) #1
declare i32 @pwrite64(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @close(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_1dkxifv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"t:w:\00", align 1
@EOF = dso_local global i32 0, align 4
@optarg = dso_local global i32 0, align 4
@optind = dso_local global i32 0, align 4
@O_RDWR = dso_local global i32 0, align 4
@O_CREAT = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [12 x i8] c"During open\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"During truncate\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"During pwrite\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
store i32 0, ptr %11, align 4
%13 = load i32, ptr %4, align 4
%14 = load ptr, ptr %5, align 8
%15 = call i32 @getopt(i32 noundef %13, ptr noundef %14, ptr noundef @.str)
store i32 %15, ptr %8, align 4
%16 = load i32, ptr @EOF, align 4
%17 = icmp ne i32 %15, %16
br i1 %17, label %.lr.ph, label %44
.lr.ph: ; preds = %2
br label %18
18: ; preds = %.lr.ph, %38
%19 = load i32, ptr %8, align 4
switch i32 %19, label %36 [
i32 116, label %20
i32 119, label %28
]
20: ; preds = %18
%21 = load i32, ptr @optarg, align 4
%22 = call i32 @get_number(i32 noundef %21, ptr noundef %6)
store i32 %22, ptr %9, align 4
%23 = load i32, ptr %9, align 4
%24 = icmp ne i32 %23, 0
br i1 %24, label %25, label %27
25: ; preds = %20
%26 = call i32 (...) @print_usage()
store i32 1, ptr %3, align 4
br label %94
27: ; preds = %20
store i32 1, ptr %11, align 4
br label %38
28: ; preds = %18
%29 = load i32, ptr @optarg, align 4
%30 = call i32 @get_number(i32 noundef %29, ptr noundef %7)
store i32 %30, ptr %9, align 4
%31 = load i32, ptr %9, align 4
%32 = icmp ne i32 %31, 0
br i1 %32, label %33, label %35
33: ; preds = %28
%34 = call i32 (...) @print_usage()
store i32 1, ptr %3, align 4
br label %94
35: ; preds = %28
br label %38
36: ; preds = %18
%37 = call i32 (...) @print_usage()
store i32 1, ptr %3, align 4
br label %94
38: ; preds = %35, %27
%39 = load i32, ptr %4, align 4
%40 = load ptr, ptr %5, align 8
%41 = call i32 @getopt(i32 noundef %39, ptr noundef %40, ptr noundef @.str)
store i32 %41, ptr %8, align 4
%42 = load i32, ptr @EOF, align 4
%43 = icmp ne i32 %41, %42
br i1 %43, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %38
br label %44
44: ; preds = %._crit_edge, %2
%45 = load i32, ptr @optind, align 4
%46 = load i32, ptr %4, align 4
%47 = icmp sge i32 %45, %46
br i1 %47, label %48, label %50
48: ; preds = %44
%49 = call i32 (...) @print_usage()
store i32 1, ptr %3, align 4
br label %94
50: ; preds = %44
%51 = load ptr, ptr %5, align 8
%52 = load i32, ptr @optind, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds ptr, ptr %51, i64 %53
%55 = load ptr, ptr %54, align 8
store ptr %55, ptr %12, align 8
%56 = load ptr, ptr %12, align 8
%57 = load i32, ptr @O_RDWR, align 4
%58 = load i32, ptr @O_CREAT, align 4
%59 = or i32 %57, %58
%60 = call i32 @open64(ptr noundef %56, i32 noundef %59, i32 noundef 420)
store i32 %60, ptr %10, align 4
%61 = load i32, ptr %10, align 4
%62 = icmp slt i32 %61, 0
br i1 %62, label %63, label %66
63: ; preds = %50
%64 = load i32, ptr @errno, align 4
%65 = call i32 @_err(i32 noundef %64, ptr noundef @.str.1)
store i32 1, ptr %3, align 4
br label %94
66: ; preds = %50
%67 = load i32, ptr %11, align 4
%68 = icmp ne i32 %67, 0
br i1 %68, label %69, label %79
69: ; preds = %66
%70 = load i32, ptr %10, align 4
%71 = load i32, ptr %6, align 4
%72 = call i32 @ftruncate64(i32 noundef %70, i32 noundef %71)
store i32 %72, ptr %9, align 4
%73 = load i32, ptr %9, align 4
%74 = icmp slt i32 %73, 0
br i1 %74, label %75, label %78
75: ; preds = %69
%76 = load i32, ptr @errno, align 4
%77 = call i32 @_err(i32 noundef %76, ptr noundef @.str.2)
store i32 1, ptr %3, align 4
br label %94
78: ; preds = %69
br label %79
79: ; preds = %78, %66
%80 = load i32, ptr %10, align 4
%81 = load ptr, ptr %12, align 8
%82 = load ptr, ptr %12, align 8
%83 = call i32 @strlen(ptr noundef %82)
%84 = load i32, ptr %7, align 4
%85 = call i32 @pwrite64(i32 noundef %80, ptr noundef %81, i32 noundef %83, i32 noundef %84)
store i32 %85, ptr %9, align 4
%86 = load i32, ptr %9, align 4
%87 = icmp slt i32 %86, 0
br i1 %87, label %88, label %91
88: ; preds = %79
%89 = load i32, ptr @errno, align 4
%90 = call i32 @_err(i32 noundef %89, ptr noundef @.str.3)
store i32 1, ptr %3, align 4
br label %94
91: ; preds = %79
%92 = load i32, ptr %10, align 4
%93 = call i32 @close(i32 noundef %92)
store i32 0, ptr %3, align 4
br label %94
94: ; preds = %91, %88, %75, %63, %48, %36, %33, %25
%95 = load i32, ptr %3, align 4
ret i32 %95
}
declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @get_number(i32 noundef, ptr noundef) #1
declare i32 @print_usage(...) #1
declare i32 @open64(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @_err(i32 noundef, ptr noundef) #1
declare i32 @ftruncate64(i32 noundef, i32 noundef) #1
declare i32 @pwrite64(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @close(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"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.