llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
---|---|
; ModuleID = '/tmp/tmp0bae3u96.c'
source_filename = "/tmp/tmp0bae3u96.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Started\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"Couldn't fork\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [8 x i8] c"child: \00", align 1
@.str.3 = private unnamed_addr constant [15 x i8] c"Child exiting\0A\00", align 1
@.str.4 = private unnamed_addr constant [9 x i8] c"parent: \00", align 1
@.str.5 = private unnamed_addr constant [28 x i8] c"Press any key to terminate\0A\00", align 1
@.str.6 = private unnamed_addr constant [16 x i8] c"Parent exiting\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
store i32 0, ptr %1, align 4
%3 = call i32 @printf(ptr noundef @.str)
%4 = call i32 (...) @TELL_WAIT()
%5 = call i64 (...) @fork()
store i64 %5, ptr %2, align 8
%6 = load i64, ptr %2, align 8
%7 = icmp slt i64 %6, 0
br i1 %7, label %8, label %12
8: ; preds = %0
%9 = call i32 @perror(ptr noundef @.str.1)
%10 = load i32, ptr @EXIT_FAILURE, align 4
%11 = call i32 @exit(i32 noundef %10) #3
unreachable
12: ; preds = %0
%13 = load i64, ptr %2, align 8
%14 = icmp eq i64 %13, 0
br i1 %14, label %15, label %21
15: ; preds = %12
%16 = call i32 @write_msgs(ptr noundef @.str.2)
%17 = call i32 (...) @TELL_PARENT()
%18 = call i32 (...) @WAIT_PARENT()
%19 = call i32 @printf(ptr noundef @.str.3)
%20 = call i32 (...) @TELL_PARENT()
br label %29
21: ; preds = %12
%22 = call i32 (...) @WAIT_CHILD()
%23 = call i32 @write_msgs(ptr noundef @.str.4)
%24 = call i32 @printf(ptr noundef @.str.5)
%25 = call i32 (...) @getchar()
%26 = call i32 (...) @TELL_CHILD()
%27 = call i32 (...) @WAIT_CHILD()
%28 = call i32 @printf(ptr noundef @.str.6)
br label %29
29: ; preds = %21, %15
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @TELL_WAIT(...) #1
declare i64 @fork(...) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @write_msgs(ptr noundef) #1
declare i32 @TELL_PARENT(...) #1
declare i32 @WAIT_PARENT(...) #1
declare i32 @WAIT_CHILD(...) #1
declare i32 @getchar(...) #1
declare i32 @TELL_CHILD(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmp0bae3u96.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Started\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"Couldn't fork\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [8 x i8] c"child: \00", align 1
@.str.3 = private unnamed_addr constant [15 x i8] c"Child exiting\0A\00", align 1
@.str.4 = private unnamed_addr constant [9 x i8] c"parent: \00", align 1
@.str.5 = private unnamed_addr constant [28 x i8] c"Press any key to terminate\0A\00", align 1
@.str.6 = private unnamed_addr constant [16 x i8] c"Parent exiting\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
store i32 0, ptr %1, align 4
%3 = call i32 @printf(ptr noundef @.str)
%4 = call i32 (...) @TELL_WAIT()
%5 = call i64 (...) @fork()
store i64 %5, ptr %2, align 8
%6 = load i64, ptr %2, align 8
%7 = icmp slt i64 %6, 0
br i1 %7, label %8, label %12
8: ; preds = %0
%9 = call i32 @perror(ptr noundef @.str.1)
%10 = load i32, ptr @EXIT_FAILURE, align 4
%11 = call i32 @exit(i32 noundef %10) #3
unreachable
12: ; preds = %0
%13 = load i64, ptr %2, align 8
%14 = icmp eq i64 %13, 0
br i1 %14, label %15, label %21
15: ; preds = %12
%16 = call i32 @write_msgs(ptr noundef @.str.2)
%17 = call i32 (...) @TELL_PARENT()
%18 = call i32 (...) @WAIT_PARENT()
%19 = call i32 @printf(ptr noundef @.str.3)
%20 = call i32 (...) @TELL_PARENT()
br label %29
21: ; preds = %12
%22 = call i32 (...) @WAIT_CHILD()
%23 = call i32 @write_msgs(ptr noundef @.str.4)
%24 = call i32 @printf(ptr noundef @.str.5)
%25 = call i32 (...) @getchar()
%26 = call i32 (...) @TELL_CHILD()
%27 = call i32 (...) @WAIT_CHILD()
%28 = call i32 @printf(ptr noundef @.str.6)
br label %29
29: ; preds = %21, %15
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @TELL_WAIT(...) #1
declare i64 @fork(...) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @write_msgs(ptr noundef) #1
declare i32 @TELL_PARENT(...) #1
declare i32 @WAIT_PARENT(...) #1
declare i32 @WAIT_CHILD(...) #1
declare i32 @getchar(...) #1
declare i32 @TELL_CHILD(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpzb7d7upk.c'
source_filename = "/tmp/tmpzb7d7upk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Stack pointer (ESP):0x%x\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 (...) @get_sp()
%2 = call i32 @printf(ptr noundef @.str, i32 noundef %1)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @get_sp(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzb7d7upk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Stack pointer (ESP):0x%x\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 (...) @get_sp()
%2 = call i32 @printf(ptr noundef @.str, i32 noundef %1)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @get_sp(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpy8vwvjqr.c'
source_filename = "/tmp/tmpy8vwvjqr.c"
target datalayout = "e-m:e-p270: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.explicit_bzero2_clear_mypassword.passwd = private unnamed_addr constant [7 x i8] c"passwd\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @explicit_bzero2_clear_mypassword() #0 {
%1 = alloca [7 x i8], align 1
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %1, ptr align 1 @__const.explicit_bzero2_clear_mypassword.passwd, i64 7, i1 false)
%2 = getelementptr inbounds [7 x i8], ptr %1, i64 0, i64 0
%3 = call i32 @explicit_bzero(ptr noundef %2, i32 noundef 7)
%4 = getelementptr inbounds [7 x i8], ptr %1, i64 0, i64 0
%5 = call i64 @strlen(ptr noundef %4)
%6 = icmp eq i64 %5, 0
%7 = zext i1 %6 to i32
%8 = call i32 @clang_analyzer_eval(i32 noundef %7)
%9 = getelementptr inbounds [7 x i8], ptr %1, i64 0, i64 0
%10 = load i8, ptr %9, align 1
%11 = sext i8 %10 to i32
%12 = icmp eq i32 %11, 0
%13 = zext i1 %12 to i32
%14 = call i32 @clang_analyzer_eval(i32 noundef %13)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @explicit_bzero(ptr noundef, i32 noundef) #2
declare i32 @clang_analyzer_eval(i32 noundef) #2
declare i64 @strlen(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: 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/tmpy8vwvjqr.c"
target datalayout = "e-m:e-p270: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.explicit_bzero2_clear_mypassword.passwd = private unnamed_addr constant [7 x i8] c"passwd\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @explicit_bzero2_clear_mypassword() #0 {
%1 = alloca [7 x i8], align 1
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %1, ptr align 1 @__const.explicit_bzero2_clear_mypassword.passwd, i64 7, i1 false)
%2 = getelementptr inbounds [7 x i8], ptr %1, i64 0, i64 0
%3 = call i32 @explicit_bzero(ptr noundef %2, i32 noundef 7)
%4 = getelementptr inbounds [7 x i8], ptr %1, i64 0, i64 0
%5 = call i64 @strlen(ptr noundef %4)
%6 = icmp eq i64 %5, 0
%7 = zext i1 %6 to i32
%8 = call i32 @clang_analyzer_eval(i32 noundef %7)
%9 = getelementptr inbounds [7 x i8], ptr %1, i64 0, i64 0
%10 = load i8, ptr %9, align 1
%11 = sext i8 %10 to i32
%12 = icmp eq i32 %11, 0
%13 = zext i1 %12 to i32
%14 = call i32 @clang_analyzer_eval(i32 noundef %13)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @explicit_bzero(ptr noundef, i32 noundef) #2
declare i32 @clang_analyzer_eval(i32 noundef) #2
declare i64 @strlen(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: 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/tmpc1ygt0db.c'
source_filename = "/tmp/tmpc1ygt0db.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_RDWR = dso_local global i32 0, align 4
@O_CREAT = dso_local global i32 0, align 4
@S_IRUSR = dso_local global i32 0, align 4
@S_IWUSR = dso_local global i32 0, align 4
@SEEK_SET = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@PROT_WRITE = dso_local global i32 0, align 4
@MAP_SHARED = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = call i32 @time(ptr noundef null)
%9 = call i32 @srand(i32 noundef %8)
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds ptr, ptr %10, i64 1
%12 = load ptr, ptr %11, align 8
%13 = load i32, ptr @O_RDWR, align 4
%14 = load i32, ptr @O_CREAT, align 4
%15 = or i32 %13, %14
%16 = load i32, ptr @S_IRUSR, align 4
%17 = load i32, ptr @S_IWUSR, align 4
%18 = or i32 %16, %17
%19 = call i32 @open(ptr noundef %12, i32 noundef %15, i32 noundef %18)
store i32 %19, ptr %6, align 4
%20 = load i32, ptr %6, align 4
%21 = load i32, ptr @SEEK_SET, align 4
%22 = call i32 @lseek(i32 noundef %20, i32 noundef 257, i32 noundef %21)
%23 = load i32, ptr %6, align 4
%24 = call i32 @write(i32 noundef %23, ptr noundef @.str, i32 noundef 1)
%25 = load i32, ptr %6, align 4
%26 = load i32, ptr @SEEK_SET, align 4
%27 = call i32 @lseek(i32 noundef %25, i32 noundef 0, i32 noundef %26)
%28 = load i32, ptr @PROT_WRITE, align 4
%29 = load i32, ptr @MAP_SHARED, align 4
%30 = load i32, ptr %6, align 4
%31 = call ptr @mmap(i32 noundef 0, i32 noundef 256, i32 noundef %28, i32 noundef %29, i32 noundef %30, i32 noundef 0)
store ptr %31, ptr %7, align 8
%32 = load i32, ptr %6, align 4
%33 = call i32 @close(i32 noundef %32)
%34 = load ptr, ptr %7, align 8
%35 = call i32 @random_range(i32 noundef 0, i32 noundef 100)
%36 = call i32 @sprintf(ptr noundef %34, ptr noundef @.str.1, i32 noundef %35)
%37 = load ptr, ptr %7, align 8
%38 = call i32 @munmap(ptr noundef %37, i32 noundef 256)
ret i32 0
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @lseek(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare ptr @mmap(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @random_range(i32 noundef, i32 noundef) #1
declare i32 @munmap(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/tmpc1ygt0db.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_RDWR = dso_local global i32 0, align 4
@O_CREAT = dso_local global i32 0, align 4
@S_IRUSR = dso_local global i32 0, align 4
@S_IWUSR = dso_local global i32 0, align 4
@SEEK_SET = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@PROT_WRITE = dso_local global i32 0, align 4
@MAP_SHARED = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = call i32 @time(ptr noundef null)
%9 = call i32 @srand(i32 noundef %8)
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds ptr, ptr %10, i64 1
%12 = load ptr, ptr %11, align 8
%13 = load i32, ptr @O_RDWR, align 4
%14 = load i32, ptr @O_CREAT, align 4
%15 = or i32 %13, %14
%16 = load i32, ptr @S_IRUSR, align 4
%17 = load i32, ptr @S_IWUSR, align 4
%18 = or i32 %16, %17
%19 = call i32 @open(ptr noundef %12, i32 noundef %15, i32 noundef %18)
store i32 %19, ptr %6, align 4
%20 = load i32, ptr %6, align 4
%21 = load i32, ptr @SEEK_SET, align 4
%22 = call i32 @lseek(i32 noundef %20, i32 noundef 257, i32 noundef %21)
%23 = load i32, ptr %6, align 4
%24 = call i32 @write(i32 noundef %23, ptr noundef @.str, i32 noundef 1)
%25 = load i32, ptr %6, align 4
%26 = load i32, ptr @SEEK_SET, align 4
%27 = call i32 @lseek(i32 noundef %25, i32 noundef 0, i32 noundef %26)
%28 = load i32, ptr @PROT_WRITE, align 4
%29 = load i32, ptr @MAP_SHARED, align 4
%30 = load i32, ptr %6, align 4
%31 = call ptr @mmap(i32 noundef 0, i32 noundef 256, i32 noundef %28, i32 noundef %29, i32 noundef %30, i32 noundef 0)
store ptr %31, ptr %7, align 8
%32 = load i32, ptr %6, align 4
%33 = call i32 @close(i32 noundef %32)
%34 = load ptr, ptr %7, align 8
%35 = call i32 @random_range(i32 noundef 0, i32 noundef 100)
%36 = call i32 @sprintf(ptr noundef %34, ptr noundef @.str.1, i32 noundef %35)
%37 = load ptr, ptr %7, align 8
%38 = call i32 @munmap(ptr noundef %37, i32 noundef 256)
ret i32 0
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @lseek(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare ptr @mmap(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @random_range(i32 noundef, i32 noundef) #1
declare i32 @munmap(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/tmpsnxh62p_.c'
source_filename = "/tmp/tmpsnxh62p_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lp_init(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 @lp_reset(i32 noundef %3)
ret i32 0
}
declare i32 @lp_reset(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsnxh62p_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lp_init(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 @lp_reset(i32 noundef %3)
ret i32 0
}
declare i32 @lp_reset(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpijpqnd_g.c'
source_filename = "/tmp/tmpijpqnd_g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @DeleteArray(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 @FreeShare(ptr noundef %3)
ret void
}
declare i32 @FreeShare(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpijpqnd_g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @DeleteArray(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 @FreeShare(ptr noundef %3)
ret void
}
declare i32 @FreeShare(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpl187azuv.c'
source_filename = "/tmp/tmpl187azuv.c"
target datalayout = "e-m:e-p270: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/tmpl187azuv.c"
target datalayout = "e-m:e-p270: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/tmpqcmlryz_.c'
source_filename = "/tmp/tmpqcmlryz_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @binary_encodemap()
ret i32 0
}
declare i32 @binary_encodemap(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqcmlryz_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @binary_encodemap()
ret i32 0
}
declare i32 @binary_encodemap(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpj4dgchaz.c'
source_filename = "/tmp/tmpj4dgchaz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"hi!\0A\00", align 1
; 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 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj4dgchaz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"hi!\0A\00", align 1
; 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 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpi6veok74.c'
source_filename = "/tmp/tmpi6veok74.c"
target datalayout = "e-m:e-p270: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/tmpi6veok74.c"
target datalayout = "e-m:e-p270: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/tmpuklf0dhq.c'
source_filename = "/tmp/tmpuklf0dhq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_INET = dso_local global i32 0, align 4
@IPPROTO_UDP = dso_local global i32 0, align 4
@SOCK_DGRAM = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuklf0dhq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_INET = dso_local global i32 0, align 4
@IPPROTO_UDP = dso_local global i32 0, align 4
@SOCK_DGRAM = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphdmvaaif.c'
source_filename = "/tmp/tmphdmvaaif.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @tx_printkeyhelp(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
store i32 %4, ptr %10, align 4
%11 = load ptr, ptr %8, align 8
%12 = load i32, ptr %9, align 4
%13 = call i32 @wattrset(ptr noundef %11, i32 noundef %12)
%14 = load ptr, ptr %8, align 8
%15 = load ptr, ptr %6, align 8
%16 = call i32 @wprintw(ptr noundef %14, ptr noundef @.str, ptr noundef %15)
%17 = load ptr, ptr %8, align 8
%18 = load i32, ptr %10, align 4
%19 = call i32 @wattrset(ptr noundef %17, i32 noundef %18)
%20 = load ptr, ptr %8, align 8
%21 = load ptr, ptr %7, align 8
%22 = call i32 @wprintw(ptr noundef %20, ptr noundef @.str, ptr noundef %21)
ret void
}
declare i32 @wattrset(ptr noundef, i32 noundef) #1
declare i32 @wprintw(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/tmphdmvaaif.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @tx_printkeyhelp(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
store i32 %4, ptr %10, align 4
%11 = load ptr, ptr %8, align 8
%12 = load i32, ptr %9, align 4
%13 = call i32 @wattrset(ptr noundef %11, i32 noundef %12)
%14 = load ptr, ptr %8, align 8
%15 = load ptr, ptr %6, align 8
%16 = call i32 @wprintw(ptr noundef %14, ptr noundef @.str, ptr noundef %15)
%17 = load ptr, ptr %8, align 8
%18 = load i32, ptr %10, align 4
%19 = call i32 @wattrset(ptr noundef %17, i32 noundef %18)
%20 = load ptr, ptr %8, align 8
%21 = load ptr, ptr %7, align 8
%22 = call i32 @wprintw(ptr noundef %20, ptr noundef @.str, ptr noundef %21)
ret void
}
declare i32 @wattrset(ptr noundef, i32 noundef) #1
declare i32 @wprintw(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/tmpnqa03lkv.c'
source_filename = "/tmp/tmpnqa03lkv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @park_init() #0 {
%1 = call i32 @RCT2_CALLPROC_EBPSAFE(i32 noundef 6713650)
ret void
}
declare i32 @RCT2_CALLPROC_EBPSAFE(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnqa03lkv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @park_init() #0 {
%1 = call i32 @RCT2_CALLPROC_EBPSAFE(i32 noundef 6713650)
ret void
}
declare i32 @RCT2_CALLPROC_EBPSAFE(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2pm2l34n.c'
source_filename = "/tmp/tmp2pm2l34n.c"
target datalayout = "e-m:e-p270: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/tmp2pm2l34n.c"
target datalayout = "e-m:e-p270: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/tmpg8fsyv5o.c'
source_filename = "/tmp/tmpg8fsyv5o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 65, ptr %2, align 4
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %7, %0
%5 = load i32, ptr %2, align 4
%6 = icmp sgt i32 %5, 0
br i1 %6, label %7, label %14
7: ; preds = %4
%8 = load i32, ptr %2, align 4
%9 = load i32, ptr %2, align 4
%10 = sub nsw i32 %9, 1
%11 = and i32 %8, %10
store i32 %11, ptr %2, align 4
%12 = load i32, ptr %3, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %3, align 4
br label %4, !llvm.loop !6
14: ; preds = %4
%15 = load i32, ptr %3, align 4
%16 = call i32 @printf(ptr noundef @.str, i32 noundef %15)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpg8fsyv5o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 65, ptr %2, align 4
store i32 0, ptr %3, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp sgt i32 %4, 0
br i1 %5, label %.lr.ph, label %15
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %6
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %2, align 4
%9 = sub nsw i32 %8, 1
%10 = and i32 %7, %9
store i32 %10, ptr %2, align 4
%11 = load i32, ptr %3, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %3, align 4
%13 = load i32, ptr %2, align 4
%14 = icmp sgt i32 %13, 0
br i1 %14, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %6
br label %15
15: ; preds = %._crit_edge, %0
%16 = load i32, ptr %3, align 4
%17 = call i32 @printf(ptr noundef @.str, i32 noundef %16)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpz5dpnq7e.c'
source_filename = "/tmp/tmpz5dpnq7e.c"
target datalayout = "e-m:e-p270: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/tmpz5dpnq7e.c"
target datalayout = "e-m:e-p270: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/tmpaa3n2pzi.c'
source_filename = "/tmp/tmpaa3n2pzi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d %s %d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"add\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"sub\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"mul\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"div\00", align 1
@.str.5 = private unnamed_addr constant [7 x i8] c"error\0A\00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"mod\00", align 1
@.str.7 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca [3 x i8], align 1
store i32 0, ptr %1, align 4
store i32 0, ptr %5, align 4
%7 = getelementptr inbounds [3 x i8], ptr %6, i64 0, i64 0
%8 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %7, ptr noundef %3)
%9 = getelementptr inbounds [3 x i8], ptr %6, i64 0, i64 0
%10 = call i64 @strcmp(ptr noundef %9, ptr noundef @.str.1)
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %16
12: ; preds = %0
%13 = load i32, ptr %2, align 4
%14 = load i32, ptr %3, align 4
%15 = add nsw i32 %13, %14
store i32 %15, ptr %4, align 4
br label %66
16: ; preds = %0
%17 = getelementptr inbounds [3 x i8], ptr %6, i64 0, i64 0
%18 = call i64 @strcmp(ptr noundef %17, ptr noundef @.str.2)
%19 = icmp eq i64 %18, 0
br i1 %19, label %20, label %24
20: ; preds = %16
%21 = load i32, ptr %2, align 4
%22 = load i32, ptr %3, align 4
%23 = sub nsw i32 %21, %22
store i32 %23, ptr %4, align 4
br label %65
24: ; preds = %16
%25 = getelementptr inbounds [3 x i8], ptr %6, i64 0, i64 0
%26 = call i64 @strcmp(ptr noundef %25, ptr noundef @.str.3)
%27 = icmp eq i64 %26, 0
br i1 %27, label %28, label %32
28: ; preds = %24
%29 = load i32, ptr %2, align 4
%30 = load i32, ptr %3, align 4
%31 = mul nsw i32 %29, %30
store i32 %31, ptr %4, align 4
br label %64
32: ; preds = %24
%33 = getelementptr inbounds [3 x i8], ptr %6, i64 0, i64 0
%34 = call i64 @strcmp(ptr noundef %33, ptr noundef @.str.4)
%35 = icmp eq i64 %34, 0
br i1 %35, label %36, label %46
36: ; preds = %32
%37 = load i32, ptr %3, align 4
%38 = icmp ne i32 %37, 0
br i1 %38, label %39, label %43
39: ; preds = %36
%40 = load i32, ptr %2, align 4
%41 = load i32, ptr %3, align 4
%42 = sdiv i32 %40, %41
store i32 %42, ptr %4, align 4
br label %45
43: ; preds = %36
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
store i32 1, ptr %5, align 4
br label %45
45: ; preds = %43, %39
br label %63
46: ; preds = %32
%47 = getelementptr inbounds [3 x i8], ptr %6, i64 0, i64 0
%48 = call i64 @strcmp(ptr noundef %47, ptr noundef @.str.6)
%49 = icmp eq i64 %48, 0
br i1 %49, label %50, label %60
50: ; preds = %46
%51 = load i32, ptr %3, align 4
%52 = icmp ne i32 %51, 0
br i1 %52, label %53, label %57
53: ; preds = %50
%54 = load i32, ptr %2, align 4
%55 = load i32, ptr %3, align 4
%56 = srem i32 %54, %55
store i32 %56, ptr %4, align 4
br label %59
57: ; preds = %50
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
store i32 1, ptr %5, align 4
br label %59
59: ; preds = %57, %53
br label %62
60: ; preds = %46
%61 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
store i32 1, ptr %5, align 4
br label %62
62: ; preds = %60, %59
br label %63
63: ; preds = %62, %45
br label %64
64: ; preds = %63, %28
br label %65
65: ; preds = %64, %20
br label %66
66: ; preds = %65, %12
%67 = load i32, ptr %5, align 4
%68 = icmp ne i32 %67, 1
br i1 %68, label %69, label %72
69: ; preds = %66
%70 = load i32, ptr %4, align 4
%71 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %70)
br label %72
72: ; preds = %69, %66
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @strcmp(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpaa3n2pzi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d %s %d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"add\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"sub\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"mul\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"div\00", align 1
@.str.5 = private unnamed_addr constant [7 x i8] c"error\0A\00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"mod\00", align 1
@.str.7 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca [3 x i8], align 1
store i32 0, ptr %1, align 4
store i32 0, ptr %5, align 4
%7 = getelementptr inbounds [3 x i8], ptr %6, i64 0, i64 0
%8 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %7, ptr noundef %3)
%9 = getelementptr inbounds [3 x i8], ptr %6, i64 0, i64 0
%10 = call i64 @strcmp(ptr noundef %9, ptr noundef @.str.1)
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %16
12: ; preds = %0
%13 = load i32, ptr %2, align 4
%14 = load i32, ptr %3, align 4
%15 = add nsw i32 %13, %14
store i32 %15, ptr %4, align 4
br label %66
16: ; preds = %0
%17 = getelementptr inbounds [3 x i8], ptr %6, i64 0, i64 0
%18 = call i64 @strcmp(ptr noundef %17, ptr noundef @.str.2)
%19 = icmp eq i64 %18, 0
br i1 %19, label %20, label %24
20: ; preds = %16
%21 = load i32, ptr %2, align 4
%22 = load i32, ptr %3, align 4
%23 = sub nsw i32 %21, %22
store i32 %23, ptr %4, align 4
br label %65
24: ; preds = %16
%25 = getelementptr inbounds [3 x i8], ptr %6, i64 0, i64 0
%26 = call i64 @strcmp(ptr noundef %25, ptr noundef @.str.3)
%27 = icmp eq i64 %26, 0
br i1 %27, label %28, label %32
28: ; preds = %24
%29 = load i32, ptr %2, align 4
%30 = load i32, ptr %3, align 4
%31 = mul nsw i32 %29, %30
store i32 %31, ptr %4, align 4
br label %64
32: ; preds = %24
%33 = getelementptr inbounds [3 x i8], ptr %6, i64 0, i64 0
%34 = call i64 @strcmp(ptr noundef %33, ptr noundef @.str.4)
%35 = icmp eq i64 %34, 0
br i1 %35, label %36, label %46
36: ; preds = %32
%37 = load i32, ptr %3, align 4
%38 = icmp ne i32 %37, 0
br i1 %38, label %39, label %43
39: ; preds = %36
%40 = load i32, ptr %2, align 4
%41 = load i32, ptr %3, align 4
%42 = sdiv i32 %40, %41
store i32 %42, ptr %4, align 4
br label %45
43: ; preds = %36
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
store i32 1, ptr %5, align 4
br label %45
45: ; preds = %43, %39
br label %63
46: ; preds = %32
%47 = getelementptr inbounds [3 x i8], ptr %6, i64 0, i64 0
%48 = call i64 @strcmp(ptr noundef %47, ptr noundef @.str.6)
%49 = icmp eq i64 %48, 0
br i1 %49, label %50, label %60
50: ; preds = %46
%51 = load i32, ptr %3, align 4
%52 = icmp ne i32 %51, 0
br i1 %52, label %53, label %57
53: ; preds = %50
%54 = load i32, ptr %2, align 4
%55 = load i32, ptr %3, align 4
%56 = srem i32 %54, %55
store i32 %56, ptr %4, align 4
br label %59
57: ; preds = %50
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
store i32 1, ptr %5, align 4
br label %59
59: ; preds = %57, %53
br label %62
60: ; preds = %46
%61 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
store i32 1, ptr %5, align 4
br label %62
62: ; preds = %60, %59
br label %63
63: ; preds = %62, %45
br label %64
64: ; preds = %63, %28
br label %65
65: ; preds = %64, %20
br label %66
66: ; preds = %65, %12
%67 = load i32, ptr %5, align 4
%68 = icmp ne i32 %67, 1
br i1 %68, label %69, label %72
69: ; preds = %66
%70 = load i32, ptr %4, align 4
%71 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %70)
br label %72
72: ; preds = %69, %66
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @strcmp(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"}
|
; ModuleID = '/tmp/tmp0jnl0iqz.c'
source_filename = "/tmp/tmp0jnl0iqz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"PASS\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [100 x i32], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
br label %5
5: ; preds = %13, %0
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 %6, 100
br i1 %7, label %8, label %16
8: ; preds = %5
%9 = load i32, ptr %3, align 4
%10 = load i32, ptr %3, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %11
store i32 %9, ptr %12, align 4
br label %13
13: ; preds = %8
%14 = load i32, ptr %3, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %3, align 4
br label %5, !llvm.loop !6
16: ; preds = %5
store i32 0, ptr %3, align 4
br label %17
17: ; preds = %29, %16
%18 = load i32, ptr %3, align 4
%19 = icmp slt i32 %18, 100
br i1 %19, label %20, label %32
20: ; preds = %17
%21 = load i32, ptr %3, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %22
%24 = load i32, ptr %23, align 4
%25 = load i32, ptr %3, align 4
%26 = icmp ne i32 %24, %25
br i1 %26, label %27, label %28
27: ; preds = %20
store i32 1, ptr %1, align 4
br label %187
28: ; preds = %20
br label %29
29: ; preds = %28
%30 = load i32, ptr %3, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %3, align 4
br label %17, !llvm.loop !8
32: ; preds = %17
store i32 0, ptr %3, align 4
br label %33
33: ; preds = %42, %32
%34 = load i32, ptr %3, align 4
%35 = icmp slt i32 %34, 100
br i1 %35, label %36, label %45
36: ; preds = %33
%37 = load i32, ptr %3, align 4
%38 = add nsw i32 %37, 1
%39 = load i32, ptr %3, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %40
store i32 %38, ptr %41, align 4
br label %42
42: ; preds = %36
%43 = load i32, ptr %3, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %3, align 4
br label %33, !llvm.loop !9
45: ; preds = %33
store i32 0, ptr %3, align 4
br label %46
46: ; preds = %58, %45
%47 = load i32, ptr %3, align 4
%48 = icmp slt i32 %47, 100
br i1 %48, label %49, label %61
49: ; preds = %46
%50 = load i32, ptr %3, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %51
%53 = load i32, ptr %52, align 4
%54 = load i32, ptr %3, align 4
%55 = icmp ne i32 %53, %54
br i1 %55, label %56, label %57
56: ; preds = %49
store i32 2, ptr %1, align 4
br label %187
57: ; preds = %49
br label %58
58: ; preds = %57
%59 = load i32, ptr %3, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %3, align 4
br label %46, !llvm.loop !10
61: ; preds = %46
store i32 0, ptr %3, align 4
br label %62
62: ; preds = %71, %61
%63 = load i32, ptr %3, align 4
%64 = icmp slt i32 %63, 100
br i1 %64, label %65, label %74
65: ; preds = %62
%66 = load i32, ptr %3, align 4
%67 = add nsw i32 %66, 2
%68 = load i32, ptr %3, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %69
store i32 %67, ptr %70, align 4
br label %71
71: ; preds = %65
%72 = load i32, ptr %3, align 4
%73 = add nsw i32 %72, 1
store i32 %73, ptr %3, align 4
br label %62, !llvm.loop !11
74: ; preds = %62
store i32 0, ptr %3, align 4
br label %75
75: ; preds = %88, %74
%76 = load i32, ptr %3, align 4
%77 = icmp slt i32 %76, 100
br i1 %77, label %78, label %91
78: ; preds = %75
%79 = load i32, ptr %3, align 4
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %80
%82 = load i32, ptr %81, align 4
%83 = load i32, ptr %3, align 4
%84 = add nsw i32 %83, 2
%85 = icmp ne i32 %82, %84
br i1 %85, label %86, label %87
86: ; preds = %78
store i32 3, ptr %1, align 4
br label %187
87: ; preds = %78
br label %88
88: ; preds = %87
%89 = load i32, ptr %3, align 4
%90 = add nsw i32 %89, 1
store i32 %90, ptr %3, align 4
br label %75, !llvm.loop !12
91: ; preds = %75
store i32 0, ptr %3, align 4
br label %92
92: ; preds = %101, %91
%93 = load i32, ptr %3, align 4
%94 = icmp slt i32 %93, 100
br i1 %94, label %95, label %104
95: ; preds = %92
%96 = load i32, ptr %3, align 4
%97 = add nsw i32 %96, 3
%98 = load i32, ptr %3, align 4
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %99
store i32 %97, ptr %100, align 4
br label %101
101: ; preds = %95
%102 = load i32, ptr %3, align 4
%103 = add nsw i32 %102, 1
store i32 %103, ptr %3, align 4
br label %92, !llvm.loop !13
104: ; preds = %92
store i32 0, ptr %3, align 4
br label %105
105: ; preds = %118, %104
%106 = load i32, ptr %3, align 4
%107 = icmp slt i32 %106, 100
br i1 %107, label %108, label %121
108: ; preds = %105
%109 = load i32, ptr %3, align 4
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %110
%112 = load i32, ptr %111, align 4
%113 = load i32, ptr %3, align 4
%114 = add nsw i32 %113, 2
%115 = icmp ne i32 %112, %114
br i1 %115, label %116, label %117
116: ; preds = %108
store i32 4, ptr %1, align 4
br label %187
117: ; preds = %108
br label %118
118: ; preds = %117
%119 = load i32, ptr %3, align 4
%120 = add nsw i32 %119, 1
store i32 %120, ptr %3, align 4
br label %105, !llvm.loop !14
121: ; preds = %105
store i32 0, ptr %3, align 4
br label %122
122: ; preds = %129, %121
%123 = load i32, ptr %3, align 4
%124 = icmp slt i32 %123, 100
br i1 %124, label %125, label %132
125: ; preds = %122
%126 = load i32, ptr %3, align 4
%127 = sext i32 %126 to i64
%128 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %127
store i32 0, ptr %128, align 4
br label %129
129: ; preds = %125
%130 = load i32, ptr %3, align 4
%131 = add nsw i32 %130, 1
store i32 %131, ptr %3, align 4
br label %122, !llvm.loop !15
132: ; preds = %122
%133 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 0
%134 = call i32 @test_func(ptr noundef %133, i32 noundef 0)
store i32 %134, ptr %4, align 4
%135 = load i32, ptr %4, align 4
%136 = icmp ne i32 %135, 0
br i1 %136, label %137, label %138
137: ; preds = %132
store i32 5, ptr %1, align 4
br label %187
138: ; preds = %132
store i32 0, ptr %3, align 4
br label %139
139: ; preds = %146, %138
%140 = load i32, ptr %3, align 4
%141 = icmp slt i32 %140, 100
br i1 %141, label %142, label %149
142: ; preds = %139
%143 = load i32, ptr %3, align 4
%144 = sext i32 %143 to i64
%145 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %144
store i32 0, ptr %145, align 4
br label %146
146: ; preds = %142
%147 = load i32, ptr %3, align 4
%148 = add nsw i32 %147, 1
store i32 %148, ptr %3, align 4
br label %139, !llvm.loop !16
149: ; preds = %139
%150 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 0
%151 = call i32 @test_func(ptr noundef %150, i32 noundef 1)
store i32 %151, ptr %4, align 4
%152 = load i32, ptr %4, align 4
%153 = icmp ne i32 %152, 0
br i1 %153, label %154, label %155
154: ; preds = %149
store i32 6, ptr %1, align 4
br label %187
155: ; preds = %149
store i32 0, ptr %3, align 4
br label %156
156: ; preds = %163, %155
%157 = load i32, ptr %3, align 4
%158 = icmp slt i32 %157, 100
br i1 %158, label %159, label %166
159: ; preds = %156
%160 = load i32, ptr %3, align 4
%161 = sext i32 %160 to i64
%162 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %161
store i32 0, ptr %162, align 4
br label %163
163: ; preds = %159
%164 = load i32, ptr %3, align 4
%165 = add nsw i32 %164, 1
store i32 %165, ptr %3, align 4
br label %156, !llvm.loop !17
166: ; preds = %156
%167 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 0
%168 = call i32 @test_func2(ptr noundef %167)
store i32 0, ptr %3, align 4
br label %169
169: ; preds = %182, %166
%170 = load i32, ptr %3, align 4
%171 = icmp slt i32 %170, 100
br i1 %171, label %172, label %185
172: ; preds = %169
%173 = load i32, ptr %3, align 4
%174 = sext i32 %173 to i64
%175 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %174
%176 = load i32, ptr %175, align 4
%177 = load i32, ptr %3, align 4
%178 = mul nsw i32 %177, 3
%179 = icmp ne i32 %176, %178
br i1 %179, label %180, label %181
180: ; preds = %172
store i32 7, ptr %1, align 4
br label %187
181: ; preds = %172
br label %182
182: ; preds = %181
%183 = load i32, ptr %3, align 4
%184 = add nsw i32 %183, 1
store i32 %184, ptr %3, align 4
br label %169, !llvm.loop !18
185: ; preds = %169
%186 = call i32 @printf(ptr noundef @.str)
store i32 0, ptr %1, align 4
br label %187
187: ; preds = %185, %180, %154, %137, %116, %86, %56, %27
%188 = load i32, ptr %1, align 4
ret i32 %188
}
declare i32 @test_func(ptr noundef, i32 noundef) #1
declare i32 @test_func2(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
!17 = distinct !{!17, !7}
!18 = distinct !{!18, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0jnl0iqz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"PASS\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [100 x i32], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 100
br i1 %6, label %.lr.ph, label %17
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %12
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %3, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %10
store i32 %8, ptr %11, align 4
br label %12
12: ; preds = %7
%13 = load i32, ptr %3, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %3, align 4
%15 = load i32, ptr %3, align 4
%16 = icmp slt i32 %15, 100
br i1 %16, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %12
br label %17
17: ; preds = %._crit_edge, %0
store i32 0, ptr %3, align 4
%18 = load i32, ptr %3, align 4
%19 = icmp slt i32 %18, 100
br i1 %19, label %.lr.ph2, label %34
.lr.ph2: ; preds = %17
br label %20
20: ; preds = %.lr.ph2, %29
%21 = load i32, ptr %3, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %22
%24 = load i32, ptr %23, align 4
%25 = load i32, ptr %3, align 4
%26 = icmp ne i32 %24, %25
br i1 %26, label %27, label %28
27: ; preds = %20
store i32 1, ptr %1, align 4
br label %199
28: ; preds = %20
br label %29
29: ; preds = %28
%30 = load i32, ptr %3, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %3, align 4
%32 = load i32, ptr %3, align 4
%33 = icmp slt i32 %32, 100
br i1 %33, label %20, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %29
br label %34
34: ; preds = %._crit_edge3, %17
store i32 0, ptr %3, align 4
%35 = load i32, ptr %3, align 4
%36 = icmp slt i32 %35, 100
br i1 %36, label %.lr.ph5, label %48
.lr.ph5: ; preds = %34
br label %37
37: ; preds = %.lr.ph5, %43
%38 = load i32, ptr %3, align 4
%39 = add nsw i32 %38, 1
%40 = load i32, ptr %3, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %41
store i32 %39, ptr %42, align 4
br label %43
43: ; preds = %37
%44 = load i32, ptr %3, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %3, align 4
%46 = load i32, ptr %3, align 4
%47 = icmp slt i32 %46, 100
br i1 %47, label %37, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %43
br label %48
48: ; preds = %._crit_edge6, %34
store i32 0, ptr %3, align 4
%49 = load i32, ptr %3, align 4
%50 = icmp slt i32 %49, 100
br i1 %50, label %.lr.ph8, label %65
.lr.ph8: ; preds = %48
br label %51
51: ; preds = %.lr.ph8, %60
%52 = load i32, ptr %3, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %53
%55 = load i32, ptr %54, align 4
%56 = load i32, ptr %3, align 4
%57 = icmp ne i32 %55, %56
br i1 %57, label %58, label %59
58: ; preds = %51
store i32 2, ptr %1, align 4
br label %199
59: ; preds = %51
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
%63 = load i32, ptr %3, align 4
%64 = icmp slt i32 %63, 100
br i1 %64, label %51, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %60
br label %65
65: ; preds = %._crit_edge9, %48
store i32 0, ptr %3, align 4
%66 = load i32, ptr %3, align 4
%67 = icmp slt i32 %66, 100
br i1 %67, label %.lr.ph11, label %79
.lr.ph11: ; preds = %65
br label %68
68: ; preds = %.lr.ph11, %74
%69 = load i32, ptr %3, align 4
%70 = add nsw i32 %69, 2
%71 = load i32, ptr %3, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %72
store i32 %70, ptr %73, align 4
br label %74
74: ; preds = %68
%75 = load i32, ptr %3, align 4
%76 = add nsw i32 %75, 1
store i32 %76, ptr %3, align 4
%77 = load i32, ptr %3, align 4
%78 = icmp slt i32 %77, 100
br i1 %78, label %68, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %74
br label %79
79: ; preds = %._crit_edge12, %65
store i32 0, ptr %3, align 4
%80 = load i32, ptr %3, align 4
%81 = icmp slt i32 %80, 100
br i1 %81, label %.lr.ph14, label %97
.lr.ph14: ; preds = %79
br label %82
82: ; preds = %.lr.ph14, %92
%83 = load i32, ptr %3, align 4
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %84
%86 = load i32, ptr %85, align 4
%87 = load i32, ptr %3, align 4
%88 = add nsw i32 %87, 2
%89 = icmp ne i32 %86, %88
br i1 %89, label %90, label %91
90: ; preds = %82
store i32 3, ptr %1, align 4
br label %199
91: ; preds = %82
br label %92
92: ; preds = %91
%93 = load i32, ptr %3, align 4
%94 = add nsw i32 %93, 1
store i32 %94, ptr %3, align 4
%95 = load i32, ptr %3, align 4
%96 = icmp slt i32 %95, 100
br i1 %96, label %82, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %92
br label %97
97: ; preds = %._crit_edge15, %79
store i32 0, ptr %3, align 4
%98 = load i32, ptr %3, align 4
%99 = icmp slt i32 %98, 100
br i1 %99, label %.lr.ph17, label %111
.lr.ph17: ; preds = %97
br label %100
100: ; preds = %.lr.ph17, %106
%101 = load i32, ptr %3, align 4
%102 = add nsw i32 %101, 3
%103 = load i32, ptr %3, align 4
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %104
store i32 %102, ptr %105, align 4
br label %106
106: ; preds = %100
%107 = load i32, ptr %3, align 4
%108 = add nsw i32 %107, 1
store i32 %108, ptr %3, align 4
%109 = load i32, ptr %3, align 4
%110 = icmp slt i32 %109, 100
br i1 %110, label %100, label %._crit_edge18, !llvm.loop !13
._crit_edge18: ; preds = %106
br label %111
111: ; preds = %._crit_edge18, %97
store i32 0, ptr %3, align 4
%112 = load i32, ptr %3, align 4
%113 = icmp slt i32 %112, 100
br i1 %113, label %.lr.ph20, label %129
.lr.ph20: ; preds = %111
br label %114
114: ; preds = %.lr.ph20, %124
%115 = load i32, ptr %3, align 4
%116 = sext i32 %115 to i64
%117 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %116
%118 = load i32, ptr %117, align 4
%119 = load i32, ptr %3, align 4
%120 = add nsw i32 %119, 2
%121 = icmp ne i32 %118, %120
br i1 %121, label %122, label %123
122: ; preds = %114
store i32 4, ptr %1, align 4
br label %199
123: ; preds = %114
br label %124
124: ; preds = %123
%125 = load i32, ptr %3, align 4
%126 = add nsw i32 %125, 1
store i32 %126, ptr %3, align 4
%127 = load i32, ptr %3, align 4
%128 = icmp slt i32 %127, 100
br i1 %128, label %114, label %._crit_edge21, !llvm.loop !14
._crit_edge21: ; preds = %124
br label %129
129: ; preds = %._crit_edge21, %111
store i32 0, ptr %3, align 4
%130 = load i32, ptr %3, align 4
%131 = icmp slt i32 %130, 100
br i1 %131, label %.lr.ph23, label %141
.lr.ph23: ; preds = %129
br label %132
132: ; preds = %.lr.ph23, %136
%133 = load i32, ptr %3, align 4
%134 = sext i32 %133 to i64
%135 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %134
store i32 0, ptr %135, align 4
br label %136
136: ; preds = %132
%137 = load i32, ptr %3, align 4
%138 = add nsw i32 %137, 1
store i32 %138, ptr %3, align 4
%139 = load i32, ptr %3, align 4
%140 = icmp slt i32 %139, 100
br i1 %140, label %132, label %._crit_edge24, !llvm.loop !15
._crit_edge24: ; preds = %136
br label %141
141: ; preds = %._crit_edge24, %129
%142 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 0
%143 = call i32 @test_func(ptr noundef %142, i32 noundef 0)
store i32 %143, ptr %4, align 4
%144 = load i32, ptr %4, align 4
%145 = icmp ne i32 %144, 0
br i1 %145, label %146, label %147
146: ; preds = %141
store i32 5, ptr %1, align 4
br label %199
147: ; preds = %141
store i32 0, ptr %3, align 4
%148 = load i32, ptr %3, align 4
%149 = icmp slt i32 %148, 100
br i1 %149, label %.lr.ph26, label %159
.lr.ph26: ; preds = %147
br label %150
150: ; preds = %.lr.ph26, %154
%151 = load i32, ptr %3, align 4
%152 = sext i32 %151 to i64
%153 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %152
store i32 0, ptr %153, align 4
br label %154
154: ; preds = %150
%155 = load i32, ptr %3, align 4
%156 = add nsw i32 %155, 1
store i32 %156, ptr %3, align 4
%157 = load i32, ptr %3, align 4
%158 = icmp slt i32 %157, 100
br i1 %158, label %150, label %._crit_edge27, !llvm.loop !16
._crit_edge27: ; preds = %154
br label %159
159: ; preds = %._crit_edge27, %147
%160 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 0
%161 = call i32 @test_func(ptr noundef %160, i32 noundef 1)
store i32 %161, ptr %4, align 4
%162 = load i32, ptr %4, align 4
%163 = icmp ne i32 %162, 0
br i1 %163, label %164, label %165
164: ; preds = %159
store i32 6, ptr %1, align 4
br label %199
165: ; preds = %159
store i32 0, ptr %3, align 4
%166 = load i32, ptr %3, align 4
%167 = icmp slt i32 %166, 100
br i1 %167, label %.lr.ph29, label %177
.lr.ph29: ; preds = %165
br label %168
168: ; preds = %.lr.ph29, %172
%169 = load i32, ptr %3, align 4
%170 = sext i32 %169 to i64
%171 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %170
store i32 0, ptr %171, align 4
br label %172
172: ; preds = %168
%173 = load i32, ptr %3, align 4
%174 = add nsw i32 %173, 1
store i32 %174, ptr %3, align 4
%175 = load i32, ptr %3, align 4
%176 = icmp slt i32 %175, 100
br i1 %176, label %168, label %._crit_edge30, !llvm.loop !17
._crit_edge30: ; preds = %172
br label %177
177: ; preds = %._crit_edge30, %165
%178 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 0
%179 = call i32 @test_func2(ptr noundef %178)
store i32 0, ptr %3, align 4
%180 = load i32, ptr %3, align 4
%181 = icmp slt i32 %180, 100
br i1 %181, label %.lr.ph32, label %197
.lr.ph32: ; preds = %177
br label %182
182: ; preds = %.lr.ph32, %192
%183 = load i32, ptr %3, align 4
%184 = sext i32 %183 to i64
%185 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %184
%186 = load i32, ptr %185, align 4
%187 = load i32, ptr %3, align 4
%188 = mul nsw i32 %187, 3
%189 = icmp ne i32 %186, %188
br i1 %189, label %190, label %191
190: ; preds = %182
store i32 7, ptr %1, align 4
br label %199
191: ; preds = %182
br label %192
192: ; preds = %191
%193 = load i32, ptr %3, align 4
%194 = add nsw i32 %193, 1
store i32 %194, ptr %3, align 4
%195 = load i32, ptr %3, align 4
%196 = icmp slt i32 %195, 100
br i1 %196, label %182, label %._crit_edge33, !llvm.loop !18
._crit_edge33: ; preds = %192
br label %197
197: ; preds = %._crit_edge33, %177
%198 = call i32 @printf(ptr noundef @.str)
store i32 0, ptr %1, align 4
br label %199
199: ; preds = %197, %190, %164, %146, %122, %90, %58, %27
%200 = load i32, ptr %1, align 4
ret i32 %200
}
declare i32 @test_func(ptr noundef, i32 noundef) #1
declare i32 @test_func2(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
!17 = distinct !{!17, !7}
!18 = distinct !{!18, !7}
|
; ModuleID = '/tmp/tmp86u8j0no.c'
source_filename = "/tmp/tmp86u8j0no.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"/tmp/%s-XXXXXX\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @memfd_create(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca [256 x i8], align 16
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%6 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%7 = load ptr, ptr %3, align 8
%8 = call i32 @snprintf(ptr noundef %6, i32 noundef 256, ptr noundef @.str, ptr noundef %7)
%9 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%10 = call i32 @mkstemp(ptr noundef %9)
store i32 %10, ptr %5, align 4
%11 = load i32, ptr %5, align 4
%12 = icmp eq i32 %11, -1
br i1 %12, label %13, label %14
13: ; preds = %1
store i32 -1, ptr %2, align 4
br label %23
14: ; preds = %1
%15 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%16 = call i32 @unlink(ptr noundef %15)
%17 = icmp sgt i32 %16, -1
br i1 %17, label %18, label %20
18: ; preds = %14
%19 = load i32, ptr %5, align 4
br label %21
20: ; preds = %14
br label %21
21: ; preds = %20, %18
%22 = phi i32 [ %19, %18 ], [ -1, %20 ]
store i32 %22, ptr %2, align 4
br label %23
23: ; preds = %21, %13
%24 = load i32, ptr %2, align 4
ret i32 %24
}
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @mkstemp(ptr 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/tmp86u8j0no.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"/tmp/%s-XXXXXX\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @memfd_create(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca [256 x i8], align 16
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%6 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%7 = load ptr, ptr %3, align 8
%8 = call i32 @snprintf(ptr noundef %6, i32 noundef 256, ptr noundef @.str, ptr noundef %7)
%9 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%10 = call i32 @mkstemp(ptr noundef %9)
store i32 %10, ptr %5, align 4
%11 = load i32, ptr %5, align 4
%12 = icmp eq i32 %11, -1
br i1 %12, label %13, label %14
13: ; preds = %1
store i32 -1, ptr %2, align 4
br label %23
14: ; preds = %1
%15 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%16 = call i32 @unlink(ptr noundef %15)
%17 = icmp sgt i32 %16, -1
br i1 %17, label %18, label %20
18: ; preds = %14
%19 = load i32, ptr %5, align 4
br label %21
20: ; preds = %14
br label %21
21: ; preds = %20, %18
%22 = phi i32 [ %19, %18 ], [ -1, %20 ]
store i32 %22, ptr %2, align 4
br label %23
23: ; preds = %21, %13
%24 = load i32, ptr %2, align 4
ret i32 %24
}
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @mkstemp(ptr 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/tmptwcy_sam.c'
source_filename = "/tmp/tmptwcy_sam.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @astol(ptr noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i64 0, ptr %4, align 8
store i32 1, ptr %6, align 4
%8 = load ptr, ptr %3, align 8
%9 = load ptr, ptr %8, align 8
store ptr %9, ptr %7, align 8
br label %10
10: ; preds = %24, %1
%11 = load ptr, ptr %7, align 8
%12 = load i8, ptr %11, align 1
%13 = call i64 @isspace(i8 noundef signext %12)
%14 = icmp ne i64 %13, 0
br i1 %14, label %15, label %25
15: ; preds = %10
%16 = load ptr, ptr %7, align 8
%17 = getelementptr inbounds i8, ptr %16, i32 1
store ptr %17, ptr %7, align 8
%18 = load i8, ptr %16, align 1
%19 = sext i8 %18 to i32
%20 = icmp eq i32 %19, 0
br i1 %20, label %21, label %24
21: ; preds = %15
%22 = load ptr, ptr %7, align 8
%23 = load ptr, ptr %3, align 8
store ptr %22, ptr %23, align 8
store i64 0, ptr %2, align 8
br label %83
24: ; preds = %15
br label %10, !llvm.loop !6
25: ; preds = %10
%26 = load ptr, ptr %7, align 8
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp eq i32 %28, 45
br i1 %29, label %30, label %33
30: ; preds = %25
%31 = load ptr, ptr %7, align 8
%32 = getelementptr inbounds i8, ptr %31, i32 1
store ptr %32, ptr %7, align 8
store i32 -1, ptr %6, align 4
br label %42
33: ; preds = %25
%34 = load ptr, ptr %7, align 8
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = icmp eq i32 %36, 43
br i1 %37, label %38, label %41
38: ; preds = %33
%39 = load ptr, ptr %7, align 8
%40 = getelementptr inbounds i8, ptr %39, i32 1
store ptr %40, ptr %7, align 8
br label %41
41: ; preds = %38, %33
br label %42
42: ; preds = %41, %30
br label %43
43: ; preds = %73, %42
%44 = load ptr, ptr %7, align 8
%45 = load i8, ptr %44, align 1
%46 = sext i8 %45 to i32
store i32 %46, ptr %5, align 4
%47 = icmp ne i32 %46, 0
br i1 %47, label %48, label %76
48: ; preds = %43
%49 = load i32, ptr %5, align 4
%50 = call i32 @isdigit(i32 noundef %49) #3
%51 = icmp ne i32 %50, 0
br i1 %51, label %52, label %65
52: ; preds = %48
%53 = load i64, ptr %4, align 8
%54 = icmp sgt i64 %53, 214748364
br i1 %54, label %65, label %55
55: ; preds = %52
%56 = load i64, ptr %4, align 8
%57 = icmp eq i64 %56, 214748364
br i1 %57, label %58, label %66
58: ; preds = %55
%59 = load i32, ptr %5, align 4
%60 = load i32, ptr %6, align 4
%61 = icmp sgt i32 %60, 0
%62 = zext i1 %61 to i64
%63 = select i1 %61, i32 55, i32 56
%64 = icmp sgt i32 %59, %63
br i1 %64, label %65, label %66
65: ; preds = %58, %52, %48
br label %76
66: ; preds = %58, %55
%67 = load i64, ptr %4, align 8
%68 = mul nsw i64 %67, 10
%69 = load i32, ptr %5, align 4
%70 = sext i32 %69 to i64
%71 = add nsw i64 %68, %70
%72 = sub nsw i64 %71, 48
store i64 %72, ptr %4, align 8
br label %73
73: ; preds = %66
%74 = load ptr, ptr %7, align 8
%75 = getelementptr inbounds i8, ptr %74, i32 1
store ptr %75, ptr %7, align 8
br label %43, !llvm.loop !8
76: ; preds = %65, %43
%77 = load ptr, ptr %7, align 8
%78 = load ptr, ptr %3, align 8
store ptr %77, ptr %78, align 8
%79 = load i64, ptr %4, align 8
%80 = load i32, ptr %6, align 4
%81 = sext i32 %80 to i64
%82 = mul nsw i64 %79, %81
store i64 %82, ptr %2, align 8
br label %83
83: ; preds = %76, %21
%84 = load i64, ptr %2, align 8
ret i64 %84
}
declare i64 @isspace(i8 noundef signext) #1
; Function Attrs: nounwind willreturn memory(read)
declare i32 @isdigit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind willreturn memory(read) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptwcy_sam.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @astol(ptr noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i64 0, ptr %4, align 8
store i32 1, ptr %6, align 4
%8 = load ptr, ptr %3, align 8
%9 = load ptr, ptr %8, align 8
store ptr %9, ptr %7, align 8
%10 = load ptr, ptr %7, align 8
%11 = load i8, ptr %10, align 1
%12 = call i64 @isspace(i8 noundef signext %11)
%13 = icmp ne i64 %12, 0
br i1 %13, label %.lr.ph, label %28
.lr.ph: ; preds = %1
br label %19
14: ; preds = %19
%15 = load ptr, ptr %7, align 8
%16 = load i8, ptr %15, align 1
%17 = call i64 @isspace(i8 noundef signext %16)
%18 = icmp ne i64 %17, 0
br i1 %18, label %19, label %._crit_edge, !llvm.loop !6
19: ; preds = %.lr.ph, %14
%20 = load ptr, ptr %7, align 8
%21 = getelementptr inbounds i8, ptr %20, i32 1
store ptr %21, ptr %7, align 8
%22 = load i8, ptr %20, align 1
%23 = sext i8 %22 to i32
%24 = icmp eq i32 %23, 0
br i1 %24, label %25, label %14
25: ; preds = %19
%26 = load ptr, ptr %7, align 8
%27 = load ptr, ptr %3, align 8
store ptr %26, ptr %27, align 8
store i64 0, ptr %2, align 8
br label %89
._crit_edge: ; preds = %14
br label %28
28: ; preds = %._crit_edge, %1
%29 = load ptr, ptr %7, align 8
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp eq i32 %31, 45
br i1 %32, label %33, label %36
33: ; preds = %28
%34 = load ptr, ptr %7, align 8
%35 = getelementptr inbounds i8, ptr %34, i32 1
store ptr %35, ptr %7, align 8
store i32 -1, ptr %6, align 4
br label %45
36: ; preds = %28
%37 = load ptr, ptr %7, align 8
%38 = load i8, ptr %37, align 1
%39 = sext i8 %38 to i32
%40 = icmp eq i32 %39, 43
br i1 %40, label %41, label %44
41: ; preds = %36
%42 = load ptr, ptr %7, align 8
%43 = getelementptr inbounds i8, ptr %42, i32 1
store ptr %43, ptr %7, align 8
br label %44
44: ; preds = %41, %36
br label %45
45: ; preds = %44, %33
%46 = load ptr, ptr %7, align 8
%47 = load i8, ptr %46, align 1
%48 = sext i8 %47 to i32
store i32 %48, ptr %5, align 4
%49 = icmp ne i32 %48, 0
br i1 %49, label %.lr.ph2, label %.loopexit
.lr.ph2: ; preds = %45
br label %50
50: ; preds = %.lr.ph2, %75
%51 = load i32, ptr %5, align 4
%52 = call i32 @isdigit(i32 noundef %51) #3
%53 = icmp ne i32 %52, 0
br i1 %53, label %54, label %67
54: ; preds = %50
%55 = load i64, ptr %4, align 8
%56 = icmp sgt i64 %55, 214748364
br i1 %56, label %67, label %57
57: ; preds = %54
%58 = load i64, ptr %4, align 8
%59 = icmp eq i64 %58, 214748364
br i1 %59, label %60, label %68
60: ; preds = %57
%61 = load i32, ptr %5, align 4
%62 = load i32, ptr %6, align 4
%63 = icmp sgt i32 %62, 0
%64 = zext i1 %63 to i64
%65 = select i1 %63, i32 55, i32 56
%66 = icmp sgt i32 %61, %65
br i1 %66, label %67, label %68
67: ; preds = %60, %54, %50
br label %82
68: ; preds = %60, %57
%69 = load i64, ptr %4, align 8
%70 = mul nsw i64 %69, 10
%71 = load i32, ptr %5, align 4
%72 = sext i32 %71 to i64
%73 = add nsw i64 %70, %72
%74 = sub nsw i64 %73, 48
store i64 %74, ptr %4, align 8
br label %75
75: ; preds = %68
%76 = load ptr, ptr %7, align 8
%77 = getelementptr inbounds i8, ptr %76, i32 1
store ptr %77, ptr %7, align 8
%78 = load ptr, ptr %7, align 8
%79 = load i8, ptr %78, align 1
%80 = sext i8 %79 to i32
store i32 %80, ptr %5, align 4
%81 = icmp ne i32 %80, 0
br i1 %81, label %50, label %..loopexit_crit_edge, !llvm.loop !8
..loopexit_crit_edge: ; preds = %75
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %45
br label %82
82: ; preds = %.loopexit, %67
%83 = load ptr, ptr %7, align 8
%84 = load ptr, ptr %3, align 8
store ptr %83, ptr %84, align 8
%85 = load i64, ptr %4, align 8
%86 = load i32, ptr %6, align 4
%87 = sext i32 %86 to i64
%88 = mul nsw i64 %85, %87
store i64 %88, ptr %2, align 8
br label %89
89: ; preds = %82, %25
%90 = load i64, ptr %2, align 8
ret i64 %90
}
declare i64 @isspace(i8 noundef signext) #1
; Function Attrs: nounwind willreturn memory(read)
declare i32 @isdigit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind willreturn memory(read) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp4i2_42s4.c'
source_filename = "/tmp/tmp4i2_42s4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EISDIR = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4i2_42s4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EISDIR = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5lgbkh7n.c'
source_filename = "/tmp/tmp5lgbkh7n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"0\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"January\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"February\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"March\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"April\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"May\00", align 1
@.str.6 = private unnamed_addr constant [5 x i8] c"June\00", align 1
@.str.7 = private unnamed_addr constant [5 x i8] c"July\00", align 1
@.str.8 = private unnamed_addr constant [7 x i8] c"August\00", align 1
@.str.9 = private unnamed_addr constant [10 x i8] c"September\00", align 1
@.str.10 = private unnamed_addr constant [8 x i8] c"October\00", align 1
@.str.11 = private unnamed_addr constant [9 x i8] c"November\00", align 1
@.str.12 = private unnamed_addr constant [9 x i8] c"December\00", align 1
@__const.main.monthss = private unnamed_addr constant [13 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5, ptr @.str.6, ptr @.str.7, ptr @.str.8, ptr @.str.9, ptr @.str.10, ptr @.str.11, ptr @.str.12], align 16
@.str.13 = private unnamed_addr constant [62 x i8] c"Calculation of day of the year based on: year, month and day\0A\00", align 1
@.str.14 = private unnamed_addr constant [13 x i8] c"Enter year:\0A\00", align 1
@.str.15 = private unnamed_addr constant [14 x i8] c"Enter month:\0A\00", align 1
@.str.16 = private unnamed_addr constant [12 x i8] c"Enter day:\0A\00", align 1
@.str.17 = private unnamed_addr constant [72 x i8] c"For the day %d of the month %s of the year %d, Day of the year is %d \0A\0A\00", align 1
@.str.18 = private unnamed_addr constant [65 x i8] c"Calculation of day and month based on: day of the year and year\0A\00", align 1
@.str.19 = private unnamed_addr constant [24 x i8] c"Enter day of the year:\0A\00", align 1
@.str.20 = private unnamed_addr constant [72 x i8] c"For the year: %d and day of the year:%d the month and the day is: %d %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [13 x ptr], 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
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.monthss, i64 104, i1 false)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.14)
%10 = call i32 (...) @getnumber()
store i32 %10, ptr %5, align 4
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.15)
%12 = call i32 (...) @getnumber()
store i32 %12, ptr %6, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.16)
%14 = call i32 (...) @getnumber()
store i32 %14, ptr %7, align 4
%15 = load i32, ptr %7, align 4
%16 = load i32, ptr %6, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [13 x ptr], ptr %2, i64 0, i64 %17
%19 = load ptr, ptr %18, align 8
%20 = load i32, ptr %5, align 4
%21 = load i32, ptr %5, align 4
%22 = load i32, ptr %6, align 4
%23 = load i32, ptr %7, align 4
%24 = call i32 @day_of_year(i32 noundef %21, i32 noundef %22, i32 noundef %23)
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.17, i32 noundef %15, ptr noundef %19, i32 noundef %20, i32 noundef %24)
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.18)
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.14)
%28 = call i32 (...) @getnumber()
store i32 %28, ptr %5, align 4
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.19)
%30 = call i32 (...) @getnumber()
store i32 %30, ptr %7, align 4
%31 = load i32, ptr %5, align 4
%32 = load i32, ptr %7, align 4
%33 = call i32 @month_day(i32 noundef %31, i32 noundef %32, ptr noundef %3, ptr noundef %4)
%34 = load i32, ptr %5, align 4
%35 = load i32, ptr %7, align 4
%36 = load i32, ptr %4, align 4
%37 = load i32, ptr %3, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds [13 x ptr], ptr %2, i64 0, i64 %38
%40 = load ptr, ptr %39, align 8
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.20, i32 noundef %34, i32 noundef %35, i32 noundef %36, ptr noundef %40)
%42 = call i32 (...) @getchar()
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ...) #2
declare i32 @getnumber(...) #2
declare i32 @day_of_year(i32 noundef, i32 noundef, i32 noundef) #2
declare i32 @month_day(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #2
declare i32 @getchar(...) #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/tmp5lgbkh7n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"0\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"January\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"February\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"March\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"April\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"May\00", align 1
@.str.6 = private unnamed_addr constant [5 x i8] c"June\00", align 1
@.str.7 = private unnamed_addr constant [5 x i8] c"July\00", align 1
@.str.8 = private unnamed_addr constant [7 x i8] c"August\00", align 1
@.str.9 = private unnamed_addr constant [10 x i8] c"September\00", align 1
@.str.10 = private unnamed_addr constant [8 x i8] c"October\00", align 1
@.str.11 = private unnamed_addr constant [9 x i8] c"November\00", align 1
@.str.12 = private unnamed_addr constant [9 x i8] c"December\00", align 1
@__const.main.monthss = private unnamed_addr constant [13 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5, ptr @.str.6, ptr @.str.7, ptr @.str.8, ptr @.str.9, ptr @.str.10, ptr @.str.11, ptr @.str.12], align 16
@.str.13 = private unnamed_addr constant [62 x i8] c"Calculation of day of the year based on: year, month and day\0A\00", align 1
@.str.14 = private unnamed_addr constant [13 x i8] c"Enter year:\0A\00", align 1
@.str.15 = private unnamed_addr constant [14 x i8] c"Enter month:\0A\00", align 1
@.str.16 = private unnamed_addr constant [12 x i8] c"Enter day:\0A\00", align 1
@.str.17 = private unnamed_addr constant [72 x i8] c"For the day %d of the month %s of the year %d, Day of the year is %d \0A\0A\00", align 1
@.str.18 = private unnamed_addr constant [65 x i8] c"Calculation of day and month based on: day of the year and year\0A\00", align 1
@.str.19 = private unnamed_addr constant [24 x i8] c"Enter day of the year:\0A\00", align 1
@.str.20 = private unnamed_addr constant [72 x i8] c"For the year: %d and day of the year:%d the month and the day is: %d %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [13 x ptr], 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
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.monthss, i64 104, i1 false)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.14)
%10 = call i32 (...) @getnumber()
store i32 %10, ptr %5, align 4
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.15)
%12 = call i32 (...) @getnumber()
store i32 %12, ptr %6, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.16)
%14 = call i32 (...) @getnumber()
store i32 %14, ptr %7, align 4
%15 = load i32, ptr %7, align 4
%16 = load i32, ptr %6, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [13 x ptr], ptr %2, i64 0, i64 %17
%19 = load ptr, ptr %18, align 8
%20 = load i32, ptr %5, align 4
%21 = load i32, ptr %5, align 4
%22 = load i32, ptr %6, align 4
%23 = load i32, ptr %7, align 4
%24 = call i32 @day_of_year(i32 noundef %21, i32 noundef %22, i32 noundef %23)
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.17, i32 noundef %15, ptr noundef %19, i32 noundef %20, i32 noundef %24)
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.18)
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.14)
%28 = call i32 (...) @getnumber()
store i32 %28, ptr %5, align 4
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.19)
%30 = call i32 (...) @getnumber()
store i32 %30, ptr %7, align 4
%31 = load i32, ptr %5, align 4
%32 = load i32, ptr %7, align 4
%33 = call i32 @month_day(i32 noundef %31, i32 noundef %32, ptr noundef %3, ptr noundef %4)
%34 = load i32, ptr %5, align 4
%35 = load i32, ptr %7, align 4
%36 = load i32, ptr %4, align 4
%37 = load i32, ptr %3, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds [13 x ptr], ptr %2, i64 0, i64 %38
%40 = load ptr, ptr %39, align 8
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.20, i32 noundef %34, i32 noundef %35, i32 noundef %36, ptr noundef %40)
%42 = call i32 (...) @getchar()
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ...) #2
declare i32 @getnumber(...) #2
declare i32 @day_of_year(i32 noundef, i32 noundef, i32 noundef) #2
declare i32 @month_day(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #2
declare i32 @getchar(...) #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/tmps0dz85b7.c'
source_filename = "/tmp/tmps0dz85b7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"Hello World! \00", align 1
; 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 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmps0dz85b7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"Hello World! \00", align 1
; 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 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpibluz3tg.c'
source_filename = "/tmp/tmpibluz3tg.c"
target datalayout = "e-m:e-p270: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/tmpibluz3tg.c"
target datalayout = "e-m:e-p270: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/tmpcqvrq3qv.c'
source_filename = "/tmp/tmpcqvrq3qv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"Usage: ./client <port>\00", align 1
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [15 x i8] c"socket() error\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"127.0.0.1\00", align 1
@.str.4 = private unnamed_addr constant [16 x i8] c"connect() error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca %struct.sockaddr_in, align 4
%7 = alloca [1024 x i8], align 16
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %10, 2
br i1 %11, label %12, label %15
12: ; preds = %2
%13 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1)
%14 = call i32 @exit(i32 noundef 1) #3
unreachable
15: ; preds = %2
%16 = load i32, ptr @AF_INET, align 4
%17 = load i32, ptr @SOCK_STREAM, align 4
%18 = call i32 @socket(i32 noundef %16, i32 noundef %17, i32 noundef 0)
store i32 %18, ptr %8, align 4
%19 = load i32, ptr %8, align 4
%20 = icmp eq i32 %19, -1
br i1 %20, label %21, label %24
21: ; preds = %15
%22 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.2)
%23 = call i32 @exit(i32 noundef 1) #3
unreachable
24: ; preds = %15
%25 = call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 12)
%26 = load i32, ptr @AF_INET, align 4
%27 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 2
store i32 %26, ptr %27, align 4
%28 = call i32 @inet_addr(ptr noundef @.str.3)
%29 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 1
%30 = getelementptr inbounds %struct.TYPE_2__, ptr %29, i32 0, i32 0
store i32 %28, ptr %30, align 4
%31 = load ptr, ptr %5, align 8
%32 = getelementptr inbounds ptr, ptr %31, i64 1
%33 = load ptr, ptr %32, align 8
%34 = call i64 @atoi(ptr noundef %33)
%35 = trunc i64 %34 to i32
%36 = call i32 @htons(i32 noundef %35)
%37 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 0
store i32 %36, ptr %37, align 4
%38 = load i32, ptr %8, align 4
%39 = call i64 @connect(i32 noundef %38, ptr noundef %6, i32 noundef 12)
%40 = icmp slt i64 %39, 0
br i1 %40, label %41, label %44
41: ; preds = %24
%42 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.4)
%43 = call i32 @exit(i32 noundef 1) #3
unreachable
44: ; preds = %24
br label %45
45: ; preds = %44, %53, %65
%46 = call i32 @FD_ZERO(ptr noundef %9)
%47 = load i32, ptr %8, align 4
%48 = call i32 @FD_SET(i32 noundef %47, ptr noundef %9)
%49 = load i32, ptr %8, align 4
%50 = add nsw i32 %49, 1
%51 = call i64 @select(i32 noundef %50, ptr noundef %9, ptr noundef null, ptr noundef null, ptr noundef null)
%52 = icmp slt i64 %51, 0
br i1 %52, label %53, label %55
53: ; preds = %45
%54 = call i32 @sleep(double noundef 2.000000e-01)
br label %45
55: ; preds = %45
%56 = load i32, ptr %8, align 4
%57 = call i64 @FD_ISSET(i32 noundef %56, ptr noundef %9)
%58 = icmp ne i64 %57, 0
br i1 %58, label %59, label %65
59: ; preds = %55
%60 = load i32, ptr %8, align 4
%61 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%62 = call i32 @read(i32 noundef %60, ptr noundef %61, i32 noundef 1024)
%63 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%64 = call i32 @printf(ptr noundef @.str, ptr noundef %63)
br label %65
65: ; preds = %59, %55
br label %45
}
declare i32 @printf(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @inet_addr(ptr noundef) #1
declare i32 @htons(i32 noundef) #1
declare i64 @atoi(ptr noundef) #1
declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @FD_ZERO(ptr noundef) #1
declare i32 @FD_SET(i32 noundef, ptr noundef) #1
declare i64 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @sleep(double noundef) #1
declare i64 @FD_ISSET(i32 noundef, ptr noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcqvrq3qv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"Usage: ./client <port>\00", align 1
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [15 x i8] c"socket() error\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"127.0.0.1\00", align 1
@.str.4 = private unnamed_addr constant [16 x i8] c"connect() error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca %struct.sockaddr_in, align 4
%7 = alloca [1024 x i8], align 16
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %10, 2
br i1 %11, label %12, label %15
12: ; preds = %2
%13 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1)
%14 = call i32 @exit(i32 noundef 1) #3
unreachable
15: ; preds = %2
%16 = load i32, ptr @AF_INET, align 4
%17 = load i32, ptr @SOCK_STREAM, align 4
%18 = call i32 @socket(i32 noundef %16, i32 noundef %17, i32 noundef 0)
store i32 %18, ptr %8, align 4
%19 = load i32, ptr %8, align 4
%20 = icmp eq i32 %19, -1
br i1 %20, label %21, label %24
21: ; preds = %15
%22 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.2)
%23 = call i32 @exit(i32 noundef 1) #3
unreachable
24: ; preds = %15
%25 = call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 12)
%26 = load i32, ptr @AF_INET, align 4
%27 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 2
store i32 %26, ptr %27, align 4
%28 = call i32 @inet_addr(ptr noundef @.str.3)
%29 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 1
%30 = getelementptr inbounds %struct.TYPE_2__, ptr %29, i32 0, i32 0
store i32 %28, ptr %30, align 4
%31 = load ptr, ptr %5, align 8
%32 = getelementptr inbounds ptr, ptr %31, i64 1
%33 = load ptr, ptr %32, align 8
%34 = call i64 @atoi(ptr noundef %33)
%35 = trunc i64 %34 to i32
%36 = call i32 @htons(i32 noundef %35)
%37 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 0
store i32 %36, ptr %37, align 4
%38 = load i32, ptr %8, align 4
%39 = call i64 @connect(i32 noundef %38, ptr noundef %6, i32 noundef 12)
%40 = icmp slt i64 %39, 0
br i1 %40, label %41, label %44
41: ; preds = %24
%42 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.4)
%43 = call i32 @exit(i32 noundef 1) #3
unreachable
44: ; preds = %24
br label %45
45: ; preds = %.backedge, %44
%46 = call i32 @FD_ZERO(ptr noundef %9)
%47 = load i32, ptr %8, align 4
%48 = call i32 @FD_SET(i32 noundef %47, ptr noundef %9)
%49 = load i32, ptr %8, align 4
%50 = add nsw i32 %49, 1
%51 = call i64 @select(i32 noundef %50, ptr noundef %9, ptr noundef null, ptr noundef null, ptr noundef null)
%52 = icmp slt i64 %51, 0
br i1 %52, label %53, label %55
53: ; preds = %45
%54 = call i32 @sleep(double noundef 2.000000e-01)
br label %.backedge
.backedge: ; preds = %53, %65
br label %45
55: ; preds = %45
%56 = load i32, ptr %8, align 4
%57 = call i64 @FD_ISSET(i32 noundef %56, ptr noundef %9)
%58 = icmp ne i64 %57, 0
br i1 %58, label %59, label %65
59: ; preds = %55
%60 = load i32, ptr %8, align 4
%61 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%62 = call i32 @read(i32 noundef %60, ptr noundef %61, i32 noundef 1024)
%63 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%64 = call i32 @printf(ptr noundef @.str, ptr noundef %63)
br label %65
65: ; preds = %59, %55
br label %.backedge
}
declare i32 @printf(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @inet_addr(ptr noundef) #1
declare i32 @htons(i32 noundef) #1
declare i64 @atoi(ptr noundef) #1
declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @FD_ZERO(ptr noundef) #1
declare i32 @FD_SET(i32 noundef, ptr noundef) #1
declare i64 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @sleep(double noundef) #1
declare i64 @FD_ISSET(i32 noundef, ptr noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphg4t8wcx.c'
source_filename = "/tmp/tmphg4t8wcx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Mfilwt(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %9, 3
br i1 %10, label %11, label %13
11: ; preds = %2
%12 = call i32 @eset(i32 noundef 21)
store i32 -1, ptr %3, align 4
br label %31
13: ; preds = %2
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds i32, ptr %14, i64 0
%16 = load i32, ptr %15, align 4
%17 = sext i32 %16 to i64
%18 = inttoptr i64 %17 to ptr
store ptr %18, ptr %6, align 8
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds i32, ptr %19, i64 1
%21 = load i32, ptr %20, align 4
%22 = sext i32 %21 to i64
%23 = inttoptr i64 %22 to ptr
store ptr %23, ptr %7, align 8
%24 = load ptr, ptr %5, align 8
%25 = getelementptr inbounds i32, ptr %24, i64 2
%26 = load i32, ptr %25, align 4
store i32 %26, ptr %8, align 4
%27 = load ptr, ptr %6, align 8
%28 = load ptr, ptr %7, align 8
%29 = load i32, ptr %8, align 4
%30 = call i32 @fileWrite(ptr noundef %27, ptr noundef %28, i32 noundef %29)
store i32 %30, ptr %3, align 4
br label %31
31: ; preds = %13, %11
%32 = load i32, ptr %3, align 4
ret i32 %32
}
declare i32 @eset(i32 noundef) #1
declare i32 @fileWrite(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphg4t8wcx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Mfilwt(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %9, 3
br i1 %10, label %11, label %13
11: ; preds = %2
%12 = call i32 @eset(i32 noundef 21)
store i32 -1, ptr %3, align 4
br label %31
13: ; preds = %2
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds i32, ptr %14, i64 0
%16 = load i32, ptr %15, align 4
%17 = sext i32 %16 to i64
%18 = inttoptr i64 %17 to ptr
store ptr %18, ptr %6, align 8
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds i32, ptr %19, i64 1
%21 = load i32, ptr %20, align 4
%22 = sext i32 %21 to i64
%23 = inttoptr i64 %22 to ptr
store ptr %23, ptr %7, align 8
%24 = load ptr, ptr %5, align 8
%25 = getelementptr inbounds i32, ptr %24, i64 2
%26 = load i32, ptr %25, align 4
store i32 %26, ptr %8, align 4
%27 = load ptr, ptr %6, align 8
%28 = load ptr, ptr %7, align 8
%29 = load i32, ptr %8, align 4
%30 = call i32 @fileWrite(ptr noundef %27, ptr noundef %28, i32 noundef %29)
store i32 %30, ptr %3, align 4
br label %31
31: ; preds = %13, %11
%32 = load i32, ptr %3, align 4
ret i32 %32
}
declare i32 @eset(i32 noundef) #1
declare i32 @fileWrite(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpz5714gos.c'
source_filename = "/tmp/tmpz5714gos.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"got '%s' expected '%s'\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @is_str(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 = call i64 @strcmp(ptr noundef %7, ptr noundef %8)
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %14
11: ; preds = %3
%12 = load ptr, ptr %6, align 8
%13 = call i32 @ok(i32 noundef 1, ptr noundef %12)
br label %20
14: ; preds = %3
%15 = load ptr, ptr %6, align 8
%16 = call i32 @ok(i32 noundef 0, ptr noundef %15)
%17 = load ptr, ptr %4, align 8
%18 = load ptr, ptr %5, align 8
%19 = call i32 @diag(ptr noundef @.str, ptr noundef %17, ptr noundef %18)
br label %20
20: ; preds = %14, %11
ret void
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @ok(i32 noundef, ptr noundef) #1
declare i32 @diag(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/tmpz5714gos.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"got '%s' expected '%s'\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @is_str(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 = call i64 @strcmp(ptr noundef %7, ptr noundef %8)
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %14
11: ; preds = %3
%12 = load ptr, ptr %6, align 8
%13 = call i32 @ok(i32 noundef 1, ptr noundef %12)
br label %20
14: ; preds = %3
%15 = load ptr, ptr %6, align 8
%16 = call i32 @ok(i32 noundef 0, ptr noundef %15)
%17 = load ptr, ptr %4, align 8
%18 = load ptr, ptr %5, align 8
%19 = call i32 @diag(ptr noundef @.str, ptr noundef %17, ptr noundef %18)
br label %20
20: ; preds = %14, %11
ret void
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @ok(i32 noundef, ptr noundef) #1
declare i32 @diag(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/tmp5hd49tr7.c'
source_filename = "/tmp/tmp5hd49tr7.c"
target datalayout = "e-m:e-p270: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/tmp5hd49tr7.c"
target datalayout = "e-m:e-p270: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/tmpphgk148y.c'
source_filename = "/tmp/tmpphgk148y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca [5 x i32], align 16
%8 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 42, ptr %6, align 4
store i32 42, ptr %8, align 4
%9 = getelementptr inbounds [5 x i32], ptr %7, i64 0, i64 0
%10 = call i32 @fct(ptr noundef %9)
%11 = load i32, ptr %6, align 4
%12 = icmp ne i32 %11, 42
br i1 %12, label %16, label %13
13: ; preds = %2
%14 = load i32, ptr %8, align 4
%15 = icmp ne i32 %14, 42
br label %16
16: ; preds = %13, %2
%17 = phi i1 [ true, %2 ], [ %15, %13 ]
%18 = zext i1 %17 to i32
ret i32 %18
}
declare i32 @fct(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpphgk148y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca [5 x i32], align 16
%8 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 42, ptr %6, align 4
store i32 42, ptr %8, align 4
%9 = getelementptr inbounds [5 x i32], ptr %7, i64 0, i64 0
%10 = call i32 @fct(ptr noundef %9)
%11 = load i32, ptr %6, align 4
%12 = icmp ne i32 %11, 42
br i1 %12, label %16, label %13
13: ; preds = %2
%14 = load i32, ptr %8, align 4
%15 = icmp ne i32 %14, 42
br label %16
16: ; preds = %13, %2
%17 = phi i1 [ true, %2 ], [ %15, %13 ]
%18 = zext i1 %17 to i32
ret i32 %18
}
declare i32 @fct(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmporozyut7.c'
source_filename = "/tmp/tmporozyut7.c"
target datalayout = "e-m:e-p270: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/tmporozyut7.c"
target datalayout = "e-m:e-p270: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/tmp92k6h2k7.c'
source_filename = "/tmp/tmp92k6h2k7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [41 x i8] c"x = %c, PID = %d, TID = %d, PTHID = %lu\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @start_routine(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %5, align 4
store i32 %6, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = call i32 (...) @getpid()
%9 = call i32 (...) @gettid()
%10 = call i32 (...) @pthread_self()
%11 = call i32 @printf(ptr noundef @.str, i32 noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef %10)
%12 = call i32 @sleep(i32 noundef 5)
%13 = call i32 @pthread_exit(ptr noundef null)
%14 = load ptr, ptr %2, align 8
ret ptr %14
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @getpid(...) #1
declare i32 @gettid(...) #1
declare i32 @pthread_self(...) #1
declare i32 @sleep(i32 noundef) #1
declare i32 @pthread_exit(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp92k6h2k7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [41 x i8] c"x = %c, PID = %d, TID = %d, PTHID = %lu\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @start_routine(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %5, align 4
store i32 %6, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = call i32 (...) @getpid()
%9 = call i32 (...) @gettid()
%10 = call i32 (...) @pthread_self()
%11 = call i32 @printf(ptr noundef @.str, i32 noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef %10)
%12 = call i32 @sleep(i32 noundef 5)
%13 = call i32 @pthread_exit(ptr noundef null)
%14 = load ptr, ptr %2, align 8
ret ptr %14
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @getpid(...) #1
declare i32 @gettid(...) #1
declare i32 @pthread_self(...) #1
declare i32 @sleep(i32 noundef) #1
declare i32 @pthread_exit(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpduea6b9s.c'
source_filename = "/tmp/tmpduea6b9s.c"
target datalayout = "e-m:e-p270: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/tmpduea6b9s.c"
target datalayout = "e-m:e-p270: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/tmp7b1w9s0l.c'
source_filename = "/tmp/tmp7b1w9s0l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sort(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%10 = load i32, ptr %7, align 4
%11 = load i32, ptr %8, align 4
%12 = load i32, ptr %7, align 4
%13 = sub nsw i32 %11, %12
%14 = sdiv i32 %13, 2
%15 = add nsw i32 %10, %14
store i32 %15, ptr %9, align 4
%16 = load i32, ptr %7, align 4
%17 = load i32, ptr %8, align 4
%18 = icmp sge i32 %16, %17
br i1 %18, label %19, label %20
19: ; preds = %4
br label %36
20: ; preds = %4
%21 = load ptr, ptr %5, align 8
%22 = load ptr, ptr %6, align 8
%23 = load i32, ptr %7, align 4
%24 = load i32, ptr %9, align 4
call void @sort(ptr noundef %21, ptr noundef %22, i32 noundef %23, i32 noundef %24)
%25 = load ptr, ptr %5, align 8
%26 = load ptr, ptr %6, align 8
%27 = load i32, ptr %9, align 4
%28 = add nsw i32 %27, 1
%29 = load i32, ptr %8, align 4
call void @sort(ptr noundef %25, ptr noundef %26, i32 noundef %28, i32 noundef %29)
%30 = load ptr, ptr %5, align 8
%31 = load ptr, ptr %6, align 8
%32 = load i32, ptr %7, align 4
%33 = load i32, ptr %9, align 4
%34 = load i32, ptr %8, align 4
%35 = call i32 @merge_array(ptr noundef %30, ptr noundef %31, i32 noundef %32, i32 noundef %33, i32 noundef %34)
br label %36
36: ; preds = %20, %19
ret void
}
declare i32 @merge_array(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7b1w9s0l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sort(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%10 = load i32, ptr %7, align 4
%11 = load i32, ptr %8, align 4
%12 = load i32, ptr %7, align 4
%13 = sub nsw i32 %11, %12
%14 = sdiv i32 %13, 2
%15 = add nsw i32 %10, %14
store i32 %15, ptr %9, align 4
%16 = load i32, ptr %7, align 4
%17 = load i32, ptr %8, align 4
%18 = icmp sge i32 %16, %17
br i1 %18, label %19, label %20
19: ; preds = %4
br label %36
20: ; preds = %4
%21 = load ptr, ptr %5, align 8
%22 = load ptr, ptr %6, align 8
%23 = load i32, ptr %7, align 4
%24 = load i32, ptr %9, align 4
call void @sort(ptr noundef %21, ptr noundef %22, i32 noundef %23, i32 noundef %24)
%25 = load ptr, ptr %5, align 8
%26 = load ptr, ptr %6, align 8
%27 = load i32, ptr %9, align 4
%28 = add nsw i32 %27, 1
%29 = load i32, ptr %8, align 4
call void @sort(ptr noundef %25, ptr noundef %26, i32 noundef %28, i32 noundef %29)
%30 = load ptr, ptr %5, align 8
%31 = load ptr, ptr %6, align 8
%32 = load i32, ptr %7, align 4
%33 = load i32, ptr %9, align 4
%34 = load i32, ptr %8, align 4
%35 = call i32 @merge_array(ptr noundef %30, ptr noundef %31, i32 noundef %32, i32 noundef %33, i32 noundef %34)
br label %36
36: ; preds = %20, %19
ret void
}
declare i32 @merge_array(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphglgryt3.c'
source_filename = "/tmp/tmphglgryt3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@error_exit.error_msg = internal global [4 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3], align 16
@.str = private unnamed_addr constant [23 x i8] c"Invalid error number.\0A\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"Error 1: To much data.\0A\00", align 1
@.str.2 = private unnamed_addr constant [29 x i8] c"Error 2: Not enough memory.\0A\00", align 1
@.str.3 = private unnamed_addr constant [19 x i8] c"Error 3: No data.\0A\00", align 1
@stderr = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @error_exit(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, 1
br i1 %4, label %8, label %5
5: ; preds = %1
%6 = load i32, ptr %2, align 4
%7 = icmp sgt i32 %6, 3
br i1 %7, label %8, label %9
8: ; preds = %5, %1
store i32 0, ptr %2, align 4
br label %9
9: ; preds = %8, %5
%10 = load i32, ptr %2, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds [4 x ptr], ptr @error_exit.error_msg, i64 0, i64 %11
%13 = load ptr, ptr %12, align 8
%14 = load i32, ptr @stderr, align 4
%15 = call i32 @fputs(ptr noundef %13, i32 noundef %14)
%16 = load i32, ptr %2, align 4
%17 = call i32 @exit(i32 noundef %16) #3
unreachable
}
declare i32 @fputs(ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphglgryt3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@error_exit.error_msg = internal global [4 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3], align 16
@.str = private unnamed_addr constant [23 x i8] c"Invalid error number.\0A\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"Error 1: To much data.\0A\00", align 1
@.str.2 = private unnamed_addr constant [29 x i8] c"Error 2: Not enough memory.\0A\00", align 1
@.str.3 = private unnamed_addr constant [19 x i8] c"Error 3: No data.\0A\00", align 1
@stderr = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @error_exit(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, 1
br i1 %4, label %8, label %5
5: ; preds = %1
%6 = load i32, ptr %2, align 4
%7 = icmp sgt i32 %6, 3
br i1 %7, label %8, label %9
8: ; preds = %5, %1
store i32 0, ptr %2, align 4
br label %9
9: ; preds = %8, %5
%10 = load i32, ptr %2, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds [4 x ptr], ptr @error_exit.error_msg, i64 0, i64 %11
%13 = load ptr, ptr %12, align 8
%14 = load i32, ptr @stderr, align 4
%15 = call i32 @fputs(ptr noundef %13, i32 noundef %14)
%16 = load i32, ptr %2, align 4
%17 = call i32 @exit(i32 noundef %16) #3
unreachable
}
declare i32 @fputs(ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpn5d4_3vd.c'
source_filename = "/tmp/tmpn5d4_3vd.c"
target datalayout = "e-m:e-p270: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.stat = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ace_fs_does_directory_exist(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca %struct.stat, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i64 @stat(ptr noundef %4, ptr noundef %3)
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %12
7: ; preds = %1
%8 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0
%9 = load i32, ptr %8, align 4
%10 = call i64 @S_ISDIR(i32 noundef %9)
%11 = icmp ne i64 %10, 0
br label %12
12: ; preds = %7, %1
%13 = phi i1 [ false, %1 ], [ %11, %7 ]
%14 = zext i1 %13 to i32
ret i32 %14
}
declare i64 @stat(ptr noundef, ptr noundef) #1
declare i64 @S_ISDIR(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpn5d4_3vd.c"
target datalayout = "e-m:e-p270: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.stat = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ace_fs_does_directory_exist(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca %struct.stat, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i64 @stat(ptr noundef %4, ptr noundef %3)
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %12
7: ; preds = %1
%8 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0
%9 = load i32, ptr %8, align 4
%10 = call i64 @S_ISDIR(i32 noundef %9)
%11 = icmp ne i64 %10, 0
br label %12
12: ; preds = %7, %1
%13 = phi i1 [ false, %1 ], [ %11, %7 ]
%14 = zext i1 %13 to i32
ret i32 %14
}
declare i64 @stat(ptr noundef, ptr noundef) #1
declare i64 @S_ISDIR(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpd_rv7nom.c'
source_filename = "/tmp/tmpd_rv7nom.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ptsname.buffer = internal global [32 x i8] zeroinitializer, align 16
@TIOCGPTN = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [12 x i8] c"/dev/pts/%u\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @ptsname(i32 noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr @TIOCGPTN, align 4
%7 = call i64 @ioctl(i32 noundef %5, i32 noundef %6, ptr noundef %4)
%8 = icmp ne i64 %7, 0
br i1 %8, label %9, label %10
9: ; preds = %1
store ptr null, ptr %2, align 8
br label %13
10: ; preds = %1
%11 = load i32, ptr %4, align 4
%12 = call i32 @snprintf(ptr noundef @ptsname.buffer, i32 noundef 32, ptr noundef @.str, i32 noundef %11)
store ptr @ptsname.buffer, ptr %2, align 8
br label %13
13: ; preds = %10, %9
%14 = load ptr, ptr %2, align 8
ret ptr %14
}
declare i64 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd_rv7nom.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ptsname.buffer = internal global [32 x i8] zeroinitializer, align 16
@TIOCGPTN = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [12 x i8] c"/dev/pts/%u\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @ptsname(i32 noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr @TIOCGPTN, align 4
%7 = call i64 @ioctl(i32 noundef %5, i32 noundef %6, ptr noundef %4)
%8 = icmp ne i64 %7, 0
br i1 %8, label %9, label %10
9: ; preds = %1
store ptr null, ptr %2, align 8
br label %13
10: ; preds = %1
%11 = load i32, ptr %4, align 4
%12 = call i32 @snprintf(ptr noundef @ptsname.buffer, i32 noundef 32, ptr noundef @.str, i32 noundef %11)
store ptr @ptsname.buffer, ptr %2, align 8
br label %13
13: ; preds = %10, %9
%14 = load ptr, ptr %2, align 8
ret ptr %14
}
declare i64 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpar8p53s2.c'
source_filename = "/tmp/tmpar8p53s2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_add() #0 {
%1 = call i32 @add(i32 noundef 7, i32 noundef 3)
%2 = icmp eq i32 10, %1
br i1 %2, label %3, label %18
3: ; preds = %0
%4 = call i32 @add_smart(i32 noundef 7, i32 noundef 3)
%5 = icmp eq i32 10, %4
br i1 %5, label %6, label %18
6: ; preds = %3
%7 = call i32 @add(i32 noundef 10, i32 noundef 10)
%8 = icmp eq i32 20, %7
br i1 %8, label %9, label %18
9: ; preds = %6
%10 = call i32 @add_smart(i32 noundef 10, i32 noundef 10)
%11 = icmp eq i32 20, %10
br i1 %11, label %12, label %18
12: ; preds = %9
%13 = call i32 @add(i32 noundef 123, i32 noundef 877)
%14 = icmp eq i32 1000, %13
br i1 %14, label %15, label %18
15: ; preds = %12
%16 = call i32 @add_smart(i32 noundef 123, i32 noundef 877)
%17 = icmp eq i32 1000, %16
br label %18
18: ; preds = %15, %12, %9, %6, %3, %0
%19 = phi i1 [ false, %12 ], [ false, %9 ], [ false, %6 ], [ false, %3 ], [ false, %0 ], [ %17, %15 ]
%20 = zext i1 %19 to i32
ret i32 %20
}
declare i32 @add(i32 noundef, i32 noundef) #1
declare i32 @add_smart(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/tmpar8p53s2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_add() #0 {
%1 = call i32 @add(i32 noundef 7, i32 noundef 3)
%2 = icmp eq i32 10, %1
br i1 %2, label %3, label %18
3: ; preds = %0
%4 = call i32 @add_smart(i32 noundef 7, i32 noundef 3)
%5 = icmp eq i32 10, %4
br i1 %5, label %6, label %18
6: ; preds = %3
%7 = call i32 @add(i32 noundef 10, i32 noundef 10)
%8 = icmp eq i32 20, %7
br i1 %8, label %9, label %18
9: ; preds = %6
%10 = call i32 @add_smart(i32 noundef 10, i32 noundef 10)
%11 = icmp eq i32 20, %10
br i1 %11, label %12, label %18
12: ; preds = %9
%13 = call i32 @add(i32 noundef 123, i32 noundef 877)
%14 = icmp eq i32 1000, %13
br i1 %14, label %15, label %18
15: ; preds = %12
%16 = call i32 @add_smart(i32 noundef 123, i32 noundef 877)
%17 = icmp eq i32 1000, %16
br label %18
18: ; preds = %15, %12, %9, %6, %3, %0
%19 = phi i1 [ false, %12 ], [ false, %9 ], [ false, %6 ], [ false, %3 ], [ false, %0 ], [ %17, %15 ]
%20 = zext i1 %19 to i32
ret i32 %20
}
declare i32 @add(i32 noundef, i32 noundef) #1
declare i32 @add_smart(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/tmp564zndin.c'
source_filename = "/tmp/tmp564zndin.c"
target datalayout = "e-m:e-p270: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/tmp564zndin.c"
target datalayout = "e-m:e-p270: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/tmp6p8p_f__.c'
source_filename = "/tmp/tmp6p8p_f__.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sds_malloc(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = call ptr @zmalloc(i64 noundef %3)
ret ptr %4
}
declare ptr @zmalloc(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/tmp6p8p_f__.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sds_malloc(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = call ptr @zmalloc(i64 noundef %3)
ret ptr %4
}
declare ptr @zmalloc(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/tmpxo3f9cjg.c'
source_filename = "/tmp/tmpxo3f9cjg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Je Code avec le CUL\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"U MAD BRO\00", align 1
@.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.3 = private unnamed_addr constant [19 x i8] c"iBI^7toBO&*TYUIbb7\00", align 1
@.str.4 = private unnamed_addr constant [66 x i8] c"str: %s, your_result: %s, actual_result: %s, execution time = %f\0A\00", align 1
@.str.5 = private unnamed_addr constant [29 x i8] c"\1B[0;31mFAKE AND GAY \E2\9C\97\1B[0m\0A\00", align 1
@.str.6 = private unnamed_addr constant [34 x i8] c"\1B[0;33mYOU ARE TOO SLOW! \E2\9C\97\1B[0m\0A\00", align 1
@.str.7 = private unnamed_addr constant [21 x i8] c"\1B[0;32mGOES \E2\9C\93\1B[0m\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 double, align 8
%5 = alloca [5 x ptr], align 16
%6 = alloca ptr, align 8
%7 = alloca [300 x i8], align 16
%8 = alloca [300 x i8], align 16
%9 = alloca [300 x i8], align 16
%10 = alloca i32, align 4
store i32 0, ptr %1, align 4
%11 = getelementptr inbounds [5 x ptr], ptr %5, i64 0, i64 0
%12 = call i32 @ft_add_test_case(ptr noundef %11, ptr noundef @.str)
%13 = getelementptr inbounds [5 x ptr], ptr %5, i64 0, i64 1
%14 = call i32 @ft_add_test_case(ptr noundef %13, ptr noundef @.str.1)
%15 = getelementptr inbounds [5 x ptr], ptr %5, i64 0, i64 2
%16 = call i32 @ft_add_test_case(ptr noundef %15, ptr noundef @.str.2)
%17 = getelementptr inbounds [5 x ptr], ptr %5, i64 0, i64 3
%18 = call i32 @ft_add_test_case(ptr noundef %17, ptr noundef @.str.3)
%19 = getelementptr inbounds [5 x ptr], ptr %5, i64 0, i64 4
%20 = getelementptr inbounds [300 x i8], ptr %9, i64 0, i64 0
%21 = call i32 @ft_add_test_case(ptr noundef %19, ptr noundef %20)
store i32 21, ptr %10, align 4
br label %22
22: ; preds = %25, %0
%23 = load i32, ptr %10, align 4
%24 = icmp slt i32 %23, 255
br i1 %24, label %25, label %34
25: ; preds = %22
%26 = load i32, ptr %10, align 4
%27 = trunc i32 %26 to i8
%28 = load i32, ptr %10, align 4
%29 = sub nsw i32 %28, 21
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds [300 x i8], ptr %9, i64 0, i64 %30
store i8 %27, ptr %31, align 1
%32 = load i32, ptr %10, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %10, align 4
br label %22, !llvm.loop !6
34: ; preds = %22
%35 = load i32, ptr %10, align 4
%36 = sub nsw i32 %35, 21
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds [300 x i8], ptr %9, i64 0, i64 %37
store i8 0, ptr %38, align 1
store i32 0, ptr %10, align 4
br label %39
39: ; preds = %78, %34
%40 = load i32, ptr %10, align 4
%41 = icmp slt i32 %40, 5
br i1 %41, label %42, label %81
42: ; preds = %39
%43 = load i32, ptr %10, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds [5 x ptr], ptr %5, i64 0, i64 %44
%46 = call i32 @ft_get_values(ptr noundef %45, ptr noundef %6)
%47 = getelementptr inbounds [300 x i8], ptr %7, i64 0, i64 0
%48 = load ptr, ptr %6, align 8
%49 = call i32 @strcpy(ptr noundef %47, ptr noundef %48)
%50 = getelementptr inbounds [300 x i8], ptr %8, i64 0, i64 0
%51 = load ptr, ptr %6, align 8
%52 = call i32 @strcpy(ptr noundef %50, ptr noundef %51)
%53 = call i32 @time(ptr noundef %2)
%54 = getelementptr inbounds [300 x i8], ptr %7, i64 0, i64 0
%55 = call i32 @ft_strlowcase(ptr noundef %54)
%56 = call i32 @time(ptr noundef %3)
%57 = getelementptr inbounds [300 x i8], ptr %8, i64 0, i64 0
%58 = call i32 @strlowcase(ptr noundef %57)
%59 = load i32, ptr %3, align 4
%60 = load i32, ptr %2, align 4
%61 = call double @difftime(i32 noundef %59, i32 noundef %60)
store double %61, ptr %4, align 8
%62 = load ptr, ptr %6, align 8
%63 = getelementptr inbounds [300 x i8], ptr %7, i64 0, i64 0
%64 = getelementptr inbounds [300 x i8], ptr %8, i64 0, i64 0
%65 = load double, ptr %4, align 8
%66 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %62, ptr noundef %63, ptr noundef %64, double noundef %65)
%67 = getelementptr inbounds [300 x i8], ptr %7, i64 0, i64 0
%68 = getelementptr inbounds [300 x i8], ptr %8, i64 0, i64 0
%69 = call i64 @strcmp(ptr noundef %67, ptr noundef %68)
%70 = icmp ne i64 %69, 0
br i1 %70, label %71, label %73
71: ; preds = %42
%72 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
store i32 %72, ptr %1, align 4
br label %83
73: ; preds = %42
%74 = load double, ptr %4, align 8
%75 = fcmp oge double %74, 2.000000e+00
br i1 %75, label %76, label %78
76: ; preds = %73
%77 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
store i32 %77, ptr %1, align 4
br label %83
78: ; preds = %73
%79 = load i32, ptr %10, align 4
%80 = add nsw i32 %79, 1
store i32 %80, ptr %10, align 4
br label %39, !llvm.loop !8
81: ; preds = %39
%82 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
store i32 %82, ptr %1, align 4
br label %83
83: ; preds = %81, %76, %71
%84 = load i32, ptr %1, align 4
ret i32 %84
}
declare i32 @ft_add_test_case(ptr noundef, ptr noundef) #1
declare i32 @ft_get_values(ptr noundef, ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @ft_strlowcase(ptr noundef) #1
declare i32 @strlowcase(ptr noundef) #1
declare double @difftime(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpxo3f9cjg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Je Code avec le CUL\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"U MAD BRO\00", align 1
@.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.3 = private unnamed_addr constant [19 x i8] c"iBI^7toBO&*TYUIbb7\00", align 1
@.str.4 = private unnamed_addr constant [66 x i8] c"str: %s, your_result: %s, actual_result: %s, execution time = %f\0A\00", align 1
@.str.5 = private unnamed_addr constant [29 x i8] c"\1B[0;31mFAKE AND GAY \E2\9C\97\1B[0m\0A\00", align 1
@.str.6 = private unnamed_addr constant [34 x i8] c"\1B[0;33mYOU ARE TOO SLOW! \E2\9C\97\1B[0m\0A\00", align 1
@.str.7 = private unnamed_addr constant [21 x i8] c"\1B[0;32mGOES \E2\9C\93\1B[0m\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 double, align 8
%5 = alloca [5 x ptr], align 16
%6 = alloca ptr, align 8
%7 = alloca [300 x i8], align 16
%8 = alloca [300 x i8], align 16
%9 = alloca [300 x i8], align 16
%10 = alloca i32, align 4
store i32 0, ptr %1, align 4
%11 = getelementptr inbounds [5 x ptr], ptr %5, i64 0, i64 0
%12 = call i32 @ft_add_test_case(ptr noundef %11, ptr noundef @.str)
%13 = getelementptr inbounds [5 x ptr], ptr %5, i64 0, i64 1
%14 = call i32 @ft_add_test_case(ptr noundef %13, ptr noundef @.str.1)
%15 = getelementptr inbounds [5 x ptr], ptr %5, i64 0, i64 2
%16 = call i32 @ft_add_test_case(ptr noundef %15, ptr noundef @.str.2)
%17 = getelementptr inbounds [5 x ptr], ptr %5, i64 0, i64 3
%18 = call i32 @ft_add_test_case(ptr noundef %17, ptr noundef @.str.3)
%19 = getelementptr inbounds [5 x ptr], ptr %5, i64 0, i64 4
%20 = getelementptr inbounds [300 x i8], ptr %9, i64 0, i64 0
%21 = call i32 @ft_add_test_case(ptr noundef %19, ptr noundef %20)
store i32 21, ptr %10, align 4
%22 = load i32, ptr %10, align 4
%23 = icmp slt i32 %22, 255
br i1 %23, label %.lr.ph, label %35
.lr.ph: ; preds = %0
br label %24
24: ; preds = %.lr.ph, %24
%25 = load i32, ptr %10, align 4
%26 = trunc i32 %25 to i8
%27 = load i32, ptr %10, align 4
%28 = sub nsw i32 %27, 21
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [300 x i8], ptr %9, i64 0, i64 %29
store i8 %26, ptr %30, align 1
%31 = load i32, ptr %10, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %10, align 4
%33 = load i32, ptr %10, align 4
%34 = icmp slt i32 %33, 255
br i1 %34, label %24, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %35
35: ; preds = %._crit_edge, %0
%36 = load i32, ptr %10, align 4
%37 = sub nsw i32 %36, 21
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds [300 x i8], ptr %9, i64 0, i64 %38
store i8 0, ptr %39, align 1
store i32 0, ptr %10, align 4
%40 = load i32, ptr %10, align 4
%41 = icmp slt i32 %40, 5
br i1 %41, label %.lr.ph2, label %83
.lr.ph2: ; preds = %35
br label %42
42: ; preds = %.lr.ph2, %78
%43 = load i32, ptr %10, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds [5 x ptr], ptr %5, i64 0, i64 %44
%46 = call i32 @ft_get_values(ptr noundef %45, ptr noundef %6)
%47 = getelementptr inbounds [300 x i8], ptr %7, i64 0, i64 0
%48 = load ptr, ptr %6, align 8
%49 = call i32 @strcpy(ptr noundef %47, ptr noundef %48)
%50 = getelementptr inbounds [300 x i8], ptr %8, i64 0, i64 0
%51 = load ptr, ptr %6, align 8
%52 = call i32 @strcpy(ptr noundef %50, ptr noundef %51)
%53 = call i32 @time(ptr noundef %2)
%54 = getelementptr inbounds [300 x i8], ptr %7, i64 0, i64 0
%55 = call i32 @ft_strlowcase(ptr noundef %54)
%56 = call i32 @time(ptr noundef %3)
%57 = getelementptr inbounds [300 x i8], ptr %8, i64 0, i64 0
%58 = call i32 @strlowcase(ptr noundef %57)
%59 = load i32, ptr %3, align 4
%60 = load i32, ptr %2, align 4
%61 = call double @difftime(i32 noundef %59, i32 noundef %60)
store double %61, ptr %4, align 8
%62 = load ptr, ptr %6, align 8
%63 = getelementptr inbounds [300 x i8], ptr %7, i64 0, i64 0
%64 = getelementptr inbounds [300 x i8], ptr %8, i64 0, i64 0
%65 = load double, ptr %4, align 8
%66 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %62, ptr noundef %63, ptr noundef %64, double noundef %65)
%67 = getelementptr inbounds [300 x i8], ptr %7, i64 0, i64 0
%68 = getelementptr inbounds [300 x i8], ptr %8, i64 0, i64 0
%69 = call i64 @strcmp(ptr noundef %67, ptr noundef %68)
%70 = icmp ne i64 %69, 0
br i1 %70, label %71, label %73
71: ; preds = %42
%72 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
store i32 %72, ptr %1, align 4
br label %85
73: ; preds = %42
%74 = load double, ptr %4, align 8
%75 = fcmp oge double %74, 2.000000e+00
br i1 %75, label %76, label %78
76: ; preds = %73
%77 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
store i32 %77, ptr %1, align 4
br label %85
78: ; preds = %73
%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 = icmp slt i32 %81, 5
br i1 %82, label %42, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %78
br label %83
83: ; preds = %._crit_edge3, %35
%84 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
store i32 %84, ptr %1, align 4
br label %85
85: ; preds = %83, %76, %71
%86 = load i32, ptr %1, align 4
ret i32 %86
}
declare i32 @ft_add_test_case(ptr noundef, ptr noundef) #1
declare i32 @ft_get_values(ptr noundef, ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @ft_strlowcase(ptr noundef) #1
declare i32 @strlowcase(ptr noundef) #1
declare double @difftime(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpplik5ubs.c'
source_filename = "/tmp/tmpplik5ubs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ht_search_a(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call ptr @ht_search_ind_a(ptr noundef %5, ptr noundef %6, i32 noundef 0)
ret ptr %7
}
declare ptr @ht_search_ind_a(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpplik5ubs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ht_search_a(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call ptr @ht_search_ind_a(ptr noundef %5, ptr noundef %6, i32 noundef 0)
ret ptr %7
}
declare ptr @ht_search_ind_a(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppb50jhh1.c'
source_filename = "/tmp/tmppb50jhh1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@BSearchRec.ERROR = internal constant i32 -2, align 4
@BSearchRec.NOT_FOUND = internal constant i32 -1, align 4
@EINVAL = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @BSearchRec(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store i64 %2, ptr %9, align 8
store i64 %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
%12 = load ptr, ptr %7, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %16, label %14
14: ; preds = %5
%15 = load i32, ptr @EINVAL, align 4
store i32 %15, ptr @errno, align 4
store i32 -2, ptr %6, align 4
br label %33
16: ; preds = %5
%17 = load ptr, ptr %8, align 8
%18 = icmp ne ptr %17, null
br i1 %18, label %21, label %19
19: ; preds = %16
%20 = load i32, ptr @EINVAL, align 4
store i32 %20, ptr @errno, align 4
store i32 -2, ptr %6, align 4
br label %33
21: ; preds = %16
%22 = load ptr, ptr %11, align 8
%23 = icmp ne ptr %22, null
br i1 %23, label %26, label %24
24: ; preds = %21
%25 = load i32, ptr @EINVAL, align 4
store i32 %25, ptr @errno, align 4
store i32 -2, ptr %6, align 4
br label %33
26: ; preds = %21
%27 = load ptr, ptr %7, align 8
%28 = load ptr, ptr %8, align 8
%29 = load i64, ptr %9, align 8
%30 = load i64, ptr %10, align 8
%31 = load ptr, ptr %11, align 8
%32 = call i32 @BSearchRecHelper(ptr noundef %27, ptr noundef %28, i32 noundef 0, i64 noundef %29, i64 noundef %30, ptr noundef %31)
store i32 %32, ptr %6, align 4
br label %33
33: ; preds = %26, %24, %19, %14
%34 = load i32, ptr %6, align 4
ret i32 %34
}
declare i32 @BSearchRecHelper(ptr noundef, ptr noundef, i32 noundef, i64 noundef, i64 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppb50jhh1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@BSearchRec.ERROR = internal constant i32 -2, align 4
@BSearchRec.NOT_FOUND = internal constant i32 -1, align 4
@EINVAL = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @BSearchRec(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store i64 %2, ptr %9, align 8
store i64 %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
%12 = load ptr, ptr %7, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %16, label %14
14: ; preds = %5
%15 = load i32, ptr @EINVAL, align 4
store i32 %15, ptr @errno, align 4
store i32 -2, ptr %6, align 4
br label %33
16: ; preds = %5
%17 = load ptr, ptr %8, align 8
%18 = icmp ne ptr %17, null
br i1 %18, label %21, label %19
19: ; preds = %16
%20 = load i32, ptr @EINVAL, align 4
store i32 %20, ptr @errno, align 4
store i32 -2, ptr %6, align 4
br label %33
21: ; preds = %16
%22 = load ptr, ptr %11, align 8
%23 = icmp ne ptr %22, null
br i1 %23, label %26, label %24
24: ; preds = %21
%25 = load i32, ptr @EINVAL, align 4
store i32 %25, ptr @errno, align 4
store i32 -2, ptr %6, align 4
br label %33
26: ; preds = %21
%27 = load ptr, ptr %7, align 8
%28 = load ptr, ptr %8, align 8
%29 = load i64, ptr %9, align 8
%30 = load i64, ptr %10, align 8
%31 = load ptr, ptr %11, align 8
%32 = call i32 @BSearchRecHelper(ptr noundef %27, ptr noundef %28, i32 noundef 0, i64 noundef %29, i64 noundef %30, ptr noundef %31)
store i32 %32, ptr %6, align 4
br label %33
33: ; preds = %26, %24, %19, %14
%34 = load i32, ptr %6, align 4
ret i32 %34
}
declare i32 @BSearchRecHelper(ptr noundef, ptr noundef, i32 noundef, i64 noundef, i64 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpz7vh3vzr.c'
source_filename = "/tmp/tmpz7vh3vzr.c"
target datalayout = "e-m:e-p270: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/tmpz7vh3vzr.c"
target datalayout = "e-m:e-p270: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/tmp3an417fv.c'
source_filename = "/tmp/tmp3an417fv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @putseqend() #0 {
%1 = call i32 (...) @alignbits()
%2 = call i32 @putbits(i32 noundef 439, i32 noundef 32)
ret void
}
declare i32 @alignbits(...) #1
declare i32 @putbits(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/tmp3an417fv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @putseqend() #0 {
%1 = call i32 (...) @alignbits()
%2 = call i32 @putbits(i32 noundef 439, i32 noundef 32)
ret void
}
declare i32 @alignbits(...) #1
declare i32 @putbits(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/tmpm0b21s24.c'
source_filename = "/tmp/tmpm0b21s24.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A>> ERROR: Respuesta invalida!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @menu_validateanswer(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%6 = load i32, ptr %4, align 4
%7 = icmp sgt i32 %6, 0
br i1 %7, label %8, label %13
8: ; preds = %2
%9 = load i32, ptr %4, align 4
%10 = load i32, ptr %5, align 4
%11 = icmp sle i32 %9, %10
br i1 %11, label %12, label %13
12: ; preds = %8
store i32 1, ptr %3, align 4
br label %15
13: ; preds = %8, %2
%14 = call i32 @printf(ptr noundef @.str)
store i32 0, ptr %3, align 4
br label %15
15: ; preds = %13, %12
%16 = load i32, ptr %3, align 4
ret i32 %16
}
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/tmpm0b21s24.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A>> ERROR: Respuesta invalida!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @menu_validateanswer(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%6 = load i32, ptr %4, align 4
%7 = icmp sgt i32 %6, 0
br i1 %7, label %8, label %13
8: ; preds = %2
%9 = load i32, ptr %4, align 4
%10 = load i32, ptr %5, align 4
%11 = icmp sle i32 %9, %10
br i1 %11, label %12, label %13
12: ; preds = %8
store i32 1, ptr %3, align 4
br label %15
13: ; preds = %8, %2
%14 = call i32 @printf(ptr noundef @.str)
store i32 0, ptr %3, align 4
br label %15
15: ; preds = %13, %12
%16 = load i32, ptr %3, align 4
ret i32 %16
}
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/tmpbhqytems.c'
source_filename = "/tmp/tmpbhqytems.c"
target datalayout = "e-m:e-p270: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"Need at least one argument\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"%s_cyc.cyco\00", align 1
@.str.3 = private unnamed_addr constant [23 x i8] c"%\0A\\benchmark{%s}\0A%s\0A%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %11, 2
br i1 %12, label %13, label %17
13: ; preds = %2
%14 = load i32, ptr @stderr, align 4
%15 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str)
%16 = call i32 @exit(i32 noundef -1) #3
unreachable
17: ; preds = %2
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 1
%20 = load ptr, ptr %19, align 8
%21 = call i32 @asprintf(ptr noundef %8, ptr noundef @.str.1, ptr noundef %20)
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds ptr, ptr %22, i64 1
%24 = load ptr, ptr %23, align 8
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds ptr, ptr %25, i64 1
%27 = call i32 @do_it(ptr noundef %24, ptr noundef %26, i32 noundef -1, ptr noundef %6)
store i32 %27, ptr %9, align 4
%28 = load ptr, ptr %5, align 8
%29 = getelementptr inbounds ptr, ptr %28, i64 1
%30 = load ptr, ptr %5, align 8
%31 = getelementptr inbounds ptr, ptr %30, i64 1
%32 = load ptr, ptr %31, align 8
%33 = call i32 @asprintf(ptr noundef %29, ptr noundef @.str.2, ptr noundef %32)
%34 = load ptr, ptr %5, align 8
%35 = getelementptr inbounds ptr, ptr %34, i64 1
%36 = load ptr, ptr %35, align 8
%37 = load ptr, ptr %5, align 8
%38 = getelementptr inbounds ptr, ptr %37, i64 1
%39 = load i32, ptr %9, align 4
%40 = call i32 @do_it(ptr noundef %36, ptr noundef %38, i32 noundef %39, ptr noundef %7)
store i32 %40, ptr %10, align 4
%41 = load ptr, ptr %8, align 8
%42 = load ptr, ptr %6, align 8
%43 = load ptr, ptr %7, align 8
%44 = call i32 @printf(ptr noundef @.str.3, ptr noundef %41, ptr noundef %42, ptr noundef %43)
ret i32 0
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @asprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @do_it(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @printf(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" }
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/tmpbhqytems.c"
target datalayout = "e-m:e-p270: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"Need at least one argument\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"%s_cyc.cyco\00", align 1
@.str.3 = private unnamed_addr constant [23 x i8] c"%\0A\\benchmark{%s}\0A%s\0A%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %11, 2
br i1 %12, label %13, label %17
13: ; preds = %2
%14 = load i32, ptr @stderr, align 4
%15 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str)
%16 = call i32 @exit(i32 noundef -1) #3
unreachable
17: ; preds = %2
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 1
%20 = load ptr, ptr %19, align 8
%21 = call i32 @asprintf(ptr noundef %8, ptr noundef @.str.1, ptr noundef %20)
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds ptr, ptr %22, i64 1
%24 = load ptr, ptr %23, align 8
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds ptr, ptr %25, i64 1
%27 = call i32 @do_it(ptr noundef %24, ptr noundef %26, i32 noundef -1, ptr noundef %6)
store i32 %27, ptr %9, align 4
%28 = load ptr, ptr %5, align 8
%29 = getelementptr inbounds ptr, ptr %28, i64 1
%30 = load ptr, ptr %5, align 8
%31 = getelementptr inbounds ptr, ptr %30, i64 1
%32 = load ptr, ptr %31, align 8
%33 = call i32 @asprintf(ptr noundef %29, ptr noundef @.str.2, ptr noundef %32)
%34 = load ptr, ptr %5, align 8
%35 = getelementptr inbounds ptr, ptr %34, i64 1
%36 = load ptr, ptr %35, align 8
%37 = load ptr, ptr %5, align 8
%38 = getelementptr inbounds ptr, ptr %37, i64 1
%39 = load i32, ptr %9, align 4
%40 = call i32 @do_it(ptr noundef %36, ptr noundef %38, i32 noundef %39, ptr noundef %7)
store i32 %40, ptr %10, align 4
%41 = load ptr, ptr %8, align 8
%42 = load ptr, ptr %6, align 8
%43 = load ptr, ptr %7, align 8
%44 = call i32 @printf(ptr noundef @.str.3, ptr noundef %41, ptr noundef %42, ptr noundef %43)
ret i32 0
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @asprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @do_it(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @printf(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" }
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/tmpt1e2k6in.c'
source_filename = "/tmp/tmpt1e2k6in.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @crypto_kem_sntrup761x25519_tinynacl_enc(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i64, align 8
%9 = alloca [32 x i8], align 16
%10 = alloca [64 x i8], align 16
%11 = alloca [64 x i8], align 16
%12 = alloca i8, align 1
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store i32 0, ptr %7, align 4
%13 = load ptr, ptr %4, align 8
%14 = getelementptr inbounds [64 x i8], ptr %10, i64 0, i64 0
%15 = load ptr, ptr %6, align 8
%16 = call i32 @crypto_kem_sntrup761_tinynacl_enc(ptr noundef %13, ptr noundef %14, ptr noundef %15)
%17 = load i32, ptr %7, align 4
%18 = or i32 %17, %16
store i32 %18, ptr %7, align 4
%19 = load ptr, ptr %6, align 8
%20 = getelementptr inbounds i8, ptr %19, i64 1158
store ptr %20, ptr %6, align 8
%21 = load ptr, ptr %4, align 8
%22 = getelementptr inbounds i8, ptr %21, i64 1039
store ptr %22, ptr %4, align 8
%23 = getelementptr inbounds [32 x i8], ptr %9, i64 0, i64 0
%24 = call i32 @randombytes(ptr noundef %23, i32 noundef 32)
%25 = load ptr, ptr %4, align 8
%26 = getelementptr inbounds [32 x i8], ptr %9, i64 0, i64 0
%27 = call i32 @crypto_scalarmult_curve25519_tinynacl_base(ptr noundef %25, ptr noundef %26)
%28 = load i32, ptr %7, align 4
%29 = or i32 %28, %27
store i32 %29, ptr %7, align 4
%30 = getelementptr inbounds [64 x i8], ptr %10, i64 0, i64 0
%31 = getelementptr inbounds i8, ptr %30, i64 32
%32 = getelementptr inbounds [32 x i8], ptr %9, i64 0, i64 0
%33 = load ptr, ptr %6, align 8
%34 = call i32 @crypto_scalarmult_curve25519_tinynacl(ptr noundef %31, ptr noundef %32, ptr noundef %33)
%35 = load i32, ptr %7, align 4
%36 = or i32 %35, %34
store i32 %36, ptr %7, align 4
%37 = getelementptr inbounds [64 x i8], ptr %11, i64 0, i64 0
%38 = call i32 @randombytes(ptr noundef %37, i32 noundef 64)
%39 = load i32, ptr %7, align 4
%40 = call zeroext i8 @returnmask(i32 noundef %39)
store i8 %40, ptr %12, align 1
store i64 0, ptr %8, align 8
br label %41
41: ; preds = %60, %3
%42 = load i64, ptr %8, align 8
%43 = icmp slt i64 %42, 64
br i1 %43, label %44, label %63
44: ; preds = %41
%45 = load i8, ptr %12, align 1
%46 = zext i8 %45 to i32
%47 = load i64, ptr %8, align 8
%48 = getelementptr inbounds [64 x i8], ptr %11, i64 0, i64 %47
%49 = load i8, ptr %48, align 1
%50 = zext i8 %49 to i32
%51 = load i64, ptr %8, align 8
%52 = getelementptr inbounds [64 x i8], ptr %10, i64 0, i64 %51
%53 = load i8, ptr %52, align 1
%54 = zext i8 %53 to i32
%55 = xor i32 %50, %54
%56 = and i32 %46, %55
%57 = trunc i32 %56 to i8
%58 = load i64, ptr %8, align 8
%59 = getelementptr inbounds [64 x i8], ptr %11, i64 0, i64 %58
store i8 %57, ptr %59, align 1
br label %60
60: ; preds = %44
%61 = load i64, ptr %8, align 8
%62 = add nsw i64 %61, 1
store i64 %62, ptr %8, align 8
br label %41, !llvm.loop !6
63: ; preds = %41
store i64 0, ptr %8, align 8
br label %64
64: ; preds = %78, %63
%65 = load i64, ptr %8, align 8
%66 = icmp slt i64 %65, 64
br i1 %66, label %67, label %81
67: ; preds = %64
%68 = load i64, ptr %8, align 8
%69 = getelementptr inbounds [64 x i8], ptr %11, i64 0, i64 %68
%70 = load i8, ptr %69, align 1
%71 = zext i8 %70 to i32
%72 = load i64, ptr %8, align 8
%73 = getelementptr inbounds [64 x i8], ptr %10, i64 0, i64 %72
%74 = load i8, ptr %73, align 1
%75 = zext i8 %74 to i32
%76 = xor i32 %75, %71
%77 = trunc i32 %76 to i8
store i8 %77, ptr %73, align 1
br label %78
78: ; preds = %67
%79 = load i64, ptr %8, align 8
%80 = add nsw i64 %79, 1
store i64 %80, ptr %8, align 8
br label %64, !llvm.loop !8
81: ; preds = %64
%82 = load ptr, ptr %5, align 8
%83 = getelementptr inbounds [64 x i8], ptr %10, i64 0, i64 0
%84 = call i32 @crypto_hash_sha512_tinynacl(ptr noundef %82, ptr noundef %83, i32 noundef 64)
%85 = getelementptr inbounds [64 x i8], ptr %10, i64 0, i64 0
%86 = call i32 @cleanup_(ptr noundef %85, i32 noundef 64)
%87 = getelementptr inbounds [32 x i8], ptr %9, i64 0, i64 0
%88 = call i32 @cleanup_(ptr noundef %87, i32 noundef 32)
%89 = load i32, ptr %7, align 4
ret i32 %89
}
declare i32 @crypto_kem_sntrup761_tinynacl_enc(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @randombytes(ptr noundef, i32 noundef) #1
declare i32 @crypto_scalarmult_curve25519_tinynacl_base(ptr noundef, ptr noundef) #1
declare i32 @crypto_scalarmult_curve25519_tinynacl(ptr noundef, ptr noundef, ptr noundef) #1
declare zeroext i8 @returnmask(i32 noundef) #1
declare i32 @crypto_hash_sha512_tinynacl(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @cleanup_(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/tmpt1e2k6in.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @crypto_kem_sntrup761x25519_tinynacl_enc(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i64, align 8
%9 = alloca [32 x i8], align 16
%10 = alloca [64 x i8], align 16
%11 = alloca [64 x i8], align 16
%12 = alloca i8, align 1
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store i32 0, ptr %7, align 4
%13 = load ptr, ptr %4, align 8
%14 = getelementptr inbounds [64 x i8], ptr %10, i64 0, i64 0
%15 = load ptr, ptr %6, align 8
%16 = call i32 @crypto_kem_sntrup761_tinynacl_enc(ptr noundef %13, ptr noundef %14, ptr noundef %15)
%17 = load i32, ptr %7, align 4
%18 = or i32 %17, %16
store i32 %18, ptr %7, align 4
%19 = load ptr, ptr %6, align 8
%20 = getelementptr inbounds i8, ptr %19, i64 1158
store ptr %20, ptr %6, align 8
%21 = load ptr, ptr %4, align 8
%22 = getelementptr inbounds i8, ptr %21, i64 1039
store ptr %22, ptr %4, align 8
%23 = getelementptr inbounds [32 x i8], ptr %9, i64 0, i64 0
%24 = call i32 @randombytes(ptr noundef %23, i32 noundef 32)
%25 = load ptr, ptr %4, align 8
%26 = getelementptr inbounds [32 x i8], ptr %9, i64 0, i64 0
%27 = call i32 @crypto_scalarmult_curve25519_tinynacl_base(ptr noundef %25, ptr noundef %26)
%28 = load i32, ptr %7, align 4
%29 = or i32 %28, %27
store i32 %29, ptr %7, align 4
%30 = getelementptr inbounds [64 x i8], ptr %10, i64 0, i64 0
%31 = getelementptr inbounds i8, ptr %30, i64 32
%32 = getelementptr inbounds [32 x i8], ptr %9, i64 0, i64 0
%33 = load ptr, ptr %6, align 8
%34 = call i32 @crypto_scalarmult_curve25519_tinynacl(ptr noundef %31, ptr noundef %32, ptr noundef %33)
%35 = load i32, ptr %7, align 4
%36 = or i32 %35, %34
store i32 %36, ptr %7, align 4
%37 = getelementptr inbounds [64 x i8], ptr %11, i64 0, i64 0
%38 = call i32 @randombytes(ptr noundef %37, i32 noundef 64)
%39 = load i32, ptr %7, align 4
%40 = call zeroext i8 @returnmask(i32 noundef %39)
store i8 %40, ptr %12, align 1
store i64 0, ptr %8, align 8
%41 = load i64, ptr %8, align 8
%42 = icmp slt i64 %41, 64
br i1 %42, label %.lr.ph, label %64
.lr.ph: ; preds = %3
br label %43
43: ; preds = %.lr.ph, %59
%44 = load i8, ptr %12, align 1
%45 = zext i8 %44 to i32
%46 = load i64, ptr %8, align 8
%47 = getelementptr inbounds [64 x i8], ptr %11, i64 0, i64 %46
%48 = load i8, ptr %47, align 1
%49 = zext i8 %48 to i32
%50 = load i64, ptr %8, align 8
%51 = getelementptr inbounds [64 x i8], ptr %10, i64 0, i64 %50
%52 = load i8, ptr %51, align 1
%53 = zext i8 %52 to i32
%54 = xor i32 %49, %53
%55 = and i32 %45, %54
%56 = trunc i32 %55 to i8
%57 = load i64, ptr %8, align 8
%58 = getelementptr inbounds [64 x i8], ptr %11, i64 0, i64 %57
store i8 %56, ptr %58, align 1
br label %59
59: ; preds = %43
%60 = load i64, ptr %8, align 8
%61 = add nsw i64 %60, 1
store i64 %61, ptr %8, align 8
%62 = load i64, ptr %8, align 8
%63 = icmp slt i64 %62, 64
br i1 %63, label %43, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %59
br label %64
64: ; preds = %._crit_edge, %3
store i64 0, ptr %8, align 8
%65 = load i64, ptr %8, align 8
%66 = icmp slt i64 %65, 64
br i1 %66, label %.lr.ph2, label %83
.lr.ph2: ; preds = %64
br label %67
67: ; preds = %.lr.ph2, %78
%68 = load i64, ptr %8, align 8
%69 = getelementptr inbounds [64 x i8], ptr %11, i64 0, i64 %68
%70 = load i8, ptr %69, align 1
%71 = zext i8 %70 to i32
%72 = load i64, ptr %8, align 8
%73 = getelementptr inbounds [64 x i8], ptr %10, i64 0, i64 %72
%74 = load i8, ptr %73, align 1
%75 = zext i8 %74 to i32
%76 = xor i32 %75, %71
%77 = trunc i32 %76 to i8
store i8 %77, ptr %73, align 1
br label %78
78: ; preds = %67
%79 = load i64, ptr %8, align 8
%80 = add nsw i64 %79, 1
store i64 %80, ptr %8, align 8
%81 = load i64, ptr %8, align 8
%82 = icmp slt i64 %81, 64
br i1 %82, label %67, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %78
br label %83
83: ; preds = %._crit_edge3, %64
%84 = load ptr, ptr %5, align 8
%85 = getelementptr inbounds [64 x i8], ptr %10, i64 0, i64 0
%86 = call i32 @crypto_hash_sha512_tinynacl(ptr noundef %84, ptr noundef %85, i32 noundef 64)
%87 = getelementptr inbounds [64 x i8], ptr %10, i64 0, i64 0
%88 = call i32 @cleanup_(ptr noundef %87, i32 noundef 64)
%89 = getelementptr inbounds [32 x i8], ptr %9, i64 0, i64 0
%90 = call i32 @cleanup_(ptr noundef %89, i32 noundef 32)
%91 = load i32, ptr %7, align 4
ret i32 %91
}
declare i32 @crypto_kem_sntrup761_tinynacl_enc(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @randombytes(ptr noundef, i32 noundef) #1
declare i32 @crypto_scalarmult_curve25519_tinynacl_base(ptr noundef, ptr noundef) #1
declare i32 @crypto_scalarmult_curve25519_tinynacl(ptr noundef, ptr noundef, ptr noundef) #1
declare zeroext i8 @returnmask(i32 noundef) #1
declare i32 @crypto_hash_sha512_tinynacl(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @cleanup_(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/tmpfqnea3v8.c'
source_filename = "/tmp/tmpfqnea3v8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hds_ewild_(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @hdsEwild(ptr noundef %5, ptr noundef %6)
ret void
}
declare i32 @hdsEwild(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/tmpfqnea3v8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hds_ewild_(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @hdsEwild(ptr noundef %5, ptr noundef %6)
ret void
}
declare i32 @hdsEwild(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/tmptz2jwv4j.c'
source_filename = "/tmp/tmptz2jwv4j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @reserver() #0 {
%1 = alloca ptr, align 8
%2 = call i64 @malloc(i32 noundef 1000)
%3 = inttoptr i64 %2 to ptr
store ptr %3, ptr %1, align 8
%4 = load ptr, ptr %1, align 8
ret ptr %4
}
declare i64 @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptz2jwv4j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @reserver() #0 {
%1 = alloca ptr, align 8
%2 = call i64 @malloc(i32 noundef 1000)
%3 = inttoptr i64 %2 to ptr
store ptr %3, ptr %1, align 8
%4 = load ptr, ptr %1, align 8
ret ptr %4
}
declare i64 @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5qkjvvg4.c'
source_filename = "/tmp/tmp5qkjvvg4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fputs(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
br label %5
5: ; preds = %9, %2
%6 = load ptr, ptr %3, align 8
%7 = load i8, ptr %6, align 1
%8 = icmp ne i8 %7, 0
br i1 %8, label %9, label %16
9: ; preds = %5
%10 = load ptr, ptr %3, align 8
%11 = getelementptr inbounds i8, ptr %10, i32 1
store ptr %11, ptr %3, align 8
%12 = load i8, ptr %10, align 1
%13 = sext i8 %12 to i32
%14 = load ptr, ptr %4, align 8
%15 = call i32 @fputc(i32 noundef %13, ptr noundef %14)
br label %5, !llvm.loop !6
16: ; preds = %5
ret i32 0
}
declare i32 @fputc(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/tmp5qkjvvg4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fputs(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i8, ptr %5, align 1
%7 = icmp ne i8 %6, 0
br i1 %7, label %.lr.ph, label %18
.lr.ph: ; preds = %2
br label %8
8: ; preds = %.lr.ph, %8
%9 = load ptr, ptr %3, align 8
%10 = getelementptr inbounds i8, ptr %9, i32 1
store ptr %10, ptr %3, align 8
%11 = load i8, ptr %9, align 1
%12 = sext i8 %11 to i32
%13 = load ptr, ptr %4, align 8
%14 = call i32 @fputc(i32 noundef %12, ptr noundef %13)
%15 = load ptr, ptr %3, align 8
%16 = load i8, ptr %15, align 1
%17 = icmp ne i8 %16, 0
br i1 %17, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %8
br label %18
18: ; preds = %._crit_edge, %2
ret i32 0
}
declare i32 @fputc(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/tmp7ccy6snk.c'
source_filename = "/tmp/tmp7ccy6snk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"/\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c".\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @tosFilename_new(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%10 = load ptr, ptr %5, align 8
%11 = load ptr, ptr %6, align 8
%12 = call i32 @strcpy(ptr noundef %10, ptr noundef %11)
%13 = load ptr, ptr %5, align 8
%14 = call i32 @strlen(ptr noundef %13)
store i32 %14, ptr %9, align 4
%15 = load i32, ptr %9, align 4
%16 = icmp sgt i32 %15, 0
br i1 %16, label %17, label %47
17: ; preds = %4
%18 = load ptr, ptr %5, align 8
%19 = load i32, ptr %9, align 4
%20 = sub nsw i32 %19, 1
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %18, i64 %21
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp ne i32 %24, 92
br i1 %25, label %26, label %47
26: ; preds = %17
%27 = load ptr, ptr %5, align 8
%28 = load i32, ptr %9, align 4
%29 = sub nsw i32 %28, 1
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i8, ptr %27, i64 %30
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = icmp ne i32 %33, 47
br i1 %34, label %35, label %47
35: ; preds = %26
%36 = load ptr, ptr %5, align 8
%37 = load i32, ptr %9, align 4
%38 = sub nsw i32 %37, 1
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i8, ptr %36, i64 %39
%41 = load i8, ptr %40, align 1
%42 = sext i8 %41 to i32
%43 = icmp ne i32 %42, 58
br i1 %43, label %44, label %47
44: ; preds = %35
%45 = load ptr, ptr %5, align 8
%46 = call i32 @strcat(ptr noundef %45, ptr noundef @.str)
br label %47
47: ; preds = %44, %35, %26, %17, %4
%48 = load ptr, ptr %5, align 8
%49 = load ptr, ptr %7, align 8
%50 = call i32 @strcat(ptr noundef %48, ptr noundef %49)
%51 = load ptr, ptr %8, align 8
%52 = getelementptr inbounds i8, ptr %51, i64 0
%53 = load i8, ptr %52, align 1
%54 = sext i8 %53 to i32
%55 = icmp ne i32 %54, 0
br i1 %55, label %56, label %62
56: ; preds = %47
%57 = load ptr, ptr %5, align 8
%58 = call i32 @strcat(ptr noundef %57, ptr noundef @.str.1)
%59 = load ptr, ptr %5, align 8
%60 = load ptr, ptr %8, align 8
%61 = call i32 @strcat(ptr noundef %59, ptr noundef %60)
br label %62
62: ; preds = %56, %47
ret void
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @strcat(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/tmp7ccy6snk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"/\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c".\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @tosFilename_new(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%10 = load ptr, ptr %5, align 8
%11 = load ptr, ptr %6, align 8
%12 = call i32 @strcpy(ptr noundef %10, ptr noundef %11)
%13 = load ptr, ptr %5, align 8
%14 = call i32 @strlen(ptr noundef %13)
store i32 %14, ptr %9, align 4
%15 = load i32, ptr %9, align 4
%16 = icmp sgt i32 %15, 0
br i1 %16, label %17, label %47
17: ; preds = %4
%18 = load ptr, ptr %5, align 8
%19 = load i32, ptr %9, align 4
%20 = sub nsw i32 %19, 1
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %18, i64 %21
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp ne i32 %24, 92
br i1 %25, label %26, label %47
26: ; preds = %17
%27 = load ptr, ptr %5, align 8
%28 = load i32, ptr %9, align 4
%29 = sub nsw i32 %28, 1
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i8, ptr %27, i64 %30
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = icmp ne i32 %33, 47
br i1 %34, label %35, label %47
35: ; preds = %26
%36 = load ptr, ptr %5, align 8
%37 = load i32, ptr %9, align 4
%38 = sub nsw i32 %37, 1
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i8, ptr %36, i64 %39
%41 = load i8, ptr %40, align 1
%42 = sext i8 %41 to i32
%43 = icmp ne i32 %42, 58
br i1 %43, label %44, label %47
44: ; preds = %35
%45 = load ptr, ptr %5, align 8
%46 = call i32 @strcat(ptr noundef %45, ptr noundef @.str)
br label %47
47: ; preds = %44, %35, %26, %17, %4
%48 = load ptr, ptr %5, align 8
%49 = load ptr, ptr %7, align 8
%50 = call i32 @strcat(ptr noundef %48, ptr noundef %49)
%51 = load ptr, ptr %8, align 8
%52 = getelementptr inbounds i8, ptr %51, i64 0
%53 = load i8, ptr %52, align 1
%54 = sext i8 %53 to i32
%55 = icmp ne i32 %54, 0
br i1 %55, label %56, label %62
56: ; preds = %47
%57 = load ptr, ptr %5, align 8
%58 = call i32 @strcat(ptr noundef %57, ptr noundef @.str.1)
%59 = load ptr, ptr %5, align 8
%60 = load ptr, ptr %8, align 8
%61 = call i32 @strcat(ptr noundef %59, ptr noundef %60)
br label %62
62: ; preds = %56, %47
ret void
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @strcat(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/tmpltpbit3b.c'
source_filename = "/tmp/tmpltpbit3b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %23, %0
%5 = call i32 (...) @getchar()
store i32 %5, ptr %2, align 4
%6 = load i32, ptr @EOF, align 4
%7 = icmp ne i32 %5, %6
br i1 %7, label %8, label %24
8: ; preds = %4
%9 = load i32, ptr %2, align 4
%10 = icmp eq i32 %9, 32
br i1 %10, label %14, label %11
11: ; preds = %8
%12 = load i32, ptr %2, align 4
%13 = icmp eq i32 %12, 9
br i1 %13, label %14, label %20
14: ; preds = %11, %8
%15 = load i32, ptr %3, align 4
%16 = icmp ne i32 %15, 0
br i1 %16, label %19, label %17
17: ; preds = %14
%18 = call i32 @putchar(i32 noundef 10)
store i32 1, ptr %3, align 4
br label %19
19: ; preds = %17, %14
br label %23
20: ; preds = %11
%21 = load i32, ptr %2, align 4
%22 = call i32 @putchar(i32 noundef %21)
store i32 0, ptr %3, align 4
br label %23
23: ; preds = %20, %19
br label %4, !llvm.loop !6
24: ; preds = %4
ret i32 0
}
declare i32 @getchar(...) #1
declare i32 @putchar(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpltpbit3b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
%4 = call i32 (...) @getchar()
store i32 %4, ptr %2, align 4
%5 = load i32, ptr @EOF, align 4
%6 = icmp ne i32 %4, %5
br i1 %6, label %.lr.ph, label %26
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %22
%8 = load i32, ptr %2, align 4
%9 = icmp eq i32 %8, 32
br i1 %9, label %13, label %10
10: ; preds = %7
%11 = load i32, ptr %2, align 4
%12 = icmp eq i32 %11, 9
br i1 %12, label %13, label %19
13: ; preds = %10, %7
%14 = load i32, ptr %3, align 4
%15 = icmp ne i32 %14, 0
br i1 %15, label %18, label %16
16: ; preds = %13
%17 = call i32 @putchar(i32 noundef 10)
store i32 1, ptr %3, align 4
br label %18
18: ; preds = %16, %13
br label %22
19: ; preds = %10
%20 = load i32, ptr %2, align 4
%21 = call i32 @putchar(i32 noundef %20)
store i32 0, ptr %3, align 4
br label %22
22: ; preds = %19, %18
%23 = call i32 (...) @getchar()
store i32 %23, ptr %2, align 4
%24 = load i32, ptr @EOF, align 4
%25 = icmp ne i32 %23, %24
br i1 %25, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %26
26: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @getchar(...) #1
declare i32 @putchar(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpoiobgqs4.c'
source_filename = "/tmp/tmpoiobgqs4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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
br label %2
2: ; preds = %0
%3 = call i32 @waiter1(i32 noundef 0)
br label %4
4: ; preds = %2
%5 = call i32 @waiter2(i32 noundef 0)
br label %6
6: ; preds = %4
%7 = call i32 @waker1(i32 noundef 0)
br label %8
8: ; preds = %6
%9 = call i32 @waker2(i32 noundef 0)
br label %10
10: ; preds = %8
%11 = call i32 @waker3(i32 noundef 0)
br label %12
12: ; preds = %10
%13 = call i32 @waker4(i32 noundef 0)
br label %14
14: ; preds = %12
%15 = call i32 @waker5(i32 noundef 0)
br label %16
16: ; preds = %14
%17 = call i32 @waker6(i32 noundef 0)
br label %18
18: ; preds = %16
%19 = call i32 @waker7(i32 noundef 0)
br label %20
20: ; preds = %18
%21 = call i32 @waker8(i32 noundef 0)
br label %22
22: ; preds = %20
%23 = call i32 @waker9(i32 noundef 0)
br label %24
24: ; preds = %22
%25 = call i32 @waker10(i32 noundef 0)
br label %26
26: ; preds = %24
%27 = call i32 @waker11(i32 noundef 0)
br label %28
28: ; preds = %26
%29 = call i32 @waker12(i32 noundef 0)
br label %30
30: ; preds = %28
%31 = call i32 @waker13(i32 noundef 0)
br label %32
32: ; preds = %30
%33 = call i32 @waker14(i32 noundef 0)
br label %34
34: ; preds = %32
%35 = call i32 @waker15(i32 noundef 0)
br label %36
36: ; preds = %34
%37 = call i32 @waker16(i32 noundef 0)
ret i32 0
}
declare i32 @waiter1(i32 noundef) #1
declare i32 @waiter2(i32 noundef) #1
declare i32 @waker1(i32 noundef) #1
declare i32 @waker2(i32 noundef) #1
declare i32 @waker3(i32 noundef) #1
declare i32 @waker4(i32 noundef) #1
declare i32 @waker5(i32 noundef) #1
declare i32 @waker6(i32 noundef) #1
declare i32 @waker7(i32 noundef) #1
declare i32 @waker8(i32 noundef) #1
declare i32 @waker9(i32 noundef) #1
declare i32 @waker10(i32 noundef) #1
declare i32 @waker11(i32 noundef) #1
declare i32 @waker12(i32 noundef) #1
declare i32 @waker13(i32 noundef) #1
declare i32 @waker14(i32 noundef) #1
declare i32 @waker15(i32 noundef) #1
declare i32 @waker16(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpoiobgqs4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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
br label %2
2: ; preds = %0
%3 = call i32 @waiter1(i32 noundef 0)
br label %4
4: ; preds = %2
%5 = call i32 @waiter2(i32 noundef 0)
br label %6
6: ; preds = %4
%7 = call i32 @waker1(i32 noundef 0)
br label %8
8: ; preds = %6
%9 = call i32 @waker2(i32 noundef 0)
br label %10
10: ; preds = %8
%11 = call i32 @waker3(i32 noundef 0)
br label %12
12: ; preds = %10
%13 = call i32 @waker4(i32 noundef 0)
br label %14
14: ; preds = %12
%15 = call i32 @waker5(i32 noundef 0)
br label %16
16: ; preds = %14
%17 = call i32 @waker6(i32 noundef 0)
br label %18
18: ; preds = %16
%19 = call i32 @waker7(i32 noundef 0)
br label %20
20: ; preds = %18
%21 = call i32 @waker8(i32 noundef 0)
br label %22
22: ; preds = %20
%23 = call i32 @waker9(i32 noundef 0)
br label %24
24: ; preds = %22
%25 = call i32 @waker10(i32 noundef 0)
br label %26
26: ; preds = %24
%27 = call i32 @waker11(i32 noundef 0)
br label %28
28: ; preds = %26
%29 = call i32 @waker12(i32 noundef 0)
br label %30
30: ; preds = %28
%31 = call i32 @waker13(i32 noundef 0)
br label %32
32: ; preds = %30
%33 = call i32 @waker14(i32 noundef 0)
br label %34
34: ; preds = %32
%35 = call i32 @waker15(i32 noundef 0)
br label %36
36: ; preds = %34
%37 = call i32 @waker16(i32 noundef 0)
ret i32 0
}
declare i32 @waiter1(i32 noundef) #1
declare i32 @waiter2(i32 noundef) #1
declare i32 @waker1(i32 noundef) #1
declare i32 @waker2(i32 noundef) #1
declare i32 @waker3(i32 noundef) #1
declare i32 @waker4(i32 noundef) #1
declare i32 @waker5(i32 noundef) #1
declare i32 @waker6(i32 noundef) #1
declare i32 @waker7(i32 noundef) #1
declare i32 @waker8(i32 noundef) #1
declare i32 @waker9(i32 noundef) #1
declare i32 @waker10(i32 noundef) #1
declare i32 @waker11(i32 noundef) #1
declare i32 @waker12(i32 noundef) #1
declare i32 @waker13(i32 noundef) #1
declare i32 @waker14(i32 noundef) #1
declare i32 @waker15(i32 noundef) #1
declare i32 @waker16(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE 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_wfrjsrh.c'
source_filename = "/tmp/tmp_wfrjsrh.c"
target datalayout = "e-m:e-p270: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_wfrjsrh.c"
target datalayout = "e-m:e-p270: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/tmporx7ivuv.c'
source_filename = "/tmp/tmporx7ivuv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CHAR_BIT = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmporx7ivuv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CHAR_BIT = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6a170u3w.c'
source_filename = "/tmp/tmp6a170u3w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i32, i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @seconds() #0 {
%1 = alloca %struct.timeval, align 8
%2 = call i32 @gettimeofday(ptr noundef %1, ptr noundef null)
%3 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 1
%4 = load i64, ptr %3, align 8
%5 = sitofp i64 %4 to double
%6 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0
%7 = load i32, ptr %6, align 8
%8 = sitofp i32 %7 to double
%9 = call double @llvm.fmuladd.f64(double 0x3EB0C6F7A0B5ED8D, double %8, double %5)
ret double %9
}
declare i32 @gettimeofday(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6a170u3w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i32, i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @seconds() #0 {
%1 = alloca %struct.timeval, align 8
%2 = call i32 @gettimeofday(ptr noundef %1, ptr noundef null)
%3 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 1
%4 = load i64, ptr %3, align 8
%5 = sitofp i64 %4 to double
%6 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0
%7 = load i32, ptr %6, align 8
%8 = sitofp i32 %7 to double
%9 = call double @llvm.fmuladd.f64(double 0x3EB0C6F7A0B5ED8D, double %8, double %5)
ret double %9
}
declare i32 @gettimeofday(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9dqstk7j.c'
source_filename = "/tmp/tmp9dqstk7j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%c%c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @endloop(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca [200 x i8], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%6 = getelementptr inbounds [200 x i8], ptr %3, i64 0, i64 0
%7 = call i32 @sprintf(ptr noundef %6, ptr noundef @.str, i32 noundef 4, i32 noundef 130)
store i32 %7, ptr %4, align 4
%8 = load i32, ptr %2, align 4
%9 = getelementptr inbounds [200 x i8], ptr %3, i64 0, i64 0
%10 = load i32, ptr %4, align 4
%11 = call i32 @write(i32 noundef %8, ptr noundef %9, i32 noundef %10)
store i32 %11, ptr %5, align 4
ret i32 0
}
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, 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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9dqstk7j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%c%c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @endloop(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca [200 x i8], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%6 = getelementptr inbounds [200 x i8], ptr %3, i64 0, i64 0
%7 = call i32 @sprintf(ptr noundef %6, ptr noundef @.str, i32 noundef 4, i32 noundef 130)
store i32 %7, ptr %4, align 4
%8 = load i32, ptr %2, align 4
%9 = getelementptr inbounds [200 x i8], ptr %3, i64 0, i64 0
%10 = load i32, ptr %4, align 4
%11 = call i32 @write(i32 noundef %8, ptr noundef %9, i32 noundef %10)
store i32 %11, ptr %5, align 4
ret i32 0
}
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, 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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpm207rvo3.c'
source_filename = "/tmp/tmpm207rvo3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @add_recv_bytes(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpm207rvo3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @add_recv_bytes(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpta010muf.c'
source_filename = "/tmp/tmpta010muf.c"
target datalayout = "e-m:e-p270: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.a = private unnamed_addr constant [5 x float] [float 1.000000e+00, float -2.000000e+00, float 1.968750e+00, float -2.000000e+00, float 1.000000e+00], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [5 x float], align 16
%3 = alloca [5 x float], 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.a, i64 20, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 20, i1 false)
%4 = getelementptr inbounds [5 x float], ptr %2, i64 0, i64 0
%5 = getelementptr inbounds [5 x float], ptr %3, i64 0, i64 0
%6 = call i32 @__ESBMC_check_stability(ptr noundef %4, ptr noundef %5)
%7 = call i32 @assert(i32 noundef %6)
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
; 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 @assert(i32 noundef) #3
declare i32 @__ESBMC_check_stability(ptr noundef, ptr 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpta010muf.c"
target datalayout = "e-m:e-p270: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.a = private unnamed_addr constant [5 x float] [float 1.000000e+00, float -2.000000e+00, float 1.968750e+00, float -2.000000e+00, float 1.000000e+00], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [5 x float], align 16
%3 = alloca [5 x float], 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.a, i64 20, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 20, i1 false)
%4 = getelementptr inbounds [5 x float], ptr %2, i64 0, i64 0
%5 = getelementptr inbounds [5 x float], ptr %3, i64 0, i64 0
%6 = call i32 @__ESBMC_check_stability(ptr noundef %4, ptr noundef %5)
%7 = call i32 @assert(i32 noundef %6)
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
; 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 @assert(i32 noundef) #3
declare i32 @__ESBMC_check_stability(ptr noundef, ptr 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp07mcp_uq.c'
source_filename = "/tmp/tmp07mcp_uq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @LPCConfigGet(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = icmp eq i64 %3, 1074266112
%5 = zext i1 %4 to i32
%6 = call i32 @DEBUG_ASSERT(i32 noundef %5)
%7 = load i64, ptr %2, align 8
%8 = add i64 %7, 0
%9 = inttoptr i64 %8 to ptr
%10 = load volatile i64, ptr %9, align 8
%11 = and i64 %10, 256
ret i64 %11
}
declare i32 @DEBUG_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/tmp07mcp_uq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @LPCConfigGet(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = icmp eq i64 %3, 1074266112
%5 = zext i1 %4 to i32
%6 = call i32 @DEBUG_ASSERT(i32 noundef %5)
%7 = load i64, ptr %2, align 8
%8 = add i64 %7, 0
%9 = inttoptr i64 %8 to ptr
%10 = load volatile i64, ptr %9, align 8
%11 = and i64 %10, 256
ret i64 %11
}
declare i32 @DEBUG_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/tmph50rw7ql.c'
source_filename = "/tmp/tmph50rw7ql.c"
target datalayout = "e-m:e-p270: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/tmph50rw7ql.c"
target datalayout = "e-m:e-p270: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/tmp5vpzv9e_.c'
source_filename = "/tmp/tmp5vpzv9e_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dynbuf_priv_memmove(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%10 = load ptr, ptr %5, align 8
%11 = icmp eq ptr %10, null
br i1 %11, label %22, label %12
12: ; preds = %3
%13 = load ptr, ptr %6, align 8
%14 = icmp eq ptr %13, null
br i1 %14, label %22, label %15
15: ; preds = %12
%16 = load ptr, ptr %5, align 8
%17 = load ptr, ptr %6, align 8
%18 = icmp eq ptr %16, %17
br i1 %18, label %22, label %19
19: ; preds = %15
%20 = load i64, ptr %7, align 8
%21 = icmp eq i64 %20, 0
br i1 %21, label %22, label %24
22: ; preds = %19, %15, %12, %3
%23 = load ptr, ptr %5, align 8
store ptr %23, ptr %4, align 8
br label %63
24: ; preds = %19
%25 = load ptr, ptr %5, align 8
store ptr %25, ptr %8, align 8
%26 = load ptr, ptr %6, align 8
store ptr %26, ptr %9, align 8
%27 = load ptr, ptr %9, align 8
%28 = load ptr, ptr %8, align 8
%29 = icmp ult ptr %27, %28
br i1 %29, label %30, label %56
30: ; preds = %24
%31 = load ptr, ptr %9, align 8
%32 = load i64, ptr %7, align 8
%33 = getelementptr inbounds i8, ptr %31, i64 %32
%34 = load ptr, ptr %8, align 8
%35 = icmp ugt ptr %33, %34
br i1 %35, label %36, label %56
36: ; preds = %30
%37 = load i64, ptr %7, align 8
%38 = sub i64 %37, 1
%39 = load ptr, ptr %8, align 8
%40 = getelementptr inbounds i8, ptr %39, i64 %38
store ptr %40, ptr %8, align 8
%41 = load i64, ptr %7, align 8
%42 = sub i64 %41, 1
%43 = load ptr, ptr %9, align 8
%44 = getelementptr inbounds i8, ptr %43, i64 %42
store ptr %44, ptr %9, align 8
br label %45
45: ; preds = %49, %36
%46 = load i64, ptr %7, align 8
%47 = add i64 %46, -1
store i64 %47, ptr %7, align 8
%48 = icmp ne i64 %46, 0
br i1 %48, label %49, label %55
49: ; preds = %45
%50 = load ptr, ptr %9, align 8
%51 = getelementptr inbounds i8, ptr %50, i32 -1
store ptr %51, ptr %9, align 8
%52 = load i8, ptr %50, align 1
%53 = load ptr, ptr %8, align 8
%54 = getelementptr inbounds i8, ptr %53, i32 -1
store ptr %54, ptr %8, align 8
store i8 %52, ptr %53, align 1
br label %45, !llvm.loop !6
55: ; preds = %45
br label %61
56: ; preds = %30, %24
%57 = load ptr, ptr %5, align 8
%58 = load ptr, ptr %6, align 8
%59 = load i64, ptr %7, align 8
%60 = call i32 @dynbuf_priv_memcpy(ptr noundef %57, ptr noundef %58, i64 noundef %59)
br label %61
61: ; preds = %56, %55
%62 = load ptr, ptr %5, align 8
store ptr %62, ptr %4, align 8
br label %63
63: ; preds = %61, %22
%64 = load ptr, ptr %4, align 8
ret ptr %64
}
declare i32 @dynbuf_priv_memcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5vpzv9e_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dynbuf_priv_memmove(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%10 = load ptr, ptr %5, align 8
%11 = icmp eq ptr %10, null
br i1 %11, label %22, label %12
12: ; preds = %3
%13 = load ptr, ptr %6, align 8
%14 = icmp eq ptr %13, null
br i1 %14, label %22, label %15
15: ; preds = %12
%16 = load ptr, ptr %5, align 8
%17 = load ptr, ptr %6, align 8
%18 = icmp eq ptr %16, %17
br i1 %18, label %22, label %19
19: ; preds = %15
%20 = load i64, ptr %7, align 8
%21 = icmp eq i64 %20, 0
br i1 %21, label %22, label %24
22: ; preds = %19, %15, %12, %3
%23 = load ptr, ptr %5, align 8
store ptr %23, ptr %4, align 8
br label %65
24: ; preds = %19
%25 = load ptr, ptr %5, align 8
store ptr %25, ptr %8, align 8
%26 = load ptr, ptr %6, align 8
store ptr %26, ptr %9, align 8
%27 = load ptr, ptr %9, align 8
%28 = load ptr, ptr %8, align 8
%29 = icmp ult ptr %27, %28
br i1 %29, label %30, label %58
30: ; preds = %24
%31 = load ptr, ptr %9, align 8
%32 = load i64, ptr %7, align 8
%33 = getelementptr inbounds i8, ptr %31, i64 %32
%34 = load ptr, ptr %8, align 8
%35 = icmp ugt ptr %33, %34
br i1 %35, label %36, label %58
36: ; preds = %30
%37 = load i64, ptr %7, align 8
%38 = sub i64 %37, 1
%39 = load ptr, ptr %8, align 8
%40 = getelementptr inbounds i8, ptr %39, i64 %38
store ptr %40, ptr %8, align 8
%41 = load i64, ptr %7, align 8
%42 = sub i64 %41, 1
%43 = load ptr, ptr %9, align 8
%44 = getelementptr inbounds i8, ptr %43, i64 %42
store ptr %44, ptr %9, align 8
%45 = load i64, ptr %7, align 8
%46 = add i64 %45, -1
store i64 %46, ptr %7, align 8
%47 = icmp ne i64 %45, 0
br i1 %47, label %.lr.ph, label %57
.lr.ph: ; preds = %36
br label %48
48: ; preds = %.lr.ph, %48
%49 = load ptr, ptr %9, align 8
%50 = getelementptr inbounds i8, ptr %49, i32 -1
store ptr %50, ptr %9, align 8
%51 = load i8, ptr %49, align 1
%52 = load ptr, ptr %8, align 8
%53 = getelementptr inbounds i8, ptr %52, i32 -1
store ptr %53, ptr %8, align 8
store i8 %51, ptr %52, align 1
%54 = load i64, ptr %7, align 8
%55 = add i64 %54, -1
store i64 %55, ptr %7, align 8
%56 = icmp ne i64 %54, 0
br i1 %56, label %48, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %48
br label %57
57: ; preds = %._crit_edge, %36
br label %63
58: ; preds = %30, %24
%59 = load ptr, ptr %5, align 8
%60 = load ptr, ptr %6, align 8
%61 = load i64, ptr %7, align 8
%62 = call i32 @dynbuf_priv_memcpy(ptr noundef %59, ptr noundef %60, i64 noundef %61)
br label %63
63: ; preds = %58, %57
%64 = load ptr, ptr %5, align 8
store ptr %64, ptr %4, align 8
br label %65
65: ; preds = %63, %22
%66 = load ptr, ptr %4, align 8
ret ptr %66
}
declare i32 @dynbuf_priv_memcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp3zlflz25.c'
source_filename = "/tmp/tmp3zlflz25.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0AReading a program\0A\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"is much easier\0A\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"if a standard form is used\0A\00", align 1
@.str.3 = private unnamed_addr constant [31 x i8] c"and each statement is written\0A\00", align 1
@.str.4 = private unnamed_addr constant [22 x i8] c"on a line by itself.\0A\00", align 1
; 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 @printf(ptr noundef @.str)
%3 = call i32 @printf(ptr noundef @.str.1)
%4 = call i32 @printf(ptr noundef @.str.2)
%5 = call i32 @printf(ptr noundef @.str.3)
%6 = call i32 @printf(ptr noundef @.str.4)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3zlflz25.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0AReading a program\0A\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"is much easier\0A\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"if a standard form is used\0A\00", align 1
@.str.3 = private unnamed_addr constant [31 x i8] c"and each statement is written\0A\00", align 1
@.str.4 = private unnamed_addr constant [22 x i8] c"on a line by itself.\0A\00", align 1
; 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 @printf(ptr noundef @.str)
%3 = call i32 @printf(ptr noundef @.str.1)
%4 = call i32 @printf(ptr noundef @.str.2)
%5 = call i32 @printf(ptr noundef @.str.3)
%6 = call i32 @printf(ptr noundef @.str.4)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6um_4se0.c'
source_filename = "/tmp/tmp6um_4se0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SHA256_DIGEST_LENGTH = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6um_4se0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SHA256_DIGEST_LENGTH = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmparrvg0n9.c'
source_filename = "/tmp/tmparrvg0n9.c"
target datalayout = "e-m:e-p270: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 [17 x i8] c"usage: %s count\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"Hello World!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load i32, ptr %4, align 4
%9 = icmp ne i32 %8, 2
br i1 %9, label %10, label %17
10: ; preds = %2
%11 = load i32, ptr @stderr, align 4
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 0
%14 = load ptr, ptr %13, align 8
%15 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str, ptr noundef %14)
%16 = call i32 @exit(i32 noundef -1) #3
unreachable
17: ; preds = %2
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 1
%20 = load ptr, ptr %19, align 8
%21 = call i32 @atoi(ptr noundef %20)
store i32 %21, ptr %6, align 4
br label %22
22: ; preds = %17
store i32 0, ptr %7, align 4
br label %23
23: ; preds = %29, %22
%24 = load i32, ptr %7, align 4
%25 = load i32, ptr %6, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %27, label %32
27: ; preds = %23
%28 = call i32 @printf(ptr noundef @.str.1)
br label %29
29: ; preds = %27
%30 = load i32, ptr %7, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %7, align 4
br label %23, !llvm.loop !6
32: ; preds = %23
ret i32 0
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @atoi(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" }
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/tmparrvg0n9.c"
target datalayout = "e-m:e-p270: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 [17 x i8] c"usage: %s count\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"Hello World!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load i32, ptr %4, align 4
%9 = icmp ne i32 %8, 2
br i1 %9, label %10, label %17
10: ; preds = %2
%11 = load i32, ptr @stderr, align 4
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 0
%14 = load ptr, ptr %13, align 8
%15 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str, ptr noundef %14)
%16 = call i32 @exit(i32 noundef -1) #3
unreachable
17: ; preds = %2
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 1
%20 = load ptr, ptr %19, align 8
%21 = call i32 @atoi(ptr noundef %20)
store i32 %21, ptr %6, align 4
br label %22
22: ; preds = %17
store i32 0, ptr %7, align 4
%23 = load i32, ptr %7, align 4
%24 = load i32, ptr %6, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %.lr.ph, label %34
.lr.ph: ; preds = %22
br label %26
26: ; preds = %.lr.ph, %28
%27 = call i32 @printf(ptr noundef @.str.1)
br label %28
28: ; preds = %26
%29 = load i32, ptr %7, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %7, align 4
%31 = load i32, ptr %7, align 4
%32 = load i32, ptr %6, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %26, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %28
br label %34
34: ; preds = %._crit_edge, %22
ret i32 0
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @atoi(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" }
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/tmpspf_d2ha.c'
source_filename = "/tmp/tmpspf_d2ha.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @volume(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = call i32 @pow(float noundef %3, i32 noundef 3)
%5 = sitofp i32 %4 to double
%6 = fmul double 0x400921FD1569F490, %5
%7 = fptrunc double %6 to float
ret float %7
}
declare i32 @pow(float 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/tmpspf_d2ha.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @volume(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = call i32 @pow(float noundef %3, i32 noundef 3)
%5 = sitofp i32 %4 to double
%6 = fmul double 0x400921FD1569F490, %5
%7 = fptrunc double %6 to float
ret float %7
}
declare i32 @pow(float 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/tmphtf0u1t_.c'
source_filename = "/tmp/tmphtf0u1t_.c"
target datalayout = "e-m:e-p270: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/tmphtf0u1t_.c"
target datalayout = "e-m:e-p270: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/tmpjz80ibgm.c'
source_filename = "/tmp/tmpjz80ibgm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"\0AHello World!\0A\00", align 1
; 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 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjz80ibgm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"\0AHello World!\0A\00", align 1
; 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 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwoba38x_.c'
source_filename = "/tmp/tmpwoba38x_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"testFile\00", align 1
@O_APPEND = dso_local global i32 0, align 4
@O_WRONLY = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [5 x i8] c"open\00", align 1
@SEEK_SET = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [6 x i8] c"lseek\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"new\0A\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"write\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr @O_APPEND, align 4
%8 = load i32, ptr @O_WRONLY, align 4
%9 = or i32 %7, %8
%10 = call i32 @open(ptr noundef @.str, i32 noundef %9)
store i32 %10, ptr %6, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp eq i32 %11, -1
br i1 %12, label %13, label %15
13: ; preds = %2
%14 = call i32 @errExit(ptr noundef @.str.1)
br label %15
15: ; preds = %13, %2
%16 = load i32, ptr %6, align 4
%17 = load i32, ptr @SEEK_SET, align 4
%18 = call i32 @lseek(i32 noundef %16, i32 noundef 0, i32 noundef %17)
%19 = icmp eq i32 %18, -1
br i1 %19, label %20, label %22
20: ; preds = %15
%21 = call i32 @errExit(ptr noundef @.str.2)
br label %22
22: ; preds = %20, %15
%23 = load i32, ptr %6, align 4
%24 = call i32 @write(i32 noundef %23, ptr noundef @.str.3, i32 noundef 5)
%25 = icmp eq i32 %24, -1
br i1 %25, label %26, label %28
26: ; preds = %22
%27 = call i32 @errExit(ptr noundef @.str.4)
br label %28
28: ; preds = %26, %22
%29 = load i32, ptr @EXIT_SUCCESS, align 4
%30 = call i32 @exit(i32 noundef %29) #3
unreachable
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @errExit(ptr noundef) #1
declare i32 @lseek(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwoba38x_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"testFile\00", align 1
@O_APPEND = dso_local global i32 0, align 4
@O_WRONLY = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [5 x i8] c"open\00", align 1
@SEEK_SET = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [6 x i8] c"lseek\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"new\0A\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"write\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr @O_APPEND, align 4
%8 = load i32, ptr @O_WRONLY, align 4
%9 = or i32 %7, %8
%10 = call i32 @open(ptr noundef @.str, i32 noundef %9)
store i32 %10, ptr %6, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp eq i32 %11, -1
br i1 %12, label %13, label %15
13: ; preds = %2
%14 = call i32 @errExit(ptr noundef @.str.1)
br label %15
15: ; preds = %13, %2
%16 = load i32, ptr %6, align 4
%17 = load i32, ptr @SEEK_SET, align 4
%18 = call i32 @lseek(i32 noundef %16, i32 noundef 0, i32 noundef %17)
%19 = icmp eq i32 %18, -1
br i1 %19, label %20, label %22
20: ; preds = %15
%21 = call i32 @errExit(ptr noundef @.str.2)
br label %22
22: ; preds = %20, %15
%23 = load i32, ptr %6, align 4
%24 = call i32 @write(i32 noundef %23, ptr noundef @.str.3, i32 noundef 5)
%25 = icmp eq i32 %24, -1
br i1 %25, label %26, label %28
26: ; preds = %22
%27 = call i32 @errExit(ptr noundef @.str.4)
br label %28
28: ; preds = %26, %22
%29 = load i32, ptr @EXIT_SUCCESS, align 4
%30 = call i32 @exit(i32 noundef %29) #3
unreachable
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @errExit(ptr noundef) #1
declare i32 @lseek(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzqaqfvnu.c'
source_filename = "/tmp/tmpzqaqfvnu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [35 x i8] c"allocation failure 1 in usmatrix()\00", align 1
@.str.1 = private unnamed_addr constant [34 x i8] c"allocation failure 2 in smatrix()\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @usmatrix(i64 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3) #0 {
%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
%11 = alloca i64, align 8
%12 = alloca ptr, align 8
store i64 %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store i64 %3, ptr %8, align 8
%13 = load i64, ptr %6, align 8
%14 = load i64, ptr %5, align 8
%15 = sub nsw i64 %13, %14
%16 = add nsw i64 %15, 1
store i64 %16, ptr %10, align 8
%17 = load i64, ptr %8, align 8
%18 = load i64, ptr %7, align 8
%19 = sub nsw i64 %17, %18
%20 = add nsw i64 %19, 1
store i64 %20, ptr %11, align 8
%21 = load i64, ptr %10, align 8
%22 = add nsw i64 %21, 0
%23 = mul i64 %22, 8
%24 = call i64 @malloc(i64 noundef %23)
%25 = inttoptr i64 %24 to ptr
store ptr %25, ptr %12, align 8
%26 = load ptr, ptr %12, align 8
%27 = icmp ne ptr %26, null
br i1 %27, label %30, label %28
28: ; preds = %4
%29 = call i32 @nrerror(ptr noundef @.str)
br label %30
30: ; preds = %28, %4
%31 = load ptr, ptr %12, align 8
%32 = getelementptr inbounds ptr, ptr %31, i64 0
store ptr %32, ptr %12, align 8
%33 = load i64, ptr %5, align 8
%34 = load ptr, ptr %12, align 8
%35 = sub i64 0, %33
%36 = getelementptr inbounds ptr, ptr %34, i64 %35
store ptr %36, ptr %12, align 8
%37 = load i64, ptr %10, align 8
%38 = load i64, ptr %11, align 8
%39 = mul nsw i64 %37, %38
%40 = add nsw i64 %39, 0
%41 = mul i64 %40, 4
%42 = call i64 @malloc(i64 noundef %41)
%43 = inttoptr i64 %42 to ptr
%44 = load ptr, ptr %12, align 8
%45 = load i64, ptr %5, align 8
%46 = getelementptr inbounds ptr, ptr %44, i64 %45
store ptr %43, ptr %46, align 8
%47 = load ptr, ptr %12, align 8
%48 = load i64, ptr %5, align 8
%49 = getelementptr inbounds ptr, ptr %47, i64 %48
%50 = load ptr, ptr %49, align 8
%51 = icmp ne ptr %50, null
br i1 %51, label %54, label %52
52: ; preds = %30
%53 = call i32 @nrerror(ptr noundef @.str.1)
br label %54
54: ; preds = %52, %30
%55 = load ptr, ptr %12, align 8
%56 = load i64, ptr %5, align 8
%57 = getelementptr inbounds ptr, ptr %55, i64 %56
%58 = load ptr, ptr %57, align 8
%59 = getelementptr inbounds i32, ptr %58, i64 0
store ptr %59, ptr %57, align 8
%60 = load i64, ptr %7, align 8
%61 = load ptr, ptr %12, align 8
%62 = load i64, ptr %5, align 8
%63 = getelementptr inbounds ptr, ptr %61, i64 %62
%64 = load ptr, ptr %63, align 8
%65 = sub i64 0, %60
%66 = getelementptr inbounds i32, ptr %64, i64 %65
store ptr %66, ptr %63, align 8
%67 = load i64, ptr %5, align 8
%68 = add nsw i64 %67, 1
store i64 %68, ptr %9, align 8
br label %69
69: ; preds = %84, %54
%70 = load i64, ptr %9, align 8
%71 = load i64, ptr %6, align 8
%72 = icmp sle i64 %70, %71
br i1 %72, label %73, label %87
73: ; preds = %69
%74 = load ptr, ptr %12, align 8
%75 = load i64, ptr %9, align 8
%76 = sub nsw i64 %75, 1
%77 = getelementptr inbounds ptr, ptr %74, i64 %76
%78 = load ptr, ptr %77, align 8
%79 = load i64, ptr %11, align 8
%80 = getelementptr inbounds i32, ptr %78, i64 %79
%81 = load ptr, ptr %12, align 8
%82 = load i64, ptr %9, align 8
%83 = getelementptr inbounds ptr, ptr %81, i64 %82
store ptr %80, ptr %83, align 8
br label %84
84: ; preds = %73
%85 = load i64, ptr %9, align 8
%86 = add nsw i64 %85, 1
store i64 %86, ptr %9, align 8
br label %69, !llvm.loop !6
87: ; preds = %69
%88 = load ptr, ptr %12, align 8
ret ptr %88
}
declare i64 @malloc(i64 noundef) #1
declare i32 @nrerror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpzqaqfvnu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [35 x i8] c"allocation failure 1 in usmatrix()\00", align 1
@.str.1 = private unnamed_addr constant [34 x i8] c"allocation failure 2 in smatrix()\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @usmatrix(i64 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3) #0 {
%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
%11 = alloca i64, align 8
%12 = alloca ptr, align 8
store i64 %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store i64 %3, ptr %8, align 8
%13 = load i64, ptr %6, align 8
%14 = load i64, ptr %5, align 8
%15 = sub nsw i64 %13, %14
%16 = add nsw i64 %15, 1
store i64 %16, ptr %10, align 8
%17 = load i64, ptr %8, align 8
%18 = load i64, ptr %7, align 8
%19 = sub nsw i64 %17, %18
%20 = add nsw i64 %19, 1
store i64 %20, ptr %11, align 8
%21 = load i64, ptr %10, align 8
%22 = add nsw i64 %21, 0
%23 = mul i64 %22, 8
%24 = call i64 @malloc(i64 noundef %23)
%25 = inttoptr i64 %24 to ptr
store ptr %25, ptr %12, align 8
%26 = load ptr, ptr %12, align 8
%27 = icmp ne ptr %26, null
br i1 %27, label %30, label %28
28: ; preds = %4
%29 = call i32 @nrerror(ptr noundef @.str)
br label %30
30: ; preds = %28, %4
%31 = load ptr, ptr %12, align 8
%32 = getelementptr inbounds ptr, ptr %31, i64 0
store ptr %32, ptr %12, align 8
%33 = load i64, ptr %5, align 8
%34 = load ptr, ptr %12, align 8
%35 = sub i64 0, %33
%36 = getelementptr inbounds ptr, ptr %34, i64 %35
store ptr %36, ptr %12, align 8
%37 = load i64, ptr %10, align 8
%38 = load i64, ptr %11, align 8
%39 = mul nsw i64 %37, %38
%40 = add nsw i64 %39, 0
%41 = mul i64 %40, 4
%42 = call i64 @malloc(i64 noundef %41)
%43 = inttoptr i64 %42 to ptr
%44 = load ptr, ptr %12, align 8
%45 = load i64, ptr %5, align 8
%46 = getelementptr inbounds ptr, ptr %44, i64 %45
store ptr %43, ptr %46, align 8
%47 = load ptr, ptr %12, align 8
%48 = load i64, ptr %5, align 8
%49 = getelementptr inbounds ptr, ptr %47, i64 %48
%50 = load ptr, ptr %49, align 8
%51 = icmp ne ptr %50, null
br i1 %51, label %54, label %52
52: ; preds = %30
%53 = call i32 @nrerror(ptr noundef @.str.1)
br label %54
54: ; preds = %52, %30
%55 = load ptr, ptr %12, align 8
%56 = load i64, ptr %5, align 8
%57 = getelementptr inbounds ptr, ptr %55, i64 %56
%58 = load ptr, ptr %57, align 8
%59 = getelementptr inbounds i32, ptr %58, i64 0
store ptr %59, ptr %57, align 8
%60 = load i64, ptr %7, align 8
%61 = load ptr, ptr %12, align 8
%62 = load i64, ptr %5, align 8
%63 = getelementptr inbounds ptr, ptr %61, i64 %62
%64 = load ptr, ptr %63, align 8
%65 = sub i64 0, %60
%66 = getelementptr inbounds i32, ptr %64, i64 %65
store ptr %66, ptr %63, align 8
%67 = load i64, ptr %5, align 8
%68 = add nsw i64 %67, 1
store i64 %68, ptr %9, align 8
%69 = load i64, ptr %9, align 8
%70 = load i64, ptr %6, align 8
%71 = icmp sle i64 %69, %70
br i1 %71, label %.lr.ph, label %89
.lr.ph: ; preds = %54
br label %72
72: ; preds = %.lr.ph, %83
%73 = load ptr, ptr %12, align 8
%74 = load i64, ptr %9, align 8
%75 = sub nsw i64 %74, 1
%76 = getelementptr inbounds ptr, ptr %73, i64 %75
%77 = load ptr, ptr %76, align 8
%78 = load i64, ptr %11, align 8
%79 = getelementptr inbounds i32, ptr %77, i64 %78
%80 = load ptr, ptr %12, align 8
%81 = load i64, ptr %9, align 8
%82 = getelementptr inbounds ptr, ptr %80, i64 %81
store ptr %79, ptr %82, align 8
br label %83
83: ; preds = %72
%84 = load i64, ptr %9, align 8
%85 = add nsw i64 %84, 1
store i64 %85, ptr %9, align 8
%86 = load i64, ptr %9, align 8
%87 = load i64, ptr %6, align 8
%88 = icmp sle i64 %86, %87
br i1 %88, label %72, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %83
br label %89
89: ; preds = %._crit_edge, %54
%90 = load ptr, ptr %12, align 8
ret ptr %90
}
declare i64 @malloc(i64 noundef) #1
declare i32 @nrerror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpizcr365z.c'
source_filename = "/tmp/tmpizcr365z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @swab32(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %3, align 4
%4 = load i32, ptr %2, align 4
%5 = and i32 %4, 255
%6 = shl i32 %5, 24
%7 = load i32, ptr %2, align 4
%8 = and i32 %7, 65280
%9 = shl i32 %8, 8
%10 = or i32 %6, %9
%11 = load i32, ptr %2, align 4
%12 = and i32 %11, 16711680
%13 = lshr i32 %12, 8
%14 = or i32 %10, %13
%15 = load i32, ptr %2, align 4
%16 = and i32 %15, -16777216
%17 = lshr i32 %16, 24
%18 = or i32 %14, %17
store i32 %18, ptr %3, align 4
%19 = load i32, ptr %3, align 4
ret i32 %19
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpizcr365z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @swab32(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %3, align 4
%4 = load i32, ptr %2, align 4
%5 = and i32 %4, 255
%6 = shl i32 %5, 24
%7 = load i32, ptr %2, align 4
%8 = and i32 %7, 65280
%9 = shl i32 %8, 8
%10 = or i32 %6, %9
%11 = load i32, ptr %2, align 4
%12 = and i32 %11, 16711680
%13 = lshr i32 %12, 8
%14 = or i32 %10, %13
%15 = load i32, ptr %2, align 4
%16 = and i32 %15, -16777216
%17 = lshr i32 %16, 24
%18 = or i32 %14, %17
store i32 %18, ptr %3, align 4
%19 = load i32, ptr %3, align 4
ret i32 %19
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp385msc7g.c'
source_filename = "/tmp/tmp385msc7g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = call i32 @get_options(i32 noundef %7, ptr noundef %8)
store i32 %9, ptr %6, align 4
%10 = load i32, ptr %6, align 4
%11 = icmp slt i32 %10, 0
br i1 %11, label %12, label %15
12: ; preds = %2
%13 = call i32 (...) @help()
%14 = call i32 @exit(i32 noundef -1) #3
unreachable
15: ; preds = %2
%16 = call i32 (...) @start_tasks()
store i32 %16, ptr %6, align 4
ret i32 0
}
declare i32 @get_options(i32 noundef, ptr noundef) #1
declare i32 @help(...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @start_tasks(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmp385msc7g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = call i32 @get_options(i32 noundef %7, ptr noundef %8)
store i32 %9, ptr %6, align 4
%10 = load i32, ptr %6, align 4
%11 = icmp slt i32 %10, 0
br i1 %11, label %12, label %15
12: ; preds = %2
%13 = call i32 (...) @help()
%14 = call i32 @exit(i32 noundef -1) #3
unreachable
15: ; preds = %2
%16 = call i32 (...) @start_tasks()
store i32 %16, ptr %6, align 4
ret i32 0
}
declare i32 @get_options(i32 noundef, ptr noundef) #1
declare i32 @help(...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @start_tasks(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmp04tg1o1r.c'
source_filename = "/tmp/tmp04tg1o1r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"child %u: %u\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = call i32 (...) @getpid()
store i32 %3, ptr %1, align 4
%4 = call i32 (...) @getpgrp()
store i32 %4, ptr %2, align 4
%5 = load i32, ptr %1, align 4
%6 = load i32, ptr %2, align 4
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %5, i32 noundef %6)
ret void
}
declare i32 @getpid(...) #1
declare i32 @getpgrp(...) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp04tg1o1r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"child %u: %u\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = call i32 (...) @getpid()
store i32 %3, ptr %1, align 4
%4 = call i32 (...) @getpgrp()
store i32 %4, ptr %2, align 4
%5 = load i32, ptr %1, align 4
%6 = load i32, ptr %2, align 4
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %5, i32 noundef %6)
ret void
}
declare i32 @getpid(...) #1
declare i32 @getpgrp(...) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwwjffp6i.c'
source_filename = "/tmp/tmpwwjffp6i.c"
target datalayout = "e-m:e-p270: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/tmpwwjffp6i.c"
target datalayout = "e-m:e-p270: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/tmpjuo5g01z.c'
source_filename = "/tmp/tmpjuo5g01z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"share\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @OllY25605934475341_br_find_data_dir(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%6 = call ptr @OllY25605934475341_br_find_prefix(ptr noundef null)
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %16
9: ; preds = %1
%10 = load ptr, ptr %3, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %15
12: ; preds = %9
%13 = load ptr, ptr %3, align 8
%14 = call ptr @strdup(ptr noundef %13)
store ptr %14, ptr %2, align 8
br label %22
15: ; preds = %9
store ptr null, ptr %2, align 8
br label %22
16: ; preds = %1
%17 = load ptr, ptr %4, align 8
%18 = call ptr @OllY25605934475341_br_build_path(ptr noundef %17, ptr noundef @.str)
store ptr %18, ptr %5, align 8
%19 = load ptr, ptr %4, align 8
%20 = call i32 @free(ptr noundef %19)
%21 = load ptr, ptr %5, align 8
store ptr %21, ptr %2, align 8
br label %22
22: ; preds = %16, %15, %12
%23 = load ptr, ptr %2, align 8
ret ptr %23
}
declare ptr @OllY25605934475341_br_find_prefix(ptr noundef) #1
declare ptr @strdup(ptr noundef) #1
declare ptr @OllY25605934475341_br_build_path(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjuo5g01z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"share\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @OllY25605934475341_br_find_data_dir(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%6 = call ptr @OllY25605934475341_br_find_prefix(ptr noundef null)
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %16
9: ; preds = %1
%10 = load ptr, ptr %3, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %15
12: ; preds = %9
%13 = load ptr, ptr %3, align 8
%14 = call ptr @strdup(ptr noundef %13)
store ptr %14, ptr %2, align 8
br label %22
15: ; preds = %9
store ptr null, ptr %2, align 8
br label %22
16: ; preds = %1
%17 = load ptr, ptr %4, align 8
%18 = call ptr @OllY25605934475341_br_build_path(ptr noundef %17, ptr noundef @.str)
store ptr %18, ptr %5, align 8
%19 = load ptr, ptr %4, align 8
%20 = call i32 @free(ptr noundef %19)
%21 = load ptr, ptr %5, align 8
store ptr %21, ptr %2, align 8
br label %22
22: ; preds = %16, %15, %12
%23 = load ptr, ptr %2, align 8
ret ptr %23
}
declare ptr @OllY25605934475341_br_find_prefix(ptr noundef) #1
declare ptr @strdup(ptr noundef) #1
declare ptr @OllY25605934475341_br_build_path(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnlqpgvx5.c'
source_filename = "/tmp/tmpnlqpgvx5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_5__ = type { ptr }
@SYS_sched_getaffinity = dso_local global i32 0, align 4
@errno = dso_local global i64 0, align 8
@EINVAL = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_max_number_of_cpus() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
store i32 2048, ptr %3, align 4
%9 = load i32, ptr %3, align 4
%10 = call ptr @cpuset_alloc(i32 noundef %9, ptr noundef %4, ptr noundef null)
store ptr %10, ptr %5, align 8
%11 = load ptr, ptr %5, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %14, label %13
13: ; preds = %0
store i32 -1, ptr %1, align 4
br label %64
14: ; preds = %0
br label %15
15: ; preds = %58, %14
br label %16
16: ; preds = %15
%17 = load i64, ptr %4, align 8
%18 = udiv i64 %17, 8
store i64 %18, ptr %7, align 8
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds %struct.TYPE_5__, ptr %19, i32 0, i32 0
%21 = load ptr, ptr %20, align 8
store ptr %21, ptr %8, align 8
store i64 0, ptr %6, align 8
br label %22
22: ; preds = %30, %16
%23 = load i64, ptr %6, align 8
%24 = load i64, ptr %7, align 8
%25 = icmp ult i64 %23, %24
br i1 %25, label %26, label %33
26: ; preds = %22
%27 = load ptr, ptr %8, align 8
%28 = load i64, ptr %6, align 8
%29 = getelementptr inbounds i64, ptr %27, i64 %28
store i64 0, ptr %29, align 8
br label %30
30: ; preds = %26
%31 = load i64, ptr %6, align 8
%32 = add i64 %31, 1
store i64 %32, ptr %6, align 8
br label %22, !llvm.loop !6
33: ; preds = %22
br label %34
34: ; preds = %33
%35 = load i32, ptr @SYS_sched_getaffinity, align 4
%36 = load i64, ptr %4, align 8
%37 = load ptr, ptr %5, align 8
%38 = call i32 @syscall(i32 noundef %35, i32 noundef 0, i64 noundef %36, ptr noundef %37)
store i32 %38, ptr %2, align 4
%39 = load i32, ptr %2, align 4
%40 = icmp slt i32 %39, 0
br i1 %40, label %41, label %59
41: ; preds = %34
%42 = load i64, ptr @errno, align 8
%43 = load i64, ptr @EINVAL, align 8
%44 = icmp eq i64 %42, %43
br i1 %44, label %45, label %59
45: ; preds = %41
%46 = load i32, ptr %3, align 4
%47 = icmp slt i32 %46, 1048576
br i1 %47, label %48, label %59
48: ; preds = %45
%49 = load ptr, ptr %5, align 8
%50 = call i32 @cpuset_free(ptr noundef %49)
%51 = load i32, ptr %3, align 4
%52 = mul nsw i32 %51, 2
store i32 %52, ptr %3, align 4
%53 = load i32, ptr %3, align 4
%54 = call ptr @cpuset_alloc(i32 noundef %53, ptr noundef %4, ptr noundef null)
store ptr %54, ptr %5, align 8
%55 = load ptr, ptr %5, align 8
%56 = icmp ne ptr %55, null
br i1 %56, label %58, label %57
57: ; preds = %48
store i32 -1, ptr %1, align 4
br label %64
58: ; preds = %48
br label %15
59: ; preds = %45, %41, %34
%60 = load ptr, ptr %5, align 8
%61 = call i32 @cpuset_free(ptr noundef %60)
%62 = load i32, ptr %2, align 4
%63 = mul nsw i32 %62, 8
store i32 %63, ptr %1, align 4
br label %64
64: ; preds = %59, %57, %13
%65 = load i32, ptr %1, align 4
ret i32 %65
}
declare ptr @cpuset_alloc(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @syscall(i32 noundef, i32 noundef, i64 noundef, ptr noundef) #1
declare i32 @cpuset_free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnlqpgvx5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_5__ = type { ptr }
@SYS_sched_getaffinity = dso_local global i32 0, align 4
@errno = dso_local global i64 0, align 8
@EINVAL = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_max_number_of_cpus() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
store i32 2048, ptr %3, align 4
%9 = load i32, ptr %3, align 4
%10 = call ptr @cpuset_alloc(i32 noundef %9, ptr noundef %4, ptr noundef null)
store ptr %10, ptr %5, align 8
%11 = load ptr, ptr %5, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %14, label %13
13: ; preds = %0
store i32 -1, ptr %1, align 4
br label %65
14: ; preds = %0
br label %15
15: ; preds = %50, %14
br label %16
16: ; preds = %15
%17 = load i64, ptr %4, align 8
%18 = udiv i64 %17, 8
store i64 %18, ptr %7, align 8
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds %struct.TYPE_5__, ptr %19, i32 0, i32 0
%21 = load ptr, ptr %20, align 8
store ptr %21, ptr %8, align 8
store i64 0, ptr %6, align 8
%22 = load i64, ptr %6, align 8
%23 = load i64, ptr %7, align 8
%24 = icmp ult i64 %22, %23
br i1 %24, label %.lr.ph, label %35
.lr.ph: ; preds = %16
br label %25
25: ; preds = %.lr.ph, %29
%26 = load ptr, ptr %8, align 8
%27 = load i64, ptr %6, align 8
%28 = getelementptr inbounds i64, ptr %26, i64 %27
store i64 0, ptr %28, align 8
br label %29
29: ; preds = %25
%30 = load i64, ptr %6, align 8
%31 = add i64 %30, 1
store i64 %31, ptr %6, align 8
%32 = load i64, ptr %6, align 8
%33 = load i64, ptr %7, align 8
%34 = icmp ult i64 %32, %33
br i1 %34, label %25, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %29
br label %35
35: ; preds = %._crit_edge, %16
br label %36
36: ; preds = %35
%37 = load i32, ptr @SYS_sched_getaffinity, align 4
%38 = load i64, ptr %4, align 8
%39 = load ptr, ptr %5, align 8
%40 = call i32 @syscall(i32 noundef %37, i32 noundef 0, i64 noundef %38, ptr noundef %39)
store i32 %40, ptr %2, align 4
%41 = load i32, ptr %2, align 4
%42 = icmp slt i32 %41, 0
br i1 %42, label %43, label %60
43: ; preds = %36
%44 = load i64, ptr @errno, align 8
%45 = load i64, ptr @EINVAL, align 8
%46 = icmp eq i64 %44, %45
br i1 %46, label %47, label %60
47: ; preds = %43
%48 = load i32, ptr %3, align 4
%49 = icmp slt i32 %48, 1048576
br i1 %49, label %50, label %60
50: ; preds = %47
%51 = load ptr, ptr %5, align 8
%52 = call i32 @cpuset_free(ptr noundef %51)
%53 = load i32, ptr %3, align 4
%54 = mul nsw i32 %53, 2
store i32 %54, ptr %3, align 4
%55 = load i32, ptr %3, align 4
%56 = call ptr @cpuset_alloc(i32 noundef %55, ptr noundef %4, ptr noundef null)
store ptr %56, ptr %5, align 8
%57 = load ptr, ptr %5, align 8
%58 = icmp ne ptr %57, null
br i1 %58, label %15, label %59
59: ; preds = %50
store i32 -1, ptr %1, align 4
br label %65
60: ; preds = %47, %43, %36
%61 = load ptr, ptr %5, align 8
%62 = call i32 @cpuset_free(ptr noundef %61)
%63 = load i32, ptr %2, align 4
%64 = mul nsw i32 %63, 8
store i32 %64, ptr %1, align 4
br label %65
65: ; preds = %60, %59, %13
%66 = load i32, ptr %1, align 4
ret i32 %66
}
declare ptr @cpuset_alloc(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @syscall(i32 noundef, i32 noundef, i64 noundef, ptr noundef) #1
declare i32 @cpuset_free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp786dmfst.c'
source_filename = "/tmp/tmp786dmfst.c"
target datalayout = "e-m:e-p270: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/tmp786dmfst.c"
target datalayout = "e-m:e-p270: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/tmphjh97o6v.c'
source_filename = "/tmp/tmphjh97o6v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"adventurer with 10 HP\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"Hebrac itself\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"...nothing\00", align 1
@.str.3 = private unnamed_addr constant [16 x i8] c"white priestess\00", align 1
@.str.4 = private unnamed_addr constant [16 x i8] c"black priestess\00", align 1
@.str.5 = private unnamed_addr constant [9 x i8] c"merchant\00", align 1
@.str.6 = private unnamed_addr constant [18 x i8] c"amazon with %d HP\00", align 1
@.str.7 = private unnamed_addr constant [17 x i8] c"demon with %d HP\00", align 1
@.str.8 = private unnamed_addr constant [20 x i8] c"magician with %d HP\00", align 1
@.str.9 = private unnamed_addr constant [19 x i8] c"warrior with %d HP\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @extendednameenemy(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 = call i32 @memset(ptr noundef %5, i32 noundef 0, i32 noundef 8)
%7 = load i32, ptr %4, align 4
%8 = srem i32 %7, 13
%9 = icmp eq i32 %8, 10
br i1 %9, label %10, label %13
10: ; preds = %2
%11 = load ptr, ptr %3, align 8
%12 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %11, ptr noundef @.str)
br label %90
13: ; preds = %2
%14 = load i32, ptr %4, align 4
%15 = icmp sgt i32 %14, 51
br i1 %15, label %16, label %19
16: ; preds = %13
%17 = load ptr, ptr %3, align 8
%18 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %17, ptr noundef @.str.1)
br label %89
19: ; preds = %13
%20 = load i32, ptr %4, align 4
%21 = srem i32 %20, 13
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %26
23: ; preds = %19
%24 = load ptr, ptr %3, align 8
%25 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %24, ptr noundef @.str.2)
br label %88
26: ; preds = %19
%27 = load i32, ptr %4, align 4
%28 = srem i32 %27, 13
%29 = icmp eq i32 %28, 11
br i1 %29, label %30, label %36
30: ; preds = %26
%31 = load i32, ptr %4, align 4
%32 = icmp slt i32 %31, 26
br i1 %32, label %33, label %36
33: ; preds = %30
%34 = load ptr, ptr %3, align 8
%35 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %34, ptr noundef @.str.3)
br label %87
36: ; preds = %30, %26
%37 = load i32, ptr %4, align 4
%38 = srem i32 %37, 13
%39 = icmp eq i32 %38, 11
br i1 %39, label %40, label %46
40: ; preds = %36
%41 = load i32, ptr %4, align 4
%42 = icmp sgt i32 %41, 26
br i1 %42, label %43, label %46
43: ; preds = %40
%44 = load ptr, ptr %3, align 8
%45 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %44, ptr noundef @.str.4)
br label %86
46: ; preds = %40, %36
%47 = load i32, ptr %4, align 4
%48 = srem i32 %47, 13
%49 = icmp eq i32 %48, 12
br i1 %49, label %50, label %53
50: ; preds = %46
%51 = load ptr, ptr %3, align 8
%52 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %51, ptr noundef @.str.5)
br label %85
53: ; preds = %46
%54 = load i32, ptr %4, align 4
%55 = icmp slt i32 %54, 13
br i1 %55, label %56, label %61
56: ; preds = %53
%57 = load ptr, ptr %3, align 8
%58 = load i32, ptr %4, align 4
%59 = srem i32 %58, 13
%60 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %57, ptr noundef @.str.6, i32 noundef %59)
br label %84
61: ; preds = %53
%62 = load i32, ptr %4, align 4
%63 = icmp slt i32 %62, 26
br i1 %63, label %64, label %69
64: ; preds = %61
%65 = load ptr, ptr %3, align 8
%66 = load i32, ptr %4, align 4
%67 = srem i32 %66, 13
%68 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %65, ptr noundef @.str.7, i32 noundef %67)
br label %83
69: ; preds = %61
%70 = load i32, ptr %4, align 4
%71 = icmp slt i32 %70, 39
br i1 %71, label %72, label %77
72: ; preds = %69
%73 = load ptr, ptr %3, align 8
%74 = load i32, ptr %4, align 4
%75 = srem i32 %74, 13
%76 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %73, ptr noundef @.str.8, i32 noundef %75)
br label %82
77: ; preds = %69
%78 = load ptr, ptr %3, align 8
%79 = load i32, ptr %4, align 4
%80 = srem i32 %79, 13
%81 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %78, ptr noundef @.str.9, i32 noundef %80)
br label %82
82: ; preds = %77, %72
br label %83
83: ; preds = %82, %64
br label %84
84: ; preds = %83, %56
br label %85
85: ; preds = %84, %50
br label %86
86: ; preds = %85, %43
br label %87
87: ; preds = %86, %33
br label %88
88: ; preds = %87, %23
br label %89
89: ; preds = %88, %16
br label %90
90: ; preds = %89, %10
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @sprintf(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/tmphjh97o6v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"adventurer with 10 HP\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"Hebrac itself\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"...nothing\00", align 1
@.str.3 = private unnamed_addr constant [16 x i8] c"white priestess\00", align 1
@.str.4 = private unnamed_addr constant [16 x i8] c"black priestess\00", align 1
@.str.5 = private unnamed_addr constant [9 x i8] c"merchant\00", align 1
@.str.6 = private unnamed_addr constant [18 x i8] c"amazon with %d HP\00", align 1
@.str.7 = private unnamed_addr constant [17 x i8] c"demon with %d HP\00", align 1
@.str.8 = private unnamed_addr constant [20 x i8] c"magician with %d HP\00", align 1
@.str.9 = private unnamed_addr constant [19 x i8] c"warrior with %d HP\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @extendednameenemy(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 = call i32 @memset(ptr noundef %5, i32 noundef 0, i32 noundef 8)
%7 = load i32, ptr %4, align 4
%8 = srem i32 %7, 13
%9 = icmp eq i32 %8, 10
br i1 %9, label %10, label %13
10: ; preds = %2
%11 = load ptr, ptr %3, align 8
%12 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %11, ptr noundef @.str)
br label %90
13: ; preds = %2
%14 = load i32, ptr %4, align 4
%15 = icmp sgt i32 %14, 51
br i1 %15, label %16, label %19
16: ; preds = %13
%17 = load ptr, ptr %3, align 8
%18 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %17, ptr noundef @.str.1)
br label %89
19: ; preds = %13
%20 = load i32, ptr %4, align 4
%21 = srem i32 %20, 13
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %26
23: ; preds = %19
%24 = load ptr, ptr %3, align 8
%25 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %24, ptr noundef @.str.2)
br label %88
26: ; preds = %19
%27 = load i32, ptr %4, align 4
%28 = srem i32 %27, 13
%29 = icmp eq i32 %28, 11
br i1 %29, label %30, label %36
30: ; preds = %26
%31 = load i32, ptr %4, align 4
%32 = icmp slt i32 %31, 26
br i1 %32, label %33, label %36
33: ; preds = %30
%34 = load ptr, ptr %3, align 8
%35 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %34, ptr noundef @.str.3)
br label %87
36: ; preds = %30, %26
%37 = load i32, ptr %4, align 4
%38 = srem i32 %37, 13
%39 = icmp eq i32 %38, 11
br i1 %39, label %40, label %46
40: ; preds = %36
%41 = load i32, ptr %4, align 4
%42 = icmp sgt i32 %41, 26
br i1 %42, label %43, label %46
43: ; preds = %40
%44 = load ptr, ptr %3, align 8
%45 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %44, ptr noundef @.str.4)
br label %86
46: ; preds = %40, %36
%47 = load i32, ptr %4, align 4
%48 = srem i32 %47, 13
%49 = icmp eq i32 %48, 12
br i1 %49, label %50, label %53
50: ; preds = %46
%51 = load ptr, ptr %3, align 8
%52 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %51, ptr noundef @.str.5)
br label %85
53: ; preds = %46
%54 = load i32, ptr %4, align 4
%55 = icmp slt i32 %54, 13
br i1 %55, label %56, label %61
56: ; preds = %53
%57 = load ptr, ptr %3, align 8
%58 = load i32, ptr %4, align 4
%59 = srem i32 %58, 13
%60 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %57, ptr noundef @.str.6, i32 noundef %59)
br label %84
61: ; preds = %53
%62 = load i32, ptr %4, align 4
%63 = icmp slt i32 %62, 26
br i1 %63, label %64, label %69
64: ; preds = %61
%65 = load ptr, ptr %3, align 8
%66 = load i32, ptr %4, align 4
%67 = srem i32 %66, 13
%68 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %65, ptr noundef @.str.7, i32 noundef %67)
br label %83
69: ; preds = %61
%70 = load i32, ptr %4, align 4
%71 = icmp slt i32 %70, 39
br i1 %71, label %72, label %77
72: ; preds = %69
%73 = load ptr, ptr %3, align 8
%74 = load i32, ptr %4, align 4
%75 = srem i32 %74, 13
%76 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %73, ptr noundef @.str.8, i32 noundef %75)
br label %82
77: ; preds = %69
%78 = load ptr, ptr %3, align 8
%79 = load i32, ptr %4, align 4
%80 = srem i32 %79, 13
%81 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %78, ptr noundef @.str.9, i32 noundef %80)
br label %82
82: ; preds = %77, %72
br label %83
83: ; preds = %82, %64
br label %84
84: ; preds = %83, %56
br label %85
85: ; preds = %84, %50
br label %86
86: ; preds = %85, %43
br label %87
87: ; preds = %86, %33
br label %88
88: ; preds = %87, %23
br label %89
89: ; preds = %88, %16
br label %90
90: ; preds = %89, %10
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @sprintf(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/tmpnjdlciyd.c'
source_filename = "/tmp/tmpnjdlciyd.c"
target datalayout = "e-m:e-p270: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/tmpnjdlciyd.c"
target datalayout = "e-m:e-p270: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/tmphb3e3511.c'
source_filename = "/tmp/tmphb3e3511.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 (...) @f()
%4 = call i32 (...) @replace()
%5 = call i32 (...) @g()
ret i32 0
}
declare i32 @f(...) #1
declare i32 @replace(...) #1
declare i32 @g(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphb3e3511.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 (...) @f()
%4 = call i32 (...) @replace()
%5 = call i32 (...) @g()
ret i32 0
}
declare i32 @f(...) #1
declare i32 @replace(...) #1
declare i32 @g(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5ivdxqq3.c'
source_filename = "/tmp/tmp5ivdxqq3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [95 x i8] c"%%TEST_FAILED%% time=0 testname=testEtatRelai (Test_gestiongpio) message=error message sample\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @testEtatRelai() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = load i32, ptr %1, align 4
%4 = call i32 @EtatRelai(i32 noundef %3)
store i32 %4, ptr %2, align 4
%5 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @EtatRelai(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5ivdxqq3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [95 x i8] c"%%TEST_FAILED%% time=0 testname=testEtatRelai (Test_gestiongpio) message=error message sample\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @testEtatRelai() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = load i32, ptr %1, align 4
%4 = call i32 @EtatRelai(i32 noundef %3)
store i32 %4, ptr %2, align 4
%5 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @EtatRelai(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppg9rqh_c.c'
source_filename = "/tmp/tmppg9rqh_c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
@ERANGE = dso_local global i64 0, align 8
@INT_MIN = dso_local global i64 0, align 8
@INT_MAX = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @strtosint(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 0, ptr @errno, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i64 @strtol(ptr noundef %8, ptr noundef %6, i32 noundef 10)
store i64 %9, ptr %7, align 8
%10 = load ptr, ptr %6, align 8
%11 = load ptr, ptr %4, align 8
%12 = icmp eq ptr %10, %11
br i1 %12, label %30, label %13
13: ; preds = %2
%14 = load ptr, ptr %6, 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 %30, label %18
18: ; preds = %13
%19 = load i64, ptr @errno, align 8
%20 = load i64, ptr @ERANGE, align 8
%21 = icmp eq i64 %19, %20
br i1 %21, label %30, label %22
22: ; preds = %18
%23 = load i64, ptr %7, align 8
%24 = load i64, ptr @INT_MIN, align 8
%25 = icmp slt i64 %23, %24
br i1 %25, label %30, label %26
26: ; preds = %22
%27 = load i64, ptr %7, align 8
%28 = load i64, ptr @INT_MAX, align 8
%29 = icmp sgt i64 %27, %28
br i1 %29, label %30, label %32
30: ; preds = %26, %22, %18, %13, %2
%31 = load ptr, ptr %5, align 8
store i32 1, ptr %31, align 4
store i32 0, ptr %3, align 4
br label %36
32: ; preds = %26
%33 = load ptr, ptr %5, align 8
store i32 0, ptr %33, align 4
%34 = load i64, ptr %7, align 8
%35 = trunc i64 %34 to i32
store i32 %35, ptr %3, align 4
br label %36
36: ; preds = %32, %30
%37 = load i32, ptr %3, align 4
ret i32 %37
}
declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppg9rqh_c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
@ERANGE = dso_local global i64 0, align 8
@INT_MIN = dso_local global i64 0, align 8
@INT_MAX = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @strtosint(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 0, ptr @errno, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i64 @strtol(ptr noundef %8, ptr noundef %6, i32 noundef 10)
store i64 %9, ptr %7, align 8
%10 = load ptr, ptr %6, align 8
%11 = load ptr, ptr %4, align 8
%12 = icmp eq ptr %10, %11
br i1 %12, label %30, label %13
13: ; preds = %2
%14 = load ptr, ptr %6, 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 %30, label %18
18: ; preds = %13
%19 = load i64, ptr @errno, align 8
%20 = load i64, ptr @ERANGE, align 8
%21 = icmp eq i64 %19, %20
br i1 %21, label %30, label %22
22: ; preds = %18
%23 = load i64, ptr %7, align 8
%24 = load i64, ptr @INT_MIN, align 8
%25 = icmp slt i64 %23, %24
br i1 %25, label %30, label %26
26: ; preds = %22
%27 = load i64, ptr %7, align 8
%28 = load i64, ptr @INT_MAX, align 8
%29 = icmp sgt i64 %27, %28
br i1 %29, label %30, label %32
30: ; preds = %26, %22, %18, %13, %2
%31 = load ptr, ptr %5, align 8
store i32 1, ptr %31, align 4
store i32 0, ptr %3, align 4
br label %36
32: ; preds = %26
%33 = load ptr, ptr %5, align 8
store i32 0, ptr %33, align 4
%34 = load i64, ptr %7, align 8
%35 = trunc i64 %34 to i32
store i32 %35, ptr %3, align 4
br label %36
36: ; preds = %32, %30
%37 = load i32, ptr %3, align 4
ret i32 %37
}
declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpga1nhilj.c'
source_filename = "/tmp/tmpga1nhilj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @show_splash_screen(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store i64 0, ptr %3, align 8
br label %5
5: ; preds = %15, %1
%6 = load i64, ptr %3, align 8
%7 = call i32 (...) @term_height()
%8 = sub nsw i32 %7, 2
%9 = sext i32 %8 to i64
%10 = icmp ult i64 %6, %9
br i1 %10, label %11, label %18
11: ; preds = %5
%12 = load i64, ptr %3, align 8
%13 = call i32 @term_move(i64 noundef %12, i32 noundef 0)
%14 = call i32 (...) @term_clrtoeol()
br label %15
15: ; preds = %11
%16 = load i64, ptr %3, align 8
%17 = add i64 %16, 1
store i64 %17, ptr %3, align 8
br label %5, !llvm.loop !6
18: ; preds = %5
%19 = call i32 @term_move(i64 noundef 0, i32 noundef 0)
store i64 0, ptr %3, align 8
%20 = load ptr, ptr %2, align 8
store ptr %20, ptr %4, align 8
br label %21
21: ; preds = %48, %18
%22 = load ptr, ptr %4, align 8
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp ne i32 %24, 0
br i1 %25, label %26, label %32
26: ; preds = %21
%27 = load i64, ptr %3, align 8
%28 = call i32 (...) @term_height()
%29 = sub nsw i32 %28, 2
%30 = sext i32 %29 to i64
%31 = icmp ult i64 %27, %30
br label %32
32: ; preds = %26, %21
%33 = phi i1 [ false, %21 ], [ %31, %26 ]
br i1 %33, label %34, label %51
34: ; preds = %32
%35 = load ptr, ptr %4, align 8
%36 = load i8, ptr %35, align 1
%37 = sext i8 %36 to i32
%38 = icmp eq i32 %37, 10
br i1 %38, label %39, label %43
39: ; preds = %34
%40 = load i64, ptr %3, align 8
%41 = add i64 %40, 1
store i64 %41, ptr %3, align 8
%42 = call i32 @term_move(i64 noundef %41, i32 noundef 0)
br label %47
43: ; preds = %34
%44 = load ptr, ptr %4, align 8
%45 = load i8, ptr %44, align 1
%46 = call i32 @term_addch(i8 noundef signext %45)
br label %47
47: ; preds = %43, %39
br label %48
48: ; preds = %47
%49 = load ptr, ptr %4, align 8
%50 = getelementptr inbounds i8, ptr %49, i32 1
store ptr %50, ptr %4, align 8
br label %21, !llvm.loop !8
51: ; preds = %32
ret void
}
declare i32 @term_height(...) #1
declare i32 @term_move(i64 noundef, i32 noundef) #1
declare i32 @term_clrtoeol(...) #1
declare i32 @term_addch(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/tmpga1nhilj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @show_splash_screen(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store i64 0, ptr %3, align 8
%5 = load i64, ptr %3, align 8
%6 = call i32 (...) @term_height()
%7 = sub nsw i32 %6, 2
%8 = sext i32 %7 to i64
%9 = icmp ult i64 %5, %8
br i1 %9, label %.lr.ph, label %22
.lr.ph: ; preds = %1
br label %10
10: ; preds = %.lr.ph, %14
%11 = load i64, ptr %3, align 8
%12 = call i32 @term_move(i64 noundef %11, i32 noundef 0)
%13 = call i32 (...) @term_clrtoeol()
br label %14
14: ; preds = %10
%15 = load i64, ptr %3, align 8
%16 = add i64 %15, 1
store i64 %16, ptr %3, align 8
%17 = load i64, ptr %3, align 8
%18 = call i32 (...) @term_height()
%19 = sub nsw i32 %18, 2
%20 = sext i32 %19 to i64
%21 = icmp ult i64 %17, %20
br i1 %21, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %22
22: ; preds = %._crit_edge, %1
%23 = call i32 @term_move(i64 noundef 0, i32 noundef 0)
store i64 0, ptr %3, align 8
%24 = load ptr, ptr %2, align 8
store ptr %24, ptr %4, align 8
br label %25
25: ; preds = %52, %22
%26 = load ptr, ptr %4, align 8
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp ne i32 %28, 0
br i1 %29, label %30, label %36
30: ; preds = %25
%31 = load i64, ptr %3, align 8
%32 = call i32 (...) @term_height()
%33 = sub nsw i32 %32, 2
%34 = sext i32 %33 to i64
%35 = icmp ult i64 %31, %34
br label %36
36: ; preds = %30, %25
%37 = phi i1 [ false, %25 ], [ %35, %30 ]
br i1 %37, label %38, label %55
38: ; preds = %36
%39 = load ptr, ptr %4, align 8
%40 = load i8, ptr %39, align 1
%41 = sext i8 %40 to i32
%42 = icmp eq i32 %41, 10
br i1 %42, label %43, label %47
43: ; preds = %38
%44 = load i64, ptr %3, align 8
%45 = add i64 %44, 1
store i64 %45, ptr %3, align 8
%46 = call i32 @term_move(i64 noundef %45, i32 noundef 0)
br label %51
47: ; preds = %38
%48 = load ptr, ptr %4, align 8
%49 = load i8, ptr %48, align 1
%50 = call i32 @term_addch(i8 noundef signext %49)
br label %51
51: ; preds = %47, %43
br label %52
52: ; preds = %51
%53 = load ptr, ptr %4, align 8
%54 = getelementptr inbounds i8, ptr %53, i32 1
store ptr %54, ptr %4, align 8
br label %25, !llvm.loop !8
55: ; preds = %36
ret void
}
declare i32 @term_height(...) #1
declare i32 @term_move(i64 noundef, i32 noundef) #1
declare i32 @term_clrtoeol(...) #1
declare i32 @term_addch(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/tmpav9r8uh5.c'
source_filename = "/tmp/tmpav9r8uh5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = load i32, ptr %1, align 4
%6 = icmp sgt i32 %5, 0
%7 = zext i1 %6 to i32
%8 = call i32 @assume(i32 noundef %7)
%9 = load i32, ptr %1, align 4
store i32 %9, ptr %2, align 4
%10 = load i32, ptr %1, align 4
store i32 %10, ptr %3, align 4
store i32 0, ptr %4, align 4
br label %11
11: ; preds = %15, %0
%12 = load i32, ptr %2, align 4
%13 = load i32, ptr %4, align 4
%14 = icmp sgt i32 %12, %13
br i1 %14, label %15, label %20
15: ; preds = %11
%16 = load i32, ptr %2, align 4
%17 = add nsw i32 %16, -1
store i32 %17, ptr %2, align 4
%18 = load i32, ptr %3, align 4
%19 = add nsw i32 %18, -1
store i32 %19, ptr %3, align 4
br label %11, !llvm.loop !6
20: ; preds = %11
%21 = load i32, ptr %3, align 4
%22 = load i32, ptr %4, align 4
%23 = icmp sge i32 %21, %22
%24 = zext i1 %23 to i32
%25 = call i32 @static_assert(i32 noundef %24)
ret void
}
declare i32 @assume(i32 noundef) #1
declare i32 @static_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/tmpav9r8uh5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = load i32, ptr %1, align 4
%6 = icmp sgt i32 %5, 0
%7 = zext i1 %6 to i32
%8 = call i32 @assume(i32 noundef %7)
%9 = load i32, ptr %1, align 4
store i32 %9, ptr %2, align 4
%10 = load i32, ptr %1, align 4
store i32 %10, ptr %3, align 4
store i32 0, ptr %4, align 4
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr %4, align 4
%13 = icmp sgt i32 %11, %12
br i1 %13, label %.lr.ph, label %22
.lr.ph: ; preds = %0
br label %14
14: ; preds = %.lr.ph, %14
%15 = load i32, ptr %2, align 4
%16 = add nsw i32 %15, -1
store i32 %16, ptr %2, align 4
%17 = load i32, ptr %3, align 4
%18 = add nsw i32 %17, -1
store i32 %18, ptr %3, align 4
%19 = load i32, ptr %2, align 4
%20 = load i32, ptr %4, align 4
%21 = icmp sgt i32 %19, %20
br i1 %21, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %22
22: ; preds = %._crit_edge, %0
%23 = load i32, ptr %3, align 4
%24 = load i32, ptr %4, align 4
%25 = icmp sge i32 %23, %24
%26 = zext i1 %25 to i32
%27 = call i32 @static_assert(i32 noundef %26)
ret void
}
declare i32 @assume(i32 noundef) #1
declare i32 @static_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/tmp4anty2l2.c'
source_filename = "/tmp/tmp4anty2l2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sincos(double noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca double, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store double %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load double, ptr %4, align 8
%8 = call double @_sin(double noundef %7)
%9 = load ptr, ptr %5, align 8
store double %8, ptr %9, align 8
%10 = load double, ptr %4, align 8
%11 = call double @cos(double noundef %10) #3
%12 = load ptr, ptr %6, align 8
store double %11, ptr %12, align 8
ret void
}
declare double @_sin(double noundef) #1
; Function Attrs: nounwind
declare double @cos(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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4anty2l2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sincos(double noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca double, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store double %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load double, ptr %4, align 8
%8 = call double @_sin(double noundef %7)
%9 = load ptr, ptr %5, align 8
store double %8, ptr %9, align 8
%10 = load double, ptr %4, align 8
%11 = call double @cos(double noundef %10) #3
%12 = load ptr, ptr %6, align 8
store double %11, ptr %12, align 8
ret void
}
declare double @_sin(double noundef) #1
; Function Attrs: nounwind
declare double @cos(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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1xizh7mu.c'
source_filename = "/tmp/tmp1xizh7mu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"strings\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"usage: strings filenames\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@.str.3 = private unnamed_addr constant [15 x i8] c"can't open %s:\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = 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
%8 = call i32 @setprogname(ptr noundef @.str)
%9 = load i32, ptr %4, align 4
%10 = icmp eq i32 %9, 1
br i1 %10, label %11, label %13
11: ; preds = %2
%12 = call i32 @eprintf(ptr noundef @.str.1)
br label %48
13: ; preds = %2
store i32 1, ptr %6, align 4
br label %14
14: ; preds = %44, %13
%15 = load i32, ptr %6, align 4
%16 = load i32, ptr %4, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %18, label %47
18: ; preds = %14
%19 = load ptr, ptr %5, align 8
%20 = load i32, ptr %6, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds ptr, ptr %19, i64 %21
%23 = load ptr, ptr %22, align 8
%24 = call ptr @fopen(ptr noundef %23, ptr noundef @.str.2)
store ptr %24, ptr %7, align 8
%25 = icmp eq ptr %24, null
br i1 %25, label %26, label %33
26: ; preds = %18
%27 = load ptr, ptr %5, align 8
%28 = load i32, ptr %6, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds ptr, ptr %27, i64 %29
%31 = load ptr, ptr %30, align 8
%32 = call i32 @weprintf(ptr noundef @.str.3, ptr noundef %31)
br label %43
33: ; preds = %18
%34 = load ptr, ptr %5, align 8
%35 = load i32, ptr %6, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds ptr, ptr %34, i64 %36
%38 = load ptr, ptr %37, align 8
%39 = load ptr, ptr %7, align 8
%40 = call i32 @strings(ptr noundef %38, ptr noundef %39)
%41 = load ptr, ptr %7, align 8
%42 = call i32 @fclose(ptr noundef %41)
br label %43
43: ; preds = %33, %26
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 %14, !llvm.loop !6
47: ; preds = %14
br label %48
48: ; preds = %47, %11
ret i32 0
}
declare i32 @setprogname(ptr noundef) #1
declare i32 @eprintf(ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @weprintf(ptr noundef, ptr noundef) #1
declare i32 @strings(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1xizh7mu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"strings\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"usage: strings filenames\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@.str.3 = private unnamed_addr constant [15 x i8] c"can't open %s:\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = 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
%8 = call i32 @setprogname(ptr noundef @.str)
%9 = load i32, ptr %4, align 4
%10 = icmp eq i32 %9, 1
br i1 %10, label %11, label %13
11: ; preds = %2
%12 = call i32 @eprintf(ptr noundef @.str.1)
br label %50
13: ; preds = %2
store i32 1, ptr %6, align 4
%14 = load i32, ptr %6, align 4
%15 = load i32, ptr %4, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %.lr.ph, label %49
.lr.ph: ; preds = %13
br label %17
17: ; preds = %.lr.ph, %43
%18 = load ptr, ptr %5, align 8
%19 = load i32, ptr %6, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds ptr, ptr %18, i64 %20
%22 = load ptr, ptr %21, align 8
%23 = call ptr @fopen(ptr noundef %22, ptr noundef @.str.2)
store ptr %23, ptr %7, align 8
%24 = icmp eq ptr %23, null
br i1 %24, label %25, label %32
25: ; preds = %17
%26 = load ptr, ptr %5, align 8
%27 = load i32, ptr %6, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds ptr, ptr %26, i64 %28
%30 = load ptr, ptr %29, align 8
%31 = call i32 @weprintf(ptr noundef @.str.3, ptr noundef %30)
br label %42
32: ; preds = %17
%33 = load ptr, ptr %5, align 8
%34 = load i32, ptr %6, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds ptr, ptr %33, i64 %35
%37 = load ptr, ptr %36, align 8
%38 = load ptr, ptr %7, align 8
%39 = call i32 @strings(ptr noundef %37, ptr noundef %38)
%40 = load ptr, ptr %7, align 8
%41 = call i32 @fclose(ptr noundef %40)
br label %42
42: ; preds = %32, %25
br label %43
43: ; preds = %42
%44 = load i32, ptr %6, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %6, align 4
%46 = load i32, ptr %6, align 4
%47 = load i32, ptr %4, align 4
%48 = icmp slt i32 %46, %47
br i1 %48, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %43
br label %49
49: ; preds = %._crit_edge, %13
br label %50
50: ; preds = %49, %11
ret i32 0
}
declare i32 @setprogname(ptr noundef) #1
declare i32 @eprintf(ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @weprintf(ptr noundef, ptr noundef) #1
declare i32 @strings(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"}
|
; ModuleID = '/tmp/tmp70evkhvg.c'
source_filename = "/tmp/tmp70evkhvg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"Resetting Shutdown Device...\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @shutdownReset() #0 {
%1 = call i32 @cPrintf(ptr noundef @.str)
ret void
}
declare i32 @cPrintf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp70evkhvg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"Resetting Shutdown Device...\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @shutdownReset() #0 {
%1 = call i32 @cPrintf(ptr noundef @.str)
ret void
}
declare i32 @cPrintf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmejpbqt9.c'
source_filename = "/tmp/tmpmejpbqt9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getWords(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 i8, align 1
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%13 = load ptr, ptr %4, align 8
store ptr %13, ptr %7, align 8
store i32 0, ptr %9, align 4
store i32 1, ptr %10, align 4
store i32 0, ptr %11, align 4
store i32 0, ptr %12, align 4
br label %14
14: ; preds = %87, %3
%15 = load i32, ptr %10, align 4
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %88
17: ; preds = %14
%18 = load ptr, ptr %7, align 8
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp eq i32 %20, 0
br i1 %21, label %26, label %22
22: ; preds = %17
%23 = load i32, ptr %9, align 4
%24 = load i32, ptr %6, align 4
%25 = icmp sge i32 %23, %24
br i1 %25, label %26, label %27
26: ; preds = %22, %17
br label %88
27: ; preds = %22
%28 = load ptr, ptr %7, align 8
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp eq i32 %30, 34
br i1 %31, label %32, label %47
32: ; preds = %27
%33 = load i8, ptr %8, align 1
%34 = sext i8 %33 to i32
%35 = icmp ne i32 %34, 92
br i1 %35, label %36, label %47
36: ; preds = %32
%37 = load i32, ptr %12, align 4
%38 = icmp ne i32 %37, 0
br i1 %38, label %39, label %41
39: ; preds = %36
store i32 0, ptr %11, align 4
%40 = load ptr, ptr %7, align 8
store i8 0, ptr %40, align 1
store i32 0, ptr %12, align 4
br label %42
41: ; preds = %36
store i32 1, ptr %12, align 4
br label %42
42: ; preds = %41, %39
%43 = load ptr, ptr %7, align 8
%44 = load i8, ptr %43, align 1
store i8 %44, ptr %8, align 1
%45 = load ptr, ptr %7, align 8
%46 = getelementptr inbounds i8, ptr %45, i32 1
store ptr %46, ptr %7, align 8
br label %87
47: ; preds = %32, %27
%48 = load ptr, ptr %7, align 8
%49 = load i8, ptr %48, align 1
%50 = call i64 @isspace(i8 noundef signext %49)
%51 = icmp ne i64 %50, 0
br i1 %51, label %52, label %65
52: ; preds = %47
%53 = load i32, ptr %12, align 4
%54 = icmp ne i32 %53, 0
br i1 %54, label %65, label %55
55: ; preds = %52
%56 = load i32, ptr %11, align 4
%57 = icmp ne i32 %56, 0
br i1 %57, label %58, label %60
58: ; preds = %55
store i32 0, ptr %11, align 4
%59 = load ptr, ptr %7, align 8
store i8 0, ptr %59, align 1
br label %60
60: ; preds = %58, %55
%61 = load ptr, ptr %7, align 8
%62 = load i8, ptr %61, align 1
store i8 %62, ptr %8, align 1
%63 = load ptr, ptr %7, align 8
%64 = getelementptr inbounds i8, ptr %63, i32 1
store ptr %64, ptr %7, align 8
br label %86
65: ; preds = %52, %47
%66 = load i32, ptr %11, align 4
%67 = icmp ne i32 %66, 0
br i1 %67, label %81, label %68
68: ; preds = %65
%69 = load ptr, ptr %7, align 8
%70 = load ptr, ptr %4, align 8
%71 = icmp ne ptr %69, %70
br i1 %71, label %72, label %75
72: ; preds = %68
%73 = load i32, ptr %9, align 4
%74 = add nsw i32 %73, 1
store i32 %74, ptr %9, align 4
br label %75
75: ; preds = %72, %68
%76 = load ptr, ptr %7, align 8
%77 = load ptr, ptr %5, align 8
%78 = load i32, ptr %9, align 4
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds ptr, ptr %77, i64 %79
store ptr %76, ptr %80, align 8
store i32 1, ptr %11, align 4
br label %81
81: ; preds = %75, %65
%82 = load ptr, ptr %7, align 8
%83 = load i8, ptr %82, align 1
store i8 %83, ptr %8, align 1
%84 = load ptr, ptr %7, align 8
%85 = getelementptr inbounds i8, ptr %84, i32 1
store ptr %85, ptr %7, align 8
br label %86
86: ; preds = %81, %60
br label %87
87: ; preds = %86, %42
br label %14, !llvm.loop !6
88: ; preds = %26, %14
%89 = load i32, ptr %9, align 4
ret i32 %89
}
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmejpbqt9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getWords(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 i8, align 1
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%13 = load ptr, ptr %4, align 8
store ptr %13, ptr %7, align 8
store i32 0, ptr %9, align 4
store i32 1, ptr %10, align 4
store i32 0, ptr %11, align 4
store i32 0, ptr %12, align 4
%14 = load i32, ptr %10, align 4
%15 = icmp ne i32 %14, 0
br i1 %15, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %3
br label %16
16: ; preds = %.lr.ph, %86
%17 = load ptr, ptr %7, align 8
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = icmp eq i32 %19, 0
br i1 %20, label %25, label %21
21: ; preds = %16
%22 = load i32, ptr %9, align 4
%23 = load i32, ptr %6, align 4
%24 = icmp sge i32 %22, %23
br i1 %24, label %25, label %26
25: ; preds = %21, %16
br label %89
26: ; preds = %21
%27 = load ptr, ptr %7, align 8
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = icmp eq i32 %29, 34
br i1 %30, label %31, label %46
31: ; preds = %26
%32 = load i8, ptr %8, align 1
%33 = sext i8 %32 to i32
%34 = icmp ne i32 %33, 92
br i1 %34, label %35, label %46
35: ; preds = %31
%36 = load i32, ptr %12, align 4
%37 = icmp ne i32 %36, 0
br i1 %37, label %38, label %40
38: ; preds = %35
store i32 0, ptr %11, align 4
%39 = load ptr, ptr %7, align 8
store i8 0, ptr %39, align 1
store i32 0, ptr %12, align 4
br label %41
40: ; preds = %35
store i32 1, ptr %12, align 4
br label %41
41: ; preds = %40, %38
%42 = load ptr, ptr %7, align 8
%43 = load i8, ptr %42, align 1
store i8 %43, ptr %8, align 1
%44 = load ptr, ptr %7, align 8
%45 = getelementptr inbounds i8, ptr %44, i32 1
store ptr %45, ptr %7, align 8
br label %86
46: ; preds = %31, %26
%47 = load ptr, ptr %7, align 8
%48 = load i8, ptr %47, align 1
%49 = call i64 @isspace(i8 noundef signext %48)
%50 = icmp ne i64 %49, 0
br i1 %50, label %51, label %64
51: ; preds = %46
%52 = load i32, ptr %12, align 4
%53 = icmp ne i32 %52, 0
br i1 %53, label %64, label %54
54: ; preds = %51
%55 = load i32, ptr %11, align 4
%56 = icmp ne i32 %55, 0
br i1 %56, label %57, label %59
57: ; preds = %54
store i32 0, ptr %11, align 4
%58 = load ptr, ptr %7, align 8
store i8 0, ptr %58, align 1
br label %59
59: ; preds = %57, %54
%60 = load ptr, ptr %7, align 8
%61 = load i8, ptr %60, align 1
store i8 %61, ptr %8, align 1
%62 = load ptr, ptr %7, align 8
%63 = getelementptr inbounds i8, ptr %62, i32 1
store ptr %63, ptr %7, align 8
br label %85
64: ; preds = %51, %46
%65 = load i32, ptr %11, align 4
%66 = icmp ne i32 %65, 0
br i1 %66, label %80, label %67
67: ; preds = %64
%68 = load ptr, ptr %7, align 8
%69 = load ptr, ptr %4, align 8
%70 = icmp ne ptr %68, %69
br i1 %70, label %71, label %74
71: ; preds = %67
%72 = load i32, ptr %9, align 4
%73 = add nsw i32 %72, 1
store i32 %73, ptr %9, align 4
br label %74
74: ; preds = %71, %67
%75 = load ptr, ptr %7, align 8
%76 = load ptr, ptr %5, align 8
%77 = load i32, ptr %9, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds ptr, ptr %76, i64 %78
store ptr %75, ptr %79, align 8
store i32 1, ptr %11, align 4
br label %80
80: ; preds = %74, %64
%81 = load ptr, ptr %7, align 8
%82 = load i8, ptr %81, align 1
store i8 %82, ptr %8, align 1
%83 = load ptr, ptr %7, align 8
%84 = getelementptr inbounds i8, ptr %83, i32 1
store ptr %84, ptr %7, align 8
br label %85
85: ; preds = %80, %59
br label %86
86: ; preds = %85, %41
%87 = load i32, ptr %10, align 4
%88 = icmp ne i32 %87, 0
br i1 %88, label %16, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %86
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %3
br label %89
89: ; preds = %.loopexit, %25
%90 = load i32, ptr %9, align 4
ret i32 %90
}
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"}
|
; ModuleID = '/tmp/tmp4tzmmhwv.c'
source_filename = "/tmp/tmp4tzmmhwv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @check_login(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
%10 = load ptr, ptr %6, align 8
%11 = load ptr, ptr %8, align 8
%12 = call i64 @strcmp(ptr noundef %10, ptr noundef %11)
%13 = icmp ne i64 %12, 0
br i1 %13, label %19, label %14
14: ; preds = %4
%15 = load ptr, ptr %7, align 8
%16 = load ptr, ptr %9, align 8
%17 = call i64 @strcmp(ptr noundef %15, ptr noundef %16)
%18 = icmp ne i64 %17, 0
br i1 %18, label %19, label %20
19: ; preds = %14, %4
store i32 -1, ptr %5, align 4
br label %21
20: ; preds = %14
store i32 0, ptr %5, align 4
br label %21
21: ; preds = %20, %19
%22 = load i32, ptr %5, align 4
ret i32 %22
}
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/tmp4tzmmhwv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @check_login(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
%10 = load ptr, ptr %6, align 8
%11 = load ptr, ptr %8, align 8
%12 = call i64 @strcmp(ptr noundef %10, ptr noundef %11)
%13 = icmp ne i64 %12, 0
br i1 %13, label %19, label %14
14: ; preds = %4
%15 = load ptr, ptr %7, align 8
%16 = load ptr, ptr %9, align 8
%17 = call i64 @strcmp(ptr noundef %15, ptr noundef %16)
%18 = icmp ne i64 %17, 0
br i1 %18, label %19, label %20
19: ; preds = %14, %4
store i32 -1, ptr %5, align 4
br label %21
20: ; preds = %14
store i32 0, ptr %5, align 4
br label %21
21: ; preds = %20, %19
%22 = load i32, ptr %5, align 4
ret i32 %22
}
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/tmpticvqh_p.c'
source_filename = "/tmp/tmpticvqh_p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 @print_bits(i32 noundef 16)
%2 = call i32 @print_bits(i32 noundef -16)
%3 = call i32 @print_bits(i32 noundef 30)
%4 = call i32 @print_bits(i32 noundef 32)
ret i32 0
}
declare i32 @print_bits(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpticvqh_p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 @print_bits(i32 noundef 16)
%2 = call i32 @print_bits(i32 noundef -16)
%3 = call i32 @print_bits(i32 noundef 30)
%4 = call i32 @print_bits(i32 noundef 32)
ret i32 0
}
declare i32 @print_bits(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplll33k7d.c'
source_filename = "/tmp/tmplll33k7d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EPOLLERR = dso_local global i32 0, align 4
@EPOLLHUP = dso_local global i32 0, align 4
@EPOLLIN = dso_local global i32 0, align 4
@EPOLLOUT = dso_local global i32 0, align 4
@EPOLLRDHUP = 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/tmplll33k7d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EPOLLERR = dso_local global i32 0, align 4
@EPOLLHUP = dso_local global i32 0, align 4
@EPOLLIN = dso_local global i32 0, align 4
@EPOLLOUT = dso_local global i32 0, align 4
@EPOLLRDHUP = 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/tmpr01dvei6.c'
source_filename = "/tmp/tmpr01dvei6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [201 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/borismarin/genesis2.4gamma/refs/heads/master/genesis/src/diskio/interface/netcdf/netcdf-3.4/src/nc_test/util.c\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"nc_create: %s\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"nc_enddef: %s\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"nc_close: %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @write_file(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @nc_create(ptr noundef %5, i32 noundef 0, ptr noundef %3)
store i32 %6, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = call i64 @ifFail(i32 noundef %7, i32 noundef 650, ptr noundef @.str)
%9 = icmp ne i64 %8, 0
br i1 %9, label %10, label %14
10: ; preds = %1
%11 = load i32, ptr %4, align 4
%12 = call i32 @nc_strerror(i32 noundef %11)
%13 = call i32 @error(ptr noundef @.str.1, i32 noundef %12)
br label %14
14: ; preds = %10, %1
%15 = load i32, ptr %3, align 4
%16 = call i32 @def_dims(i32 noundef %15)
%17 = load i32, ptr %3, align 4
%18 = call i32 @def_vars(i32 noundef %17)
%19 = load i32, ptr %3, align 4
%20 = call i32 @put_atts(i32 noundef %19)
%21 = load i32, ptr %3, align 4
%22 = call i32 @nc_enddef(i32 noundef %21)
store i32 %22, ptr %4, align 4
%23 = load i32, ptr %4, align 4
%24 = call i64 @ifFail(i32 noundef %23, i32 noundef 657, ptr noundef @.str)
%25 = icmp ne i64 %24, 0
br i1 %25, label %26, label %30
26: ; preds = %14
%27 = load i32, ptr %4, align 4
%28 = call i32 @nc_strerror(i32 noundef %27)
%29 = call i32 @error(ptr noundef @.str.2, i32 noundef %28)
br label %30
30: ; preds = %26, %14
%31 = load i32, ptr %3, align 4
%32 = call i32 @put_vars(i32 noundef %31)
%33 = load i32, ptr %3, align 4
%34 = call i32 @nc_close(i32 noundef %33)
store i32 %34, ptr %4, align 4
%35 = load i32, ptr %4, align 4
%36 = call i64 @ifFail(i32 noundef %35, i32 noundef 662, ptr noundef @.str)
%37 = icmp ne i64 %36, 0
br i1 %37, label %38, label %42
38: ; preds = %30
%39 = load i32, ptr %4, align 4
%40 = call i32 @nc_strerror(i32 noundef %39)
%41 = call i32 @error(ptr noundef @.str.3, i32 noundef %40)
br label %42
42: ; preds = %38, %30
ret void
}
declare i32 @nc_create(ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @ifFail(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @error(ptr noundef, i32 noundef) #1
declare i32 @nc_strerror(i32 noundef) #1
declare i32 @def_dims(i32 noundef) #1
declare i32 @def_vars(i32 noundef) #1
declare i32 @put_atts(i32 noundef) #1
declare i32 @nc_enddef(i32 noundef) #1
declare i32 @put_vars(i32 noundef) #1
declare i32 @nc_close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpr01dvei6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [201 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/borismarin/genesis2.4gamma/refs/heads/master/genesis/src/diskio/interface/netcdf/netcdf-3.4/src/nc_test/util.c\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"nc_create: %s\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"nc_enddef: %s\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"nc_close: %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @write_file(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @nc_create(ptr noundef %5, i32 noundef 0, ptr noundef %3)
store i32 %6, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = call i64 @ifFail(i32 noundef %7, i32 noundef 650, ptr noundef @.str)
%9 = icmp ne i64 %8, 0
br i1 %9, label %10, label %14
10: ; preds = %1
%11 = load i32, ptr %4, align 4
%12 = call i32 @nc_strerror(i32 noundef %11)
%13 = call i32 @error(ptr noundef @.str.1, i32 noundef %12)
br label %14
14: ; preds = %10, %1
%15 = load i32, ptr %3, align 4
%16 = call i32 @def_dims(i32 noundef %15)
%17 = load i32, ptr %3, align 4
%18 = call i32 @def_vars(i32 noundef %17)
%19 = load i32, ptr %3, align 4
%20 = call i32 @put_atts(i32 noundef %19)
%21 = load i32, ptr %3, align 4
%22 = call i32 @nc_enddef(i32 noundef %21)
store i32 %22, ptr %4, align 4
%23 = load i32, ptr %4, align 4
%24 = call i64 @ifFail(i32 noundef %23, i32 noundef 657, ptr noundef @.str)
%25 = icmp ne i64 %24, 0
br i1 %25, label %26, label %30
26: ; preds = %14
%27 = load i32, ptr %4, align 4
%28 = call i32 @nc_strerror(i32 noundef %27)
%29 = call i32 @error(ptr noundef @.str.2, i32 noundef %28)
br label %30
30: ; preds = %26, %14
%31 = load i32, ptr %3, align 4
%32 = call i32 @put_vars(i32 noundef %31)
%33 = load i32, ptr %3, align 4
%34 = call i32 @nc_close(i32 noundef %33)
store i32 %34, ptr %4, align 4
%35 = load i32, ptr %4, align 4
%36 = call i64 @ifFail(i32 noundef %35, i32 noundef 662, ptr noundef @.str)
%37 = icmp ne i64 %36, 0
br i1 %37, label %38, label %42
38: ; preds = %30
%39 = load i32, ptr %4, align 4
%40 = call i32 @nc_strerror(i32 noundef %39)
%41 = call i32 @error(ptr noundef @.str.3, i32 noundef %40)
br label %42
42: ; preds = %38, %30
ret void
}
declare i32 @nc_create(ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @ifFail(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @error(ptr noundef, i32 noundef) #1
declare i32 @nc_strerror(i32 noundef) #1
declare i32 @def_dims(i32 noundef) #1
declare i32 @def_vars(i32 noundef) #1
declare i32 @put_atts(i32 noundef) #1
declare i32 @nc_enddef(i32 noundef) #1
declare i32 @put_vars(i32 noundef) #1
declare i32 @nc_close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnk51aalq.c'
source_filename = "/tmp/tmpnk51aalq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"Enter Interval [a,b]: \00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%f %f\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"Enter no of subinterals:\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.4 = private unnamed_addr constant [11 x i8] c"Result: %f\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%10 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%12 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %7)
%13 = load float, ptr %3, align 4
%14 = load float, ptr %2, align 4
%15 = fsub float %13, %14
%16 = load i32, ptr %7, align 4
%17 = sitofp i32 %16 to float
%18 = fdiv float %15, %17
store float %18, ptr %4, align 4
store i32 0, ptr %8, align 4
br label %19
19: ; preds = %46, %0
%20 = load i32, ptr %8, align 4
%21 = load i32, ptr %7, align 4
%22 = icmp sle i32 %20, %21
br i1 %22, label %23, label %49
23: ; preds = %19
%24 = load float, ptr %2, align 4
%25 = load i32, ptr %8, align 4
%26 = sitofp i32 %25 to float
%27 = load float, ptr %4, align 4
%28 = call float @llvm.fmuladd.f32(float %26, float %27, float %24)
store float %28, ptr %5, align 4
%29 = load i32, ptr %8, align 4
%30 = icmp ne i32 %29, 0
br i1 %30, label %31, label %40
31: ; preds = %23
%32 = load i32, ptr %8, align 4
%33 = load i32, ptr %7, align 4
%34 = icmp ne i32 %32, %33
br i1 %34, label %35, label %40
35: ; preds = %31
%36 = load float, ptr %5, align 4
%37 = call float @f(float noundef %36)
%38 = load float, ptr %6, align 4
%39 = call float @llvm.fmuladd.f32(float 2.000000e+00, float %37, float %38)
store float %39, ptr %6, align 4
br label %45
40: ; preds = %31, %23
%41 = load float, ptr %5, align 4
%42 = call float @f(float noundef %41)
%43 = load float, ptr %6, align 4
%44 = fadd float %43, %42
store float %44, ptr %6, align 4
br label %45
45: ; preds = %40, %35
br label %46
46: ; preds = %45
%47 = load i32, ptr %8, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %8, align 4
br label %19, !llvm.loop !6
49: ; preds = %19
%50 = load float, ptr %6, align 4
%51 = load float, ptr %4, align 4
%52 = fmul float %50, %51
%53 = fdiv float %52, 2.000000e+00
store float %53, ptr %6, align 4
%54 = load float, ptr %6, align 4
%55 = fpext float %54 to double
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %55)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
declare float @f(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnk51aalq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"Enter Interval [a,b]: \00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%f %f\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"Enter no of subinterals:\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.4 = private unnamed_addr constant [11 x i8] c"Result: %f\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%10 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%12 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %7)
%13 = load float, ptr %3, align 4
%14 = load float, ptr %2, align 4
%15 = fsub float %13, %14
%16 = load i32, ptr %7, align 4
%17 = sitofp i32 %16 to float
%18 = fdiv float %15, %17
store float %18, ptr %4, align 4
store i32 0, ptr %8, align 4
%19 = load i32, ptr %8, align 4
%20 = load i32, ptr %7, align 4
%21 = icmp sle i32 %19, %20
br i1 %21, label %.lr.ph, label %51
.lr.ph: ; preds = %0
br label %22
22: ; preds = %.lr.ph, %45
%23 = load float, ptr %2, align 4
%24 = load i32, ptr %8, align 4
%25 = sitofp i32 %24 to float
%26 = load float, ptr %4, align 4
%27 = call float @llvm.fmuladd.f32(float %25, float %26, float %23)
store float %27, ptr %5, align 4
%28 = load i32, ptr %8, align 4
%29 = icmp ne i32 %28, 0
br i1 %29, label %30, label %39
30: ; preds = %22
%31 = load i32, ptr %8, align 4
%32 = load i32, ptr %7, align 4
%33 = icmp ne i32 %31, %32
br i1 %33, label %34, label %39
34: ; preds = %30
%35 = load float, ptr %5, align 4
%36 = call float @f(float noundef %35)
%37 = load float, ptr %6, align 4
%38 = call float @llvm.fmuladd.f32(float 2.000000e+00, float %36, float %37)
store float %38, ptr %6, align 4
br label %44
39: ; preds = %30, %22
%40 = load float, ptr %5, align 4
%41 = call float @f(float noundef %40)
%42 = load float, ptr %6, align 4
%43 = fadd float %42, %41
store float %43, ptr %6, align 4
br label %44
44: ; preds = %39, %34
br label %45
45: ; preds = %44
%46 = load i32, ptr %8, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %8, align 4
%48 = load i32, ptr %8, align 4
%49 = load i32, ptr %7, align 4
%50 = icmp sle i32 %48, %49
br i1 %50, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %45
br label %51
51: ; preds = %._crit_edge, %0
%52 = load float, ptr %6, align 4
%53 = load float, ptr %4, align 4
%54 = fmul float %52, %53
%55 = fdiv float %54, 2.000000e+00
store float %55, ptr %6, align 4
%56 = load float, ptr %6, align 4
%57 = fpext float %56 to double
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %57)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
declare float @f(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpztd31_pt.c'
source_filename = "/tmp/tmpztd31_pt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_misaligned_int3() #0 {
%1 = call i32 (...) @return_misaligned_int3()
%2 = call i32 @take_misaligned_int3(i32 noundef %1)
ret void
}
declare i32 @take_misaligned_int3(i32 noundef) #1
declare i32 @return_misaligned_int3(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpztd31_pt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_misaligned_int3() #0 {
%1 = call i32 (...) @return_misaligned_int3()
%2 = call i32 @take_misaligned_int3(i32 noundef %1)
ret void
}
declare i32 @take_misaligned_int3(i32 noundef) #1
declare i32 @return_misaligned_int3(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2uzt_23s.c'
source_filename = "/tmp/tmp2uzt_23s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @I2CMasterIntDisable(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = call i32 @I2CMasterBaseValid(i64 noundef %3)
%5 = call i32 @DEBUG_ASSERT(i32 noundef %4)
%6 = load i64, ptr %2, align 8
%7 = add i64 %6, 16
%8 = inttoptr i64 %7 to ptr
store volatile i64 0, ptr %8, align 8
ret void
}
declare i32 @DEBUG_ASSERT(i32 noundef) #1
declare i32 @I2CMasterBaseValid(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/tmp2uzt_23s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @I2CMasterIntDisable(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = call i32 @I2CMasterBaseValid(i64 noundef %3)
%5 = call i32 @DEBUG_ASSERT(i32 noundef %4)
%6 = load i64, ptr %2, align 8
%7 = add i64 %6, 16
%8 = inttoptr i64 %7 to ptr
store volatile i64 0, ptr %8, align 8
ret void
}
declare i32 @DEBUG_ASSERT(i32 noundef) #1
declare i32 @I2CMasterBaseValid(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/tmpj66pwins.c'
source_filename = "/tmp/tmpj66pwins.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@MS_SYNC = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sgo_shmem_close(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%6 = load i64, ptr %4, align 8
%7 = and i64 %6, 0
store i64 %7, ptr %5, align 8
%8 = load ptr, ptr %3, align 8
%9 = load i64, ptr %5, align 8
%10 = load i32, ptr @MS_SYNC, align 4
%11 = call i32 @msync(ptr noundef %8, i64 noundef %9, i32 noundef %10)
%12 = load ptr, ptr %3, align 8
%13 = load i64, ptr %4, align 8
%14 = call i32 @munmap(ptr noundef %12, i64 noundef %13)
ret void
}
declare i32 @msync(ptr noundef, i64 noundef, i32 noundef) #1
declare i32 @munmap(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/tmpj66pwins.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@MS_SYNC = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sgo_shmem_close(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%6 = load i64, ptr %4, align 8
%7 = and i64 %6, 0
store i64 %7, ptr %5, align 8
%8 = load ptr, ptr %3, align 8
%9 = load i64, ptr %5, align 8
%10 = load i32, ptr @MS_SYNC, align 4
%11 = call i32 @msync(ptr noundef %8, i64 noundef %9, i32 noundef %10)
%12 = load ptr, ptr %3, align 8
%13 = load i64, ptr %4, align 8
%14 = call i32 @munmap(ptr noundef %12, i64 noundef %13)
ret void
}
declare i32 @msync(ptr noundef, i64 noundef, i32 noundef) #1
declare i32 @munmap(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/tmp84fw6inv.c'
source_filename = "/tmp/tmp84fw6inv.c"
target datalayout = "e-m:e-p270: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.pollfd = type { i64, i32, i32 }
@O_RDONLY = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [5 x i8] c"read\00", align 1
@POLLPRI = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [5 x i8] c"poll\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [30 x i8] c"poll returned with no events\0A\00", align 1
@SEEK_SET = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [6 x i8] c"lseek\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"%c\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [1 x %struct.pollfd], align 16
%7 = alloca i8, align 1
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load i32, ptr %4, align 4
%9 = icmp ne i32 %8, 2
br i1 %9, label %10, label %12
10: ; preds = %2
%11 = call i32 (...) @usage()
br label %12
12: ; preds = %10, %2
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 1
%15 = load ptr, ptr %14, align 8
%16 = load i32, ptr @O_RDONLY, align 4
%17 = call i64 @open(ptr noundef %15, i32 noundef %16)
%18 = getelementptr inbounds [1 x %struct.pollfd], ptr %6, i64 0, i64 0
%19 = getelementptr inbounds %struct.pollfd, ptr %18, i32 0, i32 0
store i64 %17, ptr %19, align 16
%20 = getelementptr inbounds [1 x %struct.pollfd], ptr %6, i64 0, i64 0
%21 = getelementptr inbounds %struct.pollfd, ptr %20, i32 0, i32 0
%22 = load i64, ptr %21, align 16
%23 = icmp slt i64 %22, 0
br i1 %23, label %24, label %30
24: ; preds = %12
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds ptr, ptr %25, i64 1
%27 = load ptr, ptr %26, align 8
%28 = call i32 @perror(ptr noundef %27)
%29 = call i32 @exit(i32 noundef 1) #3
unreachable
30: ; preds = %12
%31 = getelementptr inbounds [1 x %struct.pollfd], ptr %6, i64 0, i64 0
%32 = getelementptr inbounds %struct.pollfd, ptr %31, i32 0, i32 0
%33 = load i64, ptr %32, align 16
%34 = call i32 @read(i64 noundef %33, ptr noundef %7, i32 noundef 1)
%35 = icmp ne i32 %34, 1
br i1 %35, label %36, label %39
36: ; preds = %30
%37 = call i32 @perror(ptr noundef @.str)
%38 = call i32 @exit(i32 noundef 1) #3
unreachable
39: ; preds = %30
%40 = load i32, ptr @POLLPRI, align 4
%41 = getelementptr inbounds [1 x %struct.pollfd], ptr %6, i64 0, i64 0
%42 = getelementptr inbounds %struct.pollfd, ptr %41, i32 0, i32 1
store i32 %40, ptr %42, align 8
%43 = getelementptr inbounds [1 x %struct.pollfd], ptr %6, i64 0, i64 0
%44 = getelementptr inbounds %struct.pollfd, ptr %43, i32 0, i32 2
store i32 0, ptr %44, align 4
%45 = getelementptr inbounds [1 x %struct.pollfd], ptr %6, i64 0, i64 0
%46 = call i64 @poll(ptr noundef %45, i32 noundef 1, i32 noundef -1)
%47 = icmp slt i64 %46, 0
br i1 %47, label %48, label %51
48: ; preds = %39
%49 = call i32 @perror(ptr noundef @.str.1)
%50 = call i32 @exit(i32 noundef 1) #3
unreachable
51: ; preds = %39
%52 = getelementptr inbounds [1 x %struct.pollfd], ptr %6, i64 0, i64 0
%53 = getelementptr inbounds %struct.pollfd, ptr %52, i32 0, i32 2
%54 = load i32, ptr %53, align 4
%55 = load i32, ptr @POLLPRI, align 4
%56 = and i32 %54, %55
%57 = icmp ne i32 %56, 0
br i1 %57, label %62, label %58
58: ; preds = %51
%59 = load i32, ptr @stderr, align 4
%60 = call i32 @fprintf(i32 noundef %59, ptr noundef @.str.2)
%61 = call i32 @exit(i32 noundef 1) #3
unreachable
62: ; preds = %51
%63 = call i32 @usleep(i32 noundef 5000)
%64 = getelementptr inbounds [1 x %struct.pollfd], ptr %6, i64 0, i64 0
%65 = getelementptr inbounds %struct.pollfd, ptr %64, i32 0, i32 0
%66 = load i64, ptr %65, align 16
%67 = load i32, ptr @SEEK_SET, align 4
%68 = call i64 @lseek(i64 noundef %66, i32 noundef 0, i32 noundef %67)
%69 = icmp slt i64 %68, 0
br i1 %69, label %70, label %73
70: ; preds = %62
%71 = call i32 @perror(ptr noundef @.str.3)
%72 = call i32 @exit(i32 noundef 1) #3
unreachable
73: ; preds = %62
%74 = getelementptr inbounds [1 x %struct.pollfd], ptr %6, i64 0, i64 0
%75 = getelementptr inbounds %struct.pollfd, ptr %74, i32 0, i32 0
%76 = load i64, ptr %75, align 16
%77 = call i32 @read(i64 noundef %76, ptr noundef %7, i32 noundef 1)
%78 = icmp ne i32 %77, 1
br i1 %78, label %79, label %82
79: ; preds = %73
%80 = call i32 @perror(ptr noundef @.str)
%81 = call i32 @exit(i32 noundef 1) #3
unreachable
82: ; preds = %73
%83 = load i8, ptr %7, align 1
%84 = call i32 @printf(ptr noundef @.str.4, i8 noundef signext %83)
%85 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @usage(...) #1
declare i64 @open(ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @read(i64 noundef, ptr noundef, i32 noundef) #1
declare i64 @poll(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @usleep(i32 noundef) #1
declare i64 @lseek(i64 noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmp84fw6inv.c"
target datalayout = "e-m:e-p270: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.pollfd = type { i64, i32, i32 }
@O_RDONLY = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [5 x i8] c"read\00", align 1
@POLLPRI = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [5 x i8] c"poll\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [30 x i8] c"poll returned with no events\0A\00", align 1
@SEEK_SET = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [6 x i8] c"lseek\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"%c\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [1 x %struct.pollfd], align 16
%7 = alloca i8, align 1
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load i32, ptr %4, align 4
%9 = icmp ne i32 %8, 2
br i1 %9, label %10, label %12
10: ; preds = %2
%11 = call i32 (...) @usage()
br label %12
12: ; preds = %10, %2
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 1
%15 = load ptr, ptr %14, align 8
%16 = load i32, ptr @O_RDONLY, align 4
%17 = call i64 @open(ptr noundef %15, i32 noundef %16)
%18 = getelementptr inbounds [1 x %struct.pollfd], ptr %6, i64 0, i64 0
%19 = getelementptr inbounds %struct.pollfd, ptr %18, i32 0, i32 0
store i64 %17, ptr %19, align 16
%20 = getelementptr inbounds [1 x %struct.pollfd], ptr %6, i64 0, i64 0
%21 = getelementptr inbounds %struct.pollfd, ptr %20, i32 0, i32 0
%22 = load i64, ptr %21, align 16
%23 = icmp slt i64 %22, 0
br i1 %23, label %24, label %30
24: ; preds = %12
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds ptr, ptr %25, i64 1
%27 = load ptr, ptr %26, align 8
%28 = call i32 @perror(ptr noundef %27)
%29 = call i32 @exit(i32 noundef 1) #3
unreachable
30: ; preds = %12
%31 = getelementptr inbounds [1 x %struct.pollfd], ptr %6, i64 0, i64 0
%32 = getelementptr inbounds %struct.pollfd, ptr %31, i32 0, i32 0
%33 = load i64, ptr %32, align 16
%34 = call i32 @read(i64 noundef %33, ptr noundef %7, i32 noundef 1)
%35 = icmp ne i32 %34, 1
br i1 %35, label %36, label %39
36: ; preds = %30
%37 = call i32 @perror(ptr noundef @.str)
%38 = call i32 @exit(i32 noundef 1) #3
unreachable
39: ; preds = %30
%40 = load i32, ptr @POLLPRI, align 4
%41 = getelementptr inbounds [1 x %struct.pollfd], ptr %6, i64 0, i64 0
%42 = getelementptr inbounds %struct.pollfd, ptr %41, i32 0, i32 1
store i32 %40, ptr %42, align 8
%43 = getelementptr inbounds [1 x %struct.pollfd], ptr %6, i64 0, i64 0
%44 = getelementptr inbounds %struct.pollfd, ptr %43, i32 0, i32 2
store i32 0, ptr %44, align 4
%45 = getelementptr inbounds [1 x %struct.pollfd], ptr %6, i64 0, i64 0
%46 = call i64 @poll(ptr noundef %45, i32 noundef 1, i32 noundef -1)
%47 = icmp slt i64 %46, 0
br i1 %47, label %48, label %51
48: ; preds = %39
%49 = call i32 @perror(ptr noundef @.str.1)
%50 = call i32 @exit(i32 noundef 1) #3
unreachable
51: ; preds = %39
%52 = getelementptr inbounds [1 x %struct.pollfd], ptr %6, i64 0, i64 0
%53 = getelementptr inbounds %struct.pollfd, ptr %52, i32 0, i32 2
%54 = load i32, ptr %53, align 4
%55 = load i32, ptr @POLLPRI, align 4
%56 = and i32 %54, %55
%57 = icmp ne i32 %56, 0
br i1 %57, label %62, label %58
58: ; preds = %51
%59 = load i32, ptr @stderr, align 4
%60 = call i32 @fprintf(i32 noundef %59, ptr noundef @.str.2)
%61 = call i32 @exit(i32 noundef 1) #3
unreachable
62: ; preds = %51
%63 = call i32 @usleep(i32 noundef 5000)
%64 = getelementptr inbounds [1 x %struct.pollfd], ptr %6, i64 0, i64 0
%65 = getelementptr inbounds %struct.pollfd, ptr %64, i32 0, i32 0
%66 = load i64, ptr %65, align 16
%67 = load i32, ptr @SEEK_SET, align 4
%68 = call i64 @lseek(i64 noundef %66, i32 noundef 0, i32 noundef %67)
%69 = icmp slt i64 %68, 0
br i1 %69, label %70, label %73
70: ; preds = %62
%71 = call i32 @perror(ptr noundef @.str.3)
%72 = call i32 @exit(i32 noundef 1) #3
unreachable
73: ; preds = %62
%74 = getelementptr inbounds [1 x %struct.pollfd], ptr %6, i64 0, i64 0
%75 = getelementptr inbounds %struct.pollfd, ptr %74, i32 0, i32 0
%76 = load i64, ptr %75, align 16
%77 = call i32 @read(i64 noundef %76, ptr noundef %7, i32 noundef 1)
%78 = icmp ne i32 %77, 1
br i1 %78, label %79, label %82
79: ; preds = %73
%80 = call i32 @perror(ptr noundef @.str)
%81 = call i32 @exit(i32 noundef 1) #3
unreachable
82: ; preds = %73
%83 = load i8, ptr %7, align 1
%84 = call i32 @printf(ptr noundef @.str.4, i8 noundef signext %83)
%85 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @usage(...) #1
declare i64 @open(ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @read(i64 noundef, ptr noundef, i32 noundef) #1
declare i64 @poll(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @usleep(i32 noundef) #1
declare i64 @lseek(i64 noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpmnwvjs4z.c'
source_filename = "/tmp/tmpmnwvjs4z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gmpint_unset(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load i32, ptr %3, align 4
%5 = call i32 @mpz_clear(i32 noundef %4)
ret void
}
declare i32 @mpz_clear(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmnwvjs4z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gmpint_unset(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load i32, ptr %3, align 4
%5 = call i32 @mpz_clear(i32 noundef %4)
ret void
}
declare i32 @mpz_clear(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjy79d44i.c'
source_filename = "/tmp/tmpjy79d44i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SEGGER_SYSVIEW_EncodeString(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %6, align 4
%10 = call ptr @_EncodeStr(ptr noundef %7, ptr noundef %8, i32 noundef %9)
ret ptr %10
}
declare ptr @_EncodeStr(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjy79d44i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SEGGER_SYSVIEW_EncodeString(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %6, align 4
%10 = call ptr @_EncodeStr(ptr noundef %7, ptr noundef %8, i32 noundef %9)
ret ptr %10
}
declare ptr @_EncodeStr(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpe828neih.c'
source_filename = "/tmp/tmpe828neih.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @call_noret1() #0 {
%1 = alloca i32, align 4
%2 = call i32 (...) @fnoret1()
%3 = load i32, ptr %1, align 4
ret i32 %3
}
declare i32 @fnoret1(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe828neih.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @call_noret1() #0 {
%1 = alloca i32, align 4
%2 = call i32 (...) @fnoret1()
%3 = load i32, ptr %1, align 4
ret i32 %3
}
declare i32 @fnoret1(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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.