llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
|---|---|
; ModuleID = '/tmp/tmpg_ecrybp.c'
source_filename = "/tmp/tmpg_ecrybp.c"
target datalayout = "e-m:e-p270: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/tmpg_ecrybp.c"
target datalayout = "e-m:e-p270: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/tmpgewj3div.c'
source_filename = "/tmp/tmpgewj3div.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [18 x i8] c"received less...\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @recebe_mesmo(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
br label %8
8: ; preds = %30, %3
%9 = load i32, ptr %7, align 4
%10 = load i32, ptr %6, align 4
%11 = icmp ne i32 %9, %10
br i1 %11, label %12, label %31
12: ; preds = %8
%13 = load i32, ptr %4, align 4
%14 = load ptr, ptr %5, align 8
%15 = load i32, ptr %6, align 4
%16 = call i32 @recv(i32 noundef %13, ptr noundef %14, i32 noundef %15, i32 noundef 0)
store i32 %16, ptr %7, align 4
%17 = load i32, ptr %7, align 4
%18 = load i32, ptr %6, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %20, label %30
20: ; preds = %12
%21 = load i32, ptr @stdout, align 4
%22 = call i32 @fprintf(i32 noundef %21, ptr noundef @.str)
%23 = load i32, ptr %7, align 4
%24 = load ptr, ptr %5, align 8
%25 = sext i32 %23 to i64
%26 = getelementptr inbounds i8, ptr %24, i64 %25
store ptr %26, ptr %5, align 8
%27 = load i32, ptr %7, align 4
%28 = load i32, ptr %6, align 4
%29 = sub nsw i32 %28, %27
store i32 %29, ptr %6, align 4
store i32 0, ptr %7, align 4
br label %30
30: ; preds = %20, %12
br label %8, !llvm.loop !6
31: ; preds = %8
ret void
}
declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgewj3div.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [18 x i8] c"received less...\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @recebe_mesmo(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
%8 = load i32, ptr %7, align 4
%9 = load i32, ptr %6, align 4
%10 = icmp ne i32 %8, %9
br i1 %10, label %.lr.ph, label %33
.lr.ph: ; preds = %3
br label %11
11: ; preds = %.lr.ph, %29
%12 = load i32, ptr %4, align 4
%13 = load ptr, ptr %5, align 8
%14 = load i32, ptr %6, align 4
%15 = call i32 @recv(i32 noundef %12, ptr noundef %13, i32 noundef %14, i32 noundef 0)
store i32 %15, ptr %7, align 4
%16 = load i32, ptr %7, align 4
%17 = load i32, ptr %6, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %19, label %29
19: ; preds = %11
%20 = load i32, ptr @stdout, align 4
%21 = call i32 @fprintf(i32 noundef %20, ptr noundef @.str)
%22 = load i32, ptr %7, align 4
%23 = load ptr, ptr %5, align 8
%24 = sext i32 %22 to i64
%25 = getelementptr inbounds i8, ptr %23, i64 %24
store ptr %25, ptr %5, align 8
%26 = load i32, ptr %7, align 4
%27 = load i32, ptr %6, align 4
%28 = sub nsw i32 %27, %26
store i32 %28, ptr %6, align 4
store i32 0, ptr %7, align 4
br label %29
29: ; preds = %19, %11
%30 = load i32, ptr %7, align 4
%31 = load i32, ptr %6, align 4
%32 = icmp ne i32 %30, %31
br i1 %32, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %29
br label %33
33: ; preds = %._crit_edge, %3
ret void
}
declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpbf85wv8c.c'
source_filename = "/tmp/tmpbf85wv8c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"child process read\00", align 1
@.str.1 = private unnamed_addr constant [35 x i8] c"throught pipe read the path is %s\0A\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [20 x i8] c"child process open\0A\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"error:%s\00", align 1
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @server(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [2048 x i8], align 16
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%8 = load i32, ptr %3, align 4
%9 = getelementptr inbounds [2048 x i8], ptr %5, i64 0, i64 0
%10 = call i32 @read(i32 noundef %8, ptr noundef %9, i32 noundef 2048)
store i32 %10, ptr %6, align 4
%11 = icmp eq i32 %10, -1
br i1 %11, label %12, label %15
12: ; preds = %2
%13 = call i32 @perror(ptr noundef @.str)
%14 = call i32 @exit(i32 noundef 0) #3
unreachable
15: ; preds = %2
%16 = load i32, ptr %6, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [2048 x i8], ptr %5, i64 0, i64 %17
store i8 0, ptr %18, align 1
%19 = getelementptr inbounds [2048 x i8], ptr %5, i64 0, i64 0
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %19)
%21 = getelementptr inbounds [2048 x i8], ptr %5, i64 0, i64 0
%22 = load i32, ptr @O_RDONLY, align 4
%23 = call i32 @open(ptr noundef %21, i32 noundef %22)
store i32 %23, ptr %7, align 4
%24 = icmp eq i32 %23, -1
br i1 %24, label %25, label %39
25: ; preds = %15
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%27 = getelementptr inbounds [2048 x i8], ptr %5, i64 0, i64 0
%28 = load i32, ptr %6, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i8, ptr %27, i64 %29
%31 = load i32, ptr %6, align 4
%32 = sub nsw i32 2048, %31
%33 = load i32, ptr @errno, align 4
%34 = call ptr @strerror(i32 noundef %33)
%35 = call i32 @snprintf(ptr noundef %30, i32 noundef %32, ptr noundef @.str.3, ptr noundef %34)
%36 = load i32, ptr %4, align 4
%37 = getelementptr inbounds [2048 x i8], ptr %5, i64 0, i64 0
%38 = call i32 @write(i32 noundef %36, ptr noundef %37, i32 noundef 2048)
br label %51
39: ; preds = %15
br label %40
40: ; preds = %45, %39
%41 = load i32, ptr %7, align 4
%42 = getelementptr inbounds [2048 x i8], ptr %5, i64 0, i64 0
%43 = call i32 @read(i32 noundef %41, ptr noundef %42, i32 noundef 2048)
store i32 %43, ptr %6, align 4
%44 = icmp sgt i32 %43, 0
br i1 %44, label %45, label %50
45: ; preds = %40
%46 = load i32, ptr %4, align 4
%47 = getelementptr inbounds [2048 x i8], ptr %5, i64 0, i64 0
%48 = load i32, ptr %6, align 4
%49 = call i32 @write(i32 noundef %46, ptr noundef %47, i32 noundef %48)
br label %40, !llvm.loop !6
50: ; preds = %40
br label %51
51: ; preds = %50, %25
ret void
}
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @printf(ptr noundef, ...) #1
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @strerror(i32 noundef) #1
declare i32 @write(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbf85wv8c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"child process read\00", align 1
@.str.1 = private unnamed_addr constant [35 x i8] c"throught pipe read the path is %s\0A\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [20 x i8] c"child process open\0A\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"error:%s\00", align 1
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @server(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [2048 x i8], align 16
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%8 = load i32, ptr %3, align 4
%9 = getelementptr inbounds [2048 x i8], ptr %5, i64 0, i64 0
%10 = call i32 @read(i32 noundef %8, ptr noundef %9, i32 noundef 2048)
store i32 %10, ptr %6, align 4
%11 = icmp eq i32 %10, -1
br i1 %11, label %12, label %15
12: ; preds = %2
%13 = call i32 @perror(ptr noundef @.str)
%14 = call i32 @exit(i32 noundef 0) #3
unreachable
15: ; preds = %2
%16 = load i32, ptr %6, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [2048 x i8], ptr %5, i64 0, i64 %17
store i8 0, ptr %18, align 1
%19 = getelementptr inbounds [2048 x i8], ptr %5, i64 0, i64 0
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %19)
%21 = getelementptr inbounds [2048 x i8], ptr %5, i64 0, i64 0
%22 = load i32, ptr @O_RDONLY, align 4
%23 = call i32 @open(ptr noundef %21, i32 noundef %22)
store i32 %23, ptr %7, align 4
%24 = icmp eq i32 %23, -1
br i1 %24, label %25, label %39
25: ; preds = %15
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%27 = getelementptr inbounds [2048 x i8], ptr %5, i64 0, i64 0
%28 = load i32, ptr %6, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i8, ptr %27, i64 %29
%31 = load i32, ptr %6, align 4
%32 = sub nsw i32 2048, %31
%33 = load i32, ptr @errno, align 4
%34 = call ptr @strerror(i32 noundef %33)
%35 = call i32 @snprintf(ptr noundef %30, i32 noundef %32, ptr noundef @.str.3, ptr noundef %34)
%36 = load i32, ptr %4, align 4
%37 = getelementptr inbounds [2048 x i8], ptr %5, i64 0, i64 0
%38 = call i32 @write(i32 noundef %36, ptr noundef %37, i32 noundef 2048)
br label %53
39: ; preds = %15
%40 = load i32, ptr %7, align 4
%41 = getelementptr inbounds [2048 x i8], ptr %5, i64 0, i64 0
%42 = call i32 @read(i32 noundef %40, ptr noundef %41, i32 noundef 2048)
store i32 %42, ptr %6, align 4
%43 = icmp sgt i32 %42, 0
br i1 %43, label %.lr.ph, label %52
.lr.ph: ; preds = %39
br label %44
44: ; preds = %.lr.ph, %44
%45 = load i32, ptr %4, align 4
%46 = getelementptr inbounds [2048 x i8], ptr %5, i64 0, i64 0
%47 = load i32, ptr %6, align 4
%48 = call i32 @write(i32 noundef %45, ptr noundef %46, i32 noundef %47)
%49 = load i32, ptr %7, align 4
%50 = call i32 @read(i32 noundef %49, ptr noundef %41, i32 noundef 2048)
store i32 %50, ptr %6, align 4
%51 = icmp sgt i32 %50, 0
br i1 %51, label %44, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %44
br label %52
52: ; preds = %._crit_edge, %39
br label %53
53: ; preds = %52, %25
ret void
}
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @printf(ptr noundef, ...) #1
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @strerror(i32 noundef) #1
declare i32 @write(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp1mhcnjq0.c'
source_filename = "/tmp/tmp1mhcnjq0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xcopy(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%8 = load i64, ptr %5, align 8
%9 = load i64, ptr %6, align 8
%10 = add i64 %8, %9
%11 = call ptr @xmalloc(i64 noundef %10)
store ptr %11, ptr %7, align 8
%12 = load ptr, ptr %7, align 8
%13 = load ptr, ptr %4, align 8
%14 = load i64, ptr %5, align 8
%15 = call i32 @memcpy(ptr noundef %12, ptr noundef %13, i64 noundef %14)
%16 = load ptr, ptr %7, align 8
ret ptr %16
}
declare ptr @xmalloc(i64 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1mhcnjq0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xcopy(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%8 = load i64, ptr %5, align 8
%9 = load i64, ptr %6, align 8
%10 = add i64 %8, %9
%11 = call ptr @xmalloc(i64 noundef %10)
store ptr %11, ptr %7, align 8
%12 = load ptr, ptr %7, align 8
%13 = load ptr, ptr %4, align 8
%14 = load i64, ptr %5, align 8
%15 = call i32 @memcpy(ptr noundef %12, ptr noundef %13, i64 noundef %14)
%16 = load ptr, ptr %7, align 8
ret ptr %16
}
declare ptr @xmalloc(i64 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp329hezvk.c'
source_filename = "/tmp/tmp329hezvk.c"
target datalayout = "e-m:e-p270: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/tmp329hezvk.c"
target datalayout = "e-m:e-p270: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/tmpteuk56cx.c'
source_filename = "/tmp/tmpteuk56cx.c"
target datalayout = "e-m:e-p270: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/tmpteuk56cx.c"
target datalayout = "e-m:e-p270: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/tmpg35gpmww.c'
source_filename = "/tmp/tmpg35gpmww.c"
target datalayout = "e-m:e-p270: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/tmpg35gpmww.c"
target datalayout = "e-m:e-p270: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/tmp7sclrkdj.c'
source_filename = "/tmp/tmp7sclrkdj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Compute_Adv_y(ptr noundef %0, ptr noundef %1, double noundef %2, i32 noundef %3, i32 noundef %4, double noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca double, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
%18 = alloca double, align 8
%19 = alloca double, align 8
%20 = alloca double, align 8
%21 = alloca double, align 8
%22 = alloca double, align 8
%23 = alloca double, align 8
%24 = alloca double, align 8
%25 = alloca double, align 8
%26 = alloca double, align 8
%27 = alloca i32, align 4
%28 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store double %2, ptr %9, align 8
store i32 %3, ptr %10, align 4
store i32 %4, ptr %11, align 4
store double %5, ptr %12, align 8
store i32 2, ptr %27, align 4
br label %29
29: ; preds = %303, %6
%30 = load i32, ptr %27, align 4
%31 = load i32, ptr %10, align 4
%32 = sub i32 %31, 3
%33 = icmp ult i32 %30, %32
br i1 %33, label %34, label %306
34: ; preds = %29
store double 0.000000e+00, ptr %14, align 8
store double 0.000000e+00, ptr %16, align 8
%35 = load double, ptr %9, align 8
%36 = load ptr, ptr %7, align 8
%37 = load i32, ptr %27, align 4
%38 = load i32, ptr %10, align 4
%39 = mul i32 %38, 0
%40 = add i32 %37, %39
%41 = zext i32 %40 to i64
%42 = getelementptr inbounds double, ptr %36, i64 %41
%43 = load double, ptr %42, align 8
%44 = load double, ptr %9, align 8
%45 = load ptr, ptr %7, align 8
%46 = load i32, ptr %27, align 4
%47 = load i32, ptr %10, align 4
%48 = mul i32 %47, 0
%49 = add i32 %46, %48
%50 = zext i32 %49 to i64
%51 = getelementptr inbounds double, ptr %45, i64 %50
%52 = load double, ptr %51, align 8
%53 = fmul double %44, %52
%54 = call double @llvm.fmuladd.f64(double %35, double %43, double %53)
%55 = fmul double 5.000000e-01, %54
store double %55, ptr %17, align 8
%56 = load double, ptr %9, align 8
%57 = load ptr, ptr %7, align 8
%58 = load i32, ptr %27, align 4
%59 = load i32, ptr %10, align 4
%60 = mul i32 %59, 1
%61 = add i32 %58, %60
%62 = zext i32 %61 to i64
%63 = getelementptr inbounds double, ptr %57, i64 %62
%64 = load double, ptr %63, align 8
%65 = load double, ptr %9, align 8
%66 = load ptr, ptr %7, align 8
%67 = load i32, ptr %27, align 4
%68 = load i32, ptr %10, align 4
%69 = mul i32 %68, 1
%70 = add i32 %67, %69
%71 = zext i32 %70 to i64
%72 = getelementptr inbounds double, ptr %66, i64 %71
%73 = load double, ptr %72, align 8
%74 = fmul double %65, %73
%75 = call double @llvm.fmuladd.f64(double %56, double %64, double %74)
%76 = fmul double 5.000000e-01, %75
store double %76, ptr %18, align 8
%77 = load double, ptr %9, align 8
%78 = load ptr, ptr %7, align 8
%79 = load i32, ptr %27, align 4
%80 = load i32, ptr %10, align 4
%81 = mul i32 %80, 2
%82 = add i32 %79, %81
%83 = zext i32 %82 to i64
%84 = getelementptr inbounds double, ptr %78, i64 %83
%85 = load double, ptr %84, align 8
%86 = load double, ptr %9, align 8
%87 = load ptr, ptr %7, align 8
%88 = load i32, ptr %27, align 4
%89 = load i32, ptr %10, align 4
%90 = mul i32 %89, 2
%91 = add i32 %88, %90
%92 = zext i32 %91 to i64
%93 = getelementptr inbounds double, ptr %87, i64 %92
%94 = load double, ptr %93, align 8
%95 = fmul double %86, %94
%96 = call double @llvm.fmuladd.f64(double %77, double %85, double %95)
%97 = fmul double 5.000000e-01, %96
store double %97, ptr %19, align 8
%98 = load double, ptr %9, align 8
%99 = load ptr, ptr %7, align 8
%100 = load i32, ptr %27, align 4
%101 = load i32, ptr %10, align 4
%102 = mul i32 %101, 3
%103 = add i32 %100, %102
%104 = zext i32 %103 to i64
%105 = getelementptr inbounds double, ptr %99, i64 %104
%106 = load double, ptr %105, align 8
%107 = load double, ptr %9, align 8
%108 = load ptr, ptr %7, align 8
%109 = load i32, ptr %27, align 4
%110 = load i32, ptr %10, align 4
%111 = mul i32 %110, 3
%112 = add i32 %109, %111
%113 = zext i32 %112 to i64
%114 = getelementptr inbounds double, ptr %108, i64 %113
%115 = load double, ptr %114, align 8
%116 = fmul double %107, %115
%117 = call double @llvm.fmuladd.f64(double %98, double %106, double %116)
%118 = fmul double 5.000000e-01, %117
store double %118, ptr %20, align 8
%119 = load double, ptr %9, align 8
%120 = load ptr, ptr %7, align 8
%121 = load i32, ptr %27, align 4
%122 = load i32, ptr %10, align 4
%123 = mul i32 %122, 1
%124 = add i32 %121, %123
%125 = zext i32 %124 to i64
%126 = getelementptr inbounds double, ptr %120, i64 %125
%127 = load double, ptr %126, align 8
%128 = load double, ptr %9, align 8
%129 = load ptr, ptr %7, align 8
%130 = load i32, ptr %27, align 4
%131 = load i32, ptr %10, align 4
%132 = mul i32 %131, 1
%133 = add i32 %130, %132
%134 = zext i32 %133 to i64
%135 = getelementptr inbounds double, ptr %129, i64 %134
%136 = load double, ptr %135, align 8
%137 = fmul double %128, %136
%138 = fneg double %137
%139 = call double @llvm.fmuladd.f64(double %119, double %127, double %138)
%140 = fmul double 5.000000e-01, %139
store double %140, ptr %22, align 8
%141 = load double, ptr %9, align 8
%142 = load ptr, ptr %7, align 8
%143 = load i32, ptr %27, align 4
%144 = load i32, ptr %10, align 4
%145 = mul i32 %144, 2
%146 = add i32 %143, %145
%147 = zext i32 %146 to i64
%148 = getelementptr inbounds double, ptr %142, i64 %147
%149 = load double, ptr %148, align 8
%150 = load double, ptr %9, align 8
%151 = load ptr, ptr %7, align 8
%152 = load i32, ptr %27, align 4
%153 = load i32, ptr %10, align 4
%154 = mul i32 %153, 2
%155 = add i32 %152, %154
%156 = zext i32 %155 to i64
%157 = getelementptr inbounds double, ptr %151, i64 %156
%158 = load double, ptr %157, align 8
%159 = fmul double %150, %158
%160 = fneg double %159
%161 = call double @llvm.fmuladd.f64(double %141, double %149, double %160)
%162 = fmul double 5.000000e-01, %161
store double %162, ptr %23, align 8
%163 = load double, ptr %9, align 8
%164 = load ptr, ptr %7, align 8
%165 = load i32, ptr %27, align 4
%166 = load i32, ptr %10, align 4
%167 = mul i32 %166, 3
%168 = add i32 %165, %167
%169 = zext i32 %168 to i64
%170 = getelementptr inbounds double, ptr %164, i64 %169
%171 = load double, ptr %170, align 8
%172 = load double, ptr %9, align 8
%173 = load ptr, ptr %7, align 8
%174 = load i32, ptr %27, align 4
%175 = load i32, ptr %10, align 4
%176 = mul i32 %175, 3
%177 = add i32 %174, %176
%178 = zext i32 %177 to i64
%179 = getelementptr inbounds double, ptr %173, i64 %178
%180 = load double, ptr %179, align 8
%181 = fmul double %172, %180
%182 = fneg double %181
%183 = call double @llvm.fmuladd.f64(double %163, double %171, double %182)
%184 = fmul double 5.000000e-01, %183
store double %184, ptr %24, align 8
%185 = load double, ptr %9, align 8
%186 = load ptr, ptr %7, align 8
%187 = load i32, ptr %27, align 4
%188 = load i32, ptr %10, align 4
%189 = mul i32 %188, 4
%190 = add i32 %187, %189
%191 = zext i32 %190 to i64
%192 = getelementptr inbounds double, ptr %186, i64 %191
%193 = load double, ptr %192, align 8
%194 = load double, ptr %9, align 8
%195 = load ptr, ptr %7, align 8
%196 = load i32, ptr %27, align 4
%197 = load i32, ptr %10, align 4
%198 = mul i32 %197, 4
%199 = add i32 %196, %198
%200 = zext i32 %199 to i64
%201 = getelementptr inbounds double, ptr %195, i64 %200
%202 = load double, ptr %201, align 8
%203 = fmul double %194, %202
%204 = fneg double %203
%205 = call double @llvm.fmuladd.f64(double %185, double %193, double %204)
%206 = fmul double 5.000000e-01, %205
store double %206, ptr %25, align 8
store i32 2, ptr %28, align 4
br label %207
207: ; preds = %299, %34
%208 = load i32, ptr %28, align 4
%209 = load i32, ptr %11, align 4
%210 = sub i32 %209, 3
%211 = icmp ult i32 %208, %210
br i1 %211, label %212, label %302
212: ; preds = %207
%213 = load double, ptr %9, align 8
%214 = load ptr, ptr %7, align 8
%215 = load i32, ptr %27, align 4
%216 = load i32, ptr %10, align 4
%217 = load i32, ptr %28, align 4
%218 = add i32 %217, 2
%219 = mul i32 %216, %218
%220 = add i32 %215, %219
%221 = zext i32 %220 to i64
%222 = getelementptr inbounds double, ptr %214, i64 %221
%223 = load double, ptr %222, align 8
%224 = load double, ptr %9, align 8
%225 = load ptr, ptr %7, align 8
%226 = load i32, ptr %27, align 4
%227 = load i32, ptr %10, align 4
%228 = load i32, ptr %28, align 4
%229 = add i32 %228, 2
%230 = mul i32 %227, %229
%231 = add i32 %226, %230
%232 = zext i32 %231 to i64
%233 = getelementptr inbounds double, ptr %225, i64 %232
%234 = load double, ptr %233, align 8
%235 = fmul double %224, %234
%236 = call double @llvm.fmuladd.f64(double %213, double %223, double %235)
%237 = fmul double 5.000000e-01, %236
store double %237, ptr %21, align 8
%238 = load double, ptr %9, align 8
%239 = load ptr, ptr %7, align 8
%240 = load i32, ptr %27, align 4
%241 = load i32, ptr %10, align 4
%242 = load i32, ptr %28, align 4
%243 = add i32 %242, 3
%244 = mul i32 %241, %243
%245 = add i32 %240, %244
%246 = zext i32 %245 to i64
%247 = getelementptr inbounds double, ptr %239, i64 %246
%248 = load double, ptr %247, align 8
%249 = load double, ptr %9, align 8
%250 = load ptr, ptr %7, align 8
%251 = load i32, ptr %27, align 4
%252 = load i32, ptr %10, align 4
%253 = load i32, ptr %28, align 4
%254 = add i32 %253, 3
%255 = mul i32 %252, %254
%256 = add i32 %251, %255
%257 = zext i32 %256 to i64
%258 = getelementptr inbounds double, ptr %250, i64 %257
%259 = load double, ptr %258, align 8
%260 = fmul double %249, %259
%261 = fneg double %260
%262 = call double @llvm.fmuladd.f64(double %238, double %248, double %261)
%263 = fmul double 5.000000e-01, %262
store double %263, ptr %26, align 8
%264 = load double, ptr %17, align 8
%265 = load double, ptr %18, align 8
%266 = load double, ptr %19, align 8
%267 = load double, ptr %20, align 8
%268 = load double, ptr %21, align 8
%269 = load double, ptr %22, align 8
%270 = load double, ptr %23, align 8
%271 = load double, ptr %24, align 8
%272 = load double, ptr %25, align 8
%273 = load double, ptr %26, align 8
%274 = call double @WENO5_Reconstruct1d(double noundef %264, double noundef %265, double noundef %266, double noundef %267, double noundef %268, double noundef %269, double noundef %270, double noundef %271, double noundef %272, double noundef %273)
store double %274, ptr %13, align 8
%275 = load double, ptr %13, align 8
%276 = load double, ptr %14, align 8
%277 = fsub double %275, %276
%278 = load double, ptr %12, align 8
%279 = fdiv double %277, %278
%280 = load ptr, ptr %8, align 8
%281 = load i32, ptr %27, align 4
%282 = load i32, ptr %10, align 4
%283 = load i32, ptr %28, align 4
%284 = mul i32 %282, %283
%285 = add i32 %281, %284
%286 = zext i32 %285 to i64
%287 = getelementptr inbounds double, ptr %280, i64 %286
%288 = load double, ptr %287, align 8
%289 = fsub double %288, %279
store double %289, ptr %287, align 8
%290 = load double, ptr %13, align 8
store double %290, ptr %14, align 8
%291 = load double, ptr %18, align 8
store double %291, ptr %17, align 8
%292 = load double, ptr %19, align 8
store double %292, ptr %18, align 8
%293 = load double, ptr %20, align 8
store double %293, ptr %19, align 8
%294 = load double, ptr %21, align 8
store double %294, ptr %20, align 8
%295 = load double, ptr %23, align 8
store double %295, ptr %22, align 8
%296 = load double, ptr %24, align 8
store double %296, ptr %23, align 8
%297 = load double, ptr %25, align 8
store double %297, ptr %24, align 8
%298 = load double, ptr %26, align 8
store double %298, ptr %25, align 8
br label %299
299: ; preds = %212
%300 = load i32, ptr %28, align 4
%301 = add i32 %300, 1
store i32 %301, ptr %28, align 4
br label %207, !llvm.loop !6
302: ; preds = %207
br label %303
303: ; preds = %302
%304 = load i32, ptr %27, align 4
%305 = add i32 %304, 1
store i32 %305, ptr %27, align 4
br label %29, !llvm.loop !8
306: ; preds = %29
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
declare double @WENO5_Reconstruct1d(double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree 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}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7sclrkdj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Compute_Adv_y(ptr noundef %0, ptr noundef %1, double noundef %2, i32 noundef %3, i32 noundef %4, double noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca double, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
%18 = alloca double, align 8
%19 = alloca double, align 8
%20 = alloca double, align 8
%21 = alloca double, align 8
%22 = alloca double, align 8
%23 = alloca double, align 8
%24 = alloca double, align 8
%25 = alloca double, align 8
%26 = alloca double, align 8
%27 = alloca i32, align 4
%28 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store double %2, ptr %9, align 8
store i32 %3, ptr %10, align 4
store i32 %4, ptr %11, align 4
store double %5, ptr %12, align 8
store i32 2, ptr %27, align 4
%29 = load i32, ptr %27, align 4
%30 = load i32, ptr %10, align 4
%31 = sub i32 %30, 3
%32 = icmp ult i32 %29, %31
br i1 %32, label %.lr.ph2, label %312
.lr.ph2: ; preds = %6
br label %33
33: ; preds = %.lr.ph2, %305
store double 0.000000e+00, ptr %14, align 8
store double 0.000000e+00, ptr %16, align 8
%34 = load double, ptr %9, align 8
%35 = load ptr, ptr %7, align 8
%36 = load i32, ptr %27, align 4
%37 = load i32, ptr %10, align 4
%38 = mul i32 %37, 0
%39 = add i32 %36, %38
%40 = zext i32 %39 to i64
%41 = getelementptr inbounds double, ptr %35, i64 %40
%42 = load double, ptr %41, align 8
%43 = load double, ptr %9, align 8
%44 = load ptr, ptr %7, align 8
%45 = load i32, ptr %27, align 4
%46 = load i32, ptr %10, align 4
%47 = mul i32 %46, 0
%48 = add i32 %45, %47
%49 = zext i32 %48 to i64
%50 = getelementptr inbounds double, ptr %44, i64 %49
%51 = load double, ptr %50, align 8
%52 = fmul double %43, %51
%53 = call double @llvm.fmuladd.f64(double %34, double %42, double %52)
%54 = fmul double 5.000000e-01, %53
store double %54, ptr %17, align 8
%55 = load double, ptr %9, align 8
%56 = load ptr, ptr %7, align 8
%57 = load i32, ptr %27, align 4
%58 = load i32, ptr %10, align 4
%59 = mul i32 %58, 1
%60 = add i32 %57, %59
%61 = zext i32 %60 to i64
%62 = getelementptr inbounds double, ptr %56, i64 %61
%63 = load double, ptr %62, align 8
%64 = load double, ptr %9, align 8
%65 = load ptr, ptr %7, align 8
%66 = load i32, ptr %27, align 4
%67 = load i32, ptr %10, align 4
%68 = mul i32 %67, 1
%69 = add i32 %66, %68
%70 = zext i32 %69 to i64
%71 = getelementptr inbounds double, ptr %65, i64 %70
%72 = load double, ptr %71, align 8
%73 = fmul double %64, %72
%74 = call double @llvm.fmuladd.f64(double %55, double %63, double %73)
%75 = fmul double 5.000000e-01, %74
store double %75, ptr %18, align 8
%76 = load double, ptr %9, align 8
%77 = load ptr, ptr %7, align 8
%78 = load i32, ptr %27, align 4
%79 = load i32, ptr %10, align 4
%80 = mul i32 %79, 2
%81 = add i32 %78, %80
%82 = zext i32 %81 to i64
%83 = getelementptr inbounds double, ptr %77, i64 %82
%84 = load double, ptr %83, align 8
%85 = load double, ptr %9, align 8
%86 = load ptr, ptr %7, align 8
%87 = load i32, ptr %27, align 4
%88 = load i32, ptr %10, align 4
%89 = mul i32 %88, 2
%90 = add i32 %87, %89
%91 = zext i32 %90 to i64
%92 = getelementptr inbounds double, ptr %86, i64 %91
%93 = load double, ptr %92, align 8
%94 = fmul double %85, %93
%95 = call double @llvm.fmuladd.f64(double %76, double %84, double %94)
%96 = fmul double 5.000000e-01, %95
store double %96, ptr %19, align 8
%97 = load double, ptr %9, align 8
%98 = load ptr, ptr %7, align 8
%99 = load i32, ptr %27, align 4
%100 = load i32, ptr %10, align 4
%101 = mul i32 %100, 3
%102 = add i32 %99, %101
%103 = zext i32 %102 to i64
%104 = getelementptr inbounds double, ptr %98, i64 %103
%105 = load double, ptr %104, align 8
%106 = load double, ptr %9, align 8
%107 = load ptr, ptr %7, align 8
%108 = load i32, ptr %27, align 4
%109 = load i32, ptr %10, align 4
%110 = mul i32 %109, 3
%111 = add i32 %108, %110
%112 = zext i32 %111 to i64
%113 = getelementptr inbounds double, ptr %107, i64 %112
%114 = load double, ptr %113, align 8
%115 = fmul double %106, %114
%116 = call double @llvm.fmuladd.f64(double %97, double %105, double %115)
%117 = fmul double 5.000000e-01, %116
store double %117, ptr %20, align 8
%118 = load double, ptr %9, align 8
%119 = load ptr, ptr %7, align 8
%120 = load i32, ptr %27, align 4
%121 = load i32, ptr %10, align 4
%122 = mul i32 %121, 1
%123 = add i32 %120, %122
%124 = zext i32 %123 to i64
%125 = getelementptr inbounds double, ptr %119, i64 %124
%126 = load double, ptr %125, align 8
%127 = load double, ptr %9, align 8
%128 = load ptr, ptr %7, align 8
%129 = load i32, ptr %27, align 4
%130 = load i32, ptr %10, align 4
%131 = mul i32 %130, 1
%132 = add i32 %129, %131
%133 = zext i32 %132 to i64
%134 = getelementptr inbounds double, ptr %128, i64 %133
%135 = load double, ptr %134, align 8
%136 = fmul double %127, %135
%137 = fneg double %136
%138 = call double @llvm.fmuladd.f64(double %118, double %126, double %137)
%139 = fmul double 5.000000e-01, %138
store double %139, ptr %22, align 8
%140 = load double, ptr %9, align 8
%141 = load ptr, ptr %7, align 8
%142 = load i32, ptr %27, align 4
%143 = load i32, ptr %10, align 4
%144 = mul i32 %143, 2
%145 = add i32 %142, %144
%146 = zext i32 %145 to i64
%147 = getelementptr inbounds double, ptr %141, i64 %146
%148 = load double, ptr %147, align 8
%149 = load double, ptr %9, align 8
%150 = load ptr, ptr %7, align 8
%151 = load i32, ptr %27, align 4
%152 = load i32, ptr %10, align 4
%153 = mul i32 %152, 2
%154 = add i32 %151, %153
%155 = zext i32 %154 to i64
%156 = getelementptr inbounds double, ptr %150, i64 %155
%157 = load double, ptr %156, align 8
%158 = fmul double %149, %157
%159 = fneg double %158
%160 = call double @llvm.fmuladd.f64(double %140, double %148, double %159)
%161 = fmul double 5.000000e-01, %160
store double %161, ptr %23, align 8
%162 = load double, ptr %9, align 8
%163 = load ptr, ptr %7, align 8
%164 = load i32, ptr %27, align 4
%165 = load i32, ptr %10, align 4
%166 = mul i32 %165, 3
%167 = add i32 %164, %166
%168 = zext i32 %167 to i64
%169 = getelementptr inbounds double, ptr %163, i64 %168
%170 = load double, ptr %169, align 8
%171 = load double, ptr %9, align 8
%172 = load ptr, ptr %7, align 8
%173 = load i32, ptr %27, align 4
%174 = load i32, ptr %10, align 4
%175 = mul i32 %174, 3
%176 = add i32 %173, %175
%177 = zext i32 %176 to i64
%178 = getelementptr inbounds double, ptr %172, i64 %177
%179 = load double, ptr %178, align 8
%180 = fmul double %171, %179
%181 = fneg double %180
%182 = call double @llvm.fmuladd.f64(double %162, double %170, double %181)
%183 = fmul double 5.000000e-01, %182
store double %183, ptr %24, align 8
%184 = load double, ptr %9, align 8
%185 = load ptr, ptr %7, align 8
%186 = load i32, ptr %27, align 4
%187 = load i32, ptr %10, align 4
%188 = mul i32 %187, 4
%189 = add i32 %186, %188
%190 = zext i32 %189 to i64
%191 = getelementptr inbounds double, ptr %185, i64 %190
%192 = load double, ptr %191, align 8
%193 = load double, ptr %9, align 8
%194 = load ptr, ptr %7, align 8
%195 = load i32, ptr %27, align 4
%196 = load i32, ptr %10, align 4
%197 = mul i32 %196, 4
%198 = add i32 %195, %197
%199 = zext i32 %198 to i64
%200 = getelementptr inbounds double, ptr %194, i64 %199
%201 = load double, ptr %200, align 8
%202 = fmul double %193, %201
%203 = fneg double %202
%204 = call double @llvm.fmuladd.f64(double %184, double %192, double %203)
%205 = fmul double 5.000000e-01, %204
store double %205, ptr %25, align 8
store i32 2, ptr %28, align 4
%206 = load i32, ptr %28, align 4
%207 = load i32, ptr %11, align 4
%208 = sub i32 %207, 3
%209 = icmp ult i32 %206, %208
br i1 %209, label %.lr.ph, label %304
.lr.ph: ; preds = %33
br label %210
210: ; preds = %.lr.ph, %297
%211 = load double, ptr %9, align 8
%212 = load ptr, ptr %7, align 8
%213 = load i32, ptr %27, align 4
%214 = load i32, ptr %10, align 4
%215 = load i32, ptr %28, align 4
%216 = add i32 %215, 2
%217 = mul i32 %214, %216
%218 = add i32 %213, %217
%219 = zext i32 %218 to i64
%220 = getelementptr inbounds double, ptr %212, i64 %219
%221 = load double, ptr %220, align 8
%222 = load double, ptr %9, align 8
%223 = load ptr, ptr %7, align 8
%224 = load i32, ptr %27, align 4
%225 = load i32, ptr %10, align 4
%226 = load i32, ptr %28, align 4
%227 = add i32 %226, 2
%228 = mul i32 %225, %227
%229 = add i32 %224, %228
%230 = zext i32 %229 to i64
%231 = getelementptr inbounds double, ptr %223, i64 %230
%232 = load double, ptr %231, align 8
%233 = fmul double %222, %232
%234 = call double @llvm.fmuladd.f64(double %211, double %221, double %233)
%235 = fmul double 5.000000e-01, %234
store double %235, ptr %21, align 8
%236 = load double, ptr %9, align 8
%237 = load ptr, ptr %7, align 8
%238 = load i32, ptr %27, align 4
%239 = load i32, ptr %10, align 4
%240 = load i32, ptr %28, align 4
%241 = add i32 %240, 3
%242 = mul i32 %239, %241
%243 = add i32 %238, %242
%244 = zext i32 %243 to i64
%245 = getelementptr inbounds double, ptr %237, i64 %244
%246 = load double, ptr %245, align 8
%247 = load double, ptr %9, align 8
%248 = load ptr, ptr %7, align 8
%249 = load i32, ptr %27, align 4
%250 = load i32, ptr %10, align 4
%251 = load i32, ptr %28, align 4
%252 = add i32 %251, 3
%253 = mul i32 %250, %252
%254 = add i32 %249, %253
%255 = zext i32 %254 to i64
%256 = getelementptr inbounds double, ptr %248, i64 %255
%257 = load double, ptr %256, align 8
%258 = fmul double %247, %257
%259 = fneg double %258
%260 = call double @llvm.fmuladd.f64(double %236, double %246, double %259)
%261 = fmul double 5.000000e-01, %260
store double %261, ptr %26, align 8
%262 = load double, ptr %17, align 8
%263 = load double, ptr %18, align 8
%264 = load double, ptr %19, align 8
%265 = load double, ptr %20, align 8
%266 = load double, ptr %21, align 8
%267 = load double, ptr %22, align 8
%268 = load double, ptr %23, align 8
%269 = load double, ptr %24, align 8
%270 = load double, ptr %25, align 8
%271 = load double, ptr %26, align 8
%272 = call double @WENO5_Reconstruct1d(double noundef %262, double noundef %263, double noundef %264, double noundef %265, double noundef %266, double noundef %267, double noundef %268, double noundef %269, double noundef %270, double noundef %271)
store double %272, ptr %13, align 8
%273 = load double, ptr %13, align 8
%274 = load double, ptr %14, align 8
%275 = fsub double %273, %274
%276 = load double, ptr %12, align 8
%277 = fdiv double %275, %276
%278 = load ptr, ptr %8, align 8
%279 = load i32, ptr %27, align 4
%280 = load i32, ptr %10, align 4
%281 = load i32, ptr %28, align 4
%282 = mul i32 %280, %281
%283 = add i32 %279, %282
%284 = zext i32 %283 to i64
%285 = getelementptr inbounds double, ptr %278, i64 %284
%286 = load double, ptr %285, align 8
%287 = fsub double %286, %277
store double %287, ptr %285, align 8
%288 = load double, ptr %13, align 8
store double %288, ptr %14, align 8
%289 = load double, ptr %18, align 8
store double %289, ptr %17, align 8
%290 = load double, ptr %19, align 8
store double %290, ptr %18, align 8
%291 = load double, ptr %20, align 8
store double %291, ptr %19, align 8
%292 = load double, ptr %21, align 8
store double %292, ptr %20, align 8
%293 = load double, ptr %23, align 8
store double %293, ptr %22, align 8
%294 = load double, ptr %24, align 8
store double %294, ptr %23, align 8
%295 = load double, ptr %25, align 8
store double %295, ptr %24, align 8
%296 = load double, ptr %26, align 8
store double %296, ptr %25, align 8
br label %297
297: ; preds = %210
%298 = load i32, ptr %28, align 4
%299 = add i32 %298, 1
store i32 %299, ptr %28, align 4
%300 = load i32, ptr %28, align 4
%301 = load i32, ptr %11, align 4
%302 = sub i32 %301, 3
%303 = icmp ult i32 %300, %302
br i1 %303, label %210, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %297
br label %304
304: ; preds = %._crit_edge, %33
br label %305
305: ; preds = %304
%306 = load i32, ptr %27, align 4
%307 = add i32 %306, 1
store i32 %307, ptr %27, align 4
%308 = load i32, ptr %27, align 4
%309 = load i32, ptr %10, align 4
%310 = sub i32 %309, 3
%311 = icmp ult i32 %308, %310
br i1 %311, label %33, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %305
br label %312
312: ; preds = %._crit_edge3, %6
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
declare double @WENO5_Reconstruct1d(double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree 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}
|
; ModuleID = '/tmp/tmp5np64tva.c'
source_filename = "/tmp/tmp5np64tva.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @get_char(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i8, align 1
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = load i64, ptr %4, align 8
%8 = mul i64 1, %7
%9 = trunc i64 %8 to i32
%10 = call i32 @fseek(ptr noundef %6, i32 noundef %9, i32 noundef 0)
%11 = load ptr, ptr %3, align 8
%12 = call i32 @fread(ptr noundef %5, i32 noundef 1, i32 noundef 1, ptr noundef %11)
%13 = load i8, ptr %5, align 1
ret i8 %13
}
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fread(ptr noundef, 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/tmp5np64tva.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @get_char(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i8, align 1
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = load i64, ptr %4, align 8
%8 = mul i64 1, %7
%9 = trunc i64 %8 to i32
%10 = call i32 @fseek(ptr noundef %6, i32 noundef %9, i32 noundef 0)
%11 = load ptr, ptr %3, align 8
%12 = call i32 @fread(ptr noundef %5, i32 noundef 1, i32 noundef 1, ptr noundef %11)
%13 = load i8, ptr %5, align 1
ret i8 %13
}
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fread(ptr noundef, 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/tmpmwc75muy.c'
source_filename = "/tmp/tmpmwc75muy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fd_i2cm_delay() #0 {
%1 = call i32 @fd_delay_us(i32 noundef 5)
ret void
}
declare i32 @fd_delay_us(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmwc75muy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fd_i2cm_delay() #0 {
%1 = call i32 @fd_delay_us(i32 noundef 5)
ret void
}
declare i32 @fd_delay_us(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7uwrmupt.c'
source_filename = "/tmp/tmp7uwrmupt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"UNSUPPORTED\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cmd_getbkgrnd(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 = call i32 @check_arg_count(i32 noundef %5, i32 noundef 1)
%7 = icmp eq i32 %6, 1
br i1 %7, label %8, label %9
8: ; preds = %2
br label %12
9: ; preds = %2
%10 = call i32 @report_count(i32 noundef 1)
%11 = call i32 @report_error(ptr noundef @.str)
br label %12
12: ; preds = %9, %8
ret void
}
declare i32 @check_arg_count(i32 noundef, i32 noundef) #1
declare i32 @report_count(i32 noundef) #1
declare i32 @report_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/tmp7uwrmupt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"UNSUPPORTED\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cmd_getbkgrnd(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 = call i32 @check_arg_count(i32 noundef %5, i32 noundef 1)
%7 = icmp eq i32 %6, 1
br i1 %7, label %8, label %9
8: ; preds = %2
br label %12
9: ; preds = %2
%10 = call i32 @report_count(i32 noundef 1)
%11 = call i32 @report_error(ptr noundef @.str)
br label %12
12: ; preds = %9, %8
ret void
}
declare i32 @check_arg_count(i32 noundef, i32 noundef) #1
declare i32 @report_count(i32 noundef) #1
declare i32 @report_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/tmp1r85rpnb.c'
source_filename = "/tmp/tmp1r85rpnb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @putString(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %12, %1
%5 = load ptr, ptr %2, align 8
%6 = load i32, ptr %3, align 4
%7 = sext i32 %6 to i64
%8 = getelementptr inbounds i8, ptr %5, i64 %7
%9 = load i8, ptr %8, align 1
%10 = sext i8 %9 to i32
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %20
12: ; preds = %4
%13 = load ptr, ptr %2, align 8
%14 = load i32, ptr %3, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %3, align 4
%16 = sext i32 %14 to i64
%17 = getelementptr inbounds i8, ptr %13, i64 %16
%18 = load i8, ptr %17, align 1
%19 = call i32 @terminal_putchar(i8 noundef zeroext %18)
br label %4, !llvm.loop !6
20: ; preds = %4
ret void
}
declare i32 @terminal_putchar(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1r85rpnb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @putString(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%4 = load ptr, ptr %2, align 8
%5 = load i32, ptr %3, align 4
%6 = sext i32 %5 to i64
%7 = getelementptr inbounds i8, ptr %4, i64 %6
%8 = load i8, ptr %7, align 1
%9 = sext i8 %8 to i32
%10 = icmp ne i32 %9, 0
br i1 %10, label %.lr.ph, label %26
.lr.ph: ; preds = %1
br label %11
11: ; preds = %.lr.ph, %11
%12 = load ptr, ptr %2, align 8
%13 = load i32, ptr %3, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %3, align 4
%15 = sext i32 %13 to i64
%16 = getelementptr inbounds i8, ptr %12, i64 %15
%17 = load i8, ptr %16, align 1
%18 = call i32 @terminal_putchar(i8 noundef zeroext %17)
%19 = load ptr, ptr %2, align 8
%20 = load i32, ptr %3, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %19, i64 %21
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp ne i32 %24, 0
br i1 %25, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %11
br label %26
26: ; preds = %._crit_edge, %1
ret void
}
declare i32 @terminal_putchar(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmplqdois49.c'
source_filename = "/tmp/tmplqdois49.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [15 x i8] c"textoqualquer\0A\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"qualquer coisa\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%5 = call i32 @printf(ptr noundef @.str.1)
%6 = load i32, ptr %3, align 4
store i32 %6, ptr %2, align 4
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %3, align 4
%9 = icmp sgt i32 %7, %8
br i1 %9, label %10, label %12
10: ; preds = %0
%11 = load i32, ptr %2, align 4
store i32 %11, ptr %3, align 4
br label %14
12: ; preds = %0
%13 = call i32 @printf(ptr noundef @.str.2)
br label %14
14: ; preds = %12, %10
%15 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmplqdois49.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [15 x i8] c"textoqualquer\0A\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"qualquer coisa\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%5 = call i32 @printf(ptr noundef @.str.1)
%6 = load i32, ptr %3, align 4
store i32 %6, ptr %2, align 4
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %3, align 4
%9 = icmp sgt i32 %7, %8
br i1 %9, label %10, label %12
10: ; preds = %0
%11 = load i32, ptr %2, align 4
store i32 %11, ptr %3, align 4
br label %14
12: ; preds = %0
%13 = call i32 @printf(ptr noundef @.str.2)
br label %14
14: ; preds = %12, %10
%15 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpc1pizec4.c'
source_filename = "/tmp/tmpc1pizec4.c"
target datalayout = "e-m:e-p270: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/tmpc1pizec4.c"
target datalayout = "e-m:e-p270: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/tmpkxzglf6c.c'
source_filename = "/tmp/tmpkxzglf6c.c"
target datalayout = "e-m:e-p270: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/tmpkxzglf6c.c"
target datalayout = "e-m:e-p270: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/tmparwucbm2.c'
source_filename = "/tmp/tmparwucbm2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @FUNC_lang()
%3 = call i32 (...) @FUNC_symtab()
ret i32 0
}
declare i32 @FUNC_lang(...) #1
declare i32 @FUNC_symtab(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmparwucbm2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @FUNC_lang()
%3 = call i32 (...) @FUNC_symtab()
ret i32 0
}
declare i32 @FUNC_lang(...) #1
declare i32 @FUNC_symtab(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0pe74_1b.c'
source_filename = "/tmp/tmp0pe74_1b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %4, align 4
store i32 1, ptr %2, align 4
br label %5
5: ; preds = %16, %0
%6 = load i32, ptr %2, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp sle i32 %6, %7
br i1 %8, label %9, label %19
9: ; preds = %5
%10 = load i32, ptr %2, align 4
%11 = icmp slt i32 %10, 10
br i1 %11, label %12, label %15
12: ; preds = %9
%13 = load i32, ptr %4, align 4
%14 = add nsw i32 %13, 2
store i32 %14, ptr %4, align 4
br label %15
15: ; preds = %12, %9
br label %16
16: ; preds = %15
%17 = load i32, ptr %2, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %2, align 4
br label %5, !llvm.loop !6
19: ; preds = %5
%20 = load i32, ptr %4, align 4
%21 = load i32, ptr %3, align 4
%22 = mul nsw i32 %21, 2
%23 = icmp eq i32 %20, %22
br i1 %23, label %27, label %24
24: ; preds = %19
%25 = load i32, ptr %4, align 4
%26 = icmp eq i32 %25, 0
br label %27
27: ; preds = %24, %19
%28 = phi i1 [ true, %19 ], [ %26, %24 ]
%29 = zext i1 %28 to i32
%30 = call i32 @assert(i32 noundef %29)
%31 = load i32, ptr %1, align 4
ret i32 %31
}
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0pe74_1b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %4, align 4
store i32 1, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp sle i32 %5, %6
br i1 %7, label %.lr.ph, label %21
.lr.ph: ; preds = %0
br label %8
8: ; preds = %.lr.ph, %15
%9 = load i32, ptr %2, align 4
%10 = icmp slt i32 %9, 10
br i1 %10, label %11, label %14
11: ; preds = %8
%12 = load i32, ptr %4, align 4
%13 = add nsw i32 %12, 2
store i32 %13, ptr %4, align 4
br label %14
14: ; preds = %11, %8
br label %15
15: ; preds = %14
%16 = load i32, ptr %2, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %2, align 4
%18 = load i32, ptr %2, align 4
%19 = load i32, ptr %3, align 4
%20 = icmp sle i32 %18, %19
br i1 %20, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %21
21: ; preds = %._crit_edge, %0
%22 = load i32, ptr %4, align 4
%23 = load i32, ptr %3, align 4
%24 = mul nsw i32 %23, 2
%25 = icmp eq i32 %22, %24
br i1 %25, label %29, label %26
26: ; preds = %21
%27 = load i32, ptr %4, align 4
%28 = icmp eq i32 %27, 0
br label %29
29: ; preds = %26, %21
%30 = phi i1 [ true, %21 ], [ %28, %26 ]
%31 = zext i1 %30 to i32
%32 = call i32 @assert(i32 noundef %31)
%33 = load i32, ptr %1, align 4
ret i32 %33
}
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp2zslo57j.c'
source_filename = "/tmp/tmp2zslo57j.c"
target datalayout = "e-m:e-p270: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/tmp2zslo57j.c"
target datalayout = "e-m:e-p270: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/tmpn90o6qj_.c'
source_filename = "/tmp/tmpn90o6qj_.c"
target datalayout = "e-m:e-p270: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/tmpn90o6qj_.c"
target datalayout = "e-m:e-p270: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/tmp7j3jipve.c'
source_filename = "/tmp/tmp7j3jipve.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Usage: %s [FILE]\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@EOF = dso_local global i8 0, align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"1\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"0\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i8, align 1
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca [128 x i32], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %7, align 4
%12 = load i32, ptr %4, align 4
%13 = icmp ne i32 %12, 2
br i1 %13, label %14, label %19
14: ; preds = %2
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 0
%17 = load ptr, ptr %16, align 8
%18 = call i32 @printf(ptr noundef @.str, ptr noundef %17)
store i32 1, ptr %3, align 4
br label %104
19: ; preds = %2
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds ptr, ptr %20, i32 1
store ptr %21, ptr %5, align 8
%22 = load ptr, ptr %21, align 8
%23 = call ptr @fopen(ptr noundef %22, ptr noundef @.str.1)
store ptr %23, ptr %6, align 8
br label %24
24: ; preds = %102, %19
%25 = load ptr, ptr %6, align 8
%26 = call signext i8 @getc(ptr noundef %25)
store i8 %26, ptr %8, align 1
%27 = sext i8 %26 to i32
%28 = load i8, ptr @EOF, align 1
%29 = sext i8 %28 to i32
%30 = icmp ne i32 %27, %29
br i1 %30, label %34, label %31
31: ; preds = %24
%32 = load i32, ptr %7, align 4
%33 = icmp ne i32 %32, 0
br label %34
34: ; preds = %31, %24
%35 = phi i1 [ true, %24 ], [ %33, %31 ]
br i1 %35, label %36, label %103
36: ; preds = %34
%37 = load i8, ptr %8, align 1
%38 = sext i8 %37 to i32
%39 = icmp eq i32 %38, 10
br i1 %39, label %46, label %40
40: ; preds = %36
%41 = load i8, ptr %8, align 1
%42 = sext i8 %41 to i32
%43 = load i8, ptr @EOF, align 1
%44 = sext i8 %43 to i32
%45 = icmp eq i32 %42, %44
br i1 %45, label %46, label %92
46: ; preds = %40, %36
call void @llvm.memset.p0.i64(ptr align 16 %11, i8 0, i64 512, i1 false)
%47 = getelementptr inbounds [128 x i32], ptr %11, i64 0, i64 0
%48 = load i32, ptr %7, align 4
store i32 %48, ptr %47, align 4
%49 = getelementptr inbounds i32, ptr %47, i64 1
store i32 0, ptr %9, align 4
br label %50
50: ; preds = %83, %46
%51 = load i32, ptr %9, align 4
%52 = icmp slt i32 %51, 128
br i1 %52, label %53, label %56
53: ; preds = %50
%54 = load i32, ptr %7, align 4
%55 = icmp sgt i32 %54, 0
br label %56
56: ; preds = %53, %50
%57 = phi i1 [ false, %50 ], [ %55, %53 ]
br i1 %57, label %58, label %86
58: ; preds = %56
%59 = load i32, ptr %7, align 4
%60 = call i32 @happy(i32 noundef %59)
store i32 %60, ptr %7, align 4
%61 = load i32, ptr %7, align 4
%62 = icmp eq i32 %61, 1
br i1 %62, label %63, label %65
63: ; preds = %58
%64 = call i32 @puts(ptr noundef @.str.2)
br label %86
65: ; preds = %58
store i32 0, ptr %10, align 4
br label %66
66: ; preds = %79, %65
%67 = load i32, ptr %10, align 4
%68 = load i32, ptr %9, align 4
%69 = icmp slt i32 %67, %68
br i1 %69, label %70, label %82
70: ; preds = %66
%71 = load i32, ptr %10, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds [128 x i32], ptr %11, i64 0, i64 %72
%74 = load i32, ptr %73, align 4
%75 = load i32, ptr %7, align 4
%76 = icmp eq i32 %74, %75
br i1 %76, label %77, label %78
77: ; preds = %70
store i32 0, ptr %7, align 4
br label %82
78: ; preds = %70
br label %79
79: ; preds = %78
%80 = load i32, ptr %10, align 4
%81 = add nsw i32 %80, 1
store i32 %81, ptr %10, align 4
br label %66, !llvm.loop !6
82: ; preds = %77, %66
br label %83
83: ; preds = %82
%84 = load i32, ptr %9, align 4
%85 = add nsw i32 %84, 1
store i32 %85, ptr %9, align 4
br label %50, !llvm.loop !8
86: ; preds = %63, %56
%87 = load i32, ptr %7, align 4
%88 = icmp ne i32 %87, 1
br i1 %88, label %89, label %91
89: ; preds = %86
%90 = call i32 @puts(ptr noundef @.str.3)
br label %91
91: ; preds = %89, %86
store i32 0, ptr %7, align 4
br label %102
92: ; preds = %40
%93 = load i8, ptr %8, align 1
%94 = sext i8 %93 to i32
%95 = sub nsw i32 %94, 48
%96 = load i8, ptr %8, align 1
%97 = sext i8 %96 to i32
%98 = sub nsw i32 %97, 48
%99 = mul nsw i32 %95, %98
%100 = load i32, ptr %7, align 4
%101 = add nsw i32 %100, %99
store i32 %101, ptr %7, align 4
br label %102
102: ; preds = %92, %91
br label %24, !llvm.loop !9
103: ; preds = %34
store i32 0, ptr %3, align 4
br label %104
104: ; preds = %103, %14
%105 = load i32, ptr %3, align 4
ret i32 %105
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare signext i8 @getc(ptr noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @happy(i32 noundef) #1
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7j3jipve.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Usage: %s [FILE]\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@EOF = dso_local global i8 0, align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"1\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"0\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i8, align 1
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca [128 x i32], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %7, align 4
%12 = load i32, ptr %4, align 4
%13 = icmp ne i32 %12, 2
br i1 %13, label %14, label %19
14: ; preds = %2
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 0
%17 = load ptr, ptr %16, align 8
%18 = call i32 @printf(ptr noundef @.str, ptr noundef %17)
store i32 1, ptr %3, align 4
br label %106
19: ; preds = %2
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds ptr, ptr %20, i32 1
store ptr %21, ptr %5, align 8
%22 = load ptr, ptr %21, align 8
%23 = call ptr @fopen(ptr noundef %22, ptr noundef @.str.1)
store ptr %23, ptr %6, align 8
br label %24
24: ; preds = %104, %19
%25 = load ptr, ptr %6, align 8
%26 = call signext i8 @getc(ptr noundef %25)
store i8 %26, ptr %8, align 1
%27 = sext i8 %26 to i32
%28 = load i8, ptr @EOF, align 1
%29 = sext i8 %28 to i32
%30 = icmp ne i32 %27, %29
br i1 %30, label %34, label %31
31: ; preds = %24
%32 = load i32, ptr %7, align 4
%33 = icmp ne i32 %32, 0
br label %34
34: ; preds = %31, %24
%35 = phi i1 [ true, %24 ], [ %33, %31 ]
br i1 %35, label %36, label %105
36: ; preds = %34
%37 = load i8, ptr %8, align 1
%38 = sext i8 %37 to i32
%39 = icmp eq i32 %38, 10
br i1 %39, label %46, label %40
40: ; preds = %36
%41 = load i8, ptr %8, align 1
%42 = sext i8 %41 to i32
%43 = load i8, ptr @EOF, align 1
%44 = sext i8 %43 to i32
%45 = icmp eq i32 %42, %44
br i1 %45, label %46, label %94
46: ; preds = %40, %36
call void @llvm.memset.p0.i64(ptr align 16 %11, i8 0, i64 512, i1 false)
%47 = getelementptr inbounds [128 x i32], ptr %11, i64 0, i64 0
%48 = load i32, ptr %7, align 4
store i32 %48, ptr %47, align 4
%49 = getelementptr inbounds i32, ptr %47, i64 1
store i32 0, ptr %9, align 4
br label %50
50: ; preds = %85, %46
%51 = load i32, ptr %9, align 4
%52 = icmp slt i32 %51, 128
br i1 %52, label %53, label %56
53: ; preds = %50
%54 = load i32, ptr %7, align 4
%55 = icmp sgt i32 %54, 0
br label %56
56: ; preds = %53, %50
%57 = phi i1 [ false, %50 ], [ %55, %53 ]
br i1 %57, label %58, label %.loopexit1
58: ; preds = %56
%59 = load i32, ptr %7, align 4
%60 = call i32 @happy(i32 noundef %59)
store i32 %60, ptr %7, align 4
%61 = load i32, ptr %7, align 4
%62 = icmp eq i32 %61, 1
br i1 %62, label %63, label %65
63: ; preds = %58
%64 = call i32 @puts(ptr noundef @.str.2)
br label %88
65: ; preds = %58
store i32 0, ptr %10, align 4
%66 = load i32, ptr %10, align 4
%67 = load i32, ptr %9, align 4
%68 = icmp slt i32 %66, %67
br i1 %68, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %65
br label %69
69: ; preds = %.lr.ph, %78
%70 = load i32, ptr %10, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds [128 x i32], ptr %11, i64 0, i64 %71
%73 = load i32, ptr %72, align 4
%74 = load i32, ptr %7, align 4
%75 = icmp eq i32 %73, %74
br i1 %75, label %76, label %77
76: ; preds = %69
store i32 0, ptr %7, align 4
br label %84
77: ; preds = %69
br label %78
78: ; preds = %77
%79 = load i32, ptr %10, align 4
%80 = add nsw i32 %79, 1
store i32 %80, ptr %10, align 4
%81 = load i32, ptr %10, align 4
%82 = load i32, ptr %9, align 4
%83 = icmp slt i32 %81, %82
br i1 %83, label %69, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %78
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %65
br label %84
84: ; preds = %.loopexit, %76
br label %85
85: ; preds = %84
%86 = load i32, ptr %9, align 4
%87 = add nsw i32 %86, 1
store i32 %87, ptr %9, align 4
br label %50, !llvm.loop !8
.loopexit1: ; preds = %56
br label %88
88: ; preds = %.loopexit1, %63
%89 = load i32, ptr %7, align 4
%90 = icmp ne i32 %89, 1
br i1 %90, label %91, label %93
91: ; preds = %88
%92 = call i32 @puts(ptr noundef @.str.3)
br label %93
93: ; preds = %91, %88
store i32 0, ptr %7, align 4
br label %104
94: ; preds = %40
%95 = load i8, ptr %8, align 1
%96 = sext i8 %95 to i32
%97 = sub nsw i32 %96, 48
%98 = load i8, ptr %8, align 1
%99 = sext i8 %98 to i32
%100 = sub nsw i32 %99, 48
%101 = mul nsw i32 %97, %100
%102 = load i32, ptr %7, align 4
%103 = add nsw i32 %102, %101
store i32 %103, ptr %7, align 4
br label %104
104: ; preds = %94, %93
br label %24, !llvm.loop !9
105: ; preds = %34
store i32 0, ptr %3, align 4
br label %106
106: ; preds = %105, %14
%107 = load i32, ptr %3, align 4
ret i32 %107
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare signext i8 @getc(ptr noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @happy(i32 noundef) #1
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpc_mfzian.c'
source_filename = "/tmp/tmpc_mfzian.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BubbleSort(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
br label %7
7: ; preds = %48, %2
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %51
11: ; preds = %7
store i32 0, ptr %6, align 4
br label %12
12: ; preds = %44, %11
%13 = load i32, ptr %6, align 4
%14 = load i32, ptr %4, align 4
%15 = load i32, ptr %5, align 4
%16 = sub nsw i32 %14, %15
%17 = sub nsw i32 %16, 1
%18 = icmp slt i32 %13, %17
br i1 %18, label %19, label %47
19: ; preds = %12
%20 = load ptr, ptr %3, align 8
%21 = load i32, ptr %6, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i32, ptr %20, i64 %22
%24 = load i32, ptr %23, align 4
%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 = getelementptr inbounds i32, ptr %28, i64 1
%30 = load i32, ptr %29, align 4
%31 = icmp sgt i32 %24, %30
br i1 %31, label %32, label %43
32: ; preds = %19
%33 = load ptr, ptr %3, align 8
%34 = load i32, ptr %6, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i32, ptr %33, i64 %35
%37 = load ptr, ptr %3, align 8
%38 = load i32, ptr %6, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i32, ptr %37, i64 %39
%41 = getelementptr inbounds i32, ptr %40, i64 1
%42 = call i32 @swap(ptr noundef %36, ptr noundef %41)
br label %43
43: ; preds = %32, %19
br label %44
44: ; preds = %43
%45 = load i32, ptr %6, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %6, align 4
br label %12, !llvm.loop !6
47: ; preds = %12
br label %48
48: ; preds = %47
%49 = load i32, ptr %5, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %5, align 4
br label %7, !llvm.loop !8
51: ; preds = %7
ret void
}
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"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc_mfzian.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BubbleSort(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
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %.lr.ph2, label %58
.lr.ph2: ; preds = %2
br label %10
10: ; preds = %.lr.ph2, %52
store i32 0, ptr %6, align 4
%11 = load i32, ptr %6, align 4
%12 = load i32, ptr %4, align 4
%13 = load i32, ptr %5, align 4
%14 = sub nsw i32 %12, %13
%15 = sub nsw i32 %14, 1
%16 = icmp slt i32 %11, %15
br i1 %16, label %.lr.ph, label %51
.lr.ph: ; preds = %10
br label %17
17: ; preds = %.lr.ph, %42
%18 = load ptr, ptr %3, align 8
%19 = load i32, ptr %6, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i32, ptr %18, i64 %20
%22 = load i32, ptr %21, align 4
%23 = load ptr, ptr %3, align 8
%24 = load i32, ptr %6, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i32, ptr %23, i64 %25
%27 = getelementptr inbounds i32, ptr %26, i64 1
%28 = load i32, ptr %27, align 4
%29 = icmp sgt i32 %22, %28
br i1 %29, label %30, label %41
30: ; preds = %17
%31 = load ptr, ptr %3, align 8
%32 = load i32, ptr %6, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i32, ptr %31, i64 %33
%35 = load ptr, ptr %3, align 8
%36 = load i32, ptr %6, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i32, ptr %35, i64 %37
%39 = getelementptr inbounds i32, ptr %38, i64 1
%40 = call i32 @swap(ptr noundef %34, ptr noundef %39)
br label %41
41: ; preds = %30, %17
br label %42
42: ; preds = %41
%43 = load i32, ptr %6, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %6, align 4
%45 = load i32, ptr %6, align 4
%46 = load i32, ptr %4, align 4
%47 = load i32, ptr %5, align 4
%48 = sub nsw i32 %46, %47
%49 = sub nsw i32 %48, 1
%50 = icmp slt i32 %45, %49
br i1 %50, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %42
br label %51
51: ; preds = %._crit_edge, %10
br label %52
52: ; preds = %51
%53 = load i32, ptr %5, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %5, align 4
%55 = load i32, ptr %5, align 4
%56 = load i32, ptr %4, align 4
%57 = icmp slt i32 %55, %56
br i1 %57, label %10, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %52
br label %58
58: ; preds = %._crit_edge3, %2
ret void
}
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"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpuimm0xha.c'
source_filename = "/tmp/tmpuimm0xha.c"
target datalayout = "e-m:e-p270: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/tmpuimm0xha.c"
target datalayout = "e-m:e-p270: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/tmpcp6gy1x4.c'
source_filename = "/tmp/tmpcp6gy1x4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @snippet_decrypt(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [60 x i64], align 16
%6 = alloca [32 x i8], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %7, align 4
br label %10
10: ; preds = %31, %2
%11 = load i32, ptr %7, align 4
%12 = sext i32 %11 to i64
%13 = icmp ult i64 %12, 32
br i1 %13, label %14, label %34
14: ; preds = %10
%15 = load ptr, ptr %4, align 8
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp ne i32 %17, 0
br i1 %18, label %19, label %24
19: ; preds = %14
%20 = load ptr, ptr %4, align 8
%21 = getelementptr inbounds i8, ptr %20, i32 1
store ptr %21, ptr %4, align 8
%22 = load i8, ptr %20, align 1
%23 = sext i8 %22 to i32
br label %25
24: ; preds = %14
br label %25
25: ; preds = %24, %19
%26 = phi i32 [ %23, %19 ], [ 0, %24 ]
%27 = trunc i32 %26 to i8
%28 = load i32, ptr %7, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 %29
store i8 %27, ptr %30, align 1
br label %31
31: ; preds = %25
%32 = load i32, ptr %7, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %7, align 4
br label %10, !llvm.loop !6
34: ; preds = %10
%35 = getelementptr inbounds [60 x i64], ptr %5, i64 0, i64 0
%36 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0
%37 = call i32 @rijndaelSetupDecrypt(ptr noundef %35, ptr noundef %36, i32 noundef 256)
store i32 %37, ptr %8, align 4
%38 = load ptr, ptr %3, align 8
%39 = call i32 @strlen(ptr noundef %38)
%40 = sext i32 %39 to i64
%41 = mul i64 1, %40
%42 = trunc i64 %41 to i32
%43 = call i64 @malloc(i32 noundef %42)
%44 = inttoptr i64 %43 to ptr
store ptr %44, ptr %9, align 8
%45 = getelementptr inbounds [60 x i64], ptr %5, i64 0, i64 0
%46 = load i32, ptr %8, align 4
%47 = load ptr, ptr %3, align 8
%48 = load ptr, ptr %9, align 8
%49 = call i32 @rijndaelDecrypt(ptr noundef %45, i32 noundef %46, ptr noundef %47, ptr noundef %48)
%50 = load ptr, ptr %9, align 8
ret ptr %50
}
declare i32 @rijndaelSetupDecrypt(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @rijndaelDecrypt(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcp6gy1x4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @snippet_decrypt(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [60 x i64], align 16
%6 = alloca [32 x i8], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %7, align 4
%10 = load i32, ptr %7, align 4
%11 = sext i32 %10 to i64
%12 = icmp ult i64 %11, 32
br i1 %12, label %.lr.ph, label %36
.lr.ph: ; preds = %2
br label %13
13: ; preds = %.lr.ph, %30
%14 = load ptr, ptr %4, align 8
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp ne i32 %16, 0
br i1 %17, label %18, label %23
18: ; preds = %13
%19 = load ptr, ptr %4, align 8
%20 = getelementptr inbounds i8, ptr %19, i32 1
store ptr %20, ptr %4, align 8
%21 = load i8, ptr %19, align 1
%22 = sext i8 %21 to i32
br label %24
23: ; preds = %13
br label %24
24: ; preds = %23, %18
%25 = phi i32 [ %22, %18 ], [ 0, %23 ]
%26 = trunc i32 %25 to i8
%27 = load i32, ptr %7, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 %28
store i8 %26, ptr %29, align 1
br label %30
30: ; preds = %24
%31 = load i32, ptr %7, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %7, align 4
%33 = load i32, ptr %7, align 4
%34 = sext i32 %33 to i64
%35 = icmp ult i64 %34, 32
br i1 %35, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %30
br label %36
36: ; preds = %._crit_edge, %2
%37 = getelementptr inbounds [60 x i64], ptr %5, i64 0, i64 0
%38 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0
%39 = call i32 @rijndaelSetupDecrypt(ptr noundef %37, ptr noundef %38, i32 noundef 256)
store i32 %39, ptr %8, align 4
%40 = load ptr, ptr %3, align 8
%41 = call i32 @strlen(ptr noundef %40)
%42 = sext i32 %41 to i64
%43 = mul i64 1, %42
%44 = trunc i64 %43 to i32
%45 = call i64 @malloc(i32 noundef %44)
%46 = inttoptr i64 %45 to ptr
store ptr %46, ptr %9, align 8
%47 = getelementptr inbounds [60 x i64], ptr %5, i64 0, i64 0
%48 = load i32, ptr %8, align 4
%49 = load ptr, ptr %3, align 8
%50 = load ptr, ptr %9, align 8
%51 = call i32 @rijndaelDecrypt(ptr noundef %47, i32 noundef %48, ptr noundef %49, ptr noundef %50)
%52 = load ptr, ptr %9, align 8
ret ptr %52
}
declare i32 @rijndaelSetupDecrypt(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @rijndaelDecrypt(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpzhnuvkqz.c'
source_filename = "/tmp/tmpzhnuvkqz.c"
target datalayout = "e-m:e-p270: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/tmpzhnuvkqz.c"
target datalayout = "e-m:e-p270: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/tmpx7ppzmnv.c'
source_filename = "/tmp/tmpx7ppzmnv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test84_MetaPinTestMod_pollen__run__E() #0 {
%1 = call i32 (...) @test84_MPT1_foo__E()
%2 = call i32 (...) @test84_MPT2_foo__E()
ret void
}
declare i32 @test84_MPT1_foo__E(...) #1
declare i32 @test84_MPT2_foo__E(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpx7ppzmnv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test84_MetaPinTestMod_pollen__run__E() #0 {
%1 = call i32 (...) @test84_MPT1_foo__E()
%2 = call i32 (...) @test84_MPT2_foo__E()
ret void
}
declare i32 @test84_MPT1_foo__E(...) #1
declare i32 @test84_MPT2_foo__E(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6i5175sv.c'
source_filename = "/tmp/tmp6i5175sv.c"
target datalayout = "e-m:e-p270: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 [11 x i8] c"Callback!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ptc_cleanup_callback() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
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/tmp6i5175sv.c"
target datalayout = "e-m:e-p270: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 [11 x i8] c"Callback!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ptc_cleanup_callback() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
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/tmpgmvknxku.c'
source_filename = "/tmp/tmpgmvknxku.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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" \00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c" \00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c" \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Nokia5110_OutUDec(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 slt i32 %3, 10
br i1 %4, label %5, label %10
5: ; preds = %1
%6 = call i32 @Nokia5110_OutString(ptr noundef @.str)
%7 = load i32, ptr %2, align 4
%8 = add nsw i32 %7, 48
%9 = call i32 @Nokia5110_OutChar(i32 noundef %8)
br label %97
10: ; preds = %1
%11 = load i32, ptr %2, align 4
%12 = icmp slt i32 %11, 100
br i1 %12, label %13, label %23
13: ; preds = %10
%14 = call i32 @Nokia5110_OutString(ptr noundef @.str.1)
%15 = load i32, ptr %2, align 4
%16 = sdiv i32 %15, 10
%17 = add nsw i32 %16, 48
%18 = call i32 @Nokia5110_OutChar(i32 noundef %17)
%19 = load i32, ptr %2, align 4
%20 = srem i32 %19, 10
%21 = add nsw i32 %20, 48
%22 = call i32 @Nokia5110_OutChar(i32 noundef %21)
br label %96
23: ; preds = %10
%24 = load i32, ptr %2, align 4
%25 = icmp slt i32 %24, 1000
br i1 %25, label %26, label %42
26: ; preds = %23
%27 = call i32 @Nokia5110_OutString(ptr noundef @.str.2)
%28 = load i32, ptr %2, align 4
%29 = sdiv i32 %28, 100
%30 = add nsw i32 %29, 48
%31 = call i32 @Nokia5110_OutChar(i32 noundef %30)
%32 = load i32, ptr %2, align 4
%33 = srem i32 %32, 100
store i32 %33, ptr %2, align 4
%34 = load i32, ptr %2, align 4
%35 = sdiv i32 %34, 10
%36 = add nsw i32 %35, 48
%37 = call i32 @Nokia5110_OutChar(i32 noundef %36)
%38 = load i32, ptr %2, align 4
%39 = srem i32 %38, 10
%40 = add nsw i32 %39, 48
%41 = call i32 @Nokia5110_OutChar(i32 noundef %40)
br label %95
42: ; preds = %23
%43 = load i32, ptr %2, align 4
%44 = icmp slt i32 %43, 10000
br i1 %44, label %45, label %67
45: ; preds = %42
%46 = call i32 @Nokia5110_OutChar(i32 noundef 32)
%47 = load i32, ptr %2, align 4
%48 = sdiv i32 %47, 1000
%49 = add nsw i32 %48, 48
%50 = call i32 @Nokia5110_OutChar(i32 noundef %49)
%51 = load i32, ptr %2, align 4
%52 = srem i32 %51, 1000
store i32 %52, ptr %2, align 4
%53 = load i32, ptr %2, align 4
%54 = sdiv i32 %53, 100
%55 = add nsw i32 %54, 48
%56 = call i32 @Nokia5110_OutChar(i32 noundef %55)
%57 = load i32, ptr %2, align 4
%58 = srem i32 %57, 100
store i32 %58, ptr %2, align 4
%59 = load i32, ptr %2, align 4
%60 = sdiv i32 %59, 10
%61 = add nsw i32 %60, 48
%62 = call i32 @Nokia5110_OutChar(i32 noundef %61)
%63 = load i32, ptr %2, align 4
%64 = srem i32 %63, 10
%65 = add nsw i32 %64, 48
%66 = call i32 @Nokia5110_OutChar(i32 noundef %65)
br label %94
67: ; preds = %42
%68 = load i32, ptr %2, align 4
%69 = sdiv i32 %68, 10000
%70 = add nsw i32 %69, 48
%71 = call i32 @Nokia5110_OutChar(i32 noundef %70)
%72 = load i32, ptr %2, align 4
%73 = srem i32 %72, 10000
store i32 %73, ptr %2, align 4
%74 = load i32, ptr %2, align 4
%75 = sdiv i32 %74, 1000
%76 = add nsw i32 %75, 48
%77 = call i32 @Nokia5110_OutChar(i32 noundef %76)
%78 = load i32, ptr %2, align 4
%79 = srem i32 %78, 1000
store i32 %79, ptr %2, align 4
%80 = load i32, ptr %2, align 4
%81 = sdiv i32 %80, 100
%82 = add nsw i32 %81, 48
%83 = call i32 @Nokia5110_OutChar(i32 noundef %82)
%84 = load i32, ptr %2, align 4
%85 = srem i32 %84, 100
store i32 %85, ptr %2, align 4
%86 = load i32, ptr %2, align 4
%87 = sdiv i32 %86, 10
%88 = add nsw i32 %87, 48
%89 = call i32 @Nokia5110_OutChar(i32 noundef %88)
%90 = load i32, ptr %2, align 4
%91 = srem i32 %90, 10
%92 = add nsw i32 %91, 48
%93 = call i32 @Nokia5110_OutChar(i32 noundef %92)
br label %94
94: ; preds = %67, %45
br label %95
95: ; preds = %94, %26
br label %96
96: ; preds = %95, %13
br label %97
97: ; preds = %96, %5
ret void
}
declare i32 @Nokia5110_OutString(ptr noundef) #1
declare i32 @Nokia5110_OutChar(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgmvknxku.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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" \00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c" \00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c" \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Nokia5110_OutUDec(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 slt i32 %3, 10
br i1 %4, label %5, label %10
5: ; preds = %1
%6 = call i32 @Nokia5110_OutString(ptr noundef @.str)
%7 = load i32, ptr %2, align 4
%8 = add nsw i32 %7, 48
%9 = call i32 @Nokia5110_OutChar(i32 noundef %8)
br label %97
10: ; preds = %1
%11 = load i32, ptr %2, align 4
%12 = icmp slt i32 %11, 100
br i1 %12, label %13, label %23
13: ; preds = %10
%14 = call i32 @Nokia5110_OutString(ptr noundef @.str.1)
%15 = load i32, ptr %2, align 4
%16 = sdiv i32 %15, 10
%17 = add nsw i32 %16, 48
%18 = call i32 @Nokia5110_OutChar(i32 noundef %17)
%19 = load i32, ptr %2, align 4
%20 = srem i32 %19, 10
%21 = add nsw i32 %20, 48
%22 = call i32 @Nokia5110_OutChar(i32 noundef %21)
br label %96
23: ; preds = %10
%24 = load i32, ptr %2, align 4
%25 = icmp slt i32 %24, 1000
br i1 %25, label %26, label %42
26: ; preds = %23
%27 = call i32 @Nokia5110_OutString(ptr noundef @.str.2)
%28 = load i32, ptr %2, align 4
%29 = sdiv i32 %28, 100
%30 = add nsw i32 %29, 48
%31 = call i32 @Nokia5110_OutChar(i32 noundef %30)
%32 = load i32, ptr %2, align 4
%33 = srem i32 %32, 100
store i32 %33, ptr %2, align 4
%34 = load i32, ptr %2, align 4
%35 = sdiv i32 %34, 10
%36 = add nsw i32 %35, 48
%37 = call i32 @Nokia5110_OutChar(i32 noundef %36)
%38 = load i32, ptr %2, align 4
%39 = srem i32 %38, 10
%40 = add nsw i32 %39, 48
%41 = call i32 @Nokia5110_OutChar(i32 noundef %40)
br label %95
42: ; preds = %23
%43 = load i32, ptr %2, align 4
%44 = icmp slt i32 %43, 10000
br i1 %44, label %45, label %67
45: ; preds = %42
%46 = call i32 @Nokia5110_OutChar(i32 noundef 32)
%47 = load i32, ptr %2, align 4
%48 = sdiv i32 %47, 1000
%49 = add nsw i32 %48, 48
%50 = call i32 @Nokia5110_OutChar(i32 noundef %49)
%51 = load i32, ptr %2, align 4
%52 = srem i32 %51, 1000
store i32 %52, ptr %2, align 4
%53 = load i32, ptr %2, align 4
%54 = sdiv i32 %53, 100
%55 = add nsw i32 %54, 48
%56 = call i32 @Nokia5110_OutChar(i32 noundef %55)
%57 = load i32, ptr %2, align 4
%58 = srem i32 %57, 100
store i32 %58, ptr %2, align 4
%59 = load i32, ptr %2, align 4
%60 = sdiv i32 %59, 10
%61 = add nsw i32 %60, 48
%62 = call i32 @Nokia5110_OutChar(i32 noundef %61)
%63 = load i32, ptr %2, align 4
%64 = srem i32 %63, 10
%65 = add nsw i32 %64, 48
%66 = call i32 @Nokia5110_OutChar(i32 noundef %65)
br label %94
67: ; preds = %42
%68 = load i32, ptr %2, align 4
%69 = sdiv i32 %68, 10000
%70 = add nsw i32 %69, 48
%71 = call i32 @Nokia5110_OutChar(i32 noundef %70)
%72 = load i32, ptr %2, align 4
%73 = srem i32 %72, 10000
store i32 %73, ptr %2, align 4
%74 = load i32, ptr %2, align 4
%75 = sdiv i32 %74, 1000
%76 = add nsw i32 %75, 48
%77 = call i32 @Nokia5110_OutChar(i32 noundef %76)
%78 = load i32, ptr %2, align 4
%79 = srem i32 %78, 1000
store i32 %79, ptr %2, align 4
%80 = load i32, ptr %2, align 4
%81 = sdiv i32 %80, 100
%82 = add nsw i32 %81, 48
%83 = call i32 @Nokia5110_OutChar(i32 noundef %82)
%84 = load i32, ptr %2, align 4
%85 = srem i32 %84, 100
store i32 %85, ptr %2, align 4
%86 = load i32, ptr %2, align 4
%87 = sdiv i32 %86, 10
%88 = add nsw i32 %87, 48
%89 = call i32 @Nokia5110_OutChar(i32 noundef %88)
%90 = load i32, ptr %2, align 4
%91 = srem i32 %90, 10
%92 = add nsw i32 %91, 48
%93 = call i32 @Nokia5110_OutChar(i32 noundef %92)
br label %94
94: ; preds = %67, %45
br label %95
95: ; preds = %94, %26
br label %96
96: ; preds = %95, %13
br label %97
97: ; preds = %96, %5
ret void
}
declare i32 @Nokia5110_OutString(ptr noundef) #1
declare i32 @Nokia5110_OutChar(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8ybx49t5.c'
source_filename = "/tmp/tmp8ybx49t5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @init()
%3 = call i32 (...) @drawui()
%4 = call i32 (...) @dealinput()
%5 = call i32 (...) @destroy()
ret i32 0
}
declare i32 @init(...) #1
declare i32 @drawui(...) #1
declare i32 @dealinput(...) #1
declare i32 @destroy(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8ybx49t5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @init()
%3 = call i32 (...) @drawui()
%4 = call i32 (...) @dealinput()
%5 = call i32 (...) @destroy()
ret i32 0
}
declare i32 @init(...) #1
declare i32 @drawui(...) #1
declare i32 @dealinput(...) #1
declare i32 @destroy(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3wlh4syx.c'
source_filename = "/tmp/tmp3wlh4syx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GyOutSignal() #0 {
%1 = call i32 @RegWriteA(i32 noundef 643, i32 noundef 69)
%2 = call i32 @RegWriteA(i32 noundef 644, i32 noundef 67)
%3 = call i32 @RegWriteA(i32 noundef 640, i32 noundef 2)
ret void
}
declare i32 @RegWriteA(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/tmp3wlh4syx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GyOutSignal() #0 {
%1 = call i32 @RegWriteA(i32 noundef 643, i32 noundef 69)
%2 = call i32 @RegWriteA(i32 noundef 644, i32 noundef 67)
%3 = call i32 @RegWriteA(i32 noundef 640, i32 noundef 2)
ret void
}
declare i32 @RegWriteA(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/tmpqrzwfiml.c'
source_filename = "/tmp/tmpqrzwfiml.c"
target datalayout = "e-m:e-p270: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_CREAT = dso_local global i32 0, align 4
@O_WRONLY = dso_local global i32 0, align 4
@O_TRUNC = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @creat(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr @O_CREAT, align 4
%7 = load i32, ptr @O_WRONLY, align 4
%8 = or i32 %6, %7
%9 = load i32, ptr @O_TRUNC, align 4
%10 = or i32 %8, %9
%11 = load i32, ptr %4, align 4
%12 = call i32 @open(ptr noundef %5, i32 noundef %10, i32 noundef %11)
ret i32 %12
}
declare i32 @open(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/tmpqrzwfiml.c"
target datalayout = "e-m:e-p270: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_CREAT = dso_local global i32 0, align 4
@O_WRONLY = dso_local global i32 0, align 4
@O_TRUNC = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @creat(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr @O_CREAT, align 4
%7 = load i32, ptr @O_WRONLY, align 4
%8 = or i32 %6, %7
%9 = load i32, ptr @O_TRUNC, align 4
%10 = or i32 %8, %9
%11 = load i32, ptr %4, align 4
%12 = call i32 @open(ptr noundef %5, i32 noundef %10, i32 noundef %11)
ret i32 %12
}
declare i32 @open(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/tmpjlqnrz_r.c'
source_filename = "/tmp/tmpjlqnrz_r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lib_msleep(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 @msleep(i32 noundef %3)
ret void
}
declare i32 @msleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjlqnrz_r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lib_msleep(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 @msleep(i32 noundef %3)
ret void
}
declare i32 @msleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfz0r3p4i.c'
source_filename = "/tmp/tmpfz0r3p4i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"000\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"001\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"010\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"011\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"100\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"101\00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"110\00", align 1
@.str.7 = private unnamed_addr constant [4 x i8] c"111\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @to_decimal(ptr noundef %0) #0 {
%2 = alloca i8, align 1
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = call i32 @strcmp(ptr noundef @.str, ptr noundef %4)
%6 = icmp ne i32 %5, 0
br i1 %6, label %8, label %7
7: ; preds = %1
store i8 48, ptr %2, align 1
br label %44
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = call i32 @strcmp(ptr noundef @.str.1, ptr noundef %9)
%11 = icmp ne i32 %10, 0
br i1 %11, label %13, label %12
12: ; preds = %8
store i8 49, ptr %2, align 1
br label %44
13: ; preds = %8
%14 = load ptr, ptr %3, align 8
%15 = call i32 @strcmp(ptr noundef @.str.2, ptr noundef %14)
%16 = icmp ne i32 %15, 0
br i1 %16, label %18, label %17
17: ; preds = %13
store i8 50, ptr %2, align 1
br label %44
18: ; preds = %13
%19 = load ptr, ptr %3, align 8
%20 = call i32 @strcmp(ptr noundef @.str.3, ptr noundef %19)
%21 = icmp ne i32 %20, 0
br i1 %21, label %23, label %22
22: ; preds = %18
store i8 51, ptr %2, align 1
br label %44
23: ; preds = %18
%24 = load ptr, ptr %3, align 8
%25 = call i32 @strcmp(ptr noundef @.str.4, ptr noundef %24)
%26 = icmp ne i32 %25, 0
br i1 %26, label %28, label %27
27: ; preds = %23
store i8 52, ptr %2, align 1
br label %44
28: ; preds = %23
%29 = load ptr, ptr %3, align 8
%30 = call i32 @strcmp(ptr noundef @.str.5, ptr noundef %29)
%31 = icmp ne i32 %30, 0
br i1 %31, label %33, label %32
32: ; preds = %28
store i8 53, ptr %2, align 1
br label %44
33: ; preds = %28
%34 = load ptr, ptr %3, align 8
%35 = call i32 @strcmp(ptr noundef @.str.6, ptr noundef %34)
%36 = icmp ne i32 %35, 0
br i1 %36, label %38, label %37
37: ; preds = %33
store i8 54, ptr %2, align 1
br label %44
38: ; preds = %33
%39 = load ptr, ptr %3, align 8
%40 = call i32 @strcmp(ptr noundef @.str.7, ptr noundef %39)
%41 = icmp ne i32 %40, 0
br i1 %41, label %43, label %42
42: ; preds = %38
store i8 55, ptr %2, align 1
br label %44
43: ; preds = %38
store i8 45, ptr %2, align 1
br label %44
44: ; preds = %43, %42, %37, %32, %27, %22, %17, %12, %7
%45 = load i8, ptr %2, align 1
ret i8 %45
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfz0r3p4i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"000\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"001\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"010\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"011\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"100\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"101\00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"110\00", align 1
@.str.7 = private unnamed_addr constant [4 x i8] c"111\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @to_decimal(ptr noundef %0) #0 {
%2 = alloca i8, align 1
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = call i32 @strcmp(ptr noundef @.str, ptr noundef %4)
%6 = icmp ne i32 %5, 0
br i1 %6, label %8, label %7
7: ; preds = %1
store i8 48, ptr %2, align 1
br label %44
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = call i32 @strcmp(ptr noundef @.str.1, ptr noundef %9)
%11 = icmp ne i32 %10, 0
br i1 %11, label %13, label %12
12: ; preds = %8
store i8 49, ptr %2, align 1
br label %44
13: ; preds = %8
%14 = load ptr, ptr %3, align 8
%15 = call i32 @strcmp(ptr noundef @.str.2, ptr noundef %14)
%16 = icmp ne i32 %15, 0
br i1 %16, label %18, label %17
17: ; preds = %13
store i8 50, ptr %2, align 1
br label %44
18: ; preds = %13
%19 = load ptr, ptr %3, align 8
%20 = call i32 @strcmp(ptr noundef @.str.3, ptr noundef %19)
%21 = icmp ne i32 %20, 0
br i1 %21, label %23, label %22
22: ; preds = %18
store i8 51, ptr %2, align 1
br label %44
23: ; preds = %18
%24 = load ptr, ptr %3, align 8
%25 = call i32 @strcmp(ptr noundef @.str.4, ptr noundef %24)
%26 = icmp ne i32 %25, 0
br i1 %26, label %28, label %27
27: ; preds = %23
store i8 52, ptr %2, align 1
br label %44
28: ; preds = %23
%29 = load ptr, ptr %3, align 8
%30 = call i32 @strcmp(ptr noundef @.str.5, ptr noundef %29)
%31 = icmp ne i32 %30, 0
br i1 %31, label %33, label %32
32: ; preds = %28
store i8 53, ptr %2, align 1
br label %44
33: ; preds = %28
%34 = load ptr, ptr %3, align 8
%35 = call i32 @strcmp(ptr noundef @.str.6, ptr noundef %34)
%36 = icmp ne i32 %35, 0
br i1 %36, label %38, label %37
37: ; preds = %33
store i8 54, ptr %2, align 1
br label %44
38: ; preds = %33
%39 = load ptr, ptr %3, align 8
%40 = call i32 @strcmp(ptr noundef @.str.7, ptr noundef %39)
%41 = icmp ne i32 %40, 0
br i1 %41, label %43, label %42
42: ; preds = %38
store i8 55, ptr %2, align 1
br label %44
43: ; preds = %38
store i8 45, ptr %2, align 1
br label %44
44: ; preds = %43, %42, %37, %32, %27, %22, %17, %12, %7
%45 = load i8, ptr %2, align 1
ret i8 %45
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkf7emu2g.c'
source_filename = "/tmp/tmpkf7emu2g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [10 x i8] c"digits = \00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c" %d\00", align 1
@.str.2 = private unnamed_addr constant [32 x i8] c", white space = %d, other = %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 [10 x i32], align 16
store i32 0, ptr %1, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %3, align 4
br label %7
7: ; preds = %14, %0
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %8, 10
br i1 %9, label %10, label %17
10: ; preds = %7
%11 = load i32, ptr %3, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds [10 x i32], ptr %6, i64 0, i64 %12
store i32 0, ptr %13, align 4
br label %14
14: ; preds = %10
%15 = load i32, ptr %3, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %3, align 4
br label %7, !llvm.loop !6
17: ; preds = %7
br label %18
18: ; preds = %51, %17
%19 = call i32 (...) @getchar()
store i32 %19, ptr %2, align 4
%20 = load i32, ptr @EOF, align 4
%21 = icmp ne i32 %19, %20
br i1 %21, label %22, label %52
22: ; preds = %18
%23 = load i32, ptr %2, align 4
%24 = icmp sge i32 %23, 48
br i1 %24, label %25, label %35
25: ; preds = %22
%26 = load i32, ptr %2, align 4
%27 = icmp sle i32 %26, 57
br i1 %27, label %28, label %35
28: ; preds = %25
%29 = load i32, ptr %2, align 4
%30 = sub nsw i32 %29, 48
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds [10 x i32], ptr %6, i64 0, i64 %31
%33 = load i32, ptr %32, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %32, align 4
br label %51
35: ; preds = %25, %22
%36 = load i32, ptr %2, align 4
%37 = icmp eq i32 %36, 32
br i1 %37, label %44, label %38
38: ; preds = %35
%39 = load i32, ptr %2, align 4
%40 = icmp eq i32 %39, 10
br i1 %40, label %44, label %41
41: ; preds = %38
%42 = load i32, ptr %2, align 4
%43 = icmp eq i32 %42, 9
br i1 %43, label %44, label %47
44: ; preds = %41, %38, %35
%45 = load i32, ptr %4, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %4, align 4
br label %50
47: ; preds = %41
%48 = load i32, ptr %5, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %5, align 4
br label %50
50: ; preds = %47, %44
br label %51
51: ; preds = %50, %28
br label %18, !llvm.loop !8
52: ; preds = %18
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %3, align 4
br label %54
54: ; preds = %63, %52
%55 = load i32, ptr %3, align 4
%56 = icmp slt i32 %55, 10
br i1 %56, label %57, label %66
57: ; preds = %54
%58 = load i32, ptr %3, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [10 x i32], ptr %6, i64 0, i64 %59
%61 = load i32, ptr %60, align 4
%62 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %61)
br label %63
63: ; preds = %57
%64 = load i32, ptr %3, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %3, align 4
br label %54, !llvm.loop !9
66: ; preds = %54
%67 = load i32, ptr %4, align 4
%68 = load i32, ptr %5, align 4
%69 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %67, i32 noundef %68)
%70 = load i32, ptr %1, align 4
ret i32 %70
}
declare i32 @getchar(...) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkf7emu2g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [10 x i8] c"digits = \00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c" %d\00", align 1
@.str.2 = private unnamed_addr constant [32 x i8] c", white space = %d, other = %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 [10 x i32], align 16
store i32 0, ptr %1, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp slt i32 %7, 10
br i1 %8, label %.lr.ph, label %18
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %13
%10 = load i32, ptr %3, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds [10 x i32], ptr %6, i64 0, i64 %11
store i32 0, ptr %12, align 4
br label %13
13: ; preds = %9
%14 = load i32, ptr %3, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %3, align 4
%16 = load i32, ptr %3, align 4
%17 = icmp slt i32 %16, 10
br i1 %17, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %18
18: ; preds = %._crit_edge, %0
%19 = call i32 (...) @getchar()
store i32 %19, ptr %2, align 4
%20 = load i32, ptr @EOF, align 4
%21 = icmp ne i32 %19, %20
br i1 %21, label %.lr.ph2, label %55
.lr.ph2: ; preds = %18
br label %22
22: ; preds = %.lr.ph2, %51
%23 = load i32, ptr %2, align 4
%24 = icmp sge i32 %23, 48
br i1 %24, label %25, label %35
25: ; preds = %22
%26 = load i32, ptr %2, align 4
%27 = icmp sle i32 %26, 57
br i1 %27, label %28, label %35
28: ; preds = %25
%29 = load i32, ptr %2, align 4
%30 = sub nsw i32 %29, 48
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds [10 x i32], ptr %6, i64 0, i64 %31
%33 = load i32, ptr %32, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %32, align 4
br label %51
35: ; preds = %25, %22
%36 = load i32, ptr %2, align 4
%37 = icmp eq i32 %36, 32
br i1 %37, label %44, label %38
38: ; preds = %35
%39 = load i32, ptr %2, align 4
%40 = icmp eq i32 %39, 10
br i1 %40, label %44, label %41
41: ; preds = %38
%42 = load i32, ptr %2, align 4
%43 = icmp eq i32 %42, 9
br i1 %43, label %44, label %47
44: ; preds = %41, %38, %35
%45 = load i32, ptr %4, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %4, align 4
br label %50
47: ; preds = %41
%48 = load i32, ptr %5, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %5, align 4
br label %50
50: ; preds = %47, %44
br label %51
51: ; preds = %50, %28
%52 = call i32 (...) @getchar()
store i32 %52, ptr %2, align 4
%53 = load i32, ptr @EOF, align 4
%54 = icmp ne i32 %52, %53
br i1 %54, label %22, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %51
br label %55
55: ; preds = %._crit_edge3, %18
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %3, align 4
%57 = load i32, ptr %3, align 4
%58 = icmp slt i32 %57, 10
br i1 %58, label %.lr.ph5, label %70
.lr.ph5: ; preds = %55
br label %59
59: ; preds = %.lr.ph5, %65
%60 = load i32, ptr %3, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds [10 x i32], ptr %6, i64 0, i64 %61
%63 = load i32, ptr %62, align 4
%64 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %63)
br label %65
65: ; preds = %59
%66 = load i32, ptr %3, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %3, align 4
%68 = load i32, ptr %3, align 4
%69 = icmp slt i32 %68, 10
br i1 %69, label %59, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %65
br label %70
70: ; preds = %._crit_edge6, %55
%71 = load i32, ptr %4, align 4
%72 = load i32, ptr %5, align 4
%73 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %71, i32 noundef %72)
%74 = load i32, ptr %1, align 4
ret i32 %74
}
declare i32 @getchar(...) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpi7lvecoe.c'
source_filename = "/tmp/tmpi7lvecoe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [19 x i8] c"Enter the number: \00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 1, ptr %2, align 4
store i32 0, ptr %3, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1)
%5 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %1)
br label %6
6: ; preds = %9, %0
%7 = load i32, ptr %1, align 4
%8 = icmp ne i32 %7, 0
br i1 %8, label %9, label %20
9: ; preds = %6
%10 = load i32, ptr %3, align 4
%11 = load i32, ptr %1, align 4
%12 = srem i32 %11, 2
%13 = load i32, ptr %2, align 4
%14 = mul nsw i32 %12, %13
%15 = add nsw i32 %10, %14
store i32 %15, ptr %3, align 4
%16 = load i32, ptr %1, align 4
%17 = sdiv i32 %16, 2
store i32 %17, ptr %1, align 4
%18 = load i32, ptr %2, align 4
%19 = mul nsw i32 %18, 10
store i32 %19, ptr %2, align 4
br label %6, !llvm.loop !6
20: ; preds = %6
%21 = load i32, ptr %3, align 4
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %21)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpi7lvecoe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [19 x i8] c"Enter the number: \00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 1, ptr %2, align 4
store i32 0, ptr %3, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1)
%5 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %1)
%6 = load i32, ptr %1, align 4
%7 = icmp ne i32 %6, 0
br i1 %7, label %.lr.ph, label %21
.lr.ph: ; preds = %0
br label %8
8: ; preds = %.lr.ph, %8
%9 = load i32, ptr %3, align 4
%10 = load i32, ptr %1, align 4
%11 = srem i32 %10, 2
%12 = load i32, ptr %2, align 4
%13 = mul nsw i32 %11, %12
%14 = add nsw i32 %9, %13
store i32 %14, ptr %3, align 4
%15 = load i32, ptr %1, align 4
%16 = sdiv i32 %15, 2
store i32 %16, ptr %1, align 4
%17 = load i32, ptr %2, align 4
%18 = mul nsw i32 %17, 10
store i32 %18, ptr %2, align 4
%19 = load i32, ptr %1, align 4
%20 = icmp ne i32 %19, 0
br i1 %20, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %8
br label %21
21: ; preds = %._crit_edge, %0
%22 = load i32, ptr %3, align 4
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %22)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpy5v8auh5.c'
source_filename = "/tmp/tmpy5v8auh5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @read_line() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca i32, align 4
store ptr null, ptr %2, align 8
store i64 0, ptr %3, align 8
%5 = load i32, ptr @stdin, align 4
%6 = call i32 @getline(ptr noundef %2, ptr noundef %3, i32 noundef %5)
store i32 %6, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp eq i32 %7, -1
br i1 %8, label %13, label %9
9: ; preds = %0
%10 = load ptr, ptr %2, align 8
%11 = call i64 @strcmp(ptr noundef %10, ptr noundef @.str)
%12 = icmp eq i64 %11, 0
br i1 %12, label %13, label %14
13: ; preds = %9, %0
store ptr null, ptr %1, align 8
br label %16
14: ; preds = %9
%15 = load ptr, ptr %2, align 8
store ptr %15, ptr %1, align 8
br label %16
16: ; preds = %14, %13
%17 = load ptr, ptr %1, align 8
ret ptr %17
}
declare i32 @getline(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy5v8auh5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @read_line() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca i32, align 4
store ptr null, ptr %2, align 8
store i64 0, ptr %3, align 8
%5 = load i32, ptr @stdin, align 4
%6 = call i32 @getline(ptr noundef %2, ptr noundef %3, i32 noundef %5)
store i32 %6, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp eq i32 %7, -1
br i1 %8, label %13, label %9
9: ; preds = %0
%10 = load ptr, ptr %2, align 8
%11 = call i64 @strcmp(ptr noundef %10, ptr noundef @.str)
%12 = icmp eq i64 %11, 0
br i1 %12, label %13, label %14
13: ; preds = %9, %0
store ptr null, ptr %1, align 8
br label %16
14: ; preds = %9
%15 = load ptr, ptr %2, align 8
store ptr %15, ptr %1, align 8
br label %16
16: ; preds = %14, %13
%17 = load ptr, ptr %1, align 8
ret ptr %17
}
declare i32 @getline(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp99lxw3an.c'
source_filename = "/tmp/tmp99lxw3an.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_array(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 1, ptr %5, align 4
br label %8
8: ; preds = %33, %2
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp sle i32 %9, %10
br i1 %11, label %12, label %36
12: ; preds = %8
store i32 0, ptr %6, align 4
%13 = load i32, ptr %4, align 4
%14 = sub nsw i32 %13, 1
store i32 %14, ptr %7, align 4
br label %15
15: ; preds = %26, %12
%16 = load i32, ptr %6, align 4
%17 = load i32, ptr %5, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %19, label %31
19: ; preds = %15
%20 = load ptr, ptr %3, align 8
%21 = load i32, ptr %7, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i32, ptr %20, i64 %22
%24 = load i32, ptr %23, align 4
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %24)
br label %26
26: ; preds = %19
%27 = load i32, ptr %7, align 4
%28 = add nsw i32 %27, -1
store i32 %28, ptr %7, align 4
%29 = load i32, ptr %6, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %6, align 4
br label %15, !llvm.loop !6
31: ; preds = %15
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %33
33: ; preds = %31
%34 = load i32, ptr %5, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %5, align 4
br label %8, !llvm.loop !8
36: ; preds = %8
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp99lxw3an.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_array(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 1, ptr %5, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp sle i32 %8, %9
br i1 %10, label %.lr.ph2, label %40
.lr.ph2: ; preds = %2
br label %11
11: ; preds = %.lr.ph2, %34
store i32 0, ptr %6, align 4
%12 = load i32, ptr %4, align 4
%13 = sub nsw i32 %12, 1
store i32 %13, ptr %7, align 4
%14 = load i32, ptr %6, align 4
%15 = load i32, ptr %5, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %.lr.ph, label %32
.lr.ph: ; preds = %11
br label %17
17: ; preds = %.lr.ph, %24
%18 = load ptr, ptr %3, align 8
%19 = load i32, ptr %7, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i32, ptr %18, i64 %20
%22 = load i32, ptr %21, align 4
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %22)
br label %24
24: ; preds = %17
%25 = load i32, ptr %7, align 4
%26 = add nsw i32 %25, -1
store i32 %26, ptr %7, align 4
%27 = load i32, ptr %6, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %6, align 4
%29 = load i32, ptr %6, align 4
%30 = load i32, ptr %5, align 4
%31 = icmp slt i32 %29, %30
br i1 %31, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %32
32: ; preds = %._crit_edge, %11
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %34
34: ; preds = %32
%35 = load i32, ptr %5, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %5, align 4
%37 = load i32, ptr %5, align 4
%38 = load i32, ptr %4, align 4
%39 = icmp sle i32 %37, %38
br i1 %39, label %11, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %34
br label %40
40: ; preds = %._crit_edge3, %2
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpwdyl3aaz.c'
source_filename = "/tmp/tmpwdyl3aaz.c"
target datalayout = "e-m:e-p270: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/tmpwdyl3aaz.c"
target datalayout = "e-m:e-p270: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/tmp263gmo5r.c'
source_filename = "/tmp/tmp263gmo5r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"png\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"html\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"txt\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"css\00", align 1
@__const.parseExtension.ccp_file_type = private unnamed_addr constant [5 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr null], align 16
@.str.4 = private unnamed_addr constant [10 x i8] c"image/png\00", align 1
@.str.5 = private unnamed_addr constant [10 x i8] c"text/html\00", align 1
@.str.6 = private unnamed_addr constant [11 x i8] c"text/plain\00", align 1
@.str.7 = private unnamed_addr constant [9 x i8] c"text/css\00", align 1
@.str.8 = private unnamed_addr constant [25 x i8] c"application/octet-stream\00", align 1
@__const.parseExtension.cp_content_type = private unnamed_addr constant [5 x ptr] [ptr @.str.4, ptr @.str.5, ptr @.str.6, ptr @.str.7, ptr @.str.8], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @parseExtension(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [5 x ptr], align 16
%6 = alloca [5 x ptr], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr null, ptr %4, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.parseExtension.ccp_file_type, i64 40, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.parseExtension.cp_content_type, i64 40, i1 false)
%10 = load ptr, ptr %3, align 8
%11 = call i64 @strlen(ptr noundef %10)
%12 = sub nsw i64 %11, 1
%13 = trunc i64 %12 to i32
store i32 %13, ptr %7, align 4
%14 = load ptr, ptr %3, align 8
%15 = call i64 @strlen(ptr noundef %14)
%16 = sub nsw i64 %15, 1
%17 = trunc i64 %16 to i32
store i32 %17, ptr %8, align 4
store i32 0, ptr %9, align 4
br label %18
18: ; preds = %32, %1
%19 = load i32, ptr %8, align 4
%20 = icmp sgt i32 %19, 0
br i1 %20, label %21, label %29
21: ; preds = %18
%22 = load ptr, ptr %3, align 8
%23 = load i32, ptr %8, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %22, i64 %24
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp ne i32 %27, 46
br label %29
29: ; preds = %21, %18
%30 = phi i1 [ false, %18 ], [ %28, %21 ]
br i1 %30, label %31, label %35
31: ; preds = %29
br label %32
32: ; preds = %31
%33 = load i32, ptr %8, align 4
%34 = add nsw i32 %33, -1
store i32 %34, ptr %8, align 4
br label %18, !llvm.loop !6
35: ; preds = %29
%36 = load ptr, ptr %3, align 8
%37 = load i32, ptr %8, align 4
%38 = add nsw i32 %37, 1
%39 = load i32, ptr %7, align 4
%40 = call ptr @secGetStringPart(ptr noundef %36, i32 noundef %38, i32 noundef %39)
store ptr %40, ptr %4, align 8
br label %41
41: ; preds = %73, %35
%42 = load i32, ptr %9, align 4
%43 = icmp slt i32 %42, 4
br i1 %43, label %44, label %76
44: ; preds = %41
%45 = load ptr, ptr %4, align 8
%46 = call i64 @strlen(ptr noundef %45)
%47 = load i32, ptr %9, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds [5 x ptr], ptr %5, i64 0, i64 %48
%50 = load ptr, ptr %49, align 8
%51 = call i64 @strlen(ptr noundef %50)
%52 = icmp eq i64 %46, %51
br i1 %52, label %53, label %72
53: ; preds = %44
%54 = load ptr, ptr %4, align 8
%55 = load i32, ptr %9, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds [5 x ptr], ptr %5, i64 0, i64 %56
%58 = load ptr, ptr %57, align 8
%59 = load i32, ptr %9, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds [5 x ptr], ptr %5, i64 0, i64 %60
%62 = load ptr, ptr %61, align 8
%63 = call i64 @strlen(ptr noundef %62)
%64 = call i64 @strncasecmp(ptr noundef %54, ptr noundef %58, i64 noundef %63)
%65 = icmp eq i64 %64, 0
br i1 %65, label %66, label %71
66: ; preds = %53
%67 = load i32, ptr %9, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds [5 x ptr], ptr %6, i64 0, i64 %68
%70 = load ptr, ptr %69, align 8
store ptr %70, ptr %2, align 8
br label %79
71: ; preds = %53
br label %72
72: ; preds = %71, %44
br label %73
73: ; preds = %72
%74 = load i32, ptr %9, align 4
%75 = add nsw i32 %74, 1
store i32 %75, ptr %9, align 4
br label %41, !llvm.loop !8
76: ; preds = %41
%77 = getelementptr inbounds [5 x ptr], ptr %6, i64 0, i64 4
%78 = load ptr, ptr %77, align 16
store ptr %78, ptr %2, align 8
br label %79
79: ; preds = %76, %66
%80 = load ptr, ptr %2, align 8
ret ptr %80
}
; 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 i64 @strlen(ptr noundef) #2
declare ptr @secGetStringPart(ptr noundef, i32 noundef, i32 noundef) #2
declare i64 @strncasecmp(ptr noundef, ptr noundef, i64 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/tmp263gmo5r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"png\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"html\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"txt\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"css\00", align 1
@__const.parseExtension.ccp_file_type = private unnamed_addr constant [5 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr null], align 16
@.str.4 = private unnamed_addr constant [10 x i8] c"image/png\00", align 1
@.str.5 = private unnamed_addr constant [10 x i8] c"text/html\00", align 1
@.str.6 = private unnamed_addr constant [11 x i8] c"text/plain\00", align 1
@.str.7 = private unnamed_addr constant [9 x i8] c"text/css\00", align 1
@.str.8 = private unnamed_addr constant [25 x i8] c"application/octet-stream\00", align 1
@__const.parseExtension.cp_content_type = private unnamed_addr constant [5 x ptr] [ptr @.str.4, ptr @.str.5, ptr @.str.6, ptr @.str.7, ptr @.str.8], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @parseExtension(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [5 x ptr], align 16
%6 = alloca [5 x ptr], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr null, ptr %4, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.parseExtension.ccp_file_type, i64 40, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.parseExtension.cp_content_type, i64 40, i1 false)
%10 = load ptr, ptr %3, align 8
%11 = call i64 @strlen(ptr noundef %10)
%12 = sub nsw i64 %11, 1
%13 = trunc i64 %12 to i32
store i32 %13, ptr %7, align 4
%14 = load ptr, ptr %3, align 8
%15 = call i64 @strlen(ptr noundef %14)
%16 = sub nsw i64 %15, 1
%17 = trunc i64 %16 to i32
store i32 %17, ptr %8, align 4
store i32 0, ptr %9, align 4
br label %18
18: ; preds = %32, %1
%19 = load i32, ptr %8, align 4
%20 = icmp sgt i32 %19, 0
br i1 %20, label %21, label %29
21: ; preds = %18
%22 = load ptr, ptr %3, align 8
%23 = load i32, ptr %8, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %22, i64 %24
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp ne i32 %27, 46
br label %29
29: ; preds = %21, %18
%30 = phi i1 [ false, %18 ], [ %28, %21 ]
br i1 %30, label %31, label %35
31: ; preds = %29
br label %32
32: ; preds = %31
%33 = load i32, ptr %8, align 4
%34 = add nsw i32 %33, -1
store i32 %34, ptr %8, align 4
br label %18, !llvm.loop !6
35: ; preds = %29
%36 = load ptr, ptr %3, align 8
%37 = load i32, ptr %8, align 4
%38 = add nsw i32 %37, 1
%39 = load i32, ptr %7, align 4
%40 = call ptr @secGetStringPart(ptr noundef %36, i32 noundef %38, i32 noundef %39)
store ptr %40, ptr %4, align 8
%41 = load i32, ptr %9, align 4
%42 = icmp slt i32 %41, 4
br i1 %42, label %.lr.ph, label %77
.lr.ph: ; preds = %35
br label %43
43: ; preds = %.lr.ph, %72
%44 = load ptr, ptr %4, align 8
%45 = call i64 @strlen(ptr noundef %44)
%46 = load i32, ptr %9, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds [5 x ptr], ptr %5, i64 0, i64 %47
%49 = load ptr, ptr %48, align 8
%50 = call i64 @strlen(ptr noundef %49)
%51 = icmp eq i64 %45, %50
br i1 %51, label %52, label %71
52: ; preds = %43
%53 = load ptr, ptr %4, align 8
%54 = load i32, ptr %9, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds [5 x ptr], ptr %5, i64 0, i64 %55
%57 = load ptr, ptr %56, align 8
%58 = load i32, ptr %9, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [5 x ptr], ptr %5, i64 0, i64 %59
%61 = load ptr, ptr %60, align 8
%62 = call i64 @strlen(ptr noundef %61)
%63 = call i64 @strncasecmp(ptr noundef %53, ptr noundef %57, i64 noundef %62)
%64 = icmp eq i64 %63, 0
br i1 %64, label %65, label %70
65: ; preds = %52
%66 = load i32, ptr %9, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds [5 x ptr], ptr %6, i64 0, i64 %67
%69 = load ptr, ptr %68, align 8
store ptr %69, ptr %2, align 8
br label %80
70: ; preds = %52
br label %71
71: ; preds = %70, %43
br label %72
72: ; preds = %71
%73 = load i32, ptr %9, align 4
%74 = add nsw i32 %73, 1
store i32 %74, ptr %9, align 4
%75 = load i32, ptr %9, align 4
%76 = icmp slt i32 %75, 4
br i1 %76, label %43, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %72
br label %77
77: ; preds = %._crit_edge, %35
%78 = getelementptr inbounds [5 x ptr], ptr %6, i64 0, i64 4
%79 = load ptr, ptr %78, align 16
store ptr %79, ptr %2, align 8
br label %80
80: ; preds = %77, %65
%81 = load ptr, ptr %2, align 8
ret ptr %81
}
; 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 i64 @strlen(ptr noundef) #2
declare ptr @secGetStringPart(ptr noundef, i32 noundef, i32 noundef) #2
declare i64 @strncasecmp(ptr noundef, ptr noundef, i64 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/tmpjyrsrxaq.c'
source_filename = "/tmp/tmpjyrsrxaq.c"
target datalayout = "e-m:e-p270: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/tmpjyrsrxaq.c"
target datalayout = "e-m:e-p270: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/tmpz2pe63pe.c'
source_filename = "/tmp/tmpz2pe63pe.c"
target datalayout = "e-m:e-p270: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 [28 x i8] c"FATAL ERROR: Out of memory\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @double_alloc3p(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = sext i32 %4 to i64
%6 = mul i64 %5, 8
%7 = trunc i64 %6 to i32
%8 = call i64 @malloc(i32 noundef %7)
%9 = inttoptr i64 %8 to ptr
store ptr %9, ptr %3, align 8
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %15
11: ; preds = %1
%12 = load i32, ptr @stderr, align 4
%13 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str)
%14 = call i32 @exit(i32 noundef 1) #3
unreachable
15: ; preds = %1
%16 = load ptr, ptr %3, align 8
ret ptr %16
}
declare i64 @malloc(i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpz2pe63pe.c"
target datalayout = "e-m:e-p270: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 [28 x i8] c"FATAL ERROR: Out of memory\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @double_alloc3p(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = sext i32 %4 to i64
%6 = mul i64 %5, 8
%7 = trunc i64 %6 to i32
%8 = call i64 @malloc(i32 noundef %7)
%9 = inttoptr i64 %8 to ptr
store ptr %9, ptr %3, align 8
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %15
11: ; preds = %1
%12 = load i32, ptr @stderr, align 4
%13 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str)
%14 = call i32 @exit(i32 noundef 1) #3
unreachable
15: ; preds = %1
%16 = load ptr, ptr %3, align 8
ret ptr %16
}
declare i64 @malloc(i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwtpbqrqs.c'
source_filename = "/tmp/tmpwtpbqrqs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter your text: \00", align 1
@stdin = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [57 x i8] c"Maximum buffer size exceeded! Maximum is: %d characters.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @readCli(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i8, align 1
%6 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 40, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = sext i32 %8 to i64
%10 = mul i64 %9, 1
%11 = trunc i64 %10 to i32
%12 = call i64 @malloc(i32 noundef %11)
%13 = inttoptr i64 %12 to ptr
store ptr %13, ptr %4, align 8
%14 = load ptr, ptr %4, align 8
%15 = icmp eq ptr %14, null
br i1 %15, label %16, label %18
16: ; preds = %1
%17 = call i32 @exit(i32 noundef 1) #3
unreachable
18: ; preds = %1
store i32 0, ptr %6, align 4
br label %19
19: ; preds = %50, %18
%20 = load i32, ptr @stdin, align 4
%21 = call signext i8 @fgetc(i32 noundef %20)
store i8 %21, ptr %5, align 1
%22 = sext i8 %21 to i32
%23 = icmp ne i32 %22, 10
br i1 %23, label %24, label %57
24: ; preds = %19
%25 = load i32, ptr %6, align 4
%26 = srem i32 %25, 40
%27 = icmp eq i32 %26, 0
br i1 %27, label %28, label %45
28: ; preds = %24
%29 = load i32, ptr %6, align 4
%30 = icmp ne i32 %29, 0
br i1 %30, label %31, label %45
31: ; preds = %28
%32 = load ptr, ptr %4, align 8
%33 = load i32, ptr %3, align 4
%34 = mul nsw i32 %33, 2
%35 = sext i32 %34 to i64
%36 = mul i64 %35, 1
%37 = trunc i64 %36 to i32
%38 = call i64 @realloc(ptr noundef %32, i32 noundef %37)
%39 = inttoptr i64 %38 to ptr
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 %44
42: ; preds = %31
%43 = call i32 @exit(i32 noundef 3) #3
unreachable
44: ; preds = %31
br label %45
45: ; preds = %44, %28, %24
%46 = load i32, ptr %6, align 4
%47 = icmp sge i32 %46, 80
br i1 %47, label %48, label %50
48: ; preds = %45
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef 80)
br label %57
50: ; preds = %45
%51 = load i8, ptr %5, align 1
%52 = load ptr, ptr %4, align 8
%53 = load i32, ptr %6, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %6, align 4
%55 = sext i32 %53 to i64
%56 = getelementptr inbounds i8, ptr %52, i64 %55
store i8 %51, ptr %56, align 1
br label %19, !llvm.loop !6
57: ; preds = %48, %19
%58 = load ptr, ptr %4, align 8
%59 = load i32, ptr %6, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds i8, ptr %58, i64 %60
store i8 0, ptr %61, align 1
%62 = load ptr, ptr %4, align 8
%63 = load i32, ptr %6, align 4
%64 = add nsw i32 %63, 1
%65 = sext i32 %64 to i64
%66 = mul i64 %65, 1
%67 = trunc i64 %66 to i32
%68 = call i64 @realloc(ptr noundef %62, i32 noundef %67)
%69 = inttoptr i64 %68 to ptr
store ptr %69, ptr %4, align 8
%70 = load ptr, ptr %4, align 8
%71 = icmp eq ptr %70, null
br i1 %71, label %72, label %74
72: ; preds = %57
%73 = call i32 @exit(i32 noundef 4) #3
unreachable
74: ; preds = %57
%75 = load i32, ptr %6, align 4
%76 = add nsw i32 %75, 1
%77 = load ptr, ptr %2, align 8
store i32 %76, ptr %77, align 4
%78 = load ptr, ptr %4, align 8
ret ptr %78
}
declare i32 @printf(ptr noundef, ...) #1
declare i64 @malloc(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare signext i8 @fgetc(i32 noundef) #1
declare i64 @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" }
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/tmpwtpbqrqs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter your text: \00", align 1
@stdin = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [57 x i8] c"Maximum buffer size exceeded! Maximum is: %d characters.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @readCli(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i8, align 1
%6 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 40, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = sext i32 %8 to i64
%10 = mul i64 %9, 1
%11 = trunc i64 %10 to i32
%12 = call i64 @malloc(i32 noundef %11)
%13 = inttoptr i64 %12 to ptr
store ptr %13, ptr %4, align 8
%14 = load ptr, ptr %4, align 8
%15 = icmp eq ptr %14, null
br i1 %15, label %16, label %18
16: ; preds = %1
%17 = call i32 @exit(i32 noundef 1) #3
unreachable
18: ; preds = %1
store i32 0, ptr %6, align 4
%19 = load i32, ptr @stdin, align 4
%20 = call signext i8 @fgetc(i32 noundef %19)
store i8 %20, ptr %5, align 1
%21 = sext i8 %20 to i32
%22 = icmp ne i32 %21, 10
br i1 %22, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %18
br label %23
23: ; preds = %.lr.ph, %49
%24 = load i32, ptr %6, align 4
%25 = srem i32 %24, 40
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %44
27: ; preds = %23
%28 = load i32, ptr %6, align 4
%29 = icmp ne i32 %28, 0
br i1 %29, label %30, label %44
30: ; preds = %27
%31 = load ptr, ptr %4, align 8
%32 = load i32, ptr %3, align 4
%33 = mul nsw i32 %32, 2
%34 = sext i32 %33 to i64
%35 = mul i64 %34, 1
%36 = trunc i64 %35 to i32
%37 = call i64 @realloc(ptr noundef %31, i32 noundef %36)
%38 = inttoptr i64 %37 to ptr
store ptr %38, ptr %4, align 8
%39 = load ptr, ptr %4, align 8
%40 = icmp eq ptr %39, null
br i1 %40, label %41, label %43
41: ; preds = %30
%42 = call i32 @exit(i32 noundef 3) #3
unreachable
43: ; preds = %30
br label %44
44: ; preds = %43, %27, %23
%45 = load i32, ptr %6, align 4
%46 = icmp sge i32 %45, 80
br i1 %46, label %47, label %49
47: ; preds = %44
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef 80)
br label %60
49: ; preds = %44
%50 = load i8, ptr %5, align 1
%51 = load ptr, ptr %4, align 8
%52 = load i32, ptr %6, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %6, align 4
%54 = sext i32 %52 to i64
%55 = getelementptr inbounds i8, ptr %51, i64 %54
store i8 %50, ptr %55, align 1
%56 = load i32, ptr @stdin, align 4
%57 = call signext i8 @fgetc(i32 noundef %56)
store i8 %57, ptr %5, align 1
%58 = sext i8 %57 to i32
%59 = icmp ne i32 %58, 10
br i1 %59, label %23, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %49
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %18
br label %60
60: ; preds = %.loopexit, %47
%61 = load ptr, ptr %4, align 8
%62 = load i32, ptr %6, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds i8, ptr %61, i64 %63
store i8 0, ptr %64, align 1
%65 = load ptr, ptr %4, align 8
%66 = load i32, ptr %6, align 4
%67 = add nsw i32 %66, 1
%68 = sext i32 %67 to i64
%69 = mul i64 %68, 1
%70 = trunc i64 %69 to i32
%71 = call i64 @realloc(ptr noundef %65, i32 noundef %70)
%72 = inttoptr i64 %71 to ptr
store ptr %72, ptr %4, align 8
%73 = load ptr, ptr %4, align 8
%74 = icmp eq ptr %73, null
br i1 %74, label %75, label %77
75: ; preds = %60
%76 = call i32 @exit(i32 noundef 4) #3
unreachable
77: ; preds = %60
%78 = load i32, ptr %6, align 4
%79 = add nsw i32 %78, 1
%80 = load ptr, ptr %2, align 8
store i32 %79, ptr %80, align 4
%81 = load ptr, ptr %4, align 8
ret ptr %81
}
declare i32 @printf(ptr noundef, ...) #1
declare i64 @malloc(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare signext i8 @fgetc(i32 noundef) #1
declare i64 @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" }
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/tmpcu9fv1p0.c'
source_filename = "/tmp/tmpcu9fv1p0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @main() #0 {
%1 = call i32 @f(i32 noundef 1)
%2 = call i32 @f(i32 noundef 3)
ret void
}
declare i32 @f(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcu9fv1p0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @main() #0 {
%1 = call i32 @f(i32 noundef 1)
%2 = call i32 @f(i32 noundef 3)
ret void
}
declare i32 @f(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpt5mwa18t.c'
source_filename = "/tmp/tmpt5mwa18t.c"
target datalayout = "e-m:e-p270: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/tmpt5mwa18t.c"
target datalayout = "e-m:e-p270: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/tmpsdu_uj3j.c'
source_filename = "/tmp/tmpsdu_uj3j.c"
target datalayout = "e-m:e-p270: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/tmpsdu_uj3j.c"
target datalayout = "e-m:e-p270: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/tmpytloka1w.c'
source_filename = "/tmp/tmpytloka1w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter any string : \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [1000 x i8], align 16
%3 = alloca [1000 x i8], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
%6 = call i32 @printf(ptr noundef @.str)
%7 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %7)
%9 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%10 = call i32 @strlen(ptr noundef %9)
%11 = sub nsw i32 %10, 1
store i32 %11, ptr %4, align 4
br label %12
12: ; preds = %15, %0
%13 = load i32, ptr %4, align 4
%14 = icmp sge i32 %13, 0
br i1 %14, label %15, label %25
15: ; preds = %12
%16 = load i32, ptr %4, align 4
%17 = add nsw i32 %16, -1
store i32 %17, ptr %4, align 4
%18 = sext i32 %16 to i64
%19 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %18
%20 = load i8, ptr %19, align 1
%21 = load i32, ptr %5, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %5, align 4
%23 = sext i32 %21 to i64
%24 = getelementptr inbounds [1000 x i8], ptr %3, i64 0, i64 %23
store i8 %20, ptr %24, align 1
br label %12, !llvm.loop !6
25: ; preds = %12
%26 = load i32, ptr %5, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [1000 x i8], ptr %3, i64 0, i64 %27
store i8 0, ptr %28, align 1
store i32 0, ptr %4, align 4
br label %29
29: ; preds = %48, %25
%30 = load i32, ptr %4, align 4
%31 = getelementptr inbounds [1000 x i8], ptr %3, i64 0, i64 0
%32 = call i32 @strlen(ptr noundef %31)
%33 = icmp slt i32 %30, %32
br i1 %33, label %34, label %51
34: ; preds = %29
%35 = load i32, ptr %4, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [1000 x i8], ptr %3, i64 0, i64 %36
%38 = load i8, ptr %37, align 1
%39 = sext i8 %38 to i32
%40 = load i32, ptr %4, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %41
%43 = load i8, ptr %42, align 1
%44 = sext i8 %43 to i32
%45 = icmp ne i32 %39, %44
br i1 %45, label %46, label %47
46: ; preds = %34
store i32 0, ptr %1, align 4
br label %52
47: ; preds = %34
br label %48
48: ; preds = %47
%49 = load i32, ptr %4, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %4, align 4
br label %29, !llvm.loop !8
51: ; preds = %29
store i32 1, ptr %1, align 4
br label %52
52: ; preds = %51, %46
%53 = load i32, ptr %1, align 4
ret i32 %53
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpytloka1w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter any string : \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [1000 x i8], align 16
%3 = alloca [1000 x i8], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
%6 = call i32 @printf(ptr noundef @.str)
%7 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %7)
%9 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%10 = call i32 @strlen(ptr noundef %9)
%11 = sub nsw i32 %10, 1
store i32 %11, ptr %4, align 4
%12 = load i32, ptr %4, align 4
%13 = icmp sge i32 %12, 0
br i1 %13, label %.lr.ph, label %26
.lr.ph: ; preds = %0
br label %14
14: ; preds = %.lr.ph, %14
%15 = load i32, ptr %4, align 4
%16 = add nsw i32 %15, -1
store i32 %16, ptr %4, align 4
%17 = sext i32 %15 to i64
%18 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %17
%19 = load i8, ptr %18, align 1
%20 = load i32, ptr %5, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %5, align 4
%22 = sext i32 %20 to i64
%23 = getelementptr inbounds [1000 x i8], ptr %3, i64 0, i64 %22
store i8 %19, ptr %23, align 1
%24 = load i32, ptr %4, align 4
%25 = icmp sge i32 %24, 0
br i1 %25, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %26
26: ; preds = %._crit_edge, %0
%27 = load i32, ptr %5, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [1000 x i8], ptr %3, i64 0, i64 %28
store i8 0, ptr %29, align 1
store i32 0, ptr %4, align 4
%30 = load i32, ptr %4, align 4
%31 = getelementptr inbounds [1000 x i8], ptr %3, i64 0, i64 0
%32 = call i32 @strlen(ptr noundef %31)
%33 = icmp slt i32 %30, %32
br i1 %33, label %.lr.ph2, label %54
.lr.ph2: ; preds = %26
br label %34
34: ; preds = %.lr.ph2, %48
%35 = load i32, ptr %4, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [1000 x i8], ptr %3, i64 0, i64 %36
%38 = load i8, ptr %37, align 1
%39 = sext i8 %38 to i32
%40 = load i32, ptr %4, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %41
%43 = load i8, ptr %42, align 1
%44 = sext i8 %43 to i32
%45 = icmp ne i32 %39, %44
br i1 %45, label %46, label %47
46: ; preds = %34
store i32 0, ptr %1, align 4
br label %55
47: ; preds = %34
br label %48
48: ; preds = %47
%49 = load i32, ptr %4, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %4, align 4
%51 = load i32, ptr %4, align 4
%52 = call i32 @strlen(ptr noundef %31)
%53 = icmp slt i32 %51, %52
br i1 %53, label %34, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %48
br label %54
54: ; preds = %._crit_edge3, %26
store i32 1, ptr %1, align 4
br label %55
55: ; preds = %54, %46
%56 = load i32, ptr %1, align 4
ret i32 %56
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp61g70opt.c'
source_filename = "/tmp/tmp61g70opt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @log10(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = fptosi float %3 to i32
%5 = call float @log(i32 noundef %4)
%6 = call float @log(i32 noundef 10)
%7 = fdiv float %5, %6
ret float %7
}
declare float @log(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp61g70opt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @log10(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = fptosi float %3 to i32
%5 = call float @log(i32 noundef %4)
%6 = call float @log(i32 noundef 10)
%7 = fdiv float %5, %6
ret float %7
}
declare float @log(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphq9chdhk.c'
source_filename = "/tmp/tmphq9chdhk.c"
target datalayout = "e-m:e-p270: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/tmphq9chdhk.c"
target datalayout = "e-m:e-p270: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/tmpnj9te17o.c'
source_filename = "/tmp/tmpnj9te17o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Hello, my name is %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_name_as_is(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, ptr noundef %3)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnj9te17o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Hello, my name is %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_name_as_is(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, ptr noundef %3)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpn15x4_sx.c'
source_filename = "/tmp/tmpn15x4_sx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @main() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = call ptr @malloc(i32 noundef 1)
store ptr %3, ptr %1, align 8
%4 = load ptr, ptr %1, align 8
%5 = call ptr @foo(ptr noundef %4)
store ptr %5, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
store i8 1, ptr %6, align 1
ret void
}
declare ptr @malloc(i32 noundef) #1
declare ptr @foo(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpn15x4_sx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @main() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = call ptr @malloc(i32 noundef 1)
store ptr %3, ptr %1, align 8
%4 = load ptr, ptr %1, align 8
%5 = call ptr @foo(ptr noundef %4)
store ptr %5, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
store i8 1, ptr %6, align 1
ret void
}
declare ptr @malloc(i32 noundef) #1
declare ptr @foo(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgdcldr_1.c'
source_filename = "/tmp/tmpgdcldr_1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @matvec3_neon(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load ptr, ptr %6, align 8
%10 = call i32 @matvec3_c(ptr noundef %7, ptr noundef %8, ptr noundef %9)
ret void
}
declare i32 @matvec3_c(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/tmpgdcldr_1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @matvec3_neon(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load ptr, ptr %6, align 8
%10 = call i32 @matvec3_c(ptr noundef %7, ptr noundef %8, ptr noundef %9)
ret void
}
declare i32 @matvec3_c(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/tmpchc7uk27.c'
source_filename = "/tmp/tmpchc7uk27.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"key: %d\0A\00", align 1
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_key(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)
%5 = load i32, ptr @stdout, align 4
%6 = call i32 @fflush(i32 noundef %5)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @fflush(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpchc7uk27.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"key: %d\0A\00", align 1
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_key(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)
%5 = load i32, ptr @stdout, align 4
%6 = call i32 @fflush(i32 noundef %5)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @fflush(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwi069697.c'
source_filename = "/tmp/tmpwi069697.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"%.5e \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @array_print(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %8)
store i64 0, ptr %7, align 8
br label %10
10: ; preds = %27, %3
%11 = load i64, ptr %7, align 8
%12 = load i64, ptr %6, align 8
%13 = icmp ult i64 %11, %12
br i1 %13, label %14, label %30
14: ; preds = %10
%15 = load i64, ptr %7, align 8
%16 = urem i64 %15, 16
%17 = icmp eq i64 %16, 0
br i1 %17, label %18, label %20
18: ; preds = %14
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %20
20: ; preds = %18, %14
%21 = load ptr, ptr %5, align 8
%22 = load i64, ptr %7, align 8
%23 = getelementptr inbounds float, ptr %21, i64 %22
%24 = load float, ptr %23, align 4
%25 = fpext float %24 to double
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %25)
br label %27
27: ; preds = %20
%28 = load i64, ptr %7, align 8
%29 = add i64 %28, 1
store i64 %29, ptr %7, align 8
br label %10, !llvm.loop !6
30: ; preds = %10
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwi069697.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"%.5e \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @array_print(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %8)
store i64 0, ptr %7, align 8
%10 = load i64, ptr %7, align 8
%11 = load i64, ptr %6, align 8
%12 = icmp ult i64 %10, %11
br i1 %12, label %.lr.ph, label %32
.lr.ph: ; preds = %3
br label %13
13: ; preds = %.lr.ph, %26
%14 = load i64, ptr %7, align 8
%15 = urem i64 %14, 16
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %19
17: ; preds = %13
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %19
19: ; preds = %17, %13
%20 = load ptr, ptr %5, align 8
%21 = load i64, ptr %7, align 8
%22 = getelementptr inbounds float, ptr %20, i64 %21
%23 = load float, ptr %22, align 4
%24 = fpext float %23 to double
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %24)
br label %26
26: ; preds = %19
%27 = load i64, ptr %7, align 8
%28 = add i64 %27, 1
store i64 %28, ptr %7, align 8
%29 = load i64, ptr %7, align 8
%30 = load i64, ptr %6, align 8
%31 = icmp ult i64 %29, %30
br i1 %31, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %26
br label %32
32: ; preds = %._crit_edge, %3
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpvjfaz_76.c'
source_filename = "/tmp/tmpvjfaz_76.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@BUFSIZ = dso_local global i32 0, align 4
@stdin = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load i32, ptr @BUFSIZ, align 4
%9 = zext i32 %8 to i64
%10 = call ptr @llvm.stacksave()
store ptr %10, ptr %6, align 8
%11 = alloca i8, i64 %9, align 16
store i64 %9, ptr %7, align 8
%12 = load i32, ptr @stdin, align 4
%13 = call i32 @mysetbuf(i32 noundef %12, ptr noundef %11)
store i32 0, ptr %3, align 4
%14 = load ptr, ptr %6, align 8
call void @llvm.stackrestore(ptr %14)
%15 = load i32, ptr %3, align 4
ret i32 %15
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @mysetbuf(i32 noundef, ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvjfaz_76.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@BUFSIZ = dso_local global i32 0, align 4
@stdin = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load i32, ptr @BUFSIZ, align 4
%9 = zext i32 %8 to i64
%10 = call ptr @llvm.stacksave()
store ptr %10, ptr %6, align 8
%11 = alloca i8, i64 %9, align 16
store i64 %9, ptr %7, align 8
%12 = load i32, ptr @stdin, align 4
%13 = call i32 @mysetbuf(i32 noundef %12, ptr noundef %11)
store i32 0, ptr %3, align 4
%14 = load ptr, ptr %6, align 8
call void @llvm.stackrestore(ptr %14)
%15 = load i32, ptr %3, align 4
ret i32 %15
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @mysetbuf(i32 noundef, ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpulz3kpu0.c'
source_filename = "/tmp/tmpulz3kpu0.c"
target datalayout = "e-m:e-p270: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/tmpulz3kpu0.c"
target datalayout = "e-m:e-p270: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/tmpe0o051ai.c'
source_filename = "/tmp/tmpe0o051ai.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"w\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"gmvinput ascii\0A\0Anodev %5d\0A\00", align 1
@.str.2 = private unnamed_addr constant [30 x i8] c" %20.15lf %20.15lf %20.15lf\0A\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"\0Acells %5d\0A\00", align 1
@.str.4 = private unnamed_addr constant [12 x i8] c"\0A\0Apolygons\0A\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"%3d 3\00", align 1
@.str.6 = private unnamed_addr constant [29 x i8] c" %20.15lf %20.15lf %20.15lf\0A\00", align 1
@.str.7 = private unnamed_addr constant [34 x i8] c" %20.15lf %20.15lf %20.15lf\0A\00", align 1
@.str.8 = private unnamed_addr constant [9 x i8] c"endpoly\0A\00", align 1
@.str.9 = private unnamed_addr constant [8 x i8] c"\0Aendgmv\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @scg_write_front_gmv(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%13 = load ptr, ptr %10, align 8
%14 = call ptr @fopen(ptr noundef %13, ptr noundef @.str)
store ptr %14, ptr %12, align 8
%15 = load ptr, ptr %12, align 8
%16 = load i32, ptr %6, align 4
%17 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %15, ptr noundef @.str.1, i32 noundef %16)
store i32 0, ptr %11, align 4
br label %18
18: ; preds = %46, %5
%19 = load i32, ptr %11, align 4
%20 = load i32, ptr %6, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %22, label %49
22: ; preds = %18
%23 = load ptr, ptr %12, align 8
%24 = load ptr, ptr %8, align 8
%25 = load i32, ptr %11, align 4
%26 = mul nsw i32 3, %25
%27 = add nsw i32 %26, 0
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds double, ptr %24, i64 %28
%30 = load double, ptr %29, align 8
%31 = load ptr, ptr %8, align 8
%32 = load i32, ptr %11, align 4
%33 = mul nsw i32 3, %32
%34 = add nsw i32 %33, 1
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds double, ptr %31, i64 %35
%37 = load double, ptr %36, align 8
%38 = load ptr, ptr %8, align 8
%39 = load i32, ptr %11, align 4
%40 = mul nsw i32 3, %39
%41 = add nsw i32 %40, 2
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds double, ptr %38, i64 %42
%44 = load double, ptr %43, align 8
%45 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %23, ptr noundef @.str.2, double noundef %30, double noundef %37, double noundef %44)
br label %46
46: ; preds = %22
%47 = load i32, ptr %11, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %11, align 4
br label %18, !llvm.loop !6
49: ; preds = %18
%50 = load ptr, ptr %12, align 8
%51 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %50, ptr noundef @.str.3, i32 noundef 0)
%52 = load ptr, ptr %12, align 8
%53 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %52, ptr noundef @.str.4)
store i32 0, ptr %11, align 4
br label %54
54: ; preds = %184, %49
%55 = load i32, ptr %11, align 4
%56 = load i32, ptr %7, align 4
%57 = icmp slt i32 %55, %56
br i1 %57, label %58, label %187
58: ; preds = %54
%59 = load ptr, ptr %12, align 8
%60 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %59, ptr noundef @.str.5, i32 noundef 0)
%61 = load ptr, ptr %12, align 8
%62 = load ptr, ptr %8, align 8
%63 = load ptr, ptr %9, align 8
%64 = load i32, ptr %11, align 4
%65 = mul nsw i32 3, %64
%66 = add nsw i32 %65, 0
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds i32, ptr %63, i64 %67
%69 = load i32, ptr %68, align 4
%70 = mul nsw i32 3, %69
%71 = add nsw i32 %70, 0
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds double, ptr %62, i64 %72
%74 = load double, ptr %73, align 8
%75 = load ptr, ptr %8, align 8
%76 = load ptr, ptr %9, align 8
%77 = load i32, ptr %11, align 4
%78 = mul nsw i32 3, %77
%79 = add nsw i32 %78, 1
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds i32, ptr %76, i64 %80
%82 = load i32, ptr %81, align 4
%83 = mul nsw i32 3, %82
%84 = add nsw i32 %83, 0
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds double, ptr %75, i64 %85
%87 = load double, ptr %86, align 8
%88 = load ptr, ptr %8, align 8
%89 = load ptr, ptr %9, align 8
%90 = load i32, ptr %11, align 4
%91 = mul nsw i32 3, %90
%92 = add nsw i32 %91, 2
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds i32, ptr %89, i64 %93
%95 = load i32, ptr %94, align 4
%96 = mul nsw i32 3, %95
%97 = add nsw i32 %96, 0
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds double, ptr %88, i64 %98
%100 = load double, ptr %99, align 8
%101 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %61, ptr noundef @.str.6, double noundef %74, double noundef %87, double noundef %100)
%102 = load ptr, ptr %12, align 8
%103 = load ptr, ptr %8, align 8
%104 = load ptr, ptr %9, align 8
%105 = load i32, ptr %11, align 4
%106 = mul nsw i32 3, %105
%107 = add nsw i32 %106, 0
%108 = sext i32 %107 to i64
%109 = getelementptr inbounds i32, ptr %104, i64 %108
%110 = load i32, ptr %109, align 4
%111 = mul nsw i32 3, %110
%112 = add nsw i32 %111, 1
%113 = sext i32 %112 to i64
%114 = getelementptr inbounds double, ptr %103, i64 %113
%115 = load double, ptr %114, align 8
%116 = load ptr, ptr %8, align 8
%117 = load ptr, ptr %9, align 8
%118 = load i32, ptr %11, align 4
%119 = mul nsw i32 3, %118
%120 = add nsw i32 %119, 1
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds i32, ptr %117, i64 %121
%123 = load i32, ptr %122, align 4
%124 = mul nsw i32 3, %123
%125 = add nsw i32 %124, 1
%126 = sext i32 %125 to i64
%127 = getelementptr inbounds double, ptr %116, i64 %126
%128 = load double, ptr %127, align 8
%129 = load ptr, ptr %8, align 8
%130 = load ptr, ptr %9, align 8
%131 = load i32, ptr %11, align 4
%132 = mul nsw i32 3, %131
%133 = add nsw i32 %132, 2
%134 = sext i32 %133 to i64
%135 = getelementptr inbounds i32, ptr %130, i64 %134
%136 = load i32, ptr %135, align 4
%137 = mul nsw i32 3, %136
%138 = add nsw i32 %137, 1
%139 = sext i32 %138 to i64
%140 = getelementptr inbounds double, ptr %129, i64 %139
%141 = load double, ptr %140, align 8
%142 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %102, ptr noundef @.str.7, double noundef %115, double noundef %128, double noundef %141)
%143 = load ptr, ptr %12, align 8
%144 = load ptr, ptr %8, align 8
%145 = load ptr, ptr %9, align 8
%146 = load i32, ptr %11, align 4
%147 = mul nsw i32 3, %146
%148 = add nsw i32 %147, 0
%149 = sext i32 %148 to i64
%150 = getelementptr inbounds i32, ptr %145, i64 %149
%151 = load i32, ptr %150, align 4
%152 = mul nsw i32 3, %151
%153 = add nsw i32 %152, 2
%154 = sext i32 %153 to i64
%155 = getelementptr inbounds double, ptr %144, i64 %154
%156 = load double, ptr %155, align 8
%157 = load ptr, ptr %8, align 8
%158 = load ptr, ptr %9, align 8
%159 = load i32, ptr %11, align 4
%160 = mul nsw i32 3, %159
%161 = add nsw i32 %160, 1
%162 = sext i32 %161 to i64
%163 = getelementptr inbounds i32, ptr %158, i64 %162
%164 = load i32, ptr %163, align 4
%165 = mul nsw i32 3, %164
%166 = add nsw i32 %165, 2
%167 = sext i32 %166 to i64
%168 = getelementptr inbounds double, ptr %157, i64 %167
%169 = load double, ptr %168, align 8
%170 = load ptr, ptr %8, align 8
%171 = load ptr, ptr %9, align 8
%172 = load i32, ptr %11, align 4
%173 = mul nsw i32 3, %172
%174 = add nsw i32 %173, 2
%175 = sext i32 %174 to i64
%176 = getelementptr inbounds i32, ptr %171, i64 %175
%177 = load i32, ptr %176, align 4
%178 = mul nsw i32 3, %177
%179 = add nsw i32 %178, 2
%180 = sext i32 %179 to i64
%181 = getelementptr inbounds double, ptr %170, i64 %180
%182 = load double, ptr %181, align 8
%183 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %143, ptr noundef @.str.7, double noundef %156, double noundef %169, double noundef %182)
br label %184
184: ; preds = %58
%185 = load i32, ptr %11, align 4
%186 = add nsw i32 %185, 1
store i32 %186, ptr %11, align 4
br label %54, !llvm.loop !8
187: ; preds = %54
%188 = load ptr, ptr %12, align 8
%189 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %188, ptr noundef @.str.8)
%190 = load ptr, ptr %12, align 8
%191 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %190, ptr noundef @.str.9)
%192 = load ptr, ptr %12, align 8
%193 = call i32 @fclose(ptr noundef %192)
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe0o051ai.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"w\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"gmvinput ascii\0A\0Anodev %5d\0A\00", align 1
@.str.2 = private unnamed_addr constant [30 x i8] c" %20.15lf %20.15lf %20.15lf\0A\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"\0Acells %5d\0A\00", align 1
@.str.4 = private unnamed_addr constant [12 x i8] c"\0A\0Apolygons\0A\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"%3d 3\00", align 1
@.str.6 = private unnamed_addr constant [29 x i8] c" %20.15lf %20.15lf %20.15lf\0A\00", align 1
@.str.7 = private unnamed_addr constant [34 x i8] c" %20.15lf %20.15lf %20.15lf\0A\00", align 1
@.str.8 = private unnamed_addr constant [9 x i8] c"endpoly\0A\00", align 1
@.str.9 = private unnamed_addr constant [8 x i8] c"\0Aendgmv\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @scg_write_front_gmv(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%13 = load ptr, ptr %10, align 8
%14 = call ptr @fopen(ptr noundef %13, ptr noundef @.str)
store ptr %14, ptr %12, align 8
%15 = load ptr, ptr %12, align 8
%16 = load i32, ptr %6, align 4
%17 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %15, ptr noundef @.str.1, i32 noundef %16)
store i32 0, ptr %11, align 4
%18 = load i32, ptr %11, align 4
%19 = load i32, ptr %6, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %.lr.ph, label %51
.lr.ph: ; preds = %5
br label %21
21: ; preds = %.lr.ph, %45
%22 = load ptr, ptr %12, align 8
%23 = load ptr, ptr %8, align 8
%24 = load i32, ptr %11, align 4
%25 = mul nsw i32 3, %24
%26 = add nsw i32 %25, 0
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds double, ptr %23, i64 %27
%29 = load double, ptr %28, align 8
%30 = load ptr, ptr %8, align 8
%31 = load i32, ptr %11, align 4
%32 = mul nsw i32 3, %31
%33 = add nsw i32 %32, 1
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds double, ptr %30, i64 %34
%36 = load double, ptr %35, align 8
%37 = load ptr, ptr %8, align 8
%38 = load i32, ptr %11, align 4
%39 = mul nsw i32 3, %38
%40 = add nsw i32 %39, 2
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds double, ptr %37, i64 %41
%43 = load double, ptr %42, align 8
%44 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %22, ptr noundef @.str.2, double noundef %29, double noundef %36, double noundef %43)
br label %45
45: ; preds = %21
%46 = load i32, ptr %11, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %11, align 4
%48 = load i32, ptr %11, align 4
%49 = load i32, ptr %6, align 4
%50 = icmp slt i32 %48, %49
br i1 %50, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %45
br label %51
51: ; preds = %._crit_edge, %5
%52 = load ptr, ptr %12, align 8
%53 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %52, ptr noundef @.str.3, i32 noundef 0)
%54 = load ptr, ptr %12, align 8
%55 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %54, ptr noundef @.str.4)
store i32 0, ptr %11, align 4
%56 = load i32, ptr %11, align 4
%57 = load i32, ptr %7, align 4
%58 = icmp slt i32 %56, %57
br i1 %58, label %.lr.ph2, label %191
.lr.ph2: ; preds = %51
br label %59
59: ; preds = %.lr.ph2, %185
%60 = load ptr, ptr %12, align 8
%61 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %60, ptr noundef @.str.5, i32 noundef 0)
%62 = load ptr, ptr %12, align 8
%63 = load ptr, ptr %8, align 8
%64 = load ptr, ptr %9, align 8
%65 = load i32, ptr %11, align 4
%66 = mul nsw i32 3, %65
%67 = add nsw i32 %66, 0
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds i32, ptr %64, i64 %68
%70 = load i32, ptr %69, align 4
%71 = mul nsw i32 3, %70
%72 = add nsw i32 %71, 0
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds double, ptr %63, i64 %73
%75 = load double, ptr %74, align 8
%76 = load ptr, ptr %8, align 8
%77 = load ptr, ptr %9, align 8
%78 = load i32, ptr %11, align 4
%79 = mul nsw i32 3, %78
%80 = add nsw i32 %79, 1
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds i32, ptr %77, i64 %81
%83 = load i32, ptr %82, align 4
%84 = mul nsw i32 3, %83
%85 = add nsw i32 %84, 0
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds double, ptr %76, i64 %86
%88 = load double, ptr %87, align 8
%89 = load ptr, ptr %8, align 8
%90 = load ptr, ptr %9, align 8
%91 = load i32, ptr %11, align 4
%92 = mul nsw i32 3, %91
%93 = add nsw i32 %92, 2
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds i32, ptr %90, i64 %94
%96 = load i32, ptr %95, align 4
%97 = mul nsw i32 3, %96
%98 = add nsw i32 %97, 0
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds double, ptr %89, i64 %99
%101 = load double, ptr %100, align 8
%102 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %62, ptr noundef @.str.6, double noundef %75, double noundef %88, double noundef %101)
%103 = load ptr, ptr %12, align 8
%104 = load ptr, ptr %8, align 8
%105 = load ptr, ptr %9, align 8
%106 = load i32, ptr %11, align 4
%107 = mul nsw i32 3, %106
%108 = add nsw i32 %107, 0
%109 = sext i32 %108 to i64
%110 = getelementptr inbounds i32, ptr %105, i64 %109
%111 = load i32, ptr %110, align 4
%112 = mul nsw i32 3, %111
%113 = add nsw i32 %112, 1
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds double, ptr %104, i64 %114
%116 = load double, ptr %115, align 8
%117 = load ptr, ptr %8, align 8
%118 = load ptr, ptr %9, align 8
%119 = load i32, ptr %11, align 4
%120 = mul nsw i32 3, %119
%121 = add nsw i32 %120, 1
%122 = sext i32 %121 to i64
%123 = getelementptr inbounds i32, ptr %118, i64 %122
%124 = load i32, ptr %123, align 4
%125 = mul nsw i32 3, %124
%126 = add nsw i32 %125, 1
%127 = sext i32 %126 to i64
%128 = getelementptr inbounds double, ptr %117, i64 %127
%129 = load double, ptr %128, align 8
%130 = load ptr, ptr %8, align 8
%131 = load ptr, ptr %9, align 8
%132 = load i32, ptr %11, align 4
%133 = mul nsw i32 3, %132
%134 = add nsw i32 %133, 2
%135 = sext i32 %134 to i64
%136 = getelementptr inbounds i32, ptr %131, i64 %135
%137 = load i32, ptr %136, align 4
%138 = mul nsw i32 3, %137
%139 = add nsw i32 %138, 1
%140 = sext i32 %139 to i64
%141 = getelementptr inbounds double, ptr %130, i64 %140
%142 = load double, ptr %141, align 8
%143 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %103, ptr noundef @.str.7, double noundef %116, double noundef %129, double noundef %142)
%144 = load ptr, ptr %12, align 8
%145 = load ptr, ptr %8, align 8
%146 = load ptr, ptr %9, align 8
%147 = load i32, ptr %11, align 4
%148 = mul nsw i32 3, %147
%149 = add nsw i32 %148, 0
%150 = sext i32 %149 to i64
%151 = getelementptr inbounds i32, ptr %146, i64 %150
%152 = load i32, ptr %151, align 4
%153 = mul nsw i32 3, %152
%154 = add nsw i32 %153, 2
%155 = sext i32 %154 to i64
%156 = getelementptr inbounds double, ptr %145, i64 %155
%157 = load double, ptr %156, align 8
%158 = load ptr, ptr %8, align 8
%159 = load ptr, ptr %9, align 8
%160 = load i32, ptr %11, align 4
%161 = mul nsw i32 3, %160
%162 = add nsw i32 %161, 1
%163 = sext i32 %162 to i64
%164 = getelementptr inbounds i32, ptr %159, i64 %163
%165 = load i32, ptr %164, align 4
%166 = mul nsw i32 3, %165
%167 = add nsw i32 %166, 2
%168 = sext i32 %167 to i64
%169 = getelementptr inbounds double, ptr %158, i64 %168
%170 = load double, ptr %169, align 8
%171 = load ptr, ptr %8, align 8
%172 = load ptr, ptr %9, align 8
%173 = load i32, ptr %11, align 4
%174 = mul nsw i32 3, %173
%175 = add nsw i32 %174, 2
%176 = sext i32 %175 to i64
%177 = getelementptr inbounds i32, ptr %172, i64 %176
%178 = load i32, ptr %177, align 4
%179 = mul nsw i32 3, %178
%180 = add nsw i32 %179, 2
%181 = sext i32 %180 to i64
%182 = getelementptr inbounds double, ptr %171, i64 %181
%183 = load double, ptr %182, align 8
%184 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %144, ptr noundef @.str.7, double noundef %157, double noundef %170, double noundef %183)
br label %185
185: ; preds = %59
%186 = load i32, ptr %11, align 4
%187 = add nsw i32 %186, 1
store i32 %187, ptr %11, align 4
%188 = load i32, ptr %11, align 4
%189 = load i32, ptr %7, align 4
%190 = icmp slt i32 %188, %189
br i1 %190, label %59, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %185
br label %191
191: ; preds = %._crit_edge3, %51
%192 = load ptr, ptr %12, align 8
%193 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %192, ptr noundef @.str.8)
%194 = load ptr, ptr %12, align 8
%195 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %194, ptr noundef @.str.9)
%196 = load ptr, ptr %12, align 8
%197 = call i32 @fclose(ptr noundef %196)
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmphudkr361.c'
source_filename = "/tmp/tmphudkr361.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @split_token(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 0, ptr %8, align 4
%9 = load ptr, ptr %4, align 8
%10 = load ptr, ptr %5, align 8
%11 = call ptr @strtok(ptr noundef %9, ptr noundef %10)
store ptr %11, ptr %7, align 8
br label %12
12: ; preds = %21, %3
%13 = load ptr, ptr %7, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %15, label %19
15: ; preds = %12
%16 = load i32, ptr %8, align 4
%17 = load i32, ptr %6, align 4
%18 = icmp sle i32 %16, %17
br label %19
19: ; preds = %15, %12
%20 = phi i1 [ false, %12 ], [ %18, %15 ]
br i1 %20, label %21, label %29
21: ; preds = %19
%22 = load ptr, ptr %4, align 8
%23 = load ptr, ptr %7, align 8
%24 = call i32 @strcpy(ptr noundef %22, ptr noundef %23)
%25 = load ptr, ptr %5, align 8
%26 = call ptr @strtok(ptr noundef null, ptr noundef %25)
store ptr %26, ptr %7, align 8
%27 = load i32, ptr %8, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %8, align 4
br label %12, !llvm.loop !6
29: ; preds = %19
ret i32 0
}
declare ptr @strtok(ptr noundef, 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmphudkr361.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @split_token(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 0, ptr %8, align 4
%9 = load ptr, ptr %4, align 8
%10 = load ptr, ptr %5, align 8
%11 = call ptr @strtok(ptr noundef %9, ptr noundef %10)
store ptr %11, ptr %7, align 8
br label %12
12: ; preds = %21, %3
%13 = load ptr, ptr %7, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %15, label %19
15: ; preds = %12
%16 = load i32, ptr %8, align 4
%17 = load i32, ptr %6, align 4
%18 = icmp sle i32 %16, %17
br label %19
19: ; preds = %15, %12
%20 = phi i1 [ false, %12 ], [ %18, %15 ]
br i1 %20, label %21, label %29
21: ; preds = %19
%22 = load ptr, ptr %4, align 8
%23 = load ptr, ptr %7, align 8
%24 = call i32 @strcpy(ptr noundef %22, ptr noundef %23)
%25 = load ptr, ptr %5, align 8
%26 = call ptr @strtok(ptr noundef null, ptr noundef %25)
store ptr %26, ptr %7, align 8
%27 = load i32, ptr %8, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %8, align 4
br label %12, !llvm.loop !6
29: ; preds = %19
ret i32 0
}
declare ptr @strtok(ptr noundef, 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpb0du1x9_.c'
source_filename = "/tmp/tmpb0du1x9_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@stdin = dso_local global ptr null, align 8
@.str.1 = private unnamed_addr constant [20 x i8] c"Unable to open file\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"Unable to allocate memory\00", align 1
@EOF = dso_local global i8 0, align 1
@.str.3 = private unnamed_addr constant [28 x i8] c"Unable to reallocate memory\00", align 1
@.str.4 = private unnamed_addr constant [24 x i8] c"Error reading from file\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @readFile(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca i8, align 1
store ptr %0, ptr %2, align 8
%8 = load ptr, ptr %2, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %13
10: ; preds = %1
%11 = load ptr, ptr %2, align 8
%12 = call ptr @fopen(ptr noundef %11, ptr noundef @.str)
br label %15
13: ; preds = %1
%14 = load ptr, ptr @stdin, align 8
br label %15
15: ; preds = %13, %10
%16 = phi ptr [ %12, %10 ], [ %14, %13 ]
store ptr %16, ptr %3, align 8
%17 = load ptr, ptr %3, align 8
%18 = icmp ne ptr %17, null
br i1 %18, label %21, label %19
19: ; preds = %15
%20 = call i32 @die(ptr noundef @.str.1)
br label %21
21: ; preds = %19, %15
store i64 0, ptr %4, align 8
store i64 1024, ptr %5, align 8
%22 = load i64, ptr %5, align 8
%23 = mul i64 1, %22
%24 = trunc i64 %23 to i32
%25 = call ptr @malloc(i32 noundef %24)
store ptr %25, ptr %6, align 8
%26 = load ptr, ptr %6, align 8
%27 = icmp ne ptr %26, null
br i1 %27, label %30, label %28
28: ; preds = %21
%29 = call i32 @die(ptr noundef @.str.2)
br label %30
30: ; preds = %28, %21
br label %31
31: ; preds = %55, %30
%32 = load ptr, ptr %3, align 8
%33 = call signext i8 @getc(ptr noundef %32)
store i8 %33, ptr %7, align 1
%34 = sext i8 %33 to i32
%35 = load i8, ptr @EOF, align 1
%36 = sext i8 %35 to i32
%37 = icmp ne i32 %34, %36
br i1 %37, label %38, label %61
38: ; preds = %31
%39 = load i64, ptr %4, align 8
%40 = load i64, ptr %5, align 8
%41 = icmp uge i64 %39, %40
br i1 %41, label %42, label %54
42: ; preds = %38
%43 = load ptr, ptr %6, align 8
%44 = load i64, ptr %5, align 8
%45 = mul i64 %44, 2
store i64 %45, ptr %5, align 8
%46 = mul i64 1, %45
%47 = trunc i64 %46 to i32
%48 = call ptr @realloc(ptr noundef %43, i32 noundef %47)
store ptr %48, ptr %6, align 8
%49 = load ptr, ptr %6, align 8
%50 = icmp ne ptr %49, null
br i1 %50, label %53, label %51
51: ; preds = %42
%52 = call i32 @die(ptr noundef @.str.3)
br label %53
53: ; preds = %51, %42
br label %54
54: ; preds = %53, %38
br label %55
55: ; preds = %54
%56 = load i8, ptr %7, align 1
%57 = load ptr, ptr %6, align 8
%58 = load i64, ptr %4, align 8
%59 = add i64 %58, 1
store i64 %59, ptr %4, align 8
%60 = getelementptr inbounds i8, ptr %57, i64 %58
store i8 %56, ptr %60, align 1
br label %31, !llvm.loop !6
61: ; preds = %31
%62 = load ptr, ptr %3, align 8
%63 = call i32 @feof(ptr noundef %62)
%64 = icmp ne i32 %63, 0
br i1 %64, label %67, label %65
65: ; preds = %61
%66 = call i32 @die(ptr noundef @.str.4)
br label %67
67: ; preds = %65, %61
%68 = load ptr, ptr %3, align 8
%69 = call i32 @fclose(ptr noundef %68)
%70 = load ptr, ptr %6, align 8
%71 = load i64, ptr %4, align 8
%72 = getelementptr inbounds i8, ptr %70, i64 %71
store i8 0, ptr %72, align 1
%73 = load ptr, ptr %6, align 8
ret ptr %73
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @die(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare signext i8 @getc(ptr noundef) #1
declare ptr @realloc(ptr noundef, i32 noundef) #1
declare i32 @feof(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb0du1x9_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@stdin = dso_local global ptr null, align 8
@.str.1 = private unnamed_addr constant [20 x i8] c"Unable to open file\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"Unable to allocate memory\00", align 1
@EOF = dso_local global i8 0, align 1
@.str.3 = private unnamed_addr constant [28 x i8] c"Unable to reallocate memory\00", align 1
@.str.4 = private unnamed_addr constant [24 x i8] c"Error reading from file\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @readFile(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca i8, align 1
store ptr %0, ptr %2, align 8
%8 = load ptr, ptr %2, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %13
10: ; preds = %1
%11 = load ptr, ptr %2, align 8
%12 = call ptr @fopen(ptr noundef %11, ptr noundef @.str)
br label %15
13: ; preds = %1
%14 = load ptr, ptr @stdin, align 8
br label %15
15: ; preds = %13, %10
%16 = phi ptr [ %12, %10 ], [ %14, %13 ]
store ptr %16, ptr %3, align 8
%17 = load ptr, ptr %3, align 8
%18 = icmp ne ptr %17, null
br i1 %18, label %21, label %19
19: ; preds = %15
%20 = call i32 @die(ptr noundef @.str.1)
br label %21
21: ; preds = %19, %15
store i64 0, ptr %4, align 8
store i64 1024, ptr %5, align 8
%22 = load i64, ptr %5, align 8
%23 = mul i64 1, %22
%24 = trunc i64 %23 to i32
%25 = call ptr @malloc(i32 noundef %24)
store ptr %25, ptr %6, align 8
%26 = load ptr, ptr %6, align 8
%27 = icmp ne ptr %26, null
br i1 %27, label %30, label %28
28: ; preds = %21
%29 = call i32 @die(ptr noundef @.str.2)
br label %30
30: ; preds = %28, %21
%31 = load ptr, ptr %3, align 8
%32 = call signext i8 @getc(ptr noundef %31)
store i8 %32, ptr %7, align 1
%33 = sext i8 %32 to i32
%34 = load i8, ptr @EOF, align 1
%35 = sext i8 %34 to i32
%36 = icmp ne i32 %33, %35
br i1 %36, label %.lr.ph, label %66
.lr.ph: ; preds = %30
br label %37
37: ; preds = %.lr.ph, %54
%38 = load i64, ptr %4, align 8
%39 = load i64, ptr %5, align 8
%40 = icmp uge i64 %38, %39
br i1 %40, label %41, label %53
41: ; preds = %37
%42 = load ptr, ptr %6, align 8
%43 = load i64, ptr %5, align 8
%44 = mul i64 %43, 2
store i64 %44, ptr %5, align 8
%45 = mul i64 1, %44
%46 = trunc i64 %45 to i32
%47 = call ptr @realloc(ptr noundef %42, i32 noundef %46)
store ptr %47, ptr %6, align 8
%48 = load ptr, ptr %6, align 8
%49 = icmp ne ptr %48, null
br i1 %49, label %52, label %50
50: ; preds = %41
%51 = call i32 @die(ptr noundef @.str.3)
br label %52
52: ; preds = %50, %41
br label %53
53: ; preds = %52, %37
br label %54
54: ; preds = %53
%55 = load i8, ptr %7, align 1
%56 = load ptr, ptr %6, align 8
%57 = load i64, ptr %4, align 8
%58 = add i64 %57, 1
store i64 %58, ptr %4, align 8
%59 = getelementptr inbounds i8, ptr %56, i64 %57
store i8 %55, ptr %59, align 1
%60 = load ptr, ptr %3, align 8
%61 = call signext i8 @getc(ptr noundef %60)
store i8 %61, ptr %7, align 1
%62 = sext i8 %61 to i32
%63 = load i8, ptr @EOF, align 1
%64 = sext i8 %63 to i32
%65 = icmp ne i32 %62, %64
br i1 %65, label %37, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %54
br label %66
66: ; preds = %._crit_edge, %30
%67 = load ptr, ptr %3, align 8
%68 = call i32 @feof(ptr noundef %67)
%69 = icmp ne i32 %68, 0
br i1 %69, label %72, label %70
70: ; preds = %66
%71 = call i32 @die(ptr noundef @.str.4)
br label %72
72: ; preds = %70, %66
%73 = load ptr, ptr %3, align 8
%74 = call i32 @fclose(ptr noundef %73)
%75 = load ptr, ptr %6, align 8
%76 = load i64, ptr %4, align 8
%77 = getelementptr inbounds i8, ptr %75, i64 %76
store i8 0, ptr %77, align 1
%78 = load ptr, ptr %6, align 8
ret ptr %78
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @die(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare signext i8 @getc(ptr noundef) #1
declare ptr @realloc(ptr noundef, i32 noundef) #1
declare i32 @feof(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp8uujk3tt.c'
source_filename = "/tmp/tmp8uujk3tt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%10 = call ptr (...) @BN_CTX_new()
store ptr %10, ptr %5, align 8
%11 = call ptr (...) @BN_new()
store ptr %11, ptr %6, align 8
%12 = call ptr (...) @BN_new()
store ptr %12, ptr %7, align 8
%13 = call ptr (...) @BN_new()
store ptr %13, ptr %8, align 8
%14 = call ptr (...) @BN_new()
store ptr %14, ptr %9, align 8
%15 = load ptr, ptr %9, align 8
%16 = load ptr, ptr %6, align 8
%17 = load ptr, ptr %7, align 8
%18 = load ptr, ptr %8, align 8
%19 = load ptr, ptr %5, align 8
%20 = call i32 @do_mul_exp(ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %19)
ret i32 0
}
declare ptr @BN_CTX_new(...) #1
declare ptr @BN_new(...) #1
declare i32 @do_mul_exp(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8uujk3tt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%10 = call ptr (...) @BN_CTX_new()
store ptr %10, ptr %5, align 8
%11 = call ptr (...) @BN_new()
store ptr %11, ptr %6, align 8
%12 = call ptr (...) @BN_new()
store ptr %12, ptr %7, align 8
%13 = call ptr (...) @BN_new()
store ptr %13, ptr %8, align 8
%14 = call ptr (...) @BN_new()
store ptr %14, ptr %9, align 8
%15 = load ptr, ptr %9, align 8
%16 = load ptr, ptr %6, align 8
%17 = load ptr, ptr %7, align 8
%18 = load ptr, ptr %8, align 8
%19 = load ptr, ptr %5, align 8
%20 = call i32 @do_mul_exp(ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %19)
ret i32 0
}
declare ptr @BN_CTX_new(...) #1
declare ptr @BN_new(...) #1
declare i32 @do_mul_exp(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp763cekrb.c'
source_filename = "/tmp/tmp763cekrb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"B %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @doit() #0 {
%1 = call i32 @printf(ptr noundef @.str, i32 noundef 0)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp763cekrb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"B %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @doit() #0 {
%1 = call i32 @printf(ptr noundef @.str, i32 noundef 0)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5i_q_hto.c'
source_filename = "/tmp/tmp5i_q_hto.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
store i32 0, ptr %1, align 4
%8 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
br label %9
9: ; preds = %13, %0
%10 = load i32, ptr %2, align 4
%11 = add nsw i32 %10, -1
store i32 %11, ptr %2, align 4
%12 = icmp ne i32 %10, 0
br i1 %12, label %13, label %25
13: ; preds = %9
store double 0.000000e+00, ptr %5, align 8
%14 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %3, ptr noundef %4)
%15 = load i32, ptr %3, align 4
%16 = sitofp i32 %15 to double
store double %16, ptr %6, align 8
%17 = load i32, ptr %4, align 4
%18 = sitofp i32 %17 to double
store double %18, ptr %7, align 8
%19 = load double, ptr %6, align 8
%20 = load double, ptr %7, align 8
%21 = fdiv double %19, %20
%22 = fmul double 0x3FE55553EF6B5D46, %21
store double %22, ptr %5, align 8
%23 = load double, ptr %5, align 8
%24 = call i32 @printf(ptr noundef @.str.2, double noundef %23)
br label %9, !llvm.loop !6
25: ; preds = %9
%26 = load i32, ptr %1, align 4
ret i32 %26
}
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
declare i32 @printf(ptr 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5i_q_hto.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
store i32 0, ptr %1, align 4
%8 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
%9 = load i32, ptr %2, align 4
%10 = add nsw i32 %9, -1
store i32 %10, ptr %2, align 4
%11 = icmp ne i32 %9, 0
br i1 %11, label %.lr.ph, label %27
.lr.ph: ; preds = %0
br label %12
12: ; preds = %.lr.ph, %12
store double 0.000000e+00, ptr %5, align 8
%13 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %3, ptr noundef %4)
%14 = load i32, ptr %3, align 4
%15 = sitofp i32 %14 to double
store double %15, ptr %6, align 8
%16 = load i32, ptr %4, align 4
%17 = sitofp i32 %16 to double
store double %17, ptr %7, align 8
%18 = load double, ptr %6, align 8
%19 = load double, ptr %7, align 8
%20 = fdiv double %18, %19
%21 = fmul double 0x3FE55553EF6B5D46, %20
store double %21, ptr %5, align 8
%22 = load double, ptr %5, align 8
%23 = call i32 @printf(ptr noundef @.str.2, double noundef %22)
%24 = load i32, ptr %2, align 4
%25 = add nsw i32 %24, -1
store i32 %25, ptr %2, align 4
%26 = icmp ne i32 %24, 0
br i1 %26, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %12
br label %27
27: ; preds = %._crit_edge, %0
%28 = load i32, ptr %1, align 4
ret i32 %28
}
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
declare i32 @printf(ptr 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpaop0ms24.c'
source_filename = "/tmp/tmpaop0ms24.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"nicklist\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"0\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"200\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"window\00", align 1
@.str.4 = private unnamed_addr constant [12 x i8] c"${nicklist}\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"right\00", align 1
@.str.6 = private unnamed_addr constant [17 x i8] c"columns_vertical\00", align 1
@.str.7 = private unnamed_addr constant [9 x i8] c"vertical\00", align 1
@.str.8 = private unnamed_addr constant [8 x i8] c"default\00", align 1
@.str.9 = private unnamed_addr constant [5 x i8] c"cyan\00", align 1
@.str.10 = private unnamed_addr constant [2 x i8] c"1\00", align 1
@.str.11 = private unnamed_addr constant [17 x i8] c"Bar \22%s\22 created\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @gui_bar_create_default_nicklist() #0 {
%1 = alloca ptr, align 8
%2 = call ptr @gui_bar_search(ptr noundef @.str)
store ptr %2, ptr %1, align 8
%3 = load ptr, ptr %1, align 8
%4 = icmp ne ptr %3, null
br i1 %4, label %12, label %5
5: ; preds = %0
%6 = call i32 @gui_bar_default_items(ptr noundef @.str)
%7 = call i64 @gui_bar_new(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef @.str.4, ptr noundef @.str.5, ptr noundef @.str.6, ptr noundef @.str.7, ptr noundef @.str.1, ptr noundef @.str.1, ptr noundef @.str.8, ptr noundef @.str.9, ptr noundef @.str.8, ptr noundef @.str.10, i32 noundef %6)
%8 = icmp ne i64 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %5
%10 = call i32 @gui_chat_printf_date_tags(ptr noundef null, i32 noundef 0, ptr noundef null, ptr noundef @.str.11, ptr noundef @.str)
br label %11
11: ; preds = %9, %5
br label %12
12: ; preds = %11, %0
ret void
}
declare ptr @gui_bar_search(ptr noundef) #1
declare i64 @gui_bar_new(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @gui_bar_default_items(ptr noundef) #1
declare i32 @gui_chat_printf_date_tags(ptr noundef, 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/tmpaop0ms24.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"nicklist\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"0\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"200\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"window\00", align 1
@.str.4 = private unnamed_addr constant [12 x i8] c"${nicklist}\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"right\00", align 1
@.str.6 = private unnamed_addr constant [17 x i8] c"columns_vertical\00", align 1
@.str.7 = private unnamed_addr constant [9 x i8] c"vertical\00", align 1
@.str.8 = private unnamed_addr constant [8 x i8] c"default\00", align 1
@.str.9 = private unnamed_addr constant [5 x i8] c"cyan\00", align 1
@.str.10 = private unnamed_addr constant [2 x i8] c"1\00", align 1
@.str.11 = private unnamed_addr constant [17 x i8] c"Bar \22%s\22 created\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @gui_bar_create_default_nicklist() #0 {
%1 = alloca ptr, align 8
%2 = call ptr @gui_bar_search(ptr noundef @.str)
store ptr %2, ptr %1, align 8
%3 = load ptr, ptr %1, align 8
%4 = icmp ne ptr %3, null
br i1 %4, label %12, label %5
5: ; preds = %0
%6 = call i32 @gui_bar_default_items(ptr noundef @.str)
%7 = call i64 @gui_bar_new(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef @.str.4, ptr noundef @.str.5, ptr noundef @.str.6, ptr noundef @.str.7, ptr noundef @.str.1, ptr noundef @.str.1, ptr noundef @.str.8, ptr noundef @.str.9, ptr noundef @.str.8, ptr noundef @.str.10, i32 noundef %6)
%8 = icmp ne i64 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %5
%10 = call i32 @gui_chat_printf_date_tags(ptr noundef null, i32 noundef 0, ptr noundef null, ptr noundef @.str.11, ptr noundef @.str)
br label %11
11: ; preds = %9, %5
br label %12
12: ; preds = %11, %0
ret void
}
declare ptr @gui_bar_search(ptr noundef) #1
declare i64 @gui_bar_new(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @gui_bar_default_items(ptr noundef) #1
declare i32 @gui_chat_printf_date_tags(ptr noundef, 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/tmpse1r4_7j.c'
source_filename = "/tmp/tmpse1r4_7j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @kmp_build_border(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%9 = load i64, ptr %6, align 8
%10 = icmp ugt i64 %9, 0
br i1 %10, label %11, label %14
11: ; preds = %3
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds i32, ptr %12, i64 0
store i32 0, ptr %13, align 4
br label %14
14: ; preds = %11, %3
store i32 0, ptr %7, align 4
store i64 1, ptr %8, align 8
br label %15
15: ; preds = %45, %38, %14
%16 = load i64, ptr %8, align 8
%17 = load i64, ptr %6, align 8
%18 = icmp ult i64 %16, %17
br i1 %18, label %19, label %52
19: ; preds = %15
%20 = load ptr, ptr %4, align 8
%21 = load i64, ptr %8, align 8
%22 = getelementptr inbounds i8, ptr %20, i64 %21
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = load ptr, ptr %4, align 8
%26 = load i32, ptr %7, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %25, i64 %27
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp eq i32 %24, %30
br i1 %31, label %32, label %35
32: ; preds = %19
%33 = load i32, ptr %7, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %7, align 4
br label %45
35: ; preds = %19
%36 = load i32, ptr %7, align 4
%37 = icmp sgt i32 %36, 0
br i1 %37, label %38, label %44
38: ; preds = %35
%39 = load ptr, ptr %5, align 8
%40 = load i32, ptr %7, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i32, ptr %39, i64 %41
%43 = load i32, ptr %42, align 4
store i32 %43, ptr %7, align 4
br label %15, !llvm.loop !6
44: ; preds = %35
br label %45
45: ; preds = %44, %32
%46 = load i32, ptr %7, align 4
%47 = load ptr, ptr %5, align 8
%48 = load i64, ptr %8, align 8
%49 = getelementptr inbounds i32, ptr %47, i64 %48
store i32 %46, ptr %49, align 4
%50 = load i64, ptr %8, align 8
%51 = add i64 %50, 1
store i64 %51, ptr %8, align 8
br label %15, !llvm.loop !6
52: ; preds = %15
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpse1r4_7j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @kmp_build_border(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%9 = load i64, ptr %6, align 8
%10 = icmp ugt i64 %9, 0
br i1 %10, label %11, label %14
11: ; preds = %3
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds i32, ptr %12, i64 0
store i32 0, ptr %13, align 4
br label %14
14: ; preds = %11, %3
store i32 0, ptr %7, align 4
store i64 1, ptr %8, align 8
%15 = load i64, ptr %8, align 8
%16 = load i64, ptr %6, align 8
%17 = icmp ult i64 %15, %16
br i1 %17, label %.lr.ph, label %54
.lr.ph: ; preds = %14
br label %18
18: ; preds = %.lr.ph, %.backedge
%19 = load ptr, ptr %4, align 8
%20 = load i64, ptr %8, align 8
%21 = getelementptr inbounds i8, ptr %19, i64 %20
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = load ptr, ptr %4, align 8
%25 = load i32, ptr %7, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %24, i64 %26
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = icmp eq i32 %23, %29
br i1 %30, label %31, label %34
31: ; preds = %18
%32 = load i32, ptr %7, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %7, align 4
br label %47
34: ; preds = %18
%35 = load i32, ptr %7, align 4
%36 = icmp sgt i32 %35, 0
br i1 %36, label %37, label %46
37: ; preds = %34
%38 = load ptr, ptr %5, align 8
%39 = load i32, ptr %7, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i32, ptr %38, i64 %40
%42 = load i32, ptr %41, align 4
store i32 %42, ptr %7, align 4
br label %.backedge
.backedge: ; preds = %37, %47
%43 = load i64, ptr %8, align 8
%44 = load i64, ptr %6, align 8
%45 = icmp ult i64 %43, %44
br i1 %45, label %18, label %._crit_edge, !llvm.loop !6
46: ; preds = %34
br label %47
47: ; preds = %46, %31
%48 = load i32, ptr %7, align 4
%49 = load ptr, ptr %5, align 8
%50 = load i64, ptr %8, align 8
%51 = getelementptr inbounds i32, ptr %49, i64 %50
store i32 %48, ptr %51, align 4
%52 = load i64, ptr %8, align 8
%53 = add i64 %52, 1
store i64 %53, ptr %8, align 8
br label %.backedge
._crit_edge: ; preds = %.backedge
br label %54
54: ; preds = %._crit_edge, %14
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpn8jltfwb.c'
source_filename = "/tmp/tmpn8jltfwb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @test(i32 noundef 5, i8 noundef signext 97, i8 noundef signext 98, i8 noundef signext 99, i8 noundef signext 100, i8 noundef signext 101)
ret i32 0
}
declare i32 @test(i32 noundef, i8 noundef signext, i8 noundef signext, i8 noundef signext, i8 noundef signext, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpn8jltfwb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @test(i32 noundef 5, i8 noundef signext 97, i8 noundef signext 98, i8 noundef signext 99, i8 noundef signext 100, i8 noundef signext 101)
ret i32 0
}
declare i32 @test(i32 noundef, i8 noundef signext, i8 noundef signext, i8 noundef signext, i8 noundef signext, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_zv4o5j_.c'
source_filename = "/tmp/tmp_zv4o5j_.c"
target datalayout = "e-m:e-p270: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_zv4o5j_.c"
target datalayout = "e-m:e-p270: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/tmpv9q09lvs.c'
source_filename = "/tmp/tmpv9q09lvs.c"
target datalayout = "e-m:e-p270: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_WRONLY = 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/tmpv9q09lvs.c"
target datalayout = "e-m:e-p270: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_WRONLY = 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/tmp20j0gncq.c'
source_filename = "/tmp/tmp20j0gncq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [5 x i8] c"%d%d\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca [100000 x i32], align 16
store i32 0, ptr %1, align 4
store i32 0, ptr %5, align 4
%12 = getelementptr inbounds [100000 x i32], ptr %11, i64 0, i64 0
store i32 0, ptr %12, align 16
%13 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %10)
br label %14
14: ; preds = %71, %0
%15 = load i32, ptr %10, align 4
%16 = add nsw i32 %15, -1
store i32 %16, ptr %10, align 4
%17 = icmp ne i32 %15, 0
br i1 %17, label %18, label %76
18: ; preds = %14
store i32 0, ptr %5, align 4
%19 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %7, ptr noundef %6)
store i32 1, ptr %2, align 4
br label %20
20: ; preds = %29, %18
%21 = load i32, ptr %2, align 4
%22 = load i32, ptr %6, align 4
%23 = icmp sle i32 %21, %22
br i1 %23, label %24, label %32
24: ; preds = %20
%25 = load i32, ptr %2, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [100000 x i32], ptr %11, i64 0, i64 %26
%28 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %27)
br label %29
29: ; preds = %24
%30 = load i32, ptr %2, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %2, align 4
br label %20, !llvm.loop !6
32: ; preds = %20
store i32 1, ptr %2, align 4
br label %33
33: ; preds = %68, %32
%34 = load i32, ptr %2, align 4
%35 = load i32, ptr %6, align 4
%36 = icmp sle i32 %34, %35
br i1 %36, label %37, label %71
37: ; preds = %33
%38 = load i32, ptr %2, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %3, align 4
br label %40
40: ; preds = %60, %37
%41 = load i32, ptr %3, align 4
%42 = load i32, ptr %6, align 4
%43 = icmp sle i32 %41, %42
br i1 %43, label %44, label %63
44: ; preds = %40
%45 = load i32, ptr %2, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds [100000 x i32], ptr %11, i64 0, i64 %46
%48 = load i32, ptr %47, align 4
%49 = load i32, ptr %3, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds [100000 x i32], ptr %11, i64 0, i64 %50
%52 = load i32, ptr %51, align 4
%53 = add nsw i32 %48, %52
%54 = load i32, ptr %7, align 4
%55 = icmp eq i32 %53, %54
br i1 %55, label %56, label %59
56: ; preds = %44
%57 = load i32, ptr %2, align 4
store i32 %57, ptr %8, align 4
%58 = load i32, ptr %3, align 4
store i32 %58, ptr %9, align 4
store i32 1, ptr %5, align 4
br label %63
59: ; preds = %44
br label %60
60: ; preds = %59
%61 = load i32, ptr %3, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %3, align 4
br label %40, !llvm.loop !8
63: ; preds = %56, %40
%64 = load i32, ptr %5, align 4
%65 = icmp eq i32 %64, 1
br i1 %65, label %66, label %67
66: ; preds = %63
br label %71
67: ; preds = %63
br label %68
68: ; preds = %67
%69 = load i32, ptr %2, align 4
%70 = add nsw i32 %69, 1
store i32 %70, ptr %2, align 4
br label %33, !llvm.loop !9
71: ; preds = %66, %33
%72 = load i32, ptr %8, align 4
%73 = load i32, ptr %9, align 4
%74 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %72, i32 noundef %73)
%75 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %14, !llvm.loop !10
76: ; preds = %14
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp20j0gncq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [5 x i8] c"%d%d\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca [100000 x i32], align 16
store i32 0, ptr %1, align 4
store i32 0, ptr %5, align 4
%12 = getelementptr inbounds [100000 x i32], ptr %11, i64 0, i64 0
store i32 0, ptr %12, align 16
%13 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %10)
%14 = load i32, ptr %10, align 4
%15 = add nsw i32 %14, -1
store i32 %15, ptr %10, align 4
%16 = icmp ne i32 %14, 0
br i1 %16, label %.lr.ph7, label %84
.lr.ph7: ; preds = %0
br label %17
17: ; preds = %.lr.ph7, %76
store i32 0, ptr %5, align 4
%18 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %7, ptr noundef %6)
store i32 1, ptr %2, align 4
%19 = load i32, ptr %2, align 4
%20 = load i32, ptr %6, align 4
%21 = icmp sle i32 %19, %20
br i1 %21, label %.lr.ph, label %33
.lr.ph: ; preds = %17
br label %22
22: ; preds = %.lr.ph, %27
%23 = load i32, ptr %2, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [100000 x i32], ptr %11, i64 0, i64 %24
%26 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %25)
br label %27
27: ; preds = %22
%28 = load i32, ptr %2, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %2, align 4
%30 = load i32, ptr %2, align 4
%31 = load i32, ptr %6, align 4
%32 = icmp sle i32 %30, %31
br i1 %32, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %33
33: ; preds = %._crit_edge, %17
store i32 1, ptr %2, align 4
%34 = load i32, ptr %2, align 4
%35 = load i32, ptr %6, align 4
%36 = icmp sle i32 %34, %35
br i1 %36, label %.lr.ph5, label %.loopexit1
.lr.ph5: ; preds = %33
br label %37
37: ; preds = %.lr.ph5, %70
%38 = load i32, ptr %2, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %3, align 4
%40 = load i32, ptr %3, align 4
%41 = load i32, ptr %6, align 4
%42 = icmp sle i32 %40, %41
br i1 %42, label %.lr.ph3, label %.loopexit
.lr.ph3: ; preds = %37
br label %43
43: ; preds = %.lr.ph3, %59
%44 = load i32, ptr %2, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [100000 x i32], ptr %11, i64 0, i64 %45
%47 = load i32, ptr %46, align 4
%48 = load i32, ptr %3, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds [100000 x i32], ptr %11, i64 0, i64 %49
%51 = load i32, ptr %50, align 4
%52 = add nsw i32 %47, %51
%53 = load i32, ptr %7, align 4
%54 = icmp eq i32 %52, %53
br i1 %54, label %55, label %58
55: ; preds = %43
%56 = load i32, ptr %2, align 4
store i32 %56, ptr %8, align 4
%57 = load i32, ptr %3, align 4
store i32 %57, ptr %9, align 4
store i32 1, ptr %5, align 4
br label %65
58: ; preds = %43
br label %59
59: ; preds = %58
%60 = load i32, ptr %3, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %3, align 4
%62 = load i32, ptr %3, align 4
%63 = load i32, ptr %6, align 4
%64 = icmp sle i32 %62, %63
br i1 %64, label %43, label %..loopexit_crit_edge, !llvm.loop !8
..loopexit_crit_edge: ; preds = %59
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %37
br label %65
65: ; preds = %.loopexit, %55
%66 = load i32, ptr %5, align 4
%67 = icmp eq i32 %66, 1
br i1 %67, label %68, label %69
68: ; preds = %65
br label %76
69: ; preds = %65
br label %70
70: ; preds = %69
%71 = load i32, ptr %2, align 4
%72 = add nsw i32 %71, 1
store i32 %72, ptr %2, align 4
%73 = load i32, ptr %2, align 4
%74 = load i32, ptr %6, align 4
%75 = icmp sle i32 %73, %74
br i1 %75, label %37, label %..loopexit1_crit_edge, !llvm.loop !9
..loopexit1_crit_edge: ; preds = %70
br label %.loopexit1
.loopexit1: ; preds = %..loopexit1_crit_edge, %33
br label %76
76: ; preds = %.loopexit1, %68
%77 = load i32, ptr %8, align 4
%78 = load i32, ptr %9, align 4
%79 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %77, i32 noundef %78)
%80 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%81 = load i32, ptr %10, align 4
%82 = add nsw i32 %81, -1
store i32 %82, ptr %10, align 4
%83 = icmp ne i32 %81, 0
br i1 %83, label %17, label %._crit_edge8, !llvm.loop !10
._crit_edge8: ; preds = %76
br label %84
84: ; preds = %._crit_edge8, %0
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpok8qeiv2.c'
source_filename = "/tmp/tmpok8qeiv2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [49 x i8] c"Provide the encoding size and the mutation rate\0A\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"Size: int\0ARate: [0, 1]\0A\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"%d %lf\00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c"\0A%lf%%\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca double, align 8
%4 = alloca double, align 8
store i32 0, ptr %1, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%7 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2, ptr noundef %3)
%8 = load double, ptr %3, align 8
%9 = fsub double 1.000000e+00, %8
%10 = fptosi double %9 to i32
%11 = load i32, ptr %2, align 4
%12 = call i32 @pow(i32 noundef %10, i32 noundef %11)
%13 = sub nsw i32 1, %12
%14 = mul nsw i32 100, %13
%15 = sitofp i32 %14 to double
store double %15, ptr %4, align 8
%16 = load double, ptr %4, align 8
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %16)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @pow(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpok8qeiv2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [49 x i8] c"Provide the encoding size and the mutation rate\0A\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"Size: int\0ARate: [0, 1]\0A\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"%d %lf\00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c"\0A%lf%%\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca double, align 8
%4 = alloca double, align 8
store i32 0, ptr %1, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%7 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2, ptr noundef %3)
%8 = load double, ptr %3, align 8
%9 = fsub double 1.000000e+00, %8
%10 = fptosi double %9 to i32
%11 = load i32, ptr %2, align 4
%12 = call i32 @pow(i32 noundef %10, i32 noundef %11)
%13 = sub nsw i32 1, %12
%14 = mul nsw i32 100, %13
%15 = sitofp i32 %14 to double
store double %15, ptr %4, align 8
%16 = load double, ptr %4, align 8
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %16)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @pow(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpe17c0hf4.c'
source_filename = "/tmp/tmpe17c0hf4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_INET6 = dso_local global i32 0, align 4
@AI_ALL = dso_local global i32 0, align 4
@AI_V4MAPPED = dso_local global i32 0, align 4
@SOCK_STREAM = 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/tmpe17c0hf4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_INET6 = dso_local global i32 0, align 4
@AI_ALL = dso_local global i32 0, align 4
@AI_V4MAPPED = dso_local global i32 0, align 4
@SOCK_STREAM = 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/tmp_1n9vrx3.c'
source_filename = "/tmp/tmp_1n9vrx3.c"
target datalayout = "e-m:e-p270: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_1n9vrx3.c"
target datalayout = "e-m:e-p270: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/tmpvf7jm8ky.c'
source_filename = "/tmp/tmpvf7jm8ky.c"
target datalayout = "e-m:e-p270: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.timespec = type { i32 }
@.str = private unnamed_addr constant [56 x i8] c"Out Of Memory: could not allocate space for the array.\0A\00", align 1
@RAND_MAX = dso_local global i32 0, align 4
@CLOCK_MONOTONIC_RAW = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [27 x i8] c"Scalar product result: %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"Int scalar multiplication.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @int_scalar_mult(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca %struct.timespec, align 4
%8 = alloca %struct.timespec, align 4
store i32 %0, ptr %3, align 4
%9 = load i32, ptr %3, align 4
%10 = zext i32 %9 to i64
%11 = mul i64 %10, 4
%12 = trunc i64 %11 to i32
%13 = call i64 @malloc(i32 noundef %12)
%14 = inttoptr i64 %13 to ptr
store ptr %14, ptr %5, align 8
store i32 0, ptr %6, align 4
%15 = load ptr, ptr %5, align 8
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %19
17: ; preds = %1
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %2, align 4
br label %85
19: ; preds = %1
%20 = call i64 @time(ptr noundef null)
%21 = trunc i64 %20 to i32
%22 = call i32 @srand(i32 noundef %21)
store i32 0, ptr %4, align 4
br label %23
23: ; preds = %37, %19
%24 = load i32, ptr %4, align 4
%25 = load i32, ptr %3, align 4
%26 = icmp ult i32 %24, %25
br i1 %26, label %27, label %40
27: ; preds = %23
%28 = call i64 (...) @rand()
%29 = trunc i64 %28 to i32
%30 = load i32, ptr @RAND_MAX, align 4
%31 = sdiv i32 %30, 10
%32 = sdiv i32 %29, %31
%33 = load ptr, ptr %5, align 8
%34 = load i32, ptr %4, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i32, ptr %33, i64 %35
store i32 %32, ptr %36, align 4
br label %37
37: ; preds = %27
%38 = load i32, ptr %4, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %4, align 4
br label %23, !llvm.loop !6
40: ; preds = %23
%41 = call i64 (...) @rand()
%42 = trunc i64 %41 to i32
%43 = load i32, ptr @RAND_MAX, align 4
%44 = sdiv i32 %43, 10
%45 = sdiv i32 %42, %44
store i32 %45, ptr %6, align 4
%46 = call i32 (...) @rapl_init()
%47 = call i32 (...) @rapl_start()
%48 = load i32, ptr @CLOCK_MONOTONIC_RAW, align 4
%49 = call i32 @clock_gettime(i32 noundef %48, ptr noundef %7)
store i32 0, ptr %4, align 4
br label %50
50: ; preds = %66, %40
%51 = load i32, ptr %4, align 4
%52 = load i32, ptr %3, align 4
%53 = icmp ult i32 %51, %52
br i1 %53, label %54, label %69
54: ; preds = %50
%55 = load i32, ptr %6, align 4
%56 = load ptr, ptr %5, align 8
%57 = load i32, ptr %4, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds i32, ptr %56, i64 %58
%60 = load i32, ptr %59, align 4
%61 = mul i32 %55, %60
%62 = load ptr, ptr %5, align 8
%63 = load i32, ptr %4, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds i32, ptr %62, i64 %64
store i32 %61, ptr %65, align 4
br label %66
66: ; preds = %54
%67 = load i32, ptr %4, align 4
%68 = add nsw i32 %67, 1
store i32 %68, ptr %4, align 4
br label %50, !llvm.loop !8
69: ; preds = %50
%70 = load i32, ptr @CLOCK_MONOTONIC_RAW, align 4
%71 = call i32 @clock_gettime(i32 noundef %70, ptr noundef %8)
%72 = call i32 (...) @rapl_end()
%73 = call i32 (...) @rapl_deinit()
%74 = load ptr, ptr %5, align 8
%75 = getelementptr inbounds i32, ptr %74, i64 0
%76 = load i32, ptr %75, align 4
%77 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %76)
%78 = getelementptr inbounds %struct.timespec, ptr %7, i32 0, i32 0
%79 = load i32, ptr %78, align 4
%80 = getelementptr inbounds %struct.timespec, ptr %8, i32 0, i32 0
%81 = load i32, ptr %80, align 4
%82 = call i32 @elapsed_time_hr(i32 %79, i32 %81, ptr noundef @.str.2)
%83 = load ptr, ptr %5, align 8
%84 = call i32 @free(ptr noundef %83)
store i32 0, ptr %2, align 4
br label %85
85: ; preds = %69, %17
%86 = load i32, ptr %2, align 4
ret i32 %86
}
declare i64 @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @srand(i32 noundef) #1
declare i64 @time(ptr noundef) #1
declare i64 @rand(...) #1
declare i32 @rapl_init(...) #1
declare i32 @rapl_start(...) #1
declare i32 @clock_gettime(i32 noundef, ptr noundef) #1
declare i32 @rapl_end(...) #1
declare i32 @rapl_deinit(...) #1
declare i32 @elapsed_time_hr(i32, i32, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvf7jm8ky.c"
target datalayout = "e-m:e-p270: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.timespec = type { i32 }
@.str = private unnamed_addr constant [56 x i8] c"Out Of Memory: could not allocate space for the array.\0A\00", align 1
@RAND_MAX = dso_local global i32 0, align 4
@CLOCK_MONOTONIC_RAW = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [27 x i8] c"Scalar product result: %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"Int scalar multiplication.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @int_scalar_mult(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca %struct.timespec, align 4
%8 = alloca %struct.timespec, align 4
store i32 %0, ptr %3, align 4
%9 = load i32, ptr %3, align 4
%10 = zext i32 %9 to i64
%11 = mul i64 %10, 4
%12 = trunc i64 %11 to i32
%13 = call i64 @malloc(i32 noundef %12)
%14 = inttoptr i64 %13 to ptr
store ptr %14, ptr %5, align 8
store i32 0, ptr %6, align 4
%15 = load ptr, ptr %5, align 8
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %19
17: ; preds = %1
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %2, align 4
br label %89
19: ; preds = %1
%20 = call i64 @time(ptr noundef null)
%21 = trunc i64 %20 to i32
%22 = call i32 @srand(i32 noundef %21)
store i32 0, ptr %4, align 4
%23 = load i32, ptr %4, align 4
%24 = load i32, ptr %3, align 4
%25 = icmp ult i32 %23, %24
br i1 %25, label %.lr.ph, label %42
.lr.ph: ; preds = %19
br label %26
26: ; preds = %.lr.ph, %36
%27 = call i64 (...) @rand()
%28 = trunc i64 %27 to i32
%29 = load i32, ptr @RAND_MAX, align 4
%30 = sdiv i32 %29, 10
%31 = sdiv i32 %28, %30
%32 = load ptr, ptr %5, align 8
%33 = load i32, ptr %4, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i32, ptr %32, i64 %34
store i32 %31, ptr %35, align 4
br label %36
36: ; preds = %26
%37 = load i32, ptr %4, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %4, align 4
%39 = load i32, ptr %4, align 4
%40 = load i32, ptr %3, align 4
%41 = icmp ult i32 %39, %40
br i1 %41, label %26, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %36
br label %42
42: ; preds = %._crit_edge, %19
%43 = call i64 (...) @rand()
%44 = trunc i64 %43 to i32
%45 = load i32, ptr @RAND_MAX, align 4
%46 = sdiv i32 %45, 10
%47 = sdiv i32 %44, %46
store i32 %47, ptr %6, align 4
%48 = call i32 (...) @rapl_init()
%49 = call i32 (...) @rapl_start()
%50 = load i32, ptr @CLOCK_MONOTONIC_RAW, align 4
%51 = call i32 @clock_gettime(i32 noundef %50, ptr noundef %7)
store i32 0, ptr %4, align 4
%52 = load i32, ptr %4, align 4
%53 = load i32, ptr %3, align 4
%54 = icmp ult i32 %52, %53
br i1 %54, label %.lr.ph2, label %73
.lr.ph2: ; preds = %42
br label %55
55: ; preds = %.lr.ph2, %67
%56 = load i32, ptr %6, align 4
%57 = load ptr, ptr %5, align 8
%58 = load i32, ptr %4, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i32, ptr %57, i64 %59
%61 = load i32, ptr %60, align 4
%62 = mul i32 %56, %61
%63 = load ptr, ptr %5, align 8
%64 = load i32, ptr %4, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds i32, ptr %63, i64 %65
store i32 %62, ptr %66, align 4
br label %67
67: ; preds = %55
%68 = load i32, ptr %4, align 4
%69 = add nsw i32 %68, 1
store i32 %69, ptr %4, align 4
%70 = load i32, ptr %4, align 4
%71 = load i32, ptr %3, align 4
%72 = icmp ult i32 %70, %71
br i1 %72, label %55, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %67
br label %73
73: ; preds = %._crit_edge3, %42
%74 = load i32, ptr @CLOCK_MONOTONIC_RAW, align 4
%75 = call i32 @clock_gettime(i32 noundef %74, ptr noundef %8)
%76 = call i32 (...) @rapl_end()
%77 = call i32 (...) @rapl_deinit()
%78 = load ptr, ptr %5, align 8
%79 = getelementptr inbounds i32, ptr %78, i64 0
%80 = load i32, ptr %79, align 4
%81 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %80)
%82 = getelementptr inbounds %struct.timespec, ptr %7, i32 0, i32 0
%83 = load i32, ptr %82, align 4
%84 = getelementptr inbounds %struct.timespec, ptr %8, i32 0, i32 0
%85 = load i32, ptr %84, align 4
%86 = call i32 @elapsed_time_hr(i32 %83, i32 %85, ptr noundef @.str.2)
%87 = load ptr, ptr %5, align 8
%88 = call i32 @free(ptr noundef %87)
store i32 0, ptr %2, align 4
br label %89
89: ; preds = %73, %17
%90 = load i32, ptr %2, align 4
ret i32 %90
}
declare i64 @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @srand(i32 noundef) #1
declare i64 @time(ptr noundef) #1
declare i64 @rand(...) #1
declare i32 @rapl_init(...) #1
declare i32 @rapl_start(...) #1
declare i32 @clock_gettime(i32 noundef, ptr noundef) #1
declare i32 @rapl_end(...) #1
declare i32 @rapl_deinit(...) #1
declare i32 @elapsed_time_hr(i32, i32, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpfuua87w5.c'
source_filename = "/tmp/tmpfuua87w5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rtrim(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %2, align 8
%7 = call ptr @strchr(ptr noundef %6, i32 noundef 0)
store ptr %7, ptr %4, align 8
br label %8
8: ; preds = %1, %43
br label %9
9: ; preds = %22, %8
%10 = load ptr, ptr %3, align 8
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %20
14: ; preds = %9
%15 = load ptr, ptr %3, align 8
%16 = load i8, ptr %15, align 1
%17 = call i64 @isspace(i8 noundef signext %16)
%18 = icmp ne i64 %17, 0
%19 = xor i1 %18, true
br label %20
20: ; preds = %14, %9
%21 = phi i1 [ false, %9 ], [ %19, %14 ]
br i1 %21, label %22, label %25
22: ; preds = %20
%23 = load ptr, ptr %3, align 8
%24 = getelementptr inbounds i8, ptr %23, i32 1
store ptr %24, ptr %3, align 8
br label %9, !llvm.loop !6
25: ; preds = %20
%26 = load ptr, ptr %3, align 8
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %33
30: ; preds = %25
%31 = load ptr, ptr %4, align 8
store i8 0, ptr %31, align 1
%32 = load ptr, ptr %2, align 8
ret ptr %32
33: ; preds = %25
%34 = load ptr, ptr %3, align 8
store ptr %34, ptr %4, align 8
br label %35
35: ; preds = %40, %33
%36 = load ptr, ptr %3, align 8
%37 = load i8, ptr %36, align 1
%38 = call i64 @isspace(i8 noundef signext %37)
%39 = icmp ne i64 %38, 0
br i1 %39, label %40, label %43
40: ; preds = %35
%41 = load ptr, ptr %3, align 8
%42 = getelementptr inbounds i8, ptr %41, i32 1
store ptr %42, ptr %3, align 8
br label %35, !llvm.loop !8
43: ; preds = %35
br label %8
}
declare ptr @strchr(ptr noundef, i32 noundef) #1
declare i64 @isspace(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfuua87w5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rtrim(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %2, align 8
%7 = call ptr @strchr(ptr noundef %6, i32 noundef 0)
store ptr %7, ptr %4, align 8
br label %8
8: ; preds = %46, %1
br label %9
9: ; preds = %22, %8
%10 = load ptr, ptr %3, align 8
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %20
14: ; preds = %9
%15 = load ptr, ptr %3, align 8
%16 = load i8, ptr %15, align 1
%17 = call i64 @isspace(i8 noundef signext %16)
%18 = icmp ne i64 %17, 0
%19 = xor i1 %18, true
br label %20
20: ; preds = %14, %9
%21 = phi i1 [ false, %9 ], [ %19, %14 ]
br i1 %21, label %22, label %25
22: ; preds = %20
%23 = load ptr, ptr %3, align 8
%24 = getelementptr inbounds i8, ptr %23, i32 1
store ptr %24, ptr %3, align 8
br label %9, !llvm.loop !6
25: ; preds = %20
%26 = load ptr, ptr %3, align 8
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %33
30: ; preds = %25
%31 = load ptr, ptr %4, align 8
store i8 0, ptr %31, align 1
%32 = load ptr, ptr %2, align 8
ret ptr %32
33: ; preds = %25
%34 = load ptr, ptr %3, align 8
store ptr %34, ptr %4, align 8
%35 = load ptr, ptr %3, align 8
%36 = load i8, ptr %35, align 1
%37 = call i64 @isspace(i8 noundef signext %36)
%38 = icmp ne i64 %37, 0
br i1 %38, label %.lr.ph, label %46
.lr.ph: ; preds = %33
br label %39
39: ; preds = %.lr.ph, %39
%40 = load ptr, ptr %3, align 8
%41 = getelementptr inbounds i8, ptr %40, i32 1
store ptr %41, ptr %3, align 8
%42 = load ptr, ptr %3, align 8
%43 = load i8, ptr %42, align 1
%44 = call i64 @isspace(i8 noundef signext %43)
%45 = icmp ne i64 %44, 0
br i1 %45, label %39, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %39
br label %46
46: ; preds = %._crit_edge, %33
br label %8
}
declare ptr @strchr(ptr noundef, i32 noundef) #1
declare i64 @isspace(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpxfzxgu7k.c'
source_filename = "/tmp/tmpxfzxgu7k.c"
target datalayout = "e-m:e-p270: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/tmpxfzxgu7k.c"
target datalayout = "e-m:e-p270: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/tmpkoycssft.c'
source_filename = "/tmp/tmpkoycssft.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [31 x i8] c"allocation failure in vector()\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @vector(i32 noundef %0, i32 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 %1, ptr %4, align 4
%6 = load i32, ptr %4, align 4
%7 = load i32, ptr %3, align 4
%8 = sub nsw i32 %6, %7
%9 = add nsw i32 %8, 1
%10 = zext i32 %9 to i64
%11 = mul i64 %10, 4
%12 = trunc i64 %11 to i32
%13 = call i64 @malloc(i32 noundef %12)
%14 = inttoptr i64 %13 to ptr
store ptr %14, ptr %5, align 8
%15 = load ptr, ptr %5, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %20, label %17
17: ; preds = %2
%18 = call i32 @printf(ptr noundef @.str)
%19 = call i32 @exit(i32 noundef -1) #3
unreachable
20: ; preds = %2
%21 = load ptr, ptr %5, align 8
%22 = load i32, ptr %3, align 4
%23 = sext i32 %22 to i64
%24 = sub i64 0, %23
%25 = getelementptr inbounds float, ptr %21, i64 %24
ret ptr %25
}
declare i64 @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkoycssft.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [31 x i8] c"allocation failure in vector()\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @vector(i32 noundef %0, i32 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 %1, ptr %4, align 4
%6 = load i32, ptr %4, align 4
%7 = load i32, ptr %3, align 4
%8 = sub nsw i32 %6, %7
%9 = add nsw i32 %8, 1
%10 = zext i32 %9 to i64
%11 = mul i64 %10, 4
%12 = trunc i64 %11 to i32
%13 = call i64 @malloc(i32 noundef %12)
%14 = inttoptr i64 %13 to ptr
store ptr %14, ptr %5, align 8
%15 = load ptr, ptr %5, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %20, label %17
17: ; preds = %2
%18 = call i32 @printf(ptr noundef @.str)
%19 = call i32 @exit(i32 noundef -1) #3
unreachable
20: ; preds = %2
%21 = load ptr, ptr %5, align 8
%22 = load i32, ptr %3, align 4
%23 = sext i32 %22 to i64
%24 = sub i64 0, %23
%25 = getelementptr inbounds float, ptr %21, i64 %24
ret ptr %25
}
declare i64 @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp67yed68z.c'
source_filename = "/tmp/tmp67yed68z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"%lu\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [1 x i64], align 8
%7 = alloca [1 x i64], align 8
%8 = alloca i32, align 4
%9 = alloca i64, align 8
%10 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = call i32 (...) @megaInit()
%12 = load i32, ptr %4, align 4
%13 = icmp ne i32 %12, 2
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1)
%16 = call i32 @exit(i32 noundef -1) #3
unreachable
17: ; preds = %2
br label %18
18: ; preds = %17
store i32 0, ptr %8, align 4
br label %19
19: ; preds = %22, %18
%20 = load i32, ptr %8, align 4
%21 = icmp slt i32 %20, 1
br i1 %21, label %22, label %36
22: ; preds = %19
%23 = load ptr, ptr %5, align 8
%24 = load i32, ptr %8, align 4
%25 = add nsw i32 %24, 1
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds ptr, ptr %23, i64 %26
%28 = load ptr, ptr %27, align 8
%29 = call i64 @strtoul(ptr noundef %28, i32 noundef 0, i32 noundef 10)
store i64 %29, ptr %9, align 8
%30 = load i64, ptr %9, align 8
%31 = load i32, ptr %8, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [1 x i64], ptr %6, i64 0, i64 %32
store i64 %30, ptr %33, align 8
%34 = load i32, ptr %8, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %8, align 4
br label %19, !llvm.loop !6
36: ; preds = %19
%37 = getelementptr inbounds [1 x i64], ptr %6, i64 0, i64 0
%38 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 0
%39 = call i32 @RandomFunc(ptr noundef %37, ptr noundef %38)
%40 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 0
%41 = load i64, ptr %40, align 8
%42 = icmp eq i64 %41, 446842186
br i1 %42, label %43, label %45
43: ; preds = %36
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %46
45: ; preds = %36
br label %46
46: ; preds = %45, %43
store i32 0, ptr %10, align 4
br label %47
47: ; preds = %50, %46
%48 = load i32, ptr %10, align 4
%49 = icmp slt i32 %48, 1
br i1 %49, label %50, label %58
50: ; preds = %47
%51 = load i32, ptr %10, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 %52
%54 = load i64, ptr %53, align 8
%55 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %54)
%56 = load i32, ptr %10, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %10, align 4
br label %47, !llvm.loop !8
58: ; preds = %47
%59 = load i32, ptr %3, align 4
ret i32 %59
}
declare i32 @megaInit(...) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @RandomFunc(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp67yed68z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"%lu\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [1 x i64], align 8
%7 = alloca [1 x i64], align 8
%8 = alloca i32, align 4
%9 = alloca i64, align 8
%10 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = call i32 (...) @megaInit()
%12 = load i32, ptr %4, align 4
%13 = icmp ne i32 %12, 2
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1)
%16 = call i32 @exit(i32 noundef -1) #3
unreachable
17: ; preds = %2
br label %18
18: ; preds = %17
store i32 0, ptr %8, align 4
%19 = load i32, ptr %8, align 4
%20 = icmp slt i32 %19, 1
br i1 %20, label %.lr.ph, label %37
.lr.ph: ; preds = %18
br label %21
21: ; preds = %.lr.ph, %21
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr %8, align 4
%24 = add nsw i32 %23, 1
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds ptr, ptr %22, i64 %25
%27 = load ptr, ptr %26, align 8
%28 = call i64 @strtoul(ptr noundef %27, i32 noundef 0, i32 noundef 10)
store i64 %28, ptr %9, align 8
%29 = load i64, ptr %9, align 8
%30 = load i32, ptr %8, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds [1 x i64], ptr %6, i64 0, i64 %31
store i64 %29, ptr %32, align 8
%33 = load i32, ptr %8, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %8, align 4
%35 = load i32, ptr %8, align 4
%36 = icmp slt i32 %35, 1
br i1 %36, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %37
37: ; preds = %._crit_edge, %18
%38 = getelementptr inbounds [1 x i64], ptr %6, i64 0, i64 0
%39 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 0
%40 = call i32 @RandomFunc(ptr noundef %38, ptr noundef %39)
%41 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 0
%42 = load i64, ptr %41, align 8
%43 = icmp eq i64 %42, 446842186
br i1 %43, label %44, label %46
44: ; preds = %37
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %47
46: ; preds = %37
br label %47
47: ; preds = %46, %44
store i32 0, ptr %10, align 4
%48 = load i32, ptr %10, align 4
%49 = icmp slt i32 %48, 1
br i1 %49, label %.lr.ph2, label %60
.lr.ph2: ; preds = %47
br label %50
50: ; preds = %.lr.ph2, %50
%51 = load i32, ptr %10, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 %52
%54 = load i64, ptr %53, align 8
%55 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %54)
%56 = load i32, ptr %10, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %10, align 4
%58 = load i32, ptr %10, align 4
%59 = icmp slt i32 %58, 1
br i1 %59, label %50, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %50
br label %60
60: ; preds = %._crit_edge3, %47
%61 = load i32, ptr %3, align 4
ret i32 %61
}
declare i32 @megaInit(...) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @RandomFunc(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp5rwpueiz.c'
source_filename = "/tmp/tmp5rwpueiz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [2 x i8] c"1\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"\0ABluebridge\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"\0AAlyson Books\00", align 1
@.str.4 = private unnamed_addr constant [30 x i8] c"\0AFUNimation Productions, Ltd.\00", align 1
@.str.5 = private unnamed_addr constant [15 x i8] c"\0APyramid Books\00", align 1
@.str.6 = private unnamed_addr constant [2 x i8] c"0\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [20 x i8], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %3, align 4
store i32 0, ptr %6, align 4
store i32 1, ptr %7, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
%10 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0
%11 = call i32 @scanf(ptr noundef @.str, ptr noundef %10)
%12 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0
%13 = load i8, ptr %12, align 16
%14 = sext i8 %13 to i32
%15 = icmp ne i32 %14, 57
br i1 %15, label %31, label %16
16: ; preds = %0
%17 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 1
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = icmp ne i32 %19, 55
br i1 %20, label %31, label %21
21: ; preds = %16
%22 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 2
%23 = load i8, ptr %22, align 2
%24 = sext i8 %23 to i32
%25 = icmp ne i32 %24, 56
br i1 %25, label %26, label %32
26: ; preds = %21
%27 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 2
%28 = load i8, ptr %27, align 2
%29 = sext i8 %28 to i32
%30 = icmp ne i32 %29, 57
br i1 %30, label %31, label %32
31: ; preds = %26, %16, %0
store i32 0, ptr %3, align 4
br label %32
32: ; preds = %31, %26, %21
%33 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 6
%34 = load i8, ptr %33, align 2
%35 = sext i8 %34 to i32
%36 = icmp eq i32 %35, 57
br i1 %36, label %37, label %63
37: ; preds = %32
%38 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 7
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i32
%41 = icmp eq i32 %40, 51
br i1 %41, label %42, label %63
42: ; preds = %37
%43 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 8
%44 = load i8, ptr %43, align 8
%45 = sext i8 %44 to i32
%46 = icmp eq i32 %45, 51
br i1 %46, label %47, label %63
47: ; preds = %42
%48 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 9
%49 = load i8, ptr %48, align 1
%50 = sext i8 %49 to i32
%51 = icmp eq i32 %50, 51
br i1 %51, label %52, label %63
52: ; preds = %47
%53 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 10
%54 = load i8, ptr %53, align 2
%55 = sext i8 %54 to i32
%56 = icmp eq i32 %55, 52
br i1 %56, label %57, label %63
57: ; preds = %52
%58 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 11
%59 = load i8, ptr %58, align 1
%60 = sext i8 %59 to i32
%61 = icmp eq i32 %60, 54
br i1 %61, label %62, label %63
62: ; preds = %57
store i32 1, ptr %9, align 4
br label %63
63: ; preds = %62, %57, %52, %47, %42, %37, %32
%64 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 6
%65 = load i8, ptr %64, align 2
%66 = sext i8 %65 to i32
%67 = icmp eq i32 %66, 53
br i1 %67, label %68, label %89
68: ; preds = %63
%69 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 7
%70 = load i8, ptr %69, align 1
%71 = sext i8 %70 to i32
%72 = icmp eq i32 %71, 53
br i1 %72, label %73, label %89
73: ; preds = %68
%74 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 8
%75 = load i8, ptr %74, align 8
%76 = sext i8 %75 to i32
%77 = icmp eq i32 %76, 53
br i1 %77, label %78, label %89
78: ; preds = %73
%79 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 9
%80 = load i8, ptr %79, align 1
%81 = sext i8 %80 to i32
%82 = icmp eq i32 %81, 56
br i1 %82, label %83, label %89
83: ; preds = %78
%84 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 10
%85 = load i8, ptr %84, align 2
%86 = sext i8 %85 to i32
%87 = icmp eq i32 %86, 51
br i1 %87, label %88, label %89
88: ; preds = %83
store i32 2, ptr %9, align 4
br label %89
89: ; preds = %88, %83, %78, %73, %68, %63
%90 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 6
%91 = load i8, ptr %90, align 2
%92 = sext i8 %91 to i32
%93 = icmp eq i32 %92, 52
br i1 %93, label %94, label %110
94: ; preds = %89
%95 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 7
%96 = load i8, ptr %95, align 1
%97 = sext i8 %96 to i32
%98 = icmp eq i32 %97, 50
br i1 %98, label %99, label %110
99: ; preds = %94
%100 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 8
%101 = load i8, ptr %100, align 8
%102 = sext i8 %101 to i32
%103 = icmp eq i32 %102, 49
br i1 %103, label %104, label %110
104: ; preds = %99
%105 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 9
%106 = load i8, ptr %105, align 1
%107 = sext i8 %106 to i32
%108 = icmp eq i32 %107, 48
br i1 %108, label %109, label %110
109: ; preds = %104
store i32 3, ptr %9, align 4
br label %110
110: ; preds = %109, %104, %99, %94, %89
%111 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 6
%112 = load i8, ptr %111, align 2
%113 = sext i8 %112 to i32
%114 = icmp eq i32 %113, 48
br i1 %114, label %115, label %121
115: ; preds = %110
%116 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 7
%117 = load i8, ptr %116, align 1
%118 = sext i8 %117 to i32
%119 = icmp eq i32 %118, 49
br i1 %119, label %120, label %121
120: ; preds = %115
store i32 4, ptr %9, align 4
br label %121
121: ; preds = %120, %115, %110
%122 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0
%123 = call i32 @strlen(ptr noundef %122)
store i32 %123, ptr %5, align 4
store i32 0, ptr %4, align 4
br label %124
124: ; preds = %161, %121
%125 = load i32, ptr %4, align 4
%126 = load i32, ptr %5, align 4
%127 = icmp slt i32 %125, %126
br i1 %127, label %128, label %164
128: ; preds = %124
%129 = load i32, ptr %4, align 4
%130 = sext i32 %129 to i64
%131 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %130
%132 = load i8, ptr %131, align 1
%133 = sext i8 %132 to i32
%134 = icmp sgt i32 %133, 57
br i1 %134, label %135, label %150
135: ; preds = %128
%136 = load i32, ptr %4, align 4
%137 = sext i32 %136 to i64
%138 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %137
%139 = load i8, ptr %138, align 1
%140 = sext i8 %139 to i32
%141 = icmp slt i32 %140, 48
br i1 %141, label %142, label %150
142: ; preds = %135
%143 = load i32, ptr %4, align 4
%144 = sext i32 %143 to i64
%145 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %144
%146 = load i8, ptr %145, align 1
%147 = sext i8 %146 to i32
%148 = icmp ne i32 %147, 45
br i1 %148, label %149, label %150
149: ; preds = %142
store i32 0, ptr %3, align 4
br label %150
150: ; preds = %149, %142, %135, %128
%151 = load i32, ptr %4, align 4
%152 = sext i32 %151 to i64
%153 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %152
%154 = load i8, ptr %153, align 1
%155 = sext i8 %154 to i32
%156 = sub nsw i32 %155, 48
%157 = trunc i32 %156 to i8
%158 = load i32, ptr %4, align 4
%159 = sext i32 %158 to i64
%160 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %159
store i8 %157, ptr %160, align 1
br label %161
161: ; preds = %150
%162 = load i32, ptr %4, align 4
%163 = add nsw i32 %162, 1
store i32 %163, ptr %4, align 4
br label %124, !llvm.loop !6
164: ; preds = %124
store i32 0, ptr %4, align 4
br label %165
165: ; preds = %203, %164
%166 = load i32, ptr %4, align 4
%167 = load i32, ptr %5, align 4
%168 = sub nsw i32 %167, 1
%169 = icmp slt i32 %166, %168
br i1 %169, label %170, label %206
170: ; preds = %165
%171 = load i32, ptr %4, align 4
%172 = sext i32 %171 to i64
%173 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %172
%174 = load i8, ptr %173, align 1
%175 = sext i8 %174 to i32
%176 = icmp sle i32 %175, 9
br i1 %176, label %177, label %202
177: ; preds = %170
%178 = load i32, ptr %4, align 4
%179 = sext i32 %178 to i64
%180 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %179
%181 = load i8, ptr %180, align 1
%182 = sext i8 %181 to i32
%183 = icmp sge i32 %182, 0
br i1 %183, label %184, label %202
184: ; preds = %177
%185 = load i32, ptr %6, align 4
%186 = load i32, ptr %4, align 4
%187 = sext i32 %186 to i64
%188 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %187
%189 = load i8, ptr %188, align 1
%190 = sext i8 %189 to i32
%191 = load i32, ptr %7, align 4
%192 = mul nsw i32 %190, %191
%193 = add nsw i32 %185, %192
store i32 %193, ptr %6, align 4
%194 = load i32, ptr %8, align 4
%195 = add nsw i32 %194, 1
store i32 %195, ptr %8, align 4
%196 = load i32, ptr %8, align 4
%197 = srem i32 %196, 2
%198 = icmp ne i32 %197, 0
br i1 %198, label %199, label %200
199: ; preds = %184
store i32 3, ptr %7, align 4
br label %201
200: ; preds = %184
store i32 1, ptr %7, align 4
br label %201
201: ; preds = %200, %199
br label %202
202: ; preds = %201, %177, %170
br label %203
203: ; preds = %202
%204 = load i32, ptr %4, align 4
%205 = add nsw i32 %204, 1
store i32 %205, ptr %4, align 4
br label %165, !llvm.loop !8
206: ; preds = %165
%207 = load i32, ptr %5, align 4
%208 = sub nsw i32 %207, 1
%209 = sext i32 %208 to i64
%210 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %209
%211 = load i8, ptr %210, align 1
%212 = sext i8 %211 to i32
%213 = load i32, ptr %6, align 4
%214 = srem i32 %213, 10
%215 = sub nsw i32 10, %214
%216 = icmp ne i32 %212, %215
br i1 %216, label %217, label %218
217: ; preds = %206
store i32 0, ptr %3, align 4
br label %218
218: ; preds = %217, %206
%219 = load i32, ptr %3, align 4
%220 = icmp ne i32 %219, 0
br i1 %220, label %221, label %243
221: ; preds = %218
%222 = call i32 @printf(ptr noundef @.str.1)
%223 = load i32, ptr %9, align 4
%224 = icmp eq i32 %223, 1
br i1 %224, label %225, label %227
225: ; preds = %221
%226 = call i32 @printf(ptr noundef @.str.2)
br label %227
227: ; preds = %225, %221
%228 = load i32, ptr %9, align 4
%229 = icmp eq i32 %228, 2
br i1 %229, label %230, label %232
230: ; preds = %227
%231 = call i32 @printf(ptr noundef @.str.3)
br label %232
232: ; preds = %230, %227
%233 = load i32, ptr %9, align 4
%234 = icmp eq i32 %233, 3
br i1 %234, label %235, label %237
235: ; preds = %232
%236 = call i32 @printf(ptr noundef @.str.4)
br label %237
237: ; preds = %235, %232
%238 = load i32, ptr %9, align 4
%239 = icmp eq i32 %238, 4
br i1 %239, label %240, label %242
240: ; preds = %237
%241 = call i32 @printf(ptr noundef @.str.5)
br label %242
242: ; preds = %240, %237
br label %245
243: ; preds = %218
%244 = call i32 @printf(ptr noundef @.str.6)
br label %245
245: ; preds = %243, %242
ret i32 0
}
declare i32 @scanf(ptr noundef, 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/tmp5rwpueiz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [2 x i8] c"1\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"\0ABluebridge\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"\0AAlyson Books\00", align 1
@.str.4 = private unnamed_addr constant [30 x i8] c"\0AFUNimation Productions, Ltd.\00", align 1
@.str.5 = private unnamed_addr constant [15 x i8] c"\0APyramid Books\00", align 1
@.str.6 = private unnamed_addr constant [2 x i8] c"0\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [20 x i8], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %3, align 4
store i32 0, ptr %6, align 4
store i32 1, ptr %7, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
%10 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0
%11 = call i32 @scanf(ptr noundef @.str, ptr noundef %10)
%12 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0
%13 = load i8, ptr %12, align 16
%14 = sext i8 %13 to i32
%15 = icmp ne i32 %14, 57
br i1 %15, label %31, label %16
16: ; preds = %0
%17 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 1
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = icmp ne i32 %19, 55
br i1 %20, label %31, label %21
21: ; preds = %16
%22 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 2
%23 = load i8, ptr %22, align 2
%24 = sext i8 %23 to i32
%25 = icmp ne i32 %24, 56
br i1 %25, label %26, label %32
26: ; preds = %21
%27 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 2
%28 = load i8, ptr %27, align 2
%29 = sext i8 %28 to i32
%30 = icmp ne i32 %29, 57
br i1 %30, label %31, label %32
31: ; preds = %26, %16, %0
store i32 0, ptr %3, align 4
br label %32
32: ; preds = %31, %26, %21
%33 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 6
%34 = load i8, ptr %33, align 2
%35 = sext i8 %34 to i32
%36 = icmp eq i32 %35, 57
br i1 %36, label %37, label %63
37: ; preds = %32
%38 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 7
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i32
%41 = icmp eq i32 %40, 51
br i1 %41, label %42, label %63
42: ; preds = %37
%43 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 8
%44 = load i8, ptr %43, align 8
%45 = sext i8 %44 to i32
%46 = icmp eq i32 %45, 51
br i1 %46, label %47, label %63
47: ; preds = %42
%48 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 9
%49 = load i8, ptr %48, align 1
%50 = sext i8 %49 to i32
%51 = icmp eq i32 %50, 51
br i1 %51, label %52, label %63
52: ; preds = %47
%53 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 10
%54 = load i8, ptr %53, align 2
%55 = sext i8 %54 to i32
%56 = icmp eq i32 %55, 52
br i1 %56, label %57, label %63
57: ; preds = %52
%58 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 11
%59 = load i8, ptr %58, align 1
%60 = sext i8 %59 to i32
%61 = icmp eq i32 %60, 54
br i1 %61, label %62, label %63
62: ; preds = %57
store i32 1, ptr %9, align 4
br label %63
63: ; preds = %62, %57, %52, %47, %42, %37, %32
%64 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 6
%65 = load i8, ptr %64, align 2
%66 = sext i8 %65 to i32
%67 = icmp eq i32 %66, 53
br i1 %67, label %68, label %89
68: ; preds = %63
%69 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 7
%70 = load i8, ptr %69, align 1
%71 = sext i8 %70 to i32
%72 = icmp eq i32 %71, 53
br i1 %72, label %73, label %89
73: ; preds = %68
%74 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 8
%75 = load i8, ptr %74, align 8
%76 = sext i8 %75 to i32
%77 = icmp eq i32 %76, 53
br i1 %77, label %78, label %89
78: ; preds = %73
%79 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 9
%80 = load i8, ptr %79, align 1
%81 = sext i8 %80 to i32
%82 = icmp eq i32 %81, 56
br i1 %82, label %83, label %89
83: ; preds = %78
%84 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 10
%85 = load i8, ptr %84, align 2
%86 = sext i8 %85 to i32
%87 = icmp eq i32 %86, 51
br i1 %87, label %88, label %89
88: ; preds = %83
store i32 2, ptr %9, align 4
br label %89
89: ; preds = %88, %83, %78, %73, %68, %63
%90 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 6
%91 = load i8, ptr %90, align 2
%92 = sext i8 %91 to i32
%93 = icmp eq i32 %92, 52
br i1 %93, label %94, label %110
94: ; preds = %89
%95 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 7
%96 = load i8, ptr %95, align 1
%97 = sext i8 %96 to i32
%98 = icmp eq i32 %97, 50
br i1 %98, label %99, label %110
99: ; preds = %94
%100 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 8
%101 = load i8, ptr %100, align 8
%102 = sext i8 %101 to i32
%103 = icmp eq i32 %102, 49
br i1 %103, label %104, label %110
104: ; preds = %99
%105 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 9
%106 = load i8, ptr %105, align 1
%107 = sext i8 %106 to i32
%108 = icmp eq i32 %107, 48
br i1 %108, label %109, label %110
109: ; preds = %104
store i32 3, ptr %9, align 4
br label %110
110: ; preds = %109, %104, %99, %94, %89
%111 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 6
%112 = load i8, ptr %111, align 2
%113 = sext i8 %112 to i32
%114 = icmp eq i32 %113, 48
br i1 %114, label %115, label %121
115: ; preds = %110
%116 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 7
%117 = load i8, ptr %116, align 1
%118 = sext i8 %117 to i32
%119 = icmp eq i32 %118, 49
br i1 %119, label %120, label %121
120: ; preds = %115
store i32 4, ptr %9, align 4
br label %121
121: ; preds = %120, %115, %110
%122 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0
%123 = call i32 @strlen(ptr noundef %122)
store i32 %123, ptr %5, align 4
store i32 0, ptr %4, align 4
%124 = load i32, ptr %4, align 4
%125 = load i32, ptr %5, align 4
%126 = icmp slt i32 %124, %125
br i1 %126, label %.lr.ph, label %166
.lr.ph: ; preds = %121
br label %127
127: ; preds = %.lr.ph, %160
%128 = load i32, ptr %4, align 4
%129 = sext i32 %128 to i64
%130 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %129
%131 = load i8, ptr %130, align 1
%132 = sext i8 %131 to i32
%133 = icmp sgt i32 %132, 57
br i1 %133, label %134, label %149
134: ; preds = %127
%135 = load i32, ptr %4, align 4
%136 = sext i32 %135 to i64
%137 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %136
%138 = load i8, ptr %137, align 1
%139 = sext i8 %138 to i32
%140 = icmp slt i32 %139, 48
br i1 %140, label %141, label %149
141: ; preds = %134
%142 = load i32, ptr %4, align 4
%143 = sext i32 %142 to i64
%144 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %143
%145 = load i8, ptr %144, align 1
%146 = sext i8 %145 to i32
%147 = icmp ne i32 %146, 45
br i1 %147, label %148, label %149
148: ; preds = %141
store i32 0, ptr %3, align 4
br label %149
149: ; preds = %148, %141, %134, %127
%150 = load i32, ptr %4, align 4
%151 = sext i32 %150 to i64
%152 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %151
%153 = load i8, ptr %152, align 1
%154 = sext i8 %153 to i32
%155 = sub nsw i32 %154, 48
%156 = trunc i32 %155 to i8
%157 = load i32, ptr %4, align 4
%158 = sext i32 %157 to i64
%159 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %158
store i8 %156, ptr %159, align 1
br label %160
160: ; preds = %149
%161 = load i32, ptr %4, align 4
%162 = add nsw i32 %161, 1
store i32 %162, ptr %4, align 4
%163 = load i32, ptr %4, align 4
%164 = load i32, ptr %5, align 4
%165 = icmp slt i32 %163, %164
br i1 %165, label %127, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %160
br label %166
166: ; preds = %._crit_edge, %121
store i32 0, ptr %4, align 4
%167 = load i32, ptr %4, align 4
%168 = load i32, ptr %5, align 4
%169 = sub nsw i32 %168, 1
%170 = icmp slt i32 %167, %169
br i1 %170, label %.lr.ph2, label %211
.lr.ph2: ; preds = %166
br label %171
171: ; preds = %.lr.ph2, %204
%172 = load i32, ptr %4, align 4
%173 = sext i32 %172 to i64
%174 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %173
%175 = load i8, ptr %174, align 1
%176 = sext i8 %175 to i32
%177 = icmp sle i32 %176, 9
br i1 %177, label %178, label %203
178: ; preds = %171
%179 = load i32, ptr %4, align 4
%180 = sext i32 %179 to i64
%181 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %180
%182 = load i8, ptr %181, align 1
%183 = sext i8 %182 to i32
%184 = icmp sge i32 %183, 0
br i1 %184, label %185, label %203
185: ; preds = %178
%186 = load i32, ptr %6, align 4
%187 = load i32, ptr %4, align 4
%188 = sext i32 %187 to i64
%189 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %188
%190 = load i8, ptr %189, align 1
%191 = sext i8 %190 to i32
%192 = load i32, ptr %7, align 4
%193 = mul nsw i32 %191, %192
%194 = add nsw i32 %186, %193
store i32 %194, ptr %6, align 4
%195 = load i32, ptr %8, align 4
%196 = add nsw i32 %195, 1
store i32 %196, ptr %8, align 4
%197 = load i32, ptr %8, align 4
%198 = srem i32 %197, 2
%199 = icmp ne i32 %198, 0
br i1 %199, label %200, label %201
200: ; preds = %185
store i32 3, ptr %7, align 4
br label %202
201: ; preds = %185
store i32 1, ptr %7, align 4
br label %202
202: ; preds = %201, %200
br label %203
203: ; preds = %202, %178, %171
br label %204
204: ; preds = %203
%205 = load i32, ptr %4, align 4
%206 = add nsw i32 %205, 1
store i32 %206, ptr %4, align 4
%207 = load i32, ptr %4, align 4
%208 = load i32, ptr %5, align 4
%209 = sub nsw i32 %208, 1
%210 = icmp slt i32 %207, %209
br i1 %210, label %171, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %204
br label %211
211: ; preds = %._crit_edge3, %166
%212 = load i32, ptr %5, align 4
%213 = sub nsw i32 %212, 1
%214 = sext i32 %213 to i64
%215 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %214
%216 = load i8, ptr %215, align 1
%217 = sext i8 %216 to i32
%218 = load i32, ptr %6, align 4
%219 = srem i32 %218, 10
%220 = sub nsw i32 10, %219
%221 = icmp ne i32 %217, %220
br i1 %221, label %222, label %223
222: ; preds = %211
store i32 0, ptr %3, align 4
br label %223
223: ; preds = %222, %211
%224 = load i32, ptr %3, align 4
%225 = icmp ne i32 %224, 0
br i1 %225, label %226, label %248
226: ; preds = %223
%227 = call i32 @printf(ptr noundef @.str.1)
%228 = load i32, ptr %9, align 4
%229 = icmp eq i32 %228, 1
br i1 %229, label %230, label %232
230: ; preds = %226
%231 = call i32 @printf(ptr noundef @.str.2)
br label %232
232: ; preds = %230, %226
%233 = load i32, ptr %9, align 4
%234 = icmp eq i32 %233, 2
br i1 %234, label %235, label %237
235: ; preds = %232
%236 = call i32 @printf(ptr noundef @.str.3)
br label %237
237: ; preds = %235, %232
%238 = load i32, ptr %9, align 4
%239 = icmp eq i32 %238, 3
br i1 %239, label %240, label %242
240: ; preds = %237
%241 = call i32 @printf(ptr noundef @.str.4)
br label %242
242: ; preds = %240, %237
%243 = load i32, ptr %9, align 4
%244 = icmp eq i32 %243, 4
br i1 %244, label %245, label %247
245: ; preds = %242
%246 = call i32 @printf(ptr noundef @.str.5)
br label %247
247: ; preds = %245, %242
br label %250
248: ; preds = %223
%249 = call i32 @printf(ptr noundef @.str.6)
br label %250
250: ; preds = %248, %247
ret i32 0
}
declare i32 @scanf(ptr noundef, 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/tmpbslvbz5i.c'
source_filename = "/tmp/tmpbslvbz5i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"hello world\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp eq i32 %3, 1
br i1 %4, label %5, label %6
5: ; preds = %0
br label %7
6: ; preds = %0
br label %7
7: ; preds = %6, %5
%8 = call i32 @printf(ptr noundef @.str)
%9 = load i32, ptr %1, align 4
ret i32 %9
}
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/tmpbslvbz5i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"hello world\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp eq i32 %3, 1
br i1 %4, label %5, label %6
5: ; preds = %0
br label %7
6: ; preds = %0
br label %7
7: ; preds = %6, %5
%8 = call i32 @printf(ptr noundef @.str)
%9 = load i32, ptr %1, align 4
ret i32 %9
}
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/tmp4akp2vk7.c'
source_filename = "/tmp/tmp4akp2vk7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"\\&\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"\\%\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"\\$\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"\\#\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"\\_\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"\\{\00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c"\\}\00", align 1
@.str.7 = private unnamed_addr constant [4 x i8] c"$<$\00", align 1
@.str.8 = private unnamed_addr constant [18 x i8] c"\\textasciitilde{}\00", align 1
@.str.9 = private unnamed_addr constant [19 x i8] c"\\textasciicircum{}\00", align 1
@.str.10 = private unnamed_addr constant [17 x i8] c"\\textbackslash{}\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @latex_text_escape(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
store i64 0, ptr %7, align 8
br label %9
9: ; preds = %259, %3
%10 = load i64, ptr %7, align 8
%11 = load i64, ptr %6, align 8
%12 = icmp ult i64 %10, %11
br i1 %12, label %13, label %262
13: ; preds = %9
%14 = load i64, ptr %7, align 8
store i64 %14, ptr %8, align 8
br label %15
15: ; preds = %105, %13
%16 = load i64, ptr %7, align 8
%17 = load i64, ptr %6, align 8
%18 = icmp ult i64 %16, %17
br i1 %18, label %19, label %103
19: ; preds = %15
%20 = load ptr, ptr %5, align 8
%21 = load i64, ptr %7, align 8
%22 = getelementptr inbounds i8, ptr %20, i64 %21
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp ne i32 %24, 38
br i1 %25, label %26, label %103
26: ; preds = %19
%27 = load ptr, ptr %5, align 8
%28 = load i64, ptr %7, align 8
%29 = getelementptr inbounds i8, ptr %27, i64 %28
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp ne i32 %31, 37
br i1 %32, label %33, label %103
33: ; preds = %26
%34 = load ptr, ptr %5, align 8
%35 = load i64, ptr %7, align 8
%36 = getelementptr inbounds i8, ptr %34, i64 %35
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = icmp ne i32 %38, 36
br i1 %39, label %40, label %103
40: ; preds = %33
%41 = load ptr, ptr %5, align 8
%42 = load i64, ptr %7, align 8
%43 = getelementptr inbounds i8, ptr %41, i64 %42
%44 = load i8, ptr %43, align 1
%45 = sext i8 %44 to i32
%46 = icmp ne i32 %45, 35
br i1 %46, label %47, label %103
47: ; preds = %40
%48 = load ptr, ptr %5, align 8
%49 = load i64, ptr %7, align 8
%50 = getelementptr inbounds i8, ptr %48, i64 %49
%51 = load i8, ptr %50, align 1
%52 = sext i8 %51 to i32
%53 = icmp ne i32 %52, 95
br i1 %53, label %54, label %103
54: ; preds = %47
%55 = load ptr, ptr %5, align 8
%56 = load i64, ptr %7, align 8
%57 = getelementptr inbounds i8, ptr %55, i64 %56
%58 = load i8, ptr %57, align 1
%59 = sext i8 %58 to i32
%60 = icmp ne i32 %59, 123
br i1 %60, label %61, label %103
61: ; preds = %54
%62 = load ptr, ptr %5, align 8
%63 = load i64, ptr %7, align 8
%64 = getelementptr inbounds i8, ptr %62, i64 %63
%65 = load i8, ptr %64, align 1
%66 = sext i8 %65 to i32
%67 = icmp ne i32 %66, 125
br i1 %67, label %68, label %103
68: ; preds = %61
%69 = load ptr, ptr %5, align 8
%70 = load i64, ptr %7, align 8
%71 = getelementptr inbounds i8, ptr %69, i64 %70
%72 = load i8, ptr %71, align 1
%73 = sext i8 %72 to i32
%74 = icmp ne i32 %73, 126
br i1 %74, label %75, label %103
75: ; preds = %68
%76 = load ptr, ptr %5, align 8
%77 = load i64, ptr %7, align 8
%78 = getelementptr inbounds i8, ptr %76, i64 %77
%79 = load i8, ptr %78, align 1
%80 = sext i8 %79 to i32
%81 = icmp ne i32 %80, 94
br i1 %81, label %82, label %103
82: ; preds = %75
%83 = load ptr, ptr %5, align 8
%84 = load i64, ptr %7, align 8
%85 = getelementptr inbounds i8, ptr %83, i64 %84
%86 = load i8, ptr %85, align 1
%87 = sext i8 %86 to i32
%88 = icmp ne i32 %87, 92
br i1 %88, label %89, label %103
89: ; preds = %82
%90 = load ptr, ptr %5, align 8
%91 = load i64, ptr %7, align 8
%92 = getelementptr inbounds i8, ptr %90, i64 %91
%93 = load i8, ptr %92, align 1
%94 = sext i8 %93 to i32
%95 = icmp ne i32 %94, 60
br i1 %95, label %96, label %103
96: ; preds = %89
%97 = load ptr, ptr %5, align 8
%98 = load i64, ptr %7, align 8
%99 = getelementptr inbounds i8, ptr %97, i64 %98
%100 = load i8, ptr %99, align 1
%101 = sext i8 %100 to i32
%102 = icmp ne i32 %101, 62
br label %103
103: ; preds = %96, %89, %82, %75, %68, %61, %54, %47, %40, %33, %26, %19, %15
%104 = phi i1 [ false, %89 ], [ false, %82 ], [ false, %75 ], [ false, %68 ], [ false, %61 ], [ false, %54 ], [ false, %47 ], [ false, %40 ], [ false, %33 ], [ false, %26 ], [ false, %19 ], [ false, %15 ], [ %102, %96 ]
br i1 %104, label %105, label %108
105: ; preds = %103
%106 = load i64, ptr %7, align 8
%107 = add i64 %106, 1
store i64 %107, ptr %7, align 8
br label %15, !llvm.loop !6
108: ; preds = %103
%109 = load i64, ptr %7, align 8
%110 = load i64, ptr %8, align 8
%111 = icmp ugt i64 %109, %110
br i1 %111, label %112, label %122
112: ; preds = %108
%113 = load ptr, ptr %4, align 8
%114 = load ptr, ptr %5, align 8
%115 = load i64, ptr %8, align 8
%116 = getelementptr inbounds i8, ptr %114, i64 %115
%117 = load i64, ptr %7, align 8
%118 = load i64, ptr %8, align 8
%119 = sub i64 %117, %118
%120 = trunc i64 %119 to i32
%121 = call i32 @bufput(ptr noundef %113, ptr noundef %116, i32 noundef %120)
br label %122
122: ; preds = %112, %108
%123 = load i64, ptr %7, align 8
%124 = load i64, ptr %6, align 8
%125 = icmp uge i64 %123, %124
br i1 %125, label %126, label %127
126: ; preds = %122
br label %262
127: ; preds = %122
%128 = load ptr, ptr %5, align 8
%129 = load i64, ptr %7, align 8
%130 = getelementptr inbounds i8, ptr %128, i64 %129
%131 = load i8, ptr %130, align 1
%132 = sext i8 %131 to i32
%133 = icmp eq i32 %132, 38
br i1 %133, label %134, label %137
134: ; preds = %127
%135 = load ptr, ptr %4, align 8
%136 = call i32 @bufput(ptr noundef %135, ptr noundef @.str, i32 noundef 2)
br label %258
137: ; preds = %127
%138 = load ptr, ptr %5, align 8
%139 = load i64, ptr %7, align 8
%140 = getelementptr inbounds i8, ptr %138, i64 %139
%141 = load i8, ptr %140, align 1
%142 = sext i8 %141 to i32
%143 = icmp eq i32 %142, 37
br i1 %143, label %144, label %147
144: ; preds = %137
%145 = load ptr, ptr %4, align 8
%146 = call i32 @bufput(ptr noundef %145, ptr noundef @.str.1, i32 noundef 2)
br label %257
147: ; preds = %137
%148 = load ptr, ptr %5, align 8
%149 = load i64, ptr %7, align 8
%150 = getelementptr inbounds i8, ptr %148, i64 %149
%151 = load i8, ptr %150, align 1
%152 = sext i8 %151 to i32
%153 = icmp eq i32 %152, 36
br i1 %153, label %154, label %157
154: ; preds = %147
%155 = load ptr, ptr %4, align 8
%156 = call i32 @bufput(ptr noundef %155, ptr noundef @.str.2, i32 noundef 2)
br label %256
157: ; preds = %147
%158 = load ptr, ptr %5, align 8
%159 = load i64, ptr %7, align 8
%160 = getelementptr inbounds i8, ptr %158, i64 %159
%161 = load i8, ptr %160, align 1
%162 = sext i8 %161 to i32
%163 = icmp eq i32 %162, 35
br i1 %163, label %164, label %167
164: ; preds = %157
%165 = load ptr, ptr %4, align 8
%166 = call i32 @bufput(ptr noundef %165, ptr noundef @.str.3, i32 noundef 2)
br label %255
167: ; preds = %157
%168 = load ptr, ptr %5, align 8
%169 = load i64, ptr %7, align 8
%170 = getelementptr inbounds i8, ptr %168, i64 %169
%171 = load i8, ptr %170, align 1
%172 = sext i8 %171 to i32
%173 = icmp eq i32 %172, 95
br i1 %173, label %174, label %177
174: ; preds = %167
%175 = load ptr, ptr %4, align 8
%176 = call i32 @bufput(ptr noundef %175, ptr noundef @.str.4, i32 noundef 2)
br label %254
177: ; preds = %167
%178 = load ptr, ptr %5, align 8
%179 = load i64, ptr %7, align 8
%180 = getelementptr inbounds i8, ptr %178, i64 %179
%181 = load i8, ptr %180, align 1
%182 = sext i8 %181 to i32
%183 = icmp eq i32 %182, 123
br i1 %183, label %184, label %187
184: ; preds = %177
%185 = load ptr, ptr %4, align 8
%186 = call i32 @bufput(ptr noundef %185, ptr noundef @.str.5, i32 noundef 2)
br label %253
187: ; preds = %177
%188 = load ptr, ptr %5, align 8
%189 = load i64, ptr %7, align 8
%190 = getelementptr inbounds i8, ptr %188, i64 %189
%191 = load i8, ptr %190, align 1
%192 = sext i8 %191 to i32
%193 = icmp eq i32 %192, 125
br i1 %193, label %194, label %197
194: ; preds = %187
%195 = load ptr, ptr %4, align 8
%196 = call i32 @bufput(ptr noundef %195, ptr noundef @.str.6, i32 noundef 2)
br label %252
197: ; preds = %187
%198 = load ptr, ptr %5, align 8
%199 = load i64, ptr %7, align 8
%200 = getelementptr inbounds i8, ptr %198, i64 %199
%201 = load i8, ptr %200, align 1
%202 = sext i8 %201 to i32
%203 = icmp eq i32 %202, 60
br i1 %203, label %204, label %207
204: ; preds = %197
%205 = load ptr, ptr %4, align 8
%206 = call i32 @bufput(ptr noundef %205, ptr noundef @.str.7, i32 noundef 3)
br label %251
207: ; preds = %197
%208 = load ptr, ptr %5, align 8
%209 = load i64, ptr %7, align 8
%210 = getelementptr inbounds i8, ptr %208, i64 %209
%211 = load i8, ptr %210, align 1
%212 = sext i8 %211 to i32
%213 = icmp eq i32 %212, 62
br i1 %213, label %214, label %217
214: ; preds = %207
%215 = load ptr, ptr %4, align 8
%216 = call i32 @bufput(ptr noundef %215, ptr noundef @.str.7, i32 noundef 3)
br label %250
217: ; preds = %207
%218 = load ptr, ptr %5, align 8
%219 = load i64, ptr %7, align 8
%220 = getelementptr inbounds i8, ptr %218, i64 %219
%221 = load i8, ptr %220, align 1
%222 = sext i8 %221 to i32
%223 = icmp eq i32 %222, 126
br i1 %223, label %224, label %227
224: ; preds = %217
%225 = load ptr, ptr %4, align 8
%226 = call i32 @bufput(ptr noundef %225, ptr noundef @.str.8, i32 noundef 17)
br label %249
227: ; preds = %217
%228 = load ptr, ptr %5, align 8
%229 = load i64, ptr %7, align 8
%230 = getelementptr inbounds i8, ptr %228, i64 %229
%231 = load i8, ptr %230, align 1
%232 = sext i8 %231 to i32
%233 = icmp eq i32 %232, 94
br i1 %233, label %234, label %237
234: ; preds = %227
%235 = load ptr, ptr %4, align 8
%236 = call i32 @bufput(ptr noundef %235, ptr noundef @.str.9, i32 noundef 18)
br label %248
237: ; preds = %227
%238 = load ptr, ptr %5, align 8
%239 = load i64, ptr %7, align 8
%240 = getelementptr inbounds i8, ptr %238, i64 %239
%241 = load i8, ptr %240, align 1
%242 = sext i8 %241 to i32
%243 = icmp eq i32 %242, 92
br i1 %243, label %244, label %247
244: ; preds = %237
%245 = load ptr, ptr %4, align 8
%246 = call i32 @bufput(ptr noundef %245, ptr noundef @.str.10, i32 noundef 16)
br label %247
247: ; preds = %244, %237
br label %248
248: ; preds = %247, %234
br label %249
249: ; preds = %248, %224
br label %250
250: ; preds = %249, %214
br label %251
251: ; preds = %250, %204
br label %252
252: ; preds = %251, %194
br label %253
253: ; preds = %252, %184
br label %254
254: ; preds = %253, %174
br label %255
255: ; preds = %254, %164
br label %256
256: ; preds = %255, %154
br label %257
257: ; preds = %256, %144
br label %258
258: ; preds = %257, %134
br label %259
259: ; preds = %258
%260 = load i64, ptr %7, align 8
%261 = add i64 %260, 1
store i64 %261, ptr %7, align 8
br label %9, !llvm.loop !8
262: ; preds = %126, %9
ret void
}
declare i32 @bufput(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4akp2vk7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"\\&\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"\\%\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"\\$\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"\\#\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"\\_\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"\\{\00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c"\\}\00", align 1
@.str.7 = private unnamed_addr constant [4 x i8] c"$<$\00", align 1
@.str.8 = private unnamed_addr constant [18 x i8] c"\\textasciitilde{}\00", align 1
@.str.9 = private unnamed_addr constant [19 x i8] c"\\textasciicircum{}\00", align 1
@.str.10 = private unnamed_addr constant [17 x i8] c"\\textbackslash{}\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @latex_text_escape(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
store i64 0, ptr %7, align 8
%9 = load i64, ptr %7, align 8
%10 = load i64, ptr %6, align 8
%11 = icmp ult i64 %9, %10
br i1 %11, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %3
br label %12
12: ; preds = %.lr.ph, %258
%13 = load i64, ptr %7, align 8
store i64 %13, ptr %8, align 8
br label %14
14: ; preds = %104, %12
%15 = load i64, ptr %7, align 8
%16 = load i64, ptr %6, align 8
%17 = icmp ult i64 %15, %16
br i1 %17, label %18, label %102
18: ; preds = %14
%19 = load ptr, ptr %5, align 8
%20 = load i64, ptr %7, align 8
%21 = getelementptr inbounds i8, ptr %19, i64 %20
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = icmp ne i32 %23, 38
br i1 %24, label %25, label %102
25: ; preds = %18
%26 = load ptr, ptr %5, align 8
%27 = load i64, ptr %7, align 8
%28 = getelementptr inbounds i8, ptr %26, i64 %27
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp ne i32 %30, 37
br i1 %31, label %32, label %102
32: ; preds = %25
%33 = load ptr, ptr %5, align 8
%34 = load i64, ptr %7, align 8
%35 = getelementptr inbounds i8, ptr %33, i64 %34
%36 = load i8, ptr %35, align 1
%37 = sext i8 %36 to i32
%38 = icmp ne i32 %37, 36
br i1 %38, label %39, label %102
39: ; preds = %32
%40 = load ptr, ptr %5, align 8
%41 = load i64, ptr %7, align 8
%42 = getelementptr inbounds i8, ptr %40, i64 %41
%43 = load i8, ptr %42, align 1
%44 = sext i8 %43 to i32
%45 = icmp ne i32 %44, 35
br i1 %45, label %46, label %102
46: ; preds = %39
%47 = load ptr, ptr %5, align 8
%48 = load i64, ptr %7, align 8
%49 = getelementptr inbounds i8, ptr %47, i64 %48
%50 = load i8, ptr %49, align 1
%51 = sext i8 %50 to i32
%52 = icmp ne i32 %51, 95
br i1 %52, label %53, label %102
53: ; preds = %46
%54 = load ptr, ptr %5, align 8
%55 = load i64, ptr %7, align 8
%56 = getelementptr inbounds i8, ptr %54, i64 %55
%57 = load i8, ptr %56, align 1
%58 = sext i8 %57 to i32
%59 = icmp ne i32 %58, 123
br i1 %59, label %60, label %102
60: ; preds = %53
%61 = load ptr, ptr %5, align 8
%62 = load i64, ptr %7, align 8
%63 = getelementptr inbounds i8, ptr %61, i64 %62
%64 = load i8, ptr %63, align 1
%65 = sext i8 %64 to i32
%66 = icmp ne i32 %65, 125
br i1 %66, label %67, label %102
67: ; preds = %60
%68 = load ptr, ptr %5, align 8
%69 = load i64, ptr %7, align 8
%70 = getelementptr inbounds i8, ptr %68, i64 %69
%71 = load i8, ptr %70, align 1
%72 = sext i8 %71 to i32
%73 = icmp ne i32 %72, 126
br i1 %73, label %74, label %102
74: ; preds = %67
%75 = load ptr, ptr %5, align 8
%76 = load i64, ptr %7, align 8
%77 = getelementptr inbounds i8, ptr %75, i64 %76
%78 = load i8, ptr %77, align 1
%79 = sext i8 %78 to i32
%80 = icmp ne i32 %79, 94
br i1 %80, label %81, label %102
81: ; preds = %74
%82 = load ptr, ptr %5, align 8
%83 = load i64, ptr %7, align 8
%84 = getelementptr inbounds i8, ptr %82, i64 %83
%85 = load i8, ptr %84, align 1
%86 = sext i8 %85 to i32
%87 = icmp ne i32 %86, 92
br i1 %87, label %88, label %102
88: ; preds = %81
%89 = load ptr, ptr %5, align 8
%90 = load i64, ptr %7, align 8
%91 = getelementptr inbounds i8, ptr %89, i64 %90
%92 = load i8, ptr %91, align 1
%93 = sext i8 %92 to i32
%94 = icmp ne i32 %93, 60
br i1 %94, label %95, label %102
95: ; preds = %88
%96 = load ptr, ptr %5, align 8
%97 = load i64, ptr %7, align 8
%98 = getelementptr inbounds i8, ptr %96, i64 %97
%99 = load i8, ptr %98, align 1
%100 = sext i8 %99 to i32
%101 = icmp ne i32 %100, 62
br label %102
102: ; preds = %95, %88, %81, %74, %67, %60, %53, %46, %39, %32, %25, %18, %14
%103 = phi i1 [ false, %88 ], [ false, %81 ], [ false, %74 ], [ false, %67 ], [ false, %60 ], [ false, %53 ], [ false, %46 ], [ false, %39 ], [ false, %32 ], [ false, %25 ], [ false, %18 ], [ false, %14 ], [ %101, %95 ]
br i1 %103, label %104, label %107
104: ; preds = %102
%105 = load i64, ptr %7, align 8
%106 = add i64 %105, 1
store i64 %106, ptr %7, align 8
br label %14, !llvm.loop !6
107: ; preds = %102
%108 = load i64, ptr %7, align 8
%109 = load i64, ptr %8, align 8
%110 = icmp ugt i64 %108, %109
br i1 %110, label %111, label %121
111: ; preds = %107
%112 = load ptr, ptr %4, align 8
%113 = load ptr, ptr %5, align 8
%114 = load i64, ptr %8, align 8
%115 = getelementptr inbounds i8, ptr %113, i64 %114
%116 = load i64, ptr %7, align 8
%117 = load i64, ptr %8, align 8
%118 = sub i64 %116, %117
%119 = trunc i64 %118 to i32
%120 = call i32 @bufput(ptr noundef %112, ptr noundef %115, i32 noundef %119)
br label %121
121: ; preds = %111, %107
%122 = load i64, ptr %7, align 8
%123 = load i64, ptr %6, align 8
%124 = icmp uge i64 %122, %123
br i1 %124, label %125, label %126
125: ; preds = %121
br label %264
126: ; preds = %121
%127 = load ptr, ptr %5, align 8
%128 = load i64, ptr %7, align 8
%129 = getelementptr inbounds i8, ptr %127, i64 %128
%130 = load i8, ptr %129, align 1
%131 = sext i8 %130 to i32
%132 = icmp eq i32 %131, 38
br i1 %132, label %133, label %136
133: ; preds = %126
%134 = load ptr, ptr %4, align 8
%135 = call i32 @bufput(ptr noundef %134, ptr noundef @.str, i32 noundef 2)
br label %257
136: ; preds = %126
%137 = load ptr, ptr %5, align 8
%138 = load i64, ptr %7, align 8
%139 = getelementptr inbounds i8, ptr %137, i64 %138
%140 = load i8, ptr %139, align 1
%141 = sext i8 %140 to i32
%142 = icmp eq i32 %141, 37
br i1 %142, label %143, label %146
143: ; preds = %136
%144 = load ptr, ptr %4, align 8
%145 = call i32 @bufput(ptr noundef %144, ptr noundef @.str.1, i32 noundef 2)
br label %256
146: ; preds = %136
%147 = load ptr, ptr %5, align 8
%148 = load i64, ptr %7, align 8
%149 = getelementptr inbounds i8, ptr %147, i64 %148
%150 = load i8, ptr %149, align 1
%151 = sext i8 %150 to i32
%152 = icmp eq i32 %151, 36
br i1 %152, label %153, label %156
153: ; preds = %146
%154 = load ptr, ptr %4, align 8
%155 = call i32 @bufput(ptr noundef %154, ptr noundef @.str.2, i32 noundef 2)
br label %255
156: ; preds = %146
%157 = load ptr, ptr %5, align 8
%158 = load i64, ptr %7, align 8
%159 = getelementptr inbounds i8, ptr %157, i64 %158
%160 = load i8, ptr %159, align 1
%161 = sext i8 %160 to i32
%162 = icmp eq i32 %161, 35
br i1 %162, label %163, label %166
163: ; preds = %156
%164 = load ptr, ptr %4, align 8
%165 = call i32 @bufput(ptr noundef %164, ptr noundef @.str.3, i32 noundef 2)
br label %254
166: ; preds = %156
%167 = load ptr, ptr %5, align 8
%168 = load i64, ptr %7, align 8
%169 = getelementptr inbounds i8, ptr %167, i64 %168
%170 = load i8, ptr %169, align 1
%171 = sext i8 %170 to i32
%172 = icmp eq i32 %171, 95
br i1 %172, label %173, label %176
173: ; preds = %166
%174 = load ptr, ptr %4, align 8
%175 = call i32 @bufput(ptr noundef %174, ptr noundef @.str.4, i32 noundef 2)
br label %253
176: ; preds = %166
%177 = load ptr, ptr %5, align 8
%178 = load i64, ptr %7, align 8
%179 = getelementptr inbounds i8, ptr %177, i64 %178
%180 = load i8, ptr %179, align 1
%181 = sext i8 %180 to i32
%182 = icmp eq i32 %181, 123
br i1 %182, label %183, label %186
183: ; preds = %176
%184 = load ptr, ptr %4, align 8
%185 = call i32 @bufput(ptr noundef %184, ptr noundef @.str.5, i32 noundef 2)
br label %252
186: ; preds = %176
%187 = load ptr, ptr %5, align 8
%188 = load i64, ptr %7, align 8
%189 = getelementptr inbounds i8, ptr %187, i64 %188
%190 = load i8, ptr %189, align 1
%191 = sext i8 %190 to i32
%192 = icmp eq i32 %191, 125
br i1 %192, label %193, label %196
193: ; preds = %186
%194 = load ptr, ptr %4, align 8
%195 = call i32 @bufput(ptr noundef %194, ptr noundef @.str.6, i32 noundef 2)
br label %251
196: ; preds = %186
%197 = load ptr, ptr %5, align 8
%198 = load i64, ptr %7, align 8
%199 = getelementptr inbounds i8, ptr %197, i64 %198
%200 = load i8, ptr %199, align 1
%201 = sext i8 %200 to i32
%202 = icmp eq i32 %201, 60
br i1 %202, label %203, label %206
203: ; preds = %196
%204 = load ptr, ptr %4, align 8
%205 = call i32 @bufput(ptr noundef %204, ptr noundef @.str.7, i32 noundef 3)
br label %250
206: ; preds = %196
%207 = load ptr, ptr %5, align 8
%208 = load i64, ptr %7, align 8
%209 = getelementptr inbounds i8, ptr %207, i64 %208
%210 = load i8, ptr %209, align 1
%211 = sext i8 %210 to i32
%212 = icmp eq i32 %211, 62
br i1 %212, label %213, label %216
213: ; preds = %206
%214 = load ptr, ptr %4, align 8
%215 = call i32 @bufput(ptr noundef %214, ptr noundef @.str.7, i32 noundef 3)
br label %249
216: ; preds = %206
%217 = load ptr, ptr %5, align 8
%218 = load i64, ptr %7, align 8
%219 = getelementptr inbounds i8, ptr %217, i64 %218
%220 = load i8, ptr %219, align 1
%221 = sext i8 %220 to i32
%222 = icmp eq i32 %221, 126
br i1 %222, label %223, label %226
223: ; preds = %216
%224 = load ptr, ptr %4, align 8
%225 = call i32 @bufput(ptr noundef %224, ptr noundef @.str.8, i32 noundef 17)
br label %248
226: ; preds = %216
%227 = load ptr, ptr %5, align 8
%228 = load i64, ptr %7, align 8
%229 = getelementptr inbounds i8, ptr %227, i64 %228
%230 = load i8, ptr %229, align 1
%231 = sext i8 %230 to i32
%232 = icmp eq i32 %231, 94
br i1 %232, label %233, label %236
233: ; preds = %226
%234 = load ptr, ptr %4, align 8
%235 = call i32 @bufput(ptr noundef %234, ptr noundef @.str.9, i32 noundef 18)
br label %247
236: ; preds = %226
%237 = load ptr, ptr %5, align 8
%238 = load i64, ptr %7, align 8
%239 = getelementptr inbounds i8, ptr %237, i64 %238
%240 = load i8, ptr %239, align 1
%241 = sext i8 %240 to i32
%242 = icmp eq i32 %241, 92
br i1 %242, label %243, label %246
243: ; preds = %236
%244 = load ptr, ptr %4, align 8
%245 = call i32 @bufput(ptr noundef %244, ptr noundef @.str.10, i32 noundef 16)
br label %246
246: ; preds = %243, %236
br label %247
247: ; preds = %246, %233
br label %248
248: ; preds = %247, %223
br label %249
249: ; preds = %248, %213
br label %250
250: ; preds = %249, %203
br label %251
251: ; preds = %250, %193
br label %252
252: ; preds = %251, %183
br label %253
253: ; preds = %252, %173
br label %254
254: ; preds = %253, %163
br label %255
255: ; preds = %254, %153
br label %256
256: ; preds = %255, %143
br label %257
257: ; preds = %256, %133
br label %258
258: ; preds = %257
%259 = load i64, ptr %7, align 8
%260 = add i64 %259, 1
store i64 %260, ptr %7, align 8
%261 = load i64, ptr %7, align 8
%262 = load i64, ptr %6, align 8
%263 = icmp ult i64 %261, %262
br i1 %263, label %12, label %..loopexit_crit_edge, !llvm.loop !8
..loopexit_crit_edge: ; preds = %258
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %3
br label %264
264: ; preds = %.loopexit, %125
ret void
}
declare i32 @bufput(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp_nx7kinm.c'
source_filename = "/tmp/tmp_nx7kinm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%llu\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"%llu %llu\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"%llu\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 i64, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
store i32 0, ptr %1, align 4
store i64 0, ptr %7, align 8
%11 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %6)
br label %12
12: ; preds = %17, %0
%13 = load i64, ptr %7, align 8
%14 = add i64 %13, 1
store i64 %14, ptr %7, align 8
%15 = load i64, ptr %6, align 8
%16 = icmp ult i64 %13, %15
br i1 %16, label %17, label %36
17: ; preds = %12
store i64 0, ptr %3, align 8
store i64 0, ptr %2, align 8
%18 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3)
%19 = load i64, ptr %2, align 8
%20 = load i64, ptr %3, align 8
%21 = add i64 %19, %20
store i64 %21, ptr %8, align 8
store i64 0, ptr %9, align 8
%22 = load i64, ptr %8, align 8
%23 = add i64 1, %22
%24 = load i64, ptr %8, align 8
%25 = mul i64 %23, %24
store i64 %25, ptr %9, align 8
%26 = load i64, ptr %9, align 8
%27 = udiv i64 %26, 2
store i64 %27, ptr %9, align 8
%28 = load i64, ptr %9, align 8
store i64 %28, ptr %10, align 8
store i64 0, ptr %4, align 8
%29 = load i64, ptr %8, align 8
store i64 %29, ptr %5, align 8
%30 = load i64, ptr %2, align 8
%31 = load i64, ptr %10, align 8
%32 = add i64 %31, %30
store i64 %32, ptr %10, align 8
%33 = load i64, ptr %10, align 8
%34 = add i64 %33, 1
%35 = call i32 @printf(ptr noundef @.str.2, i64 noundef %34)
br label %12, !llvm.loop !6
36: ; preds = %12
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
declare i32 @printf(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_nx7kinm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%llu\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"%llu %llu\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"%llu\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 i64, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
store i32 0, ptr %1, align 4
store i64 0, ptr %7, align 8
%11 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %6)
%12 = load i64, ptr %7, align 8
%13 = add i64 %12, 1
store i64 %13, ptr %7, align 8
%14 = load i64, ptr %6, align 8
%15 = icmp ult i64 %12, %14
br i1 %15, label %.lr.ph, label %39
.lr.ph: ; preds = %0
br label %16
16: ; preds = %.lr.ph, %16
store i64 0, ptr %3, align 8
store i64 0, ptr %2, align 8
%17 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3)
%18 = load i64, ptr %2, align 8
%19 = load i64, ptr %3, align 8
%20 = add i64 %18, %19
store i64 %20, ptr %8, align 8
store i64 0, ptr %9, align 8
%21 = load i64, ptr %8, align 8
%22 = add i64 1, %21
%23 = load i64, ptr %8, align 8
%24 = mul i64 %22, %23
store i64 %24, ptr %9, align 8
%25 = load i64, ptr %9, align 8
%26 = udiv i64 %25, 2
store i64 %26, ptr %9, align 8
%27 = load i64, ptr %9, align 8
store i64 %27, ptr %10, align 8
store i64 0, ptr %4, align 8
%28 = load i64, ptr %8, align 8
store i64 %28, ptr %5, align 8
%29 = load i64, ptr %2, align 8
%30 = load i64, ptr %10, align 8
%31 = add i64 %30, %29
store i64 %31, ptr %10, align 8
%32 = load i64, ptr %10, align 8
%33 = add i64 %32, 1
%34 = call i32 @printf(ptr noundef @.str.2, i64 noundef %33)
%35 = load i64, ptr %7, align 8
%36 = add i64 %35, 1
store i64 %36, ptr %7, align 8
%37 = load i64, ptr %6, align 8
%38 = icmp ult i64 %35, %37
br i1 %38, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %39
39: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
declare i32 @printf(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp0tbn0w2w.c'
source_filename = "/tmp/tmp0tbn0w2w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SFEAST_SRCI(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17) #0 {
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
%23 = alloca ptr, align 8
%24 = alloca ptr, align 8
%25 = alloca ptr, align 8
%26 = alloca ptr, align 8
%27 = alloca ptr, align 8
%28 = alloca ptr, align 8
%29 = alloca ptr, align 8
%30 = alloca ptr, align 8
%31 = alloca ptr, align 8
%32 = alloca ptr, align 8
%33 = alloca ptr, align 8
%34 = alloca ptr, align 8
%35 = alloca ptr, align 8
%36 = alloca ptr, align 8
store ptr %0, ptr %19, align 8
store ptr %1, ptr %20, align 8
store ptr %2, ptr %21, align 8
store ptr %3, ptr %22, align 8
store ptr %4, ptr %23, align 8
store ptr %5, ptr %24, align 8
store ptr %6, ptr %25, align 8
store ptr %7, ptr %26, align 8
store ptr %8, ptr %27, align 8
store ptr %9, ptr %28, align 8
store ptr %10, ptr %29, align 8
store ptr %11, ptr %30, align 8
store ptr %12, ptr %31, align 8
store ptr %13, ptr %32, align 8
store ptr %14, ptr %33, align 8
store ptr %15, ptr %34, align 8
store ptr %16, ptr %35, align 8
store ptr %17, ptr %36, align 8
%37 = load ptr, ptr %19, align 8
%38 = load ptr, ptr %20, align 8
%39 = load ptr, ptr %21, align 8
%40 = load ptr, ptr %22, align 8
%41 = load ptr, ptr %23, align 8
%42 = load ptr, ptr %24, align 8
%43 = load ptr, ptr %25, align 8
%44 = load ptr, ptr %26, align 8
%45 = load ptr, ptr %27, align 8
%46 = load ptr, ptr %28, align 8
%47 = load ptr, ptr %29, align 8
%48 = load ptr, ptr %30, align 8
%49 = load ptr, ptr %31, align 8
%50 = load ptr, ptr %32, align 8
%51 = load ptr, ptr %33, align 8
%52 = load ptr, ptr %34, align 8
%53 = load ptr, ptr %35, align 8
%54 = load ptr, ptr %36, align 8
%55 = call i32 @sfeast_srci_(ptr noundef %37, ptr noundef %38, ptr noundef %39, ptr noundef %40, ptr noundef %41, ptr noundef %42, ptr noundef %43, ptr noundef %44, ptr noundef %45, ptr noundef %46, ptr noundef %47, ptr noundef %48, ptr noundef %49, ptr noundef %50, ptr noundef %51, ptr noundef %52, ptr noundef %53, ptr noundef %54)
ret void
}
declare i32 @sfeast_srci_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0tbn0w2w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SFEAST_SRCI(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17) #0 {
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
%23 = alloca ptr, align 8
%24 = alloca ptr, align 8
%25 = alloca ptr, align 8
%26 = alloca ptr, align 8
%27 = alloca ptr, align 8
%28 = alloca ptr, align 8
%29 = alloca ptr, align 8
%30 = alloca ptr, align 8
%31 = alloca ptr, align 8
%32 = alloca ptr, align 8
%33 = alloca ptr, align 8
%34 = alloca ptr, align 8
%35 = alloca ptr, align 8
%36 = alloca ptr, align 8
store ptr %0, ptr %19, align 8
store ptr %1, ptr %20, align 8
store ptr %2, ptr %21, align 8
store ptr %3, ptr %22, align 8
store ptr %4, ptr %23, align 8
store ptr %5, ptr %24, align 8
store ptr %6, ptr %25, align 8
store ptr %7, ptr %26, align 8
store ptr %8, ptr %27, align 8
store ptr %9, ptr %28, align 8
store ptr %10, ptr %29, align 8
store ptr %11, ptr %30, align 8
store ptr %12, ptr %31, align 8
store ptr %13, ptr %32, align 8
store ptr %14, ptr %33, align 8
store ptr %15, ptr %34, align 8
store ptr %16, ptr %35, align 8
store ptr %17, ptr %36, align 8
%37 = load ptr, ptr %19, align 8
%38 = load ptr, ptr %20, align 8
%39 = load ptr, ptr %21, align 8
%40 = load ptr, ptr %22, align 8
%41 = load ptr, ptr %23, align 8
%42 = load ptr, ptr %24, align 8
%43 = load ptr, ptr %25, align 8
%44 = load ptr, ptr %26, align 8
%45 = load ptr, ptr %27, align 8
%46 = load ptr, ptr %28, align 8
%47 = load ptr, ptr %29, align 8
%48 = load ptr, ptr %30, align 8
%49 = load ptr, ptr %31, align 8
%50 = load ptr, ptr %32, align 8
%51 = load ptr, ptr %33, align 8
%52 = load ptr, ptr %34, align 8
%53 = load ptr, ptr %35, align 8
%54 = load ptr, ptr %36, align 8
%55 = call i32 @sfeast_srci_(ptr noundef %37, ptr noundef %38, ptr noundef %39, ptr noundef %40, ptr noundef %41, ptr noundef %42, ptr noundef %43, ptr noundef %44, ptr noundef %45, ptr noundef %46, ptr noundef %47, ptr noundef %48, ptr noundef %49, ptr noundef %50, ptr noundef %51, ptr noundef %52, ptr noundef %53, ptr noundef %54)
ret void
}
declare i32 @sfeast_srci_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbvh5nry5.c'
source_filename = "/tmp/tmpbvh5nry5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @testCase1() #0 {
%1 = alloca ptr, align 8
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 20, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @forceCpuLoad(i32 noundef 5, i32 noundef %4)
%6 = load i32, ptr %2, align 4
%7 = call i32 @forceCpuLoad(i32 noundef 10, i32 noundef %6)
%8 = load i32, ptr %2, align 4
%9 = call i32 @forceCpuLoad(i32 noundef 15, i32 noundef %8)
%10 = load i32, ptr %2, align 4
%11 = call i32 @forceCpuLoad(i32 noundef 20, i32 noundef %10)
%12 = load i32, ptr %2, align 4
%13 = call i32 @forceCpuLoad(i32 noundef 25, i32 noundef %12)
%14 = load i32, ptr %2, align 4
%15 = call i32 @forceCpuLoad(i32 noundef 20, i32 noundef %14)
%16 = load i32, ptr %2, align 4
%17 = call i32 @forceCpuLoad(i32 noundef 15, i32 noundef %16)
%18 = load i32, ptr %2, align 4
%19 = call i32 @forceCpuLoad(i32 noundef 10, i32 noundef %18)
%20 = load i32, ptr %2, align 4
%21 = call i32 @forceCpuLoad(i32 noundef 5, i32 noundef %20)
ret i32 0
}
declare i32 @forceCpuLoad(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/tmpbvh5nry5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @testCase1() #0 {
%1 = alloca ptr, align 8
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 20, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @forceCpuLoad(i32 noundef 5, i32 noundef %4)
%6 = load i32, ptr %2, align 4
%7 = call i32 @forceCpuLoad(i32 noundef 10, i32 noundef %6)
%8 = load i32, ptr %2, align 4
%9 = call i32 @forceCpuLoad(i32 noundef 15, i32 noundef %8)
%10 = load i32, ptr %2, align 4
%11 = call i32 @forceCpuLoad(i32 noundef 20, i32 noundef %10)
%12 = load i32, ptr %2, align 4
%13 = call i32 @forceCpuLoad(i32 noundef 25, i32 noundef %12)
%14 = load i32, ptr %2, align 4
%15 = call i32 @forceCpuLoad(i32 noundef 20, i32 noundef %14)
%16 = load i32, ptr %2, align 4
%17 = call i32 @forceCpuLoad(i32 noundef 15, i32 noundef %16)
%18 = load i32, ptr %2, align 4
%19 = call i32 @forceCpuLoad(i32 noundef 10, i32 noundef %18)
%20 = load i32, ptr %2, align 4
%21 = call i32 @forceCpuLoad(i32 noundef 5, i32 noundef %20)
ret i32 0
}
declare i32 @forceCpuLoad(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/tmplkwpfnt5.c'
source_filename = "/tmp/tmplkwpfnt5.c"
target datalayout = "e-m:e-p270: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/tmplkwpfnt5.c"
target datalayout = "e-m:e-p270: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/tmp0g44cnxc.c'
source_filename = "/tmp/tmp0g44cnxc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @test_mm_srl_epi64(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_srl_epi64(i32 noundef %5, i32 noundef %6)
ret i32 %7
}
declare i32 @_mm_srl_epi64(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/tmp0g44cnxc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @test_mm_srl_epi64(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_srl_epi64(i32 noundef %5, i32 noundef %6)
ret i32 %7
}
declare i32 @_mm_srl_epi64(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/tmp6a4jiskr.c'
source_filename = "/tmp/tmp6a4jiskr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @funcAngDist_alpha0_2plus_0plus_15097_L2(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca double, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %4, align 8
%7 = getelementptr inbounds double, ptr %6, i64 0
%8 = load double, ptr %7, align 8
%9 = load ptr, ptr %3, align 8
%10 = getelementptr inbounds double, ptr %9, i64 0
%11 = load double, ptr %10, align 8
%12 = call double @EvalAngDist_alpha0_2plus_0plus_15097_L2(double noundef %11)
%13 = fmul double %8, %12
store double %13, ptr %5, align 8
%14 = load double, ptr %5, align 8
ret double %14
}
declare double @EvalAngDist_alpha0_2plus_0plus_15097_L2(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/tmp6a4jiskr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @funcAngDist_alpha0_2plus_0plus_15097_L2(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca double, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %4, align 8
%7 = getelementptr inbounds double, ptr %6, i64 0
%8 = load double, ptr %7, align 8
%9 = load ptr, ptr %3, align 8
%10 = getelementptr inbounds double, ptr %9, i64 0
%11 = load double, ptr %10, align 8
%12 = call double @EvalAngDist_alpha0_2plus_0plus_15097_L2(double noundef %11)
%13 = fmul double %8, %12
store double %13, ptr %5, align 8
%14 = load double, ptr %5, align 8
ret double %14
}
declare double @EvalAngDist_alpha0_2plus_0plus_15097_L2(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/tmpd748snfk.c'
source_filename = "/tmp/tmpd748snfk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"OPTIONS\00", align 1
@.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.2 = private unnamed_addr constant [69 x i8] c"-c N, --bytes N Print last N bytes. N is a nonzero integer,\00", align 1
@.str.3 = private unnamed_addr constant [68 x i8] c" optionally followed by one of the following\00", align 1
@.str.4 = private unnamed_addr constant [36 x i8] c" characters:\00", align 1
@.str.5 = private unnamed_addr constant [49 x i8] c" b 512-byte blocks.\00", align 1
@.str.6 = private unnamed_addr constant [51 x i8] c" k 1-kilobyte blocks.\00", align 1
@.str.7 = private unnamed_addr constant [51 x i8] c" m 1-megabyte blocks.\00", align 1
@.str.8 = private unnamed_addr constant [44 x i8] c"-N, -l N, -n N, Print last N lines.\00", align 1
@.str.9 = private unnamed_addr constant [10 x i8] c"--lines N\00", align 1
@.str.10 = private unnamed_addr constant [74 x i8] c"-q, --quiet, Never print filename headers. Normally, filename\00", align 1
@.str.11 = private unnamed_addr constant [78 x i8] c"--silent headers are printed if and only if more than one file\00", align 1
@.str.12 = private unnamed_addr constant [54 x i8] c" is given on the command line.\00", align 1
@.str.13 = private unnamed_addr constant [55 x i8] c"-v, --verbose Always print filename headers.\00", align 1
@.str.14 = private unnamed_addr constant [67 x i8] c"--help Print usage message and exit successfully.\00", align 1
@.str.15 = private unnamed_addr constant [73 x i8] c"--version Print version information and exit successfully.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @help() #0 {
%1 = call i32 @puts(ptr noundef @.str)
%2 = call i32 @puts(ptr noundef @.str.1)
%3 = call i32 @puts(ptr noundef @.str.2)
%4 = call i32 @puts(ptr noundef @.str.3)
%5 = call i32 @puts(ptr noundef @.str.4)
%6 = call i32 @puts(ptr noundef @.str.1)
%7 = call i32 @puts(ptr noundef @.str.5)
%8 = call i32 @puts(ptr noundef @.str.6)
%9 = call i32 @puts(ptr noundef @.str.7)
%10 = call i32 @puts(ptr noundef @.str.1)
%11 = call i32 @puts(ptr noundef @.str.8)
%12 = call i32 @puts(ptr noundef @.str.9)
%13 = call i32 @puts(ptr noundef @.str.1)
%14 = call i32 @puts(ptr noundef @.str.10)
%15 = call i32 @puts(ptr noundef @.str.11)
%16 = call i32 @puts(ptr noundef @.str.12)
%17 = call i32 @puts(ptr noundef @.str.1)
%18 = call i32 @puts(ptr noundef @.str.13)
%19 = call i32 @puts(ptr noundef @.str.1)
%20 = call i32 @puts(ptr noundef @.str.14)
%21 = call i32 @puts(ptr noundef @.str.1)
%22 = call i32 @puts(ptr noundef @.str.15)
ret void
}
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd748snfk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"OPTIONS\00", align 1
@.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.2 = private unnamed_addr constant [69 x i8] c"-c N, --bytes N Print last N bytes. N is a nonzero integer,\00", align 1
@.str.3 = private unnamed_addr constant [68 x i8] c" optionally followed by one of the following\00", align 1
@.str.4 = private unnamed_addr constant [36 x i8] c" characters:\00", align 1
@.str.5 = private unnamed_addr constant [49 x i8] c" b 512-byte blocks.\00", align 1
@.str.6 = private unnamed_addr constant [51 x i8] c" k 1-kilobyte blocks.\00", align 1
@.str.7 = private unnamed_addr constant [51 x i8] c" m 1-megabyte blocks.\00", align 1
@.str.8 = private unnamed_addr constant [44 x i8] c"-N, -l N, -n N, Print last N lines.\00", align 1
@.str.9 = private unnamed_addr constant [10 x i8] c"--lines N\00", align 1
@.str.10 = private unnamed_addr constant [74 x i8] c"-q, --quiet, Never print filename headers. Normally, filename\00", align 1
@.str.11 = private unnamed_addr constant [78 x i8] c"--silent headers are printed if and only if more than one file\00", align 1
@.str.12 = private unnamed_addr constant [54 x i8] c" is given on the command line.\00", align 1
@.str.13 = private unnamed_addr constant [55 x i8] c"-v, --verbose Always print filename headers.\00", align 1
@.str.14 = private unnamed_addr constant [67 x i8] c"--help Print usage message and exit successfully.\00", align 1
@.str.15 = private unnamed_addr constant [73 x i8] c"--version Print version information and exit successfully.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @help() #0 {
%1 = call i32 @puts(ptr noundef @.str)
%2 = call i32 @puts(ptr noundef @.str.1)
%3 = call i32 @puts(ptr noundef @.str.2)
%4 = call i32 @puts(ptr noundef @.str.3)
%5 = call i32 @puts(ptr noundef @.str.4)
%6 = call i32 @puts(ptr noundef @.str.1)
%7 = call i32 @puts(ptr noundef @.str.5)
%8 = call i32 @puts(ptr noundef @.str.6)
%9 = call i32 @puts(ptr noundef @.str.7)
%10 = call i32 @puts(ptr noundef @.str.1)
%11 = call i32 @puts(ptr noundef @.str.8)
%12 = call i32 @puts(ptr noundef @.str.9)
%13 = call i32 @puts(ptr noundef @.str.1)
%14 = call i32 @puts(ptr noundef @.str.10)
%15 = call i32 @puts(ptr noundef @.str.11)
%16 = call i32 @puts(ptr noundef @.str.12)
%17 = call i32 @puts(ptr noundef @.str.1)
%18 = call i32 @puts(ptr noundef @.str.13)
%19 = call i32 @puts(ptr noundef @.str.1)
%20 = call i32 @puts(ptr noundef @.str.14)
%21 = call i32 @puts(ptr noundef @.str.1)
%22 = call i32 @puts(ptr noundef @.str.15)
ret void
}
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5nernm3h.c'
source_filename = "/tmp/tmp5nernm3h.c"
target datalayout = "e-m:e-p270: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 [12 x i8] c"CheCKpOInT\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 256, ptr %6, align 4
%9 = call i64 @malloc(i32 noundef 256)
%10 = inttoptr i64 %9 to ptr
store ptr %10, ptr %7, align 8
%11 = load ptr, ptr %7, align 8
%12 = call ptr @acc_create(ptr noundef %11, i32 noundef 256)
store ptr %12, ptr %8, align 8
%13 = load ptr, ptr %8, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %17, label %15
15: ; preds = %2
%16 = call i32 (...) @abort() #3
unreachable
17: ; preds = %2
%18 = load i32, ptr @stderr, align 4
%19 = call i32 @fprintf(i32 noundef %18, ptr noundef @.str)
%20 = load ptr, ptr %7, align 8
%21 = call i32 @acc_delete(ptr noundef %20, i32 noundef 254)
%22 = load ptr, ptr %7, align 8
%23 = call i32 @free(ptr noundef %22)
ret i32 0
}
declare i64 @malloc(i32 noundef) #1
declare ptr @acc_create(ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @acc_delete(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" }
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/tmp5nernm3h.c"
target datalayout = "e-m:e-p270: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 [12 x i8] c"CheCKpOInT\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 256, ptr %6, align 4
%9 = call i64 @malloc(i32 noundef 256)
%10 = inttoptr i64 %9 to ptr
store ptr %10, ptr %7, align 8
%11 = load ptr, ptr %7, align 8
%12 = call ptr @acc_create(ptr noundef %11, i32 noundef 256)
store ptr %12, ptr %8, align 8
%13 = load ptr, ptr %8, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %17, label %15
15: ; preds = %2
%16 = call i32 (...) @abort() #3
unreachable
17: ; preds = %2
%18 = load i32, ptr @stderr, align 4
%19 = call i32 @fprintf(i32 noundef %18, ptr noundef @.str)
%20 = load ptr, ptr %7, align 8
%21 = call i32 @acc_delete(ptr noundef %20, i32 noundef 254)
%22 = load ptr, ptr %7, align 8
%23 = call i32 @free(ptr noundef %22)
ret i32 0
}
declare i64 @malloc(i32 noundef) #1
declare ptr @acc_create(ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @acc_delete(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" }
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/tmp0fbsv3uu.c'
source_filename = "/tmp/tmp0fbsv3uu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @create_k_fold(i32 noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
store ptr %4, ptr %10, align 8
store i32 0, ptr %11, align 4
store ptr null, ptr %16, align 8
%17 = load ptr, ptr %10, align 8
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %152
19: ; preds = %5
%20 = load i32, ptr %7, align 4
%21 = call i64 @my_calloc(i32 noundef %20, i32 noundef 4)
%22 = inttoptr i64 %21 to ptr
store ptr %22, ptr %15, align 8
%23 = load ptr, ptr %15, align 8
%24 = icmp eq ptr %23, null
br i1 %24, label %25, label %26
25: ; preds = %19
store i32 2, ptr %11, align 4
br label %151
26: ; preds = %19
store i32 0, ptr %12, align 4
br label %27
27: ; preds = %36, %26
%28 = load i32, ptr %12, align 4
%29 = load i32, ptr %7, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %31, label %39
31: ; preds = %27
%32 = load ptr, ptr %15, align 8
%33 = load i32, ptr %12, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i32, ptr %32, i64 %34
store i32 -1, ptr %35, align 4
br label %36
36: ; preds = %31
%37 = load i32, ptr %12, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %12, align 4
br label %27, !llvm.loop !6
39: ; preds = %27
store i32 0, ptr %12, align 4
br label %40
40: ; preds = %73, %39
%41 = load i32, ptr %12, align 4
%42 = load i32, ptr %7, align 4
%43 = icmp slt i32 %41, %42
br i1 %43, label %44, label %76
44: ; preds = %40
%45 = load i32, ptr %7, align 4
%46 = sub nsw i32 %45, 1
%47 = sext i32 %46 to i64
%48 = call i64 @random_long(i64 noundef %47)
%49 = trunc i64 %48 to i32
store i32 %49, ptr %13, align 4
br label %50
50: ; preds = %66, %44
%51 = load ptr, ptr %15, align 8
%52 = load i32, ptr %13, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds i32, ptr %51, i64 %53
%55 = load i32, ptr %54, align 4
%56 = icmp ne i32 %55, -1
br i1 %56, label %57, label %67
57: ; preds = %50
%58 = load i32, ptr %13, align 4
%59 = load i32, ptr %7, align 4
%60 = sub nsw i32 %59, 1
%61 = icmp slt i32 %58, %60
br i1 %61, label %62, label %65
62: ; preds = %57
%63 = load i32, ptr %13, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %13, align 4
br label %66
65: ; preds = %57
store i32 0, ptr %13, align 4
br label %66
66: ; preds = %65, %62
br label %50, !llvm.loop !8
67: ; preds = %50
%68 = load i32, ptr %12, align 4
%69 = load ptr, ptr %15, align 8
%70 = load i32, ptr %13, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds i32, ptr %69, i64 %71
store i32 %68, ptr %72, align 4
br label %73
73: ; preds = %67
%74 = load i32, ptr %12, align 4
%75 = add nsw i32 %74, 1
store i32 %75, ptr %12, align 4
br label %40, !llvm.loop !9
76: ; preds = %40
%77 = load i32, ptr %7, align 4
%78 = call i64 @my_calloc(i32 noundef %77, i32 noundef 4)
%79 = inttoptr i64 %78 to ptr
store ptr %79, ptr %16, align 8
%80 = load ptr, ptr %16, align 8
%81 = icmp eq ptr %80, null
br i1 %81, label %82, label %83
82: ; preds = %76
store i32 2, ptr %11, align 4
br label %150
83: ; preds = %76
store i32 0, ptr %14, align 4
br label %84
84: ; preds = %117, %83
%85 = load i32, ptr %14, align 4
%86 = load i32, ptr %6, align 4
%87 = icmp slt i32 %85, %86
br i1 %87, label %88, label %120
88: ; preds = %84
%89 = load i32, ptr %14, align 4
%90 = load i32, ptr %7, align 4
%91 = mul nsw i32 %89, %90
%92 = load i32, ptr %6, align 4
%93 = sdiv i32 %91, %92
store i32 %93, ptr %12, align 4
br label %94
94: ; preds = %113, %88
%95 = load i32, ptr %12, align 4
%96 = load i32, ptr %14, align 4
%97 = add nsw i32 %96, 1
%98 = load i32, ptr %7, align 4
%99 = mul nsw i32 %97, %98
%100 = load i32, ptr %6, align 4
%101 = sdiv i32 %99, %100
%102 = icmp slt i32 %95, %101
br i1 %102, label %103, label %116
103: ; preds = %94
%104 = load i32, ptr %14, align 4
%105 = load ptr, ptr %16, align 8
%106 = load ptr, ptr %15, align 8
%107 = load i32, ptr %12, align 4
%108 = sext i32 %107 to i64
%109 = getelementptr inbounds i32, ptr %106, i64 %108
%110 = load i32, ptr %109, align 4
%111 = sext i32 %110 to i64
%112 = getelementptr inbounds i32, ptr %105, i64 %111
store i32 %104, ptr %112, align 4
br label %113
113: ; preds = %103
%114 = load i32, ptr %12, align 4
%115 = add nsw i32 %114, 1
store i32 %115, ptr %12, align 4
br label %94, !llvm.loop !10
116: ; preds = %94
br label %117
117: ; preds = %116
%118 = load i32, ptr %14, align 4
%119 = add nsw i32 %118, 1
store i32 %119, ptr %14, align 4
br label %84, !llvm.loop !11
120: ; preds = %84
%121 = load i32, ptr %6, align 4
%122 = load i32, ptr %7, align 4
%123 = mul nsw i32 %121, %122
%124 = load i32, ptr %6, align 4
%125 = sdiv i32 %123, %124
store i32 %125, ptr %12, align 4
br label %126
126: ; preds = %146, %120
%127 = load i32, ptr %12, align 4
%128 = load i32, ptr %7, align 4
%129 = icmp slt i32 %127, %128
br i1 %129, label %130, label %149
130: ; preds = %126
%131 = load i32, ptr %12, align 4
%132 = load i32, ptr %6, align 4
%133 = load i32, ptr %7, align 4
%134 = mul nsw i32 %132, %133
%135 = load i32, ptr %6, align 4
%136 = sdiv i32 %134, %135
%137 = sub nsw i32 %131, %136
%138 = load ptr, ptr %16, align 8
%139 = load ptr, ptr %15, align 8
%140 = load i32, ptr %12, align 4
%141 = sext i32 %140 to i64
%142 = getelementptr inbounds i32, ptr %139, i64 %141
%143 = load i32, ptr %142, align 4
%144 = sext i32 %143 to i64
%145 = getelementptr inbounds i32, ptr %138, i64 %144
store i32 %137, ptr %145, align 4
br label %146
146: ; preds = %130
%147 = load i32, ptr %12, align 4
%148 = add nsw i32 %147, 1
store i32 %148, ptr %12, align 4
br label %126, !llvm.loop !12
149: ; preds = %126
br label %150
150: ; preds = %149, %82
br label %151
151: ; preds = %150, %25
br label %196
152: ; preds = %5
%153 = load i32, ptr %7, align 4
%154 = call i64 @my_calloc(i32 noundef %153, i32 noundef 4)
%155 = inttoptr i64 %154 to ptr
store ptr %155, ptr %16, align 8
%156 = load ptr, ptr %16, align 8
%157 = icmp eq ptr %156, null
br i1 %157, label %158, label %159
158: ; preds = %152
store i32 2, ptr %11, align 4
br label %195
159: ; preds = %152
store i32 0, ptr %14, align 4
store i32 0, ptr %12, align 4
br label %160
160: ; preds = %191, %159
%161 = load i32, ptr %12, align 4
%162 = load i32, ptr %7, align 4
%163 = icmp slt i32 %161, %162
br i1 %163, label %164, label %194
164: ; preds = %160
%165 = load ptr, ptr %10, align 8
%166 = load i32, ptr %12, align 4
%167 = sext i32 %166 to i64
%168 = getelementptr inbounds i32, ptr %165, i64 %167
%169 = load i32, ptr %168, align 4
%170 = load i32, ptr %9, align 4
%171 = icmp ne i32 %169, %170
br i1 %171, label %172, label %185
172: ; preds = %164
%173 = load i32, ptr %14, align 4
%174 = load ptr, ptr %16, align 8
%175 = load i32, ptr %12, align 4
%176 = sext i32 %175 to i64
%177 = getelementptr inbounds i32, ptr %174, i64 %176
store i32 %173, ptr %177, align 4
%178 = load i32, ptr %14, align 4
%179 = add nsw i32 %178, 1
store i32 %179, ptr %14, align 4
%180 = load i32, ptr %14, align 4
%181 = load i32, ptr %6, align 4
%182 = icmp eq i32 %180, %181
br i1 %182, label %183, label %184
183: ; preds = %172
store i32 0, ptr %14, align 4
br label %184
184: ; preds = %183, %172
br label %190
185: ; preds = %164
%186 = load ptr, ptr %16, align 8
%187 = load i32, ptr %12, align 4
%188 = sext i32 %187 to i64
%189 = getelementptr inbounds i32, ptr %186, i64 %188
store i32 -1, ptr %189, align 4
br label %190
190: ; preds = %185, %184
br label %191
191: ; preds = %190
%192 = load i32, ptr %12, align 4
%193 = add nsw i32 %192, 1
store i32 %193, ptr %12, align 4
br label %160, !llvm.loop !13
194: ; preds = %160
br label %195
195: ; preds = %194, %158
br label %196
196: ; preds = %195, %151
%197 = load ptr, ptr %16, align 8
%198 = load ptr, ptr %8, align 8
store ptr %197, ptr %198, align 8
%199 = load i32, ptr %11, align 4
ret i32 %199
}
declare i64 @my_calloc(i32 noundef, i32 noundef) #1
declare i64 @random_long(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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0fbsv3uu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @create_k_fold(i32 noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
store ptr %4, ptr %10, align 8
store i32 0, ptr %11, align 4
store ptr null, ptr %16, align 8
%17 = load ptr, ptr %10, align 8
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %172
19: ; preds = %5
%20 = load i32, ptr %7, align 4
%21 = call i64 @my_calloc(i32 noundef %20, i32 noundef 4)
%22 = inttoptr i64 %21 to ptr
store ptr %22, ptr %15, align 8
%23 = load ptr, ptr %15, align 8
%24 = icmp eq ptr %23, null
br i1 %24, label %25, label %26
25: ; preds = %19
store i32 2, ptr %11, align 4
br label %171
26: ; preds = %19
store i32 0, ptr %12, align 4
%27 = load i32, ptr %12, align 4
%28 = load i32, ptr %7, align 4
%29 = icmp slt i32 %27, %28
br i1 %29, label %.lr.ph2, label %41
.lr.ph2: ; preds = %26
br label %30
30: ; preds = %.lr.ph2, %35
%31 = load ptr, ptr %15, align 8
%32 = load i32, ptr %12, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i32, ptr %31, i64 %33
store i32 -1, ptr %34, align 4
br label %35
35: ; preds = %30
%36 = load i32, ptr %12, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %12, align 4
%38 = load i32, ptr %12, align 4
%39 = load i32, ptr %7, align 4
%40 = icmp slt i32 %38, %39
br i1 %40, label %30, label %._crit_edge3, !llvm.loop !6
._crit_edge3: ; preds = %35
br label %41
41: ; preds = %._crit_edge3, %26
store i32 0, ptr %12, align 4
%42 = load i32, ptr %12, align 4
%43 = load i32, ptr %7, align 4
%44 = icmp slt i32 %42, %43
br i1 %44, label %.lr.ph8, label %85
.lr.ph8: ; preds = %41
br label %45
45: ; preds = %.lr.ph8, %79
%46 = load i32, ptr %7, align 4
%47 = sub nsw i32 %46, 1
%48 = sext i32 %47 to i64
%49 = call i64 @random_long(i64 noundef %48)
%50 = trunc i64 %49 to i32
store i32 %50, ptr %13, align 4
%51 = load ptr, ptr %15, align 8
%52 = load i32, ptr %13, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds i32, ptr %51, i64 %53
%55 = load i32, ptr %54, align 4
%56 = icmp ne i32 %55, -1
br i1 %56, label %.lr.ph5, label %73
.lr.ph5: ; preds = %45
br label %57
57: ; preds = %.lr.ph5, %66
%58 = load i32, ptr %13, align 4
%59 = load i32, ptr %7, align 4
%60 = sub nsw i32 %59, 1
%61 = icmp slt i32 %58, %60
br i1 %61, label %62, label %65
62: ; preds = %57
%63 = load i32, ptr %13, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %13, align 4
br label %66
65: ; preds = %57
store i32 0, ptr %13, align 4
br label %66
66: ; preds = %65, %62
%67 = load ptr, ptr %15, align 8
%68 = load i32, ptr %13, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds i32, ptr %67, i64 %69
%71 = load i32, ptr %70, align 4
%72 = icmp ne i32 %71, -1
br i1 %72, label %57, label %._crit_edge6, !llvm.loop !8
._crit_edge6: ; preds = %66
br label %73
73: ; preds = %._crit_edge6, %45
%74 = load i32, ptr %12, align 4
%75 = load ptr, ptr %15, align 8
%76 = load i32, ptr %13, align 4
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds i32, ptr %75, i64 %77
store i32 %74, ptr %78, align 4
br label %79
79: ; preds = %73
%80 = load i32, ptr %12, align 4
%81 = add nsw i32 %80, 1
store i32 %81, ptr %12, align 4
%82 = load i32, ptr %12, align 4
%83 = load i32, ptr %7, align 4
%84 = icmp slt i32 %82, %83
br i1 %84, label %45, label %._crit_edge9, !llvm.loop !9
._crit_edge9: ; preds = %79
br label %85
85: ; preds = %._crit_edge9, %41
%86 = load i32, ptr %7, align 4
%87 = call i64 @my_calloc(i32 noundef %86, i32 noundef 4)
%88 = inttoptr i64 %87 to ptr
store ptr %88, ptr %16, align 8
%89 = load ptr, ptr %16, align 8
%90 = icmp eq ptr %89, null
br i1 %90, label %91, label %92
91: ; preds = %85
store i32 2, ptr %11, align 4
br label %170
92: ; preds = %85
store i32 0, ptr %14, align 4
%93 = load i32, ptr %14, align 4
%94 = load i32, ptr %6, align 4
%95 = icmp slt i32 %93, %94
br i1 %95, label %.lr.ph14, label %138
.lr.ph14: ; preds = %92
br label %96
96: ; preds = %.lr.ph14, %132
%97 = load i32, ptr %14, align 4
%98 = load i32, ptr %7, align 4
%99 = mul nsw i32 %97, %98
%100 = load i32, ptr %6, align 4
%101 = sdiv i32 %99, %100
store i32 %101, ptr %12, align 4
%102 = load i32, ptr %12, align 4
%103 = load i32, ptr %14, align 4
%104 = add nsw i32 %103, 1
%105 = load i32, ptr %7, align 4
%106 = mul nsw i32 %104, %105
%107 = load i32, ptr %6, align 4
%108 = sdiv i32 %106, %107
%109 = icmp slt i32 %102, %108
br i1 %109, label %.lr.ph11, label %131
.lr.ph11: ; preds = %96
br label %110
110: ; preds = %.lr.ph11, %120
%111 = load i32, ptr %14, align 4
%112 = load ptr, ptr %16, align 8
%113 = load ptr, ptr %15, align 8
%114 = load i32, ptr %12, align 4
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds i32, ptr %113, i64 %115
%117 = load i32, ptr %116, align 4
%118 = sext i32 %117 to i64
%119 = getelementptr inbounds i32, ptr %112, i64 %118
store i32 %111, ptr %119, align 4
br label %120
120: ; preds = %110
%121 = load i32, ptr %12, align 4
%122 = add nsw i32 %121, 1
store i32 %122, ptr %12, align 4
%123 = load i32, ptr %12, align 4
%124 = load i32, ptr %14, align 4
%125 = add nsw i32 %124, 1
%126 = load i32, ptr %7, align 4
%127 = mul nsw i32 %125, %126
%128 = load i32, ptr %6, align 4
%129 = sdiv i32 %127, %128
%130 = icmp slt i32 %123, %129
br i1 %130, label %110, label %._crit_edge12, !llvm.loop !10
._crit_edge12: ; preds = %120
br label %131
131: ; preds = %._crit_edge12, %96
br label %132
132: ; preds = %131
%133 = load i32, ptr %14, align 4
%134 = add nsw i32 %133, 1
store i32 %134, ptr %14, align 4
%135 = load i32, ptr %14, align 4
%136 = load i32, ptr %6, align 4
%137 = icmp slt i32 %135, %136
br i1 %137, label %96, label %._crit_edge15, !llvm.loop !11
._crit_edge15: ; preds = %132
br label %138
138: ; preds = %._crit_edge15, %92
%139 = load i32, ptr %6, align 4
%140 = load i32, ptr %7, align 4
%141 = mul nsw i32 %139, %140
%142 = load i32, ptr %6, align 4
%143 = sdiv i32 %141, %142
store i32 %143, ptr %12, align 4
%144 = load i32, ptr %12, align 4
%145 = load i32, ptr %7, align 4
%146 = icmp slt i32 %144, %145
br i1 %146, label %.lr.ph17, label %169
.lr.ph17: ; preds = %138
br label %147
147: ; preds = %.lr.ph17, %163
%148 = load i32, ptr %12, align 4
%149 = load i32, ptr %6, align 4
%150 = load i32, ptr %7, align 4
%151 = mul nsw i32 %149, %150
%152 = load i32, ptr %6, align 4
%153 = sdiv i32 %151, %152
%154 = sub nsw i32 %148, %153
%155 = load ptr, ptr %16, align 8
%156 = load ptr, ptr %15, align 8
%157 = load i32, ptr %12, align 4
%158 = sext i32 %157 to i64
%159 = getelementptr inbounds i32, ptr %156, i64 %158
%160 = load i32, ptr %159, align 4
%161 = sext i32 %160 to i64
%162 = getelementptr inbounds i32, ptr %155, i64 %161
store i32 %154, ptr %162, align 4
br label %163
163: ; preds = %147
%164 = load i32, ptr %12, align 4
%165 = add nsw i32 %164, 1
store i32 %165, ptr %12, align 4
%166 = load i32, ptr %12, align 4
%167 = load i32, ptr %7, align 4
%168 = icmp slt i32 %166, %167
br i1 %168, label %147, label %._crit_edge18, !llvm.loop !12
._crit_edge18: ; preds = %163
br label %169
169: ; preds = %._crit_edge18, %138
br label %170
170: ; preds = %169, %91
br label %171
171: ; preds = %170, %25
br label %218
172: ; preds = %5
%173 = load i32, ptr %7, align 4
%174 = call i64 @my_calloc(i32 noundef %173, i32 noundef 4)
%175 = inttoptr i64 %174 to ptr
store ptr %175, ptr %16, align 8
%176 = load ptr, ptr %16, align 8
%177 = icmp eq ptr %176, null
br i1 %177, label %178, label %179
178: ; preds = %172
store i32 2, ptr %11, align 4
br label %217
179: ; preds = %172
store i32 0, ptr %14, align 4
store i32 0, ptr %12, align 4
%180 = load i32, ptr %12, align 4
%181 = load i32, ptr %7, align 4
%182 = icmp slt i32 %180, %181
br i1 %182, label %.lr.ph, label %216
.lr.ph: ; preds = %179
br label %183
183: ; preds = %.lr.ph, %210
%184 = load ptr, ptr %10, align 8
%185 = load i32, ptr %12, align 4
%186 = sext i32 %185 to i64
%187 = getelementptr inbounds i32, ptr %184, i64 %186
%188 = load i32, ptr %187, align 4
%189 = load i32, ptr %9, align 4
%190 = icmp ne i32 %188, %189
br i1 %190, label %191, label %204
191: ; preds = %183
%192 = load i32, ptr %14, align 4
%193 = load ptr, ptr %16, align 8
%194 = load i32, ptr %12, align 4
%195 = sext i32 %194 to i64
%196 = getelementptr inbounds i32, ptr %193, i64 %195
store i32 %192, ptr %196, align 4
%197 = load i32, ptr %14, align 4
%198 = add nsw i32 %197, 1
store i32 %198, ptr %14, align 4
%199 = load i32, ptr %14, align 4
%200 = load i32, ptr %6, align 4
%201 = icmp eq i32 %199, %200
br i1 %201, label %202, label %203
202: ; preds = %191
store i32 0, ptr %14, align 4
br label %203
203: ; preds = %202, %191
br label %209
204: ; preds = %183
%205 = load ptr, ptr %16, align 8
%206 = load i32, ptr %12, align 4
%207 = sext i32 %206 to i64
%208 = getelementptr inbounds i32, ptr %205, i64 %207
store i32 -1, ptr %208, align 4
br label %209
209: ; preds = %204, %203
br label %210
210: ; preds = %209
%211 = load i32, ptr %12, align 4
%212 = add nsw i32 %211, 1
store i32 %212, ptr %12, align 4
%213 = load i32, ptr %12, align 4
%214 = load i32, ptr %7, align 4
%215 = icmp slt i32 %213, %214
br i1 %215, label %183, label %._crit_edge, !llvm.loop !13
._crit_edge: ; preds = %210
br label %216
216: ; preds = %._crit_edge, %179
br label %217
217: ; preds = %216, %178
br label %218
218: ; preds = %217, %171
%219 = load ptr, ptr %16, align 8
%220 = load ptr, ptr %8, align 8
store ptr %219, ptr %220, align 8
%221 = load i32, ptr %11, align 4
ret i32 %221
}
declare i64 @my_calloc(i32 noundef, i32 noundef) #1
declare i64 @random_long(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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
|
; ModuleID = '/tmp/tmpiq58s90l.c'
source_filename = "/tmp/tmpiq58s90l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @output_q_hex(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%7 = load i64, ptr %2, align 8
store i64 %7, ptr %3, align 8
%8 = load i64, ptr %2, align 8
store i64 %8, ptr %5, align 8
%9 = call i32 @output_char(i64 noundef 48)
%10 = call i32 @output_char(i64 noundef 120)
store i64 0, ptr %5, align 8
store i64 0, ptr %6, align 8
br label %11
11: ; preds = %25, %1
%12 = load i64, ptr %3, align 8
%13 = and i64 %12, 15
store i64 %13, ptr %4, align 8
%14 = load i64, ptr %3, align 8
%15 = sdiv i64 %14, 16
store i64 %15, ptr %3, align 8
%16 = load i64, ptr %5, align 8
%17 = mul nsw i64 %16, 16
store i64 %17, ptr %5, align 8
%18 = load i64, ptr %5, align 8
%19 = load i64, ptr %4, align 8
%20 = add nsw i64 %18, %19
store i64 %20, ptr %5, align 8
%21 = load i64, ptr %6, align 8
%22 = add nsw i64 %21, 1
store i64 %22, ptr %6, align 8
%23 = load i64, ptr %6, align 8
%24 = icmp slt i64 %23, 15
br i1 %24, label %25, label %26
25: ; preds = %11
br label %11
26: ; preds = %11
store i64 0, ptr %6, align 8
br label %27
27: ; preds = %47, %26
%28 = load i64, ptr %5, align 8
%29 = and i64 %28, 15
store i64 %29, ptr %4, align 8
%30 = load i64, ptr %5, align 8
%31 = sdiv i64 %30, 16
store i64 %31, ptr %5, align 8
%32 = load i64, ptr %4, align 8
%33 = icmp slt i64 %32, 10
br i1 %33, label %34, label %37
34: ; preds = %27
%35 = load i64, ptr %4, align 8
%36 = add nsw i64 %35, 48
store i64 %36, ptr %4, align 8
br label %40
37: ; preds = %27
%38 = load i64, ptr %4, align 8
%39 = add nsw i64 %38, 55
store i64 %39, ptr %4, align 8
br label %40
40: ; preds = %37, %34
%41 = load i64, ptr %4, align 8
%42 = call i32 @output_char(i64 noundef %41)
%43 = load i64, ptr %6, align 8
%44 = add nsw i64 %43, 1
store i64 %44, ptr %6, align 8
%45 = load i64, ptr %6, align 8
%46 = icmp slt i64 %45, 15
br i1 %46, label %47, label %48
47: ; preds = %40
br label %27
48: ; preds = %40
ret void
}
declare i32 @output_char(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/tmpiq58s90l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @output_q_hex(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%7 = load i64, ptr %2, align 8
store i64 %7, ptr %3, align 8
%8 = load i64, ptr %2, align 8
store i64 %8, ptr %5, align 8
%9 = call i32 @output_char(i64 noundef 48)
%10 = call i32 @output_char(i64 noundef 120)
store i64 0, ptr %5, align 8
store i64 0, ptr %6, align 8
br label %11
11: ; preds = %11, %1
%12 = load i64, ptr %3, align 8
%13 = and i64 %12, 15
store i64 %13, ptr %4, align 8
%14 = load i64, ptr %3, align 8
%15 = sdiv i64 %14, 16
store i64 %15, ptr %3, align 8
%16 = load i64, ptr %5, align 8
%17 = mul nsw i64 %16, 16
store i64 %17, ptr %5, align 8
%18 = load i64, ptr %5, align 8
%19 = load i64, ptr %4, align 8
%20 = add nsw i64 %18, %19
store i64 %20, ptr %5, align 8
%21 = load i64, ptr %6, align 8
%22 = add nsw i64 %21, 1
store i64 %22, ptr %6, align 8
%23 = load i64, ptr %6, align 8
%24 = icmp slt i64 %23, 15
br i1 %24, label %11, label %25
25: ; preds = %11
store i64 0, ptr %6, align 8
br label %26
26: ; preds = %39, %25
%27 = load i64, ptr %5, align 8
%28 = and i64 %27, 15
store i64 %28, ptr %4, align 8
%29 = load i64, ptr %5, align 8
%30 = sdiv i64 %29, 16
store i64 %30, ptr %5, align 8
%31 = load i64, ptr %4, align 8
%32 = icmp slt i64 %31, 10
br i1 %32, label %33, label %36
33: ; preds = %26
%34 = load i64, ptr %4, align 8
%35 = add nsw i64 %34, 48
store i64 %35, ptr %4, align 8
br label %39
36: ; preds = %26
%37 = load i64, ptr %4, align 8
%38 = add nsw i64 %37, 55
store i64 %38, ptr %4, align 8
br label %39
39: ; preds = %36, %33
%40 = load i64, ptr %4, align 8
%41 = call i32 @output_char(i64 noundef %40)
%42 = load i64, ptr %6, align 8
%43 = add nsw i64 %42, 1
store i64 %43, ptr %6, align 8
%44 = load i64, ptr %6, align 8
%45 = icmp slt i64 %44, 15
br i1 %45, label %26, label %46
46: ; preds = %39
ret void
}
declare i32 @output_char(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/tmpk94iqvui.c'
source_filename = "/tmp/tmpk94iqvui.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"thread running ------ %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @runner(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = ptrtoint ptr %4 to i32
%6 = call i32 @printf(ptr noundef @.str, i32 noundef %5)
%7 = call i32 @pthread_exit(i32 noundef 0)
%8 = load ptr, ptr %2, align 8
ret ptr %8
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @pthread_exit(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpk94iqvui.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"thread running ------ %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @runner(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = ptrtoint ptr %4 to i32
%6 = call i32 @printf(ptr noundef @.str, i32 noundef %5)
%7 = call i32 @pthread_exit(i32 noundef 0)
%8 = load ptr, ptr %2, align 8
ret ptr %8
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @pthread_exit(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptx6clh9d.c'
source_filename = "/tmp/tmptx6clh9d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@_IONBF = dso_local global i32 0, align 4
@stdin = dso_local global i32 0, align 4
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 10000, ptr %7, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp sgt i32 %8, 1
br i1 %9, label %10, label %16
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 1
%13 = load ptr, ptr %12, align 8
%14 = call i32 @atoi(ptr noundef %13)
%15 = sdiv i32 1000000, %14
store i32 %15, ptr %7, align 4
br label %16
16: ; preds = %10, %2
%17 = load i32, ptr @stdout, align 4
%18 = load i32, ptr @_IONBF, align 4
%19 = call i32 @setvbuf(i32 noundef %17, ptr noundef null, i32 noundef %18, i32 noundef 0)
br label %20
20: ; preds = %25, %16
%21 = load i32, ptr @stdin, align 4
%22 = call i32 @fgetc(i32 noundef %21)
store i32 %22, ptr %6, align 4
%23 = load i32, ptr @EOF, align 4
%24 = icmp ne i32 %22, %23
br i1 %24, label %25, label %31
25: ; preds = %20
%26 = load i32, ptr %6, align 4
%27 = load i32, ptr @stdout, align 4
%28 = call i32 @fputc(i32 noundef %26, i32 noundef %27)
%29 = load i32, ptr %7, align 4
%30 = call i32 @usleep(i32 noundef %29)
br label %20, !llvm.loop !6
31: ; preds = %20
ret i32 0
}
declare i32 @atoi(ptr noundef) #1
declare i32 @setvbuf(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fgetc(i32 noundef) #1
declare i32 @fputc(i32 noundef, i32 noundef) #1
declare i32 @usleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmptx6clh9d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@_IONBF = dso_local global i32 0, align 4
@stdin = dso_local global i32 0, align 4
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 10000, ptr %7, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp sgt i32 %8, 1
br i1 %9, label %10, label %16
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 1
%13 = load ptr, ptr %12, align 8
%14 = call i32 @atoi(ptr noundef %13)
%15 = sdiv i32 1000000, %14
store i32 %15, ptr %7, align 4
br label %16
16: ; preds = %10, %2
%17 = load i32, ptr @stdout, align 4
%18 = load i32, ptr @_IONBF, align 4
%19 = call i32 @setvbuf(i32 noundef %17, ptr noundef null, i32 noundef %18, i32 noundef 0)
%20 = load i32, ptr @stdin, align 4
%21 = call i32 @fgetc(i32 noundef %20)
store i32 %21, ptr %6, align 4
%22 = load i32, ptr @EOF, align 4
%23 = icmp ne i32 %21, %22
br i1 %23, label %.lr.ph, label %34
.lr.ph: ; preds = %16
br label %24
24: ; preds = %.lr.ph, %24
%25 = load i32, ptr %6, align 4
%26 = load i32, ptr @stdout, align 4
%27 = call i32 @fputc(i32 noundef %25, i32 noundef %26)
%28 = load i32, ptr %7, align 4
%29 = call i32 @usleep(i32 noundef %28)
%30 = load i32, ptr @stdin, align 4
%31 = call i32 @fgetc(i32 noundef %30)
store i32 %31, ptr %6, align 4
%32 = load i32, ptr @EOF, align 4
%33 = icmp ne i32 %31, %32
br i1 %33, label %24, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %34
34: ; preds = %._crit_edge, %16
ret i32 0
}
declare i32 @atoi(ptr noundef) #1
declare i32 @setvbuf(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fgetc(i32 noundef) #1
declare i32 @fputc(i32 noundef, i32 noundef) #1
declare i32 @usleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmp06r_q3s_.c'
source_filename = "/tmp/tmp06r_q3s_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @si475xAMRX_configure() #0 {
%1 = call i32 (...) @si475xAMRX_output_config()
%2 = call i32 (...) @si475xAMRX_hardware_cfg()
%3 = call i32 (...) @si475xAMRX_general_cfg()
%4 = call i32 (...) @si475xAMRX_regional_cfg()
ret void
}
declare i32 @si475xAMRX_output_config(...) #1
declare i32 @si475xAMRX_hardware_cfg(...) #1
declare i32 @si475xAMRX_general_cfg(...) #1
declare i32 @si475xAMRX_regional_cfg(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp06r_q3s_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @si475xAMRX_configure() #0 {
%1 = call i32 (...) @si475xAMRX_output_config()
%2 = call i32 (...) @si475xAMRX_hardware_cfg()
%3 = call i32 (...) @si475xAMRX_general_cfg()
%4 = call i32 (...) @si475xAMRX_regional_cfg()
ret void
}
declare i32 @si475xAMRX_output_config(...) #1
declare i32 @si475xAMRX_hardware_cfg(...) #1
declare i32 @si475xAMRX_general_cfg(...) #1
declare i32 @si475xAMRX_regional_cfg(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpg_hb4sf7.c'
source_filename = "/tmp/tmpg_hb4sf7.c"
target datalayout = "e-m:e-p270: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 [41 x i8] c"[Error] Failed to allocate memory (%s)!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @TIDAL_LIB_fast3tree_check_realloc(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%8 = load ptr, ptr %4, align 8
%9 = load i64, ptr %5, align 8
%10 = call ptr @realloc(ptr noundef %8, i64 noundef %9) #4
store ptr %10, ptr %7, align 8
%11 = load ptr, ptr %7, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %21
13: ; preds = %3
%14 = load i64, ptr %5, align 8
%15 = icmp ugt i64 %14, 0
br i1 %15, label %16, label %21
16: ; preds = %13
%17 = load i32, ptr @stderr, align 4
%18 = load ptr, ptr %6, align 8
%19 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str, ptr noundef %18)
%20 = call i32 @exit(i32 noundef 1) #5
unreachable
21: ; preds = %13, %3
%22 = load ptr, ptr %7, align 8
ret ptr %22
}
; Function Attrs: allocsize(1)
declare ptr @realloc(ptr noundef, i64 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { allocsize(1) "frame-pointer"="all" "no-trapping-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 = { "frame-pointer"="all" "no-trapping-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 = { allocsize(1) }
attributes #5 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpg_hb4sf7.c"
target datalayout = "e-m:e-p270: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 [41 x i8] c"[Error] Failed to allocate memory (%s)!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @TIDAL_LIB_fast3tree_check_realloc(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%8 = load ptr, ptr %4, align 8
%9 = load i64, ptr %5, align 8
%10 = call ptr @realloc(ptr noundef %8, i64 noundef %9) #4
store ptr %10, ptr %7, align 8
%11 = load ptr, ptr %7, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %21
13: ; preds = %3
%14 = load i64, ptr %5, align 8
%15 = icmp ugt i64 %14, 0
br i1 %15, label %16, label %21
16: ; preds = %13
%17 = load i32, ptr @stderr, align 4
%18 = load ptr, ptr %6, align 8
%19 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str, ptr noundef %18)
%20 = call i32 @exit(i32 noundef 1) #5
unreachable
21: ; preds = %13, %3
%22 = load ptr, ptr %7, align 8
ret ptr %22
}
; Function Attrs: allocsize(1)
declare ptr @realloc(ptr noundef, i64 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { allocsize(1) "frame-pointer"="all" "no-trapping-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 = { "frame-pointer"="all" "no-trapping-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 = { allocsize(1) }
attributes #5 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2vq98bu_.c'
source_filename = "/tmp/tmp2vq98bu_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_funlockfile_stub(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2vq98bu_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_funlockfile_stub(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppgl6v4em.c'
source_filename = "/tmp/tmppgl6v4em.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i64 (...) @nd()
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %9
8: ; preds = %0
store i32 0, ptr %2, align 4
br label %10
9: ; preds = %0
store i32 10, ptr %2, align 4
br label %10
10: ; preds = %9, %8
%11 = call i64 (...) @nd()
%12 = icmp ne i64 %11, 0
br i1 %12, label %13, label %14
13: ; preds = %10
store i32 0, ptr %3, align 4
br label %15
14: ; preds = %10
store i32 10, ptr %3, align 4
br label %15
15: ; preds = %14, %13
%16 = call i64 (...) @nd()
%17 = icmp ne i64 %16, 0
br i1 %17, label %18, label %19
18: ; preds = %15
store i32 0, ptr %4, align 4
br label %20
19: ; preds = %15
store i32 10, ptr %4, align 4
br label %20
20: ; preds = %19, %18
%21 = call i64 (...) @nd()
%22 = icmp ne i64 %21, 0
br i1 %22, label %23, label %27
23: ; preds = %20
%24 = load i32, ptr %2, align 4
%25 = load i32, ptr %3, align 4
%26 = add nsw i32 %24, %25
store i32 %26, ptr %5, align 4
br label %31
27: ; preds = %20
%28 = load i32, ptr %2, align 4
%29 = load i32, ptr %4, align 4
%30 = add nsw i32 %28, %29
store i32 %30, ptr %5, align 4
br label %31
31: ; preds = %27, %23
%32 = load i32, ptr %5, align 4
%33 = icmp slt i32 %32, 3
br i1 %33, label %34, label %37
34: ; preds = %31
%35 = load i32, ptr %2, align 4
%36 = add nsw i32 %35, 3
store i32 %36, ptr %2, align 4
br label %38
37: ; preds = %31
store i32 3, ptr %2, align 4
br label %38
38: ; preds = %37, %34
%39 = load i32, ptr %2, align 4
%40 = icmp sge i32 %39, 3
br i1 %40, label %41, label %44
41: ; preds = %38
%42 = load i32, ptr %2, align 4
%43 = icmp sle i32 %42, 5
br label %44
44: ; preds = %41, %38
%45 = phi i1 [ false, %38 ], [ %43, %41 ]
%46 = zext i1 %45 to i32
%47 = call i32 @__CRAB_assert(i32 noundef %46)
%48 = call i64 (...) @nd()
%49 = icmp ne i64 %48, 0
br i1 %49, label %50, label %51
50: ; preds = %44
store i32 42, ptr %1, align 4
br label %53
51: ; preds = %44
%52 = load i32, ptr %2, align 4
store i32 %52, ptr %1, align 4
br label %53
53: ; preds = %51, %50
%54 = load i32, ptr %1, align 4
ret i32 %54
}
declare i64 @nd(...) #1
declare i32 @__CRAB_assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmppgl6v4em.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i64 (...) @nd()
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %9
8: ; preds = %0
store i32 0, ptr %2, align 4
br label %10
9: ; preds = %0
store i32 10, ptr %2, align 4
br label %10
10: ; preds = %9, %8
%11 = call i64 (...) @nd()
%12 = icmp ne i64 %11, 0
br i1 %12, label %13, label %14
13: ; preds = %10
store i32 0, ptr %3, align 4
br label %15
14: ; preds = %10
store i32 10, ptr %3, align 4
br label %15
15: ; preds = %14, %13
%16 = call i64 (...) @nd()
%17 = icmp ne i64 %16, 0
br i1 %17, label %18, label %19
18: ; preds = %15
store i32 0, ptr %4, align 4
br label %20
19: ; preds = %15
store i32 10, ptr %4, align 4
br label %20
20: ; preds = %19, %18
%21 = call i64 (...) @nd()
%22 = icmp ne i64 %21, 0
br i1 %22, label %23, label %27
23: ; preds = %20
%24 = load i32, ptr %2, align 4
%25 = load i32, ptr %3, align 4
%26 = add nsw i32 %24, %25
store i32 %26, ptr %5, align 4
br label %31
27: ; preds = %20
%28 = load i32, ptr %2, align 4
%29 = load i32, ptr %4, align 4
%30 = add nsw i32 %28, %29
store i32 %30, ptr %5, align 4
br label %31
31: ; preds = %27, %23
%32 = load i32, ptr %5, align 4
%33 = icmp slt i32 %32, 3
br i1 %33, label %34, label %37
34: ; preds = %31
%35 = load i32, ptr %2, align 4
%36 = add nsw i32 %35, 3
store i32 %36, ptr %2, align 4
br label %38
37: ; preds = %31
store i32 3, ptr %2, align 4
br label %38
38: ; preds = %37, %34
%39 = load i32, ptr %2, align 4
%40 = icmp sge i32 %39, 3
br i1 %40, label %41, label %44
41: ; preds = %38
%42 = load i32, ptr %2, align 4
%43 = icmp sle i32 %42, 5
br label %44
44: ; preds = %41, %38
%45 = phi i1 [ false, %38 ], [ %43, %41 ]
%46 = zext i1 %45 to i32
%47 = call i32 @__CRAB_assert(i32 noundef %46)
%48 = call i64 (...) @nd()
%49 = icmp ne i64 %48, 0
br i1 %49, label %50, label %51
50: ; preds = %44
store i32 42, ptr %1, align 4
br label %53
51: ; preds = %44
%52 = load i32, ptr %2, align 4
store i32 %52, ptr %1, align 4
br label %53
53: ; preds = %51, %50
%54 = load i32, ptr %1, align 4
ret i32 %54
}
declare i64 @nd(...) #1
declare i32 @__CRAB_assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpy9ztgu97.c'
source_filename = "/tmp/tmpy9ztgu97.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = load ptr, ptr %5, align 8
%8 = call i32 @avg_init(i32 noundef %6, ptr noundef %7)
%9 = call i32 (...) @write_to_vhd()
ret i32 0
}
declare i32 @avg_init(i32 noundef, ptr noundef) #1
declare i32 @write_to_vhd(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy9ztgu97.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = load ptr, ptr %5, align 8
%8 = call i32 @avg_init(i32 noundef %6, ptr noundef %7)
%9 = call i32 (...) @write_to_vhd()
ret i32 0
}
declare i32 @avg_init(i32 noundef, ptr noundef) #1
declare i32 @write_to_vhd(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3q4yh3st.c'
source_filename = "/tmp/tmp3q4yh3st.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i64 0, ptr %6, align 8
store i64 0, ptr %7, align 8
store i64 1, ptr %8, align 8
br label %9
9: ; preds = %21, %2
%10 = load i64, ptr %8, align 8
%11 = icmp sle i64 %10, 100
br i1 %11, label %12, label %24
12: ; preds = %9
%13 = load i64, ptr %8, align 8
%14 = load i64, ptr %8, align 8
%15 = mul nsw i64 %13, %14
%16 = load i64, ptr %6, align 8
%17 = add nsw i64 %16, %15
store i64 %17, ptr %6, align 8
%18 = load i64, ptr %8, align 8
%19 = load i64, ptr %7, align 8
%20 = add nsw i64 %19, %18
store i64 %20, ptr %7, align 8
br label %21
21: ; preds = %12
%22 = load i64, ptr %8, align 8
%23 = add nsw i64 %22, 1
store i64 %23, ptr %8, align 8
br label %9, !llvm.loop !6
24: ; preds = %9
%25 = load i64, ptr %7, align 8
%26 = load i64, ptr %7, align 8
%27 = mul nsw i64 %25, %26
%28 = load i64, ptr %6, align 8
%29 = sub nsw i64 %27, %28
%30 = call i32 @printf(ptr noundef @.str, i64 noundef %29)
%31 = load i32, ptr %3, align 4
ret i32 %31
}
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3q4yh3st.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i64 0, ptr %6, align 8
store i64 0, ptr %7, align 8
store i64 1, ptr %8, align 8
%9 = load i64, ptr %8, align 8
%10 = icmp sle i64 %9, 100
br i1 %10, label %.lr.ph, label %25
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %20
%12 = load i64, ptr %8, align 8
%13 = load i64, ptr %8, align 8
%14 = mul nsw i64 %12, %13
%15 = load i64, ptr %6, align 8
%16 = add nsw i64 %15, %14
store i64 %16, ptr %6, align 8
%17 = load i64, ptr %8, align 8
%18 = load i64, ptr %7, align 8
%19 = add nsw i64 %18, %17
store i64 %19, ptr %7, align 8
br label %20
20: ; preds = %11
%21 = load i64, ptr %8, align 8
%22 = add nsw i64 %21, 1
store i64 %22, ptr %8, align 8
%23 = load i64, ptr %8, align 8
%24 = icmp sle i64 %23, 100
br i1 %24, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %25
25: ; preds = %._crit_edge, %2
%26 = load i64, ptr %7, align 8
%27 = load i64, ptr %7, align 8
%28 = mul nsw i64 %26, %27
%29 = load i64, ptr %6, align 8
%30 = sub nsw i64 %28, %29
%31 = call i32 @printf(ptr noundef @.str, i64 noundef %30)
%32 = load i32, ptr %3, align 4
ret i32 %32
}
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpdiqvojyo.c'
source_filename = "/tmp/tmpdiqvojyo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @client_socket_close(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 = call i32 @close(i32 noundef %5)
%7 = load ptr, ptr %4, align 8
%8 = call i32 @unlink(ptr noundef %7)
ret void
}
declare i32 @close(i32 noundef) #1
declare i32 @unlink(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdiqvojyo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @client_socket_close(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 = call i32 @close(i32 noundef %5)
%7 = load ptr, ptr %4, align 8
%8 = call i32 @unlink(ptr noundef %7)
ret void
}
declare i32 @close(i32 noundef) #1
declare i32 @unlink(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4hqrd701.c'
source_filename = "/tmp/tmp4hqrd701.c"
target datalayout = "e-m:e-p270: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/tmp4hqrd701.c"
target datalayout = "e-m:e-p270: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/tmp3t52kn25.c'
source_filename = "/tmp/tmp3t52kn25.c"
target datalayout = "e-m:e-p270: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/tmp3t52kn25.c"
target datalayout = "e-m:e-p270: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/tmph1y_1bpd.c'
source_filename = "/tmp/tmph1y_1bpd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.junk = private unnamed_addr constant [3 x [4 x i32]] [[4 x i32] [i32 2, i32 4, i32 6, i32 8], [4 x i32] [i32 3, i32 5, i32 7, i32 9], [4 x i32] [i32 12, i32 10, i32 8, i32 6]], align 16
@.str = private unnamed_addr constant [26 x i8] c"Sum of all elements = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [3 x [4 x i32]], align 16
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.junk, i64 48, i1 false)
%3 = getelementptr inbounds [3 x [4 x i32]], ptr %2, i64 0, i64 0
%4 = call i32 @sum_rows(ptr noundef %3, i32 noundef 3)
%5 = getelementptr inbounds [3 x [4 x i32]], ptr %2, i64 0, i64 0
%6 = call i32 @sum_cols(ptr noundef %5, i32 noundef 3)
%7 = getelementptr inbounds [3 x [4 x i32]], ptr %2, i64 0, i64 0
%8 = call i32 @sum2d(ptr noundef %7, i32 noundef 3)
%9 = call i32 @printf(ptr noundef @.str, i32 noundef %8)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @sum_rows(ptr noundef, i32 noundef) #2
declare i32 @sum_cols(ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, i32 noundef) #2
declare i32 @sum2d(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmph1y_1bpd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.junk = private unnamed_addr constant [3 x [4 x i32]] [[4 x i32] [i32 2, i32 4, i32 6, i32 8], [4 x i32] [i32 3, i32 5, i32 7, i32 9], [4 x i32] [i32 12, i32 10, i32 8, i32 6]], align 16
@.str = private unnamed_addr constant [26 x i8] c"Sum of all elements = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [3 x [4 x i32]], align 16
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.junk, i64 48, i1 false)
%3 = getelementptr inbounds [3 x [4 x i32]], ptr %2, i64 0, i64 0
%4 = call i32 @sum_rows(ptr noundef %3, i32 noundef 3)
%5 = getelementptr inbounds [3 x [4 x i32]], ptr %2, i64 0, i64 0
%6 = call i32 @sum_cols(ptr noundef %5, i32 noundef 3)
%7 = getelementptr inbounds [3 x [4 x i32]], ptr %2, i64 0, i64 0
%8 = call i32 @sum2d(ptr noundef %7, i32 noundef 3)
%9 = call i32 @printf(ptr noundef @.str, i32 noundef %8)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @sum_rows(ptr noundef, i32 noundef) #2
declare i32 @sum_cols(ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, i32 noundef) #2
declare i32 @sum2d(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpa3ssfkul.c'
source_filename = "/tmp/tmpa3ssfkul.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"/dev/random\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [34 x i8] c"Error opening [/dev/urandom]: %i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @getRand() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = load i32, ptr @O_RDONLY, align 4
%5 = call i32 @open(ptr noundef @.str, i32 noundef %4)
store i32 %5, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp eq i32 -1, %6
br i1 %7, label %8, label %13
8: ; preds = %0
%9 = load i32, ptr %2, align 4
store i32 %9, ptr %3, align 4
%10 = load i32, ptr %3, align 4
%11 = call i32 @printf(ptr noundef @.str.1, i32 noundef %10)
%12 = call i32 @exit(i32 noundef 1) #3
unreachable
13: ; preds = %0
%14 = load i32, ptr %2, align 4
%15 = call i32 @read(i32 noundef %14, ptr noundef %1, i32 noundef 4)
%16 = load i32, ptr %2, align 4
%17 = call i32 @close(i32 noundef %16)
%18 = load i32, ptr %1, align 4
ret i32 %18
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @read(i32 noundef, ptr noundef, i32 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" }
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/tmpa3ssfkul.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"/dev/random\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [34 x i8] c"Error opening [/dev/urandom]: %i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @getRand() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = load i32, ptr @O_RDONLY, align 4
%5 = call i32 @open(ptr noundef @.str, i32 noundef %4)
store i32 %5, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp eq i32 -1, %6
br i1 %7, label %8, label %13
8: ; preds = %0
%9 = load i32, ptr %2, align 4
store i32 %9, ptr %3, align 4
%10 = load i32, ptr %3, align 4
%11 = call i32 @printf(ptr noundef @.str.1, i32 noundef %10)
%12 = call i32 @exit(i32 noundef 1) #3
unreachable
13: ; preds = %0
%14 = load i32, ptr %2, align 4
%15 = call i32 @read(i32 noundef %14, ptr noundef %1, i32 noundef 4)
%16 = load i32, ptr %2, align 4
%17 = call i32 @close(i32 noundef %16)
%18 = load i32, ptr %1, align 4
ret i32 %18
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @read(i32 noundef, ptr noundef, i32 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" }
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"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.