llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
|---|---|
; ModuleID = '/tmp/tmpyaqfnmrr.c'
source_filename = "/tmp/tmpyaqfnmrr.c"
target datalayout = "e-m:e-p270: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 [40 x i8] c"esock_realloc: cannot realloc %d bytes\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @esock_realloc(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = load i64, ptr %4, align 8
%8 = call ptr @realloc(ptr noundef %6, i64 noundef %7) #4
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %17, label %11
11: ; preds = %2
%12 = load i32, ptr @stderr, align 4
%13 = load i64, ptr %4, align 8
%14 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str, i64 noundef %13)
%15 = load i32, ptr @EXIT_FAILURE, align 4
%16 = call i32 @exit(i32 noundef %15) #5
unreachable
17: ; preds = %2
%18 = load ptr, ptr %5, align 8
ret ptr %18
}
; Function Attrs: allocsize(1)
declare ptr @realloc(ptr noundef, i64 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, i64 noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { allocsize(1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { allocsize(1) }
attributes #5 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyaqfnmrr.c"
target datalayout = "e-m:e-p270: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 [40 x i8] c"esock_realloc: cannot realloc %d bytes\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @esock_realloc(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = load i64, ptr %4, align 8
%8 = call ptr @realloc(ptr noundef %6, i64 noundef %7) #4
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %17, label %11
11: ; preds = %2
%12 = load i32, ptr @stderr, align 4
%13 = load i64, ptr %4, align 8
%14 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str, i64 noundef %13)
%15 = load i32, ptr @EXIT_FAILURE, align 4
%16 = call i32 @exit(i32 noundef %15) #5
unreachable
17: ; preds = %2
%18 = load ptr, ptr %5, align 8
ret ptr %18
}
; Function Attrs: allocsize(1)
declare ptr @realloc(ptr noundef, i64 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, i64 noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { allocsize(1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { allocsize(1) }
attributes #5 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptt_lfuqh.c'
source_filename = "/tmp/tmptt_lfuqh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_INET6 = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @rat_lib_6addr_from_str(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %4, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %11
8: ; preds = %2
%9 = load ptr, ptr %5, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %12, label %11
11: ; preds = %8, %2
br label %20
12: ; preds = %8
%13 = load i32, ptr @AF_INET6, align 4
%14 = load ptr, ptr %5, align 8
%15 = load ptr, ptr %4, align 8
%16 = call i64 @inet_pton(i32 noundef %13, ptr noundef %14, ptr noundef %15)
%17 = icmp ne i64 %16, 0
br i1 %17, label %18, label %19
18: ; preds = %12
store i32 0, ptr %3, align 4
br label %21
19: ; preds = %12
br label %20
20: ; preds = %19, %11
store i32 -1, ptr %3, align 4
br label %21
21: ; preds = %20, %18
%22 = load i32, ptr %3, align 4
ret i32 %22
}
declare i64 @inet_pton(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmptt_lfuqh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_INET6 = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @rat_lib_6addr_from_str(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %4, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %11
8: ; preds = %2
%9 = load ptr, ptr %5, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %12, label %11
11: ; preds = %8, %2
br label %20
12: ; preds = %8
%13 = load i32, ptr @AF_INET6, align 4
%14 = load ptr, ptr %5, align 8
%15 = load ptr, ptr %4, align 8
%16 = call i64 @inet_pton(i32 noundef %13, ptr noundef %14, ptr noundef %15)
%17 = icmp ne i64 %16, 0
br i1 %17, label %18, label %19
18: ; preds = %12
store i32 0, ptr %3, align 4
br label %21
19: ; preds = %12
br label %20
20: ; preds = %19, %11
store i32 -1, ptr %3, align 4
br label %21
21: ; preds = %20, %18
%22 = load i32, ptr %3, align 4
ret i32 %22
}
declare i64 @inet_pton(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp69efb145.c'
source_filename = "/tmp/tmp69efb145.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @yyproto_unpacker_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @free(ptr noundef %3)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp69efb145.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @yyproto_unpacker_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @free(ptr noundef %3)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdidhfm4z.c'
source_filename = "/tmp/tmpdidhfm4z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdidhfm4z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpk3ueao9a.c'
source_filename = "/tmp/tmpk3ueao9a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tglm_message_insert(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 @tglm_message_add_use(ptr noundef %5, ptr noundef %6)
%8 = load ptr, ptr %3, align 8
%9 = load ptr, ptr %4, align 8
%10 = call i32 @tglm_message_add_peer(ptr noundef %8, ptr noundef %9)
ret void
}
declare i32 @tglm_message_add_use(ptr noundef, ptr noundef) #1
declare i32 @tglm_message_add_peer(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/tmpk3ueao9a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tglm_message_insert(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 @tglm_message_add_use(ptr noundef %5, ptr noundef %6)
%8 = load ptr, ptr %3, align 8
%9 = load ptr, ptr %4, align 8
%10 = call i32 @tglm_message_add_peer(ptr noundef %8, ptr noundef %9)
ret void
}
declare i32 @tglm_message_add_use(ptr noundef, ptr noundef) #1
declare i32 @tglm_message_add_peer(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/tmp__0bq8qw.c'
source_filename = "/tmp/tmp__0bq8qw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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\0A\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 [50 x i8], align 16
store i32 0, ptr %1, align 4
store i32 32, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = getelementptr inbounds [50 x i8], ptr %3, i64 0, i64 0
%6 = call i32 @itoa3(i32 noundef %4, ptr noundef %5, i32 noundef 16)
%7 = load i32, ptr %2, align 4
%8 = getelementptr inbounds [50 x i8], ptr %3, i64 0, i64 0
%9 = call i32 @printf(ptr noundef @.str, i32 noundef %7, ptr noundef %8)
ret i32 0
}
declare i32 @itoa3(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp__0bq8qw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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\0A\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 [50 x i8], align 16
store i32 0, ptr %1, align 4
store i32 32, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = getelementptr inbounds [50 x i8], ptr %3, i64 0, i64 0
%6 = call i32 @itoa3(i32 noundef %4, ptr noundef %5, i32 noundef 16)
%7 = load i32, ptr %2, align 4
%8 = getelementptr inbounds [50 x i8], ptr %3, i64 0, i64 0
%9 = call i32 @printf(ptr noundef @.str, i32 noundef %7, ptr noundef %8)
ret i32 0
}
declare i32 @itoa3(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3p0b9niq.c'
source_filename = "/tmp/tmp3p0b9niq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"+-*/^%\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @indentifyLexema(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr @.str, ptr %4, align 8
%5 = load ptr, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = call ptr @strchr(ptr noundef %5, ptr noundef %6)
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %10
9: ; preds = %1
store i32 4, ptr %2, align 4
br label %31
10: ; preds = %1
%11 = load ptr, ptr %3, align 8
%12 = call i64 @isdigit(ptr noundef %11)
%13 = icmp ne i64 %12, 0
br i1 %13, label %14, label %15
14: ; preds = %10
store i32 1, ptr %2, align 4
br label %31
15: ; preds = %10
%16 = load ptr, ptr %3, align 8
%17 = call i64 @isspace(ptr noundef %16)
%18 = icmp ne i64 %17, 0
br i1 %18, label %19, label %20
19: ; preds = %15
store i32 0, ptr %2, align 4
br label %31
20: ; preds = %15
%21 = load ptr, ptr %3, align 8
%22 = call i64 @ispunct(ptr noundef %21)
%23 = icmp ne i64 %22, 0
br i1 %23, label %24, label %25
24: ; preds = %20
store i32 3, ptr %2, align 4
br label %31
25: ; preds = %20
%26 = load ptr, ptr %3, align 8
%27 = call i64 @isalpha(ptr noundef %26)
%28 = icmp ne i64 %27, 0
br i1 %28, label %29, label %30
29: ; preds = %25
store i32 5, ptr %2, align 4
br label %31
30: ; preds = %25
store i32 2, ptr %2, align 4
br label %31
31: ; preds = %30, %29, %24, %19, %14, %9
%32 = load i32, ptr %2, align 4
ret i32 %32
}
declare ptr @strchr(ptr noundef, ptr noundef) #1
declare i64 @isdigit(ptr noundef) #1
declare i64 @isspace(ptr noundef) #1
declare i64 @ispunct(ptr noundef) #1
declare i64 @isalpha(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3p0b9niq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"+-*/^%\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @indentifyLexema(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr @.str, ptr %4, align 8
%5 = load ptr, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = call ptr @strchr(ptr noundef %5, ptr noundef %6)
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %10
9: ; preds = %1
store i32 4, ptr %2, align 4
br label %31
10: ; preds = %1
%11 = load ptr, ptr %3, align 8
%12 = call i64 @isdigit(ptr noundef %11)
%13 = icmp ne i64 %12, 0
br i1 %13, label %14, label %15
14: ; preds = %10
store i32 1, ptr %2, align 4
br label %31
15: ; preds = %10
%16 = load ptr, ptr %3, align 8
%17 = call i64 @isspace(ptr noundef %16)
%18 = icmp ne i64 %17, 0
br i1 %18, label %19, label %20
19: ; preds = %15
store i32 0, ptr %2, align 4
br label %31
20: ; preds = %15
%21 = load ptr, ptr %3, align 8
%22 = call i64 @ispunct(ptr noundef %21)
%23 = icmp ne i64 %22, 0
br i1 %23, label %24, label %25
24: ; preds = %20
store i32 3, ptr %2, align 4
br label %31
25: ; preds = %20
%26 = load ptr, ptr %3, align 8
%27 = call i64 @isalpha(ptr noundef %26)
%28 = icmp ne i64 %27, 0
br i1 %28, label %29, label %30
29: ; preds = %25
store i32 5, ptr %2, align 4
br label %31
30: ; preds = %25
store i32 2, ptr %2, align 4
br label %31
31: ; preds = %30, %29, %24, %19, %14, %9
%32 = load i32, ptr %2, align 4
ret i32 %32
}
declare ptr @strchr(ptr noundef, ptr noundef) #1
declare i64 @isdigit(ptr noundef) #1
declare i64 @isspace(ptr noundef) #1
declare i64 @ispunct(ptr noundef) #1
declare i64 @isalpha(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdb16ou_5.c'
source_filename = "/tmp/tmpdb16ou_5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @dtx_string(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 ptr, ptr %2, align 8
%5 = call i32 @strlen(ptr noundef %4)
%6 = call i32 @dtx_substring(ptr noundef %3, i32 noundef 0, i32 noundef %5)
ret void
}
declare i32 @dtx_substring(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdb16ou_5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @dtx_string(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 ptr, ptr %2, align 8
%5 = call i32 @strlen(ptr noundef %4)
%6 = call i32 @dtx_substring(ptr noundef %3, i32 noundef 0, i32 noundef %5)
ret void
}
declare i32 @dtx_substring(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprwib526v.c'
source_filename = "/tmp/tmprwib526v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@LOG_ERR = dso_local global i32 0, align 4
@SEEK_CUR = dso_local global i32 0, align 4
@SIGHUP = 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/tmprwib526v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@LOG_ERR = dso_local global i32 0, align 4
@SEEK_CUR = dso_local global i32 0, align 4
@SIGHUP = 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/tmpvot6macd.c'
source_filename = "/tmp/tmpvot6macd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
store i32 1, ptr %4, align 4
br label %6
6: ; preds = %16, %0
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %3, align 4
%9 = icmp sle i32 %7, %8
br i1 %9, label %10, label %19
10: ; preds = %6
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr %4, align 4
%13 = sdiv i32 %11, %12
%14 = load i32, ptr %2, align 4
%15 = add nsw i32 %14, %13
store i32 %15, ptr %2, align 4
br label %16
16: ; preds = %10
%17 = load i32, ptr %4, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %4, align 4
br label %6, !llvm.loop !6
19: ; preds = %6
%20 = load i32, ptr %2, align 4
%21 = call i32 @printf(ptr noundef @.str.1, i32 noundef %20)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvot6macd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
store i32 1, ptr %4, align 4
%6 = load i32, ptr %4, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp sle i32 %6, %7
br i1 %8, label %.lr.ph, label %21
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %15
%10 = load i32, ptr %3, align 4
%11 = load i32, ptr %4, align 4
%12 = sdiv i32 %10, %11
%13 = load i32, ptr %2, align 4
%14 = add nsw i32 %13, %12
store i32 %14, ptr %2, align 4
br label %15
15: ; preds = %9
%16 = load i32, ptr %4, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %4, align 4
%18 = load i32, ptr %4, align 4
%19 = load i32, ptr %3, align 4
%20 = icmp sle i32 %18, %19
br i1 %20, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %21
21: ; preds = %._crit_edge, %0
%22 = load i32, ptr %2, align 4
%23 = call i32 @printf(ptr noundef @.str.1, i32 noundef %22)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpl_wwwmk4.c'
source_filename = "/tmp/tmpl_wwwmk4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mission5() #0 {
%1 = call i32 @moveDist(i32 noundef 10, i32 noundef 15)
%2 = call i32 @mission1(i32 noundef -60, i32 noundef 600)
%3 = call i32 @mission1(i32 noundef 10, i32 noundef 500)
ret void
}
declare i32 @moveDist(i32 noundef, i32 noundef) #1
declare i32 @mission1(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/tmpl_wwwmk4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mission5() #0 {
%1 = call i32 @moveDist(i32 noundef 10, i32 noundef 15)
%2 = call i32 @mission1(i32 noundef -60, i32 noundef 600)
%3 = call i32 @mission1(i32 noundef 10, i32 noundef 500)
ret void
}
declare i32 @moveDist(i32 noundef, i32 noundef) #1
declare i32 @mission1(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/tmps6hso84_.c'
source_filename = "/tmp/tmps6hso84_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @INT_P3() #0 {
%1 = call i32 @HandleInterrupt(i32 noundef 3)
ret void
}
declare i32 @HandleInterrupt(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/tmps6hso84_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @INT_P3() #0 {
%1 = call i32 @HandleInterrupt(i32 noundef 3)
ret void
}
declare i32 @HandleInterrupt(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/tmp8n200ez4.c'
source_filename = "/tmp/tmp8n200ez4.c"
target datalayout = "e-m:e-p270: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/tmp8n200ez4.c"
target datalayout = "e-m:e-p270: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/tmp2804hp5n.c'
source_filename = "/tmp/tmp2804hp5n.c"
target datalayout = "e-m:e-p270: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 void @skip_line(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
br label %4
4: ; preds = %1, %14
%5 = load ptr, ptr %2, align 8
%6 = call i32 @fgetc(ptr noundef %5)
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = load i32, ptr @EOF, align 4
%9 = icmp eq i32 %7, %8
br i1 %9, label %13, label %10
10: ; preds = %4
%11 = load i32, ptr %3, align 4
%12 = icmp eq i32 %11, 10
br i1 %12, label %13, label %14
13: ; preds = %10, %4
ret void
14: ; preds = %10
br label %4
}
declare i32 @fgetc(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2804hp5n.c"
target datalayout = "e-m:e-p270: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 void @skip_line(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @fgetc(ptr noundef %4)
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr @EOF, align 4
%8 = icmp eq i32 %6, %7
br i1 %8, label %18, label %.lr.ph
.lr.ph: ; preds = %1
br label %15
9: ; preds = %15
%10 = load ptr, ptr %2, align 8
%11 = call i32 @fgetc(ptr noundef %10)
store i32 %11, ptr %3, align 4
%12 = load i32, ptr %3, align 4
%13 = load i32, ptr @EOF, align 4
%14 = icmp eq i32 %12, %13
br i1 %14, label %._crit_edge1, label %15
15: ; preds = %.lr.ph, %9
%16 = load i32, ptr %3, align 4
%17 = icmp eq i32 %16, 10
br i1 %17, label %._crit_edge, label %9
._crit_edge: ; preds = %15
br label %18
._crit_edge1: ; preds = %9
br label %18
18: ; preds = %._crit_edge1, %._crit_edge, %1
ret void
}
declare i32 @fgetc(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1nfsaucc.c'
source_filename = "/tmp/tmp1nfsaucc.c"
target datalayout = "e-m:e-p270: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/tmp1nfsaucc.c"
target datalayout = "e-m:e-p270: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/tmpdzxrcmul.c'
source_filename = "/tmp/tmpdzxrcmul.c"
target datalayout = "e-m:e-p270: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/tmpdzxrcmul.c"
target datalayout = "e-m:e-p270: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/tmp2nxk2bcx.c'
source_filename = "/tmp/tmp2nxk2bcx.c"
target datalayout = "e-m:e-p270: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/tmp2nxk2bcx.c"
target datalayout = "e-m:e-p270: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/tmp3gjffmso.c'
source_filename = "/tmp/tmp3gjffmso.c"
target datalayout = "e-m:e-p270: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
@EINTR = dso_local global i64 0, align 8
@EAGAIN = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @safer_read(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 0, ptr %8, align 4
br label %10
10: ; preds = %35, %33, %3
%11 = load i32, ptr %7, align 4
%12 = icmp ne i32 %11, 0
br i1 %12, label %13, label %46
13: ; preds = %10
%14 = load i32, ptr %5, align 4
%15 = load ptr, ptr %6, align 8
%16 = load i32, ptr %7, align 4
%17 = call i32 @read(i32 noundef %14, ptr noundef %15, i32 noundef %16)
store i32 %17, ptr %9, align 4
%18 = load i32, ptr %9, align 4
%19 = icmp ne i32 %18, 0
br i1 %19, label %22, label %20
20: ; preds = %13
%21 = load i32, ptr %8, align 4
store i32 %21, ptr %4, align 4
br label %48
22: ; preds = %13
%23 = load i32, ptr %9, align 4
%24 = icmp eq i32 %23, -1
br i1 %24, label %25, label %35
25: ; preds = %22
%26 = load i64, ptr @errno, align 8
%27 = load i64, ptr @EINTR, align 8
%28 = icmp eq i64 %26, %27
br i1 %28, label %33, label %29
29: ; preds = %25
%30 = load i64, ptr @errno, align 8
%31 = load i64, ptr @EAGAIN, align 8
%32 = icmp eq i64 %30, %31
br i1 %32, label %33, label %34
33: ; preds = %29, %25
br label %10, !llvm.loop !6
34: ; preds = %29
store i32 -1, ptr %4, align 4
br label %48
35: ; preds = %22
%36 = load i32, ptr %9, align 4
%37 = load i32, ptr %7, align 4
%38 = sub nsw i32 %37, %36
store i32 %38, ptr %7, align 4
%39 = load i32, ptr %9, align 4
%40 = load ptr, ptr %6, align 8
%41 = sext i32 %39 to i64
%42 = getelementptr inbounds i8, ptr %40, i64 %41
store ptr %42, ptr %6, align 8
%43 = load i32, ptr %9, align 4
%44 = load i32, ptr %8, align 4
%45 = add nsw i32 %44, %43
store i32 %45, ptr %8, align 4
br label %10, !llvm.loop !6
46: ; preds = %10
%47 = load i32, ptr %8, align 4
store i32 %47, ptr %4, align 4
br label %48
48: ; preds = %46, %34, %20
%49 = load i32, ptr %4, align 4
ret i32 %49
}
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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp3gjffmso.c"
target datalayout = "e-m:e-p270: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
@EINTR = dso_local global i64 0, align 8
@EAGAIN = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @safer_read(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 0, ptr %8, align 4
%10 = load i32, ptr %7, align 4
%11 = icmp ne i32 %10, 0
br i1 %11, label %.lr.ph, label %47
.lr.ph: ; preds = %3
br label %12
12: ; preds = %.lr.ph, %.backedge
%13 = load i32, ptr %5, align 4
%14 = load ptr, ptr %6, align 8
%15 = load i32, ptr %7, align 4
%16 = call i32 @read(i32 noundef %13, ptr noundef %14, i32 noundef %15)
store i32 %16, ptr %9, align 4
%17 = load i32, ptr %9, align 4
%18 = icmp ne i32 %17, 0
br i1 %18, label %21, label %19
19: ; preds = %12
%20 = load i32, ptr %8, align 4
store i32 %20, ptr %4, align 4
br label %49
21: ; preds = %12
%22 = load i32, ptr %9, align 4
%23 = icmp eq i32 %22, -1
br i1 %23, label %24, label %36
24: ; preds = %21
%25 = load i64, ptr @errno, align 8
%26 = load i64, ptr @EINTR, align 8
%27 = icmp eq i64 %25, %26
br i1 %27, label %32, label %28
28: ; preds = %24
%29 = load i64, ptr @errno, align 8
%30 = load i64, ptr @EAGAIN, align 8
%31 = icmp eq i64 %29, %30
br i1 %31, label %32, label %35
32: ; preds = %28, %24
br label %.backedge
.backedge: ; preds = %32, %36
%33 = load i32, ptr %7, align 4
%34 = icmp ne i32 %33, 0
br i1 %34, label %12, label %._crit_edge, !llvm.loop !6
35: ; preds = %28
store i32 -1, ptr %4, align 4
br label %49
36: ; preds = %21
%37 = load i32, ptr %9, align 4
%38 = load i32, ptr %7, align 4
%39 = sub nsw i32 %38, %37
store i32 %39, ptr %7, align 4
%40 = load i32, ptr %9, align 4
%41 = load ptr, ptr %6, align 8
%42 = sext i32 %40 to i64
%43 = getelementptr inbounds i8, ptr %41, i64 %42
store ptr %43, ptr %6, align 8
%44 = load i32, ptr %9, align 4
%45 = load i32, ptr %8, align 4
%46 = add nsw i32 %45, %44
store i32 %46, ptr %8, align 4
br label %.backedge
._crit_edge: ; preds = %.backedge
br label %47
47: ; preds = %._crit_edge, %3
%48 = load i32, ptr %8, align 4
store i32 %48, ptr %4, align 4
br label %49
49: ; preds = %47, %35, %19
%50 = load i32, ptr %4, align 4
ret i32 %50
}
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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpmrjdoo7x.c'
source_filename = "/tmp/tmpmrjdoo7x.c"
target datalayout = "e-m:e-p270: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/tmpmrjdoo7x.c"
target datalayout = "e-m:e-p270: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/tmpda5wc8a6.c'
source_filename = "/tmp/tmpda5wc8a6.c"
target datalayout = "e-m:e-p270: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
@stdin = 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
br label %4
4: ; preds = %19, %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 %20
8: ; preds = %4
%9 = load i32, ptr %2, align 4
%10 = load i32, ptr @stdin, align 4
%11 = call i32 @ungetc(i32 noundef %9, i32 noundef %10)
%12 = call i32 (...) @rand()
%13 = srem i32 %12, 2
store i32 %13, ptr %3, align 4
%14 = load i32, ptr %3, align 4
switch i32 %14, label %19 [
i32 0, label %15
i32 1, label %17
]
15: ; preds = %8
%16 = call i32 (...) @recogniser1()
br label %19
17: ; preds = %8
%18 = call i32 (...) @recogniser2()
br label %19
19: ; preds = %8, %17, %15
br label %4, !llvm.loop !6
20: ; preds = %4
ret i32 0
}
declare i32 @getchar(...) #1
declare i32 @ungetc(i32 noundef, i32 noundef) #1
declare i32 @rand(...) #1
declare i32 @recogniser1(...) #1
declare i32 @recogniser2(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpda5wc8a6.c"
target datalayout = "e-m:e-p270: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
@stdin = 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
%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 %22
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %18
%8 = load i32, ptr %2, align 4
%9 = load i32, ptr @stdin, align 4
%10 = call i32 @ungetc(i32 noundef %8, i32 noundef %9)
%11 = call i32 (...) @rand()
%12 = srem i32 %11, 2
store i32 %12, ptr %3, align 4
%13 = load i32, ptr %3, align 4
switch i32 %13, label %18 [
i32 0, label %14
i32 1, label %16
]
14: ; preds = %7
%15 = call i32 (...) @recogniser1()
br label %18
16: ; preds = %7
%17 = call i32 (...) @recogniser2()
br label %18
18: ; preds = %16, %14, %7
%19 = call i32 (...) @getchar()
store i32 %19, ptr %2, align 4
%20 = load i32, ptr @EOF, align 4
%21 = icmp ne i32 %19, %20
br i1 %21, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %22
22: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @getchar(...) #1
declare i32 @ungetc(i32 noundef, i32 noundef) #1
declare i32 @rand(...) #1
declare i32 @recogniser1(...) #1
declare i32 @recogniser2(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmptgzpwhmk.c'
source_filename = "/tmp/tmptgzpwhmk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [21 x i8] c"Usage: %s <ttyname>\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@O_WRONLY = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [14 x i8] c"open() failed\00", align 1
@stdin = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [15 x i8] c"write() failed\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 [1024 x i8], align 16
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 %18
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 = load i32, ptr @EXIT_FAILURE, align 4
%17 = call i32 @exit(i32 noundef %16) #3
unreachable
18: ; preds = %2
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 1
%21 = load ptr, ptr %20, align 8
%22 = load i32, ptr @O_WRONLY, align 4
%23 = call i32 @open(ptr noundef %21, i32 noundef %22)
store i32 %23, ptr %6, align 4
%24 = load i32, ptr %6, align 4
%25 = icmp eq i32 %24, -1
br i1 %25, label %26, label %30
26: ; preds = %18
%27 = call i32 @perror(ptr noundef @.str.1)
%28 = load i32, ptr @EXIT_FAILURE, align 4
%29 = call i32 @exit(i32 noundef %28) #3
unreachable
30: ; preds = %18
br label %31
31: ; preds = %47, %30
%32 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%33 = load i32, ptr @stdin, align 4
%34 = call ptr @fgets(ptr noundef %32, i32 noundef 1024, i32 noundef %33)
%35 = icmp ne ptr %34, null
br i1 %35, label %36, label %48
36: ; preds = %31
%37 = load i32, ptr %6, align 4
%38 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%39 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%40 = call i32 @strlen(ptr noundef %39)
%41 = call i32 @write(i32 noundef %37, ptr noundef %38, i32 noundef %40)
%42 = icmp eq i32 %41, -1
br i1 %42, label %43, label %47
43: ; preds = %36
%44 = call i32 @perror(ptr noundef @.str.2)
%45 = load i32, ptr @EXIT_FAILURE, align 4
%46 = call i32 @exit(i32 noundef %45) #3
unreachable
47: ; preds = %36
br label %31, !llvm.loop !6
48: ; preds = %31
%49 = load i32, ptr %6, align 4
%50 = call i32 @close(i32 noundef %49)
ret i32 0
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare ptr @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmptgzpwhmk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [21 x i8] c"Usage: %s <ttyname>\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@O_WRONLY = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [14 x i8] c"open() failed\00", align 1
@stdin = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [15 x i8] c"write() failed\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 [1024 x i8], align 16
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 %18
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 = load i32, ptr @EXIT_FAILURE, align 4
%17 = call i32 @exit(i32 noundef %16) #3
unreachable
18: ; preds = %2
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 1
%21 = load ptr, ptr %20, align 8
%22 = load i32, ptr @O_WRONLY, align 4
%23 = call i32 @open(ptr noundef %21, i32 noundef %22)
store i32 %23, ptr %6, align 4
%24 = load i32, ptr %6, align 4
%25 = icmp eq i32 %24, -1
br i1 %25, label %26, label %30
26: ; preds = %18
%27 = call i32 @perror(ptr noundef @.str.1)
%28 = load i32, ptr @EXIT_FAILURE, align 4
%29 = call i32 @exit(i32 noundef %28) #3
unreachable
30: ; preds = %18
%31 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%32 = load i32, ptr @stdin, align 4
%33 = call ptr @fgets(ptr noundef %31, i32 noundef 1024, i32 noundef %32)
%34 = icmp ne ptr %33, null
br i1 %34, label %.lr.ph, label %50
.lr.ph: ; preds = %30
br label %39
35: ; preds = %39
%36 = load i32, ptr @stdin, align 4
%37 = call ptr @fgets(ptr noundef %31, i32 noundef 1024, i32 noundef %36)
%38 = icmp ne ptr %37, null
br i1 %38, label %39, label %._crit_edge, !llvm.loop !6
39: ; preds = %.lr.ph, %35
%40 = load i32, ptr %6, align 4
%41 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%42 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%43 = call i32 @strlen(ptr noundef %42)
%44 = call i32 @write(i32 noundef %40, ptr noundef %41, i32 noundef %43)
%45 = icmp eq i32 %44, -1
br i1 %45, label %46, label %35
46: ; preds = %39
%47 = call i32 @perror(ptr noundef @.str.2)
%48 = load i32, ptr @EXIT_FAILURE, align 4
%49 = call i32 @exit(i32 noundef %48) #3
unreachable
._crit_edge: ; preds = %35
br label %50
50: ; preds = %._crit_edge, %30
%51 = load i32, ptr %6, align 4
%52 = call i32 @close(i32 noundef %51)
ret i32 0
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare ptr @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmppskmlc9_.c'
source_filename = "/tmp/tmppskmlc9_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isalnum.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"isalnum should be 0 for @\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isalnum_0x40() #0 {
%1 = call i64 @isalnum(i32 noundef 64)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 325, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isalnum(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/tmppskmlc9_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isalnum.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"isalnum should be 0 for @\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isalnum_0x40() #0 {
%1 = call i64 @isalnum(i32 noundef 64)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 325, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isalnum(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/tmp68dsvvvw.c'
source_filename = "/tmp/tmp68dsvvvw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @r_strcmp(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 @strcmp(ptr noundef %5, ptr noundef %6)
ret i32 %7
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp68dsvvvw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @r_strcmp(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 @strcmp(ptr noundef %5, ptr noundef %6)
ret i32 %7
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprjeulv0c.c'
source_filename = "/tmp/tmprjeulv0c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"libretro\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @compat_osname(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i64, ptr %4, align 8
%7 = call i32 @strncpy(ptr noundef %5, ptr noundef @.str, i64 noundef %6)
%8 = load ptr, ptr %3, align 8
%9 = load i64, ptr %4, align 8
%10 = sub i64 %9, 1
%11 = getelementptr inbounds i8, ptr %8, i64 %10
store i8 0, ptr %11, align 1
ret i32 0
}
declare i32 @strncpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmprjeulv0c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"libretro\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @compat_osname(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i64, ptr %4, align 8
%7 = call i32 @strncpy(ptr noundef %5, ptr noundef @.str, i64 noundef %6)
%8 = load ptr, ptr %3, align 8
%9 = load i64, ptr %4, align 8
%10 = sub i64 %9, 1
%11 = getelementptr inbounds i8, ptr %8, i64 %10
store i8 0, ptr %11, align 1
ret i32 0
}
declare i32 @strncpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprvmzv20e.c'
source_filename = "/tmp/tmprvmzv20e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @spi_sendcmd(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
br label %10
10: ; preds = %12, %4
%11 = call i32 @readl(i32 noundef 288358400)
store i32 %11, ptr %9, align 4
br label %12
12: ; preds = %10
%13 = load i32, ptr %9, align 4
%14 = and i32 %13, 65536
%15 = icmp ne i32 %14, 0
br i1 %15, label %10, label %16, !llvm.loop !6
16: ; preds = %12
%17 = load i32, ptr %6, align 4
%18 = call i32 @writel(i32 noundef 288358408, i32 noundef %17)
%19 = load i32, ptr %5, align 4
%20 = call i32 @writel(i32 noundef 288358404, i32 noundef %19)
%21 = load i32, ptr %7, align 4
%22 = or i32 50331904, %21
%23 = load i32, ptr %8, align 4
%24 = shl i32 %23, 4
%25 = or i32 %22, %24
store i32 %25, ptr %9, align 4
%26 = load i32, ptr %9, align 4
%27 = call i32 @writel(i32 noundef 288358400, i32 noundef %26)
br label %28
28: ; preds = %30, %16
%29 = call i32 @readl(i32 noundef 288358400)
store i32 %29, ptr %9, align 4
br label %30
30: ; preds = %28
%31 = load i32, ptr %9, align 4
%32 = and i32 %31, 65536
%33 = icmp ne i32 %32, 0
br i1 %33, label %28, label %34, !llvm.loop !8
34: ; preds = %30
%35 = call i32 @readl(i32 noundef 288358408)
store i32 %35, ptr %9, align 4
%36 = load i32, ptr %8, align 4
switch i32 %36, label %49 [
i32 1, label %37
i32 2, label %40
i32 3, label %43
i32 4, label %46
]
37: ; preds = %34
%38 = load i32, ptr %9, align 4
%39 = and i32 %38, 255
store i32 %39, ptr %9, align 4
br label %50
40: ; preds = %34
%41 = load i32, ptr %9, align 4
%42 = and i32 %41, 65535
store i32 %42, ptr %9, align 4
br label %50
43: ; preds = %34
%44 = load i32, ptr %9, align 4
%45 = and i32 %44, 16777215
store i32 %45, ptr %9, align 4
br label %50
46: ; preds = %34
%47 = load i32, ptr %9, align 4
%48 = and i32 %47, -1
store i32 %48, ptr %9, align 4
br label %50
49: ; preds = %34
store i32 0, ptr %9, align 4
br label %50
50: ; preds = %49, %46, %43, %40, %37
%51 = load i32, ptr %9, align 4
ret i32 %51
}
declare i32 @readl(i32 noundef) #1
declare i32 @writel(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmprvmzv20e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @spi_sendcmd(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
br label %10
10: ; preds = %12, %4
%11 = call i32 @readl(i32 noundef 288358400)
store i32 %11, ptr %9, align 4
br label %12
12: ; preds = %10
%13 = load i32, ptr %9, align 4
%14 = and i32 %13, 65536
%15 = icmp ne i32 %14, 0
br i1 %15, label %10, label %16, !llvm.loop !6
16: ; preds = %12
%17 = load i32, ptr %6, align 4
%18 = call i32 @writel(i32 noundef 288358408, i32 noundef %17)
%19 = load i32, ptr %5, align 4
%20 = call i32 @writel(i32 noundef 288358404, i32 noundef %19)
%21 = load i32, ptr %7, align 4
%22 = or i32 50331904, %21
%23 = load i32, ptr %8, align 4
%24 = shl i32 %23, 4
%25 = or i32 %22, %24
store i32 %25, ptr %9, align 4
%26 = load i32, ptr %9, align 4
%27 = call i32 @writel(i32 noundef 288358400, i32 noundef %26)
br label %28
28: ; preds = %30, %16
%29 = call i32 @readl(i32 noundef 288358400)
store i32 %29, ptr %9, align 4
br label %30
30: ; preds = %28
%31 = load i32, ptr %9, align 4
%32 = and i32 %31, 65536
%33 = icmp ne i32 %32, 0
br i1 %33, label %28, label %34, !llvm.loop !8
34: ; preds = %30
%35 = call i32 @readl(i32 noundef 288358408)
store i32 %35, ptr %9, align 4
%36 = load i32, ptr %8, align 4
switch i32 %36, label %49 [
i32 1, label %37
i32 2, label %40
i32 3, label %43
i32 4, label %46
]
37: ; preds = %34
%38 = load i32, ptr %9, align 4
%39 = and i32 %38, 255
store i32 %39, ptr %9, align 4
br label %50
40: ; preds = %34
%41 = load i32, ptr %9, align 4
%42 = and i32 %41, 65535
store i32 %42, ptr %9, align 4
br label %50
43: ; preds = %34
%44 = load i32, ptr %9, align 4
%45 = and i32 %44, 16777215
store i32 %45, ptr %9, align 4
br label %50
46: ; preds = %34
%47 = load i32, ptr %9, align 4
%48 = and i32 %47, -1
store i32 %48, ptr %9, align 4
br label %50
49: ; preds = %34
store i32 0, ptr %9, align 4
br label %50
50: ; preds = %49, %46, %43, %40, %37
%51 = load i32, ptr %9, align 4
ret i32 %51
}
declare i32 @readl(i32 noundef) #1
declare i32 @writel(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmptkzp7aky.c'
source_filename = "/tmp/tmptkzp7aky.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PTHREAD_CANCEL_ASYNCHRONOUS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define weak dso_local i32 @sendmsg(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%9 = load i32, ptr @PTHREAD_CANCEL_ASYNCHRONOUS, align 4
%10 = call i32 @pthread_setcanceltype(i32 noundef %9, ptr noundef %8)
%11 = load i32, ptr %4, align 4
%12 = load ptr, ptr %5, align 8
%13 = load i32, ptr %6, align 4
%14 = call i32 @__libc_sendmsg(i32 noundef %11, ptr noundef %12, i32 noundef %13)
store i32 %14, ptr %7, align 4
%15 = load i32, ptr %8, align 4
%16 = call i32 @pthread_setcanceltype(i32 noundef %15, ptr noundef null)
%17 = load i32, ptr %7, align 4
ret i32 %17
}
declare i32 @pthread_setcanceltype(i32 noundef, ptr noundef) #1
declare i32 @__libc_sendmsg(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/tmptkzp7aky.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PTHREAD_CANCEL_ASYNCHRONOUS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define weak dso_local i32 @sendmsg(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%9 = load i32, ptr @PTHREAD_CANCEL_ASYNCHRONOUS, align 4
%10 = call i32 @pthread_setcanceltype(i32 noundef %9, ptr noundef %8)
%11 = load i32, ptr %4, align 4
%12 = load ptr, ptr %5, align 8
%13 = load i32, ptr %6, align 4
%14 = call i32 @__libc_sendmsg(i32 noundef %11, ptr noundef %12, i32 noundef %13)
store i32 %14, ptr %7, align 4
%15 = load i32, ptr %8, align 4
%16 = call i32 @pthread_setcanceltype(i32 noundef %15, ptr noundef null)
%17 = load i32, ptr %7, align 4
ret i32 %17
}
declare i32 @pthread_setcanceltype(i32 noundef, ptr noundef) #1
declare i32 @__libc_sendmsg(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/tmpn6czoc2i.c'
source_filename = "/tmp/tmpn6czoc2i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memcpy_24(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 @memcpy(ptr noundef %5, ptr noundef %6, i32 noundef 24)
ret void
}
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpn6czoc2i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memcpy_24(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 @memcpy(ptr noundef %5, ptr noundef %6, i32 noundef 24)
ret void
}
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_pvgbuao.c'
source_filename = "/tmp/tmp_pvgbuao.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @switch_s1_right(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, 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/tmp_pvgbuao.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @switch_s1_right(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, 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/tmp4f32n_k1.c'
source_filename = "/tmp/tmp4f32n_k1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@FBIOGET_FSCREENINFO = dso_local global i32 0, align 4
@MAP_SHARED = dso_local global i32 0, align 4
@O_RDWR = dso_local global i32 0, align 4
@PROT_READ = dso_local global i32 0, align 4
@PROT_WRITE = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4f32n_k1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@FBIOGET_FSCREENINFO = dso_local global i32 0, align 4
@MAP_SHARED = dso_local global i32 0, align 4
@O_RDWR = dso_local global i32 0, align 4
@PROT_READ = dso_local global i32 0, align 4
@PROT_WRITE = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbqkqzsov.c'
source_filename = "/tmp/tmpbqkqzsov.c"
target datalayout = "e-m:e-p270: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/tmpbqkqzsov.c"
target datalayout = "e-m:e-p270: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/tmplkj643mc.c'
source_filename = "/tmp/tmplkj643mc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"old pid:%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"::%d==%d\0A\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"===parent exit===\0A\00", align 1
@.str.3 = private unnamed_addr constant [20 x i8] c"----child exit----\0A\00", align 1
@.str.4 = private unnamed_addr constant [26 x i8] c"---------exit-----------\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = call i32 (...) @getpid()
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %5)
store i32 0, ptr %2, align 4
br label %7
7: ; preds = %0, %14
%8 = call i64 (...) @fork()
%9 = icmp ne i64 %8, 0
br i1 %9, label %10, label %30
10: ; preds = %7
%11 = load i32, ptr %2, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %2, align 4
%13 = icmp slt i32 %11, 1
br i1 %13, label %14, label %15
14: ; preds = %10
br label %7
15: ; preds = %10
store i32 0, ptr %3, align 4
br label %16
16: ; preds = %24, %15
%17 = load i32, ptr %3, align 4
%18 = icmp slt i32 %17, 3
br i1 %18, label %19, label %27
19: ; preds = %16
%20 = call i32 (...) @getpid()
%21 = call i32 (...) @getppid()
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %20, i32 noundef %21)
%23 = call i32 @sleep(i32 noundef 1)
br label %24
24: ; preds = %19
%25 = load i32, ptr %3, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %3, align 4
br label %16, !llvm.loop !6
27: ; preds = %16
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%29 = call i32 @sleep(i32 noundef 10)
br label %44
30: ; preds = %7
store i32 0, ptr %4, align 4
br label %31
31: ; preds = %39, %30
%32 = load i32, ptr %4, align 4
%33 = icmp slt i32 %32, 4
br i1 %33, label %34, label %42
34: ; preds = %31
%35 = call i32 (...) @getpid()
%36 = call i32 (...) @getppid()
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %35, i32 noundef %36)
%38 = call i32 @sleep(i32 noundef 1)
br label %39
39: ; preds = %34
%40 = load i32, ptr %4, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %4, align 4
br label %31, !llvm.loop !8
42: ; preds = %31
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %44
44: ; preds = %42, %27
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @getpid(...) #1
declare i64 @fork(...) #1
declare i32 @getppid(...) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmplkj643mc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"old pid:%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"::%d==%d\0A\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"===parent exit===\0A\00", align 1
@.str.3 = private unnamed_addr constant [20 x i8] c"----child exit----\0A\00", align 1
@.str.4 = private unnamed_addr constant [26 x i8] c"---------exit-----------\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = call i32 (...) @getpid()
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %5)
store i32 0, ptr %2, align 4
%7 = call i64 (...) @fork()
%8 = icmp ne i64 %7, 0
br i1 %8, label %.lr.ph, label %32
.lr.ph: ; preds = %0
br label %12
9: ; preds = %12
%10 = call i64 (...) @fork()
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %._crit_edge
12: ; preds = %.lr.ph, %9
%13 = load i32, ptr %2, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %2, align 4
%15 = icmp slt i32 %13, 1
br i1 %15, label %9, label %16
16: ; preds = %12
store i32 0, ptr %3, align 4
%17 = load i32, ptr %3, align 4
%18 = icmp slt i32 %17, 3
br i1 %18, label %.lr.ph5, label %29
.lr.ph5: ; preds = %16
br label %19
19: ; preds = %.lr.ph5, %24
%20 = call i32 (...) @getpid()
%21 = call i32 (...) @getppid()
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %20, i32 noundef %21)
%23 = call i32 @sleep(i32 noundef 1)
br label %24
24: ; preds = %19
%25 = load i32, ptr %3, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %3, align 4
%27 = load i32, ptr %3, align 4
%28 = icmp slt i32 %27, 3
br i1 %28, label %19, label %._crit_edge6, !llvm.loop !6
._crit_edge6: ; preds = %24
br label %29
29: ; preds = %._crit_edge6, %16
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%31 = call i32 @sleep(i32 noundef 10)
br label %47
._crit_edge: ; preds = %9
br label %32
32: ; preds = %._crit_edge, %0
store i32 0, ptr %4, align 4
%33 = load i32, ptr %4, align 4
%34 = icmp slt i32 %33, 4
br i1 %34, label %.lr.ph2, label %45
.lr.ph2: ; preds = %32
br label %35
35: ; preds = %.lr.ph2, %40
%36 = call i32 (...) @getpid()
%37 = call i32 (...) @getppid()
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %36, i32 noundef %37)
%39 = call i32 @sleep(i32 noundef 1)
br label %40
40: ; preds = %35
%41 = load i32, ptr %4, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %4, align 4
%43 = load i32, ptr %4, align 4
%44 = icmp slt i32 %43, 4
br i1 %44, label %35, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %40
br label %45
45: ; preds = %._crit_edge3, %32
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %47
47: ; preds = %45, %29
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @getpid(...) #1
declare i64 @fork(...) #1
declare i32 @getppid(...) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp3e48mt3v.c'
source_filename = "/tmp/tmp3e48mt3v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @set_checksum(ptr noundef %0, i16 noundef zeroext %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i16, align 2
store ptr %0, ptr %3, align 8
store i16 %1, ptr %4, align 2
%5 = load i16, ptr %4, align 2
%6 = zext i16 %5 to i32
%7 = and i32 %6, 255
%8 = trunc i32 %7 to i8
%9 = load ptr, ptr %3, align 8
%10 = getelementptr inbounds i8, ptr %9, i64 4063228
store i8 %8, ptr %10, align 1
%11 = load i16, ptr %4, align 2
%12 = zext i16 %11 to i32
%13 = ashr i32 %12, 8
%14 = and i32 %13, 255
%15 = trunc i32 %14 to i8
%16 = load ptr, ptr %3, align 8
%17 = getelementptr inbounds i8, ptr %16, i64 4063229
store i8 %15, ptr %17, align 1
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/tmp3e48mt3v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @set_checksum(ptr noundef %0, i16 noundef zeroext %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i16, align 2
store ptr %0, ptr %3, align 8
store i16 %1, ptr %4, align 2
%5 = load i16, ptr %4, align 2
%6 = zext i16 %5 to i32
%7 = and i32 %6, 255
%8 = trunc i32 %7 to i8
%9 = load ptr, ptr %3, align 8
%10 = getelementptr inbounds i8, ptr %9, i64 4063228
store i8 %8, ptr %10, align 1
%11 = load i16, ptr %4, align 2
%12 = zext i16 %11 to i32
%13 = ashr i32 %12, 8
%14 = and i32 %13, 255
%15 = trunc i32 %14 to i8
%16 = load ptr, ptr %3, align 8
%17 = getelementptr inbounds i8, ptr %16, i64 4063229
store i8 %15, ptr %17, align 1
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/tmpdp90nue1.c'
source_filename = "/tmp/tmpdp90nue1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @n_digits(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 eq i32 %3, 0
br i1 %4, label %5, label %6
5: ; preds = %1
br label %17
6: ; preds = %1
%7 = load i32, ptr %2, align 4
%8 = call i32 @abs(i32 noundef %7) #3
%9 = call i64 @log10(i32 noundef %8)
%10 = add nsw i64 %9, 1
%11 = trunc i64 %10 to i32
%12 = load i32, ptr %2, align 4
%13 = icmp slt i32 %12, 0
%14 = zext i1 %13 to i64
%15 = select i1 %13, i32 1, i32 0
%16 = add nsw i32 %11, %15
br label %17
17: ; preds = %6, %5
%18 = phi i32 [ 1, %5 ], [ %16, %6 ]
ret i32 %18
}
declare i64 @log10(i32 noundef) #1
; Function Attrs: nounwind willreturn memory(none)
declare i32 @abs(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(none) "frame-pointer"="all" "no-trapping-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(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/tmpdp90nue1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @n_digits(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 eq i32 %3, 0
br i1 %4, label %5, label %6
5: ; preds = %1
br label %17
6: ; preds = %1
%7 = load i32, ptr %2, align 4
%8 = call i32 @abs(i32 noundef %7) #3
%9 = call i64 @log10(i32 noundef %8)
%10 = add nsw i64 %9, 1
%11 = trunc i64 %10 to i32
%12 = load i32, ptr %2, align 4
%13 = icmp slt i32 %12, 0
%14 = zext i1 %13 to i64
%15 = select i1 %13, i32 1, i32 0
%16 = add nsw i32 %11, %15
br label %17
17: ; preds = %6, %5
%18 = phi i32 [ 1, %5 ], [ %16, %6 ]
ret i32 %18
}
declare i64 @log10(i32 noundef) #1
; Function Attrs: nounwind willreturn memory(none)
declare i32 @abs(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(none) "frame-pointer"="all" "no-trapping-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(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/tmpoaeu0ywi.c'
source_filename = "/tmp/tmpoaeu0ywi.c"
target datalayout = "e-m:e-p270: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/tmpoaeu0ywi.c"
target datalayout = "e-m:e-p270: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/tmpsku0221o.c'
source_filename = "/tmp/tmpsku0221o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"To: %s\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 i32 @trouveIdentite(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca [300 x i8], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%9 = load ptr, ptr %4, align 8
%10 = call i32 @strlen(ptr noundef %9)
store i32 %10, ptr %8, align 4
%11 = load ptr, ptr %4, align 8
%12 = load ptr, ptr %5, align 8
%13 = call i32 @sscanf(ptr noundef %11, ptr noundef @.str, ptr noundef %12)
%14 = load ptr, ptr %5, align 8
%15 = call ptr @strtok(ptr noundef %14, ptr noundef @.str.1)
store ptr %15, ptr %5, align 8
%16 = load i32, ptr %3, align 4
ret i32 %16
}
declare i32 @strlen(ptr noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @strtok(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/tmpsku0221o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"To: %s\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 i32 @trouveIdentite(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca [300 x i8], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%9 = load ptr, ptr %4, align 8
%10 = call i32 @strlen(ptr noundef %9)
store i32 %10, ptr %8, align 4
%11 = load ptr, ptr %4, align 8
%12 = load ptr, ptr %5, align 8
%13 = call i32 @sscanf(ptr noundef %11, ptr noundef @.str, ptr noundef %12)
%14 = load ptr, ptr %5, align 8
%15 = call ptr @strtok(ptr noundef %14, ptr noundef @.str.1)
store ptr %15, ptr %5, align 8
%16 = load i32, ptr %3, align 4
ret i32 %16
}
declare i32 @strlen(ptr noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @strtok(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/tmp0r1jyg75.c'
source_filename = "/tmp/tmp0r1jyg75.c"
target datalayout = "e-m:e-p270: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/tmp0r1jyg75.c"
target datalayout = "e-m:e-p270: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/tmpzdkxb45j.c'
source_filename = "/tmp/tmpzdkxb45j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\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 @f1(i32 noundef 0)
%3 = call i32 @printf(ptr noundef @.str, i32 noundef %2)
%4 = call i32 @f1(i32 noundef 5)
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @f1(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/tmpzdkxb45j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\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 @f1(i32 noundef 0)
%3 = call i32 @printf(ptr noundef @.str, i32 noundef %2)
%4 = call i32 @f1(i32 noundef 5)
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @f1(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/tmprk46qn36.c'
source_filename = "/tmp/tmprk46qn36.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [10000 x i8], align 16
store i32 0, ptr %1, align 4
%3 = getelementptr inbounds [10000 x i8], ptr %2, i64 0, i64 0
%4 = call i32 @start_vet(ptr noundef %3, i32 noundef 10000)
%5 = getelementptr inbounds [10000 x i8], ptr %2, i64 0, i64 0
%6 = call i32 @read_input(ptr noundef %5, i32 noundef 10000)
%7 = getelementptr inbounds [10000 x i8], ptr %2, i64 0, i64 0
%8 = call i32 @check_error(ptr noundef %7)
ret i32 0
}
declare i32 @start_vet(ptr noundef, i32 noundef) #1
declare i32 @read_input(ptr noundef, i32 noundef) #1
declare i32 @check_error(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmprk46qn36.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [10000 x i8], align 16
store i32 0, ptr %1, align 4
%3 = getelementptr inbounds [10000 x i8], ptr %2, i64 0, i64 0
%4 = call i32 @start_vet(ptr noundef %3, i32 noundef 10000)
%5 = getelementptr inbounds [10000 x i8], ptr %2, i64 0, i64 0
%6 = call i32 @read_input(ptr noundef %5, i32 noundef 10000)
%7 = getelementptr inbounds [10000 x i8], ptr %2, i64 0, i64 0
%8 = call i32 @check_error(ptr noundef %7)
ret i32 0
}
declare i32 @start_vet(ptr noundef, i32 noundef) #1
declare i32 @read_input(ptr noundef, i32 noundef) #1
declare i32 @check_error(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpb1lcy41n.c'
source_filename = "/tmp/tmpb1lcy41n.c"
target datalayout = "e-m:e-p270: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/tmpb1lcy41n.c"
target datalayout = "e-m:e-p270: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/tmpp8229cho.c'
source_filename = "/tmp/tmpp8229cho.c"
target datalayout = "e-m:e-p270: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/tmpp8229cho.c"
target datalayout = "e-m:e-p270: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/tmpairu6hch.c'
source_filename = "/tmp/tmpairu6hch.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ok main_test\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 (...) @TEST_check_value_exist()
%3 = call i32 (...) @TEST_atribute_values()
%4 = call i32 (...) @TEST_position_values()
%5 = call i32 (...) @TEST_entropy()
%6 = call i32 (...) @TEST_information_gain()
%7 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @TEST_check_value_exist(...) #1
declare i32 @TEST_atribute_values(...) #1
declare i32 @TEST_position_values(...) #1
declare i32 @TEST_entropy(...) #1
declare i32 @TEST_information_gain(...) #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/tmpairu6hch.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ok main_test\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 (...) @TEST_check_value_exist()
%3 = call i32 (...) @TEST_atribute_values()
%4 = call i32 (...) @TEST_position_values()
%5 = call i32 (...) @TEST_entropy()
%6 = call i32 (...) @TEST_information_gain()
%7 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @TEST_check_value_exist(...) #1
declare i32 @TEST_atribute_values(...) #1
declare i32 @TEST_position_values(...) #1
declare i32 @TEST_entropy(...) #1
declare i32 @TEST_information_gain(...) #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/tmp1y1twv7c.c'
source_filename = "/tmp/tmp1y1twv7c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @HibernateTamperIOEnable(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%7 = load volatile i32, ptr inttoptr (i64 1074775056 to ptr), align 4
store i32 %7, ptr %5, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %3, align 4
%10 = shl i32 %9, 3
%11 = shl i32 15, %10
%12 = xor i32 %11, -1
%13 = and i32 %8, %12
store i32 %13, ptr %6, align 4
%14 = load i32, ptr %6, align 4
%15 = load i32, ptr %4, align 4
%16 = or i32 %15, 1
%17 = load i32, ptr %3, align 4
%18 = shl i32 %17, 3
%19 = shl i32 %16, %18
%20 = or i32 %14, %19
%21 = load i32, ptr %5, align 4
%22 = or i32 %21, %20
store i32 %22, ptr %5, align 4
store volatile i32 -1556769452, ptr inttoptr (i64 1074774880 to ptr), align 4
%23 = call i32 (...) @_HibernateWriteComplete()
%24 = load i32, ptr %5, align 4
store volatile i32 %24, ptr inttoptr (i64 1074775056 to ptr), align 4
%25 = call i32 (...) @_HibernateWriteComplete()
store volatile i32 0, ptr inttoptr (i64 1074774880 to ptr), align 4
%26 = call i32 (...) @_HibernateWriteComplete()
ret void
}
declare i32 @_HibernateWriteComplete(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1y1twv7c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @HibernateTamperIOEnable(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%7 = load volatile i32, ptr inttoptr (i64 1074775056 to ptr), align 4
store i32 %7, ptr %5, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %3, align 4
%10 = shl i32 %9, 3
%11 = shl i32 15, %10
%12 = xor i32 %11, -1
%13 = and i32 %8, %12
store i32 %13, ptr %6, align 4
%14 = load i32, ptr %6, align 4
%15 = load i32, ptr %4, align 4
%16 = or i32 %15, 1
%17 = load i32, ptr %3, align 4
%18 = shl i32 %17, 3
%19 = shl i32 %16, %18
%20 = or i32 %14, %19
%21 = load i32, ptr %5, align 4
%22 = or i32 %21, %20
store i32 %22, ptr %5, align 4
store volatile i32 -1556769452, ptr inttoptr (i64 1074774880 to ptr), align 4
%23 = call i32 (...) @_HibernateWriteComplete()
%24 = load i32, ptr %5, align 4
store volatile i32 %24, ptr inttoptr (i64 1074775056 to ptr), align 4
%25 = call i32 (...) @_HibernateWriteComplete()
store volatile i32 0, ptr inttoptr (i64 1074774880 to ptr), align 4
%26 = call i32 (...) @_HibernateWriteComplete()
ret void
}
declare i32 @_HibernateWriteComplete(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpb144mz9b.c'
source_filename = "/tmp/tmpb144mz9b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c";Parity Benchmark\0A\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c";Generated: %s\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c";#Inputs: %d\0A\0A\00", align 1
@.str.3 = private unnamed_addr constant [44 x i8] c";Program by: Matt White (mwhite+@cmu.edu)\0A\00", align 1
@.str.4 = private unnamed_addr constant [64 x i8] c"; Any questions should be directed to neural-bench@cs.cmu.edu.\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1
@.str.6 = private unnamed_addr constant [9 x i8] c"$SETUP\0A\0A\00", align 1
@.str.7 = private unnamed_addr constant [15 x i8] c"PROTOCOL: IO;\0A\00", align 1
@.str.8 = private unnamed_addr constant [12 x i8] c"OFFSET: 0;\0A\00", align 1
@.str.9 = private unnamed_addr constant [13 x i8] c"INPUTS: %d;\0A\00", align 1
@.str.10 = private unnamed_addr constant [14 x i8] c"OUTPUTS: 1;\0A\0A\00", align 1
@.str.11 = private unnamed_addr constant [18 x i8] c"IN [%d]: BINARY;\0A\00", align 1
@.str.12 = private unnamed_addr constant [20 x i8] c"OUT [1]: BINARY;\0A\0A\0A\00", align 1
@.str.13 = private unnamed_addr constant [9 x i8] c"$TRAIN\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printHeader(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%5 = call i32 @time(ptr noundef %4)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 @localtime(ptr noundef %4)
%8 = call ptr @asctime(i32 noundef %7)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %8)
%10 = load i32, ptr %2, align 4
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %10)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%18 = load i32, ptr %2, align 4
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %18)
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
store i32 1, ptr %3, align 4
br label %21
21: ; preds = %28, %1
%22 = load i32, ptr %3, align 4
%23 = load i32, ptr %2, align 4
%24 = icmp sle i32 %22, %23
br i1 %24, label %25, label %31
25: ; preds = %21
%26 = load i32, ptr %3, align 4
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %26)
br label %28
28: ; preds = %25
%29 = load i32, ptr %3, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %3, align 4
br label %21, !llvm.loop !6
31: ; preds = %21
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
ret void
}
declare i32 @time(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare ptr @asctime(i32 noundef) #1
declare i32 @localtime(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpb144mz9b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c";Parity Benchmark\0A\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c";Generated: %s\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c";#Inputs: %d\0A\0A\00", align 1
@.str.3 = private unnamed_addr constant [44 x i8] c";Program by: Matt White (mwhite+@cmu.edu)\0A\00", align 1
@.str.4 = private unnamed_addr constant [64 x i8] c"; Any questions should be directed to neural-bench@cs.cmu.edu.\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1
@.str.6 = private unnamed_addr constant [9 x i8] c"$SETUP\0A\0A\00", align 1
@.str.7 = private unnamed_addr constant [15 x i8] c"PROTOCOL: IO;\0A\00", align 1
@.str.8 = private unnamed_addr constant [12 x i8] c"OFFSET: 0;\0A\00", align 1
@.str.9 = private unnamed_addr constant [13 x i8] c"INPUTS: %d;\0A\00", align 1
@.str.10 = private unnamed_addr constant [14 x i8] c"OUTPUTS: 1;\0A\0A\00", align 1
@.str.11 = private unnamed_addr constant [18 x i8] c"IN [%d]: BINARY;\0A\00", align 1
@.str.12 = private unnamed_addr constant [20 x i8] c"OUT [1]: BINARY;\0A\0A\0A\00", align 1
@.str.13 = private unnamed_addr constant [9 x i8] c"$TRAIN\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printHeader(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%5 = call i32 @time(ptr noundef %4)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 @localtime(ptr noundef %4)
%8 = call ptr @asctime(i32 noundef %7)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %8)
%10 = load i32, ptr %2, align 4
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %10)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%18 = load i32, ptr %2, align 4
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %18)
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
store i32 1, ptr %3, align 4
%21 = load i32, ptr %3, align 4
%22 = load i32, ptr %2, align 4
%23 = icmp sle i32 %21, %22
br i1 %23, label %.lr.ph, label %33
.lr.ph: ; preds = %1
br label %24
24: ; preds = %.lr.ph, %27
%25 = load i32, ptr %3, align 4
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %25)
br label %27
27: ; preds = %24
%28 = load i32, ptr %3, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %3, align 4
%30 = load i32, ptr %3, align 4
%31 = load i32, ptr %2, align 4
%32 = icmp sle i32 %30, %31
br i1 %32, label %24, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %33
33: ; preds = %._crit_edge, %1
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
ret void
}
declare i32 @time(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare ptr @asctime(i32 noundef) #1
declare i32 @localtime(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpwzr1dwda.c'
source_filename = "/tmp/tmpwzr1dwda.c"
target datalayout = "e-m:e-p270: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.kvm_cpuid2 = type { i32, ptr }
%struct.TYPE_2__ = type { i32, i32, i32, i32, i32, i32, i32 }
@E2BIG = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @cpuid_get(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8) #0 {
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
store ptr %0, ptr %11, align 8
store i32 %1, ptr %12, align 4
store ptr %2, ptr %13, align 8
store ptr %3, ptr %14, align 8
store ptr %4, ptr %15, align 8
store ptr %5, ptr %16, align 8
store ptr %6, ptr %17, align 8
store ptr %7, ptr %18, align 8
store ptr %8, ptr %19, align 8
%21 = load ptr, ptr %11, align 8
store ptr %21, ptr %20, align 8
%22 = load i32, ptr %12, align 4
%23 = load ptr, ptr %20, align 8
%24 = getelementptr inbounds %struct.kvm_cpuid2, ptr %23, i32 0, i32 0
%25 = load i32, ptr %24, align 8
%26 = icmp sge i32 %22, %25
br i1 %26, label %27, label %29
27: ; preds = %9
%28 = load i32, ptr @E2BIG, align 4
store i32 %28, ptr %10, align 4
br label %93
29: ; preds = %9
%30 = load ptr, ptr %20, align 8
%31 = getelementptr inbounds %struct.kvm_cpuid2, ptr %30, i32 0, i32 1
%32 = load ptr, ptr %31, align 8
%33 = load i32, ptr %12, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds %struct.TYPE_2__, ptr %32, i64 %34
%36 = getelementptr inbounds %struct.TYPE_2__, ptr %35, i32 0, i32 6
%37 = load i32, ptr %36, align 4
%38 = load ptr, ptr %13, align 8
store i32 %37, ptr %38, align 4
%39 = load ptr, ptr %20, align 8
%40 = getelementptr inbounds %struct.kvm_cpuid2, ptr %39, i32 0, i32 1
%41 = load ptr, ptr %40, align 8
%42 = load i32, ptr %12, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds %struct.TYPE_2__, ptr %41, i64 %43
%45 = getelementptr inbounds %struct.TYPE_2__, ptr %44, i32 0, i32 5
%46 = load i32, ptr %45, align 4
%47 = load ptr, ptr %14, align 8
store i32 %46, ptr %47, align 4
%48 = load ptr, ptr %20, align 8
%49 = getelementptr inbounds %struct.kvm_cpuid2, ptr %48, i32 0, i32 1
%50 = load ptr, ptr %49, align 8
%51 = load i32, ptr %12, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds %struct.TYPE_2__, ptr %50, i64 %52
%54 = getelementptr inbounds %struct.TYPE_2__, ptr %53, i32 0, i32 4
%55 = load i32, ptr %54, align 4
%56 = load ptr, ptr %15, align 8
store i32 %55, ptr %56, align 4
%57 = load ptr, ptr %20, align 8
%58 = getelementptr inbounds %struct.kvm_cpuid2, ptr %57, i32 0, i32 1
%59 = load ptr, ptr %58, align 8
%60 = load i32, ptr %12, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds %struct.TYPE_2__, ptr %59, i64 %61
%63 = getelementptr inbounds %struct.TYPE_2__, ptr %62, i32 0, i32 3
%64 = load i32, ptr %63, align 4
%65 = load ptr, ptr %16, align 8
store i32 %64, ptr %65, align 4
%66 = load ptr, ptr %20, align 8
%67 = getelementptr inbounds %struct.kvm_cpuid2, ptr %66, i32 0, i32 1
%68 = load ptr, ptr %67, align 8
%69 = load i32, ptr %12, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds %struct.TYPE_2__, ptr %68, i64 %70
%72 = getelementptr inbounds %struct.TYPE_2__, ptr %71, i32 0, i32 2
%73 = load i32, ptr %72, align 4
%74 = load ptr, ptr %17, align 8
store i32 %73, ptr %74, align 4
%75 = load ptr, ptr %20, align 8
%76 = getelementptr inbounds %struct.kvm_cpuid2, ptr %75, i32 0, i32 1
%77 = load ptr, ptr %76, align 8
%78 = load i32, ptr %12, align 4
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds %struct.TYPE_2__, ptr %77, i64 %79
%81 = getelementptr inbounds %struct.TYPE_2__, ptr %80, i32 0, i32 1
%82 = load i32, ptr %81, align 4
%83 = load ptr, ptr %18, align 8
store i32 %82, ptr %83, align 4
%84 = load ptr, ptr %20, align 8
%85 = getelementptr inbounds %struct.kvm_cpuid2, ptr %84, i32 0, i32 1
%86 = load ptr, ptr %85, align 8
%87 = load i32, ptr %12, align 4
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds %struct.TYPE_2__, ptr %86, i64 %88
%90 = getelementptr inbounds %struct.TYPE_2__, ptr %89, i32 0, i32 0
%91 = load i32, ptr %90, align 4
%92 = load ptr, ptr %19, align 8
store i32 %91, ptr %92, align 4
store i32 0, ptr %10, align 4
br label %93
93: ; preds = %29, %27
%94 = load i32, ptr %10, align 4
ret i32 %94
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwzr1dwda.c"
target datalayout = "e-m:e-p270: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.kvm_cpuid2 = type { i32, ptr }
%struct.TYPE_2__ = type { i32, i32, i32, i32, i32, i32, i32 }
@E2BIG = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @cpuid_get(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8) #0 {
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
store ptr %0, ptr %11, align 8
store i32 %1, ptr %12, align 4
store ptr %2, ptr %13, align 8
store ptr %3, ptr %14, align 8
store ptr %4, ptr %15, align 8
store ptr %5, ptr %16, align 8
store ptr %6, ptr %17, align 8
store ptr %7, ptr %18, align 8
store ptr %8, ptr %19, align 8
%21 = load ptr, ptr %11, align 8
store ptr %21, ptr %20, align 8
%22 = load i32, ptr %12, align 4
%23 = load ptr, ptr %20, align 8
%24 = getelementptr inbounds %struct.kvm_cpuid2, ptr %23, i32 0, i32 0
%25 = load i32, ptr %24, align 8
%26 = icmp sge i32 %22, %25
br i1 %26, label %27, label %29
27: ; preds = %9
%28 = load i32, ptr @E2BIG, align 4
store i32 %28, ptr %10, align 4
br label %93
29: ; preds = %9
%30 = load ptr, ptr %20, align 8
%31 = getelementptr inbounds %struct.kvm_cpuid2, ptr %30, i32 0, i32 1
%32 = load ptr, ptr %31, align 8
%33 = load i32, ptr %12, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds %struct.TYPE_2__, ptr %32, i64 %34
%36 = getelementptr inbounds %struct.TYPE_2__, ptr %35, i32 0, i32 6
%37 = load i32, ptr %36, align 4
%38 = load ptr, ptr %13, align 8
store i32 %37, ptr %38, align 4
%39 = load ptr, ptr %20, align 8
%40 = getelementptr inbounds %struct.kvm_cpuid2, ptr %39, i32 0, i32 1
%41 = load ptr, ptr %40, align 8
%42 = load i32, ptr %12, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds %struct.TYPE_2__, ptr %41, i64 %43
%45 = getelementptr inbounds %struct.TYPE_2__, ptr %44, i32 0, i32 5
%46 = load i32, ptr %45, align 4
%47 = load ptr, ptr %14, align 8
store i32 %46, ptr %47, align 4
%48 = load ptr, ptr %20, align 8
%49 = getelementptr inbounds %struct.kvm_cpuid2, ptr %48, i32 0, i32 1
%50 = load ptr, ptr %49, align 8
%51 = load i32, ptr %12, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds %struct.TYPE_2__, ptr %50, i64 %52
%54 = getelementptr inbounds %struct.TYPE_2__, ptr %53, i32 0, i32 4
%55 = load i32, ptr %54, align 4
%56 = load ptr, ptr %15, align 8
store i32 %55, ptr %56, align 4
%57 = load ptr, ptr %20, align 8
%58 = getelementptr inbounds %struct.kvm_cpuid2, ptr %57, i32 0, i32 1
%59 = load ptr, ptr %58, align 8
%60 = load i32, ptr %12, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds %struct.TYPE_2__, ptr %59, i64 %61
%63 = getelementptr inbounds %struct.TYPE_2__, ptr %62, i32 0, i32 3
%64 = load i32, ptr %63, align 4
%65 = load ptr, ptr %16, align 8
store i32 %64, ptr %65, align 4
%66 = load ptr, ptr %20, align 8
%67 = getelementptr inbounds %struct.kvm_cpuid2, ptr %66, i32 0, i32 1
%68 = load ptr, ptr %67, align 8
%69 = load i32, ptr %12, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds %struct.TYPE_2__, ptr %68, i64 %70
%72 = getelementptr inbounds %struct.TYPE_2__, ptr %71, i32 0, i32 2
%73 = load i32, ptr %72, align 4
%74 = load ptr, ptr %17, align 8
store i32 %73, ptr %74, align 4
%75 = load ptr, ptr %20, align 8
%76 = getelementptr inbounds %struct.kvm_cpuid2, ptr %75, i32 0, i32 1
%77 = load ptr, ptr %76, align 8
%78 = load i32, ptr %12, align 4
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds %struct.TYPE_2__, ptr %77, i64 %79
%81 = getelementptr inbounds %struct.TYPE_2__, ptr %80, i32 0, i32 1
%82 = load i32, ptr %81, align 4
%83 = load ptr, ptr %18, align 8
store i32 %82, ptr %83, align 4
%84 = load ptr, ptr %20, align 8
%85 = getelementptr inbounds %struct.kvm_cpuid2, ptr %84, i32 0, i32 1
%86 = load ptr, ptr %85, align 8
%87 = load i32, ptr %12, align 4
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds %struct.TYPE_2__, ptr %86, i64 %88
%90 = getelementptr inbounds %struct.TYPE_2__, ptr %89, i32 0, i32 0
%91 = load i32, ptr %90, align 4
%92 = load ptr, ptr %19, align 8
store i32 %91, ptr %92, align 4
store i32 0, ptr %10, align 4
br label %93
93: ; preds = %29, %27
%94 = load i32, ptr %10, align 4
ret i32 %94
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpo970k3p4.c'
source_filename = "/tmp/tmpo970k3p4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s - %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @dumpDataCallback(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
store i32 0, ptr %9, align 4
br label %10
10: ; preds = %26, %4
%11 = load i32, ptr %9, align 4
%12 = load i32, ptr %6, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %29
14: ; preds = %10
%15 = load ptr, ptr %8, align 8
%16 = load i32, ptr %9, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds ptr, ptr %15, i64 %17
%19 = load ptr, ptr %18, align 8
%20 = load ptr, ptr %7, align 8
%21 = load i32, ptr %9, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds ptr, ptr %20, i64 %22
%24 = load ptr, ptr %23, align 8
%25 = call i32 @printf(ptr noundef @.str, ptr noundef %19, ptr noundef %24)
br label %26
26: ; preds = %14
%27 = load i32, ptr %9, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %9, align 4
br label %10, !llvm.loop !6
29: ; preds = %10
ret i32 0
}
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpo970k3p4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s - %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @dumpDataCallback(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
store i32 0, ptr %9, align 4
%10 = load i32, ptr %9, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %.lr.ph, label %31
.lr.ph: ; preds = %4
br label %13
13: ; preds = %.lr.ph, %25
%14 = load ptr, ptr %8, align 8
%15 = load i32, ptr %9, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds ptr, ptr %14, i64 %16
%18 = load ptr, ptr %17, align 8
%19 = load ptr, ptr %7, align 8
%20 = load i32, ptr %9, 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 i32 @printf(ptr noundef @.str, ptr noundef %18, ptr noundef %23)
br label %25
25: ; preds = %13
%26 = load i32, ptr %9, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %9, align 4
%28 = load i32, ptr %9, align 4
%29 = load i32, ptr %6, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %31
31: ; preds = %._crit_edge, %4
ret i32 0
}
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpqczqdwih.c'
source_filename = "/tmp/tmpqczqdwih.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @FlushAllCaches()
%2 = call i32 @delay(i32 noundef 1000)
%3 = call i32 @Reboot(i32 noundef 0)
ret i32 0
}
declare i32 @FlushAllCaches(...) #1
declare i32 @delay(i32 noundef) #1
declare i32 @Reboot(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/tmpqczqdwih.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @FlushAllCaches()
%2 = call i32 @delay(i32 noundef 1000)
%3 = call i32 @Reboot(i32 noundef 0)
ret i32 0
}
declare i32 @FlushAllCaches(...) #1
declare i32 @delay(i32 noundef) #1
declare i32 @Reboot(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/tmpfi8oskdy.c'
source_filename = "/tmp/tmpfi8oskdy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @poolstring(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i64 @strlen(ptr noundef %7)
%9 = add nsw i64 %8, 1
%10 = call ptr @poolallocn(ptr noundef %6, i64 noundef %9)
store ptr %10, ptr %5, align 8
%11 = load ptr, ptr %5, align 8
%12 = load ptr, ptr %4, align 8
%13 = call i32 @strcpy(ptr noundef %11, ptr noundef %12)
%14 = load ptr, ptr %5, align 8
ret ptr %14
}
declare ptr @poolallocn(ptr noundef, i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfi8oskdy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @poolstring(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i64 @strlen(ptr noundef %7)
%9 = add nsw i64 %8, 1
%10 = call ptr @poolallocn(ptr noundef %6, i64 noundef %9)
store ptr %10, ptr %5, align 8
%11 = load ptr, ptr %5, align 8
%12 = load ptr, ptr %4, align 8
%13 = call i32 @strcpy(ptr noundef %11, ptr noundef %12)
%14 = load ptr, ptr %5, align 8
ret ptr %14
}
declare ptr @poolallocn(ptr noundef, i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpg06ymjcn.c'
source_filename = "/tmp/tmpg06ymjcn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fb(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) #0 {
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store i32 %0, ptr %8, align 4
store i32 %1, ptr %9, align 4
store i32 %2, ptr %10, align 4
store i32 %3, ptr %11, align 4
store i32 %4, ptr %12, align 4
store i32 %5, ptr %13, align 4
store i32 %6, ptr %14, align 4
%15 = call i32 @fa(i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0)
ret i32 0
}
declare i32 @fa(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpg06ymjcn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fb(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) #0 {
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store i32 %0, ptr %8, align 4
store i32 %1, ptr %9, align 4
store i32 %2, ptr %10, align 4
store i32 %3, ptr %11, align 4
store i32 %4, ptr %12, align 4
store i32 %5, ptr %13, align 4
store i32 %6, ptr %14, align 4
%15 = call i32 @fa(i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0)
ret i32 0
}
declare i32 @fa(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzrx_988h.c'
source_filename = "/tmp/tmpzrx_988h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"MAIL FROM:<%s>\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @smtp_sendFrom(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [1024 x i8], align 16
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%8 = load ptr, ptr %5, align 8
%9 = call i32 @snprintf(ptr noundef %7, i32 noundef 1024, ptr noundef @.str, ptr noundef %8)
%10 = load i32, ptr %4, align 4
%11 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%12 = load ptr, ptr %5, align 8
%13 = call i64 @strlen(ptr noundef %12)
%14 = add nsw i64 14, %13
%15 = call i32 @write(i32 noundef %10, ptr noundef %11, i64 noundef %14)
%16 = load i32, ptr %3, align 4
ret i32 %16
}
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzrx_988h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"MAIL FROM:<%s>\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @smtp_sendFrom(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [1024 x i8], align 16
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%8 = load ptr, ptr %5, align 8
%9 = call i32 @snprintf(ptr noundef %7, i32 noundef 1024, ptr noundef @.str, ptr noundef %8)
%10 = load i32, ptr %4, align 4
%11 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%12 = load ptr, ptr %5, align 8
%13 = call i64 @strlen(ptr noundef %12)
%14 = add nsw i64 14, %13
%15 = call i32 @write(i32 noundef %10, ptr noundef %11, i64 noundef %14)
%16 = load i32, ptr %3, align 4
ret i32 %16
}
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfx848wge.c'
source_filename = "/tmp/tmpfx848wge.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @string_split(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%8 = load ptr, ptr %6, align 8
store i32 0, ptr %8, align 4
%9 = load ptr, ptr %5, align 8
%10 = call i32 @strlen(ptr noundef %9)
%11 = add nsw i32 %10, 1
%12 = sext i32 %11 to i64
%13 = mul i64 %12, 8
%14 = trunc i64 %13 to i32
%15 = call ptr @malloc(i32 noundef %14)
%16 = load ptr, ptr %7, align 8
store ptr %15, ptr %16, align 8
%17 = load ptr, ptr %7, align 8
%18 = load ptr, ptr %17, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %21, label %20
20: ; preds = %3
store i32 0, ptr %4, align 4
br label %78
21: ; preds = %3
br label %22
22: ; preds = %70, %21
%23 = load ptr, ptr %5, align 8
%24 = load i8, ptr %23, align 1
%25 = icmp ne i8 %24, 0
br i1 %25, label %26, label %71
26: ; preds = %22
br label %27
27: ; preds = %33, %26
%28 = load ptr, ptr %5, align 8
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = call i64 @isspace(i32 noundef %30)
%32 = icmp ne i64 %31, 0
br i1 %32, label %33, label %36
33: ; preds = %27
%34 = load ptr, ptr %5, align 8
%35 = getelementptr inbounds i8, ptr %34, i32 1
store ptr %35, ptr %5, align 8
br label %27, !llvm.loop !6
36: ; preds = %27
%37 = load ptr, ptr %5, align 8
%38 = load ptr, ptr %7, align 8
%39 = load ptr, ptr %38, align 8
%40 = load ptr, ptr %6, align 8
%41 = load i32, ptr %40, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %40, align 4
%43 = sext i32 %41 to i64
%44 = getelementptr inbounds ptr, ptr %39, i64 %43
store ptr %37, ptr %44, align 8
br label %45
45: ; preds = %59, %36
%46 = load ptr, ptr %5, align 8
%47 = load i8, ptr %46, align 1
%48 = sext i8 %47 to i32
%49 = icmp ne i32 %48, 0
br i1 %49, label %50, label %57
50: ; preds = %45
%51 = load ptr, ptr %5, align 8
%52 = load i8, ptr %51, align 1
%53 = sext i8 %52 to i32
%54 = call i64 @isspace(i32 noundef %53)
%55 = icmp ne i64 %54, 0
%56 = xor i1 %55, true
br label %57
57: ; preds = %50, %45
%58 = phi i1 [ false, %45 ], [ %56, %50 ]
br i1 %58, label %59, label %62
59: ; preds = %57
%60 = load ptr, ptr %5, align 8
%61 = getelementptr inbounds i8, ptr %60, i32 1
store ptr %61, ptr %5, align 8
br label %45, !llvm.loop !8
62: ; preds = %57
%63 = load ptr, ptr %5, align 8
%64 = load i8, ptr %63, align 1
%65 = icmp ne i8 %64, 0
br i1 %65, label %66, label %70
66: ; preds = %62
%67 = load ptr, ptr %5, align 8
store i8 0, ptr %67, align 1
%68 = load ptr, ptr %5, align 8
%69 = getelementptr inbounds i8, ptr %68, i32 1
store ptr %69, ptr %5, align 8
br label %70
70: ; preds = %66, %62
br label %22, !llvm.loop !9
71: ; preds = %22
%72 = load ptr, ptr %7, align 8
%73 = load ptr, ptr %72, align 8
%74 = load ptr, ptr %6, align 8
%75 = load i32, ptr %74, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds ptr, ptr %73, i64 %76
store ptr null, ptr %77, align 8
store i32 1, ptr %4, align 4
br label %78
78: ; preds = %71, %20
%79 = load i32, ptr %4, align 4
ret i32 %79
}
declare ptr @malloc(i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i64 @isspace(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfx848wge.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @string_split(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%8 = load ptr, ptr %6, align 8
store i32 0, ptr %8, align 4
%9 = load ptr, ptr %5, align 8
%10 = call i32 @strlen(ptr noundef %9)
%11 = add nsw i32 %10, 1
%12 = sext i32 %11 to i64
%13 = mul i64 %12, 8
%14 = trunc i64 %13 to i32
%15 = call ptr @malloc(i32 noundef %14)
%16 = load ptr, ptr %7, align 8
store ptr %15, ptr %16, align 8
%17 = load ptr, ptr %7, align 8
%18 = load ptr, ptr %17, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %21, label %20
20: ; preds = %3
store i32 0, ptr %4, align 4
br label %84
21: ; preds = %3
%22 = load ptr, ptr %5, align 8
%23 = load i8, ptr %22, align 1
%24 = icmp ne i8 %23, 0
br i1 %24, label %.lr.ph2, label %77
.lr.ph2: ; preds = %21
br label %25
25: ; preds = %.lr.ph2, %73
%26 = load ptr, ptr %5, align 8
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = call i64 @isspace(i32 noundef %28)
%30 = icmp ne i64 %29, 0
br i1 %30, label %.lr.ph, label %39
.lr.ph: ; preds = %25
br label %31
31: ; preds = %.lr.ph, %31
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds i8, ptr %32, i32 1
store ptr %33, ptr %5, align 8
%34 = load ptr, ptr %5, align 8
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = call i64 @isspace(i32 noundef %36)
%38 = icmp ne i64 %37, 0
br i1 %38, label %31, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %31
br label %39
39: ; preds = %._crit_edge, %25
%40 = load ptr, ptr %5, align 8
%41 = load ptr, ptr %7, align 8
%42 = load ptr, ptr %41, align 8
%43 = load ptr, ptr %6, align 8
%44 = load i32, ptr %43, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %43, align 4
%46 = sext i32 %44 to i64
%47 = getelementptr inbounds ptr, ptr %42, i64 %46
store ptr %40, ptr %47, align 8
br label %48
48: ; preds = %62, %39
%49 = load ptr, ptr %5, align 8
%50 = load i8, ptr %49, align 1
%51 = sext i8 %50 to i32
%52 = icmp ne i32 %51, 0
br i1 %52, label %53, label %60
53: ; preds = %48
%54 = load ptr, ptr %5, align 8
%55 = load i8, ptr %54, align 1
%56 = sext i8 %55 to i32
%57 = call i64 @isspace(i32 noundef %56)
%58 = icmp ne i64 %57, 0
%59 = xor i1 %58, true
br label %60
60: ; preds = %53, %48
%61 = phi i1 [ false, %48 ], [ %59, %53 ]
br i1 %61, label %62, label %65
62: ; preds = %60
%63 = load ptr, ptr %5, align 8
%64 = getelementptr inbounds i8, ptr %63, i32 1
store ptr %64, ptr %5, align 8
br label %48, !llvm.loop !8
65: ; preds = %60
%66 = load ptr, ptr %5, align 8
%67 = load i8, ptr %66, align 1
%68 = icmp ne i8 %67, 0
br i1 %68, label %69, label %73
69: ; preds = %65
%70 = load ptr, ptr %5, align 8
store i8 0, ptr %70, align 1
%71 = load ptr, ptr %5, align 8
%72 = getelementptr inbounds i8, ptr %71, i32 1
store ptr %72, ptr %5, align 8
br label %73
73: ; preds = %69, %65
%74 = load ptr, ptr %5, align 8
%75 = load i8, ptr %74, align 1
%76 = icmp ne i8 %75, 0
br i1 %76, label %25, label %._crit_edge3, !llvm.loop !9
._crit_edge3: ; preds = %73
br label %77
77: ; preds = %._crit_edge3, %21
%78 = load ptr, ptr %7, align 8
%79 = load ptr, ptr %78, align 8
%80 = load ptr, ptr %6, align 8
%81 = load i32, ptr %80, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds ptr, ptr %79, i64 %82
store ptr null, ptr %83, align 8
store i32 1, ptr %4, align 4
br label %84
84: ; preds = %77, %20
%85 = load i32, ptr %4, align 4
ret i32 %85
}
declare ptr @malloc(i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i64 @isspace(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp8q0kakk7.c'
source_filename = "/tmp/tmp8q0kakk7.c"
target datalayout = "e-m:e-p270: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.areas = private unnamed_addr constant [5 x i32] [i32 10, i32 12, i32 13, i32 14, i32 20], align 16
@__const.main.name = private unnamed_addr constant [5 x i8] c"Carl\00", align 1
@__const.main.fullName = private unnamed_addr constant [20 x i8] c"Carl Andrew Bycraft\00", align 16
@.str = private unnamed_addr constant [28 x i8] c"The size of an int is: %ld\0A\00", align 1
@.str.1 = private unnamed_addr constant [35 x i8] c"The size of areas (int[]) is: %ld\0A\00", align 1
@.str.2 = private unnamed_addr constant [42 x i8] c"The number of ints in areas (int[]): %ld\0A\00", align 1
@.str.3 = private unnamed_addr constant [41 x i8] c"The first area %d and the second is %d.\0A\00", align 1
@.str.4 = private unnamed_addr constant [26 x i8] c"The size of char is: %ld\0A\00", align 1
@.str.5 = private unnamed_addr constant [26 x i8] c"The size of name is: %ld\0A\00", align 1
@.str.6 = private unnamed_addr constant [29 x i8] c"The number of chars is: %ld\0A\00", align 1
@.str.7 = private unnamed_addr constant [31 x i8] c"The size of full name is: %ld\0A\00", align 1
@.str.8 = private unnamed_addr constant [42 x i8] c"The number of chars in full name is: %ld\0A\00", align 1
@.str.9 = private unnamed_addr constant [29 x i8] c"Name=\22%s\22 and fullName=\22%s\22\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 ptr, align 8
%5 = alloca [5 x i32], align 16
%6 = alloca [5 x i8], align 1
%7 = alloca [20 x i8], align 16
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.main.areas, i64 20, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %6, ptr align 1 @__const.main.name, i64 5, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.fullName, i64 20, i1 false)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str, i64 noundef 4)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef 20)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef 5)
%11 = getelementptr inbounds [5 x i32], ptr %5, i64 0, i64 0
%12 = load i32, ptr %11, align 16
%13 = getelementptr inbounds [5 x i32], ptr %5, i64 0, i64 1
%14 = load i32, ptr %13, align 4
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %12, i32 noundef %14)
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i64 noundef 1)
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i64 noundef 5)
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i64 noundef 5)
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i64 noundef 20)
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i64 noundef 20)
%21 = getelementptr inbounds [5 x i8], ptr %6, i64 0, i64 0
%22 = getelementptr inbounds [20 x i8], ptr %7, i64 0, i64 0
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %21, ptr noundef %22)
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
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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/tmp8q0kakk7.c"
target datalayout = "e-m:e-p270: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.areas = private unnamed_addr constant [5 x i32] [i32 10, i32 12, i32 13, i32 14, i32 20], align 16
@__const.main.name = private unnamed_addr constant [5 x i8] c"Carl\00", align 1
@__const.main.fullName = private unnamed_addr constant [20 x i8] c"Carl Andrew Bycraft\00", align 16
@.str = private unnamed_addr constant [28 x i8] c"The size of an int is: %ld\0A\00", align 1
@.str.1 = private unnamed_addr constant [35 x i8] c"The size of areas (int[]) is: %ld\0A\00", align 1
@.str.2 = private unnamed_addr constant [42 x i8] c"The number of ints in areas (int[]): %ld\0A\00", align 1
@.str.3 = private unnamed_addr constant [41 x i8] c"The first area %d and the second is %d.\0A\00", align 1
@.str.4 = private unnamed_addr constant [26 x i8] c"The size of char is: %ld\0A\00", align 1
@.str.5 = private unnamed_addr constant [26 x i8] c"The size of name is: %ld\0A\00", align 1
@.str.6 = private unnamed_addr constant [29 x i8] c"The number of chars is: %ld\0A\00", align 1
@.str.7 = private unnamed_addr constant [31 x i8] c"The size of full name is: %ld\0A\00", align 1
@.str.8 = private unnamed_addr constant [42 x i8] c"The number of chars in full name is: %ld\0A\00", align 1
@.str.9 = private unnamed_addr constant [29 x i8] c"Name=\22%s\22 and fullName=\22%s\22\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 ptr, align 8
%5 = alloca [5 x i32], align 16
%6 = alloca [5 x i8], align 1
%7 = alloca [20 x i8], align 16
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.main.areas, i64 20, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %6, ptr align 1 @__const.main.name, i64 5, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.fullName, i64 20, i1 false)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str, i64 noundef 4)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef 20)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef 5)
%11 = getelementptr inbounds [5 x i32], ptr %5, i64 0, i64 0
%12 = load i32, ptr %11, align 16
%13 = getelementptr inbounds [5 x i32], ptr %5, i64 0, i64 1
%14 = load i32, ptr %13, align 4
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %12, i32 noundef %14)
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i64 noundef 1)
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i64 noundef 5)
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i64 noundef 5)
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i64 noundef 20)
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i64 noundef 20)
%21 = getelementptr inbounds [5 x i8], ptr %6, i64 0, i64 0
%22 = getelementptr inbounds [20 x i8], ptr %7, i64 0, i64 0
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %21, ptr noundef %22)
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
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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/tmpe15w98dr.c'
source_filename = "/tmp/tmpe15w98dr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fs_writecontents_safe(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store i32 %3, ptr %10, align 4
store i32 %4, ptr %11, align 4
store ptr null, ptr %12, align 8
store ptr null, ptr %13, align 8
%17 = load ptr, ptr %7, align 8
%18 = call i32 @strlen(ptr noundef %17)
%19 = add i32 %18, 1
store i32 %19, ptr %15, align 4
%20 = load i32, ptr %15, align 4
%21 = load ptr, ptr %8, align 8
%22 = call i32 @strlen(ptr noundef %21)
%23 = add i32 %20, %22
%24 = add i32 %23, 1
store i32 %24, ptr %16, align 4
%25 = load i32, ptr %16, align 4
%26 = zext i32 %25 to i64
%27 = call ptr @malloc(i64 noundef %26)
store ptr %27, ptr %13, align 8
%28 = icmp eq ptr null, %27
br i1 %28, label %29, label %30
29: ; preds = %5
store i32 1, ptr %6, align 4
br label %76
30: ; preds = %5
%31 = load ptr, ptr %13, align 8
store ptr %31, ptr %12, align 8
%32 = load ptr, ptr %13, align 8
%33 = load ptr, ptr %7, align 8
%34 = call i32 @strcpy(ptr noundef %32, ptr noundef %33)
%35 = load ptr, ptr %13, align 8
%36 = load i32, ptr %15, align 4
%37 = zext i32 %36 to i64
%38 = getelementptr inbounds i8, ptr %35, i64 %37
%39 = getelementptr inbounds i8, ptr %38, i64 -1
store i8 47, ptr %39, align 1
%40 = load ptr, ptr %13, align 8
%41 = load i32, ptr %15, align 4
%42 = zext i32 %41 to i64
%43 = getelementptr inbounds i8, ptr %40, i64 %42
store i8 0, ptr %43, align 1
%44 = load ptr, ptr %13, align 8
%45 = load ptr, ptr %8, align 8
%46 = call i32 @strcat(ptr noundef %44, ptr noundef %45)
%47 = load ptr, ptr %12, align 8
%48 = load i32, ptr %15, align 4
%49 = zext i32 %48 to i64
%50 = getelementptr inbounds i8, ptr %47, i64 %49
store ptr %50, ptr %13, align 8
br label %51
51: ; preds = %64, %30
%52 = load ptr, ptr %13, align 8
%53 = load i8, ptr %52, align 1
%54 = sext i8 %53 to i32
%55 = icmp ne i32 0, %54
br i1 %55, label %56, label %67
56: ; preds = %51
%57 = load ptr, ptr %13, align 8
%58 = load i8, ptr %57, align 1
%59 = sext i8 %58 to i32
%60 = icmp eq i32 47, %59
br i1 %60, label %61, label %63
61: ; preds = %56
%62 = load ptr, ptr %13, align 8
store i8 95, ptr %62, align 1
br label %63
63: ; preds = %61, %56
br label %64
64: ; preds = %63
%65 = load ptr, ptr %13, align 8
%66 = getelementptr inbounds i8, ptr %65, i32 1
store ptr %66, ptr %13, align 8
br label %51, !llvm.loop !6
67: ; preds = %51
%68 = load ptr, ptr %12, align 8
%69 = load ptr, ptr %9, align 8
%70 = load i32, ptr %10, align 4
%71 = load i32, ptr %11, align 4
%72 = call i32 @fs_writecontents(ptr noundef %68, ptr noundef %69, i32 noundef %70, i32 noundef %71)
store i32 %72, ptr %14, align 4
%73 = load ptr, ptr %12, align 8
%74 = call i32 @free(ptr noundef %73)
%75 = load i32, ptr %14, align 4
store i32 %75, ptr %6, align 4
br label %76
76: ; preds = %67, %29
%77 = load i32, ptr %6, align 4
ret i32 %77
}
declare i32 @strlen(ptr noundef) #1
declare ptr @malloc(i64 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
declare i32 @fs_writecontents(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe15w98dr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fs_writecontents_safe(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store i32 %3, ptr %10, align 4
store i32 %4, ptr %11, align 4
store ptr null, ptr %12, align 8
store ptr null, ptr %13, align 8
%17 = load ptr, ptr %7, align 8
%18 = call i32 @strlen(ptr noundef %17)
%19 = add i32 %18, 1
store i32 %19, ptr %15, align 4
%20 = load i32, ptr %15, align 4
%21 = load ptr, ptr %8, align 8
%22 = call i32 @strlen(ptr noundef %21)
%23 = add i32 %20, %22
%24 = add i32 %23, 1
store i32 %24, ptr %16, align 4
%25 = load i32, ptr %16, align 4
%26 = zext i32 %25 to i64
%27 = call ptr @malloc(i64 noundef %26)
store ptr %27, ptr %13, align 8
%28 = icmp eq ptr null, %27
br i1 %28, label %29, label %30
29: ; preds = %5
store i32 1, ptr %6, align 4
br label %79
30: ; preds = %5
%31 = load ptr, ptr %13, align 8
store ptr %31, ptr %12, align 8
%32 = load ptr, ptr %13, align 8
%33 = load ptr, ptr %7, align 8
%34 = call i32 @strcpy(ptr noundef %32, ptr noundef %33)
%35 = load ptr, ptr %13, align 8
%36 = load i32, ptr %15, align 4
%37 = zext i32 %36 to i64
%38 = getelementptr inbounds i8, ptr %35, i64 %37
%39 = getelementptr inbounds i8, ptr %38, i64 -1
store i8 47, ptr %39, align 1
%40 = load ptr, ptr %13, align 8
%41 = load i32, ptr %15, align 4
%42 = zext i32 %41 to i64
%43 = getelementptr inbounds i8, ptr %40, i64 %42
store i8 0, ptr %43, align 1
%44 = load ptr, ptr %13, align 8
%45 = load ptr, ptr %8, align 8
%46 = call i32 @strcat(ptr noundef %44, ptr noundef %45)
%47 = load ptr, ptr %12, align 8
%48 = load i32, ptr %15, align 4
%49 = zext i32 %48 to i64
%50 = getelementptr inbounds i8, ptr %47, i64 %49
store ptr %50, ptr %13, align 8
%51 = load ptr, ptr %13, align 8
%52 = load i8, ptr %51, align 1
%53 = sext i8 %52 to i32
%54 = icmp ne i32 0, %53
br i1 %54, label %.lr.ph, label %70
.lr.ph: ; preds = %30
br label %55
55: ; preds = %.lr.ph, %63
%56 = load ptr, ptr %13, align 8
%57 = load i8, ptr %56, align 1
%58 = sext i8 %57 to i32
%59 = icmp eq i32 47, %58
br i1 %59, label %60, label %62
60: ; preds = %55
%61 = load ptr, ptr %13, align 8
store i8 95, ptr %61, align 1
br label %62
62: ; preds = %60, %55
br label %63
63: ; preds = %62
%64 = load ptr, ptr %13, align 8
%65 = getelementptr inbounds i8, ptr %64, i32 1
store ptr %65, ptr %13, align 8
%66 = load ptr, ptr %13, align 8
%67 = load i8, ptr %66, align 1
%68 = sext i8 %67 to i32
%69 = icmp ne i32 0, %68
br i1 %69, label %55, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %63
br label %70
70: ; preds = %._crit_edge, %30
%71 = load ptr, ptr %12, align 8
%72 = load ptr, ptr %9, align 8
%73 = load i32, ptr %10, align 4
%74 = load i32, ptr %11, align 4
%75 = call i32 @fs_writecontents(ptr noundef %71, ptr noundef %72, i32 noundef %73, i32 noundef %74)
store i32 %75, ptr %14, align 4
%76 = load ptr, ptr %12, align 8
%77 = call i32 @free(ptr noundef %76)
%78 = load i32, ptr %14, align 4
store i32 %78, ptr %6, align 4
br label %79
79: ; preds = %70, %29
%80 = load i32, ptr %6, align 4
ret i32 %80
}
declare i32 @strlen(ptr noundef) #1
declare ptr @malloc(i64 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
declare i32 @fs_writecontents(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpx1uw57rp.c'
source_filename = "/tmp/tmpx1uw57rp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [36 x i8] c"%d frames (%d KByte) total memory.\0A\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"%d frames (%d KByte) free.\0A\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"%d %% usage.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (...) @get_free_frames()
store i32 %3, ptr %2, align 4
%4 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef 16384, i32 noundef 65536)
%5 = load i32, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = mul nsw i32 %6, 4
%8 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %5, i32 noundef %7)
%9 = load i32, ptr %2, align 4
%10 = mul nsw i32 %9, 100
%11 = sdiv i32 %10, 16384
%12 = sub nsw i32 100, %11
%13 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %12)
%14 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @get_free_frames(...) #1
declare i32 @printf(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/tmpx1uw57rp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [36 x i8] c"%d frames (%d KByte) total memory.\0A\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"%d frames (%d KByte) free.\0A\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"%d %% usage.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (...) @get_free_frames()
store i32 %3, ptr %2, align 4
%4 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef 16384, i32 noundef 65536)
%5 = load i32, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = mul nsw i32 %6, 4
%8 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %5, i32 noundef %7)
%9 = load i32, ptr %2, align 4
%10 = mul nsw i32 %9, 100
%11 = sdiv i32 %10, 16384
%12 = sub nsw i32 100, %11
%13 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %12)
%14 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @get_free_frames(...) #1
declare i32 @printf(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/tmp8qp4h2iv.c'
source_filename = "/tmp/tmp8qp4h2iv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ibv_query_srq(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = call i32 (...) @dmtcp_plugin_disable_ckpt()
%7 = load ptr, ptr %3, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i32 @_query_srq(ptr noundef %7, ptr noundef %8)
store i32 %9, ptr %5, align 4
%10 = call i32 (...) @dmtcp_plugin_enable_ckpt()
%11 = load i32, ptr %5, align 4
ret i32 %11
}
declare i32 @dmtcp_plugin_disable_ckpt(...) #1
declare i32 @_query_srq(ptr noundef, ptr noundef) #1
declare i32 @dmtcp_plugin_enable_ckpt(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8qp4h2iv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ibv_query_srq(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = call i32 (...) @dmtcp_plugin_disable_ckpt()
%7 = load ptr, ptr %3, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i32 @_query_srq(ptr noundef %7, ptr noundef %8)
store i32 %9, ptr %5, align 4
%10 = call i32 (...) @dmtcp_plugin_enable_ckpt()
%11 = load i32, ptr %5, align 4
ret i32 %11
}
declare i32 @dmtcp_plugin_disable_ckpt(...) #1
declare i32 @_query_srq(ptr noundef, ptr noundef) #1
declare i32 @dmtcp_plugin_enable_ckpt(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8kgohsuo.c'
source_filename = "/tmp/tmp8kgohsuo.c"
target datalayout = "e-m:e-p270: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.addrinfo = type { ptr, i64, i32, i32 }
%struct.sockaddr_in = type { %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32 }
%struct.hostent = type { ptr }
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [27 x i8] c"calling gethostname() ...\0A\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"gethostname\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"host name is %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.4 = private unnamed_addr constant [37 x i8] c"calling getaddrinfo (preferred) ...\0A\00", align 1
@AI_CANONNAME = dso_local global i32 0, align 4
@AF_INET = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [24 x i8] c"getaddrinfo rtn: %d %s\0A\00", align 1
@.str.6 = private unnamed_addr constant [12 x i8] c"getaddrinfo\00", align 1
@.str.7 = private unnamed_addr constant [25 x i8] c"getaddrinfo() succeeded\0A\00", align 1
@.str.8 = private unnamed_addr constant [41 x i8] c"printing ip address via getaddrinfo ...\0A\00", align 1
@.str.9 = private unnamed_addr constant [20 x i8] c"%x (canonical: %s)\0A\00", align 1
@.str.10 = private unnamed_addr constant [26 x i8] c"ERROR: can't look up: %s\0A\00", align 1
@.str.11 = private unnamed_addr constant [38 x i8] c"calling gethostbyname (obsolete) ...\0A\00", align 1
@.str.12 = private unnamed_addr constant [14 x i8] c"gethostbyname\00", align 1
@.str.13 = private unnamed_addr constant [27 x i8] c"gethostbyname() succeeded\0A\00", align 1
@.str.14 = private unnamed_addr constant [47 x i8] c"printing ip address(es) via gethostbyname ...\0A\00", align 1
@.str.15 = private unnamed_addr constant [4 x i8] c"%x\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
%8 = alloca [1024 x i8], align 16
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr null, ptr %10, align 8
store ptr null, ptr %11, align 8
%13 = load i32, ptr %4, align 4
%14 = icmp sgt i32 %13, 1
br i1 %14, label %15, label %21
15: ; preds = %2
%16 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 1
%19 = load ptr, ptr %18, align 8
%20 = call i32 @strcpy(ptr noundef %16, ptr noundef %19)
br label %35
21: ; preds = %2
%22 = load i32, ptr @stderr, align 4
%23 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %22, ptr noundef @.str)
%24 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%25 = call i32 @gethostname(ptr noundef %24, i32 noundef 1024)
%26 = icmp eq i32 %25, -1
br i1 %26, label %27, label %30
27: ; preds = %21
%28 = call i32 @perror(ptr noundef @.str.1)
%29 = call i32 @exit(i32 noundef 1) #3
unreachable
30: ; preds = %21
%31 = load i32, ptr @stderr, align 4
%32 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%33 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %31, ptr noundef @.str.2, ptr noundef %32)
br label %34
34: ; preds = %30
br label %35
35: ; preds = %34, %15
%36 = load i32, ptr @stderr, align 4
%37 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %36, ptr noundef @.str.3)
%38 = load i32, ptr @stderr, align 4
%39 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %38, ptr noundef @.str.4)
%40 = call i64 @calloc(i32 noundef 1, i32 noundef 24)
%41 = inttoptr i64 %40 to ptr
store ptr %41, ptr %10, align 8
%42 = load i32, ptr @AI_CANONNAME, align 4
%43 = load ptr, ptr %10, align 8
%44 = getelementptr inbounds %struct.addrinfo, ptr %43, i32 0, i32 3
%45 = load i32, ptr %44, align 4
%46 = or i32 %45, %42
store i32 %46, ptr %44, align 4
%47 = load i32, ptr @AF_INET, align 4
%48 = load ptr, ptr %10, align 8
%49 = getelementptr inbounds %struct.addrinfo, ptr %48, i32 0, i32 2
store i32 %47, ptr %49, align 8
%50 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%51 = load ptr, ptr %10, align 8
%52 = call i32 @getaddrinfo(ptr noundef %50, ptr noundef null, ptr noundef %51, ptr noundef %11)
store i32 %52, ptr %7, align 4
%53 = load i32, ptr %7, align 4
%54 = icmp ne i32 %53, 0
br i1 %54, label %55, label %63
55: ; preds = %35
%56 = load i32, ptr @stderr, align 4
%57 = load i32, ptr %7, align 4
%58 = load i32, ptr %7, align 4
%59 = call ptr @gai_strerror(i32 noundef %58)
%60 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %56, ptr noundef @.str.5, i32 noundef %57, ptr noundef %59)
%61 = call i32 @perror(ptr noundef @.str.6)
%62 = call i32 @exit(i32 noundef 1) #3
unreachable
63: ; preds = %35
%64 = load i32, ptr @stderr, align 4
%65 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %64, ptr noundef @.str.7)
br label %66
66: ; preds = %63
%67 = load i32, ptr @stderr, align 4
%68 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %67, ptr noundef @.str.8)
%69 = load ptr, ptr %11, align 8
%70 = icmp ne ptr %69, null
br i1 %70, label %71, label %93
71: ; preds = %66
%72 = load ptr, ptr %11, align 8
%73 = getelementptr inbounds %struct.addrinfo, ptr %72, i32 0, i32 1
%74 = load i64, ptr %73, align 8
%75 = inttoptr i64 %74 to ptr
store ptr %75, ptr %12, align 8
%76 = load i32, ptr @stderr, align 4
%77 = load ptr, ptr %12, align 8
%78 = getelementptr inbounds %struct.sockaddr_in, ptr %77, i32 0, i32 0
%79 = getelementptr inbounds %struct.TYPE_2__, ptr %78, i32 0, i32 0
%80 = load i32, ptr %79, align 4
%81 = load ptr, ptr %11, align 8
%82 = getelementptr inbounds %struct.addrinfo, ptr %81, i32 0, i32 0
%83 = load ptr, ptr %82, align 8
%84 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %76, ptr noundef @.str.9, i32 noundef %80, ptr noundef %83)
%85 = load ptr, ptr %11, align 8
%86 = call i32 @freeaddrinfo(ptr noundef %85)
%87 = load ptr, ptr %10, align 8
%88 = icmp ne ptr %87, null
br i1 %88, label %89, label %92
89: ; preds = %71
%90 = load ptr, ptr %10, align 8
%91 = call i32 @free(ptr noundef %90)
br label %92
92: ; preds = %89, %71
br label %97
93: ; preds = %66
%94 = load i32, ptr @stderr, align 4
%95 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%96 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %94, ptr noundef @.str.10, ptr noundef %95)
br label %97
97: ; preds = %93, %92
%98 = load i32, ptr @stderr, align 4
%99 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %98, ptr noundef @.str.3)
%100 = load i32, ptr @stderr, align 4
%101 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %100, ptr noundef @.str.11)
%102 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%103 = call ptr @gethostbyname(ptr noundef %102)
store ptr %103, ptr %9, align 8
%104 = icmp ne ptr %103, null
br i1 %104, label %108, label %105
105: ; preds = %97
%106 = call i32 @perror(ptr noundef @.str.12)
%107 = call i32 @exit(i32 noundef 1) #3
unreachable
108: ; preds = %97
%109 = load i32, ptr @stderr, align 4
%110 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %109, ptr noundef @.str.13)
br label %111
111: ; preds = %108
%112 = load i32, ptr @stderr, align 4
%113 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %112, ptr noundef @.str.14)
%114 = load ptr, ptr %9, align 8
%115 = icmp ne ptr %114, null
br i1 %115, label %116, label %142
116: ; preds = %111
store i32 0, ptr %6, align 4
br label %117
117: ; preds = %138, %116
%118 = load ptr, ptr %9, align 8
%119 = getelementptr inbounds %struct.hostent, ptr %118, i32 0, i32 0
%120 = load ptr, ptr %119, align 8
%121 = load i32, ptr %6, align 4
%122 = sext i32 %121 to i64
%123 = getelementptr inbounds i64, ptr %120, i64 %122
%124 = load i64, ptr %123, align 8
%125 = icmp ne i64 %124, 0
br i1 %125, label %126, label %141
126: ; preds = %117
%127 = load i32, ptr @stderr, align 4
%128 = load ptr, ptr %9, align 8
%129 = getelementptr inbounds %struct.hostent, ptr %128, i32 0, i32 0
%130 = load ptr, ptr %129, align 8
%131 = load i32, ptr %6, align 4
%132 = sext i32 %131 to i64
%133 = getelementptr inbounds i64, ptr %130, i64 %132
%134 = load i64, ptr %133, align 8
%135 = inttoptr i64 %134 to ptr
%136 = load i32, ptr %135, align 4
%137 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %127, ptr noundef @.str.15, i32 noundef %136)
br label %138
138: ; preds = %126
%139 = load i32, ptr %6, align 4
%140 = add nsw i32 %139, 1
store i32 %140, ptr %6, align 4
br label %117, !llvm.loop !6
141: ; preds = %117
br label %146
142: ; preds = %111
%143 = load i32, ptr @stderr, align 4
%144 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%145 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %143, ptr noundef @.str.10, ptr noundef %144)
br label %146
146: ; preds = %142, %141
%147 = load i32, ptr @stderr, align 4
%148 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %147, ptr noundef @.str.3)
ret i32 0
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare i32 @gethostname(ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @calloc(i32 noundef, i32 noundef) #1
declare i32 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @gai_strerror(i32 noundef) #1
declare i32 @freeaddrinfo(ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare ptr @gethostbyname(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmp8kgohsuo.c"
target datalayout = "e-m:e-p270: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.addrinfo = type { ptr, i64, i32, i32 }
%struct.sockaddr_in = type { %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32 }
%struct.hostent = type { ptr }
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [27 x i8] c"calling gethostname() ...\0A\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"gethostname\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"host name is %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.4 = private unnamed_addr constant [37 x i8] c"calling getaddrinfo (preferred) ...\0A\00", align 1
@AI_CANONNAME = dso_local global i32 0, align 4
@AF_INET = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [24 x i8] c"getaddrinfo rtn: %d %s\0A\00", align 1
@.str.6 = private unnamed_addr constant [12 x i8] c"getaddrinfo\00", align 1
@.str.7 = private unnamed_addr constant [25 x i8] c"getaddrinfo() succeeded\0A\00", align 1
@.str.8 = private unnamed_addr constant [41 x i8] c"printing ip address via getaddrinfo ...\0A\00", align 1
@.str.9 = private unnamed_addr constant [20 x i8] c"%x (canonical: %s)\0A\00", align 1
@.str.10 = private unnamed_addr constant [26 x i8] c"ERROR: can't look up: %s\0A\00", align 1
@.str.11 = private unnamed_addr constant [38 x i8] c"calling gethostbyname (obsolete) ...\0A\00", align 1
@.str.12 = private unnamed_addr constant [14 x i8] c"gethostbyname\00", align 1
@.str.13 = private unnamed_addr constant [27 x i8] c"gethostbyname() succeeded\0A\00", align 1
@.str.14 = private unnamed_addr constant [47 x i8] c"printing ip address(es) via gethostbyname ...\0A\00", align 1
@.str.15 = private unnamed_addr constant [4 x i8] c"%x\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
%8 = alloca [1024 x i8], align 16
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr null, ptr %10, align 8
store ptr null, ptr %11, align 8
%13 = load i32, ptr %4, align 4
%14 = icmp sgt i32 %13, 1
br i1 %14, label %15, label %21
15: ; preds = %2
%16 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 1
%19 = load ptr, ptr %18, align 8
%20 = call i32 @strcpy(ptr noundef %16, ptr noundef %19)
br label %35
21: ; preds = %2
%22 = load i32, ptr @stderr, align 4
%23 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %22, ptr noundef @.str)
%24 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%25 = call i32 @gethostname(ptr noundef %24, i32 noundef 1024)
%26 = icmp eq i32 %25, -1
br i1 %26, label %27, label %30
27: ; preds = %21
%28 = call i32 @perror(ptr noundef @.str.1)
%29 = call i32 @exit(i32 noundef 1) #3
unreachable
30: ; preds = %21
%31 = load i32, ptr @stderr, align 4
%32 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%33 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %31, ptr noundef @.str.2, ptr noundef %32)
br label %34
34: ; preds = %30
br label %35
35: ; preds = %34, %15
%36 = load i32, ptr @stderr, align 4
%37 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %36, ptr noundef @.str.3)
%38 = load i32, ptr @stderr, align 4
%39 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %38, ptr noundef @.str.4)
%40 = call i64 @calloc(i32 noundef 1, i32 noundef 24)
%41 = inttoptr i64 %40 to ptr
store ptr %41, ptr %10, align 8
%42 = load i32, ptr @AI_CANONNAME, align 4
%43 = load ptr, ptr %10, align 8
%44 = getelementptr inbounds %struct.addrinfo, ptr %43, i32 0, i32 3
%45 = load i32, ptr %44, align 4
%46 = or i32 %45, %42
store i32 %46, ptr %44, align 4
%47 = load i32, ptr @AF_INET, align 4
%48 = load ptr, ptr %10, align 8
%49 = getelementptr inbounds %struct.addrinfo, ptr %48, i32 0, i32 2
store i32 %47, ptr %49, align 8
%50 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%51 = load ptr, ptr %10, align 8
%52 = call i32 @getaddrinfo(ptr noundef %50, ptr noundef null, ptr noundef %51, ptr noundef %11)
store i32 %52, ptr %7, align 4
%53 = load i32, ptr %7, align 4
%54 = icmp ne i32 %53, 0
br i1 %54, label %55, label %63
55: ; preds = %35
%56 = load i32, ptr @stderr, align 4
%57 = load i32, ptr %7, align 4
%58 = load i32, ptr %7, align 4
%59 = call ptr @gai_strerror(i32 noundef %58)
%60 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %56, ptr noundef @.str.5, i32 noundef %57, ptr noundef %59)
%61 = call i32 @perror(ptr noundef @.str.6)
%62 = call i32 @exit(i32 noundef 1) #3
unreachable
63: ; preds = %35
%64 = load i32, ptr @stderr, align 4
%65 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %64, ptr noundef @.str.7)
br label %66
66: ; preds = %63
%67 = load i32, ptr @stderr, align 4
%68 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %67, ptr noundef @.str.8)
%69 = load ptr, ptr %11, align 8
%70 = icmp ne ptr %69, null
br i1 %70, label %71, label %93
71: ; preds = %66
%72 = load ptr, ptr %11, align 8
%73 = getelementptr inbounds %struct.addrinfo, ptr %72, i32 0, i32 1
%74 = load i64, ptr %73, align 8
%75 = inttoptr i64 %74 to ptr
store ptr %75, ptr %12, align 8
%76 = load i32, ptr @stderr, align 4
%77 = load ptr, ptr %12, align 8
%78 = getelementptr inbounds %struct.sockaddr_in, ptr %77, i32 0, i32 0
%79 = getelementptr inbounds %struct.TYPE_2__, ptr %78, i32 0, i32 0
%80 = load i32, ptr %79, align 4
%81 = load ptr, ptr %11, align 8
%82 = getelementptr inbounds %struct.addrinfo, ptr %81, i32 0, i32 0
%83 = load ptr, ptr %82, align 8
%84 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %76, ptr noundef @.str.9, i32 noundef %80, ptr noundef %83)
%85 = load ptr, ptr %11, align 8
%86 = call i32 @freeaddrinfo(ptr noundef %85)
%87 = load ptr, ptr %10, align 8
%88 = icmp ne ptr %87, null
br i1 %88, label %89, label %92
89: ; preds = %71
%90 = load ptr, ptr %10, align 8
%91 = call i32 @free(ptr noundef %90)
br label %92
92: ; preds = %89, %71
br label %97
93: ; preds = %66
%94 = load i32, ptr @stderr, align 4
%95 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%96 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %94, ptr noundef @.str.10, ptr noundef %95)
br label %97
97: ; preds = %93, %92
%98 = load i32, ptr @stderr, align 4
%99 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %98, ptr noundef @.str.3)
%100 = load i32, ptr @stderr, align 4
%101 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %100, ptr noundef @.str.11)
%102 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%103 = call ptr @gethostbyname(ptr noundef %102)
store ptr %103, ptr %9, align 8
%104 = icmp ne ptr %103, null
br i1 %104, label %108, label %105
105: ; preds = %97
%106 = call i32 @perror(ptr noundef @.str.12)
%107 = call i32 @exit(i32 noundef 1) #3
unreachable
108: ; preds = %97
%109 = load i32, ptr @stderr, align 4
%110 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %109, ptr noundef @.str.13)
br label %111
111: ; preds = %108
%112 = load i32, ptr @stderr, align 4
%113 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %112, ptr noundef @.str.14)
%114 = load ptr, ptr %9, align 8
%115 = icmp ne ptr %114, null
br i1 %115, label %116, label %148
116: ; preds = %111
store i32 0, ptr %6, align 4
%117 = load ptr, ptr %9, align 8
%118 = load ptr, ptr %117, align 8
%119 = load i32, ptr %6, align 4
%120 = sext i32 %119 to i64
%121 = getelementptr inbounds i64, ptr %118, i64 %120
%122 = load i64, ptr %121, align 8
%123 = icmp ne i64 %122, 0
br i1 %123, label %.lr.ph, label %147
.lr.ph: ; preds = %116
br label %124
124: ; preds = %.lr.ph, %136
%125 = load i32, ptr @stderr, align 4
%126 = load ptr, ptr %9, align 8
%127 = getelementptr inbounds %struct.hostent, ptr %126, i32 0, i32 0
%128 = load ptr, ptr %127, align 8
%129 = load i32, ptr %6, align 4
%130 = sext i32 %129 to i64
%131 = getelementptr inbounds i64, ptr %128, i64 %130
%132 = load i64, ptr %131, align 8
%133 = inttoptr i64 %132 to ptr
%134 = load i32, ptr %133, align 4
%135 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %125, ptr noundef @.str.15, i32 noundef %134)
br label %136
136: ; preds = %124
%137 = load i32, ptr %6, align 4
%138 = add nsw i32 %137, 1
store i32 %138, ptr %6, align 4
%139 = load ptr, ptr %9, align 8
%140 = getelementptr inbounds %struct.hostent, ptr %139, i32 0, i32 0
%141 = load ptr, ptr %140, align 8
%142 = load i32, ptr %6, align 4
%143 = sext i32 %142 to i64
%144 = getelementptr inbounds i64, ptr %141, i64 %143
%145 = load i64, ptr %144, align 8
%146 = icmp ne i64 %145, 0
br i1 %146, label %124, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %136
br label %147
147: ; preds = %._crit_edge, %116
br label %152
148: ; preds = %111
%149 = load i32, ptr @stderr, align 4
%150 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%151 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %149, ptr noundef @.str.10, ptr noundef %150)
br label %152
152: ; preds = %148, %147
%153 = load i32, ptr @stderr, align 4
%154 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %153, ptr noundef @.str.3)
ret i32 0
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare i32 @gethostname(ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @calloc(i32 noundef, i32 noundef) #1
declare i32 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @gai_strerror(i32 noundef) #1
declare i32 @freeaddrinfo(ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare ptr @gethostbyname(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpq62ff2_4.c'
source_filename = "/tmp/tmpq62ff2_4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @heapify(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
%11 = load i32, ptr %6, align 4
store i32 %11, ptr %7, align 4
br label %12
12: ; preds = %73, %3
%13 = load i32, ptr %7, align 4
%14 = load i32, ptr %5, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %16, label %76
16: ; preds = %12
%17 = load i32, ptr %7, align 4
%18 = load i32, ptr %6, align 4
%19 = sub nsw i32 %17, %18
%20 = sub nsw i32 %19, 1
%21 = sdiv i32 %20, 2
%22 = load i32, ptr %6, align 4
%23 = add nsw i32 %21, %22
store i32 %23, ptr %8, align 4
%24 = load i32, ptr %7, align 4
store i32 %24, ptr %9, align 4
br label %25
25: ; preds = %44, %16
%26 = load i32, ptr %8, align 4
%27 = load i32, ptr %6, align 4
%28 = icmp sge i32 %26, %27
br i1 %28, label %29, label %42
29: ; preds = %25
%30 = load ptr, ptr %4, align 8
%31 = load i32, ptr %8, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds ptr, ptr %30, i64 %32
%34 = load ptr, ptr %33, align 8
%35 = load ptr, ptr %4, align 8
%36 = load i32, ptr %9, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds ptr, ptr %35, i64 %37
%39 = load ptr, ptr %38, align 8
%40 = call i64 @strcasecmp(ptr noundef %34, ptr noundef %39)
%41 = icmp sgt i64 %40, 0
br label %42
42: ; preds = %29, %25
%43 = phi i1 [ false, %25 ], [ %41, %29 ]
br i1 %43, label %44, label %72
44: ; preds = %42
%45 = load ptr, ptr %4, align 8
%46 = load i32, ptr %8, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds ptr, ptr %45, i64 %47
%49 = load ptr, ptr %48, align 8
store ptr %49, ptr %10, align 8
%50 = load ptr, ptr %4, align 8
%51 = load i32, ptr %9, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds ptr, ptr %50, i64 %52
%54 = load ptr, ptr %53, align 8
%55 = load ptr, ptr %4, align 8
%56 = load i32, ptr %8, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds ptr, ptr %55, i64 %57
store ptr %54, ptr %58, align 8
%59 = load ptr, ptr %10, align 8
%60 = load ptr, ptr %4, align 8
%61 = load i32, ptr %9, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds ptr, ptr %60, i64 %62
store ptr %59, ptr %63, align 8
%64 = load i32, ptr %8, align 4
store i32 %64, ptr %9, align 4
%65 = load i32, ptr %8, align 4
%66 = load i32, ptr %6, align 4
%67 = sub nsw i32 %65, %66
%68 = sub nsw i32 %67, 1
%69 = sdiv i32 %68, 2
%70 = load i32, ptr %6, align 4
%71 = add nsw i32 %69, %70
store i32 %71, ptr %8, align 4
br label %25, !llvm.loop !6
72: ; preds = %42
br label %73
73: ; preds = %72
%74 = load i32, ptr %7, align 4
%75 = add nsw i32 %74, 1
store i32 %75, ptr %7, align 4
br label %12, !llvm.loop !8
76: ; preds = %12
ret void
}
declare i64 @strcasecmp(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/tmpq62ff2_4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @heapify(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
%11 = load i32, ptr %6, align 4
store i32 %11, ptr %7, align 4
%12 = load i32, ptr %7, align 4
%13 = load i32, ptr %5, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %.lr.ph, label %78
.lr.ph: ; preds = %3
br label %15
15: ; preds = %.lr.ph, %72
%16 = load i32, ptr %7, align 4
%17 = load i32, ptr %6, align 4
%18 = sub nsw i32 %16, %17
%19 = sub nsw i32 %18, 1
%20 = sdiv i32 %19, 2
%21 = load i32, ptr %6, align 4
%22 = add nsw i32 %20, %21
store i32 %22, ptr %8, align 4
%23 = load i32, ptr %7, align 4
store i32 %23, ptr %9, align 4
br label %24
24: ; preds = %43, %15
%25 = load i32, ptr %8, align 4
%26 = load i32, ptr %6, align 4
%27 = icmp sge i32 %25, %26
br i1 %27, label %28, label %41
28: ; preds = %24
%29 = load ptr, ptr %4, align 8
%30 = load i32, ptr %8, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds ptr, ptr %29, i64 %31
%33 = load ptr, ptr %32, align 8
%34 = load ptr, ptr %4, align 8
%35 = load i32, ptr %9, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds ptr, ptr %34, i64 %36
%38 = load ptr, ptr %37, align 8
%39 = call i64 @strcasecmp(ptr noundef %33, ptr noundef %38)
%40 = icmp sgt i64 %39, 0
br label %41
41: ; preds = %28, %24
%42 = phi i1 [ false, %24 ], [ %40, %28 ]
br i1 %42, label %43, label %71
43: ; preds = %41
%44 = load ptr, ptr %4, align 8
%45 = load i32, ptr %8, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds ptr, ptr %44, i64 %46
%48 = load ptr, ptr %47, align 8
store ptr %48, ptr %10, align 8
%49 = load ptr, ptr %4, align 8
%50 = load i32, ptr %9, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds ptr, ptr %49, i64 %51
%53 = load ptr, ptr %52, align 8
%54 = load ptr, ptr %4, align 8
%55 = load i32, ptr %8, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds ptr, ptr %54, i64 %56
store ptr %53, ptr %57, align 8
%58 = load ptr, ptr %10, align 8
%59 = load ptr, ptr %4, align 8
%60 = load i32, ptr %9, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds ptr, ptr %59, i64 %61
store ptr %58, ptr %62, align 8
%63 = load i32, ptr %8, align 4
store i32 %63, ptr %9, align 4
%64 = load i32, ptr %8, align 4
%65 = load i32, ptr %6, align 4
%66 = sub nsw i32 %64, %65
%67 = sub nsw i32 %66, 1
%68 = sdiv i32 %67, 2
%69 = load i32, ptr %6, align 4
%70 = add nsw i32 %68, %69
store i32 %70, ptr %8, align 4
br label %24, !llvm.loop !6
71: ; preds = %41
br label %72
72: ; preds = %71
%73 = load i32, ptr %7, align 4
%74 = add nsw i32 %73, 1
store i32 %74, ptr %7, align 4
%75 = load i32, ptr %7, align 4
%76 = load i32, ptr %5, align 4
%77 = icmp slt i32 %75, %76
br i1 %77, label %15, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %72
br label %78
78: ; preds = %._crit_edge, %3
ret void
}
declare i64 @strcasecmp(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/tmph4tv5u8m.c'
source_filename = "/tmp/tmph4tv5u8m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gen_key_bytes(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i64, ptr %4, align 8
%7 = call i32 @randombytes_strong(ptr noundef %5, i64 noundef %6)
ret void
}
declare i32 @randombytes_strong(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/tmph4tv5u8m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gen_key_bytes(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i64, ptr %4, align 8
%7 = call i32 @randombytes_strong(ptr noundef %5, i64 noundef %6)
ret void
}
declare i32 @randombytes_strong(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/tmp2ab9ruje.c'
source_filename = "/tmp/tmp2ab9ruje.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [143 x i8] c"back\0ATakes no parameter. Switches the user out of the currently selected\0Ahotel, and into the main shell. The '@' hotel name prompt is cleared.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @help_back() #0 {
%1 = call i32 @puts(ptr noundef @.str)
ret void
}
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2ab9ruje.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [143 x i8] c"back\0ATakes no parameter. Switches the user out of the currently selected\0Ahotel, and into the main shell. The '@' hotel name prompt is cleared.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @help_back() #0 {
%1 = call i32 @puts(ptr noundef @.str)
ret void
}
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpijnyctdd.c'
source_filename = "/tmp/tmpijnyctdd.c"
target datalayout = "e-m:e-p270: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/tmpijnyctdd.c"
target datalayout = "e-m:e-p270: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/tmp9ei9a7a9.c'
source_filename = "/tmp/tmp9ei9a7a9.c"
target datalayout = "e-m:e-p270: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/tmp9ei9a7a9.c"
target datalayout = "e-m:e-p270: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/tmpgf4xr5z_.c'
source_filename = "/tmp/tmpgf4xr5z_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"<6>Uniform CD-ROM driver unloaded\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @cdrom_exit], section "llvm.metadata"
; Function Attrs: cold noinline nounwind optsize sspstrong uwtable
define internal void @cdrom_exit() #0 section ".exit.text" {
%1 = call i32 @printk(ptr noundef @.str)
%2 = call i32 (...) @cdrom_sysctl_unregister()
ret void
}
declare i32 @printk(ptr noundef) #1
declare i32 @cdrom_sysctl_unregister(...) #1
attributes #0 = { cold noinline nounwind optsize sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgf4xr5z_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"<6>Uniform CD-ROM driver unloaded\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @cdrom_exit], section "llvm.metadata"
; Function Attrs: cold noinline nounwind optsize sspstrong uwtable
define internal void @cdrom_exit() #0 section ".exit.text" {
%1 = call i32 @printk(ptr noundef @.str)
%2 = call i32 (...) @cdrom_sysctl_unregister()
ret void
}
declare i32 @printk(ptr noundef) #1
declare i32 @cdrom_sysctl_unregister(...) #1
attributes #0 = { cold noinline nounwind optsize sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwu4nsy_5.c'
source_filename = "/tmp/tmpwu4nsy_5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwu4nsy_5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmbv62og2.c'
source_filename = "/tmp/tmpmbv62og2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @generate_rand(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%9 = load i32, ptr %3, align 4
%10 = load i32, ptr %4, align 4
%11 = add nsw i32 %9, %10
%12 = add nsw i32 %11, 1
%13 = sext i32 %12 to i64
%14 = mul i64 1, %13
%15 = trunc i64 %14 to i32
%16 = call i64 @malloc(i32 noundef %15)
%17 = inttoptr i64 %16 to ptr
store ptr %17, ptr %5, align 8
%18 = load ptr, ptr %5, align 8
store ptr %18, ptr %6, align 8
store i32 0, ptr %7, align 4
br label %19
19: ; preds = %30, %2
%20 = load i32, ptr %7, align 4
%21 = load i32, ptr %3, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %23, label %33
23: ; preds = %19
%24 = call i32 (...) @rand()
%25 = srem i32 %24, 26
%26 = add nsw i32 65, %25
%27 = trunc i32 %26 to i8
%28 = load ptr, ptr %6, align 8
%29 = getelementptr inbounds i8, ptr %28, i32 1
store ptr %29, ptr %6, align 8
store i8 %27, ptr %28, align 1
br label %30
30: ; preds = %23
%31 = load i32, ptr %7, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %7, align 4
br label %19, !llvm.loop !6
33: ; preds = %19
store i32 0, ptr %8, align 4
br label %34
34: ; preds = %45, %33
%35 = load i32, ptr %8, align 4
%36 = load i32, ptr %4, align 4
%37 = icmp slt i32 %35, %36
br i1 %37, label %38, label %48
38: ; preds = %34
%39 = call i32 (...) @rand()
%40 = srem i32 %39, 10
%41 = add nsw i32 48, %40
%42 = trunc i32 %41 to i8
%43 = load ptr, ptr %6, align 8
%44 = getelementptr inbounds i8, ptr %43, i32 1
store ptr %44, ptr %6, align 8
store i8 %42, ptr %43, align 1
br label %45
45: ; preds = %38
%46 = load i32, ptr %8, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %8, align 4
br label %34, !llvm.loop !8
48: ; preds = %34
%49 = load ptr, ptr %6, align 8
%50 = getelementptr inbounds i8, ptr %49, i32 1
store ptr %50, ptr %6, align 8
store i8 0, ptr %49, align 1
%51 = load ptr, ptr %5, align 8
ret ptr %51
}
declare i64 @malloc(i32 noundef) #1
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmbv62og2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @generate_rand(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%9 = load i32, ptr %3, align 4
%10 = load i32, ptr %4, align 4
%11 = add nsw i32 %9, %10
%12 = add nsw i32 %11, 1
%13 = sext i32 %12 to i64
%14 = mul i64 1, %13
%15 = trunc i64 %14 to i32
%16 = call i64 @malloc(i32 noundef %15)
%17 = inttoptr i64 %16 to ptr
store ptr %17, ptr %5, align 8
%18 = load ptr, ptr %5, align 8
store ptr %18, ptr %6, align 8
store i32 0, ptr %7, align 4
%19 = load i32, ptr %7, align 4
%20 = load i32, ptr %3, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %.lr.ph, label %35
.lr.ph: ; preds = %2
br label %22
22: ; preds = %.lr.ph, %29
%23 = call i32 (...) @rand()
%24 = srem i32 %23, 26
%25 = add nsw i32 65, %24
%26 = trunc i32 %25 to i8
%27 = load ptr, ptr %6, align 8
%28 = getelementptr inbounds i8, ptr %27, i32 1
store ptr %28, ptr %6, align 8
store i8 %26, ptr %27, align 1
br label %29
29: ; preds = %22
%30 = load i32, ptr %7, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %7, align 4
%32 = load i32, ptr %7, align 4
%33 = load i32, ptr %3, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %29
br label %35
35: ; preds = %._crit_edge, %2
store i32 0, ptr %8, align 4
%36 = load i32, ptr %8, align 4
%37 = load i32, ptr %4, align 4
%38 = icmp slt i32 %36, %37
br i1 %38, label %.lr.ph2, label %52
.lr.ph2: ; preds = %35
br label %39
39: ; preds = %.lr.ph2, %46
%40 = call i32 (...) @rand()
%41 = srem i32 %40, 10
%42 = add nsw i32 48, %41
%43 = trunc i32 %42 to i8
%44 = load ptr, ptr %6, align 8
%45 = getelementptr inbounds i8, ptr %44, i32 1
store ptr %45, ptr %6, align 8
store i8 %43, ptr %44, align 1
br label %46
46: ; preds = %39
%47 = load i32, ptr %8, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %8, align 4
%49 = load i32, ptr %8, align 4
%50 = load i32, ptr %4, align 4
%51 = icmp slt i32 %49, %50
br i1 %51, label %39, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %46
br label %52
52: ; preds = %._crit_edge3, %35
%53 = load ptr, ptr %6, align 8
%54 = getelementptr inbounds i8, ptr %53, i32 1
store ptr %54, ptr %6, align 8
store i8 0, ptr %53, align 1
%55 = load ptr, ptr %5, align 8
ret ptr %55
}
declare i64 @malloc(i32 noundef) #1
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpqeax2yri.c'
source_filename = "/tmp/tmpqeax2yri.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\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 @isxdigit(i8 noundef signext 48)
%3 = call i32 @printf(ptr noundef @.str, i32 noundef %2)
%4 = call i32 @isxdigit(i8 noundef signext 97)
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
%6 = call i32 @isxdigit(i8 noundef signext 65)
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %6)
%8 = call i32 @isxdigit(i8 noundef signext 103)
%9 = call i32 @printf(ptr noundef @.str, i32 noundef %8)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @isxdigit(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqeax2yri.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\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 @isxdigit(i8 noundef signext 48)
%3 = call i32 @printf(ptr noundef @.str, i32 noundef %2)
%4 = call i32 @isxdigit(i8 noundef signext 97)
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
%6 = call i32 @isxdigit(i8 noundef signext 65)
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %6)
%8 = call i32 @isxdigit(i8 noundef signext 103)
%9 = call i32 @printf(ptr noundef @.str, i32 noundef %8)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @isxdigit(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjw4klth_.c'
source_filename = "/tmp/tmpjw4klth_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Digite um valor para o vetor \0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"posi\C3\A7\C3\A3o eh %d : \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [5 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 %4, align 4
store i32 0, ptr %3, align 4
br label %5
5: ; preds = %14, %0
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 %6, 4
br i1 %7, label %8, label %17
8: ; preds = %5
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%10 = load i32, ptr %3, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 %11
%13 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %12)
br label %14
14: ; preds = %8
%15 = load i32, ptr %3, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %3, align 4
br label %5, !llvm.loop !6
17: ; preds = %5
store i32 1, ptr %3, align 4
br label %18
18: ; preds = %32, %17
%19 = load i32, ptr %3, align 4
%20 = icmp slt i32 %19, 5
br i1 %20, label %21, label %35
21: ; preds = %18
%22 = load i32, ptr %3, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 %23
%25 = load i32, ptr %24, align 4
%26 = load i32, ptr %3, align 4
%27 = icmp sgt i32 %25, %26
br i1 %27, label %28, label %31
28: ; preds = %21
%29 = load i32, ptr %4, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %4, align 4
br label %31
31: ; preds = %28, %21
br label %32
32: ; preds = %31
%33 = load i32, ptr %3, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %3, align 4
br label %18, !llvm.loop !8
35: ; preds = %18
%36 = load i32, ptr %4, align 4
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %36)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjw4klth_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Digite um valor para o vetor \0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"posi\C3\A7\C3\A3o eh %d : \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [5 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 %4, align 4
store i32 0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 4
br i1 %6, label %.lr.ph, label %18
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %13
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = load i32, ptr %3, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 %10
%12 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %11)
br label %13
13: ; preds = %7
%14 = load i32, ptr %3, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %3, align 4
%16 = load i32, ptr %3, align 4
%17 = icmp slt i32 %16, 4
br i1 %17, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %18
18: ; preds = %._crit_edge, %0
store i32 1, ptr %3, align 4
%19 = load i32, ptr %3, align 4
%20 = icmp slt i32 %19, 5
br i1 %20, label %.lr.ph2, label %37
.lr.ph2: ; preds = %18
br label %21
21: ; preds = %.lr.ph2, %32
%22 = load i32, ptr %3, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 %23
%25 = load i32, ptr %24, align 4
%26 = load i32, ptr %3, align 4
%27 = icmp sgt i32 %25, %26
br i1 %27, label %28, label %31
28: ; preds = %21
%29 = load i32, ptr %4, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %4, align 4
br label %31
31: ; preds = %28, %21
br label %32
32: ; preds = %31
%33 = load i32, ptr %3, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %3, align 4
%35 = load i32, ptr %3, align 4
%36 = icmp slt i32 %35, 5
br i1 %36, label %21, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %32
br label %37
37: ; preds = %._crit_edge3, %18
%38 = load i32, ptr %4, align 4
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %38)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp3r99tscg.c'
source_filename = "/tmp/tmp3r99tscg.c"
target datalayout = "e-m:e-p270: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/tmp3r99tscg.c"
target datalayout = "e-m:e-p270: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/tmpydesro3j.c'
source_filename = "/tmp/tmpydesro3j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [40 x i8] c"Failed to allocate memory in %s() %s:%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @_malloc_w(i64 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
store i64 %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%10 = load i64, ptr %5, align 8
%11 = call ptr @malloc(i64 noundef %10) #3
store ptr %11, ptr %9, align 8
%12 = load ptr, ptr %9, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %19, label %14
14: ; preds = %4
%15 = load ptr, ptr %6, align 8
%16 = load ptr, ptr %7, align 8
%17 = load i32, ptr %8, align 4
%18 = call i32 @exit_msg(ptr noundef @.str, ptr noundef %15, ptr noundef %16, i32 noundef %17)
br label %19
19: ; preds = %14, %4
%20 = load ptr, ptr %9, align 8
ret ptr %20
}
; Function Attrs: allocsize(0)
declare ptr @malloc(i64 noundef) #1
declare i32 @exit_msg(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { allocsize(0) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpydesro3j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [40 x i8] c"Failed to allocate memory in %s() %s:%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @_malloc_w(i64 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
store i64 %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%10 = load i64, ptr %5, align 8
%11 = call ptr @malloc(i64 noundef %10) #3
store ptr %11, ptr %9, align 8
%12 = load ptr, ptr %9, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %19, label %14
14: ; preds = %4
%15 = load ptr, ptr %6, align 8
%16 = load ptr, ptr %7, align 8
%17 = load i32, ptr %8, align 4
%18 = call i32 @exit_msg(ptr noundef @.str, ptr noundef %15, ptr noundef %16, i32 noundef %17)
br label %19
19: ; preds = %14, %4
%20 = load ptr, ptr %9, align 8
ret ptr %20
}
; Function Attrs: allocsize(0)
declare ptr @malloc(i64 noundef) #1
declare i32 @exit_msg(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { allocsize(0) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5jt9mh3v.c'
source_filename = "/tmp/tmp5jt9mh3v.c"
target datalayout = "e-m:e-p270: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/tmp5jt9mh3v.c"
target datalayout = "e-m:e-p270: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/tmpe2bruefw.c'
source_filename = "/tmp/tmpe2bruefw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s (GenomeTools) %s (%s)\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"1.4.1\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"2012-06-18 15:03:36\00", align 1
@.str.3 = private unnamed_addr constant [77 x i8] c"Copyright (c) 2003-2012 G. Gremme, S. Steinbiss, S. Kurtz, and CONTRIBUTORS\0A\00", align 1
@.str.4 = private unnamed_addr constant [74 x i8] c"Copyright (c) 2003-2012 Center for Bioinformatics, University of Hamburg\0A\00", align 1
@.str.5 = private unnamed_addr constant [79 x i8] c"See LICENSE file or http://genometools.org/license.html for license details.\0A\0A\00", align 1
@.str.6 = private unnamed_addr constant [19 x i8] c"Used compiler: %s\0A\00", align 1
@.str.7 = private unnamed_addr constant [15 x i8] c"cc (GCC) 4.1.2\00", align 1
@.str.8 = private unnamed_addr constant [19 x i8] c"Compile flags: %s\0A\00", align 1
@.str.9 = private unnamed_addr constant [69 x i8] c" -g -Wall -Wunused-parameter -pipe -fPIC -Wpointer-arith -O3 -Werror\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @gt_versionfunc(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 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %3, ptr noundef @.str.1, ptr noundef @.str.2)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef @.str.7)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef @.str.9)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe2bruefw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s (GenomeTools) %s (%s)\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"1.4.1\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"2012-06-18 15:03:36\00", align 1
@.str.3 = private unnamed_addr constant [77 x i8] c"Copyright (c) 2003-2012 G. Gremme, S. Steinbiss, S. Kurtz, and CONTRIBUTORS\0A\00", align 1
@.str.4 = private unnamed_addr constant [74 x i8] c"Copyright (c) 2003-2012 Center for Bioinformatics, University of Hamburg\0A\00", align 1
@.str.5 = private unnamed_addr constant [79 x i8] c"See LICENSE file or http://genometools.org/license.html for license details.\0A\0A\00", align 1
@.str.6 = private unnamed_addr constant [19 x i8] c"Used compiler: %s\0A\00", align 1
@.str.7 = private unnamed_addr constant [15 x i8] c"cc (GCC) 4.1.2\00", align 1
@.str.8 = private unnamed_addr constant [19 x i8] c"Compile flags: %s\0A\00", align 1
@.str.9 = private unnamed_addr constant [69 x i8] c" -g -Wall -Wunused-parameter -pipe -fPIC -Wpointer-arith -O3 -Werror\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @gt_versionfunc(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 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %3, ptr noundef @.str.1, ptr noundef @.str.2)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef @.str.7)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef @.str.9)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpznogox04.c'
source_filename = "/tmp/tmpznogox04.c"
target datalayout = "e-m:e-p270: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/tmpznogox04.c"
target datalayout = "e-m:e-p270: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/tmpvfgs9m5i.c'
source_filename = "/tmp/tmpvfgs9m5i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @array_alloc(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store i32 %3, ptr %10, align 4
store i32 %4, ptr %11, align 4
%14 = load ptr, ptr %8, align 8
%15 = load i32, ptr %14, align 4
%16 = load ptr, ptr %9, align 8
%17 = load i32, ptr %16, align 4
%18 = icmp eq i32 %15, %17
br i1 %18, label %19, label %61
19: ; preds = %5
%20 = load ptr, ptr %7, align 8
%21 = load ptr, ptr %20, align 8
%22 = icmp eq ptr %21, null
br i1 %22, label %23, label %34
23: ; preds = %19
%24 = load i32, ptr %11, align 4
%25 = load i32, ptr %10, align 4
%26 = mul nsw i32 %24, %25
%27 = call ptr @zalloc(i32 noundef %26)
%28 = load ptr, ptr %7, align 8
store ptr %27, ptr %28, align 8
%29 = icmp eq ptr %27, null
br i1 %29, label %30, label %31
30: ; preds = %23
store i32 -1, ptr %6, align 4
br label %62
31: ; preds = %23
%32 = load i32, ptr %11, align 4
%33 = load ptr, ptr %9, align 8
store i32 %32, ptr %33, align 4
br label %60
34: ; preds = %19
%35 = load ptr, ptr %9, align 8
%36 = load i32, ptr %35, align 4
%37 = shl i32 %36, 1
store i32 %37, ptr %12, align 4
%38 = load ptr, ptr %7, align 8
%39 = load ptr, ptr %38, align 8
%40 = load i32, ptr %12, align 4
%41 = load i32, ptr %10, align 4
%42 = mul nsw i32 %40, %41
%43 = call ptr @realloc(ptr noundef %39, i32 noundef %42)
store ptr %43, ptr %13, align 8
%44 = icmp eq ptr %43, null
br i1 %44, label %45, label %55
45: ; preds = %34
%46 = load ptr, ptr %7, align 8
%47 = load ptr, ptr %46, align 8
%48 = icmp ne ptr %47, null
br i1 %48, label %49, label %54
49: ; preds = %45
%50 = load ptr, ptr %7, align 8
%51 = load ptr, ptr %50, align 8
%52 = call i32 @free(ptr noundef %51)
%53 = load ptr, ptr %7, align 8
store ptr null, ptr %53, align 8
br label %54
54: ; preds = %49, %45
store i32 -1, ptr %6, align 4
br label %62
55: ; preds = %34
%56 = load ptr, ptr %13, align 8
%57 = load ptr, ptr %7, align 8
store ptr %56, ptr %57, align 8
%58 = load i32, ptr %12, align 4
%59 = load ptr, ptr %9, align 8
store i32 %58, ptr %59, align 4
br label %60
60: ; preds = %55, %31
br label %61
61: ; preds = %60, %5
store i32 0, ptr %6, align 4
br label %62
62: ; preds = %61, %54, %30
%63 = load i32, ptr %6, align 4
ret i32 %63
}
declare ptr @zalloc(i32 noundef) #1
declare ptr @realloc(ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvfgs9m5i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @array_alloc(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store i32 %3, ptr %10, align 4
store i32 %4, ptr %11, align 4
%14 = load ptr, ptr %8, align 8
%15 = load i32, ptr %14, align 4
%16 = load ptr, ptr %9, align 8
%17 = load i32, ptr %16, align 4
%18 = icmp eq i32 %15, %17
br i1 %18, label %19, label %61
19: ; preds = %5
%20 = load ptr, ptr %7, align 8
%21 = load ptr, ptr %20, align 8
%22 = icmp eq ptr %21, null
br i1 %22, label %23, label %34
23: ; preds = %19
%24 = load i32, ptr %11, align 4
%25 = load i32, ptr %10, align 4
%26 = mul nsw i32 %24, %25
%27 = call ptr @zalloc(i32 noundef %26)
%28 = load ptr, ptr %7, align 8
store ptr %27, ptr %28, align 8
%29 = icmp eq ptr %27, null
br i1 %29, label %30, label %31
30: ; preds = %23
store i32 -1, ptr %6, align 4
br label %62
31: ; preds = %23
%32 = load i32, ptr %11, align 4
%33 = load ptr, ptr %9, align 8
store i32 %32, ptr %33, align 4
br label %60
34: ; preds = %19
%35 = load ptr, ptr %9, align 8
%36 = load i32, ptr %35, align 4
%37 = shl i32 %36, 1
store i32 %37, ptr %12, align 4
%38 = load ptr, ptr %7, align 8
%39 = load ptr, ptr %38, align 8
%40 = load i32, ptr %12, align 4
%41 = load i32, ptr %10, align 4
%42 = mul nsw i32 %40, %41
%43 = call ptr @realloc(ptr noundef %39, i32 noundef %42)
store ptr %43, ptr %13, align 8
%44 = icmp eq ptr %43, null
br i1 %44, label %45, label %55
45: ; preds = %34
%46 = load ptr, ptr %7, align 8
%47 = load ptr, ptr %46, align 8
%48 = icmp ne ptr %47, null
br i1 %48, label %49, label %54
49: ; preds = %45
%50 = load ptr, ptr %7, align 8
%51 = load ptr, ptr %50, align 8
%52 = call i32 @free(ptr noundef %51)
%53 = load ptr, ptr %7, align 8
store ptr null, ptr %53, align 8
br label %54
54: ; preds = %49, %45
store i32 -1, ptr %6, align 4
br label %62
55: ; preds = %34
%56 = load ptr, ptr %13, align 8
%57 = load ptr, ptr %7, align 8
store ptr %56, ptr %57, align 8
%58 = load i32, ptr %12, align 4
%59 = load ptr, ptr %9, align 8
store i32 %58, ptr %59, align 4
br label %60
60: ; preds = %55, %31
br label %61
61: ; preds = %60, %5
store i32 0, ptr %6, align 4
br label %62
62: ; preds = %61, %54, %30
%63 = load i32, ptr %6, align 4
ret i32 %63
}
declare ptr @zalloc(i32 noundef) #1
declare ptr @realloc(ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1wnhejtj.c'
source_filename = "/tmp/tmp1wnhejtj.c"
target datalayout = "e-m:e-p270: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 [40 x i8] c"Usage: deroff [ -w ] [ -x ] [file ...]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
%3 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1wnhejtj.c"
target datalayout = "e-m:e-p270: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 [40 x i8] c"Usage: deroff [ -w ] [ -x ] [file ...]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
%3 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp402aqo4w.c'
source_filename = "/tmp/tmp402aqo4w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fn_qtg_0_4294967295_al_sq_cl_33_33_36_36_38_59_61_61_63_91_95_95_97_122_126_126_160_55295_63744_64975_65008_65519_65533_65533_65536_131069_131072_196605_196608_262141_262144_327677_327680_393213_393216_458749_458752_524285_524288_589821_589824_655357_655360_720893_720896_786429_786432_851965_851968_917501_917504_983037_sq_ch_37_qtg_2_2_cl_48_57_65_70_91_91_97_102(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
br label %7
7: ; preds = %14, %1
%8 = load ptr, ptr %3, align 8
%9 = load i32, ptr %4, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds i8, ptr %8, i64 %10
%12 = call i32 @fn_al_sq_cl_33_33_36_36_38_59_61_61_63_91_95_95_97_122_126_126_160_55295_63744_64975_65008_65519_65533_65533_65536_131069_131072_196605_196608_262141_262144_327677_327680_393213_393216_458749_458752_524285_524288_589821_589824_655357_655360_720893_720896_786429_786432_851965_851968_917501_917504_983037_sq_ch_37_qtg_2_2_cl_48_57_65_70_91_91_97_102(ptr noundef %11)
store i32 %12, ptr %5, align 4
%13 = icmp ne i32 %12, -1
br i1 %13, label %14, label %20
14: ; preds = %7
%15 = load i32, ptr %5, align 4
%16 = load i32, ptr %4, align 4
%17 = add nsw i32 %16, %15
store i32 %17, ptr %4, align 4
%18 = load i32, ptr %6, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %6, align 4
br label %7, !llvm.loop !6
20: ; preds = %7
%21 = load i32, ptr %6, align 4
%22 = icmp sge i32 %21, 0
br i1 %22, label %23, label %25
23: ; preds = %20
%24 = load i32, ptr %4, align 4
store i32 %24, ptr %2, align 4
br label %26
25: ; preds = %20
store i32 -1, ptr %2, align 4
br label %26
26: ; preds = %25, %23
%27 = load i32, ptr %2, align 4
ret i32 %27
}
declare i32 @fn_al_sq_cl_33_33_36_36_38_59_61_61_63_91_95_95_97_122_126_126_160_55295_63744_64975_65008_65519_65533_65533_65536_131069_131072_196605_196608_262141_262144_327677_327680_393213_393216_458749_458752_524285_524288_589821_589824_655357_655360_720893_720896_786429_786432_851965_851968_917501_917504_983037_sq_ch_37_qtg_2_2_cl_48_57_65_70_91_91_97_102(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp402aqo4w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fn_qtg_0_4294967295_al_sq_cl_33_33_36_36_38_59_61_61_63_91_95_95_97_122_126_126_160_55295_63744_64975_65008_65519_65533_65533_65536_131069_131072_196605_196608_262141_262144_327677_327680_393213_393216_458749_458752_524285_524288_589821_589824_655357_655360_720893_720896_786429_786432_851965_851968_917501_917504_983037_sq_ch_37_qtg_2_2_cl_48_57_65_70_91_91_97_102(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
%7 = load ptr, ptr %3, align 8
%8 = load i32, ptr %4, align 4
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds i8, ptr %7, i64 %9
%11 = call i32 @fn_al_sq_cl_33_33_36_36_38_59_61_61_63_91_95_95_97_122_126_126_160_55295_63744_64975_65008_65519_65533_65533_65536_131069_131072_196605_196608_262141_262144_327677_327680_393213_393216_458749_458752_524285_524288_589821_589824_655357_655360_720893_720896_786429_786432_851965_851968_917501_917504_983037_sq_ch_37_qtg_2_2_cl_48_57_65_70_91_91_97_102(ptr noundef %10)
store i32 %11, ptr %5, align 4
%12 = icmp ne i32 %11, -1
br i1 %12, label %.lr.ph, label %25
.lr.ph: ; preds = %1
br label %13
13: ; preds = %.lr.ph, %13
%14 = load i32, ptr %5, align 4
%15 = load i32, ptr %4, align 4
%16 = add nsw i32 %15, %14
store i32 %16, ptr %4, align 4
%17 = load i32, ptr %6, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %6, align 4
%19 = load ptr, ptr %3, align 8
%20 = load i32, ptr %4, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %19, i64 %21
%23 = call i32 @fn_al_sq_cl_33_33_36_36_38_59_61_61_63_91_95_95_97_122_126_126_160_55295_63744_64975_65008_65519_65533_65533_65536_131069_131072_196605_196608_262141_262144_327677_327680_393213_393216_458749_458752_524285_524288_589821_589824_655357_655360_720893_720896_786429_786432_851965_851968_917501_917504_983037_sq_ch_37_qtg_2_2_cl_48_57_65_70_91_91_97_102(ptr noundef %22)
store i32 %23, ptr %5, align 4
%24 = icmp ne i32 %23, -1
br i1 %24, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %25
25: ; preds = %._crit_edge, %1
%26 = load i32, ptr %6, align 4
%27 = icmp sge i32 %26, 0
br i1 %27, label %28, label %30
28: ; preds = %25
%29 = load i32, ptr %4, align 4
store i32 %29, ptr %2, align 4
br label %31
30: ; preds = %25
store i32 -1, ptr %2, align 4
br label %31
31: ; preds = %30, %28
%32 = load i32, ptr %2, align 4
ret i32 %32
}
declare i32 @fn_al_sq_cl_33_33_36_36_38_59_61_61_63_91_95_95_97_122_126_126_160_55295_63744_64975_65008_65519_65533_65533_65536_131069_131072_196605_196608_262141_262144_327677_327680_393213_393216_458749_458752_524285_524288_589821_589824_655357_655360_720893_720896_786429_786432_851965_851968_917501_917504_983037_sq_ch_37_qtg_2_2_cl_48_57_65_70_91_91_97_102(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpii2wt79k.c'
source_filename = "/tmp/tmpii2wt79k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: alwaysinline nounwind sspstrong uwtable
define weak dso_local ptr @softboundmpx_strchr(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = load i32, ptr %4, align 4
%8 = call ptr @strchr(ptr noundef %6, i32 noundef %7)
store ptr %8, ptr %5, align 8
%9 = call i32 @__softboundmpx_propagate_metadata_shadow_stack_from(i32 noundef 1, i32 noundef 0)
%10 = load ptr, ptr %5, align 8
ret ptr %10
}
declare ptr @strchr(ptr noundef, i32 noundef) #1
declare i32 @__softboundmpx_propagate_metadata_shadow_stack_from(i32 noundef, i32 noundef) #1
attributes #0 = { alwaysinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpii2wt79k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: alwaysinline nounwind sspstrong uwtable
define weak dso_local ptr @softboundmpx_strchr(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = load i32, ptr %4, align 4
%8 = call ptr @strchr(ptr noundef %6, i32 noundef %7)
store ptr %8, ptr %5, align 8
%9 = call i32 @__softboundmpx_propagate_metadata_shadow_stack_from(i32 noundef 1, i32 noundef 0)
%10 = load ptr, ptr %5, align 8
ret ptr %10
}
declare ptr @strchr(ptr noundef, i32 noundef) #1
declare i32 @__softboundmpx_propagate_metadata_shadow_stack_from(i32 noundef, i32 noundef) #1
attributes #0 = { alwaysinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbb0q1_dw.c'
source_filename = "/tmp/tmpbb0q1_dw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_alloc2d_opt() #0 {
%1 = alloca ptr, align 8
%2 = alloca i32, align 4
%3 = call ptr @alloc2d_opt(i32 noundef 10, i32 noundef 10)
store ptr %3, ptr %1, align 8
%4 = load ptr, ptr %1, align 8
%5 = call i32 @test_2d_array(ptr noundef %4, i32 noundef 10, i32 noundef 10)
store i32 %5, ptr %2, align 4
%6 = load ptr, ptr %1, align 8
%7 = call i32 @free(ptr noundef %6)
%8 = load i32, ptr %2, align 4
ret i32 %8
}
declare ptr @alloc2d_opt(i32 noundef, i32 noundef) #1
declare i32 @test_2d_array(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbb0q1_dw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_alloc2d_opt() #0 {
%1 = alloca ptr, align 8
%2 = alloca i32, align 4
%3 = call ptr @alloc2d_opt(i32 noundef 10, i32 noundef 10)
store ptr %3, ptr %1, align 8
%4 = load ptr, ptr %1, align 8
%5 = call i32 @test_2d_array(ptr noundef %4, i32 noundef 10, i32 noundef 10)
store i32 %5, ptr %2, align 4
%6 = load ptr, ptr %1, align 8
%7 = call i32 @free(ptr noundef %6)
%8 = load i32, ptr %2, align 4
ret i32 %8
}
declare ptr @alloc2d_opt(i32 noundef, i32 noundef) #1
declare i32 @test_2d_array(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpezl1ta0_.c'
source_filename = "/tmp/tmpezl1ta0_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @imv_window_is_fullscreen(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpezl1ta0_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @imv_window_is_fullscreen(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpifi4dkb_.c'
source_filename = "/tmp/tmpifi4dkb_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"[1]\E8\BE\93\E5\85\A5 [2]\E5\8F\96\E5\87\BA [3]\E9\80\80\E5\87\BA ==>\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [36 x i8] c"\E8\AF\B7\E8\BE\93\E5\85\A5\E5\AD\98\E5\85\A5\E5\88\97\E9\98\9F\E7\9A\84\E5\80\BC(%d) ==>\00", align 1
@.str.3 = private unnamed_addr constant [15 x i8] c"\E9\98\9F\E5\88\97\E5\85\A8\E6\BB\A1.\0A\00", align 1
@.str.4 = private unnamed_addr constant [18 x i8] c"\E9\98\9F\E5\88\97\E6\98\AF\E7\A9\BA\E7\9A\84.\0A\00", align 1
@.str.5 = private unnamed_addr constant [25 x i8] c"\E5\8F\96\E5\87\BA\E9\98\9F\E5\88\97\E5\85\83\E7\B4\A0\EF\BC\9A%d\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 [100 x i32], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
store i32 1, ptr %7, align 4
br label %10
10: ; preds = %49, %0
%11 = load i32, ptr %7, align 4
%12 = icmp ne i32 %11, 0
br i1 %12, label %13, label %50
13: ; preds = %10
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%15 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4)
%16 = load i32, ptr %4, align 4
switch i32 %16, label %49 [
i32 1, label %17
i32 2, label %34
i32 3, label %48
]
17: ; preds = %13
%18 = load i32, ptr %5, align 4
%19 = add nsw i32 %18, 1
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %19)
%21 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %9)
%22 = load i32, ptr %9, align 4
%23 = call i32 @enqueue(i32 noundef %22)
%24 = icmp eq i32 %23, -1
br i1 %24, label %25, label %27
25: ; preds = %17
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %33
27: ; preds = %17
%28 = load i32, ptr %9, align 4
%29 = load i32, ptr %5, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %5, align 4
%31 = sext i32 %29 to i64
%32 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %31
store i32 %28, ptr %32, align 4
br label %33
33: ; preds = %27, %25
br label %49
34: ; preds = %13
%35 = call i32 (...) @dequeue()
store i32 %35, ptr %9, align 4
%36 = icmp eq i32 %35, -1
br i1 %36, label %37, label %39
37: ; preds = %34
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %47
39: ; preds = %34
%40 = load i32, ptr %9, align 4
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %40)
%42 = load i32, ptr %9, align 4
%43 = load i32, ptr %6, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %6, align 4
%45 = sext i32 %43 to i64
%46 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 %45
store i32 %42, ptr %46, align 4
br label %47
47: ; preds = %39, %37
br label %49
48: ; preds = %13
store i32 0, ptr %7, align 4
br label %49
49: ; preds = %13, %48, %47, %33
br label %10, !llvm.loop !6
50: ; preds = %10
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @enqueue(i32 noundef) #1
declare i32 @dequeue(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpifi4dkb_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"[1]\E8\BE\93\E5\85\A5 [2]\E5\8F\96\E5\87\BA [3]\E9\80\80\E5\87\BA ==>\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [36 x i8] c"\E8\AF\B7\E8\BE\93\E5\85\A5\E5\AD\98\E5\85\A5\E5\88\97\E9\98\9F\E7\9A\84\E5\80\BC(%d) ==>\00", align 1
@.str.3 = private unnamed_addr constant [15 x i8] c"\E9\98\9F\E5\88\97\E5\85\A8\E6\BB\A1.\0A\00", align 1
@.str.4 = private unnamed_addr constant [18 x i8] c"\E9\98\9F\E5\88\97\E6\98\AF\E7\A9\BA\E7\9A\84.\0A\00", align 1
@.str.5 = private unnamed_addr constant [25 x i8] c"\E5\8F\96\E5\87\BA\E9\98\9F\E5\88\97\E5\85\83\E7\B4\A0\EF\BC\9A%d\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 [100 x i32], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
store i32 1, ptr %7, align 4
%10 = load i32, ptr %7, align 4
%11 = icmp ne i32 %10, 0
br i1 %11, label %.lr.ph, label %51
.lr.ph: ; preds = %0
br label %12
12: ; preds = %.lr.ph, %48
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%14 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4)
%15 = load i32, ptr %4, align 4
switch i32 %15, label %48 [
i32 1, label %16
i32 2, label %33
i32 3, label %47
]
16: ; preds = %12
%17 = load i32, ptr %5, align 4
%18 = add nsw i32 %17, 1
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %18)
%20 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %9)
%21 = load i32, ptr %9, align 4
%22 = call i32 @enqueue(i32 noundef %21)
%23 = icmp eq i32 %22, -1
br i1 %23, label %24, label %26
24: ; preds = %16
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %32
26: ; preds = %16
%27 = load i32, ptr %9, align 4
%28 = load i32, ptr %5, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %5, align 4
%30 = sext i32 %28 to i64
%31 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %30
store i32 %27, ptr %31, align 4
br label %32
32: ; preds = %26, %24
br label %48
33: ; preds = %12
%34 = call i32 (...) @dequeue()
store i32 %34, ptr %9, align 4
%35 = icmp eq i32 %34, -1
br i1 %35, label %36, label %38
36: ; preds = %33
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %46
38: ; preds = %33
%39 = load i32, ptr %9, align 4
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %39)
%41 = load i32, ptr %9, align 4
%42 = load i32, ptr %6, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %6, align 4
%44 = sext i32 %42 to i64
%45 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 %44
store i32 %41, ptr %45, align 4
br label %46
46: ; preds = %38, %36
br label %48
47: ; preds = %12
store i32 0, ptr %7, align 4
br label %48
48: ; preds = %47, %46, %32, %12
%49 = load i32, ptr %7, align 4
%50 = icmp ne i32 %49, 0
br i1 %50, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %48
br label %51
51: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @enqueue(i32 noundef) #1
declare i32 @dequeue(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp7o3_drna.c'
source_filename = "/tmp/tmp7o3_drna.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @my_puts(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 ptr, ptr %2, align 8
%5 = call i32 @my_strlen(ptr noundef %4)
%6 = call i32 @write(i32 noundef 1, ptr noundef %3, i32 noundef %5)
ret i32 0
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @my_strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7o3_drna.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @my_puts(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 ptr, ptr %2, align 8
%5 = call i32 @my_strlen(ptr noundef %4)
%6 = call i32 @write(i32 noundef 1, ptr noundef %3, i32 noundef %5)
ret i32 0
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @my_strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7pofiqvw.c'
source_filename = "/tmp/tmp7pofiqvw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define hidden i32 @is_sane(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%12 = load ptr, ptr %5, align 8
%13 = call i64 @strlen(ptr noundef %12)
%14 = trunc i64 %13 to i32
store i32 %14, ptr %10, align 4
store i32 0, ptr %8, align 4
br label %15
15: ; preds = %48, %3
%16 = load i32, ptr %8, align 4
%17 = load i32, ptr %7, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %19, label %51
19: ; preds = %15
store i32 0, ptr %11, align 4
store i32 0, ptr %9, align 4
br label %20
20: ; preds = %40, %19
%21 = load i32, ptr %9, align 4
%22 = load i32, ptr %10, align 4
%23 = icmp slt i32 %21, %22
br i1 %23, label %24, label %43
24: ; preds = %20
%25 = load ptr, ptr %6, align 8
%26 = load i32, ptr %8, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %25, i64 %27
%29 = load i8, ptr %28, align 1
%30 = zext i8 %29 to i32
%31 = load ptr, ptr %5, align 8
%32 = load i32, ptr %9, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i8, ptr %31, i64 %33
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = icmp eq i32 %30, %36
br i1 %37, label %38, label %39
38: ; preds = %24
store i32 1, ptr %11, align 4
br label %43
39: ; preds = %24
br label %40
40: ; preds = %39
%41 = load i32, ptr %9, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %9, align 4
br label %20, !llvm.loop !6
43: ; preds = %38, %20
%44 = load i32, ptr %11, align 4
%45 = icmp ne i32 %44, 0
br i1 %45, label %47, label %46
46: ; preds = %43
store i32 6, ptr %4, align 4
br label %52
47: ; preds = %43
br label %48
48: ; preds = %47
%49 = load i32, ptr %8, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %8, align 4
br label %15, !llvm.loop !8
51: ; preds = %15
store i32 0, ptr %4, align 4
br label %52
52: ; preds = %51, %46
%53 = load i32, ptr %4, align 4
ret i32 %53
}
declare i64 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7pofiqvw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define hidden i32 @is_sane(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%12 = load ptr, ptr %5, align 8
%13 = call i64 @strlen(ptr noundef %12)
%14 = trunc i64 %13 to i32
store i32 %14, ptr %10, align 4
store i32 0, ptr %8, align 4
%15 = load i32, ptr %8, align 4
%16 = load i32, ptr %7, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %.lr.ph1, label %55
.lr.ph1: ; preds = %3
br label %18
18: ; preds = %.lr.ph1, %49
store i32 0, ptr %11, align 4
store i32 0, ptr %9, align 4
%19 = load i32, ptr %9, align 4
%20 = load i32, ptr %10, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %18
br label %22
22: ; preds = %.lr.ph, %38
%23 = load ptr, ptr %6, align 8
%24 = load i32, ptr %8, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %23, i64 %25
%27 = load i8, ptr %26, align 1
%28 = zext i8 %27 to i32
%29 = load ptr, ptr %5, align 8
%30 = load i32, ptr %9, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %29, i64 %31
%33 = load i8, ptr %32, align 1
%34 = sext i8 %33 to i32
%35 = icmp eq i32 %28, %34
br i1 %35, label %36, label %37
36: ; preds = %22
store i32 1, ptr %11, align 4
br label %44
37: ; preds = %22
br label %38
38: ; preds = %37
%39 = load i32, ptr %9, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %9, align 4
%41 = load i32, ptr %9, align 4
%42 = load i32, ptr %10, align 4
%43 = icmp slt i32 %41, %42
br i1 %43, label %22, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %38
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %18
br label %44
44: ; preds = %.loopexit, %36
%45 = load i32, ptr %11, align 4
%46 = icmp ne i32 %45, 0
br i1 %46, label %48, label %47
47: ; preds = %44
store i32 6, ptr %4, align 4
br label %56
48: ; preds = %44
br label %49
49: ; preds = %48
%50 = load i32, ptr %8, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %8, align 4
%52 = load i32, ptr %8, align 4
%53 = load i32, ptr %7, align 4
%54 = icmp slt i32 %52, %53
br i1 %54, label %18, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %49
br label %55
55: ; preds = %._crit_edge, %3
store i32 0, ptr %4, align 4
br label %56
56: ; preds = %55, %47
%57 = load i32, ptr %4, align 4
ret i32 %57
}
declare i64 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmptldz_9cc.c'
source_filename = "/tmp/tmptldz_9cc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @logbf(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 float @__ocml_logb_f32(float noundef %3)
ret float %4
}
declare float @__ocml_logb_f32(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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmptldz_9cc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @logbf(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 float @__ocml_logb_f32(float noundef %3)
ret float %4
}
declare float @__ocml_logb_f32(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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmph2pg7whi.c'
source_filename = "/tmp/tmph2pg7whi.c"
target datalayout = "e-m:e-p270: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/tmph2pg7whi.c"
target datalayout = "e-m:e-p270: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/tmplr3mmopl.c'
source_filename = "/tmp/tmplr3mmopl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0Ainput reg5: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%x\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"LD: %u \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @reg5() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%3 = call i64 @scanf(ptr noundef @.str.1, ptr noundef %1)
%4 = icmp ne i64 %3, 0
br i1 %4, label %5, label %10
5: ; preds = %0
%6 = load i32, ptr %1, align 4
%7 = and i32 %6, 12582912
%8 = ashr i32 %7, 22
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %8)
br label %10
10: ; preds = %5, %0
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i64 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmplr3mmopl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0Ainput reg5: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%x\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"LD: %u \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @reg5() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%3 = call i64 @scanf(ptr noundef @.str.1, ptr noundef %1)
%4 = icmp ne i64 %3, 0
br i1 %4, label %5, label %10
5: ; preds = %0
%6 = load i32, ptr %1, align 4
%7 = and i32 %6, 12582912
%8 = ashr i32 %7, 22
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %8)
br label %10
10: ; preds = %5, %0
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i64 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1hwg53jk.c'
source_filename = "/tmp/tmp1hwg53jk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [1000 x i8], align 16
store i32 0, ptr %1, align 4
%3 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%4 = call i32 @CalcNN(i32 noundef 5, ptr noundef %3)
%5 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%6 = call i32 @puts(ptr noundef %5)
%7 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%8 = call i32 @CalcNN(i32 noundef 12, ptr noundef %7)
%9 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%10 = call i32 @puts(ptr noundef %9)
%11 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%12 = call i32 @CalcNN(i32 noundef 13, ptr noundef %11)
%13 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%14 = call i32 @puts(ptr noundef %13)
%15 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%16 = call i32 @CalcNN(i32 noundef 20, ptr noundef %15)
%17 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%18 = call i32 @puts(ptr noundef %17)
%19 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%20 = call i32 @CalcNN(i32 noundef 100, ptr noundef %19)
%21 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%22 = call i32 @puts(ptr noundef %21)
ret i32 0
}
declare i32 @CalcNN(i32 noundef, ptr noundef) #1
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1hwg53jk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [1000 x i8], align 16
store i32 0, ptr %1, align 4
%3 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%4 = call i32 @CalcNN(i32 noundef 5, ptr noundef %3)
%5 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%6 = call i32 @puts(ptr noundef %5)
%7 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%8 = call i32 @CalcNN(i32 noundef 12, ptr noundef %7)
%9 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%10 = call i32 @puts(ptr noundef %9)
%11 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%12 = call i32 @CalcNN(i32 noundef 13, ptr noundef %11)
%13 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%14 = call i32 @puts(ptr noundef %13)
%15 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%16 = call i32 @CalcNN(i32 noundef 20, ptr noundef %15)
%17 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%18 = call i32 @puts(ptr noundef %17)
%19 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%20 = call i32 @CalcNN(i32 noundef 100, ptr noundef %19)
%21 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%22 = call i32 @puts(ptr noundef %21)
ret i32 0
}
declare i32 @CalcNN(i32 noundef, ptr noundef) #1
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkxu92h2i.c'
source_filename = "/tmp/tmpkxu92h2i.c"
target datalayout = "e-m:e-p270: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/tmpkxu92h2i.c"
target datalayout = "e-m:e-p270: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/tmpt92nxmhd.c'
source_filename = "/tmp/tmpt92nxmhd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @read_data_P24KA1(i64 noundef %0, ptr noundef %1, i8 noundef signext %2, i8 noundef signext %3) #0 {
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca i8, align 1
%8 = alloca i8, align 1
store i64 %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i8 %2, ptr %7, align 1
store i8 %3, ptr %8, align 1
%9 = load i64, ptr %5, align 8
%10 = add i64 %9, 8388096
%11 = load ptr, ptr %6, align 8
%12 = load i8, ptr %7, align 1
%13 = load i8, ptr %8, align 1
%14 = sext i8 %13 to i32
%15 = or i32 %14, 4
%16 = trunc i32 %15 to i8
%17 = call i32 @read_code_PIC24(i64 noundef %10, ptr noundef %11, i8 noundef signext %12, i8 noundef signext %16)
ret void
}
declare i32 @read_code_PIC24(i64 noundef, ptr noundef, i8 noundef signext, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpt92nxmhd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @read_data_P24KA1(i64 noundef %0, ptr noundef %1, i8 noundef signext %2, i8 noundef signext %3) #0 {
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca i8, align 1
%8 = alloca i8, align 1
store i64 %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i8 %2, ptr %7, align 1
store i8 %3, ptr %8, align 1
%9 = load i64, ptr %5, align 8
%10 = add i64 %9, 8388096
%11 = load ptr, ptr %6, align 8
%12 = load i8, ptr %7, align 1
%13 = load i8, ptr %8, align 1
%14 = sext i8 %13 to i32
%15 = or i32 %14, 4
%16 = trunc i32 %15 to i8
%17 = call i32 @read_code_PIC24(i64 noundef %10, ptr noundef %11, i8 noundef signext %12, i8 noundef signext %16)
ret void
}
declare i32 @read_code_PIC24(i64 noundef, ptr noundef, i8 noundef signext, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp863yg8_i.c'
source_filename = "/tmp/tmp863yg8_i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = call i32 @preprocess(i32 noundef %7, ptr noundef %8)
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %17
11: ; preds = %2
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 1
%14 = load ptr, ptr %13, align 8
%15 = call i32 @createLists(ptr noundef %14)
%16 = icmp ne i32 %15, 0
br i1 %16, label %18, label %17
17: ; preds = %11, %2
store i32 1, ptr %3, align 4
br label %30
18: ; preds = %11
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 1
%21 = load ptr, ptr %20, align 8
%22 = call ptr @radixSort(ptr noundef %21)
store ptr %22, ptr %6, align 8
%23 = load ptr, ptr %5, align 8
%24 = getelementptr inbounds ptr, ptr %23, i64 1
%25 = load ptr, ptr %24, align 8
%26 = load ptr, ptr %6, align 8
%27 = call i32 @printInput(ptr noundef %25, ptr noundef %26)
%28 = load ptr, ptr %6, align 8
%29 = call i32 @cleanUp(ptr noundef %28)
store i32 0, ptr %3, align 4
br label %30
30: ; preds = %18, %17
%31 = load i32, ptr %3, align 4
ret i32 %31
}
declare i32 @preprocess(i32 noundef, ptr noundef) #1
declare i32 @createLists(ptr noundef) #1
declare ptr @radixSort(ptr noundef) #1
declare i32 @printInput(ptr noundef, ptr noundef) #1
declare i32 @cleanUp(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp863yg8_i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = call i32 @preprocess(i32 noundef %7, ptr noundef %8)
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %17
11: ; preds = %2
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 1
%14 = load ptr, ptr %13, align 8
%15 = call i32 @createLists(ptr noundef %14)
%16 = icmp ne i32 %15, 0
br i1 %16, label %18, label %17
17: ; preds = %11, %2
store i32 1, ptr %3, align 4
br label %30
18: ; preds = %11
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 1
%21 = load ptr, ptr %20, align 8
%22 = call ptr @radixSort(ptr noundef %21)
store ptr %22, ptr %6, align 8
%23 = load ptr, ptr %5, align 8
%24 = getelementptr inbounds ptr, ptr %23, i64 1
%25 = load ptr, ptr %24, align 8
%26 = load ptr, ptr %6, align 8
%27 = call i32 @printInput(ptr noundef %25, ptr noundef %26)
%28 = load ptr, ptr %6, align 8
%29 = call i32 @cleanUp(ptr noundef %28)
store i32 0, ptr %3, align 4
br label %30
30: ; preds = %18, %17
%31 = load i32, ptr %3, align 4
ret i32 %31
}
declare i32 @preprocess(i32 noundef, ptr noundef) #1
declare i32 @createLists(ptr noundef) #1
declare ptr @radixSort(ptr noundef) #1
declare i32 @printInput(ptr noundef, ptr noundef) #1
declare i32 @cleanUp(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpu5l0cmfj.c'
source_filename = "/tmp/tmpu5l0cmfj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpu5l0cmfj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5c4f113p.c'
source_filename = "/tmp/tmp5c4f113p.c"
target datalayout = "e-m:e-p270: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/tmp5c4f113p.c"
target datalayout = "e-m:e-p270: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/tmpkmg6vrd4.c'
source_filename = "/tmp/tmpkmg6vrd4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [42 x i8] c"ERROR: could not receive. Trying again...\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @receive(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
%8 = load ptr, ptr %4, align 8
store ptr %8, ptr %6, align 8
br label %9
9: ; preds = %22, %20, %2
%10 = load i32, ptr %5, align 4
%11 = icmp slt i32 %10, 512
br i1 %11, label %12, label %26
12: ; preds = %9
%13 = load i32, ptr %3, align 4
%14 = load ptr, ptr %6, align 8
%15 = load i32, ptr %5, align 4
%16 = sub nsw i32 512, %15
%17 = call i32 @recv(i32 noundef %13, ptr noundef %14, i32 noundef %16, i32 noundef 0)
store i32 %17, ptr %7, align 4
%18 = load i32, ptr %7, align 4
%19 = icmp eq i32 %18, -1
br i1 %19, label %20, label %22
20: ; preds = %12
%21 = call i32 @perror(ptr noundef @.str)
br label %9, !llvm.loop !6
22: ; preds = %12
%23 = load i32, ptr %7, align 4
%24 = load i32, ptr %5, align 4
%25 = add nsw i32 %24, %23
store i32 %25, ptr %5, align 4
br label %9, !llvm.loop !6
26: ; preds = %9
ret void
}
declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpkmg6vrd4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [42 x i8] c"ERROR: could not receive. Trying again...\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @receive(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
%8 = load ptr, ptr %4, align 8
store ptr %8, ptr %6, align 8
%9 = load i32, ptr %5, align 4
%10 = icmp slt i32 %9, 512
br i1 %10, label %.lr.ph, label %27
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %.backedge
%12 = load i32, ptr %3, align 4
%13 = load ptr, ptr %6, align 8
%14 = load i32, ptr %5, align 4
%15 = sub nsw i32 512, %14
%16 = call i32 @recv(i32 noundef %12, ptr noundef %13, i32 noundef %15, i32 noundef 0)
store i32 %16, ptr %7, align 4
%17 = load i32, ptr %7, align 4
%18 = icmp eq i32 %17, -1
br i1 %18, label %19, label %23
19: ; preds = %11
%20 = call i32 @perror(ptr noundef @.str)
br label %.backedge
.backedge: ; preds = %19, %23
%21 = load i32, ptr %5, align 4
%22 = icmp slt i32 %21, 512
br i1 %22, label %11, label %._crit_edge, !llvm.loop !6
23: ; preds = %11
%24 = load i32, ptr %7, align 4
%25 = load i32, ptr %5, align 4
%26 = add nsw i32 %25, %24
store i32 %26, ptr %5, align 4
br label %.backedge
._crit_edge: ; preds = %.backedge
br label %27
27: ; preds = %._crit_edge, %2
ret void
}
declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmppkpx5o4b.c'
source_filename = "/tmp/tmppkpx5o4b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @VIM_DISP_EnableVrgbMode(i8 noundef zeroext %0) #0 {
%2 = alloca i8, align 1
%3 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%4 = call zeroext i8 @VIM_HIF_GetReg8(i32 noundef 10242)
store i8 %4, ptr %3, align 1
%5 = load i8, ptr %3, align 1
%6 = zext i8 %5 to i32
%7 = and i32 %6, 254
%8 = trunc i32 %7 to i8
store i8 %8, ptr %3, align 1
%9 = load i8, ptr %2, align 1
%10 = zext i8 %9 to i32
%11 = and i32 %10, 1
%12 = load i8, ptr %3, align 1
%13 = zext i8 %12 to i32
%14 = or i32 %13, %11
%15 = trunc i32 %14 to i8
store i8 %15, ptr %3, align 1
%16 = load i8, ptr %3, align 1
%17 = call i32 @VIM_HIF_SetReg8(i32 noundef 10242, i8 noundef zeroext %16)
ret void
}
declare zeroext i8 @VIM_HIF_GetReg8(i32 noundef) #1
declare i32 @VIM_HIF_SetReg8(i32 noundef, i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmppkpx5o4b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @VIM_DISP_EnableVrgbMode(i8 noundef zeroext %0) #0 {
%2 = alloca i8, align 1
%3 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%4 = call zeroext i8 @VIM_HIF_GetReg8(i32 noundef 10242)
store i8 %4, ptr %3, align 1
%5 = load i8, ptr %3, align 1
%6 = zext i8 %5 to i32
%7 = and i32 %6, 254
%8 = trunc i32 %7 to i8
store i8 %8, ptr %3, align 1
%9 = load i8, ptr %2, align 1
%10 = zext i8 %9 to i32
%11 = and i32 %10, 1
%12 = load i8, ptr %3, align 1
%13 = zext i8 %12 to i32
%14 = or i32 %13, %11
%15 = trunc i32 %14 to i8
store i8 %15, ptr %3, align 1
%16 = load i8, ptr %3, align 1
%17 = call i32 @VIM_HIF_SetReg8(i32 noundef 10242, i8 noundef zeroext %16)
ret void
}
declare zeroext i8 @VIM_HIF_GetReg8(i32 noundef) #1
declare i32 @VIM_HIF_SetReg8(i32 noundef, i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpx1rie8ip.c'
source_filename = "/tmp/tmpx1rie8ip.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @indexll(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i16, align 2
%6 = alloca i16, align 2
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i16 0, ptr %5, align 2
store i16 0, ptr %6, align 2
store i16 0, ptr %5, align 2
br label %7
7: ; preds = %62, %2
%8 = load i16, ptr %5, align 2
%9 = sext i16 %8 to i32
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %12, label %65
12: ; preds = %7
br label %13
13: ; preds = %34, %12
%14 = load ptr, ptr %3, align 8
%15 = load i16, ptr %6, align 2
%16 = sext i16 %15 to i32
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %14, i64 %17
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp ne i32 %20, 0
br i1 %21, label %22, label %32
22: ; preds = %13
%23 = load ptr, ptr %3, align 8
%24 = load i16, ptr %6, align 2
%25 = sext i16 %24 to i32
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %23, i64 %26
%28 = load i8, ptr %27, align 1
%29 = call i64 @isspace(i8 noundef signext %28)
%30 = icmp ne i64 %29, 0
%31 = xor i1 %30, true
br label %32
32: ; preds = %22, %13
%33 = phi i1 [ false, %13 ], [ %31, %22 ]
br i1 %33, label %34, label %37
34: ; preds = %32
%35 = load i16, ptr %6, align 2
%36 = add i16 %35, 1
store i16 %36, ptr %6, align 2
br label %13, !llvm.loop !6
37: ; preds = %32
br label %38
38: ; preds = %58, %37
%39 = load ptr, ptr %3, align 8
%40 = load i16, ptr %6, align 2
%41 = sext i16 %40 to i32
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i8, ptr %39, i64 %42
%44 = load i8, ptr %43, align 1
%45 = sext i8 %44 to i32
%46 = icmp ne i32 %45, 0
br i1 %46, label %47, label %56
47: ; preds = %38
%48 = load ptr, ptr %3, align 8
%49 = load i16, ptr %6, align 2
%50 = sext i16 %49 to i32
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i8, ptr %48, i64 %51
%53 = load i8, ptr %52, align 1
%54 = call i64 @isspace(i8 noundef signext %53)
%55 = icmp ne i64 %54, 0
br label %56
56: ; preds = %47, %38
%57 = phi i1 [ false, %38 ], [ %55, %47 ]
br i1 %57, label %58, label %61
58: ; preds = %56
%59 = load i16, ptr %6, align 2
%60 = add i16 %59, 1
store i16 %60, ptr %6, align 2
br label %38, !llvm.loop !8
61: ; preds = %56
br label %62
62: ; preds = %61
%63 = load i16, ptr %5, align 2
%64 = add i16 %63, 1
store i16 %64, ptr %5, align 2
br label %7, !llvm.loop !9
65: ; preds = %7
%66 = load ptr, ptr %3, align 8
%67 = load i16, ptr %6, align 2
%68 = sext i16 %67 to i32
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds i8, ptr %66, i64 %69
%71 = load i8, ptr %70, align 1
%72 = sext i8 %71 to i32
%73 = icmp ne i32 %72, 0
br i1 %73, label %74, label %81
74: ; preds = %65
%75 = load ptr, ptr %3, align 8
%76 = load i16, ptr %6, align 2
%77 = sext i16 %76 to i32
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds i8, ptr %75, i64 %78
%80 = call i64 @atoll(ptr noundef %79)
br label %82
81: ; preds = %65
br label %82
82: ; preds = %81, %74
%83 = phi i64 [ %80, %74 ], [ 0, %81 ]
ret i64 %83
}
declare i64 @isspace(i8 noundef signext) #1
declare i64 @atoll(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpx1rie8ip.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @indexll(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i16, align 2
%6 = alloca i16, align 2
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i16 0, ptr %5, align 2
store i16 0, ptr %6, align 2
store i16 0, ptr %5, align 2
%7 = load i16, ptr %5, align 2
%8 = sext i16 %7 to i32
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %.lr.ph, label %68
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %61
br label %12
12: ; preds = %33, %11
%13 = load ptr, ptr %3, align 8
%14 = load i16, ptr %6, align 2
%15 = sext i16 %14 to i32
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %13, i64 %16
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = icmp ne i32 %19, 0
br i1 %20, label %21, label %31
21: ; preds = %12
%22 = load ptr, ptr %3, align 8
%23 = load i16, ptr %6, align 2
%24 = sext i16 %23 to i32
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %22, i64 %25
%27 = load i8, ptr %26, align 1
%28 = call i64 @isspace(i8 noundef signext %27)
%29 = icmp ne i64 %28, 0
%30 = xor i1 %29, true
br label %31
31: ; preds = %21, %12
%32 = phi i1 [ false, %12 ], [ %30, %21 ]
br i1 %32, label %33, label %36
33: ; preds = %31
%34 = load i16, ptr %6, align 2
%35 = add i16 %34, 1
store i16 %35, ptr %6, align 2
br label %12, !llvm.loop !6
36: ; preds = %31
br label %37
37: ; preds = %57, %36
%38 = load ptr, ptr %3, align 8
%39 = load i16, ptr %6, align 2
%40 = sext i16 %39 to i32
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i8, ptr %38, i64 %41
%43 = load i8, ptr %42, align 1
%44 = sext i8 %43 to i32
%45 = icmp ne i32 %44, 0
br i1 %45, label %46, label %55
46: ; preds = %37
%47 = load ptr, ptr %3, align 8
%48 = load i16, ptr %6, align 2
%49 = sext i16 %48 to i32
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i8, ptr %47, i64 %50
%52 = load i8, ptr %51, align 1
%53 = call i64 @isspace(i8 noundef signext %52)
%54 = icmp ne i64 %53, 0
br label %55
55: ; preds = %46, %37
%56 = phi i1 [ false, %37 ], [ %54, %46 ]
br i1 %56, label %57, label %60
57: ; preds = %55
%58 = load i16, ptr %6, align 2
%59 = add i16 %58, 1
store i16 %59, ptr %6, align 2
br label %37, !llvm.loop !8
60: ; preds = %55
br label %61
61: ; preds = %60
%62 = load i16, ptr %5, align 2
%63 = add i16 %62, 1
store i16 %63, ptr %5, align 2
%64 = load i16, ptr %5, align 2
%65 = sext i16 %64 to i32
%66 = load i32, ptr %4, align 4
%67 = icmp slt i32 %65, %66
br i1 %67, label %11, label %._crit_edge, !llvm.loop !9
._crit_edge: ; preds = %61
br label %68
68: ; preds = %._crit_edge, %2
%69 = load ptr, ptr %3, align 8
%70 = load i16, ptr %6, align 2
%71 = sext i16 %70 to i32
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds i8, ptr %69, i64 %72
%74 = load i8, ptr %73, align 1
%75 = sext i8 %74 to i32
%76 = icmp ne i32 %75, 0
br i1 %76, label %77, label %84
77: ; preds = %68
%78 = load ptr, ptr %3, align 8
%79 = load i16, ptr %6, align 2
%80 = sext i16 %79 to i32
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds i8, ptr %78, i64 %81
%83 = call i64 @atoll(ptr noundef %82)
br label %85
84: ; preds = %68
br label %85
85: ; preds = %84, %77
%86 = phi i64 [ %83, %77 ], [ 0, %84 ]
ret i64 %86
}
declare i64 @isspace(i8 noundef signext) #1
declare i64 @atoll(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpawpmfow0.c'
source_filename = "/tmp/tmpawpmfow0.c"
target datalayout = "e-m:e-p270: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.metastable_cooling_CI.weights = private unnamed_addr constant [4 x double] [double 0.000000e+00, double 1.000000e+00, double 5.000000e+00, double 9.000000e+00], align 16
@__const.metastable_cooling_CI.lower = private unnamed_addr constant [4 x i32] [i32 0, i32 2, i32 1, i32 1], align 16
@__const.metastable_cooling_CI.upper = private unnamed_addr constant [4 x i32] [i32 0, i32 3, i32 2, i32 3], align 16
@__const.metastable_cooling_CI.energy = private unnamed_addr constant [4 x double] [double 0.000000e+00, double 1.500000e+04, double 1.700000e+04, double 3.100000e+04], align 16
@__const.metastable_cooling_CI.EinsA = private unnamed_addr constant [4 x double] [double 0.000000e+00, double 3.400000e-04, double 5.000000e-01, double 2.600000e-03], align 16
@__const.metastable_cooling_CI.elec_a = private unnamed_addr constant [4 x double] [double 0.000000e+00, double 2.700000e-08, double 1.200000e-08, double 1.300000e-08], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @metastable_cooling_CI(double noundef %0, double noundef %1, double noundef %2, double noundef %3) #0 {
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca [4 x double], align 16
%10 = alloca [4 x i32], align 16
%11 = alloca [4 x i32], align 16
%12 = alloca [4 x double], align 16
%13 = alloca [4 x double], align 16
%14 = alloca [4 x double], align 16
%15 = alloca [4 x double], align 16
store double %0, ptr %5, align 8
store double %1, ptr %6, align 8
store double %2, ptr %7, align 8
store double %3, ptr %8, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 @__const.metastable_cooling_CI.weights, i64 32, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %10, ptr align 16 @__const.metastable_cooling_CI.lower, i64 16, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %11, ptr align 16 @__const.metastable_cooling_CI.upper, i64 16, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %12, ptr align 16 @__const.metastable_cooling_CI.energy, i64 32, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %13, ptr align 16 @__const.metastable_cooling_CI.EinsA, i64 32, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %14, ptr align 16 @__const.metastable_cooling_CI.elec_a, i64 32, i1 false)
%16 = load double, ptr %8, align 8
%17 = fcmp olt double %16, 1.000000e+04
br i1 %17, label %18, label %22
18: ; preds = %4
%19 = getelementptr inbounds [4 x double], ptr %15, i64 0, i64 1
store double 5.700000e-01, ptr %19, align 8
%20 = getelementptr inbounds [4 x double], ptr %15, i64 0, i64 2
store double 5.700000e-01, ptr %20, align 16
%21 = getelementptr inbounds [4 x double], ptr %15, i64 0, i64 3
store double 5.700000e-01, ptr %21, align 8
br label %22
22: ; preds = %18, %4
%23 = load double, ptr %8, align 8
%24 = fcmp oge double %23, 1.000000e+04
br i1 %24, label %25, label %29
25: ; preds = %22
%26 = getelementptr inbounds [4 x double], ptr %15, i64 0, i64 1
store double -1.300000e-01, ptr %26, align 8
%27 = getelementptr inbounds [4 x double], ptr %15, i64 0, i64 2
store double 0.000000e+00, ptr %27, align 16
%28 = getelementptr inbounds [4 x double], ptr %15, i64 0, i64 3
store double 0.000000e+00, ptr %28, align 8
br label %29
29: ; preds = %25, %22
%30 = getelementptr inbounds [4 x double], ptr %9, i64 0, i64 0
%31 = getelementptr inbounds [4 x i32], ptr %10, i64 0, i64 0
%32 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 0
%33 = getelementptr inbounds [4 x double], ptr %12, i64 0, i64 0
%34 = getelementptr inbounds [4 x double], ptr %13, i64 0, i64 0
%35 = getelementptr inbounds [4 x double], ptr %14, i64 0, i64 0
%36 = getelementptr inbounds [4 x double], ptr %15, i64 0, i64 0
%37 = load double, ptr %5, align 8
%38 = load double, ptr %6, align 8
%39 = load double, ptr %7, align 8
%40 = load double, ptr %8, align 8
%41 = call double @computeMetastableCoolingRate(i32 noundef 3, i32 noundef 3, ptr noundef %30, ptr noundef %31, ptr noundef %32, ptr noundef %33, ptr noundef %34, ptr noundef %35, ptr noundef %36, double noundef %37, double noundef %38, double noundef %39, double noundef %40)
ret double %41
}
; 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 double @computeMetastableCoolingRate(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, double noundef, double noundef, double noundef, double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree 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/tmpawpmfow0.c"
target datalayout = "e-m:e-p270: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.metastable_cooling_CI.weights = private unnamed_addr constant [4 x double] [double 0.000000e+00, double 1.000000e+00, double 5.000000e+00, double 9.000000e+00], align 16
@__const.metastable_cooling_CI.lower = private unnamed_addr constant [4 x i32] [i32 0, i32 2, i32 1, i32 1], align 16
@__const.metastable_cooling_CI.upper = private unnamed_addr constant [4 x i32] [i32 0, i32 3, i32 2, i32 3], align 16
@__const.metastable_cooling_CI.energy = private unnamed_addr constant [4 x double] [double 0.000000e+00, double 1.500000e+04, double 1.700000e+04, double 3.100000e+04], align 16
@__const.metastable_cooling_CI.EinsA = private unnamed_addr constant [4 x double] [double 0.000000e+00, double 3.400000e-04, double 5.000000e-01, double 2.600000e-03], align 16
@__const.metastable_cooling_CI.elec_a = private unnamed_addr constant [4 x double] [double 0.000000e+00, double 2.700000e-08, double 1.200000e-08, double 1.300000e-08], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @metastable_cooling_CI(double noundef %0, double noundef %1, double noundef %2, double noundef %3) #0 {
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca [4 x double], align 16
%10 = alloca [4 x i32], align 16
%11 = alloca [4 x i32], align 16
%12 = alloca [4 x double], align 16
%13 = alloca [4 x double], align 16
%14 = alloca [4 x double], align 16
%15 = alloca [4 x double], align 16
store double %0, ptr %5, align 8
store double %1, ptr %6, align 8
store double %2, ptr %7, align 8
store double %3, ptr %8, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 @__const.metastable_cooling_CI.weights, i64 32, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %10, ptr align 16 @__const.metastable_cooling_CI.lower, i64 16, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %11, ptr align 16 @__const.metastable_cooling_CI.upper, i64 16, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %12, ptr align 16 @__const.metastable_cooling_CI.energy, i64 32, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %13, ptr align 16 @__const.metastable_cooling_CI.EinsA, i64 32, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %14, ptr align 16 @__const.metastable_cooling_CI.elec_a, i64 32, i1 false)
%16 = load double, ptr %8, align 8
%17 = fcmp olt double %16, 1.000000e+04
br i1 %17, label %18, label %22
18: ; preds = %4
%19 = getelementptr inbounds [4 x double], ptr %15, i64 0, i64 1
store double 5.700000e-01, ptr %19, align 8
%20 = getelementptr inbounds [4 x double], ptr %15, i64 0, i64 2
store double 5.700000e-01, ptr %20, align 16
%21 = getelementptr inbounds [4 x double], ptr %15, i64 0, i64 3
store double 5.700000e-01, ptr %21, align 8
br label %22
22: ; preds = %18, %4
%23 = load double, ptr %8, align 8
%24 = fcmp oge double %23, 1.000000e+04
br i1 %24, label %25, label %29
25: ; preds = %22
%26 = getelementptr inbounds [4 x double], ptr %15, i64 0, i64 1
store double -1.300000e-01, ptr %26, align 8
%27 = getelementptr inbounds [4 x double], ptr %15, i64 0, i64 2
store double 0.000000e+00, ptr %27, align 16
%28 = getelementptr inbounds [4 x double], ptr %15, i64 0, i64 3
store double 0.000000e+00, ptr %28, align 8
br label %29
29: ; preds = %25, %22
%30 = getelementptr inbounds [4 x double], ptr %9, i64 0, i64 0
%31 = getelementptr inbounds [4 x i32], ptr %10, i64 0, i64 0
%32 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 0
%33 = getelementptr inbounds [4 x double], ptr %12, i64 0, i64 0
%34 = getelementptr inbounds [4 x double], ptr %13, i64 0, i64 0
%35 = getelementptr inbounds [4 x double], ptr %14, i64 0, i64 0
%36 = getelementptr inbounds [4 x double], ptr %15, i64 0, i64 0
%37 = load double, ptr %5, align 8
%38 = load double, ptr %6, align 8
%39 = load double, ptr %7, align 8
%40 = load double, ptr %8, align 8
%41 = call double @computeMetastableCoolingRate(i32 noundef 3, i32 noundef 3, ptr noundef %30, ptr noundef %31, ptr noundef %32, ptr noundef %33, ptr noundef %34, ptr noundef %35, ptr noundef %36, double noundef %37, double noundef %38, double noundef %39, double noundef %40)
ret double %41
}
; 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 double @computeMetastableCoolingRate(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, double noundef, double noundef, double noundef, double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree 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/tmp4k9xm0lw.c'
source_filename = "/tmp/tmp4k9xm0lw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @urlify(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = load ptr, ptr %3, align 8
%8 = call i32 @strlen(ptr noundef %7)
%9 = sub nsw i32 %8, 1
store i32 %9, ptr %5, align 4
%10 = load i32, ptr %4, align 4
%11 = sub nsw i32 %10, 1
store i32 %11, ptr %6, align 4
br label %12
12: ; preds = %53, %2
%13 = load i32, ptr %6, align 4
%14 = icmp sge i32 %13, 0
br i1 %14, label %15, label %56
15: ; preds = %12
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %6, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %21, 32
br i1 %22, label %23, label %40
23: ; preds = %15
%24 = load ptr, ptr %3, align 8
%25 = load i32, ptr %5, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %24, i64 %26
store i8 48, ptr %27, align 1
%28 = load ptr, ptr %3, align 8
%29 = load i32, ptr %5, align 4
%30 = sub nsw i32 %29, 1
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %28, i64 %31
store i8 50, ptr %32, align 1
%33 = load ptr, ptr %3, align 8
%34 = load i32, ptr %5, align 4
%35 = sub nsw i32 %34, 2
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8, ptr %33, i64 %36
store i8 37, ptr %37, align 1
%38 = load i32, ptr %5, align 4
%39 = sub nsw i32 %38, 3
store i32 %39, ptr %5, align 4
br label %52
40: ; preds = %15
%41 = load ptr, ptr %3, align 8
%42 = load i32, ptr %6, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i8, ptr %41, i64 %43
%45 = load i8, ptr %44, align 1
%46 = load ptr, ptr %3, align 8
%47 = load i32, ptr %5, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i8, ptr %46, i64 %48
store i8 %45, ptr %49, align 1
%50 = load i32, ptr %5, align 4
%51 = add nsw i32 %50, -1
store i32 %51, ptr %5, align 4
br label %52
52: ; preds = %40, %23
br label %53
53: ; preds = %52
%54 = load i32, ptr %6, align 4
%55 = add nsw i32 %54, -1
store i32 %55, ptr %6, align 4
br label %12, !llvm.loop !6
56: ; preds = %12
%57 = load ptr, ptr %3, align 8
ret ptr %57
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4k9xm0lw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @urlify(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = load ptr, ptr %3, align 8
%8 = call i32 @strlen(ptr noundef %7)
%9 = sub nsw i32 %8, 1
store i32 %9, ptr %5, align 4
%10 = load i32, ptr %4, align 4
%11 = sub nsw i32 %10, 1
store i32 %11, ptr %6, align 4
%12 = load i32, ptr %6, align 4
%13 = icmp sge i32 %12, 0
br i1 %13, label %.lr.ph, label %57
.lr.ph: ; preds = %2
br label %14
14: ; preds = %.lr.ph, %52
%15 = load ptr, ptr %3, align 8
%16 = load i32, ptr %6, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp eq i32 %20, 32
br i1 %21, label %22, label %39
22: ; preds = %14
%23 = load ptr, ptr %3, align 8
%24 = load i32, ptr %5, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %23, i64 %25
store i8 48, ptr %26, align 1
%27 = load ptr, ptr %3, align 8
%28 = load i32, ptr %5, align 4
%29 = sub nsw i32 %28, 1
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i8, ptr %27, i64 %30
store i8 50, ptr %31, align 1
%32 = load ptr, ptr %3, align 8
%33 = load i32, ptr %5, align 4
%34 = sub nsw i32 %33, 2
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %32, i64 %35
store i8 37, ptr %36, align 1
%37 = load i32, ptr %5, align 4
%38 = sub nsw i32 %37, 3
store i32 %38, ptr %5, align 4
br label %51
39: ; preds = %14
%40 = load ptr, ptr %3, align 8
%41 = load i32, ptr %6, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i8, ptr %40, i64 %42
%44 = load i8, ptr %43, align 1
%45 = load ptr, ptr %3, align 8
%46 = load i32, ptr %5, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i8, ptr %45, i64 %47
store i8 %44, ptr %48, align 1
%49 = load i32, ptr %5, align 4
%50 = add nsw i32 %49, -1
store i32 %50, ptr %5, align 4
br label %51
51: ; preds = %39, %22
br label %52
52: ; preds = %51
%53 = load i32, ptr %6, align 4
%54 = add nsw i32 %53, -1
store i32 %54, ptr %6, align 4
%55 = load i32, ptr %6, align 4
%56 = icmp sge i32 %55, 0
br i1 %56, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %52
br label %57
57: ; preds = %._crit_edge, %2
%58 = load ptr, ptr %3, align 8
ret ptr %58
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpmahkx5y6.c'
source_filename = "/tmp/tmpmahkx5y6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmahkx5y6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpm5q8wp9l.c'
source_filename = "/tmp/tmpm5q8wp9l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pffft_aligned_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp ne ptr %3, null
br i1 %4, label %5, label %10
5: ; preds = %1
%6 = load ptr, ptr %2, align 8
%7 = getelementptr inbounds ptr, ptr %6, i64 -1
%8 = load ptr, ptr %7, align 8
%9 = call i32 @free(ptr noundef %8)
br label %10
10: ; preds = %5, %1
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpm5q8wp9l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pffft_aligned_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp ne ptr %3, null
br i1 %4, label %5, label %10
5: ; preds = %1
%6 = load ptr, ptr %2, align 8
%7 = getelementptr inbounds ptr, ptr %6, i64 -1
%8 = load ptr, ptr %7, align 8
%9 = call i32 @free(ptr noundef %8)
br label %10
10: ; preds = %5, %1
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1d88p3i4.c'
source_filename = "/tmp/tmp1d88p3i4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isalnum.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isalnum should be 0 for 0xfe\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isalnum_0xfe() #0 {
%1 = call i64 @isalnum(i32 noundef 254)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 1275, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isalnum(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/tmp1d88p3i4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isalnum.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isalnum should be 0 for 0xfe\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isalnum_0xfe() #0 {
%1 = call i64 @isalnum(i32 noundef 254)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 1275, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isalnum(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/tmpam56rlp_.c'
source_filename = "/tmp/tmpam56rlp_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @rcbrt(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = call double @__nv_rcbrt(double noundef %3)
ret double %4
}
declare double @__nv_rcbrt(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpam56rlp_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @rcbrt(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = call double @__nv_rcbrt(double noundef %3)
ret double %4
}
declare double @__nv_rcbrt(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3ukvckc_.c'
source_filename = "/tmp/tmp3ukvckc_.c"
target datalayout = "e-m:e-p270: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/tmp3ukvckc_.c"
target datalayout = "e-m:e-p270: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/tmpptpnhqds.c'
source_filename = "/tmp/tmpptpnhqds.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @freebytes(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i32 @free(ptr noundef %5)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpptpnhqds.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @freebytes(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i32 @free(ptr noundef %5)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpu0fsmyb0.c'
source_filename = "/tmp/tmpu0fsmyb0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @after_tag(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 @COLOR_PAIR(i32 noundef 2)
%5 = call i32 @wattroff(ptr noundef %3, i32 noundef %4)
ret void
}
declare i32 @wattroff(ptr noundef, i32 noundef) #1
declare i32 @COLOR_PAIR(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/tmpu0fsmyb0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @after_tag(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 @COLOR_PAIR(i32 noundef 2)
%5 = call i32 @wattroff(ptr noundef %3, i32 noundef %4)
ret void
}
declare i32 @wattroff(ptr noundef, i32 noundef) #1
declare i32 @COLOR_PAIR(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.