llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
---|---|
; ModuleID = '/tmp/tmpgcirpbn4.c'
source_filename = "/tmp/tmpgcirpbn4.c"
target datalayout = "e-m:e-p270: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/tmpgcirpbn4.c"
target datalayout = "e-m:e-p270: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/tmpqt0dtus0.c'
source_filename = "/tmp/tmpqt0dtus0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cf_s_inn_batchdir(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 i64 @mock(ptr noundef %3)
%5 = inttoptr i64 %4 to ptr
ret ptr %5
}
declare i64 @mock(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqt0dtus0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cf_s_inn_batchdir(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 i64 @mock(ptr noundef %3)
%5 = inttoptr i64 %4 to ptr
ret ptr %5
}
declare i64 @mock(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpucfql97c.c'
source_filename = "/tmp/tmpucfql97c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"freopen.dat\00", align 1
@__const.main.tsttxt = private unnamed_addr constant [58 x i8] c"A random line of text, used to test correct freopen etc.\0A\00", align 16
@.str.1 = private unnamed_addr constant [3 x i8] c"w+\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [6 x i8] c"fail\0A\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@stdin = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [6 x i8] c"pass\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca [58 x i8], align 16
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i8, align 1
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.tsttxt, i64 58, i1 false)
%7 = load ptr, ptr %2, align 8
%8 = load i32, ptr @stderr, align 4
%9 = call ptr @freopen(ptr noundef %7, ptr noundef @.str.1, i32 noundef %8)
store ptr %9, ptr %5, align 8
%10 = load ptr, ptr %5, align 8
%11 = icmp eq ptr %10, null
br i1 %11, label %25, label %12
12: ; preds = %0
%13 = getelementptr inbounds [58 x i8], ptr %3, i64 0, i64 0
%14 = getelementptr inbounds [58 x i8], ptr %3, i64 0, i64 0
%15 = call i64 @strlen(ptr noundef %14)
%16 = load i32, ptr @stderr, align 4
%17 = call i64 @fwrite(ptr noundef %13, i32 noundef 1, i64 noundef %15, i32 noundef %16)
%18 = getelementptr inbounds [58 x i8], ptr %3, i64 0, i64 0
%19 = call i64 @strlen(ptr noundef %18)
%20 = icmp ne i64 %17, %19
br i1 %20, label %25, label %21
21: ; preds = %12
%22 = load i32, ptr @stderr, align 4
%23 = call i64 @fclose(i32 noundef %22)
%24 = icmp ne i64 %23, 0
br i1 %24, label %25, label %28
25: ; preds = %21, %12, %0
%26 = call i32 @printf(ptr noundef @.str.2)
%27 = call i32 @exit(i32 noundef 1) #4
unreachable
28: ; preds = %21
%29 = load ptr, ptr %2, align 8
%30 = load i32, ptr @stdin, align 4
%31 = call ptr @freopen(ptr noundef %29, ptr noundef @.str.3, i32 noundef %30)
store ptr %31, ptr %4, align 8
%32 = load ptr, ptr %4, align 8
%33 = icmp eq ptr %32, null
br i1 %33, label %34, label %37
34: ; preds = %28
%35 = call i32 @printf(ptr noundef @.str.2)
%36 = call i32 @exit(i32 noundef 1) #4
unreachable
37: ; preds = %28
%38 = load ptr, ptr %4, align 8
%39 = call signext i8 @getc(ptr noundef %38)
store i8 %39, ptr %6, align 1
%40 = load i8, ptr %6, align 1
%41 = sext i8 %40 to i32
%42 = icmp ne i32 %41, 65
br i1 %42, label %43, label %46
43: ; preds = %37
%44 = call i32 @printf(ptr noundef @.str.2)
%45 = call i32 @exit(i32 noundef 1) #4
unreachable
46: ; preds = %37
%47 = call i32 @printf(ptr noundef @.str.4)
%48 = call i32 @exit(i32 noundef 0) #4
unreachable
}
; 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 ptr @freopen(ptr noundef, ptr noundef, i32 noundef) #2
declare i64 @fwrite(ptr noundef, i32 noundef, i64 noundef, i32 noundef) #2
declare i64 @strlen(ptr noundef) #2
declare i64 @fclose(i32 noundef) #2
declare i32 @printf(ptr noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
declare signext i8 @getc(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" }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpucfql97c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"freopen.dat\00", align 1
@__const.main.tsttxt = private unnamed_addr constant [58 x i8] c"A random line of text, used to test correct freopen etc.\0A\00", align 16
@.str.1 = private unnamed_addr constant [3 x i8] c"w+\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [6 x i8] c"fail\0A\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@stdin = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [6 x i8] c"pass\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca [58 x i8], align 16
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i8, align 1
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.tsttxt, i64 58, i1 false)
%7 = load ptr, ptr %2, align 8
%8 = load i32, ptr @stderr, align 4
%9 = call ptr @freopen(ptr noundef %7, ptr noundef @.str.1, i32 noundef %8)
store ptr %9, ptr %5, align 8
%10 = load ptr, ptr %5, align 8
%11 = icmp eq ptr %10, null
br i1 %11, label %25, label %12
12: ; preds = %0
%13 = getelementptr inbounds [58 x i8], ptr %3, i64 0, i64 0
%14 = getelementptr inbounds [58 x i8], ptr %3, i64 0, i64 0
%15 = call i64 @strlen(ptr noundef %14)
%16 = load i32, ptr @stderr, align 4
%17 = call i64 @fwrite(ptr noundef %13, i32 noundef 1, i64 noundef %15, i32 noundef %16)
%18 = getelementptr inbounds [58 x i8], ptr %3, i64 0, i64 0
%19 = call i64 @strlen(ptr noundef %18)
%20 = icmp ne i64 %17, %19
br i1 %20, label %25, label %21
21: ; preds = %12
%22 = load i32, ptr @stderr, align 4
%23 = call i64 @fclose(i32 noundef %22)
%24 = icmp ne i64 %23, 0
br i1 %24, label %25, label %28
25: ; preds = %21, %12, %0
%26 = call i32 @printf(ptr noundef @.str.2)
%27 = call i32 @exit(i32 noundef 1) #4
unreachable
28: ; preds = %21
%29 = load ptr, ptr %2, align 8
%30 = load i32, ptr @stdin, align 4
%31 = call ptr @freopen(ptr noundef %29, ptr noundef @.str.3, i32 noundef %30)
store ptr %31, ptr %4, align 8
%32 = load ptr, ptr %4, align 8
%33 = icmp eq ptr %32, null
br i1 %33, label %34, label %37
34: ; preds = %28
%35 = call i32 @printf(ptr noundef @.str.2)
%36 = call i32 @exit(i32 noundef 1) #4
unreachable
37: ; preds = %28
%38 = load ptr, ptr %4, align 8
%39 = call signext i8 @getc(ptr noundef %38)
store i8 %39, ptr %6, align 1
%40 = load i8, ptr %6, align 1
%41 = sext i8 %40 to i32
%42 = icmp ne i32 %41, 65
br i1 %42, label %43, label %46
43: ; preds = %37
%44 = call i32 @printf(ptr noundef @.str.2)
%45 = call i32 @exit(i32 noundef 1) #4
unreachable
46: ; preds = %37
%47 = call i32 @printf(ptr noundef @.str.4)
%48 = call i32 @exit(i32 noundef 0) #4
unreachable
}
; 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 ptr @freopen(ptr noundef, ptr noundef, i32 noundef) #2
declare i64 @fwrite(ptr noundef, i32 noundef, i64 noundef, i32 noundef) #2
declare i64 @strlen(ptr noundef) #2
declare i64 @fclose(i32 noundef) #2
declare i32 @printf(ptr noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
declare signext i8 @getc(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" }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzx3kmwqg.c'
source_filename = "/tmp/tmpzx3kmwqg.c"
target datalayout = "e-m:e-p270: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 i64 @xwrite(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
br label %8
8: ; preds = %3, %23
%9 = load i32, ptr %4, align 4
%10 = load ptr, ptr %5, align 8
%11 = load i64, ptr %6, align 8
%12 = call i64 @write(i32 noundef %9, ptr noundef %10, i64 noundef %11)
store i64 %12, ptr %7, align 8
%13 = load i64, ptr %7, align 8
%14 = icmp slt i64 %13, 0
br i1 %14, label %15, label %24
15: ; preds = %8
%16 = load i64, ptr @errno, align 8
%17 = load i64, ptr @EINTR, align 8
%18 = icmp eq i64 %16, %17
br i1 %18, label %23, label %19
19: ; preds = %15
%20 = load i64, ptr @errno, align 8
%21 = load i64, ptr @EAGAIN, align 8
%22 = icmp eq i64 %20, %21
br i1 %22, label %23, label %24
23: ; preds = %19, %15
br label %8
24: ; preds = %19, %8
%25 = load i64, ptr %7, align 8
ret i64 %25
}
declare i64 @write(i32 noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzx3kmwqg.c"
target datalayout = "e-m:e-p270: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 i64 @xwrite(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%8 = load i32, ptr %4, align 4
%9 = load ptr, ptr %5, align 8
%10 = load i64, ptr %6, align 8
%11 = call i64 @write(i32 noundef %8, ptr noundef %9, i64 noundef %10)
store i64 %11, ptr %7, align 8
%12 = load i64, ptr %7, align 8
%13 = icmp slt i64 %12, 0
br i1 %13, label %.lr.ph, label %29
.lr.ph: ; preds = %3
br label %14
14: ; preds = %.lr.ph, %22
%15 = load i64, ptr @errno, align 8
%16 = load i64, ptr @EINTR, align 8
%17 = icmp eq i64 %15, %16
br i1 %17, label %22, label %18
18: ; preds = %14
%19 = load i64, ptr @errno, align 8
%20 = load i64, ptr @EAGAIN, align 8
%21 = icmp eq i64 %19, %20
br i1 %21, label %22, label %._crit_edge
22: ; preds = %18, %14
%23 = load i32, ptr %4, align 4
%24 = load ptr, ptr %5, align 8
%25 = load i64, ptr %6, align 8
%26 = call i64 @write(i32 noundef %23, ptr noundef %24, i64 noundef %25)
store i64 %26, ptr %7, align 8
%27 = load i64, ptr %7, align 8
%28 = icmp slt i64 %27, 0
br i1 %28, label %14, label %._crit_edge1
._crit_edge: ; preds = %18
br label %29
._crit_edge1: ; preds = %22
br label %29
29: ; preds = %._crit_edge1, %._crit_edge, %3
%30 = load i64, ptr %7, align 8
ret i64 %30
}
declare i64 @write(i32 noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnbhbwnj6.c'
source_filename = "/tmp/tmpnbhbwnj6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quick_sort_3_way(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = call i32 @Shuffle_array(ptr noundef %5, i32 noundef %6)
%8 = load ptr, ptr %3, align 8
%9 = load i32, ptr %4, align 4
%10 = sub nsw i32 %9, 1
%11 = call i32 @_quick_sort_3_way(ptr noundef %8, i32 noundef 0, i32 noundef %10)
ret void
}
declare i32 @Shuffle_array(ptr noundef, i32 noundef) #1
declare i32 @_quick_sort_3_way(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnbhbwnj6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quick_sort_3_way(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = call i32 @Shuffle_array(ptr noundef %5, i32 noundef %6)
%8 = load ptr, ptr %3, align 8
%9 = load i32, ptr %4, align 4
%10 = sub nsw i32 %9, 1
%11 = call i32 @_quick_sort_3_way(ptr noundef %8, i32 noundef 0, i32 noundef %10)
ret void
}
declare i32 @Shuffle_array(ptr noundef, i32 noundef) #1
declare i32 @_quick_sort_3_way(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpn8eng7j9.c'
source_filename = "/tmp/tmpn8eng7j9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"Intervalo de busca:[%f, %f] \0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"P(%f) = %f\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @calculatePolynomRoot(i32 noundef %0, ptr noundef %1, float noundef %2, float noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca float, align 4
%8 = alloca float, align 4
%9 = alloca float, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store float %2, ptr %7, align 4
store float %3, ptr %8, align 4
br label %10
10: ; preds = %40, %4
%11 = load float, ptr %7, align 4
%12 = load float, ptr %8, align 4
%13 = fadd float %11, %12
%14 = fdiv float %13, 2.000000e+00
store float %14, ptr %9, align 4
%15 = load i32, ptr %5, align 4
%16 = load ptr, ptr %6, align 8
%17 = load float, ptr %7, align 4
%18 = call double @polynomialValue(i32 noundef %15, ptr noundef %16, float noundef %17)
%19 = load i32, ptr %5, align 4
%20 = load ptr, ptr %6, align 8
%21 = load float, ptr %9, align 4
%22 = call double @polynomialValue(i32 noundef %19, ptr noundef %20, float noundef %21)
%23 = fmul double %18, %22
%24 = fcmp olt double %23, 0.000000e+00
br i1 %24, label %25, label %27
25: ; preds = %10
%26 = load float, ptr %9, align 4
store float %26, ptr %8, align 4
br label %29
27: ; preds = %10
%28 = load float, ptr %9, align 4
store float %28, ptr %7, align 4
br label %29
29: ; preds = %27, %25
%30 = load float, ptr %7, align 4
%31 = load float, ptr %8, align 4
%32 = fpext float %31 to double
%33 = call i32 @printf(ptr noundef @.str, float noundef %30, double noundef %32)
%34 = load float, ptr %9, align 4
%35 = load i32, ptr %5, align 4
%36 = load ptr, ptr %6, align 8
%37 = load float, ptr %9, align 4
%38 = call double @polynomialValue(i32 noundef %35, ptr noundef %36, float noundef %37)
%39 = call i32 @printf(ptr noundef @.str.1, float noundef %34, double noundef %38)
br label %40
40: ; preds = %29
%41 = load i32, ptr %5, align 4
%42 = load ptr, ptr %6, align 8
%43 = load float, ptr %9, align 4
%44 = call double @polynomialValue(i32 noundef %41, ptr noundef %42, float noundef %43)
%45 = call double @module(double noundef %44)
%46 = fcmp ogt double %45, 0x3EB0C6F7A0B5ED8D
br i1 %46, label %10, label %47, !llvm.loop !6
47: ; preds = %40
%48 = load float, ptr %9, align 4
ret float %48
}
declare double @polynomialValue(i32 noundef, ptr noundef, float noundef) #1
declare i32 @printf(ptr noundef, float noundef, double noundef) #1
declare double @module(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpn8eng7j9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"Intervalo de busca:[%f, %f] \0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"P(%f) = %f\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @calculatePolynomRoot(i32 noundef %0, ptr noundef %1, float noundef %2, float noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca float, align 4
%8 = alloca float, align 4
%9 = alloca float, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store float %2, ptr %7, align 4
store float %3, ptr %8, align 4
br label %10
10: ; preds = %40, %4
%11 = load float, ptr %7, align 4
%12 = load float, ptr %8, align 4
%13 = fadd float %11, %12
%14 = fdiv float %13, 2.000000e+00
store float %14, ptr %9, align 4
%15 = load i32, ptr %5, align 4
%16 = load ptr, ptr %6, align 8
%17 = load float, ptr %7, align 4
%18 = call double @polynomialValue(i32 noundef %15, ptr noundef %16, float noundef %17)
%19 = load i32, ptr %5, align 4
%20 = load ptr, ptr %6, align 8
%21 = load float, ptr %9, align 4
%22 = call double @polynomialValue(i32 noundef %19, ptr noundef %20, float noundef %21)
%23 = fmul double %18, %22
%24 = fcmp olt double %23, 0.000000e+00
br i1 %24, label %25, label %27
25: ; preds = %10
%26 = load float, ptr %9, align 4
store float %26, ptr %8, align 4
br label %29
27: ; preds = %10
%28 = load float, ptr %9, align 4
store float %28, ptr %7, align 4
br label %29
29: ; preds = %27, %25
%30 = load float, ptr %7, align 4
%31 = load float, ptr %8, align 4
%32 = fpext float %31 to double
%33 = call i32 @printf(ptr noundef @.str, float noundef %30, double noundef %32)
%34 = load float, ptr %9, align 4
%35 = load i32, ptr %5, align 4
%36 = load ptr, ptr %6, align 8
%37 = load float, ptr %9, align 4
%38 = call double @polynomialValue(i32 noundef %35, ptr noundef %36, float noundef %37)
%39 = call i32 @printf(ptr noundef @.str.1, float noundef %34, double noundef %38)
br label %40
40: ; preds = %29
%41 = load i32, ptr %5, align 4
%42 = load ptr, ptr %6, align 8
%43 = load float, ptr %9, align 4
%44 = call double @polynomialValue(i32 noundef %41, ptr noundef %42, float noundef %43)
%45 = call double @module(double noundef %44)
%46 = fcmp ogt double %45, 0x3EB0C6F7A0B5ED8D
br i1 %46, label %10, label %47, !llvm.loop !6
47: ; preds = %40
%48 = load float, ptr %9, align 4
ret float %48
}
declare double @polynomialValue(i32 noundef, ptr noundef, float noundef) #1
declare i32 @printf(ptr noundef, float noundef, double noundef) #1
declare double @module(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpal62c4_5.c'
source_filename = "/tmp/tmpal62c4_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 ptr @libc_addslashes(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%7 = load ptr, ptr %2, align 8
%8 = call i32 @libc_strlen(ptr noundef %7)
store i32 %8, ptr %4, align 4
store i32 0, ptr %5, align 4
%9 = load i32, ptr %4, align 4
%10 = call ptr @libc_malloc(i32 noundef %9)
store ptr %10, ptr %6, align 8
br label %11
11: ; preds = %161, %1
%12 = load i32, ptr %3, align 4
%13 = load i32, ptr %4, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %15, label %164
15: ; preds = %11
%16 = load ptr, ptr %2, align 8
%17 = load i32, ptr %3, 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, 39
br i1 %22, label %23, label %48
23: ; preds = %15
%24 = load ptr, ptr %2, align 8
%25 = load i32, ptr %3, align 4
%26 = sub nsw i32 %25, 1
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %24, i64 %27
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp ne i32 %30, 92
br i1 %31, label %32, label %48
32: ; preds = %23
%33 = load ptr, ptr %6, align 8
%34 = load i32, ptr %5, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %5, align 4
%36 = sext i32 %34 to i64
%37 = getelementptr inbounds i8, ptr %33, i64 %36
store i8 92, ptr %37, align 1
%38 = load ptr, ptr %2, align 8
%39 = load i32, ptr %3, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i8, ptr %38, i64 %40
%42 = load i8, ptr %41, align 1
%43 = load ptr, ptr %6, align 8
%44 = load i32, ptr %5, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %5, align 4
%46 = sext i32 %44 to i64
%47 = getelementptr inbounds i8, ptr %43, i64 %46
store i8 %42, ptr %47, align 1
br label %161
48: ; preds = %23, %15
%49 = load ptr, ptr %2, align 8
%50 = load i32, ptr %3, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i8, ptr %49, i64 %51
%53 = load i8, ptr %52, align 1
%54 = sext i8 %53 to i32
%55 = icmp eq i32 %54, 96
br i1 %55, label %56, label %81
56: ; preds = %48
%57 = load ptr, ptr %2, align 8
%58 = load i32, ptr %3, align 4
%59 = sub nsw i32 %58, 1
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds i8, ptr %57, i64 %60
%62 = load i8, ptr %61, align 1
%63 = sext i8 %62 to i32
%64 = icmp ne i32 %63, 92
br i1 %64, label %65, label %81
65: ; preds = %56
%66 = load ptr, ptr %6, align 8
%67 = load i32, ptr %5, align 4
%68 = add nsw i32 %67, 1
store i32 %68, ptr %5, align 4
%69 = sext i32 %67 to i64
%70 = getelementptr inbounds i8, ptr %66, i64 %69
store i8 92, ptr %70, align 1
%71 = load ptr, ptr %2, align 8
%72 = load i32, ptr %3, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds i8, ptr %71, i64 %73
%75 = load i8, ptr %74, align 1
%76 = load ptr, ptr %6, align 8
%77 = load i32, ptr %5, align 4
%78 = add nsw i32 %77, 1
store i32 %78, ptr %5, align 4
%79 = sext i32 %77 to i64
%80 = getelementptr inbounds i8, ptr %76, i64 %79
store i8 %75, ptr %80, align 1
br label %160
81: ; preds = %56, %48
%82 = load ptr, ptr %2, align 8
%83 = load i32, ptr %3, align 4
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds i8, ptr %82, i64 %84
%86 = load i8, ptr %85, align 1
%87 = sext i8 %86 to i32
%88 = icmp eq i32 %87, 92
br i1 %88, label %89, label %114
89: ; preds = %81
%90 = load ptr, ptr %2, align 8
%91 = load i32, ptr %3, align 4
%92 = sub nsw i32 %91, 1
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds i8, ptr %90, i64 %93
%95 = load i8, ptr %94, align 1
%96 = sext i8 %95 to i32
%97 = icmp ne i32 %96, 92
br i1 %97, label %98, label %114
98: ; preds = %89
%99 = load ptr, ptr %6, align 8
%100 = load i32, ptr %5, align 4
%101 = add nsw i32 %100, 1
store i32 %101, ptr %5, align 4
%102 = sext i32 %100 to i64
%103 = getelementptr inbounds i8, ptr %99, i64 %102
store i8 92, ptr %103, align 1
%104 = load ptr, ptr %2, align 8
%105 = load i32, ptr %3, align 4
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds i8, ptr %104, i64 %106
%108 = load i8, ptr %107, align 1
%109 = load ptr, ptr %6, align 8
%110 = load i32, ptr %5, align 4
%111 = add nsw i32 %110, 1
store i32 %111, ptr %5, align 4
%112 = sext i32 %110 to i64
%113 = getelementptr inbounds i8, ptr %109, i64 %112
store i8 %108, ptr %113, align 1
br label %159
114: ; preds = %89, %81
%115 = load ptr, ptr %2, align 8
%116 = load i32, ptr %3, align 4
%117 = sext i32 %116 to i64
%118 = getelementptr inbounds i8, ptr %115, i64 %117
%119 = load i8, ptr %118, align 1
%120 = sext i8 %119 to i32
%121 = icmp eq i32 %120, 34
br i1 %121, label %122, label %147
122: ; preds = %114
%123 = load ptr, ptr %2, align 8
%124 = load i32, ptr %3, align 4
%125 = sub nsw i32 %124, 1
%126 = sext i32 %125 to i64
%127 = getelementptr inbounds i8, ptr %123, i64 %126
%128 = load i8, ptr %127, align 1
%129 = sext i8 %128 to i32
%130 = icmp ne i32 %129, 92
br i1 %130, label %131, label %147
131: ; preds = %122
%132 = load ptr, ptr %6, align 8
%133 = load i32, ptr %5, align 4
%134 = add nsw i32 %133, 1
store i32 %134, ptr %5, align 4
%135 = sext i32 %133 to i64
%136 = getelementptr inbounds i8, ptr %132, i64 %135
store i8 92, ptr %136, align 1
%137 = load ptr, ptr %2, align 8
%138 = load i32, ptr %3, align 4
%139 = sext i32 %138 to i64
%140 = getelementptr inbounds i8, ptr %137, i64 %139
%141 = load i8, ptr %140, align 1
%142 = load ptr, ptr %6, align 8
%143 = load i32, ptr %5, align 4
%144 = add nsw i32 %143, 1
store i32 %144, ptr %5, align 4
%145 = sext i32 %143 to i64
%146 = getelementptr inbounds i8, ptr %142, i64 %145
store i8 %141, ptr %146, align 1
br label %158
147: ; preds = %122, %114
%148 = load ptr, ptr %2, align 8
%149 = load i32, ptr %3, align 4
%150 = sext i32 %149 to i64
%151 = getelementptr inbounds i8, ptr %148, i64 %150
%152 = load i8, ptr %151, align 1
%153 = load ptr, ptr %6, align 8
%154 = load i32, ptr %5, align 4
%155 = add nsw i32 %154, 1
store i32 %155, ptr %5, align 4
%156 = sext i32 %154 to i64
%157 = getelementptr inbounds i8, ptr %153, i64 %156
store i8 %152, ptr %157, align 1
br label %158
158: ; preds = %147, %131
br label %159
159: ; preds = %158, %98
br label %160
160: ; preds = %159, %65
br label %161
161: ; preds = %160, %32
%162 = load i32, ptr %3, align 4
%163 = add nsw i32 %162, 1
store i32 %163, ptr %3, align 4
br label %11, !llvm.loop !6
164: ; preds = %11
%165 = load ptr, ptr %6, align 8
ret ptr %165
}
declare i32 @libc_strlen(ptr noundef) #1
declare ptr @libc_malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpal62c4_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 ptr @libc_addslashes(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%7 = load ptr, ptr %2, align 8
%8 = call i32 @libc_strlen(ptr noundef %7)
store i32 %8, ptr %4, align 4
store i32 0, ptr %5, align 4
%9 = load i32, ptr %4, align 4
%10 = call ptr @libc_malloc(i32 noundef %9)
store ptr %10, ptr %6, align 8
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr %4, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %.lr.ph, label %166
.lr.ph: ; preds = %1
br label %14
14: ; preds = %.lr.ph, %160
%15 = load ptr, ptr %2, align 8
%16 = load i32, ptr %3, 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, 39
br i1 %21, label %22, label %47
22: ; preds = %14
%23 = load ptr, ptr %2, align 8
%24 = load i32, ptr %3, align 4
%25 = sub nsw i32 %24, 1
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %23, i64 %26
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = icmp ne i32 %29, 92
br i1 %30, label %31, label %47
31: ; preds = %22
%32 = load ptr, ptr %6, align 8
%33 = load i32, ptr %5, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %5, align 4
%35 = sext i32 %33 to i64
%36 = getelementptr inbounds i8, ptr %32, i64 %35
store i8 92, ptr %36, align 1
%37 = load ptr, ptr %2, align 8
%38 = load i32, ptr %3, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i8, ptr %37, i64 %39
%41 = load i8, ptr %40, align 1
%42 = load ptr, ptr %6, align 8
%43 = load i32, ptr %5, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %5, align 4
%45 = sext i32 %43 to i64
%46 = getelementptr inbounds i8, ptr %42, i64 %45
store i8 %41, ptr %46, align 1
br label %160
47: ; preds = %22, %14
%48 = load ptr, ptr %2, align 8
%49 = load i32, ptr %3, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i8, ptr %48, i64 %50
%52 = load i8, ptr %51, align 1
%53 = sext i8 %52 to i32
%54 = icmp eq i32 %53, 96
br i1 %54, label %55, label %80
55: ; preds = %47
%56 = load ptr, ptr %2, align 8
%57 = load i32, ptr %3, align 4
%58 = sub nsw i32 %57, 1
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i8, ptr %56, i64 %59
%61 = load i8, ptr %60, align 1
%62 = sext i8 %61 to i32
%63 = icmp ne i32 %62, 92
br i1 %63, label %64, label %80
64: ; preds = %55
%65 = load ptr, ptr %6, align 8
%66 = load i32, ptr %5, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %5, align 4
%68 = sext i32 %66 to i64
%69 = getelementptr inbounds i8, ptr %65, i64 %68
store i8 92, ptr %69, align 1
%70 = load ptr, ptr %2, align 8
%71 = load i32, ptr %3, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds i8, ptr %70, i64 %72
%74 = load i8, ptr %73, align 1
%75 = load ptr, ptr %6, align 8
%76 = load i32, ptr %5, align 4
%77 = add nsw i32 %76, 1
store i32 %77, ptr %5, align 4
%78 = sext i32 %76 to i64
%79 = getelementptr inbounds i8, ptr %75, i64 %78
store i8 %74, ptr %79, align 1
br label %159
80: ; preds = %55, %47
%81 = load ptr, ptr %2, align 8
%82 = load i32, ptr %3, align 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds i8, ptr %81, i64 %83
%85 = load i8, ptr %84, align 1
%86 = sext i8 %85 to i32
%87 = icmp eq i32 %86, 92
br i1 %87, label %88, label %113
88: ; preds = %80
%89 = load ptr, ptr %2, align 8
%90 = load i32, ptr %3, align 4
%91 = sub nsw i32 %90, 1
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds i8, ptr %89, i64 %92
%94 = load i8, ptr %93, align 1
%95 = sext i8 %94 to i32
%96 = icmp ne i32 %95, 92
br i1 %96, label %97, label %113
97: ; preds = %88
%98 = load ptr, ptr %6, align 8
%99 = load i32, ptr %5, align 4
%100 = add nsw i32 %99, 1
store i32 %100, ptr %5, align 4
%101 = sext i32 %99 to i64
%102 = getelementptr inbounds i8, ptr %98, i64 %101
store i8 92, ptr %102, align 1
%103 = load ptr, ptr %2, align 8
%104 = load i32, ptr %3, align 4
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds i8, ptr %103, i64 %105
%107 = load i8, ptr %106, align 1
%108 = load ptr, ptr %6, align 8
%109 = load i32, ptr %5, align 4
%110 = add nsw i32 %109, 1
store i32 %110, ptr %5, align 4
%111 = sext i32 %109 to i64
%112 = getelementptr inbounds i8, ptr %108, i64 %111
store i8 %107, ptr %112, align 1
br label %158
113: ; preds = %88, %80
%114 = load ptr, ptr %2, align 8
%115 = load i32, ptr %3, align 4
%116 = sext i32 %115 to i64
%117 = getelementptr inbounds i8, ptr %114, i64 %116
%118 = load i8, ptr %117, align 1
%119 = sext i8 %118 to i32
%120 = icmp eq i32 %119, 34
br i1 %120, label %121, label %146
121: ; preds = %113
%122 = load ptr, ptr %2, align 8
%123 = load i32, ptr %3, align 4
%124 = sub nsw i32 %123, 1
%125 = sext i32 %124 to i64
%126 = getelementptr inbounds i8, ptr %122, i64 %125
%127 = load i8, ptr %126, align 1
%128 = sext i8 %127 to i32
%129 = icmp ne i32 %128, 92
br i1 %129, label %130, label %146
130: ; preds = %121
%131 = load ptr, ptr %6, align 8
%132 = load i32, ptr %5, align 4
%133 = add nsw i32 %132, 1
store i32 %133, ptr %5, align 4
%134 = sext i32 %132 to i64
%135 = getelementptr inbounds i8, ptr %131, i64 %134
store i8 92, ptr %135, align 1
%136 = load ptr, ptr %2, align 8
%137 = load i32, ptr %3, align 4
%138 = sext i32 %137 to i64
%139 = getelementptr inbounds i8, ptr %136, i64 %138
%140 = load i8, ptr %139, align 1
%141 = load ptr, ptr %6, align 8
%142 = load i32, ptr %5, align 4
%143 = add nsw i32 %142, 1
store i32 %143, ptr %5, align 4
%144 = sext i32 %142 to i64
%145 = getelementptr inbounds i8, ptr %141, i64 %144
store i8 %140, ptr %145, align 1
br label %157
146: ; preds = %121, %113
%147 = load ptr, ptr %2, align 8
%148 = load i32, ptr %3, align 4
%149 = sext i32 %148 to i64
%150 = getelementptr inbounds i8, ptr %147, i64 %149
%151 = load i8, ptr %150, align 1
%152 = load ptr, ptr %6, align 8
%153 = load i32, ptr %5, align 4
%154 = add nsw i32 %153, 1
store i32 %154, ptr %5, align 4
%155 = sext i32 %153 to i64
%156 = getelementptr inbounds i8, ptr %152, i64 %155
store i8 %151, ptr %156, align 1
br label %157
157: ; preds = %146, %130
br label %158
158: ; preds = %157, %97
br label %159
159: ; preds = %158, %64
br label %160
160: ; preds = %159, %31
%161 = load i32, ptr %3, align 4
%162 = add nsw i32 %161, 1
store i32 %162, ptr %3, align 4
%163 = load i32, ptr %3, align 4
%164 = load i32, ptr %4, align 4
%165 = icmp slt i32 %163, %164
br i1 %165, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %160
br label %166
166: ; preds = %._crit_edge, %1
%167 = load ptr, ptr %6, align 8
ret ptr %167
}
declare i32 @libc_strlen(ptr noundef) #1
declare ptr @libc_malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp30fly8ni.c'
source_filename = "/tmp/tmp30fly8ni.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"hello world!\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @dltest(ptr noundef @.str)
%7 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %7
}
declare i32 @dltest(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp30fly8ni.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"hello world!\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @dltest(ptr noundef @.str)
%7 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %7
}
declare i32 @dltest(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpe0f0ba06.c'
source_filename = "/tmp/tmpe0f0ba06.c"
target datalayout = "e-m:e-p270: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.sembuf = type { i32, i32, i32 }
@SEM_UNDO = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"semaphore V operation\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @V(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca %struct.sembuf, align 4
store i32 %0, ptr %3, align 4
%5 = getelementptr inbounds %struct.sembuf, ptr %4, i32 0, i32 0
store i32 1, ptr %5, align 4
%6 = getelementptr inbounds %struct.sembuf, ptr %4, i32 0, i32 1
%7 = load i32, ptr @SEM_UNDO, align 4
store i32 %7, ptr %6, align 4
%8 = getelementptr inbounds %struct.sembuf, ptr %4, i32 0, i32 2
store i32 0, ptr %8, align 4
%9 = load i32, ptr %3, align 4
%10 = call i32 @semop(i32 noundef %9, ptr noundef %4, i32 noundef 1)
%11 = icmp eq i32 %10, -1
br i1 %11, label %12, label %14
12: ; preds = %1
%13 = call i32 @perror(ptr noundef @.str)
store i32 -1, ptr %2, align 4
br label %15
14: ; preds = %1
store i32 0, ptr %2, align 4
br label %15
15: ; preds = %14, %12
%16 = load i32, ptr %2, align 4
ret i32 %16
}
declare i32 @semop(i32 noundef, ptr 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe0f0ba06.c"
target datalayout = "e-m:e-p270: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.sembuf = type { i32, i32, i32 }
@SEM_UNDO = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"semaphore V operation\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @V(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca %struct.sembuf, align 4
store i32 %0, ptr %3, align 4
%5 = getelementptr inbounds %struct.sembuf, ptr %4, i32 0, i32 0
store i32 1, ptr %5, align 4
%6 = getelementptr inbounds %struct.sembuf, ptr %4, i32 0, i32 1
%7 = load i32, ptr @SEM_UNDO, align 4
store i32 %7, ptr %6, align 4
%8 = getelementptr inbounds %struct.sembuf, ptr %4, i32 0, i32 2
store i32 0, ptr %8, align 4
%9 = load i32, ptr %3, align 4
%10 = call i32 @semop(i32 noundef %9, ptr noundef %4, i32 noundef 1)
%11 = icmp eq i32 %10, -1
br i1 %11, label %12, label %14
12: ; preds = %1
%13 = call i32 @perror(ptr noundef @.str)
store i32 -1, ptr %2, align 4
br label %15
14: ; preds = %1
store i32 0, ptr %2, align 4
br label %15
15: ; preds = %14, %12
%16 = load i32, ptr %2, align 4
ret i32 %16
}
declare i32 @semop(i32 noundef, ptr 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"}
|
; ModuleID = '/tmp/tmpyb533ep0.c'
source_filename = "/tmp/tmpyb533ep0.c"
target datalayout = "e-m:e-p270: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.up_and_down.fmt = private unnamed_addr constant [30 x i8] c"Level %d:, n location %p\0A\00\00\00\00\00", align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @up_and_down(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca [30 x i8], align 16
store i32 %0, ptr %2, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.up_and_down.fmt, i64 30, i1 false)
%4 = getelementptr inbounds [30 x i8], ptr %3, i64 0, i64 0
%5 = load i32, ptr %2, align 4
%6 = call i32 @printf(ptr noundef %4, i32 noundef %5, ptr noundef %2)
%7 = load i32, ptr %2, align 4
%8 = icmp slt i32 %7, 4
br i1 %8, label %9, label %12
9: ; preds = %1
%10 = load i32, ptr %2, align 4
%11 = add nsw i32 %10, 1
call void @up_and_down(i32 noundef %11)
br label %12
12: ; preds = %9, %1
%13 = getelementptr inbounds [30 x i8], ptr %3, i64 0, i64 0
%14 = load i32, ptr %2, align 4
%15 = call i32 @printf(ptr noundef %13, i32 noundef %14, ptr noundef %2)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, i32 noundef, 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/tmpyb533ep0.c"
target datalayout = "e-m:e-p270: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.up_and_down.fmt = private unnamed_addr constant [30 x i8] c"Level %d:, n location %p\0A\00\00\00\00\00", align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @up_and_down(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca [30 x i8], align 16
store i32 %0, ptr %2, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.up_and_down.fmt, i64 30, i1 false)
%4 = getelementptr inbounds [30 x i8], ptr %3, i64 0, i64 0
%5 = load i32, ptr %2, align 4
%6 = call i32 @printf(ptr noundef %4, i32 noundef %5, ptr noundef %2)
%7 = load i32, ptr %2, align 4
%8 = icmp slt i32 %7, 4
br i1 %8, label %9, label %12
9: ; preds = %1
%10 = load i32, ptr %2, align 4
%11 = add nsw i32 %10, 1
call void @up_and_down(i32 noundef %11)
br label %12
12: ; preds = %9, %1
%13 = getelementptr inbounds [30 x i8], ptr %3, i64 0, i64 0
%14 = load i32, ptr %2, align 4
%15 = call i32 @printf(ptr noundef %13, i32 noundef %14, ptr noundef %2)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, i32 noundef, 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/tmphl5vzg7l.c'
source_filename = "/tmp/tmphl5vzg7l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"split: \00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"\0A \00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sortSubArray(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
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%9 = load i32, ptr %6, align 4
%10 = load i32, ptr %5, align 4
%11 = sub nsw i32 %9, %10
%12 = icmp sge i32 %11, 1
br i1 %12, label %13, label %48
13: ; preds = %3
%14 = load i32, ptr %5, align 4
%15 = load i32, ptr %6, align 4
%16 = add nsw i32 %14, %15
%17 = sdiv i32 %16, 2
store i32 %17, ptr %7, align 4
%18 = load i32, ptr %7, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %8, align 4
%20 = call i32 @printf(ptr noundef @.str)
%21 = load ptr, ptr %4, align 8
%22 = load i32, ptr %5, align 4
%23 = load i32, ptr %6, align 4
%24 = call i32 @displaySubArray(ptr noundef %21, i32 noundef %22, i32 noundef %23)
%25 = call i32 @printf(ptr noundef @.str.1)
%26 = load ptr, ptr %4, align 8
%27 = load i32, ptr %5, align 4
%28 = load i32, ptr %7, align 4
%29 = call i32 @displaySubArray(ptr noundef %26, i32 noundef %27, i32 noundef %28)
%30 = call i32 @printf(ptr noundef @.str.1)
%31 = load ptr, ptr %4, align 8
%32 = load i32, ptr %8, align 4
%33 = load i32, ptr %6, align 4
%34 = call i32 @displaySubArray(ptr noundef %31, i32 noundef %32, i32 noundef %33)
%35 = call i32 @printf(ptr noundef @.str.2)
%36 = load ptr, ptr %4, align 8
%37 = load i32, ptr %5, align 4
%38 = load i32, ptr %7, align 4
call void @sortSubArray(ptr noundef %36, i32 noundef %37, i32 noundef %38)
%39 = load ptr, ptr %4, align 8
%40 = load i32, ptr %8, align 4
%41 = load i32, ptr %6, align 4
call void @sortSubArray(ptr noundef %39, i32 noundef %40, i32 noundef %41)
%42 = load ptr, ptr %4, align 8
%43 = load i32, ptr %5, align 4
%44 = load i32, ptr %7, align 4
%45 = load i32, ptr %8, align 4
%46 = load i32, ptr %6, align 4
%47 = call i32 @merge(ptr noundef %42, i32 noundef %43, i32 noundef %44, i32 noundef %45, i32 noundef %46)
br label %48
48: ; preds = %13, %3
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @displaySubArray(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @merge(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphl5vzg7l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"split: \00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"\0A \00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sortSubArray(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
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%9 = load i32, ptr %6, align 4
%10 = load i32, ptr %5, align 4
%11 = sub nsw i32 %9, %10
%12 = icmp sge i32 %11, 1
br i1 %12, label %13, label %48
13: ; preds = %3
%14 = load i32, ptr %5, align 4
%15 = load i32, ptr %6, align 4
%16 = add nsw i32 %14, %15
%17 = sdiv i32 %16, 2
store i32 %17, ptr %7, align 4
%18 = load i32, ptr %7, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %8, align 4
%20 = call i32 @printf(ptr noundef @.str)
%21 = load ptr, ptr %4, align 8
%22 = load i32, ptr %5, align 4
%23 = load i32, ptr %6, align 4
%24 = call i32 @displaySubArray(ptr noundef %21, i32 noundef %22, i32 noundef %23)
%25 = call i32 @printf(ptr noundef @.str.1)
%26 = load ptr, ptr %4, align 8
%27 = load i32, ptr %5, align 4
%28 = load i32, ptr %7, align 4
%29 = call i32 @displaySubArray(ptr noundef %26, i32 noundef %27, i32 noundef %28)
%30 = call i32 @printf(ptr noundef @.str.1)
%31 = load ptr, ptr %4, align 8
%32 = load i32, ptr %8, align 4
%33 = load i32, ptr %6, align 4
%34 = call i32 @displaySubArray(ptr noundef %31, i32 noundef %32, i32 noundef %33)
%35 = call i32 @printf(ptr noundef @.str.2)
%36 = load ptr, ptr %4, align 8
%37 = load i32, ptr %5, align 4
%38 = load i32, ptr %7, align 4
call void @sortSubArray(ptr noundef %36, i32 noundef %37, i32 noundef %38)
%39 = load ptr, ptr %4, align 8
%40 = load i32, ptr %8, align 4
%41 = load i32, ptr %6, align 4
call void @sortSubArray(ptr noundef %39, i32 noundef %40, i32 noundef %41)
%42 = load ptr, ptr %4, align 8
%43 = load i32, ptr %5, align 4
%44 = load i32, ptr %7, align 4
%45 = load i32, ptr %8, align 4
%46 = load i32, ptr %6, align 4
%47 = call i32 @merge(ptr noundef %42, i32 noundef %43, i32 noundef %44, i32 noundef %45, i32 noundef %46)
br label %48
48: ; preds = %13, %3
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @displaySubArray(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @merge(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmps2np9pvj.c'
source_filename = "/tmp/tmps2np9pvj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gg_drand() #0 {
%1 = call double (...) @next_rand()
%2 = fmul double %1, 0x3DEFFFFFFFFFFFFF
ret double %2
}
declare double @next_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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmps2np9pvj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gg_drand() #0 {
%1 = call double (...) @next_rand()
%2 = fmul double %1, 0x3DEFFFFFFFFFFFFF
ret double %2
}
declare double @next_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"}
|
; ModuleID = '/tmp/tmpqsc0q5um.c'
source_filename = "/tmp/tmpqsc0q5um.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_2__ = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XWindowAttributes_override_redirect(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0
store i32 %5, ptr %7, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqsc0q5um.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_2__ = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XWindowAttributes_override_redirect(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0
store i32 %5, ptr %7, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3kyjhv3t.c'
source_filename = "/tmp/tmp3kyjhv3t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 {
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/tmp3kyjhv3t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 {
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/tmp1jb0kixe.c'
source_filename = "/tmp/tmp1jb0kixe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@expansion_permutation.e_template = internal constant [48 x i8] c" \01\02\03\04\05\04\05\06\07\08\09\08\09\0A\0B\0C\0D\0C\0D\0E\0F\10\11\10\11\12\13\14\15\14\15\16\17\18\19\18\19\1A\1B\1C\1D\1C\1D\1E\1F \01", align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @expansion_permutation(i8 noundef zeroext %0) #0 {
%2 = alloca i8, align 1
%3 = alloca i8, align 1
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i8 %0, ptr %2, align 1
store i8 0, ptr %3, align 1
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 = %31, %1
%8 = load i32, ptr %6, align 4
%9 = icmp slt i32 %8, 48
br i1 %9, label %10, label %34
10: ; preds = %7
%11 = load i8, ptr %2, align 1
%12 = zext i8 %11 to i32
%13 = load i32, ptr %6, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds [48 x i8], ptr @expansion_permutation.e_template, i64 0, i64 %14
%16 = load i8, ptr %15, align 1
%17 = zext i8 %16 to i32
%18 = sub nsw i32 %17, 1
%19 = ashr i32 0, %18
%20 = and i32 %12, %19
%21 = icmp ne i32 %20, 0
br i1 %21, label %22, label %28
22: ; preds = %10
%23 = load i32, ptr %4, align 4
%24 = load i32, ptr %6, align 4
%25 = ashr i32 %23, %24
%26 = load i32, ptr %5, align 4
%27 = or i32 %26, %25
store i32 %27, ptr %5, align 4
br label %29
28: ; preds = %10
br label %29
29: ; preds = %28, %22
%30 = phi i32 [ %27, %22 ], [ 0, %28 ]
br label %31
31: ; preds = %29
%32 = load i32, ptr %6, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %6, align 4
br label %7, !llvm.loop !6
34: ; preds = %7
%35 = load i32, ptr %5, align 4
ret i32 %35
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp1jb0kixe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@expansion_permutation.e_template = internal constant [48 x i8] c" \01\02\03\04\05\04\05\06\07\08\09\08\09\0A\0B\0C\0D\0C\0D\0E\0F\10\11\10\11\12\13\14\15\14\15\16\17\18\19\18\19\1A\1B\1C\1D\1C\1D\1E\1F \01", align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @expansion_permutation(i8 noundef zeroext %0) #0 {
%2 = alloca i8, align 1
%3 = alloca i8, align 1
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i8 %0, ptr %2, align 1
store i8 0, ptr %3, align 1
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
%7 = load i32, ptr %6, align 4
%8 = icmp slt i32 %7, 48
br i1 %8, label %.lr.ph, label %35
.lr.ph: ; preds = %1
br label %9
9: ; preds = %.lr.ph, %30
%10 = load i8, ptr %2, align 1
%11 = zext i8 %10 to i32
%12 = load i32, ptr %6, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds [48 x i8], ptr @expansion_permutation.e_template, i64 0, i64 %13
%15 = load i8, ptr %14, align 1
%16 = zext i8 %15 to i32
%17 = sub nsw i32 %16, 1
%18 = ashr i32 0, %17
%19 = and i32 %11, %18
%20 = icmp ne i32 %19, 0
br i1 %20, label %21, label %27
21: ; preds = %9
%22 = load i32, ptr %4, align 4
%23 = load i32, ptr %6, align 4
%24 = ashr i32 %22, %23
%25 = load i32, ptr %5, align 4
%26 = or i32 %25, %24
store i32 %26, ptr %5, align 4
br label %28
27: ; preds = %9
br label %28
28: ; preds = %27, %21
%29 = phi i32 [ %26, %21 ], [ 0, %27 ]
br label %30
30: ; preds = %28
%31 = load i32, ptr %6, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %6, align 4
%33 = load i32, ptr %6, align 4
%34 = icmp slt i32 %33, 48
br i1 %34, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %30
br label %35
35: ; preds = %._crit_edge, %1
%36 = load i32, ptr %5, align 4
ret i32 %36
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp5xfl53aj.c'
source_filename = "/tmp/tmp5xfl53aj.c"
target datalayout = "e-m:e-p270: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.tms = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @timer() #0 {
%1 = alloca %struct.tms, align 8
%2 = call i32 @times(ptr noundef %1)
%3 = getelementptr inbounds %struct.tms, ptr %1, i32 0, i32 0
%4 = load i64, ptr %3, align 8
%5 = sitofp i64 %4 to float
%6 = fpext float %5 to double
%7 = fdiv double %6, 6.000000e+01
%8 = fptoui double %7 to i64
ret i64 %8
}
declare i32 @times(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5xfl53aj.c"
target datalayout = "e-m:e-p270: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.tms = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @timer() #0 {
%1 = alloca %struct.tms, align 8
%2 = call i32 @times(ptr noundef %1)
%3 = getelementptr inbounds %struct.tms, ptr %1, i32 0, i32 0
%4 = load i64, ptr %3, align 8
%5 = sitofp i64 %4 to float
%6 = fpext float %5 to double
%7 = fdiv double %6, 6.000000e+01
%8 = fptoui double %7 to i64
ret i64 %8
}
declare i32 @times(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdw1sggjx.c'
source_filename = "/tmp/tmpdw1sggjx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"program runs normally\0A\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"i = %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"end with %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
store i32 0, ptr %1, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
br label %5
5: ; preds = %19, %0
%6 = load i32, ptr %2, align 4
%7 = icmp slt i32 %6, 10000000
br i1 %7, label %8, label %20
8: ; preds = %5
%9 = load i32, ptr %2, align 4
%10 = add nsw i32 %9, 1
store i32 %10, ptr %2, align 4
%11 = load i32, ptr %3, align 4
%12 = add nsw i32 %11, %9
store i32 %12, ptr %3, align 4
%13 = load i32, ptr %2, align 4
%14 = srem i32 %13, 100000
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %19
16: ; preds = %8
%17 = load i32, ptr %2, align 4
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %17)
br label %19
19: ; preds = %16, %8
br label %5, !llvm.loop !6
20: ; preds = %5
%21 = load i32, ptr %3, align 4
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %21)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdw1sggjx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"program runs normally\0A\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"i = %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"end with %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
store i32 0, ptr %1, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp slt i32 %5, 10000000
br i1 %6, label %.lr.ph, label %21
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %18
%8 = load i32, ptr %2, align 4
%9 = add nsw i32 %8, 1
store i32 %9, ptr %2, align 4
%10 = load i32, ptr %3, align 4
%11 = add nsw i32 %10, %8
store i32 %11, ptr %3, align 4
%12 = load i32, ptr %2, align 4
%13 = srem i32 %12, 100000
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %18
15: ; preds = %7
%16 = load i32, ptr %2, align 4
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %16)
br label %18
18: ; preds = %15, %7
%19 = load i32, ptr %2, align 4
%20 = icmp slt i32 %19, 10000000
br i1 %20, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %21
21: ; preds = %._crit_edge, %0
%22 = load i32, ptr %3, align 4
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %22)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpwxx_e5bi.c'
source_filename = "/tmp/tmpwxx_e5bi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @jerasure_release_context(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/tmpwxx_e5bi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @jerasure_release_context(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/tmpwaay7e0a.c'
source_filename = "/tmp/tmpwaay7e0a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @solve_by_dobldobl_Laurent_homotopy_continuation(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %5, align 8
%8 = call i32 @_ada_use_c2phc4c(i32 noundef 775, ptr noundef %2, ptr noundef %6, ptr noundef %7, i32 noundef 0)
store i32 %8, ptr %4, align 4
%9 = load i32, ptr %4, align 4
ret i32 %9
}
declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwaay7e0a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @solve_by_dobldobl_Laurent_homotopy_continuation(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %5, align 8
%8 = call i32 @_ada_use_c2phc4c(i32 noundef 775, ptr noundef %2, ptr noundef %6, ptr noundef %7, i32 noundef 0)
store i32 %8, ptr %4, align 4
%9 = load i32, ptr %4, align 4
ret i32 %9
}
declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpuzxyiyfs.c'
source_filename = "/tmp/tmpuzxyiyfs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strelen(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %4, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %15
8: ; preds = %2
%9 = load ptr, ptr %5, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %15
11: ; preds = %8
%12 = load ptr, ptr %4, align 8
%13 = load ptr, ptr %5, align 8
%14 = icmp uge ptr %12, %13
br i1 %14, label %15, label %16
15: ; preds = %11, %8, %2
store i64 0, ptr %3, align 8
br label %22
16: ; preds = %11
%17 = load ptr, ptr %5, align 8
%18 = load ptr, ptr %4, align 8
%19 = ptrtoint ptr %17 to i64
%20 = ptrtoint ptr %18 to i64
%21 = sub i64 %19, %20
store i64 %21, ptr %3, align 8
br label %22
22: ; preds = %16, %15
%23 = load i64, ptr %3, align 8
ret i64 %23
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuzxyiyfs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strelen(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %4, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %15
8: ; preds = %2
%9 = load ptr, ptr %5, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %15
11: ; preds = %8
%12 = load ptr, ptr %4, align 8
%13 = load ptr, ptr %5, align 8
%14 = icmp uge ptr %12, %13
br i1 %14, label %15, label %16
15: ; preds = %11, %8, %2
store i64 0, ptr %3, align 8
br label %22
16: ; preds = %11
%17 = load ptr, ptr %5, align 8
%18 = load ptr, ptr %4, align 8
%19 = ptrtoint ptr %17 to i64
%20 = ptrtoint ptr %18 to i64
%21 = sub i64 %19, %20
store i64 %21, ptr %3, align 8
br label %22
22: ; preds = %16, %15
%23 = load i64, ptr %3, align 8
ret i64 %23
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppcd1wk9l.c'
source_filename = "/tmp/tmppcd1wk9l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @retrieve_continuation_parameters(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %2, align 8
%9 = call i32 @_ada_use_c2phc4c(i32 noundef 72, ptr noundef %6, ptr noundef %7, ptr noundef %8, i32 noundef 0)
store i32 %9, ptr %5, align 4
%10 = load i32, ptr %5, align 4
ret i32 %10
}
declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppcd1wk9l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @retrieve_continuation_parameters(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %2, align 8
%9 = call i32 @_ada_use_c2phc4c(i32 noundef 72, ptr noundef %6, ptr noundef %7, ptr noundef %8, i32 noundef 0)
store i32 %9, ptr %5, align 4
%10 = load i32, ptr %5, align 4
ret i32 %10
}
declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppd296oog.c'
source_filename = "/tmp/tmppd296oog.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i8 @data_crc8(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i8, align 1
%4 = alloca i8, align 1
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store i8 0, ptr %4, align 1
%6 = load ptr, ptr %2, align 8
store ptr %6, ptr %5, align 8
store i8 0, ptr %3, align 1
br label %7
7: ; preds = %24, %1
%8 = load i8, ptr %3, align 1
%9 = zext i8 %8 to i32
%10 = load ptr, ptr %5, align 8
%11 = load i8, ptr %10, align 1
%12 = zext i8 %11 to i32
%13 = icmp slt i32 %9, %12
br i1 %13, label %14, label %27
14: ; preds = %7
%15 = load i8, ptr %4, align 1
%16 = load ptr, ptr %2, align 8
%17 = load i8, ptr %3, align 1
%18 = zext i8 %17 to i32
%19 = add nsw i32 %18, 1
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i8, ptr %16, i64 %20
%22 = load i8, ptr %21, align 1
%23 = call zeroext i8 @crc8(i8 noundef zeroext %15, i8 noundef zeroext %22)
store i8 %23, ptr %4, align 1
br label %24
24: ; preds = %14
%25 = load i8, ptr %3, align 1
%26 = add i8 %25, 1
store i8 %26, ptr %3, align 1
br label %7, !llvm.loop !6
27: ; preds = %7
%28 = load i8, ptr %4, align 1
%29 = zext i8 %28 to i32
%30 = xor i32 %29, 255
%31 = trunc i32 %30 to i8
ret i8 %31
}
declare zeroext i8 @crc8(i8 noundef zeroext, i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppd296oog.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i8 @data_crc8(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i8, align 1
%4 = alloca i8, align 1
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store i8 0, ptr %4, align 1
%6 = load ptr, ptr %2, align 8
store ptr %6, ptr %5, align 8
store i8 0, ptr %3, align 1
%7 = load i8, ptr %3, align 1
%8 = zext i8 %7 to i32
%9 = load ptr, ptr %5, align 8
%10 = load i8, ptr %9, align 1
%11 = zext i8 %10 to i32
%12 = icmp slt i32 %8, %11
br i1 %12, label %.lr.ph, label %32
.lr.ph: ; preds = %1
br label %13
13: ; preds = %.lr.ph, %23
%14 = load i8, ptr %4, align 1
%15 = load ptr, ptr %2, align 8
%16 = load i8, ptr %3, align 1
%17 = zext i8 %16 to i32
%18 = add nsw i32 %17, 1
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i8, ptr %15, i64 %19
%21 = load i8, ptr %20, align 1
%22 = call zeroext i8 @crc8(i8 noundef zeroext %14, i8 noundef zeroext %21)
store i8 %22, ptr %4, align 1
br label %23
23: ; preds = %13
%24 = load i8, ptr %3, align 1
%25 = add i8 %24, 1
store i8 %25, ptr %3, align 1
%26 = load i8, ptr %3, align 1
%27 = zext i8 %26 to i32
%28 = load ptr, ptr %5, align 8
%29 = load i8, ptr %28, align 1
%30 = zext i8 %29 to i32
%31 = icmp slt i32 %27, %30
br i1 %31, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %32
32: ; preds = %._crit_edge, %1
%33 = load i8, ptr %4, align 1
%34 = zext i8 %33 to i32
%35 = xor i32 %34, 255
%36 = trunc i32 %35 to i8
ret i8 %36
}
declare zeroext i8 @crc8(i8 noundef zeroext, i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp4aa6097e.c'
source_filename = "/tmp/tmp4aa6097e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = call ptr @gmtime(ptr noundef %1)
store ptr %3, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = icmp ne ptr %4, null
%6 = zext i1 %5 to i32
ret i32 %6
}
declare ptr @gmtime(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4aa6097e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = call ptr @gmtime(ptr noundef %1)
store ptr %3, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = icmp ne ptr %4, null
%6 = zext i1 %5 to i32
ret i32 %6
}
declare ptr @gmtime(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbwr8ydwu.c'
source_filename = "/tmp/tmpbwr8ydwu.c"
target datalayout = "e-m:e-p270: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/tmpbwr8ydwu.c"
target datalayout = "e-m:e-p270: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/tmpaw3rw_i7.c'
source_filename = "/tmp/tmpaw3rw_i7.c"
target datalayout = "e-m:e-p270: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/tmpaw3rw_i7.c"
target datalayout = "e-m:e-p270: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/tmpv0ggztj0.c'
source_filename = "/tmp/tmpv0ggztj0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bzero(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %15, %2
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp ult i32 %7, %8
br i1 %9, label %10, label %18
10: ; preds = %6
%11 = load ptr, ptr %3, align 8
%12 = load i32, ptr %5, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i8, ptr %11, i64 %13
store i8 0, ptr %14, align 1
br label %15
15: ; preds = %10
%16 = load i32, ptr %5, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %5, align 4
br label %6, !llvm.loop !6
18: ; preds = %6
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpv0ggztj0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bzero(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp ult i32 %6, %7
br i1 %8, label %.lr.ph, label %20
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %14
%10 = load ptr, ptr %3, align 8
%11 = load i32, ptr %5, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i8, ptr %10, i64 %12
store i8 0, ptr %13, align 1
br label %14
14: ; preds = %9
%15 = load i32, ptr %5, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %5, align 4
%17 = load i32, ptr %5, align 4
%18 = load i32, ptr %4, align 4
%19 = icmp ult i32 %17, %18
br i1 %19, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %20
20: ; preds = %._crit_edge, %2
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpftrpje_4.c'
source_filename = "/tmp/tmpftrpje_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"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpftrpje_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"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpaosfrfas.c'
source_filename = "/tmp/tmpaosfrfas.c"
target datalayout = "e-m:e-p270: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/tmpaosfrfas.c"
target datalayout = "e-m:e-p270: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/tmppvsfn1cw.c'
source_filename = "/tmp/tmppvsfn1cw.c"
target datalayout = "e-m:e-p270: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/tmppvsfn1cw.c"
target datalayout = "e-m:e-p270: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/tmp1s17ppe8.c'
source_filename = "/tmp/tmp1s17ppe8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 [111 x i8], align 16
%3 = alloca [111 x i8], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = getelementptr inbounds [111 x i8], ptr %3, i64 0, i64 0
%8 = call i32 @memset(ptr noundef %7, i32 noundef 0, i32 noundef 111)
%9 = getelementptr inbounds [111 x i8], ptr %2, i64 0, i64 0
%10 = call i32 @memset(ptr noundef %9, i32 noundef 0, i32 noundef 111)
%11 = getelementptr inbounds [111 x i8], ptr %3, i64 0, i64 0
%12 = call i64 @readlong(ptr noundef %11)
br label %13
13: ; preds = %17, %0
%14 = getelementptr inbounds [111 x i8], ptr %2, i64 0, i64 0
%15 = call i64 @readlong(ptr noundef %14)
%16 = icmp sgt i64 %15, 0
br i1 %16, label %17, label %23
17: ; preds = %13
%18 = getelementptr inbounds [111 x i8], ptr %3, i64 0, i64 0
%19 = getelementptr inbounds [111 x i8], ptr %2, i64 0, i64 0
%20 = call i32 @sum(ptr noundef %18, ptr noundef %19)
%21 = getelementptr inbounds [111 x i8], ptr %2, i64 0, i64 0
%22 = call i32 @memset(ptr noundef %21, i32 noundef 0, i32 noundef 111)
br label %13, !llvm.loop !6
23: ; preds = %13
%24 = getelementptr inbounds [111 x i8], ptr %3, i64 0, i64 0
%25 = call i32 @printlong(ptr noundef %24)
ret i32 0
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @readlong(ptr noundef) #1
declare i32 @sum(ptr noundef, ptr noundef) #1
declare i32 @printlong(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp1s17ppe8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 [111 x i8], align 16
%3 = alloca [111 x i8], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = getelementptr inbounds [111 x i8], ptr %3, i64 0, i64 0
%8 = call i32 @memset(ptr noundef %7, i32 noundef 0, i32 noundef 111)
%9 = getelementptr inbounds [111 x i8], ptr %2, i64 0, i64 0
%10 = call i32 @memset(ptr noundef %9, i32 noundef 0, i32 noundef 111)
%11 = getelementptr inbounds [111 x i8], ptr %3, i64 0, i64 0
%12 = call i64 @readlong(ptr noundef %11)
%13 = getelementptr inbounds [111 x i8], ptr %2, i64 0, i64 0
%14 = call i64 @readlong(ptr noundef %13)
%15 = icmp sgt i64 %14, 0
br i1 %15, label %.lr.ph, label %24
.lr.ph: ; preds = %0
br label %16
16: ; preds = %.lr.ph, %16
%17 = getelementptr inbounds [111 x i8], ptr %3, i64 0, i64 0
%18 = getelementptr inbounds [111 x i8], ptr %2, i64 0, i64 0
%19 = call i32 @sum(ptr noundef %17, ptr noundef %18)
%20 = getelementptr inbounds [111 x i8], ptr %2, i64 0, i64 0
%21 = call i32 @memset(ptr noundef %20, i32 noundef 0, i32 noundef 111)
%22 = call i64 @readlong(ptr noundef %13)
%23 = icmp sgt i64 %22, 0
br i1 %23, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %24
24: ; preds = %._crit_edge, %0
%25 = getelementptr inbounds [111 x i8], ptr %3, i64 0, i64 0
%26 = call i32 @printlong(ptr noundef %25)
ret i32 0
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @readlong(ptr noundef) #1
declare i32 @sum(ptr noundef, ptr noundef) #1
declare i32 @printlong(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpbt9x9p0h.c'
source_filename = "/tmp/tmpbt9x9p0h.c"
target datalayout = "e-m:e-p270: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.destCharArray_a = private unnamed_addr constant [10 x i8] c"lijun\00\00\00\00\00", align 1
@__const.main.srcCharArray_a = private unnamed_addr constant [10 x i8] c"nixiang\00\00\00", align 1
@.str = private unnamed_addr constant [15 x i8] c"Before empty:\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"\0AAfter empty:\0A\00", align 1
@.str.3 = private unnamed_addr constant [54 x i8] c"\0ABefore Copy:destCharArray_a:'%s',srcCharArray_a:'%s'\00", align 1
@.str.4 = private unnamed_addr constant [53 x i8] c"\0AAfter Copy:destCharArray_a:'%s',srcCharArray_a:'%s'\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca [10 x i32], align 16
%2 = alloca [10 x i8], align 1
%3 = alloca [10 x i8], align 1
%4 = alloca i32, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.destCharArray_a, i64 10, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.main.srcCharArray_a, i64 10, i1 false)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %4, align 4
br label %6
6: ; preds = %20, %0
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %7, 10
br i1 %8, label %9, label %23
9: ; preds = %6
%10 = load i32, ptr %4, align 4
%11 = add nsw i32 %10, 1
%12 = load i32, ptr %4, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 %13
store i32 %11, ptr %14, align 4
%15 = load i32, ptr %4, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 %16
%18 = load i32, ptr %17, align 4
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %18)
br label %20
20: ; preds = %9
%21 = load i32, ptr %4, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %4, align 4
br label %6, !llvm.loop !6
23: ; preds = %6
%24 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 0
%25 = call i32 @memset(ptr noundef %24, i32 noundef 0, i32 noundef 36)
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %4, align 4
br label %27
27: ; preds = %36, %23
%28 = load i32, ptr %4, align 4
%29 = icmp slt i32 %28, 10
br i1 %29, label %30, label %39
30: ; preds = %27
%31 = load i32, ptr %4, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 %32
%34 = load i32, ptr %33, align 4
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %34)
br label %36
36: ; preds = %30
%37 = load i32, ptr %4, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %4, align 4
br label %27, !llvm.loop !8
39: ; preds = %27
%40 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0
%41 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %40, ptr noundef %41)
%43 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0
%44 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0
%45 = call i32 @memcpy(ptr noundef %43, ptr noundef %44, i32 noundef 3)
%46 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0
%47 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %46, ptr noundef %47)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ...) #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @memcpy(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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbt9x9p0h.c"
target datalayout = "e-m:e-p270: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.destCharArray_a = private unnamed_addr constant [10 x i8] c"lijun\00\00\00\00\00", align 1
@__const.main.srcCharArray_a = private unnamed_addr constant [10 x i8] c"nixiang\00\00\00", align 1
@.str = private unnamed_addr constant [15 x i8] c"Before empty:\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"\0AAfter empty:\0A\00", align 1
@.str.3 = private unnamed_addr constant [54 x i8] c"\0ABefore Copy:destCharArray_a:'%s',srcCharArray_a:'%s'\00", align 1
@.str.4 = private unnamed_addr constant [53 x i8] c"\0AAfter Copy:destCharArray_a:'%s',srcCharArray_a:'%s'\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca [10 x i32], align 16
%2 = alloca [10 x i8], align 1
%3 = alloca [10 x i8], align 1
%4 = alloca i32, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.destCharArray_a, i64 10, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.main.srcCharArray_a, i64 10, i1 false)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %4, align 4
%6 = load i32, ptr %4, align 4
%7 = icmp slt i32 %6, 10
br i1 %7, label %.lr.ph, label %24
.lr.ph: ; preds = %0
br label %8
8: ; preds = %.lr.ph, %19
%9 = load i32, ptr %4, align 4
%10 = add nsw i32 %9, 1
%11 = load i32, ptr %4, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 %12
store i32 %10, ptr %13, align 4
%14 = load i32, ptr %4, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 %15
%17 = load i32, ptr %16, align 4
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %17)
br label %19
19: ; preds = %8
%20 = load i32, ptr %4, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %4, align 4
%22 = load i32, ptr %4, align 4
%23 = icmp slt i32 %22, 10
br i1 %23, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %24
24: ; preds = %._crit_edge, %0
%25 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 0
%26 = call i32 @memset(ptr noundef %25, i32 noundef 0, i32 noundef 36)
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %4, align 4
%28 = load i32, ptr %4, align 4
%29 = icmp slt i32 %28, 10
br i1 %29, label %.lr.ph2, label %41
.lr.ph2: ; preds = %24
br label %30
30: ; preds = %.lr.ph2, %36
%31 = load i32, ptr %4, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 %32
%34 = load i32, ptr %33, align 4
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %34)
br label %36
36: ; preds = %30
%37 = load i32, ptr %4, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %4, align 4
%39 = load i32, ptr %4, align 4
%40 = icmp slt i32 %39, 10
br i1 %40, label %30, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %36
br label %41
41: ; preds = %._crit_edge3, %24
%42 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0
%43 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %42, ptr noundef %43)
%45 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0
%46 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0
%47 = call i32 @memcpy(ptr noundef %45, ptr noundef %46, i32 noundef 3)
%48 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0
%49 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0
%50 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %48, ptr noundef %49)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ...) #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @memcpy(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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpypx2hfuo.c'
source_filename = "/tmp/tmpypx2hfuo.c"
target datalayout = "e-m:e-p270: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.winsize = type { i32 }
@STDOUT_FILENO = dso_local global i32 0, align 4
@TIOCGWINSZ = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @nmstermio_get_rows() #0 {
%1 = alloca %struct.winsize, align 4
%2 = load i32, ptr @STDOUT_FILENO, align 4
%3 = load i32, ptr @TIOCGWINSZ, align 4
%4 = call i32 @ioctl(i32 noundef %2, i32 noundef %3, ptr noundef %1)
%5 = getelementptr inbounds %struct.winsize, ptr %1, i32 0, i32 0
%6 = load i32, ptr %5, align 4
ret i32 %6
}
declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpypx2hfuo.c"
target datalayout = "e-m:e-p270: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.winsize = type { i32 }
@STDOUT_FILENO = dso_local global i32 0, align 4
@TIOCGWINSZ = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @nmstermio_get_rows() #0 {
%1 = alloca %struct.winsize, align 4
%2 = load i32, ptr @STDOUT_FILENO, align 4
%3 = load i32, ptr @TIOCGWINSZ, align 4
%4 = call i32 @ioctl(i32 noundef %2, i32 noundef %3, ptr noundef %1)
%5 = getelementptr inbounds %struct.winsize, ptr %1, i32 0, i32 0
%6 = load i32, ptr %5, align 4
ret i32 %6
}
declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpripm7y2s.c'
source_filename = "/tmp/tmpripm7y2s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@M_PI = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @kaiser(float noundef %0, float noundef %1, float noundef %2) #0 {
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
store float %0, ptr %4, align 4
store float %1, ptr %5, align 4
store float %2, ptr %6, align 4
%7 = load i64, ptr @M_PI, align 8
%8 = sitofp i64 %7 to float
%9 = load float, ptr %6, align 4
%10 = fmul float %8, %9
%11 = load float, ptr %4, align 4
%12 = fmul float 2.000000e+00, %11
%13 = load float, ptr %5, align 4
%14 = fsub float %13, 1.000000e+00
%15 = fdiv float %12, %14
%16 = fsub float %15, 1.000000e+00
%17 = call i64 @powf(float noundef %16, float noundef 2.000000e+00)
%18 = sitofp i64 %17 to float
%19 = fsub float 1.000000e+00, %18
%20 = fptosi float %19 to i64
%21 = call float @sqrtf(i64 noundef %20)
%22 = fmul float %10, %21
%23 = call float @i0f(float noundef %22)
%24 = load i64, ptr @M_PI, align 8
%25 = sitofp i64 %24 to float
%26 = load float, ptr %6, align 4
%27 = fmul float %25, %26
%28 = call float @i0f(float noundef %27)
%29 = fdiv float %23, %28
ret float %29
}
declare float @i0f(float noundef) #1
declare float @sqrtf(i64 noundef) #1
declare i64 @powf(float noundef, 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/tmpripm7y2s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@M_PI = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @kaiser(float noundef %0, float noundef %1, float noundef %2) #0 {
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
store float %0, ptr %4, align 4
store float %1, ptr %5, align 4
store float %2, ptr %6, align 4
%7 = load i64, ptr @M_PI, align 8
%8 = sitofp i64 %7 to float
%9 = load float, ptr %6, align 4
%10 = fmul float %8, %9
%11 = load float, ptr %4, align 4
%12 = fmul float 2.000000e+00, %11
%13 = load float, ptr %5, align 4
%14 = fsub float %13, 1.000000e+00
%15 = fdiv float %12, %14
%16 = fsub float %15, 1.000000e+00
%17 = call i64 @powf(float noundef %16, float noundef 2.000000e+00)
%18 = sitofp i64 %17 to float
%19 = fsub float 1.000000e+00, %18
%20 = fptosi float %19 to i64
%21 = call float @sqrtf(i64 noundef %20)
%22 = fmul float %10, %21
%23 = call float @i0f(float noundef %22)
%24 = load i64, ptr @M_PI, align 8
%25 = sitofp i64 %24 to float
%26 = load float, ptr %6, align 4
%27 = fmul float %25, %26
%28 = call float @i0f(float noundef %27)
%29 = fdiv float %23, %28
ret float %29
}
declare float @i0f(float noundef) #1
declare float @sqrtf(i64 noundef) #1
declare i64 @powf(float noundef, 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/tmp6q9zjt10.c'
source_filename = "/tmp/tmp6q9zjt10.c"
target datalayout = "e-m:e-p270: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/tmp6q9zjt10.c"
target datalayout = "e-m:e-p270: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/tmpb8oorn0z.c'
source_filename = "/tmp/tmpb8oorn0z.c"
target datalayout = "e-m:e-p270: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/tmpb8oorn0z.c"
target datalayout = "e-m:e-p270: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/tmpcqn3wc7b.c'
source_filename = "/tmp/tmpcqn3wc7b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nbDigits(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 0, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %8
7: ; preds = %1
store i32 1, ptr %2, align 4
br label %26
8: ; preds = %1
br label %9
9: ; preds = %13, %8
%10 = load i32, ptr %3, align 4
%11 = call i64 @abs(i32 noundef %10)
%12 = icmp sgt i64 %11, 0
br i1 %12, label %13, label %18
13: ; preds = %9
%14 = load i32, ptr %4, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %4, align 4
%16 = load i32, ptr %3, align 4
%17 = sdiv i32 %16, 10
store i32 %17, ptr %3, align 4
br label %9, !llvm.loop !6
18: ; preds = %9
%19 = load i32, ptr %3, align 4
%20 = icmp slt i32 %19, 0
br i1 %20, label %21, label %24
21: ; preds = %18
%22 = load i32, ptr %4, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %4, align 4
br label %24
24: ; preds = %21, %18
%25 = load i32, ptr %4, align 4
store i32 %25, ptr %2, align 4
br label %26
26: ; preds = %24, %7
%27 = load i32, ptr %2, align 4
ret i32 %27
}
declare i64 @abs(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/tmpcqn3wc7b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nbDigits(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 0, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %8
7: ; preds = %1
store i32 1, ptr %2, align 4
br label %28
8: ; preds = %1
%9 = load i32, ptr %3, align 4
%10 = call i64 @abs(i32 noundef %9)
%11 = icmp sgt i64 %10, 0
br i1 %11, label %.lr.ph, label %20
.lr.ph: ; preds = %8
br label %12
12: ; preds = %.lr.ph, %12
%13 = load i32, ptr %4, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %4, align 4
%15 = load i32, ptr %3, align 4
%16 = sdiv i32 %15, 10
store i32 %16, ptr %3, align 4
%17 = load i32, ptr %3, align 4
%18 = call i64 @abs(i32 noundef %17)
%19 = icmp sgt i64 %18, 0
br i1 %19, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %12
br label %20
20: ; preds = %._crit_edge, %8
%21 = load i32, ptr %3, align 4
%22 = icmp slt i32 %21, 0
br i1 %22, label %23, label %26
23: ; preds = %20
%24 = load i32, ptr %4, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %4, align 4
br label %26
26: ; preds = %23, %20
%27 = load i32, ptr %4, align 4
store i32 %27, ptr %2, align 4
br label %28
28: ; preds = %26, %7
%29 = load i32, ptr %2, align 4
ret i32 %29
}
declare i64 @abs(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/tmptqigeole.c'
source_filename = "/tmp/tmptqigeole.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @min_diff(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%8 = load ptr, ptr %3, align 8
%9 = getelementptr inbounds i32, ptr %8, i64 1
%10 = load i32, ptr %9, align 4
%11 = load ptr, ptr %3, align 8
%12 = getelementptr inbounds i32, ptr %11, i64 0
%13 = load i32, ptr %12, align 4
%14 = sub nsw i32 %10, %13
store i32 %14, ptr %5, align 4
%15 = load i64, ptr %4, align 8
%16 = sub i64 %15, 1
%17 = trunc i64 %16 to i32
store i32 %17, ptr %6, align 4
store i32 1, ptr %7, align 4
br label %18
18: ; preds = %51, %2
%19 = load i32, ptr %7, align 4
%20 = load i32, ptr %6, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %22, label %54
22: ; preds = %18
%23 = load ptr, ptr %3, align 8
%24 = load i32, ptr %7, align 4
%25 = add nsw i32 %24, 1
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i32, ptr %23, i64 %26
%28 = load i32, ptr %27, align 4
%29 = load ptr, ptr %3, align 8
%30 = load i32, ptr %7, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i32, ptr %29, i64 %31
%33 = load i32, ptr %32, align 4
%34 = load i32, ptr %5, align 4
%35 = add nsw i32 %33, %34
%36 = icmp slt i32 %28, %35
br i1 %36, label %37, label %50
37: ; preds = %22
%38 = load ptr, ptr %3, align 8
%39 = load i32, ptr %7, align 4
%40 = add nsw i32 %39, 1
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i32, ptr %38, i64 %41
%43 = load i32, ptr %42, align 4
%44 = load ptr, ptr %3, align 8
%45 = load i32, ptr %7, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i32, ptr %44, i64 %46
%48 = load i32, ptr %47, align 4
%49 = sub nsw i32 %43, %48
store i32 %49, ptr %5, align 4
br label %50
50: ; preds = %37, %22
br label %51
51: ; preds = %50
%52 = load i32, ptr %7, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %7, align 4
br label %18, !llvm.loop !6
54: ; preds = %18
%55 = load i32, ptr %5, align 4
ret i32 %55
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmptqigeole.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @min_diff(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%8 = load ptr, ptr %3, align 8
%9 = getelementptr inbounds i32, ptr %8, i64 1
%10 = load i32, ptr %9, align 4
%11 = load ptr, ptr %3, align 8
%12 = getelementptr inbounds i32, ptr %11, i64 0
%13 = load i32, ptr %12, align 4
%14 = sub nsw i32 %10, %13
store i32 %14, ptr %5, align 4
%15 = load i64, ptr %4, align 8
%16 = sub i64 %15, 1
%17 = trunc i64 %16 to i32
store i32 %17, ptr %6, align 4
store i32 1, ptr %7, align 4
%18 = load i32, ptr %7, align 4
%19 = load i32, ptr %6, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %.lr.ph, label %56
.lr.ph: ; preds = %2
br label %21
21: ; preds = %.lr.ph, %50
%22 = load ptr, ptr %3, align 8
%23 = load i32, ptr %7, align 4
%24 = add nsw i32 %23, 1
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i32, ptr %22, i64 %25
%27 = load i32, ptr %26, align 4
%28 = load ptr, ptr %3, align 8
%29 = load i32, ptr %7, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i32, ptr %28, i64 %30
%32 = load i32, ptr %31, align 4
%33 = load i32, ptr %5, align 4
%34 = add nsw i32 %32, %33
%35 = icmp slt i32 %27, %34
br i1 %35, label %36, label %49
36: ; preds = %21
%37 = load ptr, ptr %3, align 8
%38 = load i32, ptr %7, align 4
%39 = add nsw i32 %38, 1
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i32, ptr %37, i64 %40
%42 = load i32, ptr %41, align 4
%43 = load ptr, ptr %3, align 8
%44 = load i32, ptr %7, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i32, ptr %43, i64 %45
%47 = load i32, ptr %46, align 4
%48 = sub nsw i32 %42, %47
store i32 %48, ptr %5, align 4
br label %49
49: ; preds = %36, %21
br label %50
50: ; preds = %49
%51 = load i32, ptr %7, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %7, align 4
%53 = load i32, ptr %7, align 4
%54 = load i32, ptr %6, align 4
%55 = icmp slt i32 %53, %54
br i1 %55, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %50
br label %56
56: ; preds = %._crit_edge, %2
%57 = load i32, ptr %5, align 4
ret i32 %57
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp0on6flzr.c'
source_filename = "/tmp/tmp0on6flzr.c"
target datalayout = "e-m:e-p270: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/tmp0on6flzr.c"
target datalayout = "e-m:e-p270: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/tmph3q_x739.c'
source_filename = "/tmp/tmph3q_x739.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"SESSION\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @__isLogged(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
br label %8
8: ; preds = %20, %2
%9 = call i32 @parseCOOKIE(ptr noundef %4, ptr noundef %6, ptr noundef %7)
%10 = icmp ne i32 %9, 0
%11 = xor i1 %10, true
br i1 %11, label %12, label %21
12: ; preds = %8
%13 = load ptr, ptr %6, align 8
%14 = call i64 @strcmp(ptr noundef %13, ptr noundef @.str)
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %20
16: ; preds = %12
%17 = load ptr, ptr %7, align 8
%18 = call i32 @atoi(ptr noundef %17)
%19 = load ptr, ptr %5, align 8
store i32 %18, ptr %19, align 4
br label %20
20: ; preds = %16, %12
br label %8, !llvm.loop !6
21: ; preds = %8
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr %22, align 4
%24 = icmp slt i32 %23, 0
br i1 %24, label %25, label %30
25: ; preds = %21
%26 = call i64 (...) @login()
%27 = icmp ne i64 %26, 0
br i1 %27, label %28, label %29
28: ; preds = %25
store i32 1, ptr %3, align 4
br label %31
29: ; preds = %25
br label %30
30: ; preds = %29, %21
store i32 0, ptr %3, align 4
br label %31
31: ; preds = %30, %28
%32 = load i32, ptr %3, align 4
ret i32 %32
}
declare i32 @parseCOOKIE(ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i64 @login(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmph3q_x739.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"SESSION\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @__isLogged(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = call i32 @parseCOOKIE(ptr noundef %4, ptr noundef %6, ptr noundef %7)
%9 = icmp ne i32 %8, 0
%10 = xor i1 %9, true
br i1 %10, label %.lr.ph, label %23
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %19
%12 = load ptr, ptr %6, align 8
%13 = call i64 @strcmp(ptr noundef %12, ptr noundef @.str)
%14 = icmp ne i64 %13, 0
br i1 %14, label %15, label %19
15: ; preds = %11
%16 = load ptr, ptr %7, align 8
%17 = call i32 @atoi(ptr noundef %16)
%18 = load ptr, ptr %5, align 8
store i32 %17, ptr %18, align 4
br label %19
19: ; preds = %15, %11
%20 = call i32 @parseCOOKIE(ptr noundef %4, ptr noundef %6, ptr noundef %7)
%21 = icmp ne i32 %20, 0
%22 = xor i1 %21, true
br i1 %22, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %23
23: ; preds = %._crit_edge, %2
%24 = load ptr, ptr %5, align 8
%25 = load i32, ptr %24, align 4
%26 = icmp slt i32 %25, 0
br i1 %26, label %27, label %32
27: ; preds = %23
%28 = call i64 (...) @login()
%29 = icmp ne i64 %28, 0
br i1 %29, label %30, label %31
30: ; preds = %27
store i32 1, ptr %3, align 4
br label %33
31: ; preds = %27
br label %32
32: ; preds = %31, %23
store i32 0, ptr %3, align 4
br label %33
33: ; preds = %32, %30
%34 = load i32, ptr %3, align 4
ret i32 %34
}
declare i32 @parseCOOKIE(ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i64 @login(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp5kqjqw3w.c'
source_filename = "/tmp/tmp5kqjqw3w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @average_time(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store double 0.000000e+00, ptr %9, align 8
store i32 0, ptr %10, align 4
br label %11
11: ; preds = %28, %3
%12 = load i32, ptr %10, align 4
%13 = icmp slt i32 %12, 1000000
br i1 %13, label %14, label %31
14: ; preds = %11
%15 = call i64 (...) @clock()
%16 = sitofp i64 %15 to double
store double %16, ptr %7, align 8
%17 = load ptr, ptr %5, align 8
%18 = load ptr, ptr %6, align 8
%19 = load ptr, ptr %4, align 8
%20 = call i32 @read_lines(ptr noundef %17, ptr noundef %18, ptr noundef %19)
%21 = call i64 (...) @clock()
%22 = sitofp i64 %21 to double
store double %22, ptr %8, align 8
%23 = load double, ptr %8, align 8
%24 = load double, ptr %7, align 8
%25 = fsub double %23, %24
%26 = load double, ptr %9, align 8
%27 = fadd double %26, %25
store double %27, ptr %9, align 8
br label %28
28: ; preds = %14
%29 = load i32, ptr %10, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %10, align 4
br label %11, !llvm.loop !6
31: ; preds = %11
%32 = load double, ptr %9, align 8
ret double %32
}
declare i64 @clock(...) #1
declare i32 @read_lines(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/tmp5kqjqw3w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @average_time(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store double 0.000000e+00, ptr %9, align 8
store i32 0, ptr %10, align 4
%11 = load i32, ptr %10, align 4
%12 = icmp slt i32 %11, 1000000
br i1 %12, label %.lr.ph, label %32
.lr.ph: ; preds = %3
br label %13
13: ; preds = %.lr.ph, %27
%14 = call i64 (...) @clock()
%15 = sitofp i64 %14 to double
store double %15, ptr %7, align 8
%16 = load ptr, ptr %5, align 8
%17 = load ptr, ptr %6, align 8
%18 = load ptr, ptr %4, align 8
%19 = call i32 @read_lines(ptr noundef %16, ptr noundef %17, ptr noundef %18)
%20 = call i64 (...) @clock()
%21 = sitofp i64 %20 to double
store double %21, ptr %8, align 8
%22 = load double, ptr %8, align 8
%23 = load double, ptr %7, align 8
%24 = fsub double %22, %23
%25 = load double, ptr %9, align 8
%26 = fadd double %25, %24
store double %26, ptr %9, align 8
br label %27
27: ; preds = %13
%28 = load i32, ptr %10, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %10, align 4
%30 = load i32, ptr %10, align 4
%31 = icmp slt i32 %30, 1000000
br i1 %31, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %32
32: ; preds = %._crit_edge, %3
%33 = load double, ptr %9, align 8
ret double %33
}
declare i64 @clock(...) #1
declare i32 @read_lines(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/tmplop2ymao.c'
source_filename = "/tmp/tmplop2ymao.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clearMt2(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store ptr null, ptr %3, align 8
%4 = load ptr, ptr %2, align 8
%5 = icmp ne ptr %4, null
br i1 %5, label %6, label %18
6: ; preds = %1
%7 = load ptr, ptr %2, align 8
%8 = load ptr, ptr %7, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %16
10: ; preds = %6
%11 = load ptr, ptr %2, align 8
%12 = load ptr, ptr %11, align 8
store ptr %12, ptr %3, align 8
%13 = load ptr, ptr %3, align 8
%14 = call i32 @free(ptr noundef %13)
%15 = load ptr, ptr %2, align 8
store ptr null, ptr %15, align 8
br label %17
16: ; preds = %6
br label %17
17: ; preds = %16, %10
br label %19
18: ; preds = %1
br label %19
19: ; preds = %18, %17
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/tmplop2ymao.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clearMt2(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store ptr null, ptr %3, align 8
%4 = load ptr, ptr %2, align 8
%5 = icmp ne ptr %4, null
br i1 %5, label %6, label %18
6: ; preds = %1
%7 = load ptr, ptr %2, align 8
%8 = load ptr, ptr %7, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %16
10: ; preds = %6
%11 = load ptr, ptr %2, align 8
%12 = load ptr, ptr %11, align 8
store ptr %12, ptr %3, align 8
%13 = load ptr, ptr %3, align 8
%14 = call i32 @free(ptr noundef %13)
%15 = load ptr, ptr %2, align 8
store ptr null, ptr %15, align 8
br label %17
16: ; preds = %6
br label %17
17: ; preds = %16, %10
br label %19
18: ; preds = %1
br label %19
19: ; preds = %18, %17
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/tmppx1j79fp.c'
source_filename = "/tmp/tmppx1j79fp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s - erro - identificador muito grande\0A\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"%s - identificador\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @processarIdentificador(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @strlen(ptr noundef %3)
%5 = icmp sgt i32 %4, 32
br i1 %5, label %6, label %9
6: ; preds = %1
%7 = load ptr, ptr %2, align 8
%8 = call i32 @printf(ptr noundef @.str, ptr noundef %7)
br label %12
9: ; preds = %1
%10 = load ptr, ptr %2, align 8
%11 = call i32 @printf(ptr noundef @.str.1, ptr noundef %10)
br label %12
12: ; preds = %9, %6
ret void
}
declare i32 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppx1j79fp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s - erro - identificador muito grande\0A\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"%s - identificador\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @processarIdentificador(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @strlen(ptr noundef %3)
%5 = icmp sgt i32 %4, 32
br i1 %5, label %6, label %9
6: ; preds = %1
%7 = load ptr, ptr %2, align 8
%8 = call i32 @printf(ptr noundef @.str, ptr noundef %7)
br label %12
9: ; preds = %1
%10 = load ptr, ptr %2, align 8
%11 = call i32 @printf(ptr noundef @.str.1, ptr noundef %10)
br label %12
12: ; preds = %9, %6
ret void
}
declare i32 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvlpwjl1n.c'
source_filename = "/tmp/tmpvlpwjl1n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5072 x i8] c"Usage:\0A ipsec pool --status|--add|--replace|--del|--resize|--leases|--purge [options]\0A ipsec pool --showattr|--statusattr|--addattr|--delattr [options]\0A \0A ipsec pool --status\0A Show a list of installed pools with statistics plus nameserver info.\0A \0A ipsec pool --statusattr [--hexout]\0A Show a list of all attributes stored in the database with the values\0A converted to the correct format if the type is known by --showattr or\0A in hex format otherwise.\0A hexout: Output all values in hex format\0A \0A ipsec pool --showattr\0A Show a keyword list of the major attribute types.\0A \0A ipsec pool --add <name> --start <start> --end <end> [--timeout <timeout>]\0A ipsec pool --replace <name> --start <start> --end <end> [--timeout <timeout>]\0A Add a new pool to or replace an existing pool in the database.\0A name: Name of the pool, as used in ipsec.conf rightsourceip=%%name\0A start: Start address of the pool\0A end: End address of the pool\0A timeout: Lease time in hours, 0 for static leases\0A \0A ipsec pool --add <name> --addresses <file> [--timeout <timeout>]\0A ipsec pool --replace <name> --addresses <file> [--timeout <timeout>]\0A Add a new pool to or replace an existing pool in the database.\0A name: Name of the pool, as used in ipsec.conf rightsourceip=%%name\0A file: File newline separated addresses for the pool are read from.\0A Optionally each address can be pre-assigned to a roadwarrior\0A identity, e.g. [email protected].\0A If a - (hyphen) is given instead of a file name, the addresses\0A are read from STDIN. Reading addresses stops at the end of file\0A or an empty line. Pools created with this command can not be\0A resized.\0A timeout: Lease time in hours, 0 for static leases\0A \0A ipsec pool --addattr <type> [--pool <name> [--identity <id>]]\0A --addr|--mask|--server|--subnet|--string|--hex <value>\0A Add a new attribute to the database. Attributes can be bundled by using\0A the --pool and --identity options. If a bundle matches a peer the contained\0A attributes are sent to that peer instead of the global ones.\0A type: a keyword from --showattr or a number from the range 1..32767\0A name: the name of the pool this attribute is added to\0A id: identity of the peer this attribute is bound to\0A addr: IPv4 or IPv6 address\0A mask: IPv4 or IPv6 netmask (synonym for --addr)\0A server: IPv4 or IPv6 address of a server (synonym for --addr)\0A subnet: IPv4 subnet[s] given by network/mask[,network/mask,...]\0A string: value of a string-type attribute\0A hex: hex value of any attribute\0A \0A ipsec pool --del <name>\0A Delete a pool from the database.\0A name: Name of the pool to delete\0A \0A ipsec pool --delattr <type> [--pool <name> [--identity <id>]]\0A [--addr|--mask|--server|--subnet|--string|--hex <value>]\0A Delete a specific or all attributes of a given type from the database.\0A type: a keyword from --showattr or a number from the range 1..32767\0A name: the name of the pool this attribute is added to\0A id: identity of the peer this attribute is bound to\0A addr: IPv4 or IPv6 address\0A mask: IPv4 or IPv6 netmask (synonym for --addr)\0A server: IPv4 or IPv6 address of a server (synonym for --addr)\0A subnet: IPv4 subnet[s] given by network/mask[,network/mask,...]\0A string: value of a string-type attribute\0A hex: hex value of any attribute\0A \0A ipsec pool --resize <name> --end <end>\0A Grow or shrink an existing pool.\0A name: Name of the pool to resize\0A end: New end address for the pool\0A \0A ipsec pool --leases [--filter <filter>] [--utc]\0A Show lease information using filters:\0A filter: Filter string containing comma separated key=value filters,\0A e.g. [email protected],addr=1.1.1.1\0A pool: name of the pool\0A id: assigned identity of the lease\0A addr: lease IP address\0A tstamp: UNIX timestamp when lease was valid, as integer\0A status: status of the lease: online|valid|expired\0A utc: Show times in UTC instead of local time\0A \0A ipsec pool --purge <name>\0A Delete lease history of a pool:\0A name: Name of the pool to purge\0A \0A ipsec pool --batch <file>\0A Read commands from a file and execute them atomically.\0A file: File to read the newline separated commands from. Commands\0A appear as they are written on the command line, e.g.\0A --replace mypool --start 10.0.0.1 --end 10.0.0.254\0A --del dns\0A --add dns --server 10.1.0.1\0A --add dns --server 10.1.1.1\0A If a - (hyphen) is given as a file name, the commands are read\0A from STDIN. Readin commands stops at the end of file. Empty\0A lines are ignored. The file may not contain a --batch command.\0A \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvlpwjl1n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5072 x i8] c"Usage:\0A ipsec pool --status|--add|--replace|--del|--resize|--leases|--purge [options]\0A ipsec pool --showattr|--statusattr|--addattr|--delattr [options]\0A \0A ipsec pool --status\0A Show a list of installed pools with statistics plus nameserver info.\0A \0A ipsec pool --statusattr [--hexout]\0A Show a list of all attributes stored in the database with the values\0A converted to the correct format if the type is known by --showattr or\0A in hex format otherwise.\0A hexout: Output all values in hex format\0A \0A ipsec pool --showattr\0A Show a keyword list of the major attribute types.\0A \0A ipsec pool --add <name> --start <start> --end <end> [--timeout <timeout>]\0A ipsec pool --replace <name> --start <start> --end <end> [--timeout <timeout>]\0A Add a new pool to or replace an existing pool in the database.\0A name: Name of the pool, as used in ipsec.conf rightsourceip=%%name\0A start: Start address of the pool\0A end: End address of the pool\0A timeout: Lease time in hours, 0 for static leases\0A \0A ipsec pool --add <name> --addresses <file> [--timeout <timeout>]\0A ipsec pool --replace <name> --addresses <file> [--timeout <timeout>]\0A Add a new pool to or replace an existing pool in the database.\0A name: Name of the pool, as used in ipsec.conf rightsourceip=%%name\0A file: File newline separated addresses for the pool are read from.\0A Optionally each address can be pre-assigned to a roadwarrior\0A identity, e.g. [email protected].\0A If a - (hyphen) is given instead of a file name, the addresses\0A are read from STDIN. Reading addresses stops at the end of file\0A or an empty line. Pools created with this command can not be\0A resized.\0A timeout: Lease time in hours, 0 for static leases\0A \0A ipsec pool --addattr <type> [--pool <name> [--identity <id>]]\0A --addr|--mask|--server|--subnet|--string|--hex <value>\0A Add a new attribute to the database. Attributes can be bundled by using\0A the --pool and --identity options. If a bundle matches a peer the contained\0A attributes are sent to that peer instead of the global ones.\0A type: a keyword from --showattr or a number from the range 1..32767\0A name: the name of the pool this attribute is added to\0A id: identity of the peer this attribute is bound to\0A addr: IPv4 or IPv6 address\0A mask: IPv4 or IPv6 netmask (synonym for --addr)\0A server: IPv4 or IPv6 address of a server (synonym for --addr)\0A subnet: IPv4 subnet[s] given by network/mask[,network/mask,...]\0A string: value of a string-type attribute\0A hex: hex value of any attribute\0A \0A ipsec pool --del <name>\0A Delete a pool from the database.\0A name: Name of the pool to delete\0A \0A ipsec pool --delattr <type> [--pool <name> [--identity <id>]]\0A [--addr|--mask|--server|--subnet|--string|--hex <value>]\0A Delete a specific or all attributes of a given type from the database.\0A type: a keyword from --showattr or a number from the range 1..32767\0A name: the name of the pool this attribute is added to\0A id: identity of the peer this attribute is bound to\0A addr: IPv4 or IPv6 address\0A mask: IPv4 or IPv6 netmask (synonym for --addr)\0A server: IPv4 or IPv6 address of a server (synonym for --addr)\0A subnet: IPv4 subnet[s] given by network/mask[,network/mask,...]\0A string: value of a string-type attribute\0A hex: hex value of any attribute\0A \0A ipsec pool --resize <name> --end <end>\0A Grow or shrink an existing pool.\0A name: Name of the pool to resize\0A end: New end address for the pool\0A \0A ipsec pool --leases [--filter <filter>] [--utc]\0A Show lease information using filters:\0A filter: Filter string containing comma separated key=value filters,\0A e.g. [email protected],addr=1.1.1.1\0A pool: name of the pool\0A id: assigned identity of the lease\0A addr: lease IP address\0A tstamp: UNIX timestamp when lease was valid, as integer\0A status: status of the lease: online|valid|expired\0A utc: Show times in UTC instead of local time\0A \0A ipsec pool --purge <name>\0A Delete lease history of a pool:\0A name: Name of the pool to purge\0A \0A ipsec pool --batch <file>\0A Read commands from a file and execute them atomically.\0A file: File to read the newline separated commands from. Commands\0A appear as they are written on the command line, e.g.\0A --replace mypool --start 10.0.0.1 --end 10.0.0.254\0A --del dns\0A --add dns --server 10.1.0.1\0A --add dns --server 10.1.1.1\0A If a - (hyphen) is given as a file name, the commands are read\0A from STDIN. Readin commands stops at the end of file. Empty\0A lines are ignored. The file may not contain a --batch command.\0A \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzijwhi5d.c'
source_filename = "/tmp/tmpzijwhi5d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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" World!\0A\00", align 1
@llvm.global_dtors = appending global [1 x { i32, ptr, ptr }] [{ i32, ptr, ptr } { i32 65535, ptr @after, ptr null }]
; Function Attrs: noinline nounwind sspstrong uwtable
define internal void @after() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzijwhi5d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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" World!\0A\00", align 1
@llvm.global_dtors = appending global [1 x { i32, ptr, ptr }] [{ i32, ptr, ptr } { i32 65535, ptr @after, ptr null }]
; Function Attrs: noinline nounwind sspstrong uwtable
define internal void @after() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpni0xo4a8.c'
source_filename = "/tmp/tmpni0xo4a8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"Enter the first number\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"Enter the second number\0A\00", align 1
@.str.3 = private unnamed_addr constant [26 x i8] c"The smaller number is %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%9 = load i32, ptr %2, align 4
%10 = load i32, ptr %3, align 4
%11 = call i32 @min(i32 noundef %9, i32 noundef %10)
store i32 %11, ptr %4, align 4
%12 = load i32, ptr %4, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %12)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @min(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/tmpni0xo4a8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"Enter the first number\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"Enter the second number\0A\00", align 1
@.str.3 = private unnamed_addr constant [26 x i8] c"The smaller number is %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%9 = load i32, ptr %2, align 4
%10 = load i32, ptr %3, align 4
%11 = call i32 @min(i32 noundef %9, i32 noundef %10)
store i32 %11, ptr %4, align 4
%12 = load i32, ptr %4, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %12)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @min(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/tmpa047bxz1.c'
source_filename = "/tmp/tmpa047bxz1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c"The total cost will be $%0.2f.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @showprice(double noundef %0, i32 noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca double, align 8
%7 = alloca double, align 8
store double %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store double 0.000000e+00, ptr %6, align 8
store double 1.000000e+00, ptr %7, align 8
store i32 1, ptr %5, align 4
br label %8
8: ; preds = %17, %2
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp sle i32 %9, %10
br i1 %11, label %12, label %22
12: ; preds = %8
%13 = load double, ptr %3, align 8
%14 = load double, ptr %7, align 8
%15 = load double, ptr %6, align 8
%16 = call double @llvm.fmuladd.f64(double %13, double %14, double %15)
store double %16, ptr %6, align 8
br label %17
17: ; preds = %12
%18 = load i32, ptr %5, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %5, align 4
%20 = load double, ptr %7, align 8
%21 = fmul double %20, 0x3FEE666666666666
store double %21, ptr %7, align 8
br label %8, !llvm.loop !6
22: ; preds = %8
%23 = load double, ptr %6, align 8
%24 = call i32 @printf(ptr noundef @.str, double noundef %23)
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
declare i32 @printf(ptr noundef, double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpa047bxz1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c"The total cost will be $%0.2f.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @showprice(double noundef %0, i32 noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca double, align 8
%7 = alloca double, align 8
store double %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store double 0.000000e+00, ptr %6, align 8
store double 1.000000e+00, ptr %7, align 8
store i32 1, ptr %5, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp sle i32 %8, %9
br i1 %10, label %.lr.ph, label %24
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %16
%12 = load double, ptr %3, align 8
%13 = load double, ptr %7, align 8
%14 = load double, ptr %6, align 8
%15 = call double @llvm.fmuladd.f64(double %12, double %13, double %14)
store double %15, ptr %6, align 8
br label %16
16: ; preds = %11
%17 = load i32, ptr %5, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %5, align 4
%19 = load double, ptr %7, align 8
%20 = fmul double %19, 0x3FEE666666666666
store double %20, ptr %7, align 8
%21 = load i32, ptr %5, align 4
%22 = load i32, ptr %4, align 4
%23 = icmp sle i32 %21, %22
br i1 %23, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %24
24: ; preds = %._crit_edge, %2
%25 = load double, ptr %6, align 8
%26 = call i32 @printf(ptr noundef @.str, double noundef %25)
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
declare i32 @printf(ptr noundef, double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp1pj36kle.c'
source_filename = "/tmp/tmp1pj36kle.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xpi2(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds i32, ptr %3, i64 2
%5 = load i32, ptr %4, align 4
%6 = ashr i32 %5, 10
%7 = load ptr, ptr %2, align 8
%8 = getelementptr inbounds i32, ptr %7, i64 2
%9 = load i32, ptr %8, align 4
%10 = shl i32 %9, 22
%11 = xor i32 %6, %10
%12 = load ptr, ptr %2, align 8
%13 = getelementptr inbounds i32, ptr %12, i64 2
store i32 %11, ptr %13, align 4
%14 = load ptr, ptr %2, align 8
%15 = getelementptr inbounds i32, ptr %14, i64 0
%16 = load i32, ptr %15, align 4
%17 = ashr i32 %16, 31
%18 = load ptr, ptr %2, align 8
%19 = getelementptr inbounds i32, ptr %18, i64 0
%20 = load i32, ptr %19, align 4
%21 = shl i32 %20, 1
%22 = xor i32 %17, %21
%23 = load ptr, ptr %2, align 8
%24 = getelementptr inbounds i32, ptr %23, i64 0
store i32 %22, ptr %24, 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/tmp1pj36kle.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xpi2(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds i32, ptr %3, i64 2
%5 = load i32, ptr %4, align 4
%6 = ashr i32 %5, 10
%7 = load ptr, ptr %2, align 8
%8 = getelementptr inbounds i32, ptr %7, i64 2
%9 = load i32, ptr %8, align 4
%10 = shl i32 %9, 22
%11 = xor i32 %6, %10
%12 = load ptr, ptr %2, align 8
%13 = getelementptr inbounds i32, ptr %12, i64 2
store i32 %11, ptr %13, align 4
%14 = load ptr, ptr %2, align 8
%15 = getelementptr inbounds i32, ptr %14, i64 0
%16 = load i32, ptr %15, align 4
%17 = ashr i32 %16, 31
%18 = load ptr, ptr %2, align 8
%19 = getelementptr inbounds i32, ptr %18, i64 0
%20 = load i32, ptr %19, align 4
%21 = shl i32 %20, 1
%22 = xor i32 %17, %21
%23 = load ptr, ptr %2, align 8
%24 = getelementptr inbounds i32, ptr %23, i64 0
store i32 %22, ptr %24, 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/tmpflr8_c4j.c'
source_filename = "/tmp/tmpflr8_c4j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [48 x i8] c"\0A==========Ranges defined by float.h==========\0A\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"Float range: %g - %g\0A\00", align 1
@FLT_MIN = dso_local global double 0.000000e+00, align 8
@FLT_MAX = dso_local global double 0.000000e+00, align 8
@.str.2 = private unnamed_addr constant [25 x i8] c"Double range: %g - %g\0A\00", align 1
@DBL_MIN = dso_local global double 0.000000e+00, align 8
@DBL_MAX = dso_local global double 0.000000e+00, align 8
@.str.3 = private unnamed_addr constant [27 x i8] c"LDouble range: %Lg - %Lg\0A\00", align 1
@LDBL_MIN = dso_local global double 0.000000e+00, align 8
@LDBL_MAX = dso_local global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @float_lookup() #0 {
%1 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%2 = load double, ptr @FLT_MIN, align 8
%3 = load double, ptr @FLT_MAX, align 8
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %2, double noundef %3)
%5 = load double, ptr @DBL_MIN, align 8
%6 = load double, ptr @DBL_MAX, align 8
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %5, double noundef %6)
%8 = load double, ptr @LDBL_MIN, align 8
%9 = load double, ptr @LDBL_MAX, align 8
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %8, double noundef %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/tmpflr8_c4j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [48 x i8] c"\0A==========Ranges defined by float.h==========\0A\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"Float range: %g - %g\0A\00", align 1
@FLT_MIN = dso_local global double 0.000000e+00, align 8
@FLT_MAX = dso_local global double 0.000000e+00, align 8
@.str.2 = private unnamed_addr constant [25 x i8] c"Double range: %g - %g\0A\00", align 1
@DBL_MIN = dso_local global double 0.000000e+00, align 8
@DBL_MAX = dso_local global double 0.000000e+00, align 8
@.str.3 = private unnamed_addr constant [27 x i8] c"LDouble range: %Lg - %Lg\0A\00", align 1
@LDBL_MIN = dso_local global double 0.000000e+00, align 8
@LDBL_MAX = dso_local global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @float_lookup() #0 {
%1 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%2 = load double, ptr @FLT_MIN, align 8
%3 = load double, ptr @FLT_MAX, align 8
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %2, double noundef %3)
%5 = load double, ptr @DBL_MIN, align 8
%6 = load double, ptr @DBL_MAX, align 8
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %5, double noundef %6)
%8 = load double, ptr @LDBL_MIN, align 8
%9 = load double, ptr @LDBL_MAX, align 8
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %8, double noundef %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/tmpv32qf5fx.c'
source_filename = "/tmp/tmpv32qf5fx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"Hello, World!\0A\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"i = %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
store i32 0, ptr %1, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = call i32 @set_servo_position(i32 noundef 0, i32 noundef 150)
%5 = call i32 (...) @enable_servos()
store i32 0, ptr %2, align 4
store i32 0, ptr %2, align 4
br label %6
6: ; preds = %16, %0
%7 = load i32, ptr %2, align 4
%8 = icmp slt i32 %7, 10
br i1 %8, label %9, label %19
9: ; preds = %6
%10 = load i32, ptr %2, align 4
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %10)
%12 = call i32 @set_servo_position(i32 noundef 0, i32 noundef 1024)
%13 = call i32 @msleep(i32 noundef 1000)
%14 = call i32 @set_servo_position(i32 noundef 0, i32 noundef 150)
%15 = call i32 @msleep(i32 noundef 1000)
br label %16
16: ; preds = %9
%17 = load i32, ptr %2, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %2, align 4
br label %6, !llvm.loop !6
19: ; preds = %6
%20 = call i32 (...) @disable_servos()
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @set_servo_position(i32 noundef, i32 noundef) #1
declare i32 @enable_servos(...) #1
declare i32 @msleep(i32 noundef) #1
declare i32 @disable_servos(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpv32qf5fx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"Hello, World!\0A\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"i = %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
store i32 0, ptr %1, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = call i32 @set_servo_position(i32 noundef 0, i32 noundef 150)
%5 = call i32 (...) @enable_servos()
store i32 0, ptr %2, align 4
store i32 0, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp slt i32 %6, 10
br i1 %7, label %.lr.ph, label %20
.lr.ph: ; preds = %0
br label %8
8: ; preds = %.lr.ph, %15
%9 = load i32, ptr %2, align 4
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %9)
%11 = call i32 @set_servo_position(i32 noundef 0, i32 noundef 1024)
%12 = call i32 @msleep(i32 noundef 1000)
%13 = call i32 @set_servo_position(i32 noundef 0, i32 noundef 150)
%14 = call i32 @msleep(i32 noundef 1000)
br label %15
15: ; preds = %8
%16 = load i32, ptr %2, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %2, align 4
%18 = load i32, ptr %2, align 4
%19 = icmp slt i32 %18, 10
br i1 %19, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %20
20: ; preds = %._crit_edge, %0
%21 = call i32 (...) @disable_servos()
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @set_servo_position(i32 noundef, i32 noundef) #1
declare i32 @enable_servos(...) #1
declare i32 @msleep(i32 noundef) #1
declare i32 @disable_servos(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp8v_qar64.c'
source_filename = "/tmp/tmp8v_qar64.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [54 x i8] c"WARNING: PREVIOUS QUERY FAILED, dirty query context.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @null_query(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 @printf(ptr noundef @.str)
ret i64 -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/tmp8v_qar64.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [54 x i8] c"WARNING: PREVIOUS QUERY FAILED, dirty query context.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @null_query(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 @printf(ptr noundef @.str)
ret i64 -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/tmpf_clka9c.c'
source_filename = "/tmp/tmpf_clka9c.c"
target datalayout = "e-m:e-p270: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/tmpf_clka9c.c"
target datalayout = "e-m:e-p270: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/tmpdkc7rddo.c'
source_filename = "/tmp/tmpdkc7rddo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"OK\00", align 1
@.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @gdb_cmd_detach(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = call i32 @gdb_send_packet(ptr noundef @.str, i32 noundef 2)
%8 = call i32 @gdb_clear_breakpoints(i32 noundef 1)
%9 = call i32 @gdb_cmd_cont(ptr noundef @.str.1, i32 noundef 0)
ret void
}
declare i32 @gdb_send_packet(ptr noundef, i32 noundef) #1
declare i32 @gdb_clear_breakpoints(i32 noundef) #1
declare i32 @gdb_cmd_cont(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/tmpdkc7rddo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"OK\00", align 1
@.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @gdb_cmd_detach(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = call i32 @gdb_send_packet(ptr noundef @.str, i32 noundef 2)
%8 = call i32 @gdb_clear_breakpoints(i32 noundef 1)
%9 = call i32 @gdb_cmd_cont(ptr noundef @.str.1, i32 noundef 0)
ret void
}
declare i32 @gdb_send_packet(ptr noundef, i32 noundef) #1
declare i32 @gdb_clear_breakpoints(i32 noundef) #1
declare i32 @gdb_cmd_cont(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/tmpa1nv_h3p.c'
source_filename = "/tmp/tmpa1nv_h3p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"\C2\BD\C3\90\C2\BF\C3\A9\C2\A4J\C2\A4@\C2\AD\C3\93\C2\BC\C3\86\C2\AD\C3\88\C2\A1G\00", align 1
@stdin = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [39 x i8] c"\0A\C2\BD\C3\90\C2\BF\C3\A9\C2\A4J\C2\A4j\C2\A9\C3\B31\C2\AA\C2\BA\C2\BC\C3\86\C2\AD\C3\88\C2\A1I\07\07\07\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"\0A%d = \00", align 1
@EXIT_SUCCESS = 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
store i32 0, ptr %1, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = load i32, ptr @stdin, align 4
%5 = call i32 @fflush(i32 noundef %4)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%7 = load i32, ptr %2, align 4
%8 = icmp sle i32 %7, 1
br i1 %8, label %9, label %11
9: ; preds = %0
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %14
11: ; preds = %0
%12 = load i32, ptr %2, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %12)
br label %14
14: ; preds = %11, %9
%15 = load i32, ptr %2, align 4
%16 = call i32 @prime(i32 noundef %15)
%17 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %17
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @fflush(i32 noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @prime(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/tmpa1nv_h3p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"\C2\BD\C3\90\C2\BF\C3\A9\C2\A4J\C2\A4@\C2\AD\C3\93\C2\BC\C3\86\C2\AD\C3\88\C2\A1G\00", align 1
@stdin = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [39 x i8] c"\0A\C2\BD\C3\90\C2\BF\C3\A9\C2\A4J\C2\A4j\C2\A9\C3\B31\C2\AA\C2\BA\C2\BC\C3\86\C2\AD\C3\88\C2\A1I\07\07\07\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"\0A%d = \00", align 1
@EXIT_SUCCESS = 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
store i32 0, ptr %1, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = load i32, ptr @stdin, align 4
%5 = call i32 @fflush(i32 noundef %4)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%7 = load i32, ptr %2, align 4
%8 = icmp sle i32 %7, 1
br i1 %8, label %9, label %11
9: ; preds = %0
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %14
11: ; preds = %0
%12 = load i32, ptr %2, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %12)
br label %14
14: ; preds = %11, %9
%15 = load i32, ptr %2, align 4
%16 = call i32 @prime(i32 noundef %15)
%17 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %17
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @fflush(i32 noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @prime(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/tmph050i2to.c'
source_filename = "/tmp/tmph050i2to.c"
target datalayout = "e-m:e-p270: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/tmph050i2to.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_pjqb4xe.c'
source_filename = "/tmp/tmp_pjqb4xe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @asc2ulong(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
%10 = load ptr, ptr %5, align 8
%11 = load i32, ptr %6, align 4
%12 = call i64 @strtoul(ptr noundef %10, ptr noundef %8, i32 noundef %11)
store i64 %12, ptr %9, align 8
%13 = load ptr, ptr %8, align 8
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %21
17: ; preds = %3
%18 = load i32, ptr %7, align 4
%19 = icmp ne i32 %18, 0
br i1 %19, label %21, label %20
20: ; preds = %17
store i64 -1, ptr %4, align 8
br label %23
21: ; preds = %17, %3
%22 = load i64, ptr %9, align 8
store i64 %22, ptr %4, align 8
br label %23
23: ; preds = %21, %20
%24 = load i64, ptr %4, align 8
ret i64 %24
}
declare i64 @strtoul(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/tmp_pjqb4xe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @asc2ulong(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
%10 = load ptr, ptr %5, align 8
%11 = load i32, ptr %6, align 4
%12 = call i64 @strtoul(ptr noundef %10, ptr noundef %8, i32 noundef %11)
store i64 %12, ptr %9, align 8
%13 = load ptr, ptr %8, align 8
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %21
17: ; preds = %3
%18 = load i32, ptr %7, align 4
%19 = icmp ne i32 %18, 0
br i1 %19, label %21, label %20
20: ; preds = %17
store i64 -1, ptr %4, align 8
br label %23
21: ; preds = %17, %3
%22 = load i64, ptr %9, align 8
store i64 %22, ptr %4, align 8
br label %23
23: ; preds = %21, %20
%24 = load i64, ptr %4, align 8
ret i64 %24
}
declare i64 @strtoul(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/tmpqow49fsu.c'
source_filename = "/tmp/tmpqow49fsu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uninivar_abs() #0 {
%1 = alloca i32, align 4
%2 = load i32, ptr %1, align 4
%3 = call i32 @abs(i32 noundef %2) #2
ret void
}
; Function Attrs: nounwind willreturn memory(none)
declare i32 @abs(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 = { 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 #2 = { 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/tmpqow49fsu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uninivar_abs() #0 {
%1 = alloca i32, align 4
%2 = load i32, ptr %1, align 4
%3 = call i32 @abs(i32 noundef %2) #2
ret void
}
; Function Attrs: nounwind willreturn memory(none)
declare i32 @abs(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 = { 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 #2 = { 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/tmptvi8lsf4.c'
source_filename = "/tmp/tmptvi8lsf4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"(le(k,b,i,j,n),le(k,b,i,j,n))\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 100, ptr %1, align 4
%6 = load i32, ptr %4, align 4
store i32 %6, ptr %3, align 4
store i32 0, ptr %5, align 4
br label %7
7: ; preds = %27, %0
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %1, align 4
%10 = mul nsw i32 2, %9
%11 = icmp slt i32 %8, %10
br i1 %11, label %12, label %30
12: ; preds = %7
%13 = call i32 @tmpl(ptr noundef @.str)
%14 = load i32, ptr %2, align 4
%15 = icmp ne i32 %14, 0
br i1 %15, label %16, label %19
16: ; preds = %12
%17 = load i32, ptr %3, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %3, align 4
br label %22
19: ; preds = %12
%20 = load i32, ptr %4, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %4, align 4
br label %22
22: ; preds = %19, %16
%23 = load i32, ptr %2, align 4
%24 = icmp ne i32 %23, 0
%25 = xor i1 %24, true
%26 = zext i1 %25 to i32
store i32 %26, ptr %2, align 4
br label %27
27: ; preds = %22
%28 = load i32, ptr %5, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %5, align 4
br label %7, !llvm.loop !6
30: ; preds = %7
%31 = load i32, ptr %3, align 4
%32 = load i32, ptr %4, align 4
%33 = icmp eq i32 %31, %32
%34 = zext i1 %33 to i32
%35 = call i32 @assert(i32 noundef %34)
ret void
}
declare i32 @tmpl(ptr noundef) #1
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptvi8lsf4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"(le(k,b,i,j,n),le(k,b,i,j,n))\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 100, ptr %1, align 4
%6 = load i32, ptr %4, align 4
store i32 %6, ptr %3, align 4
store i32 0, ptr %5, align 4
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %1, align 4
%9 = mul nsw i32 2, %8
%10 = icmp slt i32 %7, %9
br i1 %10, label %.lr.ph, label %33
.lr.ph: ; preds = %0
br label %11
11: ; preds = %.lr.ph, %26
%12 = call i32 @tmpl(ptr noundef @.str)
%13 = load i32, ptr %2, align 4
%14 = icmp ne i32 %13, 0
br i1 %14, label %15, label %18
15: ; preds = %11
%16 = load i32, ptr %3, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %3, align 4
br label %21
18: ; preds = %11
%19 = load i32, ptr %4, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %4, align 4
br label %21
21: ; preds = %18, %15
%22 = load i32, ptr %2, align 4
%23 = icmp ne i32 %22, 0
%24 = xor i1 %23, true
%25 = zext i1 %24 to i32
store i32 %25, ptr %2, align 4
br label %26
26: ; preds = %21
%27 = load i32, ptr %5, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %5, align 4
%29 = load i32, ptr %5, align 4
%30 = load i32, ptr %1, align 4
%31 = mul nsw i32 2, %30
%32 = icmp slt i32 %29, %31
br i1 %32, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %26
br label %33
33: ; preds = %._crit_edge, %0
%34 = load i32, ptr %3, align 4
%35 = load i32, ptr %4, align 4
%36 = icmp eq i32 %34, %35
%37 = zext i1 %36 to i32
%38 = call i32 @assert(i32 noundef %37)
ret void
}
declare i32 @tmpl(ptr noundef) #1
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpmatxvdu3.c'
source_filename = "/tmp/tmpmatxvdu3.c"
target datalayout = "e-m:e-p270: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/tmpmatxvdu3.c"
target datalayout = "e-m:e-p270: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/tmp35g4p6zk.c'
source_filename = "/tmp/tmp35g4p6zk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d dentro \0A\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"%d fuera \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @f(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 = load i32, ptr %4, align 4
store i32 %5, ptr %3, align 4
br label %6
6: ; preds = %6, %1
%7 = call i32 (...) @random()
%8 = srem i32 %7, 5
%9 = call i32 @sleep(i32 noundef %8)
%10 = call i32 @sem_wait(i32 noundef 5)
%11 = load i32, ptr %3, align 4
%12 = call i32 @printf(ptr noundef @.str, i32 noundef %11)
%13 = call i32 (...) @random()
%14 = srem i32 %13, 5
%15 = call i32 @sleep(i32 noundef %14)
%16 = call i32 @sem_signal(i32 noundef 5)
%17 = load i32, ptr %3, align 4
%18 = call i32 @printf(ptr noundef @.str.1, i32 noundef %17)
br label %6
}
declare i32 @sleep(i32 noundef) #1
declare i32 @random(...) #1
declare i32 @sem_wait(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @sem_signal(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/tmp35g4p6zk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d dentro \0A\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"%d fuera \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @f(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 = load i32, ptr %4, align 4
store i32 %5, ptr %3, align 4
br label %6
6: ; preds = %6, %1
%7 = call i32 (...) @random()
%8 = srem i32 %7, 5
%9 = call i32 @sleep(i32 noundef %8)
%10 = call i32 @sem_wait(i32 noundef 5)
%11 = load i32, ptr %3, align 4
%12 = call i32 @printf(ptr noundef @.str, i32 noundef %11)
%13 = call i32 (...) @random()
%14 = srem i32 %13, 5
%15 = call i32 @sleep(i32 noundef %14)
%16 = call i32 @sem_signal(i32 noundef 5)
%17 = load i32, ptr %3, align 4
%18 = call i32 @printf(ptr noundef @.str.1, i32 noundef %17)
br label %6
}
declare i32 @sleep(i32 noundef) #1
declare i32 @random(...) #1
declare i32 @sem_wait(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @sem_signal(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/tmpc7fjjpal.c'
source_filename = "/tmp/tmpc7fjjpal.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isspace.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isspace should be 0 for 0xcf\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isspace_0xcf() #0 {
%1 = call i64 @isspace(i32 noundef 207)
%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 1040, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc7fjjpal.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isspace.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isspace should be 0 for 0xcf\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isspace_0xcf() #0 {
%1 = call i64 @isspace(i32 noundef 207)
%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 1040, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, 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"}
|
; ModuleID = '/tmp/tmpsbwufvfn.c'
source_filename = "/tmp/tmpsbwufvfn.c"
target datalayout = "e-m:e-p270: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.in6_addr = type { i32 }
%struct.ip6_rthdr = type { i32 }
%struct.ip6_rthdr0 = type { i32, i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @inet6_rth_reverse(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca %struct.in6_addr, align 4
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%14 = load ptr, ptr %4, align 8
store ptr %14, ptr %6, align 8
%15 = load ptr, ptr %6, align 8
%16 = getelementptr inbounds %struct.ip6_rthdr, ptr %15, i32 0, i32 0
%17 = load i32, ptr %16, align 4
switch i32 %17, label %70 [
i32 128, label %18
]
18: ; preds = %2
%19 = load ptr, ptr %4, align 8
store ptr %19, ptr %7, align 8
%20 = load ptr, ptr %5, align 8
store ptr %20, ptr %8, align 8
%21 = load ptr, ptr %7, align 8
%22 = getelementptr inbounds %struct.ip6_rthdr0, ptr %21, i32 0, i32 0
%23 = load i32, ptr %22, align 4
%24 = srem i32 %23, 2
%25 = icmp ne i32 %24, 0
br i1 %25, label %26, label %27
26: ; preds = %18
store i32 -1, ptr %3, align 4
br label %72
27: ; preds = %18
%28 = load ptr, ptr %7, align 8
%29 = getelementptr inbounds %struct.ip6_rthdr0, ptr %28, i32 0, i32 0
%30 = load i32, ptr %29, align 4
%31 = sdiv i32 %30, 2
store i32 %31, ptr %10, align 4
%32 = load ptr, ptr %8, align 8
%33 = load ptr, ptr %7, align 8
%34 = load ptr, ptr %7, align 8
%35 = getelementptr inbounds %struct.ip6_rthdr0, ptr %34, i32 0, i32 0
%36 = load i32, ptr %35, align 4
%37 = add nsw i32 %36, 1
%38 = shl i32 %37, 3
%39 = call i32 @memmove(ptr noundef %32, ptr noundef %33, i32 noundef %38)
%40 = load i32, ptr %10, align 4
%41 = load ptr, ptr %8, align 8
%42 = getelementptr inbounds %struct.ip6_rthdr0, ptr %41, i32 0, i32 1
store i32 %40, ptr %42, align 4
store i32 0, ptr %9, align 4
br label %43
43: ; preds = %66, %27
%44 = load i32, ptr %9, align 4
%45 = load i32, ptr %10, align 4
%46 = sdiv i32 %45, 2
%47 = icmp slt i32 %44, %46
br i1 %47, label %48, label %69
48: ; preds = %43
%49 = load ptr, ptr %8, align 8
%50 = getelementptr inbounds %struct.ip6_rthdr0, ptr %49, i64 1
%51 = load i32, ptr %9, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds %struct.in6_addr, ptr %50, i64 %52
store ptr %53, ptr %12, align 8
%54 = load ptr, ptr %8, align 8
%55 = getelementptr inbounds %struct.ip6_rthdr0, ptr %54, i64 1
%56 = load i32, ptr %10, align 4
%57 = load i32, ptr %9, align 4
%58 = sub nsw i32 %56, %57
%59 = sub nsw i32 %58, 1
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds %struct.in6_addr, ptr %55, i64 %60
store ptr %61, ptr %13, align 8
%62 = load ptr, ptr %12, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %11, ptr align 4 %62, i64 4, i1 false)
%63 = load ptr, ptr %12, align 8
%64 = load ptr, ptr %13, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %63, ptr align 4 %64, i64 4, i1 false)
%65 = load ptr, ptr %13, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %65, ptr align 4 %11, i64 4, i1 false)
br label %66
66: ; preds = %48
%67 = load i32, ptr %9, align 4
%68 = add nsw i32 %67, 1
store i32 %68, ptr %9, align 4
br label %43, !llvm.loop !6
69: ; preds = %43
br label %71
70: ; preds = %2
store i32 -1, ptr %3, align 4
br label %72
71: ; preds = %69
store i32 0, ptr %3, align 4
br label %72
72: ; preds = %71, %70, %26
%73 = load i32, ptr %3, align 4
ret i32 %73
}
declare i32 @memmove(ptr noundef, ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsbwufvfn.c"
target datalayout = "e-m:e-p270: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.in6_addr = type { i32 }
%struct.ip6_rthdr = type { i32 }
%struct.ip6_rthdr0 = type { i32, i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @inet6_rth_reverse(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca %struct.in6_addr, align 4
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%14 = load ptr, ptr %4, align 8
store ptr %14, ptr %6, align 8
%15 = load ptr, ptr %6, align 8
%16 = getelementptr inbounds %struct.ip6_rthdr, ptr %15, i32 0, i32 0
%17 = load i32, ptr %16, align 4
switch i32 %17, label %73 [
i32 128, label %18
]
18: ; preds = %2
%19 = load ptr, ptr %4, align 8
store ptr %19, ptr %7, align 8
%20 = load ptr, ptr %5, align 8
store ptr %20, ptr %8, align 8
%21 = load ptr, ptr %7, align 8
%22 = getelementptr inbounds %struct.ip6_rthdr0, ptr %21, i32 0, i32 0
%23 = load i32, ptr %22, align 4
%24 = srem i32 %23, 2
%25 = icmp ne i32 %24, 0
br i1 %25, label %26, label %27
26: ; preds = %18
store i32 -1, ptr %3, align 4
br label %75
27: ; preds = %18
%28 = load ptr, ptr %7, align 8
%29 = getelementptr inbounds %struct.ip6_rthdr0, ptr %28, i32 0, i32 0
%30 = load i32, ptr %29, align 4
%31 = sdiv i32 %30, 2
store i32 %31, ptr %10, align 4
%32 = load ptr, ptr %8, align 8
%33 = load ptr, ptr %7, align 8
%34 = load ptr, ptr %7, align 8
%35 = getelementptr inbounds %struct.ip6_rthdr0, ptr %34, i32 0, i32 0
%36 = load i32, ptr %35, align 4
%37 = add nsw i32 %36, 1
%38 = shl i32 %37, 3
%39 = call i32 @memmove(ptr noundef %32, ptr noundef %33, i32 noundef %38)
%40 = load i32, ptr %10, align 4
%41 = load ptr, ptr %8, align 8
%42 = getelementptr inbounds %struct.ip6_rthdr0, ptr %41, i32 0, i32 1
store i32 %40, ptr %42, align 4
store i32 0, ptr %9, align 4
%43 = load i32, ptr %9, align 4
%44 = load i32, ptr %10, align 4
%45 = sdiv i32 %44, 2
%46 = icmp slt i32 %43, %45
br i1 %46, label %.lr.ph, label %72
.lr.ph: ; preds = %27
br label %47
47: ; preds = %.lr.ph, %65
%48 = load ptr, ptr %8, align 8
%49 = getelementptr inbounds %struct.ip6_rthdr0, ptr %48, i64 1
%50 = load i32, ptr %9, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds %struct.in6_addr, ptr %49, i64 %51
store ptr %52, ptr %12, align 8
%53 = load ptr, ptr %8, align 8
%54 = getelementptr inbounds %struct.ip6_rthdr0, ptr %53, i64 1
%55 = load i32, ptr %10, align 4
%56 = load i32, ptr %9, align 4
%57 = sub nsw i32 %55, %56
%58 = sub nsw i32 %57, 1
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds %struct.in6_addr, ptr %54, i64 %59
store ptr %60, ptr %13, align 8
%61 = load ptr, ptr %12, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %11, ptr align 4 %61, i64 4, i1 false)
%62 = load ptr, ptr %12, align 8
%63 = load ptr, ptr %13, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %62, ptr align 4 %63, i64 4, i1 false)
%64 = load ptr, ptr %13, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %64, ptr align 4 %11, i64 4, i1 false)
br label %65
65: ; preds = %47
%66 = load i32, ptr %9, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %9, align 4
%68 = load i32, ptr %9, align 4
%69 = load i32, ptr %10, align 4
%70 = sdiv i32 %69, 2
%71 = icmp slt i32 %68, %70
br i1 %71, label %47, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %65
br label %72
72: ; preds = %._crit_edge, %27
br label %74
73: ; preds = %2
store i32 -1, ptr %3, align 4
br label %75
74: ; preds = %72
store i32 0, ptr %3, align 4
br label %75
75: ; preds = %74, %73, %26
%76 = load i32, ptr %3, align 4
ret i32 %76
}
declare i32 @memmove(ptr noundef, ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp49y82hyk.c'
source_filename = "/tmp/tmp49y82hyk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @coprthr_dwaitev(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %4, align 8
%6 = call i32 @__do_wait_1(ptr noundef %5)
ret i32 0
}
declare i32 @__do_wait_1(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp49y82hyk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @coprthr_dwaitev(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %4, align 8
%6 = call i32 @__do_wait_1(ptr noundef %5)
ret i32 0
}
declare i32 @__do_wait_1(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplq1yeuxr.c'
source_filename = "/tmp/tmplq1yeuxr.c"
target datalayout = "e-m:e-p270: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/tmplq1yeuxr.c"
target datalayout = "e-m:e-p270: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/tmpwx9tdoar.c'
source_filename = "/tmp/tmpwx9tdoar.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"boards/%s/%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @setbfile(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load ptr, ptr %6, align 8
%10 = call i32 @sprintf(ptr noundef %7, ptr noundef @.str, ptr noundef %8, ptr noundef %9)
%11 = load ptr, ptr %4, align 8
ret ptr %11
}
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwx9tdoar.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"boards/%s/%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @setbfile(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load ptr, ptr %6, align 8
%10 = call i32 @sprintf(ptr noundef %7, ptr noundef @.str, ptr noundef %8, ptr noundef %9)
%11 = load ptr, ptr %4, align 8
ret ptr %11
}
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnh4z5bdo.c'
source_filename = "/tmp/tmpnh4z5bdo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_InterlockedDecrement(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 i64 @_InterlockedExchangeAdd(ptr noundef %3, i32 noundef -1)
%5 = sub nsw i64 %4, 1
ret i64 %5
}
declare i64 @_InterlockedExchangeAdd(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/tmpnh4z5bdo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_InterlockedDecrement(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 i64 @_InterlockedExchangeAdd(ptr noundef %3, i32 noundef -1)
%5 = sub nsw i64 %4, 1
ret i64 %5
}
declare i64 @_InterlockedExchangeAdd(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/tmplnu9akuy.c'
source_filename = "/tmp/tmplnu9akuy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tracebackF1() #0 {
%1 = call i32 (...) @tracebackF2()
ret i32 %1
}
declare i32 @tracebackF2(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplnu9akuy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tracebackF1() #0 {
%1 = call i32 (...) @tracebackF2()
ret i32 %1
}
declare i32 @tracebackF2(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpg693nduz.c'
source_filename = "/tmp/tmpg693nduz.c"
target datalayout = "e-m:e-p270: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/tmpg693nduz.c"
target datalayout = "e-m:e-p270: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/tmp6ac_ncfn.c'
source_filename = "/tmp/tmp6ac_ncfn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/proc/%d/as\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@O_EXCL = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
@EBUSY = dso_local global i32 0, align 4
@PTRACE_ATTACH = dso_local global i32 0, align 4
@SIGCONT = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [19 x i8] c"%s: Being traced!\0A\00", align 1
@SIGKILL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @untraceable(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [80 x i8], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%6 = call i32 @vfork() #4
store i32 %6, ptr %4, align 4
switch i32 %6, label %52 [
i32 0, label %7
i32 -1, label %51
]
7: ; preds = %1
%8 = call i32 (...) @getppid()
store i32 %8, ptr %4, align 4
%9 = getelementptr inbounds [80 x i8], ptr %3, i64 0, i64 0
%10 = load i32, ptr %4, align 4
%11 = call i32 @sprintf(ptr noundef %9, ptr noundef @.str, i32 noundef %10)
%12 = call i32 @close(i32 noundef 0)
%13 = getelementptr inbounds [80 x i8], ptr %3, i64 0, i64 0
%14 = load i32, ptr @O_RDWR, align 4
%15 = load i32, ptr @O_EXCL, align 4
%16 = or i32 %14, %15
%17 = call i32 @open(ptr noundef %13, i32 noundef %16)
%18 = icmp ne i32 %17, 0
%19 = xor i1 %18, true
%20 = zext i1 %19 to i32
store i32 %20, ptr %5, align 4
%21 = load i32, ptr %5, align 4
%22 = icmp ne i32 %21, 0
br i1 %22, label %34, label %23
23: ; preds = %7
%24 = load i32, ptr @errno, align 4
%25 = load i32, ptr @EBUSY, align 4
%26 = icmp ne i32 %24, %25
br i1 %26, label %27, label %34
27: ; preds = %23
%28 = load i32, ptr @PTRACE_ATTACH, align 4
%29 = load i32, ptr %4, align 4
%30 = call i32 @ptrace(i32 noundef %28, i32 noundef %29, i32 noundef 0, i32 noundef 0)
%31 = icmp ne i32 %30, 0
%32 = xor i1 %31, true
%33 = zext i1 %32 to i32
store i32 %33, ptr %5, align 4
br label %34
34: ; preds = %27, %23, %7
%35 = load i32, ptr %5, align 4
%36 = icmp ne i32 %35, 0
br i1 %36, label %37, label %41
37: ; preds = %34
%38 = load i32, ptr %4, align 4
%39 = load i32, ptr @SIGCONT, align 4
%40 = call i32 @kill(i32 noundef %38, i32 noundef %39)
br label %48
41: ; preds = %34
%42 = load i32, ptr @stderr, align 4
%43 = load ptr, ptr %2, align 8
%44 = call i32 @fprintf(i32 noundef %42, ptr noundef @.str.1, ptr noundef %43)
%45 = load i32, ptr %4, align 4
%46 = load i32, ptr @SIGKILL, align 4
%47 = call i32 @kill(i32 noundef %45, i32 noundef %46)
br label %48
48: ; preds = %41, %37
%49 = load i32, ptr %5, align 4
%50 = call i32 @_exit(i32 noundef %49) #5
unreachable
51: ; preds = %1
br label %59
52: ; preds = %1
%53 = load i32, ptr %4, align 4
%54 = load i32, ptr %4, align 4
%55 = call i32 @waitpid(i32 noundef %54, i32 noundef 0, i32 noundef 0)
%56 = icmp eq i32 %53, %55
br i1 %56, label %57, label %58
57: ; preds = %52
ret void
58: ; preds = %52
br label %59
59: ; preds = %58, %51
%60 = load ptr, ptr %2, align 8
%61 = call i32 @perror(ptr noundef %60)
%62 = call i32 @_exit(i32 noundef 1) #5
unreachable
}
; Function Attrs: returns_twice
declare i32 @vfork() #1
declare i32 @getppid(...) #2
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @close(i32 noundef) #2
declare i32 @open(ptr noundef, i32 noundef) #2
declare i32 @ptrace(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #2
declare i32 @kill(i32 noundef, i32 noundef) #2
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #2
; Function Attrs: noreturn
declare i32 @_exit(i32 noundef) #3
declare i32 @waitpid(i32 noundef, i32 noundef, i32 noundef) #2
declare i32 @perror(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 = { returns_twice "frame-pointer"="all" "no-trapping-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 = { returns_twice }
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/tmp6ac_ncfn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/proc/%d/as\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@O_EXCL = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
@EBUSY = dso_local global i32 0, align 4
@PTRACE_ATTACH = dso_local global i32 0, align 4
@SIGCONT = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [19 x i8] c"%s: Being traced!\0A\00", align 1
@SIGKILL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @untraceable(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [80 x i8], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%6 = call i32 @vfork() #4
store i32 %6, ptr %4, align 4
switch i32 %6, label %52 [
i32 0, label %7
i32 -1, label %51
]
7: ; preds = %1
%8 = call i32 (...) @getppid()
store i32 %8, ptr %4, align 4
%9 = getelementptr inbounds [80 x i8], ptr %3, i64 0, i64 0
%10 = load i32, ptr %4, align 4
%11 = call i32 @sprintf(ptr noundef %9, ptr noundef @.str, i32 noundef %10)
%12 = call i32 @close(i32 noundef 0)
%13 = getelementptr inbounds [80 x i8], ptr %3, i64 0, i64 0
%14 = load i32, ptr @O_RDWR, align 4
%15 = load i32, ptr @O_EXCL, align 4
%16 = or i32 %14, %15
%17 = call i32 @open(ptr noundef %13, i32 noundef %16)
%18 = icmp ne i32 %17, 0
%19 = xor i1 %18, true
%20 = zext i1 %19 to i32
store i32 %20, ptr %5, align 4
%21 = load i32, ptr %5, align 4
%22 = icmp ne i32 %21, 0
br i1 %22, label %34, label %23
23: ; preds = %7
%24 = load i32, ptr @errno, align 4
%25 = load i32, ptr @EBUSY, align 4
%26 = icmp ne i32 %24, %25
br i1 %26, label %27, label %34
27: ; preds = %23
%28 = load i32, ptr @PTRACE_ATTACH, align 4
%29 = load i32, ptr %4, align 4
%30 = call i32 @ptrace(i32 noundef %28, i32 noundef %29, i32 noundef 0, i32 noundef 0)
%31 = icmp ne i32 %30, 0
%32 = xor i1 %31, true
%33 = zext i1 %32 to i32
store i32 %33, ptr %5, align 4
br label %34
34: ; preds = %27, %23, %7
%35 = load i32, ptr %5, align 4
%36 = icmp ne i32 %35, 0
br i1 %36, label %37, label %41
37: ; preds = %34
%38 = load i32, ptr %4, align 4
%39 = load i32, ptr @SIGCONT, align 4
%40 = call i32 @kill(i32 noundef %38, i32 noundef %39)
br label %48
41: ; preds = %34
%42 = load i32, ptr @stderr, align 4
%43 = load ptr, ptr %2, align 8
%44 = call i32 @fprintf(i32 noundef %42, ptr noundef @.str.1, ptr noundef %43)
%45 = load i32, ptr %4, align 4
%46 = load i32, ptr @SIGKILL, align 4
%47 = call i32 @kill(i32 noundef %45, i32 noundef %46)
br label %48
48: ; preds = %41, %37
%49 = load i32, ptr %5, align 4
%50 = call i32 @_exit(i32 noundef %49) #5
unreachable
51: ; preds = %1
br label %59
52: ; preds = %1
%53 = load i32, ptr %4, align 4
%54 = load i32, ptr %4, align 4
%55 = call i32 @waitpid(i32 noundef %54, i32 noundef 0, i32 noundef 0)
%56 = icmp eq i32 %53, %55
br i1 %56, label %57, label %58
57: ; preds = %52
ret void
58: ; preds = %52
br label %59
59: ; preds = %58, %51
%60 = load ptr, ptr %2, align 8
%61 = call i32 @perror(ptr noundef %60)
%62 = call i32 @_exit(i32 noundef 1) #5
unreachable
}
; Function Attrs: returns_twice
declare i32 @vfork() #1
declare i32 @getppid(...) #2
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @close(i32 noundef) #2
declare i32 @open(ptr noundef, i32 noundef) #2
declare i32 @ptrace(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #2
declare i32 @kill(i32 noundef, i32 noundef) #2
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #2
; Function Attrs: noreturn
declare i32 @_exit(i32 noundef) #3
declare i32 @waitpid(i32 noundef, i32 noundef, i32 noundef) #2
declare i32 @perror(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 = { returns_twice "frame-pointer"="all" "no-trapping-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 = { returns_twice }
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/tmp6kh50b5r.c'
source_filename = "/tmp/tmp6kh50b5r.c"
target datalayout = "e-m:e-p270: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/tmp6kh50b5r.c"
target datalayout = "e-m:e-p270: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/tmp3yyzv2lr.c'
source_filename = "/tmp/tmp3yyzv2lr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @target_reset() #0 {
%1 = call i32 @monrestart(i32 noundef 48)
ret void
}
declare i32 @monrestart(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/tmp3yyzv2lr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @target_reset() #0 {
%1 = call i32 @monrestart(i32 noundef 48)
ret void
}
declare i32 @monrestart(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/tmpye5mygwv.c'
source_filename = "/tmp/tmpye5mygwv.c"
target datalayout = "e-m:e-p270: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/tmpye5mygwv.c"
target datalayout = "e-m:e-p270: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/tmpomraz0b0.c'
source_filename = "/tmp/tmpomraz0b0.c"
target datalayout = "e-m:e-p270: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/tmpomraz0b0.c"
target datalayout = "e-m:e-p270: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/tmp50wga16_.c'
source_filename = "/tmp/tmp50wga16_.c"
target datalayout = "e-m:e-p270: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/tmp50wga16_.c"
target datalayout = "e-m:e-p270: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/tmpt1k001lw.c'
source_filename = "/tmp/tmpt1k001lw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i16 @checksum(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca [2 x i8], align 1
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store i32 0, ptr %5, align 4
%8 = load ptr, ptr %3, align 8
store ptr %8, ptr %6, align 8
br label %9
9: ; preds = %19, %2
%10 = load i64, ptr %4, align 8
%11 = icmp ugt i64 %10, 1
br i1 %11, label %12, label %22
12: ; preds = %9
%13 = load ptr, ptr %6, align 8
%14 = getelementptr inbounds i16, ptr %13, i32 1
store ptr %14, ptr %6, align 8
%15 = load i16, ptr %13, align 2
%16 = zext i16 %15 to i32
%17 = load i32, ptr %5, align 4
%18 = add i32 %17, %16
store i32 %18, ptr %5, align 4
br label %19
19: ; preds = %12
%20 = load i64, ptr %4, align 8
%21 = sub i64 %20, 2
store i64 %21, ptr %4, align 8
br label %9, !llvm.loop !6
22: ; preds = %9
%23 = load i64, ptr %4, align 8
%24 = icmp ne i64 %23, 0
br i1 %24, label %25, label %35
25: ; preds = %22
%26 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0
%27 = load ptr, ptr %6, align 8
%28 = load i8, ptr %27, align 1
store i8 %28, ptr %26, align 1
%29 = getelementptr inbounds i8, ptr %26, i64 1
store i8 0, ptr %29, align 1
%30 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0
%31 = load i16, ptr %30, align 1
%32 = zext i16 %31 to i32
%33 = load i32, ptr %5, align 4
%34 = add i32 %33, %32
store i32 %34, ptr %5, align 4
br label %35
35: ; preds = %25, %22
%36 = load i32, ptr %5, align 4
%37 = lshr i32 %36, 16
%38 = load i32, ptr %5, align 4
%39 = and i32 %38, 65535
%40 = add i32 %37, %39
store i32 %40, ptr %5, align 4
%41 = load i32, ptr %5, align 4
%42 = lshr i32 %41, 16
%43 = load i32, ptr %5, align 4
%44 = add i32 %43, %42
store i32 %44, ptr %5, align 4
%45 = load i32, ptr %5, align 4
%46 = xor i32 %45, -1
%47 = trunc i32 %46 to i16
ret i16 %47
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpt1k001lw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i16 @checksum(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca [2 x i8], align 1
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store i32 0, ptr %5, align 4
%8 = load ptr, ptr %3, align 8
store ptr %8, ptr %6, align 8
%9 = load i64, ptr %4, align 8
%10 = icmp ugt i64 %9, 1
br i1 %10, label %.lr.ph, label %23
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %18
%12 = load ptr, ptr %6, align 8
%13 = getelementptr inbounds i16, ptr %12, i32 1
store ptr %13, ptr %6, align 8
%14 = load i16, ptr %12, align 2
%15 = zext i16 %14 to i32
%16 = load i32, ptr %5, align 4
%17 = add i32 %16, %15
store i32 %17, ptr %5, align 4
br label %18
18: ; preds = %11
%19 = load i64, ptr %4, align 8
%20 = sub i64 %19, 2
store i64 %20, ptr %4, align 8
%21 = load i64, ptr %4, align 8
%22 = icmp ugt i64 %21, 1
br i1 %22, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %23
23: ; preds = %._crit_edge, %2
%24 = load i64, ptr %4, align 8
%25 = icmp ne i64 %24, 0
br i1 %25, label %26, label %36
26: ; preds = %23
%27 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0
%28 = load ptr, ptr %6, align 8
%29 = load i8, ptr %28, align 1
store i8 %29, ptr %27, align 1
%30 = getelementptr inbounds i8, ptr %27, i64 1
store i8 0, ptr %30, align 1
%31 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0
%32 = load i16, ptr %31, align 1
%33 = zext i16 %32 to i32
%34 = load i32, ptr %5, align 4
%35 = add i32 %34, %33
store i32 %35, ptr %5, align 4
br label %36
36: ; preds = %26, %23
%37 = load i32, ptr %5, align 4
%38 = lshr i32 %37, 16
%39 = load i32, ptr %5, align 4
%40 = and i32 %39, 65535
%41 = add i32 %38, %40
store i32 %41, ptr %5, align 4
%42 = load i32, ptr %5, align 4
%43 = lshr i32 %42, 16
%44 = load i32, ptr %5, align 4
%45 = add i32 %44, %43
store i32 %45, ptr %5, align 4
%46 = load i32, ptr %5, align 4
%47 = xor i32 %46, -1
%48 = trunc i32 %47 to i16
ret i16 %48
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp6sezjb1y.c'
source_filename = "/tmp/tmp6sezjb1y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @kmalloc(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call ptr @__kern_mm_alloc(i32 noundef %3)
ret ptr %4
}
declare ptr @__kern_mm_alloc(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/tmp6sezjb1y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @kmalloc(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call ptr @__kern_mm_alloc(i32 noundef %3)
ret ptr %4
}
declare ptr @__kern_mm_alloc(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/tmpvnt7q6m5.c'
source_filename = "/tmp/tmpvnt7q6m5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
store i32 0, ptr %1, align 4
%6 = call double @__BUILTIN_DAED_DBETWEEN_WITH_ULP(double noundef -4.500000e+00, double noundef -3.000000e-01)
store double %6, ptr %2, align 8
%7 = call double @__BUILTIN_DAED_DBETWEEN_WITH_ULP(double noundef 4.000000e-01, double noundef 9.000000e-01)
store double %7, ptr %3, align 8
%8 = call double @__BUILTIN_DAED_DBETWEEN_WITH_ULP(double noundef 3.800000e+00, double noundef 0x401F333333333333)
store double %8, ptr %4, align 8
%9 = load double, ptr %4, align 8
%10 = load double, ptr %4, align 8
%11 = fmul double %9, %10
%12 = fdiv double 2.000000e+00, %11
%13 = fadd double 3.000000e+00, %12
%14 = load double, ptr %2, align 8
%15 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %14, double 3.000000e+00)
%16 = fmul double 1.250000e-01, %15
%17 = load double, ptr %3, align 8
%18 = load double, ptr %3, align 8
%19 = fmul double %17, %18
%20 = load double, ptr %4, align 8
%21 = fmul double %19, %20
%22 = load double, ptr %4, align 8
%23 = fmul double %21, %22
%24 = fmul double %16, %23
%25 = load double, ptr %2, align 8
%26 = fsub double 1.000000e+00, %25
%27 = fdiv double %24, %26
%28 = fsub double %13, %27
%29 = fsub double %28, 4.500000e+00
store double %29, ptr %5, align 8
%30 = load double, ptr %5, align 8
%31 = call i32 @DSENSITIVITY(double noundef %30)
ret i32 0
}
declare double @__BUILTIN_DAED_DBETWEEN_WITH_ULP(double noundef, double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare i32 @DSENSITIVITY(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" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvnt7q6m5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
store i32 0, ptr %1, align 4
%6 = call double @__BUILTIN_DAED_DBETWEEN_WITH_ULP(double noundef -4.500000e+00, double noundef -3.000000e-01)
store double %6, ptr %2, align 8
%7 = call double @__BUILTIN_DAED_DBETWEEN_WITH_ULP(double noundef 4.000000e-01, double noundef 9.000000e-01)
store double %7, ptr %3, align 8
%8 = call double @__BUILTIN_DAED_DBETWEEN_WITH_ULP(double noundef 3.800000e+00, double noundef 0x401F333333333333)
store double %8, ptr %4, align 8
%9 = load double, ptr %4, align 8
%10 = load double, ptr %4, align 8
%11 = fmul double %9, %10
%12 = fdiv double 2.000000e+00, %11
%13 = fadd double 3.000000e+00, %12
%14 = load double, ptr %2, align 8
%15 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %14, double 3.000000e+00)
%16 = fmul double 1.250000e-01, %15
%17 = load double, ptr %3, align 8
%18 = load double, ptr %3, align 8
%19 = fmul double %17, %18
%20 = load double, ptr %4, align 8
%21 = fmul double %19, %20
%22 = load double, ptr %4, align 8
%23 = fmul double %21, %22
%24 = fmul double %16, %23
%25 = load double, ptr %2, align 8
%26 = fsub double 1.000000e+00, %25
%27 = fdiv double %24, %26
%28 = fsub double %13, %27
%29 = fsub double %28, 4.500000e+00
store double %29, ptr %5, align 8
%30 = load double, ptr %5, align 8
%31 = call i32 @DSENSITIVITY(double noundef %30)
ret i32 0
}
declare double @__BUILTIN_DAED_DBETWEEN_WITH_ULP(double noundef, double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare i32 @DSENSITIVITY(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" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpliug6u7f.c'
source_filename = "/tmp/tmpliug6u7f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_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
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%8 = load i32, ptr %7, align 4
%9 = icmp ne i32 %8, 0
br i1 %9, label %10, label %15
10: ; preds = %3
%11 = load ptr, ptr %6, align 8
%12 = load i32, ptr %7, align 4
%13 = call i32 @usart_read_arr(ptr noundef %11, i32 noundef %12)
store i32 %13, ptr %7, align 4
%14 = load i32, ptr %7, align 4
store i32 %14, ptr %4, align 4
br label %16
15: ; preds = %3
store i32 0, ptr %4, align 4
br label %16
16: ; preds = %15, %10
%17 = load i32, ptr %4, align 4
ret i32 %17
}
declare i32 @usart_read_arr(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/tmpliug6u7f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_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
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%8 = load i32, ptr %7, align 4
%9 = icmp ne i32 %8, 0
br i1 %9, label %10, label %15
10: ; preds = %3
%11 = load ptr, ptr %6, align 8
%12 = load i32, ptr %7, align 4
%13 = call i32 @usart_read_arr(ptr noundef %11, i32 noundef %12)
store i32 %13, ptr %7, align 4
%14 = load i32, ptr %7, align 4
store i32 %14, ptr %4, align 4
br label %16
15: ; preds = %3
store i32 0, ptr %4, align 4
br label %16
16: ; preds = %15, %10
%17 = load i32, ptr %4, align 4
ret i32 %17
}
declare i32 @usart_read_arr(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/tmpl8o86nqe.c'
source_filename = "/tmp/tmpl8o86nqe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @normalize(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca float, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store float 0.000000e+00, ptr %5, align 4
store i32 0, ptr %6, align 4
br label %7
7: ; preds = %24, %2
%8 = load i32, ptr %6, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %27
11: ; preds = %7
%12 = load ptr, ptr %3, align 8
%13 = load i32, ptr %6, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds float, ptr %12, i64 %14
%16 = load float, ptr %15, align 4
%17 = load ptr, ptr %3, align 8
%18 = load i32, ptr %6, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds float, ptr %17, i64 %19
%21 = load float, ptr %20, align 4
%22 = load float, ptr %5, align 4
%23 = call float @llvm.fmuladd.f32(float %16, float %21, float %22)
store float %23, ptr %5, align 4
br label %24
24: ; preds = %11
%25 = load i32, ptr %6, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %6, align 4
br label %7, !llvm.loop !6
27: ; preds = %7
%28 = load float, ptr %5, align 4
%29 = call float @sqrt(float noundef %28)
store float %29, ptr %5, align 4
store i32 0, ptr %6, align 4
br label %30
30: ; preds = %42, %27
%31 = load i32, ptr %6, align 4
%32 = load i32, ptr %4, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %34, label %45
34: ; preds = %30
%35 = load float, ptr %5, align 4
%36 = load ptr, ptr %3, align 8
%37 = load i32, ptr %6, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds float, ptr %36, i64 %38
%40 = load float, ptr %39, align 4
%41 = fdiv float %40, %35
store float %41, ptr %39, align 4
br label %42
42: ; preds = %34
%43 = load i32, ptr %6, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %6, align 4
br label %30, !llvm.loop !8
45: ; preds = %30
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #1
declare float @sqrt(float noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl8o86nqe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @normalize(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca float, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store float 0.000000e+00, ptr %5, align 4
store i32 0, ptr %6, align 4
%7 = load i32, ptr %6, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %.lr.ph, label %29
.lr.ph: ; preds = %2
br label %10
10: ; preds = %.lr.ph, %23
%11 = load ptr, ptr %3, align 8
%12 = load i32, ptr %6, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds float, ptr %11, i64 %13
%15 = load float, ptr %14, align 4
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %6, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds float, ptr %16, i64 %18
%20 = load float, ptr %19, align 4
%21 = load float, ptr %5, align 4
%22 = call float @llvm.fmuladd.f32(float %15, float %20, float %21)
store float %22, ptr %5, align 4
br label %23
23: ; preds = %10
%24 = load i32, ptr %6, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %6, align 4
%26 = load i32, ptr %6, align 4
%27 = load i32, ptr %4, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %29
29: ; preds = %._crit_edge, %2
%30 = load float, ptr %5, align 4
%31 = call float @sqrt(float noundef %30)
store float %31, ptr %5, align 4
store i32 0, ptr %6, align 4
%32 = load i32, ptr %6, align 4
%33 = load i32, ptr %4, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %.lr.ph2, label %49
.lr.ph2: ; preds = %29
br label %35
35: ; preds = %.lr.ph2, %43
%36 = load float, ptr %5, align 4
%37 = load ptr, ptr %3, align 8
%38 = load i32, ptr %6, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds float, ptr %37, i64 %39
%41 = load float, ptr %40, align 4
%42 = fdiv float %41, %36
store float %42, ptr %40, align 4
br label %43
43: ; preds = %35
%44 = load i32, ptr %6, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %6, align 4
%46 = load i32, ptr %6, align 4
%47 = load i32, ptr %4, align 4
%48 = icmp slt i32 %46, %47
br i1 %48, label %35, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %43
br label %49
49: ; preds = %._crit_edge3, %29
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #1
declare float @sqrt(float noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp2y94jbag.c'
source_filename = "/tmp/tmp2y94jbag.c"
target datalayout = "e-m:e-p270: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/tmp2y94jbag.c"
target datalayout = "e-m:e-p270: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/tmp4_6nythi.c'
source_filename = "/tmp/tmp4_6nythi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clamp16(i64 noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store i64 %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%8 = load i64, ptr %5, align 8
%9 = load i64, ptr %6, align 8
%10 = icmp slt i64 %8, %9
br i1 %10, label %11, label %13
11: ; preds = %3
%12 = load i64, ptr %6, align 8
store i64 %12, ptr %4, align 8
br label %22
13: ; preds = %3
%14 = load i64, ptr %5, align 8
%15 = load i64, ptr %7, align 8
%16 = icmp sge i64 %14, %15
br i1 %16, label %17, label %20
17: ; preds = %13
%18 = load i64, ptr %7, align 8
%19 = sub nsw i64 %18, 1
store i64 %19, ptr %4, align 8
br label %22
20: ; preds = %13
%21 = load i64, ptr %5, align 8
store i64 %21, ptr %4, align 8
br label %22
22: ; preds = %20, %17, %11
%23 = load i64, ptr %4, align 8
ret i64 %23
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4_6nythi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clamp16(i64 noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store i64 %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%8 = load i64, ptr %5, align 8
%9 = load i64, ptr %6, align 8
%10 = icmp slt i64 %8, %9
br i1 %10, label %11, label %13
11: ; preds = %3
%12 = load i64, ptr %6, align 8
store i64 %12, ptr %4, align 8
br label %22
13: ; preds = %3
%14 = load i64, ptr %5, align 8
%15 = load i64, ptr %7, align 8
%16 = icmp sge i64 %14, %15
br i1 %16, label %17, label %20
17: ; preds = %13
%18 = load i64, ptr %7, align 8
%19 = sub nsw i64 %18, 1
store i64 %19, ptr %4, align 8
br label %22
20: ; preds = %13
%21 = load i64, ptr %5, align 8
store i64 %21, ptr %4, align 8
br label %22
22: ; preds = %20, %17, %11
%23 = load i64, ptr %4, align 8
ret i64 %23
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnf80jhbz.c'
source_filename = "/tmp/tmpnf80jhbz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [27 x i8] c"Failed to allocate memory\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @xmalloc(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
store i64 %0, ptr %2, align 8
%4 = load i64, ptr %2, align 8
%5 = call ptr @malloc(i64 noundef %4) #4
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %12
8: ; preds = %1
%9 = load i32, ptr @stderr, align 4
%10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str)
%11 = call i32 @exit(i32 noundef 1) #5
unreachable
12: ; preds = %1
%13 = load ptr, ptr %3, align 8
ret ptr %13
}
; Function Attrs: allocsize(0)
declare ptr @malloc(i64 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { allocsize(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 = { 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(0) }
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/tmpnf80jhbz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [27 x i8] c"Failed to allocate memory\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @xmalloc(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
store i64 %0, ptr %2, align 8
%4 = load i64, ptr %2, align 8
%5 = call ptr @malloc(i64 noundef %4) #4
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %12
8: ; preds = %1
%9 = load i32, ptr @stderr, align 4
%10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str)
%11 = call i32 @exit(i32 noundef 1) #5
unreachable
12: ; preds = %1
%13 = load ptr, ptr %3, align 8
ret ptr %13
}
; Function Attrs: allocsize(0)
declare ptr @malloc(i64 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { allocsize(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 = { 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(0) }
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/tmpm_6uz4hv.c'
source_filename = "/tmp/tmpm_6uz4hv.c"
target datalayout = "e-m:e-p270: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 [24 x i8] c"Should never reach here\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @grpcsharp_composite_call_credentials_create() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
%3 = call i32 (...) @abort() #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpm_6uz4hv.c"
target datalayout = "e-m:e-p270: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 [24 x i8] c"Should never reach here\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @grpcsharp_composite_call_credentials_create() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
%3 = call i32 (...) @abort() #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1t2s3dfc.c'
source_filename = "/tmp/tmp1t2s3dfc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%f\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [10 x i32], align 16
%3 = alloca float, align 4
store i32 0, ptr %1, align 4
%4 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0
%5 = call i32 @sayilariOku(ptr noundef %4, i32 noundef 10)
%6 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0
%7 = call float @ortalamaBul(ptr noundef %6, i32 noundef 10)
store float %7, ptr %3, align 4
%8 = load float, ptr %3, align 4
%9 = call i32 @printf(ptr noundef @.str, float noundef %8)
ret i32 0
}
declare i32 @sayilariOku(ptr noundef, i32 noundef) #1
declare float @ortalamaBul(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, 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/tmp1t2s3dfc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%f\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [10 x i32], align 16
%3 = alloca float, align 4
store i32 0, ptr %1, align 4
%4 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0
%5 = call i32 @sayilariOku(ptr noundef %4, i32 noundef 10)
%6 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0
%7 = call float @ortalamaBul(ptr noundef %6, i32 noundef 10)
store float %7, ptr %3, align 4
%8 = load float, ptr %3, align 4
%9 = call i32 @printf(ptr noundef @.str, float noundef %8)
ret i32 0
}
declare i32 @sayilariOku(ptr noundef, i32 noundef) #1
declare float @ortalamaBul(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, 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/tmp6ta1pczf.c'
source_filename = "/tmp/tmp6ta1pczf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [27 x i8] c"Usage: %s ACTION [params]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @init_random()
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %7, 2
br i1 %8, label %9, label %15
9: ; preds = %2
%10 = load i32, ptr @stderr, align 4
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 0
%13 = load ptr, ptr %12, align 8
%14 = call i32 @fprintf(i32 noundef %10, ptr noundef @.str, ptr noundef %13)
store i32 -1, ptr %3, align 4
br label %19
15: ; preds = %2
%16 = load i32, ptr %4, align 4
%17 = load ptr, ptr %5, align 8
%18 = call i32 @dispatch(i32 noundef %16, ptr noundef %17)
store i32 %18, ptr %3, align 4
br label %19
19: ; preds = %15, %9
%20 = load i32, ptr %3, align 4
ret i32 %20
}
declare i32 @init_random(...) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @dispatch(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/tmp6ta1pczf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [27 x i8] c"Usage: %s ACTION [params]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @init_random()
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %7, 2
br i1 %8, label %9, label %15
9: ; preds = %2
%10 = load i32, ptr @stderr, align 4
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 0
%13 = load ptr, ptr %12, align 8
%14 = call i32 @fprintf(i32 noundef %10, ptr noundef @.str, ptr noundef %13)
store i32 -1, ptr %3, align 4
br label %19
15: ; preds = %2
%16 = load i32, ptr %4, align 4
%17 = load ptr, ptr %5, align 8
%18 = call i32 @dispatch(i32 noundef %16, ptr noundef %17)
store i32 %18, ptr %3, align 4
br label %19
19: ; preds = %15, %9
%20 = load i32, ptr %3, align 4
ret i32 %20
}
declare i32 @init_random(...) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @dispatch(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/tmprwml456u.c'
source_filename = "/tmp/tmprwml456u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ili9325_clear(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = call i32 @ili9325_set_window(i32 noundef 0, i32 noundef 0, i32 noundef 240, i32 noundef 320)
store i16 34, ptr inttoptr (i64 1879048192 to ptr), align 2
store i32 0, ptr %3, align 4
br label %5
5: ; preds = %11, %1
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 %6, 76800
br i1 %7, label %8, label %14
8: ; preds = %5
%9 = load i32, ptr %2, align 4
%10 = trunc i32 %9 to i16
store i16 %10, ptr inttoptr (i64 2013265920 to ptr), align 2
br label %11
11: ; preds = %8
%12 = load i32, ptr %3, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %3, align 4
br label %5, !llvm.loop !6
14: ; preds = %5
ret void
}
declare i32 @ili9325_set_window(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprwml456u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ili9325_clear(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = call i32 @ili9325_set_window(i32 noundef 0, i32 noundef 0, i32 noundef 240, i32 noundef 320)
store i16 34, ptr inttoptr (i64 1879048192 to ptr), align 2
store i32 0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 76800
br i1 %6, label %.lr.ph, label %15
.lr.ph: ; preds = %1
br label %7
7: ; preds = %.lr.ph, %10
%8 = load i32, ptr %2, align 4
%9 = trunc i32 %8 to i16
store i16 %9, ptr inttoptr (i64 2013265920 to ptr), align 2
br label %10
10: ; preds = %7
%11 = load i32, ptr %3, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %3, align 4
%13 = load i32, ptr %3, align 4
%14 = icmp slt i32 %13, 76800
br i1 %14, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %10
br label %15
15: ; preds = %._crit_edge, %1
ret void
}
declare i32 @ili9325_set_window(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpnt9r9d8q.c'
source_filename = "/tmp/tmpnt9r9d8q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bar() #0 {
%1 = call i32 (...) @foo()
ret void
}
declare i32 @foo(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnt9r9d8q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bar() #0 {
%1 = call i32 (...) @foo()
ret void
}
declare i32 @foo(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpuwx4tiq7.c'
source_filename = "/tmp/tmpuwx4tiq7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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" ,\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @read_csv_ints(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca [1024 x i8], align 16
%10 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 4096, ptr %6, align 4
%11 = load i32, ptr %6, align 4
%12 = call i64 @malloc(i32 noundef %11)
%13 = inttoptr i64 %12 to ptr
store ptr %13, ptr %7, align 8
%14 = load ptr, ptr %7, align 8
%15 = icmp eq ptr %14, null
br i1 %15, label %16, label %17
16: ; preds = %2
store ptr null, ptr %3, align 8
br label %56
17: ; preds = %2
store i32 0, ptr %8, align 4
br label %18
18: ; preds = %51, %17
%19 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
%20 = load ptr, ptr %4, align 8
%21 = call i64 @fgets(ptr noundef %19, i32 noundef 1024, ptr noundef %20)
%22 = icmp ne i64 %21, 0
br i1 %22, label %23, label %52
23: ; preds = %18
%24 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
%25 = call ptr @strtok(ptr noundef %24, ptr noundef @.str)
store ptr %25, ptr %10, align 8
br label %26
26: ; preds = %49, %23
%27 = load ptr, ptr %10, align 8
%28 = icmp ne ptr %27, null
br i1 %28, label %29, label %51
29: ; preds = %26
%30 = load ptr, ptr %10, align 8
%31 = call i32 @atoi(ptr noundef %30)
%32 = load ptr, ptr %7, align 8
%33 = load i32, ptr %8, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i32, ptr %32, i64 %34
store i32 %31, ptr %35, align 4
%36 = load i32, ptr %8, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %8, align 4
%38 = load i32, ptr %8, align 4
%39 = sext i32 %38 to i64
%40 = mul i64 4, %39
%41 = load i32, ptr %6, align 4
%42 = sext i32 %41 to i64
%43 = icmp uge i64 %40, %42
br i1 %43, label %44, label %49
44: ; preds = %29
%45 = call i32 @double_buffersize(ptr noundef %6, ptr noundef %7)
%46 = icmp ne i32 %45, 0
br i1 %46, label %48, label %47
47: ; preds = %44
store ptr null, ptr %3, align 8
br label %56
48: ; preds = %44
br label %49
49: ; preds = %48, %29
%50 = call ptr @strtok(ptr noundef null, ptr noundef @.str)
store ptr %50, ptr %10, align 8
br label %26, !llvm.loop !6
51: ; preds = %26
br label %18, !llvm.loop !8
52: ; preds = %18
%53 = load i32, ptr %8, align 4
%54 = load ptr, ptr %5, align 8
store i32 %53, ptr %54, align 4
%55 = load ptr, ptr %7, align 8
store ptr %55, ptr %3, align 8
br label %56
56: ; preds = %52, %47, %16
%57 = load ptr, ptr %3, align 8
ret ptr %57
}
declare i64 @malloc(i32 noundef) #1
declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @double_buffersize(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/tmpuwx4tiq7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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" ,\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @read_csv_ints(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca [1024 x i8], align 16
%10 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 4096, ptr %6, align 4
%11 = load i32, ptr %6, align 4
%12 = call i64 @malloc(i32 noundef %11)
%13 = inttoptr i64 %12 to ptr
store ptr %13, ptr %7, align 8
%14 = load ptr, ptr %7, align 8
%15 = icmp eq ptr %14, null
br i1 %15, label %16, label %17
16: ; preds = %2
store ptr null, ptr %3, align 8
br label %59
17: ; preds = %2
store i32 0, ptr %8, align 4
%18 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
%19 = load ptr, ptr %4, align 8
%20 = call i64 @fgets(ptr noundef %18, i32 noundef 1024, ptr noundef %19)
%21 = icmp ne i64 %20, 0
br i1 %21, label %.lr.ph2, label %55
.lr.ph2: ; preds = %17
br label %22
22: ; preds = %.lr.ph2, %51
%23 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
%24 = call ptr @strtok(ptr noundef %23, ptr noundef @.str)
store ptr %24, ptr %10, align 8
%25 = load ptr, ptr %10, align 8
%26 = icmp ne ptr %25, null
br i1 %26, label %.lr.ph, label %51
.lr.ph: ; preds = %22
br label %27
27: ; preds = %.lr.ph, %47
%28 = load ptr, ptr %10, align 8
%29 = call i32 @atoi(ptr noundef %28)
%30 = load ptr, ptr %7, align 8
%31 = load i32, ptr %8, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i32, ptr %30, i64 %32
store i32 %29, ptr %33, align 4
%34 = load i32, ptr %8, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %8, align 4
%36 = load i32, ptr %8, align 4
%37 = sext i32 %36 to i64
%38 = mul i64 4, %37
%39 = load i32, ptr %6, align 4
%40 = sext i32 %39 to i64
%41 = icmp uge i64 %38, %40
br i1 %41, label %42, label %47
42: ; preds = %27
%43 = call i32 @double_buffersize(ptr noundef %6, ptr noundef %7)
%44 = icmp ne i32 %43, 0
br i1 %44, label %46, label %45
45: ; preds = %42
store ptr null, ptr %3, align 8
br label %59
46: ; preds = %42
br label %47
47: ; preds = %46, %27
%48 = call ptr @strtok(ptr noundef null, ptr noundef @.str)
store ptr %48, ptr %10, align 8
%49 = load ptr, ptr %10, align 8
%50 = icmp ne ptr %49, null
br i1 %50, label %27, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %47
br label %51
51: ; preds = %._crit_edge, %22
%52 = load ptr, ptr %4, align 8
%53 = call i64 @fgets(ptr noundef %18, i32 noundef 1024, ptr noundef %52)
%54 = icmp ne i64 %53, 0
br i1 %54, label %22, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %51
br label %55
55: ; preds = %._crit_edge3, %17
%56 = load i32, ptr %8, align 4
%57 = load ptr, ptr %5, align 8
store i32 %56, ptr %57, align 4
%58 = load ptr, ptr %7, align 8
store ptr %58, ptr %3, align 8
br label %59
59: ; preds = %55, %45, %16
%60 = load ptr, ptr %3, align 8
ret ptr %60
}
declare i64 @malloc(i32 noundef) #1
declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @double_buffersize(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/tmpk1b261qq.c'
source_filename = "/tmp/tmpk1b261qq.c"
target datalayout = "e-m:e-p270: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/tmpk1b261qq.c"
target datalayout = "e-m:e-p270: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/tmp932ycacg.c'
source_filename = "/tmp/tmp932ycacg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"input the int value i:\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"input the int value j:\0A\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"%d + %d = %d\0A\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [8 x i8] c"j != 0\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%8 = load i32, ptr %3, align 4
%9 = icmp ne i32 0, %8
br i1 %9, label %10, label %17
10: ; preds = %0
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr %3, align 4
%13 = load i32, ptr %2, align 4
%14 = load i32, ptr %3, align 4
%15 = add nsw i32 %13, %14
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %11, i32 noundef %12, i32 noundef %15)
br label %20
17: ; preds = %0
%18 = load i32, ptr @stderr, align 4
%19 = call i32 @fprintf(i32 noundef %18, ptr noundef @.str.4)
store i32 1, ptr %1, align 4
br label %21
20: ; preds = %10
store i32 0, ptr %1, align 4
br label %21
21: ; preds = %20, %17
%22 = load i32, ptr %1, align 4
ret i32 %22
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp932ycacg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"input the int value i:\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"input the int value j:\0A\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"%d + %d = %d\0A\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [8 x i8] c"j != 0\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%8 = load i32, ptr %3, align 4
%9 = icmp ne i32 0, %8
br i1 %9, label %10, label %17
10: ; preds = %0
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr %3, align 4
%13 = load i32, ptr %2, align 4
%14 = load i32, ptr %3, align 4
%15 = add nsw i32 %13, %14
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %11, i32 noundef %12, i32 noundef %15)
br label %20
17: ; preds = %0
%18 = load i32, ptr @stderr, align 4
%19 = call i32 @fprintf(i32 noundef %18, ptr noundef @.str.4)
store i32 1, ptr %1, align 4
br label %21
20: ; preds = %10
store i32 0, ptr %1, align 4
br label %21
21: ; preds = %20, %17
%22 = load i32, ptr %1, align 4
ret i32 %22
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxmulh5ap.c'
source_filename = "/tmp/tmpxmulh5ap.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @eeprom_read_word(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = ptrtoint ptr %5 to i32
store i32 %6, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp sge i32 %7, 2047
br i1 %8, label %9, label %10
9: ; preds = %1
store i32 0, ptr %2, align 4
br label %21
10: ; preds = %1
%11 = load volatile i32, ptr inttoptr (i64 1073872897 to ptr), align 4
%12 = and i32 %11, 1
%13 = icmp ne i32 %12, 0
br i1 %13, label %16, label %14
14: ; preds = %10
%15 = call i32 (...) @eeprom_initialize()
br label %16
16: ; preds = %14, %10
%17 = load i32, ptr %4, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i32, ptr inttoptr (i64 335544320 to ptr), i64 %18
%20 = load i32, ptr %19, align 4
store i32 %20, ptr %2, align 4
br label %21
21: ; preds = %16, %9
%22 = load i32, ptr %2, align 4
ret i32 %22
}
declare i32 @eeprom_initialize(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxmulh5ap.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @eeprom_read_word(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = ptrtoint ptr %5 to i32
store i32 %6, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp sge i32 %7, 2047
br i1 %8, label %9, label %10
9: ; preds = %1
store i32 0, ptr %2, align 4
br label %21
10: ; preds = %1
%11 = load volatile i32, ptr inttoptr (i64 1073872897 to ptr), align 4
%12 = and i32 %11, 1
%13 = icmp ne i32 %12, 0
br i1 %13, label %16, label %14
14: ; preds = %10
%15 = call i32 (...) @eeprom_initialize()
br label %16
16: ; preds = %14, %10
%17 = load i32, ptr %4, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i32, ptr inttoptr (i64 335544320 to ptr), i64 %18
%20 = load i32, ptr %19, align 4
store i32 %20, ptr %2, align 4
br label %21
21: ; preds = %16, %9
%22 = load i32, ptr %2, align 4
ret i32 %22
}
declare i32 @eeprom_initialize(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpisawct5j.c'
source_filename = "/tmp/tmpisawct5j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"Memory error\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"w\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @lstBin(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%9 = call i64 @malloc(i32 noundef 8)
%10 = inttoptr i64 %9 to ptr
store ptr %10, ptr %7, align 8
%11 = call i64 @malloc(i32 noundef 32)
%12 = inttoptr i64 %11 to ptr
store ptr %12, ptr %8, align 8
%13 = load ptr, ptr %7, align 8
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %17
15: ; preds = %2
%16 = call i32 @printf(ptr noundef @.str)
br label %60
17: ; preds = %2
%18 = load ptr, ptr %8, align 8
%19 = icmp eq ptr %18, null
br i1 %19, label %20, label %22
20: ; preds = %17
%21 = call i32 @printf(ptr noundef @.str)
br label %60
22: ; preds = %17
%23 = load ptr, ptr %3, align 8
%24 = call ptr @fopen(ptr noundef %23, ptr noundef @.str.1)
store ptr %24, ptr %5, align 8
%25 = load ptr, ptr %4, align 8
%26 = call ptr @fopen(ptr noundef %25, ptr noundef @.str.2)
store ptr %26, ptr %6, align 8
%27 = load ptr, ptr %5, align 8
%28 = icmp ne ptr %27, null
br i1 %28, label %29, label %55
29: ; preds = %22
%30 = load ptr, ptr %6, align 8
%31 = icmp ne ptr %30, null
br i1 %31, label %32, label %55
32: ; preds = %29
br label %33
33: ; preds = %38, %32
%34 = load ptr, ptr %5, align 8
%35 = call i32 @feof(ptr noundef %34)
%36 = icmp ne i32 %35, 0
%37 = xor i1 %36, true
br i1 %37, label %38, label %50
38: ; preds = %33
%39 = load ptr, ptr %7, align 8
%40 = load ptr, ptr %5, align 8
%41 = call i32 @fgets(ptr noundef %39, i32 noundef 10, ptr noundef %40)
%42 = load ptr, ptr %7, align 8
%43 = load ptr, ptr %8, align 8
%44 = call i32 @hexBin(ptr noundef %42, ptr noundef %43)
%45 = load ptr, ptr %8, align 8
%46 = load ptr, ptr %6, align 8
%47 = call i32 @fputs(ptr noundef %45, ptr noundef %46)
%48 = load ptr, ptr %6, align 8
%49 = call i32 @fputc(i8 noundef signext 10, ptr noundef %48)
br label %33, !llvm.loop !6
50: ; preds = %33
%51 = load ptr, ptr %5, align 8
%52 = call i32 @fclose(ptr noundef %51)
%53 = load ptr, ptr %6, align 8
%54 = call i32 @fclose(ptr noundef %53)
br label %55
55: ; preds = %50, %29, %22
%56 = load ptr, ptr %7, align 8
%57 = call i32 @free(ptr noundef %56)
%58 = load ptr, ptr %8, align 8
%59 = call i32 @free(ptr noundef %58)
br label %60
60: ; preds = %55, %20, %15
ret void
}
declare i64 @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @feof(ptr noundef) #1
declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @hexBin(ptr noundef, ptr noundef) #1
declare i32 @fputs(ptr noundef, ptr noundef) #1
declare i32 @fputc(i8 noundef signext, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpisawct5j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"Memory error\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"w\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @lstBin(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%9 = call i64 @malloc(i32 noundef 8)
%10 = inttoptr i64 %9 to ptr
store ptr %10, ptr %7, align 8
%11 = call i64 @malloc(i32 noundef 32)
%12 = inttoptr i64 %11 to ptr
store ptr %12, ptr %8, align 8
%13 = load ptr, ptr %7, align 8
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %17
15: ; preds = %2
%16 = call i32 @printf(ptr noundef @.str)
br label %63
17: ; preds = %2
%18 = load ptr, ptr %8, align 8
%19 = icmp eq ptr %18, null
br i1 %19, label %20, label %22
20: ; preds = %17
%21 = call i32 @printf(ptr noundef @.str)
br label %63
22: ; preds = %17
%23 = load ptr, ptr %3, align 8
%24 = call ptr @fopen(ptr noundef %23, ptr noundef @.str.1)
store ptr %24, ptr %5, align 8
%25 = load ptr, ptr %4, align 8
%26 = call ptr @fopen(ptr noundef %25, ptr noundef @.str.2)
store ptr %26, ptr %6, align 8
%27 = load ptr, ptr %5, align 8
%28 = icmp ne ptr %27, null
br i1 %28, label %29, label %58
29: ; preds = %22
%30 = load ptr, ptr %6, align 8
%31 = icmp ne ptr %30, null
br i1 %31, label %32, label %58
32: ; preds = %29
%33 = load ptr, ptr %5, align 8
%34 = call i32 @feof(ptr noundef %33)
%35 = icmp ne i32 %34, 0
%36 = xor i1 %35, true
br i1 %36, label %.lr.ph, label %53
.lr.ph: ; preds = %32
br label %37
37: ; preds = %.lr.ph, %37
%38 = load ptr, ptr %7, align 8
%39 = load ptr, ptr %5, align 8
%40 = call i32 @fgets(ptr noundef %38, i32 noundef 10, ptr noundef %39)
%41 = load ptr, ptr %7, align 8
%42 = load ptr, ptr %8, align 8
%43 = call i32 @hexBin(ptr noundef %41, ptr noundef %42)
%44 = load ptr, ptr %8, align 8
%45 = load ptr, ptr %6, align 8
%46 = call i32 @fputs(ptr noundef %44, ptr noundef %45)
%47 = load ptr, ptr %6, align 8
%48 = call i32 @fputc(i8 noundef signext 10, ptr noundef %47)
%49 = load ptr, ptr %5, align 8
%50 = call i32 @feof(ptr noundef %49)
%51 = icmp ne i32 %50, 0
%52 = xor i1 %51, true
br i1 %52, label %37, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %37
br label %53
53: ; preds = %._crit_edge, %32
%54 = load ptr, ptr %5, align 8
%55 = call i32 @fclose(ptr noundef %54)
%56 = load ptr, ptr %6, align 8
%57 = call i32 @fclose(ptr noundef %56)
br label %58
58: ; preds = %53, %29, %22
%59 = load ptr, ptr %7, align 8
%60 = call i32 @free(ptr noundef %59)
%61 = load ptr, ptr %8, align 8
%62 = call i32 @free(ptr noundef %61)
br label %63
63: ; preds = %58, %20, %15
ret void
}
declare i64 @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @feof(ptr noundef) #1
declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @hexBin(ptr noundef, ptr noundef) #1
declare i32 @fputs(ptr noundef, ptr noundef) #1
declare i32 @fputc(i8 noundef signext, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmptmdmzr1r.c'
source_filename = "/tmp/tmptmdmzr1r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CLOCK_REALTIME = 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/tmptmdmzr1r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CLOCK_REALTIME = 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/tmp2fhu1a93.c'
source_filename = "/tmp/tmp2fhu1a93.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @free_ucmatrix(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%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 %6, align 8
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
store i32 %4, ptr %10, align 4
%12 = load i32, ptr %8, align 4
store i32 %12, ptr %11, align 4
br label %13
13: ; preds = %27, %5
%14 = load i32, ptr %11, align 4
%15 = load i32, ptr %7, align 4
%16 = icmp sge i32 %14, %15
br i1 %16, label %17, label %30
17: ; preds = %13
%18 = load ptr, ptr %6, align 8
%19 = load i32, ptr %11, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds ptr, ptr %18, i64 %20
%22 = load ptr, ptr %21, align 8
%23 = load i32, ptr %9, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %22, i64 %24
%26 = call i32 @free(ptr noundef %25)
br label %27
27: ; preds = %17
%28 = load i32, ptr %11, align 4
%29 = add nsw i32 %28, -1
store i32 %29, ptr %11, align 4
br label %13, !llvm.loop !6
30: ; preds = %13
%31 = load ptr, ptr %6, align 8
%32 = load i32, ptr %7, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds ptr, ptr %31, i64 %33
%35 = call i32 @free(ptr noundef %34)
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2fhu1a93.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @free_ucmatrix(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%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 %6, align 8
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
store i32 %4, ptr %10, align 4
%12 = load i32, ptr %8, align 4
store i32 %12, ptr %11, align 4
%13 = load i32, ptr %11, align 4
%14 = load i32, ptr %7, align 4
%15 = icmp sge i32 %13, %14
br i1 %15, label %.lr.ph, label %32
.lr.ph: ; preds = %5
br label %16
16: ; preds = %.lr.ph, %26
%17 = load ptr, ptr %6, align 8
%18 = load i32, ptr %11, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds ptr, ptr %17, i64 %19
%21 = load ptr, ptr %20, align 8
%22 = load i32, ptr %9, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %21, i64 %23
%25 = call i32 @free(ptr noundef %24)
br label %26
26: ; preds = %16
%27 = load i32, ptr %11, align 4
%28 = add nsw i32 %27, -1
store i32 %28, ptr %11, align 4
%29 = load i32, ptr %11, align 4
%30 = load i32, ptr %7, align 4
%31 = icmp sge i32 %29, %30
br i1 %31, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %26
br label %32
32: ; preds = %._crit_edge, %5
%33 = load ptr, ptr %6, align 8
%34 = load i32, ptr %7, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds ptr, ptr %33, i64 %35
%37 = call i32 @free(ptr noundef %36)
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp4f8_wsiy.c'
source_filename = "/tmp/tmp4f8_wsiy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @reduceunit(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 1, ptr %4, align 4
br label %5
5: ; preds = %19, %1
%6 = load i32, ptr %4, align 4
%7 = and i32 %6, 1
%8 = icmp ne i32 %7, 0
br i1 %8, label %9, label %20
9: ; preds = %5
%10 = load ptr, ptr %3, align 8
%11 = call i32 @reduceproduct(ptr noundef %10, i32 noundef 0)
%12 = load ptr, ptr %3, align 8
%13 = call i32 @reduceproduct(ptr noundef %12, i32 noundef 1)
%14 = or i32 %11, %13
store i32 %14, ptr %4, align 4
%15 = load i32, ptr %4, align 4
%16 = and i32 %15, 4
%17 = icmp ne i32 %16, 0
br i1 %17, label %18, label %19
18: ; preds = %9
store i32 1, ptr %2, align 4
br label %21
19: ; preds = %9
br label %5, !llvm.loop !6
20: ; preds = %5
store i32 0, ptr %2, align 4
br label %21
21: ; preds = %20, %18
%22 = load i32, ptr %2, align 4
ret i32 %22
}
declare i32 @reduceproduct(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/tmp4f8_wsiy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @reduceunit(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = and i32 %5, 1
%7 = icmp ne i32 %6, 0
br i1 %7, label %.lr.ph, label %22
.lr.ph: ; preds = %1
br label %12
8: ; preds = %12
%9 = load i32, ptr %4, align 4
%10 = and i32 %9, 1
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %._crit_edge, !llvm.loop !6
12: ; preds = %.lr.ph, %8
%13 = load ptr, ptr %3, align 8
%14 = call i32 @reduceproduct(ptr noundef %13, i32 noundef 0)
%15 = load ptr, ptr %3, align 8
%16 = call i32 @reduceproduct(ptr noundef %15, i32 noundef 1)
%17 = or i32 %14, %16
store i32 %17, ptr %4, align 4
%18 = load i32, ptr %4, align 4
%19 = and i32 %18, 4
%20 = icmp ne i32 %19, 0
br i1 %20, label %21, label %8
21: ; preds = %12
store i32 1, ptr %2, align 4
br label %23
._crit_edge: ; preds = %8
br label %22
22: ; preds = %._crit_edge, %1
store i32 0, ptr %2, align 4
br label %23
23: ; preds = %22, %21
%24 = load i32, ptr %2, align 4
ret i32 %24
}
declare i32 @reduceproduct(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/tmpfb6yp_ru.c'
source_filename = "/tmp/tmpfb6yp_ru.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mjd_dow(double noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca double, align 8
%5 = alloca ptr, align 8
store double %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%6 = load double, ptr %4, align 8
%7 = fcmp olt double %6, -5.379850e+04
br i1 %7, label %8, label %9
8: ; preds = %2
store i32 -1, ptr %3, align 4
br label %25
9: ; preds = %2
%10 = load double, ptr %4, align 8
%11 = fsub double %10, 5.000000e-01
%12 = call i64 @floor(double noundef %11)
%13 = add nsw i64 %12, 1
%14 = srem i64 %13, 7
%15 = trunc i64 %14 to i32
%16 = load ptr, ptr %5, align 8
store i32 %15, ptr %16, align 4
%17 = load ptr, ptr %5, align 8
%18 = load i32, ptr %17, align 4
%19 = icmp slt i32 %18, 0
br i1 %19, label %20, label %24
20: ; preds = %9
%21 = load ptr, ptr %5, align 8
%22 = load i32, ptr %21, align 4
%23 = add nsw i32 %22, 7
store i32 %23, ptr %21, align 4
br label %24
24: ; preds = %20, %9
store i32 0, ptr %3, align 4
br label %25
25: ; preds = %24, %8
%26 = load i32, ptr %3, align 4
ret i32 %26
}
declare i64 @floor(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/tmpfb6yp_ru.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mjd_dow(double noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca double, align 8
%5 = alloca ptr, align 8
store double %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%6 = load double, ptr %4, align 8
%7 = fcmp olt double %6, -5.379850e+04
br i1 %7, label %8, label %9
8: ; preds = %2
store i32 -1, ptr %3, align 4
br label %25
9: ; preds = %2
%10 = load double, ptr %4, align 8
%11 = fsub double %10, 5.000000e-01
%12 = call i64 @floor(double noundef %11)
%13 = add nsw i64 %12, 1
%14 = srem i64 %13, 7
%15 = trunc i64 %14 to i32
%16 = load ptr, ptr %5, align 8
store i32 %15, ptr %16, align 4
%17 = load ptr, ptr %5, align 8
%18 = load i32, ptr %17, align 4
%19 = icmp slt i32 %18, 0
br i1 %19, label %20, label %24
20: ; preds = %9
%21 = load ptr, ptr %5, align 8
%22 = load i32, ptr %21, align 4
%23 = add nsw i32 %22, 7
store i32 %23, ptr %21, align 4
br label %24
24: ; preds = %20, %9
store i32 0, ptr %3, align 4
br label %25
25: ; preds = %24, %8
%26 = load i32, ptr %3, align 4
ret i32 %26
}
declare i64 @floor(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/tmp9p8_zl76.c'
source_filename = "/tmp/tmp9p8_zl76.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @farray_data_file_to_memory(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
%8 = 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
%9 = load ptr, ptr %5, align 8
%10 = call i64 @fsize(ptr noundef %9)
%11 = load ptr, ptr %7, align 8
store i64 %10, ptr %11, align 8
%12 = load ptr, ptr %7, align 8
%13 = load i64, ptr %12, align 8
%14 = icmp eq i64 %13, 0
br i1 %14, label %15, label %17
15: ; preds = %3
%16 = load ptr, ptr %6, align 8
store ptr null, ptr %16, align 8
store i32 1, ptr %4, align 4
br label %40
17: ; preds = %3
%18 = load ptr, ptr %7, align 8
%19 = load i64, ptr %18, align 8
%20 = call i64 @malloc(i64 noundef %19)
%21 = inttoptr i64 %20 to ptr
%22 = load ptr, ptr %6, align 8
store ptr %21, ptr %22, align 8
%23 = load ptr, ptr %6, align 8
%24 = load ptr, ptr %23, align 8
%25 = icmp eq ptr %24, null
br i1 %25, label %26, label %28
26: ; preds = %17
%27 = load ptr, ptr %7, align 8
store i64 0, ptr %27, align 8
store i32 2, ptr %4, align 4
br label %40
28: ; preds = %17
%29 = load ptr, ptr %5, align 8
%30 = call ptr @fopen(ptr noundef %29, ptr noundef @.str)
store ptr %30, ptr %8, align 8
%31 = load ptr, ptr %6, align 8
%32 = load ptr, ptr %31, align 8
%33 = load ptr, ptr %7, align 8
%34 = load i64, ptr %33, align 8
%35 = load ptr, ptr %8, align 8
%36 = call i64 @fread(ptr noundef %32, i32 noundef 1, i64 noundef %34, ptr noundef %35)
%37 = load ptr, ptr %7, align 8
store i64 %36, ptr %37, align 8
%38 = load ptr, ptr %8, align 8
%39 = call i32 @fclose(ptr noundef %38)
store i32 0, ptr %4, align 4
br label %40
40: ; preds = %28, %26, %15
%41 = load i32, ptr %4, align 4
ret i32 %41
}
declare i64 @fsize(ptr noundef) #1
declare i64 @malloc(i64 noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i64 @fread(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9p8_zl76.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @farray_data_file_to_memory(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
%8 = 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
%9 = load ptr, ptr %5, align 8
%10 = call i64 @fsize(ptr noundef %9)
%11 = load ptr, ptr %7, align 8
store i64 %10, ptr %11, align 8
%12 = load ptr, ptr %7, align 8
%13 = load i64, ptr %12, align 8
%14 = icmp eq i64 %13, 0
br i1 %14, label %15, label %17
15: ; preds = %3
%16 = load ptr, ptr %6, align 8
store ptr null, ptr %16, align 8
store i32 1, ptr %4, align 4
br label %40
17: ; preds = %3
%18 = load ptr, ptr %7, align 8
%19 = load i64, ptr %18, align 8
%20 = call i64 @malloc(i64 noundef %19)
%21 = inttoptr i64 %20 to ptr
%22 = load ptr, ptr %6, align 8
store ptr %21, ptr %22, align 8
%23 = load ptr, ptr %6, align 8
%24 = load ptr, ptr %23, align 8
%25 = icmp eq ptr %24, null
br i1 %25, label %26, label %28
26: ; preds = %17
%27 = load ptr, ptr %7, align 8
store i64 0, ptr %27, align 8
store i32 2, ptr %4, align 4
br label %40
28: ; preds = %17
%29 = load ptr, ptr %5, align 8
%30 = call ptr @fopen(ptr noundef %29, ptr noundef @.str)
store ptr %30, ptr %8, align 8
%31 = load ptr, ptr %6, align 8
%32 = load ptr, ptr %31, align 8
%33 = load ptr, ptr %7, align 8
%34 = load i64, ptr %33, align 8
%35 = load ptr, ptr %8, align 8
%36 = call i64 @fread(ptr noundef %32, i32 noundef 1, i64 noundef %34, ptr noundef %35)
%37 = load ptr, ptr %7, align 8
store i64 %36, ptr %37, align 8
%38 = load ptr, ptr %8, align 8
%39 = call i32 @fclose(ptr noundef %38)
store i32 0, ptr %4, align 4
br label %40
40: ; preds = %28, %26, %15
%41 = load i32, ptr %4, align 4
ret i32 %41
}
declare i64 @fsize(ptr noundef) #1
declare i64 @malloc(i64 noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i64 @fread(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmrkj1lur.c'
source_filename = "/tmp/tmpmrkj1lur.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @qsort(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca [300 x i32], align 16
%10 = alloca [300 x i32], align 16
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
store i32 0, ptr %11, align 4
%17 = load i64, ptr %7, align 8
%18 = call ptr @llvm.stacksave()
store ptr %18, ptr %15, align 8
%19 = alloca i8, i64 %17, align 16
store i64 %17, ptr %16, align 8
%20 = getelementptr inbounds [300 x i32], ptr %9, i64 0, i64 0
store i32 0, ptr %20, align 16
%21 = load i64, ptr %6, align 8
%22 = trunc i64 %21 to i32
%23 = getelementptr inbounds [300 x i32], ptr %10, i64 0, i64 0
store i32 %22, ptr %23, align 16
br label %24
24: ; preds = %224, %4
%25 = load i32, ptr %11, align 4
%26 = icmp sge i32 %25, 0
br i1 %26, label %27, label %225
27: ; preds = %24
%28 = load i32, ptr %11, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [300 x i32], ptr %9, i64 0, i64 %29
%31 = load i32, ptr %30, align 4
store i32 %31, ptr %12, align 4
%32 = load i32, ptr %11, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [300 x i32], ptr %10, i64 0, i64 %33
%35 = load i32, ptr %34, align 4
%36 = sub nsw i32 %35, 1
store i32 %36, ptr %13, align 4
%37 = load i32, ptr %12, align 4
%38 = load i32, ptr %13, align 4
%39 = icmp slt i32 %37, %38
br i1 %39, label %40, label %221
40: ; preds = %27
%41 = load ptr, ptr %5, align 8
%42 = load i64, ptr %7, align 8
%43 = load i32, ptr %12, align 4
%44 = sext i32 %43 to i64
%45 = mul i64 %42, %44
%46 = getelementptr i8, ptr %41, i64 %45
%47 = load i64, ptr %7, align 8
%48 = call i32 @memcpy(ptr noundef %19, ptr noundef %46, i64 noundef %47)
br label %49
49: ; preds = %135, %40
%50 = load i32, ptr %12, align 4
%51 = load i32, ptr %13, align 4
%52 = icmp slt i32 %50, %51
br i1 %52, label %53, label %136
53: ; preds = %49
br label %54
54: ; preds = %70, %53
%55 = load ptr, ptr %8, align 8
%56 = load ptr, ptr %5, align 8
%57 = load i32, ptr %13, align 4
%58 = sext i32 %57 to i64
%59 = load i64, ptr %7, align 8
%60 = mul i64 %58, %59
%61 = getelementptr i8, ptr %56, i64 %60
%62 = call i32 %55(ptr noundef %61, ptr noundef %19)
%63 = icmp sgt i32 %62, 0
br i1 %63, label %64, label %68
64: ; preds = %54
%65 = load i32, ptr %12, align 4
%66 = load i32, ptr %13, align 4
%67 = icmp slt i32 %65, %66
br label %68
68: ; preds = %64, %54
%69 = phi i1 [ false, %54 ], [ %67, %64 ]
br i1 %69, label %70, label %73
70: ; preds = %68
%71 = load i32, ptr %13, align 4
%72 = add nsw i32 %71, -1
store i32 %72, ptr %13, align 4
br label %54, !llvm.loop !6
73: ; preds = %68
%74 = load i32, ptr %12, align 4
%75 = load i32, ptr %13, align 4
%76 = icmp slt i32 %74, %75
br i1 %76, label %77, label %94
77: ; preds = %73
%78 = load ptr, ptr %5, align 8
%79 = load i64, ptr %7, align 8
%80 = load i32, ptr %12, align 4
%81 = sext i32 %80 to i64
%82 = mul i64 %79, %81
%83 = getelementptr i8, ptr %78, i64 %82
%84 = load ptr, ptr %5, align 8
%85 = load i64, ptr %7, align 8
%86 = load i32, ptr %13, align 4
%87 = sext i32 %86 to i64
%88 = mul i64 %85, %87
%89 = getelementptr i8, ptr %84, i64 %88
%90 = load i64, ptr %7, align 8
%91 = call i32 @memcpy(ptr noundef %83, ptr noundef %89, i64 noundef %90)
%92 = load i32, ptr %12, align 4
%93 = add nsw i32 %92, 1
store i32 %93, ptr %12, align 4
br label %94
94: ; preds = %77, %73
br label %95
95: ; preds = %111, %94
%96 = load ptr, ptr %8, align 8
%97 = load ptr, ptr %5, align 8
%98 = load i32, ptr %12, align 4
%99 = sext i32 %98 to i64
%100 = load i64, ptr %7, align 8
%101 = mul i64 %99, %100
%102 = getelementptr i8, ptr %97, i64 %101
%103 = call i32 %96(ptr noundef %102, ptr noundef %19)
%104 = icmp sle i32 %103, 0
br i1 %104, label %105, label %109
105: ; preds = %95
%106 = load i32, ptr %12, align 4
%107 = load i32, ptr %13, align 4
%108 = icmp slt i32 %106, %107
br label %109
109: ; preds = %105, %95
%110 = phi i1 [ false, %95 ], [ %108, %105 ]
br i1 %110, label %111, label %114
111: ; preds = %109
%112 = load i32, ptr %12, align 4
%113 = add nsw i32 %112, 1
store i32 %113, ptr %12, align 4
br label %95, !llvm.loop !8
114: ; preds = %109
%115 = load i32, ptr %12, align 4
%116 = load i32, ptr %13, align 4
%117 = icmp slt i32 %115, %116
br i1 %117, label %118, label %135
118: ; preds = %114
%119 = load ptr, ptr %5, align 8
%120 = load i64, ptr %7, align 8
%121 = load i32, ptr %13, align 4
%122 = sext i32 %121 to i64
%123 = mul i64 %120, %122
%124 = getelementptr i8, ptr %119, i64 %123
%125 = load ptr, ptr %5, align 8
%126 = load i64, ptr %7, align 8
%127 = load i32, ptr %12, align 4
%128 = sext i32 %127 to i64
%129 = mul i64 %126, %128
%130 = getelementptr i8, ptr %125, i64 %129
%131 = load i64, ptr %7, align 8
%132 = call i32 @memcpy(ptr noundef %124, ptr noundef %130, i64 noundef %131)
%133 = load i32, ptr %13, align 4
%134 = add nsw i32 %133, -1
store i32 %134, ptr %13, align 4
br label %135
135: ; preds = %118, %114
br label %49, !llvm.loop !9
136: ; preds = %49
%137 = load ptr, ptr %5, align 8
%138 = load i64, ptr %7, align 8
%139 = load i32, ptr %12, align 4
%140 = sext i32 %139 to i64
%141 = mul i64 %138, %140
%142 = getelementptr i8, ptr %137, i64 %141
%143 = load i64, ptr %7, align 8
%144 = call i32 @memcpy(ptr noundef %142, ptr noundef %19, i64 noundef %143)
%145 = load i32, ptr %12, align 4
%146 = add nsw i32 %145, 1
%147 = load i32, ptr %11, align 4
%148 = add nsw i32 %147, 1
%149 = sext i32 %148 to i64
%150 = getelementptr inbounds [300 x i32], ptr %9, i64 0, i64 %149
store i32 %146, ptr %150, align 4
%151 = load i32, ptr %11, align 4
%152 = sext i32 %151 to i64
%153 = getelementptr inbounds [300 x i32], ptr %10, i64 0, i64 %152
%154 = load i32, ptr %153, align 4
%155 = load i32, ptr %11, align 4
%156 = add nsw i32 %155, 1
%157 = sext i32 %156 to i64
%158 = getelementptr inbounds [300 x i32], ptr %10, i64 0, i64 %157
store i32 %154, ptr %158, align 4
%159 = load i32, ptr %12, align 4
%160 = load i32, ptr %11, align 4
%161 = add nsw i32 %160, 1
store i32 %161, ptr %11, align 4
%162 = sext i32 %160 to i64
%163 = getelementptr inbounds [300 x i32], ptr %10, i64 0, i64 %162
store i32 %159, ptr %163, align 4
%164 = load i32, ptr %11, align 4
%165 = sext i32 %164 to i64
%166 = getelementptr inbounds [300 x i32], ptr %10, i64 0, i64 %165
%167 = load i32, ptr %166, align 4
%168 = load i32, ptr %11, align 4
%169 = sext i32 %168 to i64
%170 = getelementptr inbounds [300 x i32], ptr %9, i64 0, i64 %169
%171 = load i32, ptr %170, align 4
%172 = sub nsw i32 %167, %171
%173 = load i32, ptr %11, align 4
%174 = sub nsw i32 %173, 1
%175 = sext i32 %174 to i64
%176 = getelementptr inbounds [300 x i32], ptr %10, i64 0, i64 %175
%177 = load i32, ptr %176, align 4
%178 = load i32, ptr %11, align 4
%179 = sub nsw i32 %178, 1
%180 = sext i32 %179 to i64
%181 = getelementptr inbounds [300 x i32], ptr %9, i64 0, i64 %180
%182 = load i32, ptr %181, align 4
%183 = sub nsw i32 %177, %182
%184 = icmp sgt i32 %172, %183
br i1 %184, label %185, label %220
185: ; preds = %136
%186 = load i32, ptr %11, align 4
%187 = sext i32 %186 to i64
%188 = getelementptr inbounds [300 x i32], ptr %9, i64 0, i64 %187
%189 = load i32, ptr %188, align 4
store i32 %189, ptr %14, align 4
%190 = load i32, ptr %11, align 4
%191 = sub nsw i32 %190, 1
%192 = sext i32 %191 to i64
%193 = getelementptr inbounds [300 x i32], ptr %9, i64 0, i64 %192
%194 = load i32, ptr %193, align 4
%195 = load i32, ptr %11, align 4
%196 = sext i32 %195 to i64
%197 = getelementptr inbounds [300 x i32], ptr %9, i64 0, i64 %196
store i32 %194, ptr %197, align 4
%198 = load i32, ptr %14, align 4
%199 = load i32, ptr %11, align 4
%200 = sub nsw i32 %199, 1
%201 = sext i32 %200 to i64
%202 = getelementptr inbounds [300 x i32], ptr %9, i64 0, i64 %201
store i32 %198, ptr %202, align 4
%203 = load i32, ptr %11, align 4
%204 = sext i32 %203 to i64
%205 = getelementptr inbounds [300 x i32], ptr %10, i64 0, i64 %204
%206 = load i32, ptr %205, align 4
store i32 %206, ptr %14, align 4
%207 = load i32, ptr %11, align 4
%208 = sub nsw i32 %207, 1
%209 = sext i32 %208 to i64
%210 = getelementptr inbounds [300 x i32], ptr %10, i64 0, i64 %209
%211 = load i32, ptr %210, align 4
%212 = load i32, ptr %11, align 4
%213 = sext i32 %212 to i64
%214 = getelementptr inbounds [300 x i32], ptr %10, i64 0, i64 %213
store i32 %211, ptr %214, align 4
%215 = load i32, ptr %14, align 4
%216 = load i32, ptr %11, align 4
%217 = sub nsw i32 %216, 1
%218 = sext i32 %217 to i64
%219 = getelementptr inbounds [300 x i32], ptr %10, i64 0, i64 %218
store i32 %215, ptr %219, align 4
br label %220
220: ; preds = %185, %136
br label %224
221: ; preds = %27
%222 = load i32, ptr %11, align 4
%223 = add nsw i32 %222, -1
store i32 %223, ptr %11, align 4
br label %224
224: ; preds = %221, %220
br label %24, !llvm.loop !10
225: ; preds = %24
%226 = load ptr, ptr %15, align 8
call void @llvm.stackrestore(ptr %226)
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmrkj1lur.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @qsort(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca [300 x i32], align 16
%10 = alloca [300 x i32], align 16
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
store i32 0, ptr %11, align 4
%17 = load i64, ptr %7, align 8
%18 = call ptr @llvm.stacksave()
store ptr %18, ptr %15, align 8
%19 = alloca i8, i64 %17, align 16
store i64 %17, ptr %16, align 8
%20 = getelementptr inbounds [300 x i32], ptr %9, i64 0, i64 0
store i32 0, ptr %20, align 16
%21 = load i64, ptr %6, align 8
%22 = trunc i64 %21 to i32
%23 = getelementptr inbounds [300 x i32], ptr %10, i64 0, i64 0
store i32 %22, ptr %23, align 16
%24 = load i32, ptr %11, align 4
%25 = icmp sge i32 %24, 0
br i1 %25, label %.lr.ph2, label %228
.lr.ph2: ; preds = %4
br label %26
26: ; preds = %.lr.ph2, %225
%27 = load i32, ptr %11, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [300 x i32], ptr %9, i64 0, i64 %28
%30 = load i32, ptr %29, align 4
store i32 %30, ptr %12, align 4
%31 = load i32, ptr %11, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [300 x i32], ptr %10, i64 0, i64 %32
%34 = load i32, ptr %33, align 4
%35 = sub nsw i32 %34, 1
store i32 %35, ptr %13, align 4
%36 = load i32, ptr %12, align 4
%37 = load i32, ptr %13, align 4
%38 = icmp slt i32 %36, %37
br i1 %38, label %39, label %222
39: ; preds = %26
%40 = load ptr, ptr %5, align 8
%41 = load i64, ptr %7, align 8
%42 = load i32, ptr %12, align 4
%43 = sext i32 %42 to i64
%44 = mul i64 %41, %43
%45 = getelementptr i8, ptr %40, i64 %44
%46 = load i64, ptr %7, align 8
%47 = call i32 @memcpy(ptr noundef %19, ptr noundef %45, i64 noundef %46)
%48 = load i32, ptr %12, align 4
%49 = load i32, ptr %13, align 4
%50 = icmp slt i32 %48, %49
br i1 %50, label %.lr.ph, label %137
.lr.ph: ; preds = %39
br label %51
51: ; preds = %.lr.ph, %133
br label %52
52: ; preds = %68, %51
%53 = load ptr, ptr %8, align 8
%54 = load ptr, ptr %5, align 8
%55 = load i32, ptr %13, align 4
%56 = sext i32 %55 to i64
%57 = load i64, ptr %7, align 8
%58 = mul i64 %56, %57
%59 = getelementptr i8, ptr %54, i64 %58
%60 = call i32 %53(ptr noundef %59, ptr noundef %19)
%61 = icmp sgt i32 %60, 0
br i1 %61, label %62, label %66
62: ; preds = %52
%63 = load i32, ptr %12, align 4
%64 = load i32, ptr %13, align 4
%65 = icmp slt i32 %63, %64
br label %66
66: ; preds = %62, %52
%67 = phi i1 [ false, %52 ], [ %65, %62 ]
br i1 %67, label %68, label %71
68: ; preds = %66
%69 = load i32, ptr %13, align 4
%70 = add nsw i32 %69, -1
store i32 %70, ptr %13, align 4
br label %52, !llvm.loop !6
71: ; preds = %66
%72 = load i32, ptr %12, align 4
%73 = load i32, ptr %13, align 4
%74 = icmp slt i32 %72, %73
br i1 %74, label %75, label %92
75: ; preds = %71
%76 = load ptr, ptr %5, align 8
%77 = load i64, ptr %7, align 8
%78 = load i32, ptr %12, align 4
%79 = sext i32 %78 to i64
%80 = mul i64 %77, %79
%81 = getelementptr i8, ptr %76, i64 %80
%82 = load ptr, ptr %5, align 8
%83 = load i64, ptr %7, align 8
%84 = load i32, ptr %13, align 4
%85 = sext i32 %84 to i64
%86 = mul i64 %83, %85
%87 = getelementptr i8, ptr %82, i64 %86
%88 = load i64, ptr %7, align 8
%89 = call i32 @memcpy(ptr noundef %81, ptr noundef %87, i64 noundef %88)
%90 = load i32, ptr %12, align 4
%91 = add nsw i32 %90, 1
store i32 %91, ptr %12, align 4
br label %92
92: ; preds = %75, %71
br label %93
93: ; preds = %109, %92
%94 = load ptr, ptr %8, align 8
%95 = load ptr, ptr %5, align 8
%96 = load i32, ptr %12, align 4
%97 = sext i32 %96 to i64
%98 = load i64, ptr %7, align 8
%99 = mul i64 %97, %98
%100 = getelementptr i8, ptr %95, i64 %99
%101 = call i32 %94(ptr noundef %100, ptr noundef %19)
%102 = icmp sle i32 %101, 0
br i1 %102, label %103, label %107
103: ; preds = %93
%104 = load i32, ptr %12, align 4
%105 = load i32, ptr %13, align 4
%106 = icmp slt i32 %104, %105
br label %107
107: ; preds = %103, %93
%108 = phi i1 [ false, %93 ], [ %106, %103 ]
br i1 %108, label %109, label %112
109: ; preds = %107
%110 = load i32, ptr %12, align 4
%111 = add nsw i32 %110, 1
store i32 %111, ptr %12, align 4
br label %93, !llvm.loop !8
112: ; preds = %107
%113 = load i32, ptr %12, align 4
%114 = load i32, ptr %13, align 4
%115 = icmp slt i32 %113, %114
br i1 %115, label %116, label %133
116: ; preds = %112
%117 = load ptr, ptr %5, align 8
%118 = load i64, ptr %7, align 8
%119 = load i32, ptr %13, align 4
%120 = sext i32 %119 to i64
%121 = mul i64 %118, %120
%122 = getelementptr i8, ptr %117, i64 %121
%123 = load ptr, ptr %5, align 8
%124 = load i64, ptr %7, align 8
%125 = load i32, ptr %12, align 4
%126 = sext i32 %125 to i64
%127 = mul i64 %124, %126
%128 = getelementptr i8, ptr %123, i64 %127
%129 = load i64, ptr %7, align 8
%130 = call i32 @memcpy(ptr noundef %122, ptr noundef %128, i64 noundef %129)
%131 = load i32, ptr %13, align 4
%132 = add nsw i32 %131, -1
store i32 %132, ptr %13, align 4
br label %133
133: ; preds = %116, %112
%134 = load i32, ptr %12, align 4
%135 = load i32, ptr %13, align 4
%136 = icmp slt i32 %134, %135
br i1 %136, label %51, label %._crit_edge, !llvm.loop !9
._crit_edge: ; preds = %133
br label %137
137: ; preds = %._crit_edge, %39
%138 = load ptr, ptr %5, align 8
%139 = load i64, ptr %7, align 8
%140 = load i32, ptr %12, align 4
%141 = sext i32 %140 to i64
%142 = mul i64 %139, %141
%143 = getelementptr i8, ptr %138, i64 %142
%144 = load i64, ptr %7, align 8
%145 = call i32 @memcpy(ptr noundef %143, ptr noundef %19, i64 noundef %144)
%146 = load i32, ptr %12, align 4
%147 = add nsw i32 %146, 1
%148 = load i32, ptr %11, align 4
%149 = add nsw i32 %148, 1
%150 = sext i32 %149 to i64
%151 = getelementptr inbounds [300 x i32], ptr %9, i64 0, i64 %150
store i32 %147, ptr %151, align 4
%152 = load i32, ptr %11, align 4
%153 = sext i32 %152 to i64
%154 = getelementptr inbounds [300 x i32], ptr %10, i64 0, i64 %153
%155 = load i32, ptr %154, align 4
%156 = load i32, ptr %11, align 4
%157 = add nsw i32 %156, 1
%158 = sext i32 %157 to i64
%159 = getelementptr inbounds [300 x i32], ptr %10, i64 0, i64 %158
store i32 %155, ptr %159, align 4
%160 = load i32, ptr %12, align 4
%161 = load i32, ptr %11, align 4
%162 = add nsw i32 %161, 1
store i32 %162, ptr %11, align 4
%163 = sext i32 %161 to i64
%164 = getelementptr inbounds [300 x i32], ptr %10, i64 0, i64 %163
store i32 %160, ptr %164, align 4
%165 = load i32, ptr %11, align 4
%166 = sext i32 %165 to i64
%167 = getelementptr inbounds [300 x i32], ptr %10, i64 0, i64 %166
%168 = load i32, ptr %167, align 4
%169 = load i32, ptr %11, align 4
%170 = sext i32 %169 to i64
%171 = getelementptr inbounds [300 x i32], ptr %9, i64 0, i64 %170
%172 = load i32, ptr %171, align 4
%173 = sub nsw i32 %168, %172
%174 = load i32, ptr %11, align 4
%175 = sub nsw i32 %174, 1
%176 = sext i32 %175 to i64
%177 = getelementptr inbounds [300 x i32], ptr %10, i64 0, i64 %176
%178 = load i32, ptr %177, align 4
%179 = load i32, ptr %11, align 4
%180 = sub nsw i32 %179, 1
%181 = sext i32 %180 to i64
%182 = getelementptr inbounds [300 x i32], ptr %9, i64 0, i64 %181
%183 = load i32, ptr %182, align 4
%184 = sub nsw i32 %178, %183
%185 = icmp sgt i32 %173, %184
br i1 %185, label %186, label %221
186: ; preds = %137
%187 = load i32, ptr %11, align 4
%188 = sext i32 %187 to i64
%189 = getelementptr inbounds [300 x i32], ptr %9, i64 0, i64 %188
%190 = load i32, ptr %189, align 4
store i32 %190, ptr %14, align 4
%191 = load i32, ptr %11, align 4
%192 = sub nsw i32 %191, 1
%193 = sext i32 %192 to i64
%194 = getelementptr inbounds [300 x i32], ptr %9, i64 0, i64 %193
%195 = load i32, ptr %194, align 4
%196 = load i32, ptr %11, align 4
%197 = sext i32 %196 to i64
%198 = getelementptr inbounds [300 x i32], ptr %9, i64 0, i64 %197
store i32 %195, ptr %198, align 4
%199 = load i32, ptr %14, align 4
%200 = load i32, ptr %11, align 4
%201 = sub nsw i32 %200, 1
%202 = sext i32 %201 to i64
%203 = getelementptr inbounds [300 x i32], ptr %9, i64 0, i64 %202
store i32 %199, ptr %203, align 4
%204 = load i32, ptr %11, align 4
%205 = sext i32 %204 to i64
%206 = getelementptr inbounds [300 x i32], ptr %10, i64 0, i64 %205
%207 = load i32, ptr %206, align 4
store i32 %207, ptr %14, align 4
%208 = load i32, ptr %11, align 4
%209 = sub nsw i32 %208, 1
%210 = sext i32 %209 to i64
%211 = getelementptr inbounds [300 x i32], ptr %10, i64 0, i64 %210
%212 = load i32, ptr %211, align 4
%213 = load i32, ptr %11, align 4
%214 = sext i32 %213 to i64
%215 = getelementptr inbounds [300 x i32], ptr %10, i64 0, i64 %214
store i32 %212, ptr %215, align 4
%216 = load i32, ptr %14, align 4
%217 = load i32, ptr %11, align 4
%218 = sub nsw i32 %217, 1
%219 = sext i32 %218 to i64
%220 = getelementptr inbounds [300 x i32], ptr %10, i64 0, i64 %219
store i32 %216, ptr %220, align 4
br label %221
221: ; preds = %186, %137
br label %225
222: ; preds = %26
%223 = load i32, ptr %11, align 4
%224 = add nsw i32 %223, -1
store i32 %224, ptr %11, align 4
br label %225
225: ; preds = %222, %221
%226 = load i32, ptr %11, align 4
%227 = icmp sge i32 %226, 0
br i1 %227, label %26, label %._crit_edge3, !llvm.loop !10
._crit_edge3: ; preds = %225
br label %228
228: ; preds = %._crit_edge3, %4
%229 = load ptr, ptr %15, align 8
call void @llvm.stackrestore(ptr %229)
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmp6rop8ic2.c'
source_filename = "/tmp/tmp6rop8ic2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ELFHash(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %37, %1
%7 = load i32, ptr %5, align 4
%8 = load ptr, ptr %2, align 8
%9 = call i64 @strlen(ptr noundef %8)
%10 = trunc i64 %9 to i32
%11 = icmp slt i32 %7, %10
br i1 %11, label %12, label %40
12: ; preds = %6
%13 = load i32, ptr %3, align 4
%14 = shl i32 %13, 4
%15 = load ptr, ptr %2, align 8
%16 = load i32, ptr %5, 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 = add nsw i32 %14, %20
store i32 %21, ptr %3, align 4
%22 = load i32, ptr %3, align 4
%23 = sext i32 %22 to i64
%24 = and i64 %23, 4026531840
%25 = trunc i64 %24 to i32
store i32 %25, ptr %4, align 4
%26 = icmp ne i32 %25, 0
br i1 %26, label %27, label %32
27: ; preds = %12
%28 = load i32, ptr %4, align 4
%29 = ashr i32 %28, 24
%30 = load i32, ptr %3, align 4
%31 = xor i32 %30, %29
store i32 %31, ptr %3, align 4
br label %32
32: ; preds = %27, %12
%33 = load i32, ptr %4, align 4
%34 = xor i32 %33, -1
%35 = load i32, ptr %3, align 4
%36 = and i32 %35, %34
store i32 %36, ptr %3, align 4
br label %37
37: ; preds = %32
%38 = load i32, ptr %5, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %5, align 4
br label %6, !llvm.loop !6
40: ; preds = %6
%41 = load i32, ptr %3, align 4
ret i32 %41
}
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6rop8ic2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ELFHash(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = load ptr, ptr %2, align 8
%8 = call i64 @strlen(ptr noundef %7)
%9 = trunc i64 %8 to i32
%10 = icmp slt i32 %6, %9
br i1 %10, label %.lr.ph, label %44
.lr.ph: ; preds = %1
br label %11
11: ; preds = %.lr.ph, %36
%12 = load i32, ptr %3, align 4
%13 = shl i32 %12, 4
%14 = load ptr, ptr %2, align 8
%15 = load i32, ptr %5, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = add nsw i32 %13, %19
store i32 %20, ptr %3, align 4
%21 = load i32, ptr %3, align 4
%22 = sext i32 %21 to i64
%23 = and i64 %22, 4026531840
%24 = trunc i64 %23 to i32
store i32 %24, ptr %4, align 4
%25 = icmp ne i32 %24, 0
br i1 %25, label %26, label %31
26: ; preds = %11
%27 = load i32, ptr %4, align 4
%28 = ashr i32 %27, 24
%29 = load i32, ptr %3, align 4
%30 = xor i32 %29, %28
store i32 %30, ptr %3, align 4
br label %31
31: ; preds = %26, %11
%32 = load i32, ptr %4, align 4
%33 = xor i32 %32, -1
%34 = load i32, ptr %3, align 4
%35 = and i32 %34, %33
store i32 %35, ptr %3, align 4
br label %36
36: ; preds = %31
%37 = load i32, ptr %5, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %5, align 4
%39 = load i32, ptr %5, align 4
%40 = load ptr, ptr %2, align 8
%41 = call i64 @strlen(ptr noundef %40)
%42 = trunc i64 %41 to i32
%43 = icmp slt i32 %39, %42
br i1 %43, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %36
br label %44
44: ; preds = %._crit_edge, %1
%45 = load i32, ptr %3, align 4
ret i32 %45
}
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"}
|
; ModuleID = '/tmp/tmpwq6i1fb2.c'
source_filename = "/tmp/tmpwq6i1fb2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@STDIN_FILENO = dso_local global i32 0, align 4
@STDOUT_FILENO = dso_local global i32 0, align 4
@STDERR_FILENO = 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
store i32 0, ptr %1, align 4
%3 = call i32 (...) @fork()
store i32 %3, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp ne i32 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %0
%7 = load i32, ptr %2, align 4
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %7)
br label %18
9: ; preds = %0
%10 = load i32, ptr @STDIN_FILENO, align 4
%11 = call i32 @close(i32 noundef %10)
%12 = load i32, ptr @STDOUT_FILENO, align 4
%13 = call i32 @close(i32 noundef %12)
%14 = load i32, ptr @STDERR_FILENO, align 4
%15 = call i32 @close(i32 noundef %14)
br label %16
16: ; preds = %16, %9
%17 = call i32 @sleep(i32 noundef 1)
br label %16
18: ; preds = %6
%19 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @fork(...) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @sleep(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/tmpwq6i1fb2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@STDIN_FILENO = dso_local global i32 0, align 4
@STDOUT_FILENO = dso_local global i32 0, align 4
@STDERR_FILENO = 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
store i32 0, ptr %1, align 4
%3 = call i32 (...) @fork()
store i32 %3, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp ne i32 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %0
%7 = load i32, ptr %2, align 4
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %7)
br label %18
9: ; preds = %0
%10 = load i32, ptr @STDIN_FILENO, align 4
%11 = call i32 @close(i32 noundef %10)
%12 = load i32, ptr @STDOUT_FILENO, align 4
%13 = call i32 @close(i32 noundef %12)
%14 = load i32, ptr @STDERR_FILENO, align 4
%15 = call i32 @close(i32 noundef %14)
br label %16
16: ; preds = %16, %9
%17 = call i32 @sleep(i32 noundef 1)
br label %16
18: ; preds = %6
%19 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @fork(...) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @sleep(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/tmpcvggkns_.c'
source_filename = "/tmp/tmpcvggkns_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@BUFSIZ = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.2 = private unnamed_addr constant [40 x i8] c"error: can't open input or output file\0A\00", align 1
@SEEK_END = dso_local global i32 0, align 4
@SEEK_SET = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [25 x i8] c"const int %s_size = %d;\0A\00", align 1
@.str.4 = private unnamed_addr constant [34 x i8] c"const unsigned char %s_data[%d] =\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"{\0A\09\00", align 1
@.str.6 = private unnamed_addr constant [9 x i8] c"0x%02x, \00", align 1
@.str.7 = private unnamed_addr constant [3 x i8] c"\0A\09\00", align 1
@.str.8 = private unnamed_addr constant [5 x i8] c"\0A};\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @convert(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca [2048 x i8], align 16
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca ptr, align 8
%15 = alloca i64, align 8
%16 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%17 = load i32, ptr @BUFSIZ, align 4
%18 = zext i32 %17 to i64
%19 = call ptr @llvm.stacksave()
store ptr %19, ptr %14, align 8
%20 = alloca i8, i64 %18, align 16
store i64 %18, ptr %15, align 8
%21 = load ptr, ptr %4, align 8
%22 = call ptr @fopen(ptr noundef %21, ptr noundef @.str)
store ptr %22, ptr %7, align 8
%23 = load ptr, ptr %5, align 8
%24 = call ptr @fopen(ptr noundef %23, ptr noundef @.str.1)
store ptr %24, ptr %8, align 8
%25 = load ptr, ptr %7, align 8
%26 = icmp ne ptr %25, null
br i1 %26, label %27, label %30
27: ; preds = %3
%28 = load ptr, ptr %8, align 8
%29 = icmp ne ptr %28, null
br i1 %29, label %32, label %30
30: ; preds = %27, %3
%31 = call i32 @printf(ptr noundef @.str.2)
store i32 1, ptr %16, align 4
br label %93
32: ; preds = %27
%33 = load ptr, ptr %7, align 8
%34 = load i32, ptr @SEEK_END, align 4
%35 = call i32 @fseek(ptr noundef %33, i32 noundef 0, i32 noundef %34)
%36 = load ptr, ptr %7, align 8
%37 = call i32 @ftell(ptr noundef %36)
store i32 %37, ptr %11, align 4
%38 = load ptr, ptr %7, align 8
%39 = load i32, ptr @SEEK_SET, align 4
%40 = call i32 @fseek(ptr noundef %38, i32 noundef 0, i32 noundef %39)
%41 = load ptr, ptr %8, align 8
%42 = call i32 @setbuf(ptr noundef %41, ptr noundef %20)
%43 = load ptr, ptr %8, align 8
%44 = load ptr, ptr %6, align 8
%45 = load i32, ptr %11, align 4
%46 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %43, ptr noundef @.str.3, ptr noundef %44, i32 noundef %45)
%47 = load ptr, ptr %8, align 8
%48 = load ptr, ptr %6, align 8
%49 = load i32, ptr %11, align 4
%50 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %47, ptr noundef @.str.4, ptr noundef %48, i32 noundef %49)
%51 = load ptr, ptr %8, align 8
%52 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %51, ptr noundef @.str.5)
store i32 0, ptr %12, align 4
br label %53
53: ; preds = %85, %32
%54 = load i32, ptr %11, align 4
%55 = icmp sgt i32 %54, 0
br i1 %55, label %56, label %86
56: ; preds = %53
%57 = getelementptr inbounds [2048 x i8], ptr %9, i64 0, i64 0
%58 = load ptr, ptr %7, align 8
%59 = call i32 @fread(ptr noundef %57, i32 noundef 1, i32 noundef 2048, ptr noundef %58)
store i32 %59, ptr %10, align 4
%60 = load i32, ptr %10, align 4
%61 = load i32, ptr %11, align 4
%62 = sub nsw i32 %61, %60
store i32 %62, ptr %11, align 4
store i32 0, ptr %13, align 4
br label %63
63: ; preds = %82, %56
%64 = load i32, ptr %13, align 4
%65 = load i32, ptr %10, align 4
%66 = icmp slt i32 %64, %65
br i1 %66, label %67, label %85
67: ; preds = %63
%68 = load ptr, ptr %8, align 8
%69 = load i32, ptr %13, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds [2048 x i8], ptr %9, i64 0, i64 %70
%72 = load i8, ptr %71, align 1
%73 = zext i8 %72 to i32
%74 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %68, ptr noundef @.str.6, i32 noundef %73)
%75 = load i32, ptr %12, align 4
%76 = add nsw i32 %75, 1
store i32 %76, ptr %12, align 4
%77 = icmp sge i32 %76, 8
br i1 %77, label %78, label %81
78: ; preds = %67
store i32 0, ptr %12, align 4
%79 = load ptr, ptr %8, align 8
%80 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %79, ptr noundef @.str.7)
br label %81
81: ; preds = %78, %67
br label %82
82: ; preds = %81
%83 = load i32, ptr %13, align 4
%84 = add nsw i32 %83, 1
store i32 %84, ptr %13, align 4
br label %63, !llvm.loop !6
85: ; preds = %63
br label %53, !llvm.loop !8
86: ; preds = %53
%87 = load ptr, ptr %8, align 8
%88 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %87, ptr noundef @.str.8)
%89 = load ptr, ptr %7, align 8
%90 = call i32 @fclose(ptr noundef %89)
%91 = load ptr, ptr %8, align 8
%92 = call i32 @fclose(ptr noundef %91)
store i32 0, ptr %16, align 4
br label %93
93: ; preds = %86, %30
%94 = load ptr, ptr %14, align 8
call void @llvm.stackrestore(ptr %94)
%95 = load i32, ptr %16, align 4
switch i32 %95, label %97 [
i32 0, label %96
i32 1, label %96
]
96: ; preds = %93, %93
ret void
97: ; preds = %93
unreachable
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare ptr @fopen(ptr noundef, ptr noundef) #2
declare i32 @printf(ptr noundef) #2
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @ftell(ptr noundef) #2
declare i32 @setbuf(ptr noundef, ptr noundef) #2
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #2
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #2
declare i32 @fclose(ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcvggkns_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@BUFSIZ = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.2 = private unnamed_addr constant [40 x i8] c"error: can't open input or output file\0A\00", align 1
@SEEK_END = dso_local global i32 0, align 4
@SEEK_SET = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [25 x i8] c"const int %s_size = %d;\0A\00", align 1
@.str.4 = private unnamed_addr constant [34 x i8] c"const unsigned char %s_data[%d] =\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"{\0A\09\00", align 1
@.str.6 = private unnamed_addr constant [9 x i8] c"0x%02x, \00", align 1
@.str.7 = private unnamed_addr constant [3 x i8] c"\0A\09\00", align 1
@.str.8 = private unnamed_addr constant [5 x i8] c"\0A};\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @convert(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca [2048 x i8], align 16
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca ptr, align 8
%15 = alloca i64, align 8
%16 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%17 = load i32, ptr @BUFSIZ, align 4
%18 = zext i32 %17 to i64
%19 = call ptr @llvm.stacksave()
store ptr %19, ptr %14, align 8
%20 = alloca i8, i64 %18, align 16
store i64 %18, ptr %15, align 8
%21 = load ptr, ptr %4, align 8
%22 = call ptr @fopen(ptr noundef %21, ptr noundef @.str)
store ptr %22, ptr %7, align 8
%23 = load ptr, ptr %5, align 8
%24 = call ptr @fopen(ptr noundef %23, ptr noundef @.str.1)
store ptr %24, ptr %8, align 8
%25 = load ptr, ptr %7, align 8
%26 = icmp ne ptr %25, null
br i1 %26, label %27, label %30
27: ; preds = %3
%28 = load ptr, ptr %8, align 8
%29 = icmp ne ptr %28, null
br i1 %29, label %32, label %30
30: ; preds = %27, %3
%31 = call i32 @printf(ptr noundef @.str.2)
store i32 1, ptr %16, align 4
br label %96
32: ; preds = %27
%33 = load ptr, ptr %7, align 8
%34 = load i32, ptr @SEEK_END, align 4
%35 = call i32 @fseek(ptr noundef %33, i32 noundef 0, i32 noundef %34)
%36 = load ptr, ptr %7, align 8
%37 = call i32 @ftell(ptr noundef %36)
store i32 %37, ptr %11, align 4
%38 = load ptr, ptr %7, align 8
%39 = load i32, ptr @SEEK_SET, align 4
%40 = call i32 @fseek(ptr noundef %38, i32 noundef 0, i32 noundef %39)
%41 = load ptr, ptr %8, align 8
%42 = call i32 @setbuf(ptr noundef %41, ptr noundef %20)
%43 = load ptr, ptr %8, align 8
%44 = load ptr, ptr %6, align 8
%45 = load i32, ptr %11, align 4
%46 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %43, ptr noundef @.str.3, ptr noundef %44, i32 noundef %45)
%47 = load ptr, ptr %8, align 8
%48 = load ptr, ptr %6, align 8
%49 = load i32, ptr %11, align 4
%50 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %47, ptr noundef @.str.4, ptr noundef %48, i32 noundef %49)
%51 = load ptr, ptr %8, align 8
%52 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %51, ptr noundef @.str.5)
store i32 0, ptr %12, align 4
%53 = load i32, ptr %11, align 4
%54 = icmp sgt i32 %53, 0
br i1 %54, label %.lr.ph2, label %89
.lr.ph2: ; preds = %32
br label %55
55: ; preds = %.lr.ph2, %86
%56 = getelementptr inbounds [2048 x i8], ptr %9, i64 0, i64 0
%57 = load ptr, ptr %7, align 8
%58 = call i32 @fread(ptr noundef %56, i32 noundef 1, i32 noundef 2048, ptr noundef %57)
store i32 %58, ptr %10, align 4
%59 = load i32, ptr %10, align 4
%60 = load i32, ptr %11, align 4
%61 = sub nsw i32 %60, %59
store i32 %61, ptr %11, align 4
store i32 0, ptr %13, align 4
%62 = load i32, ptr %13, align 4
%63 = load i32, ptr %10, align 4
%64 = icmp slt i32 %62, %63
br i1 %64, label %.lr.ph, label %86
.lr.ph: ; preds = %55
br label %65
65: ; preds = %.lr.ph, %80
%66 = load ptr, ptr %8, align 8
%67 = load i32, ptr %13, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds [2048 x i8], ptr %9, i64 0, i64 %68
%70 = load i8, ptr %69, align 1
%71 = zext i8 %70 to i32
%72 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %66, ptr noundef @.str.6, i32 noundef %71)
%73 = load i32, ptr %12, align 4
%74 = add nsw i32 %73, 1
store i32 %74, ptr %12, align 4
%75 = icmp sge i32 %74, 8
br i1 %75, label %76, label %79
76: ; preds = %65
store i32 0, ptr %12, align 4
%77 = load ptr, ptr %8, align 8
%78 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %77, ptr noundef @.str.7)
br label %79
79: ; preds = %76, %65
br label %80
80: ; preds = %79
%81 = load i32, ptr %13, align 4
%82 = add nsw i32 %81, 1
store i32 %82, ptr %13, align 4
%83 = load i32, ptr %13, align 4
%84 = load i32, ptr %10, align 4
%85 = icmp slt i32 %83, %84
br i1 %85, label %65, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %80
br label %86
86: ; preds = %._crit_edge, %55
%87 = load i32, ptr %11, align 4
%88 = icmp sgt i32 %87, 0
br i1 %88, label %55, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %86
br label %89
89: ; preds = %._crit_edge3, %32
%90 = load ptr, ptr %8, align 8
%91 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %90, ptr noundef @.str.8)
%92 = load ptr, ptr %7, align 8
%93 = call i32 @fclose(ptr noundef %92)
%94 = load ptr, ptr %8, align 8
%95 = call i32 @fclose(ptr noundef %94)
store i32 0, ptr %16, align 4
br label %96
96: ; preds = %89, %30
%97 = load ptr, ptr %14, align 8
call void @llvm.stackrestore(ptr %97)
%98 = load i32, ptr %16, align 4
switch i32 %98, label %100 [
i32 0, label %99
i32 1, label %99
]
99: ; preds = %96, %96
ret void
100: ; preds = %96
unreachable
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare ptr @fopen(ptr noundef, ptr noundef) #2
declare i32 @printf(ptr noundef) #2
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @ftell(ptr noundef) #2
declare i32 @setbuf(ptr noundef, ptr noundef) #2
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #2
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #2
declare i32 @fclose(ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.