llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
---|---|
; ModuleID = '/tmp/tmpyk0y2253.c'
source_filename = "/tmp/tmpyk0y2253.c"
target datalayout = "e-m:e-p270: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/tmpyk0y2253.c"
target datalayout = "e-m:e-p270: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/tmpk9y9ul1k.c'
source_filename = "/tmp/tmpk9y9ul1k.c"
target datalayout = "e-m:e-p270: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/tmpk9y9ul1k.c"
target datalayout = "e-m:e-p270: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/tmppnxfkjjv.c'
source_filename = "/tmp/tmppnxfkjjv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [42 x i8] c"The philosopher %d wishes to eat dinner!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @eating(i32 noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
%6 = load i32, ptr %3, align 4
%7 = call i32 @pickup_forks(i32 noundef %6)
%8 = load i32, ptr %3, align 4
%9 = call i32 @return_forks(i32 noundef %8)
%10 = call i32 @pthread_exit(i32 noundef 0)
%11 = load ptr, ptr %2, align 8
ret ptr %11
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @pickup_forks(i32 noundef) #1
declare i32 @return_forks(i32 noundef) #1
declare i32 @pthread_exit(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppnxfkjjv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [42 x i8] c"The philosopher %d wishes to eat dinner!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @eating(i32 noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
%6 = load i32, ptr %3, align 4
%7 = call i32 @pickup_forks(i32 noundef %6)
%8 = load i32, ptr %3, align 4
%9 = call i32 @return_forks(i32 noundef %8)
%10 = call i32 @pthread_exit(i32 noundef 0)
%11 = load ptr, ptr %2, align 8
ret ptr %11
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @pickup_forks(i32 noundef) #1
declare i32 @return_forks(i32 noundef) #1
declare i32 @pthread_exit(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjlrqodch.c'
source_filename = "/tmp/tmpjlrqodch.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memcpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%10 = load ptr, ptr %5, align 8
store ptr %10, ptr %7, align 8
%11 = load ptr, ptr %7, align 8
%12 = load i64, ptr %6, align 8
%13 = getelementptr inbounds i8, ptr %11, i64 %12
store ptr %13, ptr %8, align 8
%14 = load ptr, ptr %4, align 8
store ptr %14, ptr %9, align 8
br label %15
15: ; preds = %19, %3
%16 = load ptr, ptr %7, align 8
%17 = load ptr, ptr %8, align 8
%18 = icmp ne ptr %16, %17
br i1 %18, label %19, label %25
19: ; preds = %15
%20 = load ptr, ptr %7, align 8
%21 = getelementptr inbounds i8, ptr %20, i32 1
store ptr %21, ptr %7, align 8
%22 = load i8, ptr %20, align 1
%23 = load ptr, ptr %9, align 8
%24 = getelementptr inbounds i8, ptr %23, i32 1
store ptr %24, ptr %9, align 8
store i8 %22, ptr %23, align 1
br label %15, !llvm.loop !6
25: ; preds = %15
%26 = load ptr, ptr %4, align 8
ret ptr %26
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpjlrqodch.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memcpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%10 = load ptr, ptr %5, align 8
store ptr %10, ptr %7, align 8
%11 = load ptr, ptr %7, align 8
%12 = load i64, ptr %6, align 8
%13 = getelementptr inbounds i8, ptr %11, i64 %12
store ptr %13, ptr %8, align 8
%14 = load ptr, ptr %4, align 8
store ptr %14, ptr %9, align 8
%15 = load ptr, ptr %7, align 8
%16 = load ptr, ptr %8, align 8
%17 = icmp ne ptr %15, %16
br i1 %17, label %.lr.ph, label %27
.lr.ph: ; preds = %3
br label %18
18: ; preds = %.lr.ph, %18
%19 = load ptr, ptr %7, align 8
%20 = getelementptr inbounds i8, ptr %19, i32 1
store ptr %20, ptr %7, align 8
%21 = load i8, ptr %19, align 1
%22 = load ptr, ptr %9, align 8
%23 = getelementptr inbounds i8, ptr %22, i32 1
store ptr %23, ptr %9, align 8
store i8 %21, ptr %22, align 1
%24 = load ptr, ptr %7, align 8
%25 = load ptr, ptr %8, align 8
%26 = icmp ne ptr %24, %25
br i1 %26, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %27
27: ; preds = %._crit_edge, %3
%28 = load ptr, ptr %4, align 8
ret ptr %28
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpvwt1_k96.c'
source_filename = "/tmp/tmpvwt1_k96.c"
target datalayout = "e-m:e-p270: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/tmpvwt1_k96.c"
target datalayout = "e-m:e-p270: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/tmphmb9s79v.c'
source_filename = "/tmp/tmphmb9s79v.c"
target datalayout = "e-m:e-p270: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/tmphmb9s79v.c"
target datalayout = "e-m:e-p270: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/tmplx93mz_g.c'
source_filename = "/tmp/tmplx93mz_g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @logg(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplx93mz_g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @logg(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgcwh5syl.c'
source_filename = "/tmp/tmpgcwh5syl.c"
target datalayout = "e-m:e-p270: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/tmpgcwh5syl.c"
target datalayout = "e-m:e-p270: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/tmprtjcv7_7.c'
source_filename = "/tmp/tmprtjcv7_7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/dev/uio0\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"GPIO UIO test.\0A\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [29 x i8] c"Invalid UIO device file:%s.\0A\00", align 1
@.str.3 = private unnamed_addr constant [35 x i8] c"/sys/class/uio/uio0/maps/map0/size\00", align 1
@PROT_READ = dso_local global i32 0, align 4
@PROT_WRITE = dso_local global i32 0, align 4
@MAP_SHARED = dso_local global i32 0, align 4
@MAP_FAILED = dso_local global ptr null, align 8
@.str.4 = private unnamed_addr constant [20 x i8] c"Mmap call failure.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr @.str, ptr %7, align 8
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%12 = load ptr, ptr %7, align 8
%13 = load i32, ptr @O_RDWR, align 4
%14 = call i32 @open(ptr noundef %12, i32 noundef %13)
store i32 %14, ptr %6, align 4
%15 = load i32, ptr %6, align 4
%16 = icmp slt i32 %15, 1
br i1 %16, label %17, label %20
17: ; preds = %2
%18 = load ptr, ptr %7, align 8
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %18)
store i32 -1, ptr %3, align 4
br label %47
20: ; preds = %2
%21 = call i32 @get_memory_size(ptr noundef @.str.3)
store i32 %21, ptr %9, align 4
%22 = load i32, ptr %9, align 4
%23 = load i32, ptr @PROT_READ, align 4
%24 = load i32, ptr @PROT_WRITE, align 4
%25 = or i32 %23, %24
%26 = load i32, ptr @MAP_SHARED, align 4
%27 = load i32, ptr %6, align 4
%28 = call ptr @mmap(ptr noundef null, i32 noundef %22, i32 noundef %25, i32 noundef %26, i32 noundef %27, i32 noundef 0)
store ptr %28, ptr %8, align 8
%29 = load ptr, ptr %8, align 8
%30 = load ptr, ptr @MAP_FAILED, align 8
%31 = icmp eq ptr %29, %30
br i1 %31, label %32, label %34
32: ; preds = %20
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
store i32 -1, ptr %3, align 4
br label %47
34: ; preds = %20
%35 = load ptr, ptr %8, align 8
%36 = call i32 @gpio_write(ptr noundef %35, i32 noundef 4, i32 noundef 0)
%37 = load ptr, ptr %8, align 8
%38 = call i32 @gpio_write(ptr noundef %37, i32 noundef 12, i32 noundef 15)
%39 = load ptr, ptr %8, align 8
%40 = call i32 @gpio_write(ptr noundef %39, i32 noundef 284, i32 noundef -2147483648)
%41 = load ptr, ptr %8, align 8
%42 = call i32 @gpio_write(ptr noundef %41, i32 noundef 296, i32 noundef 2)
br label %43
43: ; preds = %34, %43
%44 = load i32, ptr %6, align 4
%45 = load ptr, ptr %8, align 8
%46 = call i32 @wait_for_interrupt(i32 noundef %44, ptr noundef %45)
br label %43
47: ; preds = %32, %17
%48 = load i32, ptr %3, align 4
ret i32 %48
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @get_memory_size(ptr noundef) #1
declare ptr @mmap(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @gpio_write(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @wait_for_interrupt(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/tmprtjcv7_7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/dev/uio0\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"GPIO UIO test.\0A\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [29 x i8] c"Invalid UIO device file:%s.\0A\00", align 1
@.str.3 = private unnamed_addr constant [35 x i8] c"/sys/class/uio/uio0/maps/map0/size\00", align 1
@PROT_READ = dso_local global i32 0, align 4
@PROT_WRITE = dso_local global i32 0, align 4
@MAP_SHARED = dso_local global i32 0, align 4
@MAP_FAILED = dso_local global ptr null, align 8
@.str.4 = private unnamed_addr constant [20 x i8] c"Mmap call failure.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr @.str, ptr %7, align 8
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%12 = load ptr, ptr %7, align 8
%13 = load i32, ptr @O_RDWR, align 4
%14 = call i32 @open(ptr noundef %12, i32 noundef %13)
store i32 %14, ptr %6, align 4
%15 = load i32, ptr %6, align 4
%16 = icmp slt i32 %15, 1
br i1 %16, label %17, label %20
17: ; preds = %2
%18 = load ptr, ptr %7, align 8
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %18)
store i32 -1, ptr %3, align 4
br label %47
20: ; preds = %2
%21 = call i32 @get_memory_size(ptr noundef @.str.3)
store i32 %21, ptr %9, align 4
%22 = load i32, ptr %9, align 4
%23 = load i32, ptr @PROT_READ, align 4
%24 = load i32, ptr @PROT_WRITE, align 4
%25 = or i32 %23, %24
%26 = load i32, ptr @MAP_SHARED, align 4
%27 = load i32, ptr %6, align 4
%28 = call ptr @mmap(ptr noundef null, i32 noundef %22, i32 noundef %25, i32 noundef %26, i32 noundef %27, i32 noundef 0)
store ptr %28, ptr %8, align 8
%29 = load ptr, ptr %8, align 8
%30 = load ptr, ptr @MAP_FAILED, align 8
%31 = icmp eq ptr %29, %30
br i1 %31, label %32, label %34
32: ; preds = %20
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
store i32 -1, ptr %3, align 4
br label %47
34: ; preds = %20
%35 = load ptr, ptr %8, align 8
%36 = call i32 @gpio_write(ptr noundef %35, i32 noundef 4, i32 noundef 0)
%37 = load ptr, ptr %8, align 8
%38 = call i32 @gpio_write(ptr noundef %37, i32 noundef 12, i32 noundef 15)
%39 = load ptr, ptr %8, align 8
%40 = call i32 @gpio_write(ptr noundef %39, i32 noundef 284, i32 noundef -2147483648)
%41 = load ptr, ptr %8, align 8
%42 = call i32 @gpio_write(ptr noundef %41, i32 noundef 296, i32 noundef 2)
br label %43
43: ; preds = %43, %34
%44 = load i32, ptr %6, align 4
%45 = load ptr, ptr %8, align 8
%46 = call i32 @wait_for_interrupt(i32 noundef %44, ptr noundef %45)
br label %43
47: ; preds = %32, %17
%48 = load i32, ptr %3, align 4
ret i32 %48
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @get_memory_size(ptr noundef) #1
declare ptr @mmap(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @gpio_write(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @wait_for_interrupt(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/tmp6775yi5a.c'
source_filename = "/tmp/tmp6775yi5a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"Spent %f\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %3, ptr noundef %4, ptr noundef %5)
%7 = load i32, ptr %3, align 4
%8 = load i32, ptr %4, align 4
%9 = load i32, ptr %5, align 4
%10 = call float @calc(i32 noundef %7, i32 noundef %8, i32 noundef %9)
store float %10, ptr %2, align 4
%11 = fcmp oge float %10, 0.000000e+00
br i1 %11, label %12, label %15
12: ; preds = %0
%13 = load float, ptr %2, align 4
%14 = call i32 @printf(ptr noundef @.str.1, float noundef %13)
br label %15
15: ; preds = %12, %0
%16 = load i32, ptr %1, align 4
ret i32 %16
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare float @calc(i32 noundef, i32 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/tmp6775yi5a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"Spent %f\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %3, ptr noundef %4, ptr noundef %5)
%7 = load i32, ptr %3, align 4
%8 = load i32, ptr %4, align 4
%9 = load i32, ptr %5, align 4
%10 = call float @calc(i32 noundef %7, i32 noundef %8, i32 noundef %9)
store float %10, ptr %2, align 4
%11 = fcmp oge float %10, 0.000000e+00
br i1 %11, label %12, label %15
12: ; preds = %0
%13 = load float, ptr %2, align 4
%14 = call i32 @printf(ptr noundef @.str.1, float noundef %13)
br label %15
15: ; preds = %12, %0
%16 = load i32, ptr %1, align 4
ret i32 %16
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare float @calc(i32 noundef, i32 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/tmp3fztom3w.c'
source_filename = "/tmp/tmp3fztom3w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MatrixRotate4x4(ptr noundef %0, float noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca float, align 4
store ptr %0, ptr %3, align 8
store float %1, ptr %4, align 4
%5 = load float, ptr %4, align 4
%6 = call float @cos(float noundef %5)
%7 = load ptr, ptr %3, align 8
%8 = getelementptr inbounds float, ptr %7, i64 0
store float %6, ptr %8, align 4
%9 = load float, ptr %4, align 4
%10 = call float @sin(float noundef %9)
%11 = load ptr, ptr %3, align 8
%12 = getelementptr inbounds float, ptr %11, i64 1
store float %10, ptr %12, align 4
%13 = load float, ptr %4, align 4
%14 = call float @sin(float noundef %13)
%15 = fneg float %14
%16 = load ptr, ptr %3, align 8
%17 = getelementptr inbounds float, ptr %16, i64 4
store float %15, ptr %17, align 4
%18 = load float, ptr %4, align 4
%19 = call float @cos(float noundef %18)
%20 = load ptr, ptr %3, align 8
%21 = getelementptr inbounds float, ptr %20, i64 5
store float %19, ptr %21, align 4
ret void
}
declare float @cos(float noundef) #1
declare float @sin(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/tmp3fztom3w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MatrixRotate4x4(ptr noundef %0, float noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca float, align 4
store ptr %0, ptr %3, align 8
store float %1, ptr %4, align 4
%5 = load float, ptr %4, align 4
%6 = call float @cos(float noundef %5)
%7 = load ptr, ptr %3, align 8
%8 = getelementptr inbounds float, ptr %7, i64 0
store float %6, ptr %8, align 4
%9 = load float, ptr %4, align 4
%10 = call float @sin(float noundef %9)
%11 = load ptr, ptr %3, align 8
%12 = getelementptr inbounds float, ptr %11, i64 1
store float %10, ptr %12, align 4
%13 = load float, ptr %4, align 4
%14 = call float @sin(float noundef %13)
%15 = fneg float %14
%16 = load ptr, ptr %3, align 8
%17 = getelementptr inbounds float, ptr %16, i64 4
store float %15, ptr %17, align 4
%18 = load float, ptr %4, align 4
%19 = call float @cos(float noundef %18)
%20 = load ptr, ptr %3, align 8
%21 = getelementptr inbounds float, ptr %20, i64 5
store float %19, ptr %21, align 4
ret void
}
declare float @cos(float noundef) #1
declare float @sin(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/tmpzk4uiwlv.c'
source_filename = "/tmp/tmpzk4uiwlv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hex_string_to_byte_array(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%13 = load ptr, ptr %5, align 8
%14 = call i32 @strlen(ptr noundef %13)
store i32 %14, ptr %11, align 4
%15 = load i32, ptr %7, align 4
%16 = mul i32 %15, 2
%17 = load i32, ptr %7, align 4
%18 = add i32 %16, %17
%19 = sub i32 %18, 1
store i32 %19, ptr %12, align 4
%20 = load i32, ptr %11, align 4
%21 = load i32, ptr %7, align 4
%22 = mul i32 %21, 2
%23 = icmp ne i32 %20, %22
br i1 %23, label %24, label %29
24: ; preds = %3
%25 = load i32, ptr %11, align 4
%26 = load i32, ptr %12, align 4
%27 = icmp ne i32 %25, %26
br i1 %27, label %28, label %29
28: ; preds = %24
store i32 1, ptr %4, align 4
br label %136
29: ; preds = %24, %3
store i32 0, ptr %9, align 4
br label %30
30: ; preds = %132, %29
%31 = load i32, ptr %9, align 4
%32 = load i32, ptr %7, align 4
%33 = icmp ult i32 %31, %32
br i1 %33, label %34, label %135
34: ; preds = %30
store i32 0, ptr %8, align 4
store i32 0, ptr %10, align 4
br label %35
35: ; preds = %96, %34
%36 = load i32, ptr %10, align 4
%37 = icmp ult i32 %36, 2
br i1 %37, label %38, label %99
38: ; preds = %35
%39 = load i32, ptr %8, align 4
%40 = shl i32 %39, 4
store i32 %40, ptr %8, align 4
%41 = load ptr, ptr %5, align 8
%42 = load i8, ptr %41, align 1
%43 = sext i8 %42 to i32
%44 = icmp sge i32 %43, 65
br i1 %44, label %45, label %56
45: ; preds = %38
%46 = load ptr, ptr %5, align 8
%47 = load i8, ptr %46, align 1
%48 = sext i8 %47 to i32
%49 = icmp sle i32 %48, 70
br i1 %49, label %50, label %56
50: ; preds = %45
%51 = load ptr, ptr %5, align 8
%52 = load i8, ptr %51, align 1
%53 = sext i8 %52 to i32
%54 = add nsw i32 %53, 32
%55 = trunc i32 %54 to i8
store i8 %55, ptr %51, align 1
br label %56
56: ; preds = %50, %45, %38
%57 = load ptr, ptr %5, align 8
%58 = load i8, ptr %57, align 1
%59 = sext i8 %58 to i32
%60 = icmp sge i32 %59, 48
br i1 %60, label %61, label %73
61: ; preds = %56
%62 = load ptr, ptr %5, align 8
%63 = load i8, ptr %62, align 1
%64 = sext i8 %63 to i32
%65 = icmp sle i32 %64, 57
br i1 %65, label %66, label %73
66: ; preds = %61
%67 = load ptr, ptr %5, align 8
%68 = load i8, ptr %67, align 1
%69 = sext i8 %68 to i32
%70 = sub nsw i32 %69, 48
%71 = load i32, ptr %8, align 4
%72 = add i32 %71, %70
store i32 %72, ptr %8, align 4
br label %93
73: ; preds = %61, %56
%74 = load ptr, ptr %5, align 8
%75 = load i8, ptr %74, align 1
%76 = sext i8 %75 to i32
%77 = icmp sge i32 %76, 97
br i1 %77, label %78, label %91
78: ; preds = %73
%79 = load ptr, ptr %5, align 8
%80 = load i8, ptr %79, align 1
%81 = sext i8 %80 to i32
%82 = icmp sle i32 %81, 102
br i1 %82, label %83, label %91
83: ; preds = %78
%84 = load ptr, ptr %5, align 8
%85 = load i8, ptr %84, align 1
%86 = sext i8 %85 to i32
%87 = sub nsw i32 %86, 97
%88 = add nsw i32 %87, 10
%89 = load i32, ptr %8, align 4
%90 = add i32 %89, %88
store i32 %90, ptr %8, align 4
br label %92
91: ; preds = %78, %73
store i32 1, ptr %4, align 4
br label %136
92: ; preds = %83
br label %93
93: ; preds = %92, %66
%94 = load ptr, ptr %5, align 8
%95 = getelementptr inbounds i8, ptr %94, i32 1
store ptr %95, ptr %5, align 8
br label %96
96: ; preds = %93
%97 = load i32, ptr %10, align 4
%98 = add i32 %97, 1
store i32 %98, ptr %10, align 4
br label %35, !llvm.loop !6
99: ; preds = %35
%100 = load i32, ptr %8, align 4
%101 = load ptr, ptr %6, align 8
%102 = getelementptr inbounds i32, ptr %101, i32 1
store ptr %102, ptr %6, align 8
store i32 %100, ptr %101, align 4
%103 = load i32, ptr %11, align 4
%104 = load i32, ptr %12, align 4
%105 = icmp eq i32 %103, %104
br i1 %105, label %106, label %131
106: ; preds = %99
%107 = load ptr, ptr %5, align 8
%108 = load i8, ptr %107, align 1
%109 = sext i8 %108 to i32
%110 = icmp eq i32 %109, 58
br i1 %110, label %126, label %111
111: ; preds = %106
%112 = load ptr, ptr %5, align 8
%113 = load i8, ptr %112, align 1
%114 = sext i8 %113 to i32
%115 = icmp eq i32 %114, 45
br i1 %115, label %126, label %116
116: ; preds = %111
%117 = load ptr, ptr %5, align 8
%118 = load i8, ptr %117, align 1
%119 = sext i8 %118 to i32
%120 = icmp eq i32 %119, 32
br i1 %120, label %126, label %121
121: ; preds = %116
%122 = load ptr, ptr %5, align 8
%123 = load i8, ptr %122, align 1
%124 = sext i8 %123 to i32
%125 = icmp eq i32 %124, 0
br i1 %125, label %126, label %129
126: ; preds = %121, %116, %111, %106
%127 = load ptr, ptr %5, align 8
%128 = getelementptr inbounds i8, ptr %127, i32 1
store ptr %128, ptr %5, align 8
br label %130
129: ; preds = %121
store i32 1, ptr %4, align 4
br label %136
130: ; preds = %126
br label %131
131: ; preds = %130, %99
br label %132
132: ; preds = %131
%133 = load i32, ptr %9, align 4
%134 = add i32 %133, 1
store i32 %134, ptr %9, align 4
br label %30, !llvm.loop !8
135: ; preds = %30
store i32 0, ptr %4, align 4
br label %136
136: ; preds = %135, %129, %91, %28
%137 = load i32, ptr %4, align 4
ret i32 %137
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzk4uiwlv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hex_string_to_byte_array(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%13 = load ptr, ptr %5, align 8
%14 = call i32 @strlen(ptr noundef %13)
store i32 %14, ptr %11, align 4
%15 = load i32, ptr %7, align 4
%16 = mul i32 %15, 2
%17 = load i32, ptr %7, align 4
%18 = add i32 %16, %17
%19 = sub i32 %18, 1
store i32 %19, ptr %12, align 4
%20 = load i32, ptr %11, align 4
%21 = load i32, ptr %7, align 4
%22 = mul i32 %21, 2
%23 = icmp ne i32 %20, %22
br i1 %23, label %24, label %29
24: ; preds = %3
%25 = load i32, ptr %11, align 4
%26 = load i32, ptr %12, align 4
%27 = icmp ne i32 %25, %26
br i1 %27, label %28, label %29
28: ; preds = %24
store i32 1, ptr %4, align 4
br label %139
29: ; preds = %24, %3
store i32 0, ptr %9, align 4
%30 = load i32, ptr %9, align 4
%31 = load i32, ptr %7, align 4
%32 = icmp ult i32 %30, %31
br i1 %32, label %.lr.ph2, label %138
.lr.ph2: ; preds = %29
br label %33
33: ; preds = %.lr.ph2, %132
store i32 0, ptr %8, align 4
store i32 0, ptr %10, align 4
%34 = load i32, ptr %10, align 4
%35 = icmp ult i32 %34, 2
br i1 %35, label %.lr.ph, label %99
.lr.ph: ; preds = %33
br label %36
36: ; preds = %.lr.ph, %94
%37 = load i32, ptr %8, align 4
%38 = shl i32 %37, 4
store i32 %38, ptr %8, align 4
%39 = load ptr, ptr %5, align 8
%40 = load i8, ptr %39, align 1
%41 = sext i8 %40 to i32
%42 = icmp sge i32 %41, 65
br i1 %42, label %43, label %54
43: ; preds = %36
%44 = load ptr, ptr %5, align 8
%45 = load i8, ptr %44, align 1
%46 = sext i8 %45 to i32
%47 = icmp sle i32 %46, 70
br i1 %47, label %48, label %54
48: ; preds = %43
%49 = load ptr, ptr %5, align 8
%50 = load i8, ptr %49, align 1
%51 = sext i8 %50 to i32
%52 = add nsw i32 %51, 32
%53 = trunc i32 %52 to i8
store i8 %53, ptr %49, align 1
br label %54
54: ; preds = %48, %43, %36
%55 = load ptr, ptr %5, align 8
%56 = load i8, ptr %55, align 1
%57 = sext i8 %56 to i32
%58 = icmp sge i32 %57, 48
br i1 %58, label %59, label %71
59: ; preds = %54
%60 = load ptr, ptr %5, align 8
%61 = load i8, ptr %60, align 1
%62 = sext i8 %61 to i32
%63 = icmp sle i32 %62, 57
br i1 %63, label %64, label %71
64: ; preds = %59
%65 = load ptr, ptr %5, align 8
%66 = load i8, ptr %65, align 1
%67 = sext i8 %66 to i32
%68 = sub nsw i32 %67, 48
%69 = load i32, ptr %8, align 4
%70 = add i32 %69, %68
store i32 %70, ptr %8, align 4
br label %91
71: ; preds = %59, %54
%72 = load ptr, ptr %5, align 8
%73 = load i8, ptr %72, align 1
%74 = sext i8 %73 to i32
%75 = icmp sge i32 %74, 97
br i1 %75, label %76, label %89
76: ; preds = %71
%77 = load ptr, ptr %5, align 8
%78 = load i8, ptr %77, align 1
%79 = sext i8 %78 to i32
%80 = icmp sle i32 %79, 102
br i1 %80, label %81, label %89
81: ; preds = %76
%82 = load ptr, ptr %5, align 8
%83 = load i8, ptr %82, align 1
%84 = sext i8 %83 to i32
%85 = sub nsw i32 %84, 97
%86 = add nsw i32 %85, 10
%87 = load i32, ptr %8, align 4
%88 = add i32 %87, %86
store i32 %88, ptr %8, align 4
br label %90
89: ; preds = %76, %71
store i32 1, ptr %4, align 4
br label %139
90: ; preds = %81
br label %91
91: ; preds = %90, %64
%92 = load ptr, ptr %5, align 8
%93 = getelementptr inbounds i8, ptr %92, i32 1
store ptr %93, ptr %5, align 8
br label %94
94: ; preds = %91
%95 = load i32, ptr %10, align 4
%96 = add i32 %95, 1
store i32 %96, ptr %10, align 4
%97 = load i32, ptr %10, align 4
%98 = icmp ult i32 %97, 2
br i1 %98, label %36, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %94
br label %99
99: ; preds = %._crit_edge, %33
%100 = load i32, ptr %8, align 4
%101 = load ptr, ptr %6, align 8
%102 = getelementptr inbounds i32, ptr %101, i32 1
store ptr %102, ptr %6, align 8
store i32 %100, ptr %101, align 4
%103 = load i32, ptr %11, align 4
%104 = load i32, ptr %12, align 4
%105 = icmp eq i32 %103, %104
br i1 %105, label %106, label %131
106: ; preds = %99
%107 = load ptr, ptr %5, align 8
%108 = load i8, ptr %107, align 1
%109 = sext i8 %108 to i32
%110 = icmp eq i32 %109, 58
br i1 %110, label %126, label %111
111: ; preds = %106
%112 = load ptr, ptr %5, align 8
%113 = load i8, ptr %112, align 1
%114 = sext i8 %113 to i32
%115 = icmp eq i32 %114, 45
br i1 %115, label %126, label %116
116: ; preds = %111
%117 = load ptr, ptr %5, align 8
%118 = load i8, ptr %117, align 1
%119 = sext i8 %118 to i32
%120 = icmp eq i32 %119, 32
br i1 %120, label %126, label %121
121: ; preds = %116
%122 = load ptr, ptr %5, align 8
%123 = load i8, ptr %122, align 1
%124 = sext i8 %123 to i32
%125 = icmp eq i32 %124, 0
br i1 %125, label %126, label %129
126: ; preds = %121, %116, %111, %106
%127 = load ptr, ptr %5, align 8
%128 = getelementptr inbounds i8, ptr %127, i32 1
store ptr %128, ptr %5, align 8
br label %130
129: ; preds = %121
store i32 1, ptr %4, align 4
br label %139
130: ; preds = %126
br label %131
131: ; preds = %130, %99
br label %132
132: ; preds = %131
%133 = load i32, ptr %9, align 4
%134 = add i32 %133, 1
store i32 %134, ptr %9, align 4
%135 = load i32, ptr %9, align 4
%136 = load i32, ptr %7, align 4
%137 = icmp ult i32 %135, %136
br i1 %137, label %33, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %132
br label %138
138: ; preds = %._crit_edge3, %29
store i32 0, ptr %4, align 4
br label %139
139: ; preds = %138, %129, %89, %28
%140 = load i32, ptr %4, align 4
ret i32 %140
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp95z93kme.c'
source_filename = "/tmp/tmp95z93kme.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quicksort(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %5, align 4
%9 = sub nsw i32 %8, 1
%10 = load ptr, ptr %6, align 8
%11 = call i32 @qs(ptr noundef %7, i32 noundef 0, i32 noundef %9, ptr noundef %10)
ret void
}
declare i32 @qs(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp95z93kme.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quicksort(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %5, align 4
%9 = sub nsw i32 %8, 1
%10 = load ptr, ptr %6, align 8
%11 = call i32 @qs(ptr noundef %7, i32 noundef 0, i32 noundef %9, ptr noundef %10)
ret void
}
declare i32 @qs(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1j423m4e.c'
source_filename = "/tmp/tmp1j423m4e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"Kakuro_00%d.sol\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"Kakuro_0%d.sol\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"Kakuro_%d.sol\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"done :)\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 [20 x i8], align 16
store i32 0, ptr %1, align 4
store i32 1, ptr %2, align 4
br label %4
4: ; preds = %29, %0
%5 = load i32, ptr %2, align 4
%6 = icmp sle i32 %5, 254
br i1 %6, label %7, label %32
7: ; preds = %4
%8 = load i32, ptr %2, align 4
%9 = icmp slt i32 %8, 10
br i1 %9, label %10, label %14
10: ; preds = %7
%11 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0
%12 = load i32, ptr %2, align 4
%13 = call i32 @sprintf(ptr noundef %11, ptr noundef @.str, i32 noundef %12)
br label %26
14: ; preds = %7
%15 = load i32, ptr %2, align 4
%16 = icmp slt i32 %15, 100
br i1 %16, label %17, label %21
17: ; preds = %14
%18 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0
%19 = load i32, ptr %2, align 4
%20 = call i32 @sprintf(ptr noundef %18, ptr noundef @.str.1, i32 noundef %19)
br label %25
21: ; preds = %14
%22 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0
%23 = load i32, ptr %2, align 4
%24 = call i32 @sprintf(ptr noundef %22, ptr noundef @.str.2, i32 noundef %23)
br label %25
25: ; preds = %21, %17
br label %26
26: ; preds = %25, %10
%27 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0
%28 = call i32 @criar_ficheiro(ptr noundef %27)
br label %29
29: ; preds = %26
%30 = load i32, ptr %2, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %2, align 4
br label %4, !llvm.loop !6
32: ; preds = %4
%33 = call i32 @printf(ptr noundef @.str.3)
%34 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @criar_ficheiro(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1j423m4e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"Kakuro_00%d.sol\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"Kakuro_0%d.sol\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"Kakuro_%d.sol\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"done :)\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 [20 x i8], align 16
store i32 0, ptr %1, align 4
store i32 1, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp sle i32 %4, 254
br i1 %5, label %.lr.ph, label %33
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %28
%7 = load i32, ptr %2, align 4
%8 = icmp slt i32 %7, 10
br i1 %8, label %9, label %13
9: ; preds = %6
%10 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0
%11 = load i32, ptr %2, align 4
%12 = call i32 @sprintf(ptr noundef %10, ptr noundef @.str, i32 noundef %11)
br label %25
13: ; preds = %6
%14 = load i32, ptr %2, align 4
%15 = icmp slt i32 %14, 100
br i1 %15, label %16, label %20
16: ; preds = %13
%17 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0
%18 = load i32, ptr %2, align 4
%19 = call i32 @sprintf(ptr noundef %17, ptr noundef @.str.1, i32 noundef %18)
br label %24
20: ; preds = %13
%21 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0
%22 = load i32, ptr %2, align 4
%23 = call i32 @sprintf(ptr noundef %21, ptr noundef @.str.2, i32 noundef %22)
br label %24
24: ; preds = %20, %16
br label %25
25: ; preds = %24, %9
%26 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0
%27 = call i32 @criar_ficheiro(ptr noundef %26)
br label %28
28: ; preds = %25
%29 = load i32, ptr %2, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %2, align 4
%31 = load i32, ptr %2, align 4
%32 = icmp sle i32 %31, 254
br i1 %32, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %28
br label %33
33: ; preds = %._crit_edge, %0
%34 = call i32 @printf(ptr noundef @.str.3)
%35 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @criar_ficheiro(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmplj1j3owa.c'
source_filename = "/tmp/tmplj1j3owa.c"
target datalayout = "e-m:e-p270: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.calcOMES_line.reslist = private unnamed_addr constant [21 x i8] c"-ACDEFGHIKLMNPQRSTVWY", align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @calcOMES_line(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca [21 x i8], align 16
%15 = alloca i32, align 4
%16 = alloca ptr, align 8
%17 = alloca i64, align 8
%18 = alloca i64, align 8
%19 = alloca ptr, align 8
%20 = alloca double, align 8
%21 = alloca double, align 8
%22 = alloca double, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %14, ptr align 16 @__const.calcOMES_line.reslist, i64 21, i1 false)
store i32 21, ptr %15, align 4
%23 = load i32, ptr %7, align 4
%24 = zext i32 %23 to i64
%25 = load i32, ptr %15, align 4
%26 = zext i32 %25 to i64
%27 = call ptr @llvm.stacksave()
store ptr %27, ptr %16, align 8
%28 = mul nuw i64 %24, %26
%29 = alloca double, i64 %28, align 16
store i64 %24, ptr %17, align 8
store i64 %26, ptr %18, align 8
%30 = load i32, ptr %7, align 4
%31 = sext i32 %30 to i64
%32 = mul i64 %31, 8
%33 = trunc i64 %32 to i32
%34 = call ptr @malloc(i32 noundef %33)
store ptr %34, ptr %19, align 8
store i32 0, ptr %9, align 4
br label %35
35: ; preds = %56, %4
%36 = load i32, ptr %9, align 4
%37 = load i32, ptr %7, align 4
%38 = icmp slt i32 %36, %37
br i1 %38, label %39, label %59
39: ; preds = %35
store i32 0, ptr %10, align 4
br label %40
40: ; preds = %52, %39
%41 = load i32, ptr %10, align 4
%42 = load i32, ptr %15, align 4
%43 = icmp slt i32 %41, %42
br i1 %43, label %44, label %55
44: ; preds = %40
%45 = load i32, ptr %9, align 4
%46 = sext i32 %45 to i64
%47 = mul nsw i64 %46, %26
%48 = getelementptr inbounds double, ptr %29, i64 %47
%49 = load i32, ptr %10, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds double, ptr %48, i64 %50
store double 0.000000e+00, ptr %51, align 8
br label %52
52: ; preds = %44
%53 = load i32, ptr %10, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %10, align 4
br label %40, !llvm.loop !6
55: ; preds = %40
br label %56
56: ; preds = %55
%57 = load i32, ptr %9, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %9, align 4
br label %35, !llvm.loop !8
59: ; preds = %35
store i32 0, ptr %9, align 4
br label %60
60: ; preds = %139, %59
%61 = load i32, ptr %9, align 4
%62 = load i32, ptr %7, align 4
%63 = icmp slt i32 %61, %62
br i1 %63, label %64, label %142
64: ; preds = %60
store double 0.000000e+00, ptr %20, align 8
store i32 0, ptr %10, align 4
br label %65
65: ; preds = %108, %64
%66 = load i32, ptr %10, align 4
%67 = load i32, ptr %6, align 4
%68 = icmp slt i32 %66, %67
br i1 %68, label %69, label %111
69: ; preds = %65
store i32 0, ptr %11, align 4
br label %70
70: ; preds = %104, %69
%71 = load i32, ptr %11, align 4
%72 = load i32, ptr %15, align 4
%73 = icmp slt i32 %71, %72
br i1 %73, label %74, label %107
74: ; preds = %70
%75 = load ptr, ptr %5, align 8
%76 = load i32, ptr %10, align 4
%77 = load i32, ptr %7, align 4
%78 = mul nsw i32 %76, %77
%79 = load i32, ptr %9, align 4
%80 = add nsw i32 %78, %79
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds i8, ptr %75, i64 %81
%83 = load i8, ptr %82, align 1
%84 = sext i8 %83 to i32
%85 = load i32, ptr %11, align 4
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds [21 x i8], ptr %14, i64 0, i64 %86
%88 = load i8, ptr %87, align 1
%89 = sext i8 %88 to i32
%90 = icmp eq i32 %84, %89
br i1 %90, label %91, label %103
91: ; preds = %74
%92 = load i32, ptr %9, align 4
%93 = sext i32 %92 to i64
%94 = mul nsw i64 %93, %26
%95 = getelementptr inbounds double, ptr %29, i64 %94
%96 = load i32, ptr %11, align 4
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds double, ptr %95, i64 %97
%99 = load double, ptr %98, align 8
%100 = fadd double %99, 1.000000e+00
store double %100, ptr %98, align 8
%101 = load double, ptr %20, align 8
%102 = fadd double %101, 1.000000e+00
store double %102, ptr %20, align 8
br label %107
103: ; preds = %74
br label %104
104: ; preds = %103
%105 = load i32, ptr %11, align 4
%106 = add nsw i32 %105, 1
store i32 %106, ptr %11, align 4
br label %70, !llvm.loop !9
107: ; preds = %91, %70
br label %108
108: ; preds = %107
%109 = load i32, ptr %10, align 4
%110 = add nsw i32 %109, 1
store i32 %110, ptr %10, align 4
br label %65, !llvm.loop !10
111: ; preds = %65
store i32 0, ptr %11, align 4
br label %112
112: ; preds = %135, %111
%113 = load i32, ptr %11, align 4
%114 = load i32, ptr %15, align 4
%115 = icmp slt i32 %113, %114
br i1 %115, label %116, label %138
116: ; preds = %112
%117 = load i32, ptr %9, align 4
%118 = sext i32 %117 to i64
%119 = mul nsw i64 %118, %26
%120 = getelementptr inbounds double, ptr %29, i64 %119
%121 = load i32, ptr %11, align 4
%122 = sext i32 %121 to i64
%123 = getelementptr inbounds double, ptr %120, i64 %122
%124 = load double, ptr %123, align 8
%125 = load i32, ptr %6, align 4
%126 = sitofp i32 %125 to double
%127 = fdiv double %124, %126
%128 = load i32, ptr %9, align 4
%129 = sext i32 %128 to i64
%130 = mul nsw i64 %129, %26
%131 = getelementptr inbounds double, ptr %29, i64 %130
%132 = load i32, ptr %11, align 4
%133 = sext i32 %132 to i64
%134 = getelementptr inbounds double, ptr %131, i64 %133
store double %127, ptr %134, align 8
br label %135
135: ; preds = %116
%136 = load i32, ptr %11, align 4
%137 = add nsw i32 %136, 1
store i32 %137, ptr %11, align 4
br label %112, !llvm.loop !11
138: ; preds = %112
br label %139
139: ; preds = %138
%140 = load i32, ptr %9, align 4
%141 = add nsw i32 %140, 1
store i32 %141, ptr %9, align 4
br label %60, !llvm.loop !12
142: ; preds = %60
%143 = load i32, ptr %8, align 4
store i32 %143, ptr %9, align 4
br label %144
144: ; preds = %323, %142
%145 = load i32, ptr %9, align 4
%146 = load i32, ptr %8, align 4
%147 = add nsw i32 %146, 1
%148 = icmp slt i32 %145, %147
br i1 %148, label %149, label %326
149: ; preds = %144
%150 = load ptr, ptr %19, align 8
%151 = load i32, ptr %9, align 4
%152 = sext i32 %151 to i64
%153 = getelementptr inbounds double, ptr %150, i64 %152
store double 0.000000e+00, ptr %153, align 8
store i32 0, ptr %10, align 4
br label %154
154: ; preds = %319, %149
%155 = load i32, ptr %10, align 4
%156 = load i32, ptr %7, align 4
%157 = icmp slt i32 %155, %156
br i1 %157, label %158, label %322
158: ; preds = %154
store double 0.000000e+00, ptr %21, align 8
store i32 0, ptr %12, align 4
br label %159
159: ; preds = %310, %158
%160 = load i32, ptr %12, align 4
%161 = load i32, ptr %15, align 4
%162 = icmp slt i32 %160, %161
br i1 %162, label %163, label %313
163: ; preds = %159
store i32 0, ptr %13, align 4
br label %164
164: ; preds = %306, %163
%165 = load i32, ptr %13, align 4
%166 = load i32, ptr %15, align 4
%167 = icmp slt i32 %165, %166
br i1 %167, label %168, label %309
168: ; preds = %164
%169 = load i32, ptr %9, align 4
%170 = sext i32 %169 to i64
%171 = mul nsw i64 %170, %26
%172 = getelementptr inbounds double, ptr %29, i64 %171
%173 = load i32, ptr %12, align 4
%174 = sext i32 %173 to i64
%175 = getelementptr inbounds double, ptr %172, i64 %174
%176 = load double, ptr %175, align 8
%177 = fcmp une double %176, 0.000000e+00
br i1 %177, label %178, label %305
178: ; preds = %168
%179 = load i32, ptr %10, align 4
%180 = sext i32 %179 to i64
%181 = mul nsw i64 %180, %26
%182 = getelementptr inbounds double, ptr %29, i64 %181
%183 = load i32, ptr %13, align 4
%184 = sext i32 %183 to i64
%185 = getelementptr inbounds double, ptr %182, i64 %184
%186 = load double, ptr %185, align 8
%187 = fcmp une double %186, 0.000000e+00
br i1 %187, label %188, label %305
188: ; preds = %178
store double 0.000000e+00, ptr %22, align 8
store i32 0, ptr %11, align 4
br label %189
189: ; preds = %231, %188
%190 = load i32, ptr %11, align 4
%191 = load i32, ptr %6, align 4
%192 = icmp slt i32 %190, %191
br i1 %192, label %193, label %234
193: ; preds = %189
%194 = load ptr, ptr %5, align 8
%195 = load i32, ptr %11, align 4
%196 = load i32, ptr %7, align 4
%197 = mul nsw i32 %195, %196
%198 = load i32, ptr %9, align 4
%199 = add nsw i32 %197, %198
%200 = sext i32 %199 to i64
%201 = getelementptr inbounds i8, ptr %194, i64 %200
%202 = load i8, ptr %201, align 1
%203 = sext i8 %202 to i32
%204 = load i32, ptr %12, align 4
%205 = sext i32 %204 to i64
%206 = getelementptr inbounds [21 x i8], ptr %14, i64 0, i64 %205
%207 = load i8, ptr %206, align 1
%208 = sext i8 %207 to i32
%209 = icmp eq i32 %203, %208
br i1 %209, label %210, label %230
210: ; preds = %193
%211 = load ptr, ptr %5, align 8
%212 = load i32, ptr %11, align 4
%213 = load i32, ptr %7, align 4
%214 = mul nsw i32 %212, %213
%215 = load i32, ptr %10, align 4
%216 = add nsw i32 %214, %215
%217 = sext i32 %216 to i64
%218 = getelementptr inbounds i8, ptr %211, i64 %217
%219 = load i8, ptr %218, align 1
%220 = sext i8 %219 to i32
%221 = load i32, ptr %13, align 4
%222 = sext i32 %221 to i64
%223 = getelementptr inbounds [21 x i8], ptr %14, i64 0, i64 %222
%224 = load i8, ptr %223, align 1
%225 = sext i8 %224 to i32
%226 = icmp eq i32 %220, %225
br i1 %226, label %227, label %230
227: ; preds = %210
%228 = load double, ptr %22, align 8
%229 = fadd double %228, 1.000000e+00
store double %229, ptr %22, align 8
br label %230
230: ; preds = %227, %210, %193
br label %231
231: ; preds = %230
%232 = load i32, ptr %11, align 4
%233 = add nsw i32 %232, 1
store i32 %233, ptr %11, align 4
br label %189, !llvm.loop !13
234: ; preds = %189
%235 = load double, ptr %22, align 8
%236 = fcmp une double %235, 0.000000e+00
br i1 %236, label %237, label %304
237: ; preds = %234
%238 = load double, ptr %22, align 8
%239 = load i32, ptr %6, align 4
%240 = sitofp i32 %239 to double
%241 = fdiv double %238, %240
store double %241, ptr %22, align 8
%242 = load i32, ptr %6, align 4
%243 = sitofp i32 %242 to double
%244 = load double, ptr %22, align 8
%245 = load i32, ptr %9, align 4
%246 = sext i32 %245 to i64
%247 = mul nsw i64 %246, %26
%248 = getelementptr inbounds double, ptr %29, i64 %247
%249 = load i32, ptr %12, align 4
%250 = sext i32 %249 to i64
%251 = getelementptr inbounds double, ptr %248, i64 %250
%252 = load double, ptr %251, align 8
%253 = load i32, ptr %10, align 4
%254 = sext i32 %253 to i64
%255 = mul nsw i64 %254, %26
%256 = getelementptr inbounds double, ptr %29, i64 %255
%257 = load i32, ptr %13, align 4
%258 = sext i32 %257 to i64
%259 = getelementptr inbounds double, ptr %256, i64 %258
%260 = load double, ptr %259, align 8
%261 = fneg double %252
%262 = call double @llvm.fmuladd.f64(double %261, double %260, double %244)
%263 = fmul double %243, %262
%264 = load double, ptr %22, align 8
%265 = load i32, ptr %9, align 4
%266 = sext i32 %265 to i64
%267 = mul nsw i64 %266, %26
%268 = getelementptr inbounds double, ptr %29, i64 %267
%269 = load i32, ptr %12, align 4
%270 = sext i32 %269 to i64
%271 = getelementptr inbounds double, ptr %268, i64 %270
%272 = load double, ptr %271, align 8
%273 = load i32, ptr %10, align 4
%274 = sext i32 %273 to i64
%275 = mul nsw i64 %274, %26
%276 = getelementptr inbounds double, ptr %29, i64 %275
%277 = load i32, ptr %13, align 4
%278 = sext i32 %277 to i64
%279 = getelementptr inbounds double, ptr %276, i64 %278
%280 = load double, ptr %279, align 8
%281 = fneg double %272
%282 = call double @llvm.fmuladd.f64(double %281, double %280, double %264)
%283 = fmul double %263, %282
%284 = load i32, ptr %9, align 4
%285 = sext i32 %284 to i64
%286 = mul nsw i64 %285, %26
%287 = getelementptr inbounds double, ptr %29, i64 %286
%288 = load i32, ptr %12, align 4
%289 = sext i32 %288 to i64
%290 = getelementptr inbounds double, ptr %287, i64 %289
%291 = load double, ptr %290, align 8
%292 = load i32, ptr %10, align 4
%293 = sext i32 %292 to i64
%294 = mul nsw i64 %293, %26
%295 = getelementptr inbounds double, ptr %29, i64 %294
%296 = load i32, ptr %13, align 4
%297 = sext i32 %296 to i64
%298 = getelementptr inbounds double, ptr %295, i64 %297
%299 = load double, ptr %298, align 8
%300 = fmul double %291, %299
%301 = fdiv double %283, %300
%302 = load double, ptr %21, align 8
%303 = fadd double %302, %301
store double %303, ptr %21, align 8
br label %304
304: ; preds = %237, %234
br label %305
305: ; preds = %304, %178, %168
br label %306
306: ; preds = %305
%307 = load i32, ptr %13, align 4
%308 = add nsw i32 %307, 1
store i32 %308, ptr %13, align 4
br label %164, !llvm.loop !14
309: ; preds = %164
br label %310
310: ; preds = %309
%311 = load i32, ptr %12, align 4
%312 = add nsw i32 %311, 1
store i32 %312, ptr %12, align 4
br label %159, !llvm.loop !15
313: ; preds = %159
%314 = load double, ptr %21, align 8
%315 = load ptr, ptr %19, align 8
%316 = load i32, ptr %10, align 4
%317 = sext i32 %316 to i64
%318 = getelementptr inbounds double, ptr %315, i64 %317
store double %314, ptr %318, align 8
br label %319
319: ; preds = %313
%320 = load i32, ptr %10, align 4
%321 = add nsw i32 %320, 1
store i32 %321, ptr %10, align 4
br label %154, !llvm.loop !16
322: ; preds = %154
br label %323
323: ; preds = %322
%324 = load i32, ptr %9, align 4
%325 = add nsw i32 %324, 1
store i32 %325, ptr %9, align 4
br label %144, !llvm.loop !17
326: ; preds = %144
%327 = load ptr, ptr %19, align 8
%328 = load ptr, ptr %16, align 8
call void @llvm.stackrestore(ptr %328)
ret ptr %327
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare ptr @malloc(i32 noundef) #3
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #4
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
!17 = distinct !{!17, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplj1j3owa.c"
target datalayout = "e-m:e-p270: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.calcOMES_line.reslist = private unnamed_addr constant [21 x i8] c"-ACDEFGHIKLMNPQRSTVWY", align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @calcOMES_line(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca [21 x i8], align 16
%15 = alloca i32, align 4
%16 = alloca ptr, align 8
%17 = alloca i64, align 8
%18 = alloca i64, align 8
%19 = alloca ptr, align 8
%20 = alloca double, align 8
%21 = alloca double, align 8
%22 = alloca double, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %14, ptr align 16 @__const.calcOMES_line.reslist, i64 21, i1 false)
store i32 21, ptr %15, align 4
%23 = load i32, ptr %7, align 4
%24 = zext i32 %23 to i64
%25 = load i32, ptr %15, align 4
%26 = zext i32 %25 to i64
%27 = call ptr @llvm.stacksave()
store ptr %27, ptr %16, align 8
%28 = mul nuw i64 %24, %26
%29 = alloca double, i64 %28, align 16
store i64 %24, ptr %17, align 8
store i64 %26, ptr %18, align 8
%30 = load i32, ptr %7, align 4
%31 = sext i32 %30 to i64
%32 = mul i64 %31, 8
%33 = trunc i64 %32 to i32
%34 = call ptr @malloc(i32 noundef %33)
store ptr %34, ptr %19, align 8
store i32 0, ptr %9, align 4
%35 = load i32, ptr %9, align 4
%36 = load i32, ptr %7, align 4
%37 = icmp slt i32 %35, %36
br i1 %37, label %.lr.ph2, label %63
.lr.ph2: ; preds = %4
br label %38
38: ; preds = %.lr.ph2, %57
store i32 0, ptr %10, align 4
%39 = load i32, ptr %10, align 4
%40 = load i32, ptr %15, align 4
%41 = icmp slt i32 %39, %40
br i1 %41, label %.lr.ph, label %56
.lr.ph: ; preds = %38
br label %42
42: ; preds = %.lr.ph, %50
%43 = load i32, ptr %9, align 4
%44 = sext i32 %43 to i64
%45 = mul nsw i64 %44, %26
%46 = getelementptr inbounds double, ptr %29, i64 %45
%47 = load i32, ptr %10, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds double, ptr %46, i64 %48
store double 0.000000e+00, ptr %49, align 8
br label %50
50: ; preds = %42
%51 = load i32, ptr %10, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %10, align 4
%53 = load i32, ptr %10, align 4
%54 = load i32, ptr %15, align 4
%55 = icmp slt i32 %53, %54
br i1 %55, label %42, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %50
br label %56
56: ; preds = %._crit_edge, %38
br label %57
57: ; preds = %56
%58 = load i32, ptr %9, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %9, align 4
%60 = load i32, ptr %9, align 4
%61 = load i32, ptr %7, align 4
%62 = icmp slt i32 %60, %61
br i1 %62, label %38, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %57
br label %63
63: ; preds = %._crit_edge3, %4
store i32 0, ptr %9, align 4
%64 = load i32, ptr %9, align 4
%65 = load i32, ptr %7, align 4
%66 = icmp slt i32 %64, %65
br i1 %66, label %.lr.ph13, label %154
.lr.ph13: ; preds = %63
br label %67
67: ; preds = %.lr.ph13, %148
store double 0.000000e+00, ptr %20, align 8
store i32 0, ptr %10, align 4
%68 = load i32, ptr %10, align 4
%69 = load i32, ptr %6, align 4
%70 = icmp slt i32 %68, %69
br i1 %70, label %.lr.ph7, label %118
.lr.ph7: ; preds = %67
br label %71
71: ; preds = %.lr.ph7, %112
store i32 0, ptr %11, align 4
%72 = load i32, ptr %11, align 4
%73 = load i32, ptr %15, align 4
%74 = icmp slt i32 %72, %73
br i1 %74, label %.lr.ph5, label %.loopexit
.lr.ph5: ; preds = %71
br label %75
75: ; preds = %.lr.ph5, %105
%76 = load ptr, ptr %5, align 8
%77 = load i32, ptr %10, align 4
%78 = load i32, ptr %7, align 4
%79 = mul nsw i32 %77, %78
%80 = load i32, ptr %9, align 4
%81 = add nsw i32 %79, %80
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds i8, ptr %76, i64 %82
%84 = load i8, ptr %83, align 1
%85 = sext i8 %84 to i32
%86 = load i32, ptr %11, align 4
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds [21 x i8], ptr %14, i64 0, i64 %87
%89 = load i8, ptr %88, align 1
%90 = sext i8 %89 to i32
%91 = icmp eq i32 %85, %90
br i1 %91, label %92, label %104
92: ; preds = %75
%93 = load i32, ptr %9, align 4
%94 = sext i32 %93 to i64
%95 = mul nsw i64 %94, %26
%96 = getelementptr inbounds double, ptr %29, i64 %95
%97 = load i32, ptr %11, align 4
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds double, ptr %96, i64 %98
%100 = load double, ptr %99, align 8
%101 = fadd double %100, 1.000000e+00
store double %101, ptr %99, align 8
%102 = load double, ptr %20, align 8
%103 = fadd double %102, 1.000000e+00
store double %103, ptr %20, align 8
br label %111
104: ; preds = %75
br label %105
105: ; preds = %104
%106 = load i32, ptr %11, align 4
%107 = add nsw i32 %106, 1
store i32 %107, ptr %11, align 4
%108 = load i32, ptr %11, align 4
%109 = load i32, ptr %15, align 4
%110 = icmp slt i32 %108, %109
br i1 %110, label %75, label %..loopexit_crit_edge, !llvm.loop !9
..loopexit_crit_edge: ; preds = %105
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %71
br label %111
111: ; preds = %.loopexit, %92
br label %112
112: ; preds = %111
%113 = load i32, ptr %10, align 4
%114 = add nsw i32 %113, 1
store i32 %114, ptr %10, align 4
%115 = load i32, ptr %10, align 4
%116 = load i32, ptr %6, align 4
%117 = icmp slt i32 %115, %116
br i1 %117, label %71, label %._crit_edge8, !llvm.loop !10
._crit_edge8: ; preds = %112
br label %118
118: ; preds = %._crit_edge8, %67
store i32 0, ptr %11, align 4
%119 = load i32, ptr %11, align 4
%120 = load i32, ptr %15, align 4
%121 = icmp slt i32 %119, %120
br i1 %121, label %.lr.ph10, label %147
.lr.ph10: ; preds = %118
br label %122
122: ; preds = %.lr.ph10, %141
%123 = load i32, ptr %9, align 4
%124 = sext i32 %123 to i64
%125 = mul nsw i64 %124, %26
%126 = getelementptr inbounds double, ptr %29, i64 %125
%127 = load i32, ptr %11, align 4
%128 = sext i32 %127 to i64
%129 = getelementptr inbounds double, ptr %126, i64 %128
%130 = load double, ptr %129, align 8
%131 = load i32, ptr %6, align 4
%132 = sitofp i32 %131 to double
%133 = fdiv double %130, %132
%134 = load i32, ptr %9, align 4
%135 = sext i32 %134 to i64
%136 = mul nsw i64 %135, %26
%137 = getelementptr inbounds double, ptr %29, i64 %136
%138 = load i32, ptr %11, align 4
%139 = sext i32 %138 to i64
%140 = getelementptr inbounds double, ptr %137, i64 %139
store double %133, ptr %140, align 8
br label %141
141: ; preds = %122
%142 = load i32, ptr %11, align 4
%143 = add nsw i32 %142, 1
store i32 %143, ptr %11, align 4
%144 = load i32, ptr %11, align 4
%145 = load i32, ptr %15, align 4
%146 = icmp slt i32 %144, %145
br i1 %146, label %122, label %._crit_edge11, !llvm.loop !11
._crit_edge11: ; preds = %141
br label %147
147: ; preds = %._crit_edge11, %118
br label %148
148: ; preds = %147
%149 = load i32, ptr %9, align 4
%150 = add nsw i32 %149, 1
store i32 %150, ptr %9, align 4
%151 = load i32, ptr %9, align 4
%152 = load i32, ptr %7, align 4
%153 = icmp slt i32 %151, %152
br i1 %153, label %67, label %._crit_edge14, !llvm.loop !12
._crit_edge14: ; preds = %148
br label %154
154: ; preds = %._crit_edge14, %63
%155 = load i32, ptr %8, align 4
store i32 %155, ptr %9, align 4
%156 = load i32, ptr %9, align 4
%157 = load i32, ptr %8, align 4
%158 = add nsw i32 %157, 1
%159 = icmp slt i32 %156, %158
br i1 %159, label %.lr.ph28, label %349
.lr.ph28: ; preds = %154
br label %160
160: ; preds = %.lr.ph28, %342
%161 = load ptr, ptr %19, align 8
%162 = load i32, ptr %9, align 4
%163 = sext i32 %162 to i64
%164 = getelementptr inbounds double, ptr %161, i64 %163
store double 0.000000e+00, ptr %164, align 8
store i32 0, ptr %10, align 4
%165 = load i32, ptr %10, align 4
%166 = load i32, ptr %7, align 4
%167 = icmp slt i32 %165, %166
br i1 %167, label %.lr.ph25, label %341
.lr.ph25: ; preds = %160
br label %168
168: ; preds = %.lr.ph25, %335
store double 0.000000e+00, ptr %21, align 8
store i32 0, ptr %12, align 4
%169 = load i32, ptr %12, align 4
%170 = load i32, ptr %15, align 4
%171 = icmp slt i32 %169, %170
br i1 %171, label %.lr.ph22, label %329
.lr.ph22: ; preds = %168
br label %172
172: ; preds = %.lr.ph22, %323
store i32 0, ptr %13, align 4
%173 = load i32, ptr %13, align 4
%174 = load i32, ptr %15, align 4
%175 = icmp slt i32 %173, %174
br i1 %175, label %.lr.ph19, label %322
.lr.ph19: ; preds = %172
br label %176
176: ; preds = %.lr.ph19, %316
%177 = load i32, ptr %9, align 4
%178 = sext i32 %177 to i64
%179 = mul nsw i64 %178, %26
%180 = getelementptr inbounds double, ptr %29, i64 %179
%181 = load i32, ptr %12, align 4
%182 = sext i32 %181 to i64
%183 = getelementptr inbounds double, ptr %180, i64 %182
%184 = load double, ptr %183, align 8
%185 = fcmp une double %184, 0.000000e+00
br i1 %185, label %186, label %315
186: ; preds = %176
%187 = load i32, ptr %10, align 4
%188 = sext i32 %187 to i64
%189 = mul nsw i64 %188, %26
%190 = getelementptr inbounds double, ptr %29, i64 %189
%191 = load i32, ptr %13, align 4
%192 = sext i32 %191 to i64
%193 = getelementptr inbounds double, ptr %190, i64 %192
%194 = load double, ptr %193, align 8
%195 = fcmp une double %194, 0.000000e+00
br i1 %195, label %196, label %315
196: ; preds = %186
store double 0.000000e+00, ptr %22, align 8
store i32 0, ptr %11, align 4
%197 = load i32, ptr %11, align 4
%198 = load i32, ptr %6, align 4
%199 = icmp slt i32 %197, %198
br i1 %199, label %.lr.ph16, label %244
.lr.ph16: ; preds = %196
br label %200
200: ; preds = %.lr.ph16, %238
%201 = load ptr, ptr %5, align 8
%202 = load i32, ptr %11, align 4
%203 = load i32, ptr %7, align 4
%204 = mul nsw i32 %202, %203
%205 = load i32, ptr %9, align 4
%206 = add nsw i32 %204, %205
%207 = sext i32 %206 to i64
%208 = getelementptr inbounds i8, ptr %201, i64 %207
%209 = load i8, ptr %208, align 1
%210 = sext i8 %209 to i32
%211 = load i32, ptr %12, align 4
%212 = sext i32 %211 to i64
%213 = getelementptr inbounds [21 x i8], ptr %14, i64 0, i64 %212
%214 = load i8, ptr %213, align 1
%215 = sext i8 %214 to i32
%216 = icmp eq i32 %210, %215
br i1 %216, label %217, label %237
217: ; preds = %200
%218 = load ptr, ptr %5, align 8
%219 = load i32, ptr %11, align 4
%220 = load i32, ptr %7, align 4
%221 = mul nsw i32 %219, %220
%222 = load i32, ptr %10, align 4
%223 = add nsw i32 %221, %222
%224 = sext i32 %223 to i64
%225 = getelementptr inbounds i8, ptr %218, i64 %224
%226 = load i8, ptr %225, align 1
%227 = sext i8 %226 to i32
%228 = load i32, ptr %13, align 4
%229 = sext i32 %228 to i64
%230 = getelementptr inbounds [21 x i8], ptr %14, i64 0, i64 %229
%231 = load i8, ptr %230, align 1
%232 = sext i8 %231 to i32
%233 = icmp eq i32 %227, %232
br i1 %233, label %234, label %237
234: ; preds = %217
%235 = load double, ptr %22, align 8
%236 = fadd double %235, 1.000000e+00
store double %236, ptr %22, align 8
br label %237
237: ; preds = %234, %217, %200
br label %238
238: ; preds = %237
%239 = load i32, ptr %11, align 4
%240 = add nsw i32 %239, 1
store i32 %240, ptr %11, align 4
%241 = load i32, ptr %11, align 4
%242 = load i32, ptr %6, align 4
%243 = icmp slt i32 %241, %242
br i1 %243, label %200, label %._crit_edge17, !llvm.loop !13
._crit_edge17: ; preds = %238
br label %244
244: ; preds = %._crit_edge17, %196
%245 = load double, ptr %22, align 8
%246 = fcmp une double %245, 0.000000e+00
br i1 %246, label %247, label %314
247: ; preds = %244
%248 = load double, ptr %22, align 8
%249 = load i32, ptr %6, align 4
%250 = sitofp i32 %249 to double
%251 = fdiv double %248, %250
store double %251, ptr %22, align 8
%252 = load i32, ptr %6, align 4
%253 = sitofp i32 %252 to double
%254 = load double, ptr %22, align 8
%255 = load i32, ptr %9, align 4
%256 = sext i32 %255 to i64
%257 = mul nsw i64 %256, %26
%258 = getelementptr inbounds double, ptr %29, i64 %257
%259 = load i32, ptr %12, align 4
%260 = sext i32 %259 to i64
%261 = getelementptr inbounds double, ptr %258, i64 %260
%262 = load double, ptr %261, align 8
%263 = load i32, ptr %10, align 4
%264 = sext i32 %263 to i64
%265 = mul nsw i64 %264, %26
%266 = getelementptr inbounds double, ptr %29, i64 %265
%267 = load i32, ptr %13, align 4
%268 = sext i32 %267 to i64
%269 = getelementptr inbounds double, ptr %266, i64 %268
%270 = load double, ptr %269, align 8
%271 = fneg double %262
%272 = call double @llvm.fmuladd.f64(double %271, double %270, double %254)
%273 = fmul double %253, %272
%274 = load double, ptr %22, align 8
%275 = load i32, ptr %9, align 4
%276 = sext i32 %275 to i64
%277 = mul nsw i64 %276, %26
%278 = getelementptr inbounds double, ptr %29, i64 %277
%279 = load i32, ptr %12, align 4
%280 = sext i32 %279 to i64
%281 = getelementptr inbounds double, ptr %278, i64 %280
%282 = load double, ptr %281, align 8
%283 = load i32, ptr %10, align 4
%284 = sext i32 %283 to i64
%285 = mul nsw i64 %284, %26
%286 = getelementptr inbounds double, ptr %29, i64 %285
%287 = load i32, ptr %13, align 4
%288 = sext i32 %287 to i64
%289 = getelementptr inbounds double, ptr %286, i64 %288
%290 = load double, ptr %289, align 8
%291 = fneg double %282
%292 = call double @llvm.fmuladd.f64(double %291, double %290, double %274)
%293 = fmul double %273, %292
%294 = load i32, ptr %9, align 4
%295 = sext i32 %294 to i64
%296 = mul nsw i64 %295, %26
%297 = getelementptr inbounds double, ptr %29, i64 %296
%298 = load i32, ptr %12, align 4
%299 = sext i32 %298 to i64
%300 = getelementptr inbounds double, ptr %297, i64 %299
%301 = load double, ptr %300, align 8
%302 = load i32, ptr %10, align 4
%303 = sext i32 %302 to i64
%304 = mul nsw i64 %303, %26
%305 = getelementptr inbounds double, ptr %29, i64 %304
%306 = load i32, ptr %13, align 4
%307 = sext i32 %306 to i64
%308 = getelementptr inbounds double, ptr %305, i64 %307
%309 = load double, ptr %308, align 8
%310 = fmul double %301, %309
%311 = fdiv double %293, %310
%312 = load double, ptr %21, align 8
%313 = fadd double %312, %311
store double %313, ptr %21, align 8
br label %314
314: ; preds = %247, %244
br label %315
315: ; preds = %314, %186, %176
br label %316
316: ; preds = %315
%317 = load i32, ptr %13, align 4
%318 = add nsw i32 %317, 1
store i32 %318, ptr %13, align 4
%319 = load i32, ptr %13, align 4
%320 = load i32, ptr %15, align 4
%321 = icmp slt i32 %319, %320
br i1 %321, label %176, label %._crit_edge20, !llvm.loop !14
._crit_edge20: ; preds = %316
br label %322
322: ; preds = %._crit_edge20, %172
br label %323
323: ; preds = %322
%324 = load i32, ptr %12, align 4
%325 = add nsw i32 %324, 1
store i32 %325, ptr %12, align 4
%326 = load i32, ptr %12, align 4
%327 = load i32, ptr %15, align 4
%328 = icmp slt i32 %326, %327
br i1 %328, label %172, label %._crit_edge23, !llvm.loop !15
._crit_edge23: ; preds = %323
br label %329
329: ; preds = %._crit_edge23, %168
%330 = load double, ptr %21, align 8
%331 = load ptr, ptr %19, align 8
%332 = load i32, ptr %10, align 4
%333 = sext i32 %332 to i64
%334 = getelementptr inbounds double, ptr %331, i64 %333
store double %330, ptr %334, align 8
br label %335
335: ; preds = %329
%336 = load i32, ptr %10, align 4
%337 = add nsw i32 %336, 1
store i32 %337, ptr %10, align 4
%338 = load i32, ptr %10, align 4
%339 = load i32, ptr %7, align 4
%340 = icmp slt i32 %338, %339
br i1 %340, label %168, label %._crit_edge26, !llvm.loop !16
._crit_edge26: ; preds = %335
br label %341
341: ; preds = %._crit_edge26, %160
br label %342
342: ; preds = %341
%343 = load i32, ptr %9, align 4
%344 = add nsw i32 %343, 1
store i32 %344, ptr %9, align 4
%345 = load i32, ptr %9, align 4
%346 = load i32, ptr %8, align 4
%347 = add nsw i32 %346, 1
%348 = icmp slt i32 %345, %347
br i1 %348, label %160, label %._crit_edge29, !llvm.loop !17
._crit_edge29: ; preds = %342
br label %349
349: ; preds = %._crit_edge29, %154
%350 = load ptr, ptr %19, align 8
%351 = load ptr, ptr %16, align 8
call void @llvm.stackrestore(ptr %351)
ret ptr %350
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare ptr @malloc(i32 noundef) #3
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #4
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
!17 = distinct !{!17, !7}
|
; ModuleID = '/tmp/tmpf_vae9ia.c'
source_filename = "/tmp/tmpf_vae9ia.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT_MIN = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @test10u(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 4660, ptr %3, align 4
%5 = load i64, ptr @INT_MIN, align 8
%6 = trunc i64 %5 to i32
store i32 %6, ptr %4, align 4
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %3, align 4
%9 = xor i32 %7, %8
%10 = load i32, ptr %4, align 4
%11 = add i32 %9, %10
ret i32 %11
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!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_vae9ia.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT_MIN = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @test10u(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 4660, ptr %3, align 4
%5 = load i64, ptr @INT_MIN, align 8
%6 = trunc i64 %5 to i32
store i32 %6, ptr %4, align 4
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %3, align 4
%9 = xor i32 %7, %8
%10 = load i32, ptr %4, align 4
%11 = add i32 %9, %10
ret i32 %11
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpddnf8wp2.c'
source_filename = "/tmp/tmpddnf8wp2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%ld\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @add_signed_long_parse_katcl(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i64 %2, ptr %7, align 8
%10 = load ptr, ptr %5, align 8
%11 = load i32, ptr %6, align 4
%12 = call i64 @before_add_parse_katcl(ptr noundef %10, i32 noundef %11)
%13 = icmp slt i64 %12, 0
br i1 %13, label %14, label %15
14: ; preds = %3
store i32 -1, ptr %4, align 4
br label %35
15: ; preds = %3
%16 = load ptr, ptr %5, align 8
%17 = call ptr @request_space_parse_katcl(ptr noundef %16, i32 noundef 32)
store ptr %17, ptr %9, align 8
%18 = load ptr, ptr %9, align 8
%19 = icmp eq ptr %18, null
br i1 %19, label %20, label %21
20: ; preds = %15
store i32 -1, ptr %4, align 4
br label %35
21: ; preds = %15
%22 = load ptr, ptr %9, align 8
%23 = load i64, ptr %7, align 8
%24 = call i32 @snprintf(ptr noundef %22, i32 noundef 32, ptr noundef @.str, i64 noundef %23)
store i32 %24, ptr %8, align 4
%25 = load i32, ptr %8, align 4
%26 = icmp sle i32 %25, 0
br i1 %26, label %30, label %27
27: ; preds = %21
%28 = load i32, ptr %8, align 4
%29 = icmp sge i32 %28, 32
br i1 %29, label %30, label %31
30: ; preds = %27, %21
store i32 -1, ptr %4, align 4
br label %35
31: ; preds = %27
%32 = load ptr, ptr %5, align 8
%33 = load i32, ptr %8, align 4
%34 = call i32 @after_add_parse_katcl(ptr noundef %32, i32 noundef %33, i32 noundef 0)
store i32 %34, ptr %4, align 4
br label %35
35: ; preds = %31, %30, %20, %14
%36 = load i32, ptr %4, align 4
ret i32 %36
}
declare i64 @before_add_parse_katcl(ptr noundef, i32 noundef) #1
declare ptr @request_space_parse_katcl(ptr noundef, i32 noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i64 noundef) #1
declare i32 @after_add_parse_katcl(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/tmpddnf8wp2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%ld\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @add_signed_long_parse_katcl(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i64 %2, ptr %7, align 8
%10 = load ptr, ptr %5, align 8
%11 = load i32, ptr %6, align 4
%12 = call i64 @before_add_parse_katcl(ptr noundef %10, i32 noundef %11)
%13 = icmp slt i64 %12, 0
br i1 %13, label %14, label %15
14: ; preds = %3
store i32 -1, ptr %4, align 4
br label %35
15: ; preds = %3
%16 = load ptr, ptr %5, align 8
%17 = call ptr @request_space_parse_katcl(ptr noundef %16, i32 noundef 32)
store ptr %17, ptr %9, align 8
%18 = load ptr, ptr %9, align 8
%19 = icmp eq ptr %18, null
br i1 %19, label %20, label %21
20: ; preds = %15
store i32 -1, ptr %4, align 4
br label %35
21: ; preds = %15
%22 = load ptr, ptr %9, align 8
%23 = load i64, ptr %7, align 8
%24 = call i32 @snprintf(ptr noundef %22, i32 noundef 32, ptr noundef @.str, i64 noundef %23)
store i32 %24, ptr %8, align 4
%25 = load i32, ptr %8, align 4
%26 = icmp sle i32 %25, 0
br i1 %26, label %30, label %27
27: ; preds = %21
%28 = load i32, ptr %8, align 4
%29 = icmp sge i32 %28, 32
br i1 %29, label %30, label %31
30: ; preds = %27, %21
store i32 -1, ptr %4, align 4
br label %35
31: ; preds = %27
%32 = load ptr, ptr %5, align 8
%33 = load i32, ptr %8, align 4
%34 = call i32 @after_add_parse_katcl(ptr noundef %32, i32 noundef %33, i32 noundef 0)
store i32 %34, ptr %4, align 4
br label %35
35: ; preds = %31, %30, %20, %14
%36 = load i32, ptr %4, align 4
ret i32 %36
}
declare i64 @before_add_parse_katcl(ptr noundef, i32 noundef) #1
declare ptr @request_space_parse_katcl(ptr noundef, i32 noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i64 noundef) #1
declare i32 @after_add_parse_katcl(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/tmpe1f_zvm9.c'
source_filename = "/tmp/tmpe1f_zvm9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local constant i8 0, align 1
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @puts1(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
store ptr %5, ptr %4, align 8
br label %6
6: ; preds = %43, %1
%7 = load ptr, ptr %3, align 8
%8 = load i8, ptr %7, align 1
%9 = sext i8 %8 to i32
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %18
11: ; preds = %6
%12 = load ptr, ptr %3, align 8
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = load i8, ptr @EOF, align 1
%16 = sext i8 %15 to i32
%17 = icmp ne i32 %14, %16
br label %18
18: ; preds = %11, %6
%19 = phi i1 [ false, %6 ], [ %17, %11 ]
br i1 %19, label %20, label %46
20: ; preds = %18
%21 = load ptr, ptr %3, align 8
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = icmp sge i32 %23, 9
br i1 %24, label %25, label %30
25: ; preds = %20
%26 = load ptr, ptr %3, align 8
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp sle i32 %28, 13
br i1 %29, label %43, label %30
30: ; preds = %25, %20
%31 = load ptr, ptr %3, align 8
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = icmp sge i32 %33, 32
br i1 %34, label %35, label %40
35: ; preds = %30
%36 = load ptr, ptr %3, align 8
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = icmp sle i32 %38, 126
br i1 %39, label %43, label %40
40: ; preds = %35, %30
%41 = load i8, ptr @EOF, align 1
%42 = sext i8 %41 to i32
store i32 %42, ptr %2, align 4
br label %54
43: ; preds = %35, %25
%44 = load ptr, ptr %3, align 8
%45 = getelementptr inbounds i8, ptr %44, i32 1
store ptr %45, ptr %3, align 8
br label %6, !llvm.loop !6
46: ; preds = %18
%47 = load ptr, ptr %4, align 8
%48 = call i32 @printf(ptr noundef @.str, ptr noundef %47)
%49 = icmp eq i32 %48, -1
br i1 %49, label %50, label %53
50: ; preds = %46
%51 = load i8, ptr @EOF, align 1
%52 = sext i8 %51 to i32
store i32 %52, ptr %2, align 4
br label %54
53: ; preds = %46
store i32 1, ptr %2, align 4
br label %54
54: ; preds = %53, %50, %40
%55 = load i32, ptr %2, align 4
ret i32 %55
}
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe1f_zvm9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local constant i8 0, align 1
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @puts1(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
store ptr %5, ptr %4, align 8
br label %6
6: ; preds = %43, %1
%7 = load ptr, ptr %3, align 8
%8 = load i8, ptr %7, align 1
%9 = sext i8 %8 to i32
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %18
11: ; preds = %6
%12 = load ptr, ptr %3, align 8
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = load i8, ptr @EOF, align 1
%16 = sext i8 %15 to i32
%17 = icmp ne i32 %14, %16
br label %18
18: ; preds = %11, %6
%19 = phi i1 [ false, %6 ], [ %17, %11 ]
br i1 %19, label %20, label %46
20: ; preds = %18
%21 = load ptr, ptr %3, align 8
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = icmp sge i32 %23, 9
br i1 %24, label %25, label %30
25: ; preds = %20
%26 = load ptr, ptr %3, align 8
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp sle i32 %28, 13
br i1 %29, label %43, label %30
30: ; preds = %25, %20
%31 = load ptr, ptr %3, align 8
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = icmp sge i32 %33, 32
br i1 %34, label %35, label %40
35: ; preds = %30
%36 = load ptr, ptr %3, align 8
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = icmp sle i32 %38, 126
br i1 %39, label %43, label %40
40: ; preds = %35, %30
%41 = load i8, ptr @EOF, align 1
%42 = sext i8 %41 to i32
store i32 %42, ptr %2, align 4
br label %54
43: ; preds = %35, %25
%44 = load ptr, ptr %3, align 8
%45 = getelementptr inbounds i8, ptr %44, i32 1
store ptr %45, ptr %3, align 8
br label %6, !llvm.loop !6
46: ; preds = %18
%47 = load ptr, ptr %4, align 8
%48 = call i32 @printf(ptr noundef @.str, ptr noundef %47)
%49 = icmp eq i32 %48, -1
br i1 %49, label %50, label %53
50: ; preds = %46
%51 = load i8, ptr @EOF, align 1
%52 = sext i8 %51 to i32
store i32 %52, ptr %2, align 4
br label %54
53: ; preds = %46
store i32 1, ptr %2, align 4
br label %54
54: ; preds = %53, %50, %40
%55 = load i32, ptr %2, align 4
ret i32 %55
}
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpvcuf0utb.c'
source_filename = "/tmp/tmpvcuf0utb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @n_free(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
%8 = load ptr, ptr %4, align 8
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %12
10: ; preds = %3
%11 = load i32, ptr %7, align 4
store i32 %11, ptr %7, align 4
br label %15
12: ; preds = %3
%13 = load ptr, ptr %4, align 8
%14 = call i32 @free(ptr noundef %13)
br label %15
15: ; preds = %12, %10
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/tmpvcuf0utb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @n_free(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
%8 = load ptr, ptr %4, align 8
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %12
10: ; preds = %3
%11 = load i32, ptr %7, align 4
store i32 %11, ptr %7, align 4
br label %15
12: ; preds = %3
%13 = load ptr, ptr %4, align 8
%14 = call i32 @free(ptr noundef %13)
br label %15
15: ; preds = %12, %10
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/tmp8r1hzh72.c'
source_filename = "/tmp/tmp8r1hzh72.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINTR = dso_local global i32 0, align 4
@EINPROGRESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @close(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @__syscall_cp(i32 noundef 6, i32 noundef %4)
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr @EINTR, align 4
%8 = sub nsw i32 0, %7
%9 = icmp eq i32 %6, %8
br i1 %9, label %10, label %13
10: ; preds = %1
%11 = load i32, ptr @EINPROGRESS, align 4
%12 = sub nsw i32 0, %11
store i32 %12, ptr %3, align 4
br label %13
13: ; preds = %10, %1
%14 = load i32, ptr %3, align 4
%15 = call i32 @__syscall_ret(i32 noundef %14)
ret i32 %15
}
declare i32 @__syscall_cp(i32 noundef, i32 noundef) #1
declare i32 @__syscall_ret(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/tmp8r1hzh72.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINTR = dso_local global i32 0, align 4
@EINPROGRESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @close(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @__syscall_cp(i32 noundef 6, i32 noundef %4)
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr @EINTR, align 4
%8 = sub nsw i32 0, %7
%9 = icmp eq i32 %6, %8
br i1 %9, label %10, label %13
10: ; preds = %1
%11 = load i32, ptr @EINPROGRESS, align 4
%12 = sub nsw i32 0, %11
store i32 %12, ptr %3, align 4
br label %13
13: ; preds = %10, %1
%14 = load i32, ptr %3, align 4
%15 = call i32 @__syscall_ret(i32 noundef %14)
ret i32 %15
}
declare i32 @__syscall_cp(i32 noundef, i32 noundef) #1
declare i32 @__syscall_ret(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_3_q__5q.c'
source_filename = "/tmp/tmp_3_q__5q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_3_q__5q.c"
target datalayout = "e-m:e-p270: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/tmpb6f75klm.c'
source_filename = "/tmp/tmpb6f75klm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getlhex() #0 {
%1 = alloca [80 x i8], align 16
%2 = alloca i64, align 8
%3 = getelementptr inbounds [80 x i8], ptr %1, i64 0, i64 0
%4 = call i32 @safe_gets(ptr noundef %3, i32 noundef 80)
store i64 0, ptr %2, align 8
%5 = getelementptr inbounds [80 x i8], ptr %1, i64 0, i64 0
%6 = call i32 @_scanf_getll(ptr noundef %5, ptr noundef %2, i32 noundef 16, i32 noundef 80, i32 noundef 0)
%7 = load i64, ptr %2, align 8
ret i64 %7
}
declare i32 @safe_gets(ptr noundef, i32 noundef) #1
declare i32 @_scanf_getll(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb6f75klm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getlhex() #0 {
%1 = alloca [80 x i8], align 16
%2 = alloca i64, align 8
%3 = getelementptr inbounds [80 x i8], ptr %1, i64 0, i64 0
%4 = call i32 @safe_gets(ptr noundef %3, i32 noundef 80)
store i64 0, ptr %2, align 8
%5 = getelementptr inbounds [80 x i8], ptr %1, i64 0, i64 0
%6 = call i32 @_scanf_getll(ptr noundef %5, ptr noundef %2, i32 noundef 16, i32 noundef 80, i32 noundef 0)
%7 = load i64, ptr %2, align 8
ret i64 %7
}
declare i32 @safe_gets(ptr noundef, i32 noundef) #1
declare i32 @_scanf_getll(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp148n2c_m.c'
source_filename = "/tmp/tmp148n2c_m.c"
target datalayout = "e-m:e-p270: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/tmp148n2c_m.c"
target datalayout = "e-m:e-p270: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/tmpuyddnyxj.c'
source_filename = "/tmp/tmpuyddnyxj.c"
target datalayout = "e-m:e-p270: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/tmpuyddnyxj.c"
target datalayout = "e-m:e-p270: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/tmp9xbtk6q9.c'
source_filename = "/tmp/tmp9xbtk6q9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @NMI_Handler() #0 {
%1 = call i64 (...) @LL_RCC_IsActiveFlag_HSECSS()
%2 = icmp ne i64 %1, 0
br i1 %2, label %3, label %6
3: ; preds = %0
%4 = call i32 (...) @LL_RCC_ClearFlag_HSECSS()
%5 = call i32 (...) @HSEFailureDetection_Callback()
br label %6
6: ; preds = %3, %0
ret void
}
declare i64 @LL_RCC_IsActiveFlag_HSECSS(...) #1
declare i32 @LL_RCC_ClearFlag_HSECSS(...) #1
declare i32 @HSEFailureDetection_Callback(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9xbtk6q9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @NMI_Handler() #0 {
%1 = call i64 (...) @LL_RCC_IsActiveFlag_HSECSS()
%2 = icmp ne i64 %1, 0
br i1 %2, label %3, label %6
3: ; preds = %0
%4 = call i32 (...) @LL_RCC_ClearFlag_HSECSS()
%5 = call i32 (...) @HSEFailureDetection_Callback()
br label %6
6: ; preds = %3, %0
ret void
}
declare i64 @LL_RCC_IsActiveFlag_HSECSS(...) #1
declare i32 @LL_RCC_ClearFlag_HSECSS(...) #1
declare i32 @HSEFailureDetection_Callback(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpuq_c0lq_.c'
source_filename = "/tmp/tmpuq_c0lq_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @link(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @__syscall(i32 noundef 86, ptr noundef %5, ptr noundef %6)
ret i32 %7
}
declare i32 @__syscall(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuq_c0lq_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @link(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @__syscall(i32 noundef 86, ptr noundef %5, ptr noundef %6)
ret i32 %7
}
declare i32 @__syscall(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpby4mqod0.c'
source_filename = "/tmp/tmpby4mqod0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"sp\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @arg_sp() #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/tmpby4mqod0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"sp\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @arg_sp() #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/tmp8vh8uuio.c'
source_filename = "/tmp/tmp8vh8uuio.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@dln1px.p1 = internal global double 0xBFF4B4FFC42A148A, align 8
@dln1px.p2 = internal global double 0x3FD9F07E0FB3016F, align 8
@dln1px.p3 = internal global double 0xBF925116C2156ED7, align 8
@dln1px.q1 = internal global double 0xBFFA0A55197F6949, align 8
@dln1px.q2 = internal global double 0x3FE7EE115D1C2A40, align 8
@dln1px.q3 = internal global double 0xBFB5A27999C75E82, align 8
@dln1px.dln1px = internal global double 0.000000e+00, align 8
@dln1px.t = internal global double 0.000000e+00, align 8
@dln1px.t2 = internal global double 0.000000e+00, align 8
@dln1px.w = internal global double 0.000000e+00, align 8
@dln1px.x = internal global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @dln1px(ptr noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = load double, ptr %4, align 8
%6 = call double @llvm.fabs.f64(double %5)
%7 = fcmp ogt double %6, 3.750000e-01
br i1 %7, label %8, label %9
8: ; preds = %1
br label %43
9: ; preds = %1
%10 = load ptr, ptr %3, align 8
%11 = load double, ptr %10, align 8
%12 = load ptr, ptr %3, align 8
%13 = load double, ptr %12, align 8
%14 = fadd double %13, 2.000000e+00
%15 = fdiv double %11, %14
store double %15, ptr @dln1px.t, align 8
%16 = load double, ptr @dln1px.t, align 8
%17 = load double, ptr @dln1px.t, align 8
%18 = fmul double %16, %17
store double %18, ptr @dln1px.t2, align 8
%19 = load double, ptr @dln1px.p3, align 8
%20 = load double, ptr @dln1px.t2, align 8
%21 = load double, ptr @dln1px.p2, align 8
%22 = call double @llvm.fmuladd.f64(double %19, double %20, double %21)
%23 = load double, ptr @dln1px.t2, align 8
%24 = load double, ptr @dln1px.p1, align 8
%25 = call double @llvm.fmuladd.f64(double %22, double %23, double %24)
%26 = load double, ptr @dln1px.t2, align 8
%27 = call double @llvm.fmuladd.f64(double %25, double %26, double 1.000000e+00)
%28 = load double, ptr @dln1px.q3, align 8
%29 = load double, ptr @dln1px.t2, align 8
%30 = load double, ptr @dln1px.q2, align 8
%31 = call double @llvm.fmuladd.f64(double %28, double %29, double %30)
%32 = load double, ptr @dln1px.t2, align 8
%33 = load double, ptr @dln1px.q1, align 8
%34 = call double @llvm.fmuladd.f64(double %31, double %32, double %33)
%35 = load double, ptr @dln1px.t2, align 8
%36 = call double @llvm.fmuladd.f64(double %34, double %35, double 1.000000e+00)
%37 = fdiv double %27, %36
store double %37, ptr @dln1px.w, align 8
%38 = load double, ptr @dln1px.t, align 8
%39 = fmul double 2.000000e+00, %38
%40 = load double, ptr @dln1px.w, align 8
%41 = fmul double %39, %40
store double %41, ptr @dln1px.dln1px, align 8
%42 = load double, ptr @dln1px.dln1px, align 8
store double %42, ptr %2, align 8
br label %50
43: ; preds = %8
%44 = load ptr, ptr %3, align 8
%45 = load double, ptr %44, align 8
%46 = fadd double 1.000000e+00, %45
store double %46, ptr @dln1px.x, align 8
%47 = load double, ptr @dln1px.x, align 8
%48 = call double @log(double noundef %47) #3
store double %48, ptr @dln1px.dln1px, align 8
%49 = load double, ptr @dln1px.dln1px, align 8
store double %49, ptr %2, align 8
br label %50
50: ; preds = %43, %9
%51 = load double, ptr %2, align 8
ret double %51
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
; Function Attrs: nounwind
declare double @log(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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8vh8uuio.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@dln1px.p1 = internal global double 0xBFF4B4FFC42A148A, align 8
@dln1px.p2 = internal global double 0x3FD9F07E0FB3016F, align 8
@dln1px.p3 = internal global double 0xBF925116C2156ED7, align 8
@dln1px.q1 = internal global double 0xBFFA0A55197F6949, align 8
@dln1px.q2 = internal global double 0x3FE7EE115D1C2A40, align 8
@dln1px.q3 = internal global double 0xBFB5A27999C75E82, align 8
@dln1px.dln1px = internal global double 0.000000e+00, align 8
@dln1px.t = internal global double 0.000000e+00, align 8
@dln1px.t2 = internal global double 0.000000e+00, align 8
@dln1px.w = internal global double 0.000000e+00, align 8
@dln1px.x = internal global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @dln1px(ptr noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = load double, ptr %4, align 8
%6 = call double @llvm.fabs.f64(double %5)
%7 = fcmp ogt double %6, 3.750000e-01
br i1 %7, label %8, label %9
8: ; preds = %1
br label %43
9: ; preds = %1
%10 = load ptr, ptr %3, align 8
%11 = load double, ptr %10, align 8
%12 = load ptr, ptr %3, align 8
%13 = load double, ptr %12, align 8
%14 = fadd double %13, 2.000000e+00
%15 = fdiv double %11, %14
store double %15, ptr @dln1px.t, align 8
%16 = load double, ptr @dln1px.t, align 8
%17 = load double, ptr @dln1px.t, align 8
%18 = fmul double %16, %17
store double %18, ptr @dln1px.t2, align 8
%19 = load double, ptr @dln1px.p3, align 8
%20 = load double, ptr @dln1px.t2, align 8
%21 = load double, ptr @dln1px.p2, align 8
%22 = call double @llvm.fmuladd.f64(double %19, double %20, double %21)
%23 = load double, ptr @dln1px.t2, align 8
%24 = load double, ptr @dln1px.p1, align 8
%25 = call double @llvm.fmuladd.f64(double %22, double %23, double %24)
%26 = load double, ptr @dln1px.t2, align 8
%27 = call double @llvm.fmuladd.f64(double %25, double %26, double 1.000000e+00)
%28 = load double, ptr @dln1px.q3, align 8
%29 = load double, ptr @dln1px.t2, align 8
%30 = load double, ptr @dln1px.q2, align 8
%31 = call double @llvm.fmuladd.f64(double %28, double %29, double %30)
%32 = load double, ptr @dln1px.t2, align 8
%33 = load double, ptr @dln1px.q1, align 8
%34 = call double @llvm.fmuladd.f64(double %31, double %32, double %33)
%35 = load double, ptr @dln1px.t2, align 8
%36 = call double @llvm.fmuladd.f64(double %34, double %35, double 1.000000e+00)
%37 = fdiv double %27, %36
store double %37, ptr @dln1px.w, align 8
%38 = load double, ptr @dln1px.t, align 8
%39 = fmul double 2.000000e+00, %38
%40 = load double, ptr @dln1px.w, align 8
%41 = fmul double %39, %40
store double %41, ptr @dln1px.dln1px, align 8
%42 = load double, ptr @dln1px.dln1px, align 8
store double %42, ptr %2, align 8
br label %50
43: ; preds = %8
%44 = load ptr, ptr %3, align 8
%45 = load double, ptr %44, align 8
%46 = fadd double 1.000000e+00, %45
store double %46, ptr @dln1px.x, align 8
%47 = load double, ptr @dln1px.x, align 8
%48 = call double @log(double noundef %47) #3
store double %48, ptr @dln1px.dln1px, align 8
%49 = load double, ptr @dln1px.dln1px, align 8
store double %49, ptr %2, align 8
br label %50
50: ; preds = %43, %9
%51 = load double, ptr %2, align 8
ret double %51
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
; Function Attrs: nounwind
declare double @log(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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8butn94_.c'
source_filename = "/tmp/tmp8butn94_.c"
target datalayout = "e-m:e-p270: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/tmp8butn94_.c"
target datalayout = "e-m:e-p270: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/tmp9bdqi7pi.c'
source_filename = "/tmp/tmp9bdqi7pi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_argv_size(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = getelementptr inbounds ptr, ptr %7, i64 1
%9 = load ptr, ptr %8, align 8
%10 = call i64 @strlen(ptr noundef %9)
store i64 %10, ptr %5, align 8
store i32 2, ptr %6, align 4
br label %11
11: ; preds = %24, %2
%12 = load i32, ptr %6, align 4
%13 = load i32, ptr %3, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %15, label %27
15: ; preds = %11
%16 = load ptr, ptr %4, align 8
%17 = load i32, ptr %6, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds ptr, ptr %16, i64 %18
%20 = load ptr, ptr %19, align 8
%21 = call i64 @strlen(ptr noundef %20)
%22 = load i64, ptr %5, align 8
%23 = add i64 %22, %21
store i64 %23, ptr %5, align 8
br label %24
24: ; preds = %15
%25 = load i32, ptr %6, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %6, align 4
br label %11, !llvm.loop !6
27: ; preds = %11
%28 = load i64, ptr %5, align 8
ret i64 %28
}
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/tmp9bdqi7pi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_argv_size(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = getelementptr inbounds ptr, ptr %7, i64 1
%9 = load ptr, ptr %8, align 8
%10 = call i64 @strlen(ptr noundef %9)
store i64 %10, ptr %5, align 8
store i32 2, ptr %6, align 4
%11 = load i32, ptr %6, align 4
%12 = load i32, ptr %3, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %.lr.ph, label %29
.lr.ph: ; preds = %2
br label %14
14: ; preds = %.lr.ph, %23
%15 = load ptr, ptr %4, align 8
%16 = load i32, ptr %6, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds ptr, ptr %15, i64 %17
%19 = load ptr, ptr %18, align 8
%20 = call i64 @strlen(ptr noundef %19)
%21 = load i64, ptr %5, align 8
%22 = add i64 %21, %20
store i64 %22, ptr %5, align 8
br label %23
23: ; preds = %14
%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 %3, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %29
29: ; preds = %._crit_edge, %2
%30 = load i64, ptr %5, align 8
ret i64 %30
}
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/tmp_sqjvic5.c'
source_filename = "/tmp/tmp_sqjvic5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Topics_hasWildcards(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 ptr @strchr(ptr noundef %3, i8 noundef signext 43)
%5 = icmp ne ptr %4, null
br i1 %5, label %10, label %6
6: ; preds = %1
%7 = load ptr, ptr %2, align 8
%8 = call ptr @strchr(ptr noundef %7, i8 noundef signext 35)
%9 = icmp ne ptr %8, null
br label %10
10: ; preds = %6, %1
%11 = phi i1 [ true, %1 ], [ %9, %6 ]
%12 = zext i1 %11 to i32
ret i32 %12
}
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!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_sqjvic5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Topics_hasWildcards(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 ptr @strchr(ptr noundef %3, i8 noundef signext 43)
%5 = icmp ne ptr %4, null
br i1 %5, label %10, label %6
6: ; preds = %1
%7 = load ptr, ptr %2, align 8
%8 = call ptr @strchr(ptr noundef %7, i8 noundef signext 35)
%9 = icmp ne ptr %8, null
br label %10
10: ; preds = %6, %1
%11 = phi i1 [ true, %1 ], [ %9, %6 ]
%12 = zext i1 %11 to i32
ret i32 %12
}
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4vurbdw9.c'
source_filename = "/tmp/tmp4vurbdw9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"dns: name: recursion exceeded %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"dns: name: not enough bytes\0A\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"(err)\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"dns: name: too long\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @dns_extract_name(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
store ptr %0, ptr %8, align 8
store ptr %1, ptr %9, align 8
store i32 %2, ptr %10, align 4
store i32 %3, ptr %11, align 4
store ptr %4, ptr %12, align 8
store i32 %5, ptr %13, align 4
store i32 0, ptr %14, align 4
store i32 0, ptr %15, align 4
%17 = load ptr, ptr %12, align 8
%18 = getelementptr inbounds i8, ptr %17, i64 0
store i8 0, ptr %18, align 1
br label %19
19: ; preds = %159, %6
%20 = load i32, ptr %11, align 4
%21 = load i32, ptr %10, align 4
%22 = icmp ult i32 %20, %21
br i1 %22, label %23, label %160
23: ; preds = %19
%24 = load ptr, ptr %9, align 8
%25 = load i32, ptr %11, align 4
%26 = zext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %24, i64 %26
%28 = load i8, ptr %27, align 1
%29 = zext i8 %28 to i32
%30 = icmp eq i32 %29, 0
br i1 %30, label %31, label %32
31: ; preds = %23
br label %160
32: ; preds = %23
%33 = load ptr, ptr %9, align 8
%34 = load i32, ptr %11, align 4
%35 = zext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %33, i64 %35
%37 = load i8, ptr %36, align 1
%38 = zext i8 %37 to i32
%39 = and i32 %38, 192
%40 = icmp ne i32 %39, 0
br i1 %40, label %41, label %79
41: ; preds = %32
%42 = load i32, ptr %14, align 4
%43 = icmp sgt i32 %42, 100
br i1 %43, label %44, label %48
44: ; preds = %41
%45 = load ptr, ptr %8, align 8
%46 = load i32, ptr %14, align 4
%47 = call i32 (ptr, ptr, ...) @FRAMERR(ptr noundef %45, ptr noundef @.str, i32 noundef %46)
br label %160
48: ; preds = %41
%49 = load i32, ptr %14, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %14, align 4
%51 = load i32, ptr %11, align 4
%52 = add i32 %51, 2
%53 = load i32, ptr %10, align 4
%54 = icmp ugt i32 %52, %53
br i1 %54, label %55, label %60
55: ; preds = %48
%56 = load ptr, ptr %8, align 8
%57 = call i32 (ptr, ptr, ...) @FRAMERR(ptr noundef %56, ptr noundef @.str.1)
%58 = load ptr, ptr %12, align 8
%59 = call i32 @strcpy(ptr noundef %58, ptr noundef @.str.2)
store i32 5, ptr %7, align 4
br label %162
60: ; preds = %48
%61 = load ptr, ptr %9, align 8
%62 = load i32, ptr %11, align 4
%63 = zext i32 %62 to i64
%64 = getelementptr inbounds i8, ptr %61, i64 %63
%65 = getelementptr inbounds i8, ptr %64, i64 0
%66 = load i8, ptr %65, align 1
%67 = zext i8 %66 to i32
%68 = shl i32 %67, 8
%69 = load ptr, ptr %9, align 8
%70 = load i32, ptr %11, align 4
%71 = zext i32 %70 to i64
%72 = getelementptr inbounds i8, ptr %69, i64 %71
%73 = getelementptr inbounds i8, ptr %72, i64 1
%74 = load i8, ptr %73, align 1
%75 = zext i8 %74 to i32
%76 = shl i32 %75, 0
%77 = or i32 %68, %76
%78 = and i32 %77, 1023
store i32 %78, ptr %11, align 4
br label %158
79: ; preds = %32
%80 = load ptr, ptr %9, align 8
%81 = load i32, ptr %11, align 4
%82 = add i32 %81, 1
store i32 %82, ptr %11, align 4
%83 = zext i32 %81 to i64
%84 = getelementptr inbounds i8, ptr %80, i64 %83
%85 = load i8, ptr %84, align 1
%86 = zext i8 %85 to i32
store i32 %86, ptr %16, align 4
%87 = load i32, ptr %11, align 4
%88 = load i32, ptr %10, align 4
%89 = icmp uge i32 %87, %88
br i1 %89, label %90, label %95
90: ; preds = %79
%91 = load ptr, ptr %8, align 8
%92 = call i32 (ptr, ptr, ...) @FRAMERR(ptr noundef %91, ptr noundef @.str.1)
%93 = load ptr, ptr %12, align 8
%94 = call i32 @strcpy(ptr noundef %93, ptr noundef @.str.2)
store i32 5, ptr %7, align 4
br label %162
95: ; preds = %79
%96 = load i32, ptr %11, align 4
%97 = load i32, ptr %16, align 4
%98 = add i32 %96, %97
%99 = load i32, ptr %10, align 4
%100 = icmp ugt i32 %98, %99
br i1 %100, label %101, label %106
101: ; preds = %95
%102 = load ptr, ptr %8, align 8
%103 = call i32 (ptr, ptr, ...) @FRAMERR(ptr noundef %102, ptr noundef @.str.1)
%104 = load ptr, ptr %12, align 8
%105 = call i32 @strcpy(ptr noundef %104, ptr noundef @.str.2)
store i32 5, ptr %7, align 4
br label %162
106: ; preds = %95
%107 = load i32, ptr %15, align 4
%108 = icmp ugt i32 %107, 0
br i1 %108, label %109, label %125
109: ; preds = %106
%110 = load i32, ptr %15, align 4
%111 = add i32 %110, 1
%112 = load i32, ptr %13, align 4
%113 = icmp uge i32 %111, %112
br i1 %113, label %114, label %119
114: ; preds = %109
%115 = load ptr, ptr %8, align 8
%116 = call i32 (ptr, ptr, ...) @FRAMERR(ptr noundef %115, ptr noundef @.str.3)
%117 = load ptr, ptr %12, align 8
%118 = call i32 @strcpy(ptr noundef %117, ptr noundef @.str.2)
store i32 5, ptr %7, align 4
br label %162
119: ; preds = %109
%120 = load ptr, ptr %12, align 8
%121 = load i32, ptr %15, align 4
%122 = add i32 %121, 1
store i32 %122, ptr %15, align 4
%123 = zext i32 %121 to i64
%124 = getelementptr inbounds i8, ptr %120, i64 %123
store i8 46, ptr %124, align 1
br label %125
125: ; preds = %119, %106
%126 = load i32, ptr %15, align 4
%127 = load i32, ptr %16, align 4
%128 = add i32 %126, %127
%129 = add i32 %128, 1
%130 = load i32, ptr %13, align 4
%131 = icmp uge i32 %129, %130
br i1 %131, label %132, label %137
132: ; preds = %125
%133 = load ptr, ptr %8, align 8
%134 = call i32 (ptr, ptr, ...) @FRAMERR(ptr noundef %133, ptr noundef @.str.3)
%135 = load ptr, ptr %12, align 8
%136 = call i32 @strcpy(ptr noundef %135, ptr noundef @.str.2)
store i32 5, ptr %7, align 4
br label %162
137: ; preds = %125
%138 = load ptr, ptr %12, align 8
%139 = load i32, ptr %15, align 4
%140 = zext i32 %139 to i64
%141 = getelementptr inbounds i8, ptr %138, i64 %140
%142 = load ptr, ptr %9, align 8
%143 = load i32, ptr %11, align 4
%144 = zext i32 %143 to i64
%145 = getelementptr inbounds i8, ptr %142, i64 %144
%146 = load i32, ptr %16, align 4
%147 = call i32 @memcpy(ptr noundef %141, ptr noundef %145, i32 noundef %146)
%148 = load i32, ptr %16, align 4
%149 = load i32, ptr %15, align 4
%150 = add i32 %149, %148
store i32 %150, ptr %15, align 4
%151 = load ptr, ptr %12, align 8
%152 = load i32, ptr %15, align 4
%153 = zext i32 %152 to i64
%154 = getelementptr inbounds i8, ptr %151, i64 %153
store i8 0, ptr %154, align 1
%155 = load i32, ptr %16, align 4
%156 = load i32, ptr %11, align 4
%157 = add i32 %156, %155
store i32 %157, ptr %11, align 4
br label %158
158: ; preds = %137, %60
br label %159
159: ; preds = %158
br label %19, !llvm.loop !6
160: ; preds = %44, %31, %19
%161 = load i32, ptr %15, align 4
store i32 %161, ptr %7, align 4
br label %162
162: ; preds = %160, %132, %114, %101, %90, %55
%163 = load i32, ptr %7, align 4
ret i32 %163
}
declare i32 @FRAMERR(ptr noundef, ptr noundef, ...) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4vurbdw9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"dns: name: recursion exceeded %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"dns: name: not enough bytes\0A\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"(err)\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"dns: name: too long\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @dns_extract_name(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
store ptr %0, ptr %8, align 8
store ptr %1, ptr %9, align 8
store i32 %2, ptr %10, align 4
store i32 %3, ptr %11, align 4
store ptr %4, ptr %12, align 8
store i32 %5, ptr %13, align 4
store i32 0, ptr %14, align 4
store i32 0, ptr %15, align 4
%17 = load ptr, ptr %12, align 8
%18 = getelementptr inbounds i8, ptr %17, i64 0
store i8 0, ptr %18, align 1
%19 = load i32, ptr %11, align 4
%20 = load i32, ptr %10, align 4
%21 = icmp ult i32 %19, %20
br i1 %21, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %6
br label %22
22: ; preds = %.lr.ph, %158
%23 = load ptr, ptr %9, align 8
%24 = load i32, ptr %11, align 4
%25 = zext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %23, i64 %25
%27 = load i8, ptr %26, align 1
%28 = zext i8 %27 to i32
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %31
30: ; preds = %22
br label %162
31: ; preds = %22
%32 = load ptr, ptr %9, align 8
%33 = load i32, ptr %11, align 4
%34 = zext i32 %33 to i64
%35 = getelementptr inbounds i8, ptr %32, i64 %34
%36 = load i8, ptr %35, align 1
%37 = zext i8 %36 to i32
%38 = and i32 %37, 192
%39 = icmp ne i32 %38, 0
br i1 %39, label %40, label %78
40: ; preds = %31
%41 = load i32, ptr %14, align 4
%42 = icmp sgt i32 %41, 100
br i1 %42, label %43, label %47
43: ; preds = %40
%44 = load ptr, ptr %8, align 8
%45 = load i32, ptr %14, align 4
%46 = call i32 (ptr, ptr, ...) @FRAMERR(ptr noundef %44, ptr noundef @.str, i32 noundef %45)
br label %162
47: ; preds = %40
%48 = load i32, ptr %14, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %14, align 4
%50 = load i32, ptr %11, align 4
%51 = add i32 %50, 2
%52 = load i32, ptr %10, align 4
%53 = icmp ugt i32 %51, %52
br i1 %53, label %54, label %59
54: ; preds = %47
%55 = load ptr, ptr %8, align 8
%56 = call i32 (ptr, ptr, ...) @FRAMERR(ptr noundef %55, ptr noundef @.str.1)
%57 = load ptr, ptr %12, align 8
%58 = call i32 @strcpy(ptr noundef %57, ptr noundef @.str.2)
store i32 5, ptr %7, align 4
br label %164
59: ; preds = %47
%60 = load ptr, ptr %9, align 8
%61 = load i32, ptr %11, align 4
%62 = zext i32 %61 to i64
%63 = getelementptr inbounds i8, ptr %60, i64 %62
%64 = getelementptr inbounds i8, ptr %63, i64 0
%65 = load i8, ptr %64, align 1
%66 = zext i8 %65 to i32
%67 = shl i32 %66, 8
%68 = load ptr, ptr %9, align 8
%69 = load i32, ptr %11, align 4
%70 = zext i32 %69 to i64
%71 = getelementptr inbounds i8, ptr %68, i64 %70
%72 = getelementptr inbounds i8, ptr %71, i64 1
%73 = load i8, ptr %72, align 1
%74 = zext i8 %73 to i32
%75 = shl i32 %74, 0
%76 = or i32 %67, %75
%77 = and i32 %76, 1023
store i32 %77, ptr %11, align 4
br label %157
78: ; preds = %31
%79 = load ptr, ptr %9, align 8
%80 = load i32, ptr %11, align 4
%81 = add i32 %80, 1
store i32 %81, ptr %11, align 4
%82 = zext i32 %80 to i64
%83 = getelementptr inbounds i8, ptr %79, i64 %82
%84 = load i8, ptr %83, align 1
%85 = zext i8 %84 to i32
store i32 %85, ptr %16, align 4
%86 = load i32, ptr %11, align 4
%87 = load i32, ptr %10, align 4
%88 = icmp uge i32 %86, %87
br i1 %88, label %89, label %94
89: ; preds = %78
%90 = load ptr, ptr %8, align 8
%91 = call i32 (ptr, ptr, ...) @FRAMERR(ptr noundef %90, ptr noundef @.str.1)
%92 = load ptr, ptr %12, align 8
%93 = call i32 @strcpy(ptr noundef %92, ptr noundef @.str.2)
store i32 5, ptr %7, align 4
br label %164
94: ; preds = %78
%95 = load i32, ptr %11, align 4
%96 = load i32, ptr %16, align 4
%97 = add i32 %95, %96
%98 = load i32, ptr %10, align 4
%99 = icmp ugt i32 %97, %98
br i1 %99, label %100, label %105
100: ; preds = %94
%101 = load ptr, ptr %8, align 8
%102 = call i32 (ptr, ptr, ...) @FRAMERR(ptr noundef %101, ptr noundef @.str.1)
%103 = load ptr, ptr %12, align 8
%104 = call i32 @strcpy(ptr noundef %103, ptr noundef @.str.2)
store i32 5, ptr %7, align 4
br label %164
105: ; preds = %94
%106 = load i32, ptr %15, align 4
%107 = icmp ugt i32 %106, 0
br i1 %107, label %108, label %124
108: ; preds = %105
%109 = load i32, ptr %15, align 4
%110 = add i32 %109, 1
%111 = load i32, ptr %13, align 4
%112 = icmp uge i32 %110, %111
br i1 %112, label %113, label %118
113: ; preds = %108
%114 = load ptr, ptr %8, align 8
%115 = call i32 (ptr, ptr, ...) @FRAMERR(ptr noundef %114, ptr noundef @.str.3)
%116 = load ptr, ptr %12, align 8
%117 = call i32 @strcpy(ptr noundef %116, ptr noundef @.str.2)
store i32 5, ptr %7, align 4
br label %164
118: ; preds = %108
%119 = load ptr, ptr %12, align 8
%120 = load i32, ptr %15, align 4
%121 = add i32 %120, 1
store i32 %121, ptr %15, align 4
%122 = zext i32 %120 to i64
%123 = getelementptr inbounds i8, ptr %119, i64 %122
store i8 46, ptr %123, align 1
br label %124
124: ; preds = %118, %105
%125 = load i32, ptr %15, align 4
%126 = load i32, ptr %16, align 4
%127 = add i32 %125, %126
%128 = add i32 %127, 1
%129 = load i32, ptr %13, align 4
%130 = icmp uge i32 %128, %129
br i1 %130, label %131, label %136
131: ; preds = %124
%132 = load ptr, ptr %8, align 8
%133 = call i32 (ptr, ptr, ...) @FRAMERR(ptr noundef %132, ptr noundef @.str.3)
%134 = load ptr, ptr %12, align 8
%135 = call i32 @strcpy(ptr noundef %134, ptr noundef @.str.2)
store i32 5, ptr %7, align 4
br label %164
136: ; preds = %124
%137 = load ptr, ptr %12, align 8
%138 = load i32, ptr %15, align 4
%139 = zext i32 %138 to i64
%140 = getelementptr inbounds i8, ptr %137, i64 %139
%141 = load ptr, ptr %9, align 8
%142 = load i32, ptr %11, align 4
%143 = zext i32 %142 to i64
%144 = getelementptr inbounds i8, ptr %141, i64 %143
%145 = load i32, ptr %16, align 4
%146 = call i32 @memcpy(ptr noundef %140, ptr noundef %144, i32 noundef %145)
%147 = load i32, ptr %16, align 4
%148 = load i32, ptr %15, align 4
%149 = add i32 %148, %147
store i32 %149, ptr %15, align 4
%150 = load ptr, ptr %12, align 8
%151 = load i32, ptr %15, align 4
%152 = zext i32 %151 to i64
%153 = getelementptr inbounds i8, ptr %150, i64 %152
store i8 0, ptr %153, align 1
%154 = load i32, ptr %16, align 4
%155 = load i32, ptr %11, align 4
%156 = add i32 %155, %154
store i32 %156, ptr %11, align 4
br label %157
157: ; preds = %136, %59
br label %158
158: ; preds = %157
%159 = load i32, ptr %11, align 4
%160 = load i32, ptr %10, align 4
%161 = icmp ult i32 %159, %160
br i1 %161, label %22, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %158
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %6
br label %162
162: ; preds = %.loopexit, %43, %30
%163 = load i32, ptr %15, align 4
store i32 %163, ptr %7, align 4
br label %164
164: ; preds = %162, %131, %113, %100, %89, %54
%165 = load i32, ptr %7, align 4
ret i32 %165
}
declare i32 @FRAMERR(ptr noundef, ptr noundef, ...) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp4o_bol7t.c'
source_filename = "/tmp/tmp4o_bol7t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @charcmp(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = call i32 @strlen(ptr noundef %8)
store i32 %9, ptr %6, align 4
store i32 0, ptr %7, align 4
br label %10
10: ; preds = %30, %2
%11 = load i32, ptr %7, align 4
%12 = load i32, ptr %6, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %33
14: ; preds = %10
%15 = load ptr, ptr %4, align 8
%16 = load i32, ptr %7, 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 = load ptr, ptr %5, align 8
%22 = load i32, ptr %7, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %21, i64 %23
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = icmp ne i32 %20, %26
br i1 %27, label %28, label %29
28: ; preds = %14
store i32 0, ptr %3, align 4
br label %34
29: ; preds = %14
br label %30
30: ; preds = %29
%31 = load i32, ptr %7, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %7, align 4
br label %10, !llvm.loop !6
33: ; preds = %10
store i32 1, ptr %3, align 4
br label %34
34: ; preds = %33, %28
%35 = load i32, ptr %3, align 4
ret i32 %35
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4o_bol7t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @charcmp(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = call i32 @strlen(ptr noundef %8)
store i32 %9, ptr %6, align 4
store i32 0, ptr %7, align 4
%10 = load i32, ptr %7, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %.lr.ph, label %35
.lr.ph: ; preds = %2
br label %13
13: ; preds = %.lr.ph, %29
%14 = load ptr, ptr %4, align 8
%15 = load i32, ptr %7, 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 = load ptr, ptr %5, align 8
%21 = load i32, ptr %7, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %20, i64 %22
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp ne i32 %19, %25
br i1 %26, label %27, label %28
27: ; preds = %13
store i32 0, ptr %3, align 4
br label %36
28: ; preds = %13
br label %29
29: ; preds = %28
%30 = load i32, ptr %7, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %7, align 4
%32 = load i32, ptr %7, align 4
%33 = load i32, ptr %6, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %29
br label %35
35: ; preds = %._crit_edge, %2
store i32 1, ptr %3, align 4
br label %36
36: ; preds = %35, %27
%37 = load i32, ptr %3, align 4
ret i32 %37
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpw83hc8wc.c'
source_filename = "/tmp/tmpw83hc8wc.c"
target datalayout = "e-m:e-p270: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/tmpw83hc8wc.c"
target datalayout = "e-m:e-p270: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/tmpy5qkqbcg.c'
source_filename = "/tmp/tmpy5qkqbcg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @decode_base64_length(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
store ptr %7, ptr %4, align 8
br label %8
8: ; preds = %14, %1
%9 = load ptr, ptr %3, align 8
%10 = getelementptr inbounds i8, ptr %9, i64 0
%11 = load i8, ptr %10, align 1
%12 = call i32 @base64_to_binary(i8 noundef zeroext %11)
%13 = icmp slt i32 %12, 64
br i1 %13, label %14, label %17
14: ; preds = %8
%15 = load ptr, ptr %3, align 8
%16 = getelementptr inbounds i8, ptr %15, i32 1
store ptr %16, ptr %3, align 8
br label %8, !llvm.loop !6
17: ; preds = %8
%18 = load ptr, ptr %3, align 8
%19 = load ptr, ptr %4, align 8
%20 = ptrtoint ptr %18 to i64
%21 = ptrtoint ptr %19 to i64
%22 = sub i64 %20, %21
%23 = trunc i64 %22 to i32
store i32 %23, ptr %5, align 4
%24 = load i32, ptr %5, align 4
%25 = udiv i32 %24, 4
%26 = mul i32 %25, 3
store i32 %26, ptr %6, align 4
%27 = load i32, ptr %5, align 4
%28 = urem i32 %27, 4
switch i32 %28, label %29 [
i32 2, label %31
i32 3, label %34
]
29: ; preds = %17
%30 = load i32, ptr %6, align 4
store i32 %30, ptr %2, align 4
br label %37
31: ; preds = %17
%32 = load i32, ptr %6, align 4
%33 = add i32 %32, 1
store i32 %33, ptr %2, align 4
br label %37
34: ; preds = %17
%35 = load i32, ptr %6, align 4
%36 = add i32 %35, 2
store i32 %36, ptr %2, align 4
br label %37
37: ; preds = %34, %31, %29
%38 = load i32, ptr %2, align 4
ret i32 %38
}
declare i32 @base64_to_binary(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/tmpy5qkqbcg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @decode_base64_length(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
store ptr %7, ptr %4, align 8
%8 = load ptr, ptr %3, align 8
%9 = load i8, ptr %8, align 1
%10 = call i32 @base64_to_binary(i8 noundef zeroext %9)
%11 = icmp slt i32 %10, 64
br i1 %11, label %.lr.ph, label %20
.lr.ph: ; preds = %1
br label %12
12: ; preds = %.lr.ph, %12
%13 = load ptr, ptr %3, align 8
%14 = getelementptr inbounds i8, ptr %13, i32 1
store ptr %14, ptr %3, align 8
%15 = load ptr, ptr %3, align 8
%16 = getelementptr inbounds i8, ptr %15, i64 0
%17 = load i8, ptr %16, align 1
%18 = call i32 @base64_to_binary(i8 noundef zeroext %17)
%19 = icmp slt i32 %18, 64
br i1 %19, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %12
br label %20
20: ; preds = %._crit_edge, %1
%21 = load ptr, ptr %3, align 8
%22 = load ptr, ptr %4, align 8
%23 = ptrtoint ptr %21 to i64
%24 = ptrtoint ptr %22 to i64
%25 = sub i64 %23, %24
%26 = trunc i64 %25 to i32
store i32 %26, ptr %5, align 4
%27 = load i32, ptr %5, align 4
%28 = udiv i32 %27, 4
%29 = mul i32 %28, 3
store i32 %29, ptr %6, align 4
%30 = load i32, ptr %5, align 4
%31 = urem i32 %30, 4
switch i32 %31, label %32 [
i32 2, label %34
i32 3, label %37
]
32: ; preds = %20
%33 = load i32, ptr %6, align 4
store i32 %33, ptr %2, align 4
br label %40
34: ; preds = %20
%35 = load i32, ptr %6, align 4
%36 = add i32 %35, 1
store i32 %36, ptr %2, align 4
br label %40
37: ; preds = %20
%38 = load i32, ptr %6, align 4
%39 = add i32 %38, 2
store i32 %39, ptr %2, align 4
br label %40
40: ; preds = %37, %34, %32
%41 = load i32, ptr %2, align 4
ret i32 %41
}
declare i32 @base64_to_binary(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/tmp2ycesmlw.c'
source_filename = "/tmp/tmp2ycesmlw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @script_drive_segment(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = call i32 @script_write_byte(i32 noundef 145)
%6 = load i32, ptr %4, align 4
%7 = icmp slt i32 %6, 0
br i1 %7, label %8, label %27
8: ; preds = %2
%9 = load i32, ptr %3, align 4
%10 = mul i32 -1, %9
%11 = and i32 %10, 65535
%12 = lshr i32 %11, 8
%13 = call i32 @script_write_byte(i32 noundef %12)
%14 = load i32, ptr %3, align 4
%15 = mul i32 -1, %14
%16 = and i32 %15, 255
%17 = call i32 @script_write_byte(i32 noundef %16)
%18 = load i32, ptr %3, align 4
%19 = mul i32 -1, %18
%20 = and i32 %19, 65535
%21 = lshr i32 %20, 8
%22 = call i32 @script_write_byte(i32 noundef %21)
%23 = load i32, ptr %3, align 4
%24 = mul i32 -1, %23
%25 = and i32 %24, 255
%26 = call i32 @script_write_byte(i32 noundef %25)
br label %42
27: ; preds = %2
%28 = load i32, ptr %3, align 4
%29 = and i32 %28, 65535
%30 = lshr i32 %29, 8
%31 = call i32 @script_write_byte(i32 noundef %30)
%32 = load i32, ptr %3, align 4
%33 = and i32 %32, 255
%34 = call i32 @script_write_byte(i32 noundef %33)
%35 = load i32, ptr %3, align 4
%36 = and i32 %35, 65535
%37 = lshr i32 %36, 8
%38 = call i32 @script_write_byte(i32 noundef %37)
%39 = load i32, ptr %3, align 4
%40 = and i32 %39, 255
%41 = call i32 @script_write_byte(i32 noundef %40)
br label %42
42: ; preds = %27, %8
%43 = load i32, ptr %4, align 4
%44 = call i32 @script_wait_length(i32 noundef %43)
ret void
}
declare i32 @script_write_byte(i32 noundef) #1
declare i32 @script_wait_length(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/tmp2ycesmlw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @script_drive_segment(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = call i32 @script_write_byte(i32 noundef 145)
%6 = load i32, ptr %4, align 4
%7 = icmp slt i32 %6, 0
br i1 %7, label %8, label %27
8: ; preds = %2
%9 = load i32, ptr %3, align 4
%10 = mul i32 -1, %9
%11 = and i32 %10, 65535
%12 = lshr i32 %11, 8
%13 = call i32 @script_write_byte(i32 noundef %12)
%14 = load i32, ptr %3, align 4
%15 = mul i32 -1, %14
%16 = and i32 %15, 255
%17 = call i32 @script_write_byte(i32 noundef %16)
%18 = load i32, ptr %3, align 4
%19 = mul i32 -1, %18
%20 = and i32 %19, 65535
%21 = lshr i32 %20, 8
%22 = call i32 @script_write_byte(i32 noundef %21)
%23 = load i32, ptr %3, align 4
%24 = mul i32 -1, %23
%25 = and i32 %24, 255
%26 = call i32 @script_write_byte(i32 noundef %25)
br label %42
27: ; preds = %2
%28 = load i32, ptr %3, align 4
%29 = and i32 %28, 65535
%30 = lshr i32 %29, 8
%31 = call i32 @script_write_byte(i32 noundef %30)
%32 = load i32, ptr %3, align 4
%33 = and i32 %32, 255
%34 = call i32 @script_write_byte(i32 noundef %33)
%35 = load i32, ptr %3, align 4
%36 = and i32 %35, 65535
%37 = lshr i32 %36, 8
%38 = call i32 @script_write_byte(i32 noundef %37)
%39 = load i32, ptr %3, align 4
%40 = and i32 %39, 255
%41 = call i32 @script_write_byte(i32 noundef %40)
br label %42
42: ; preds = %27, %8
%43 = load i32, ptr %4, align 4
%44 = call i32 @script_wait_length(i32 noundef %43)
ret void
}
declare i32 @script_write_byte(i32 noundef) #1
declare i32 @script_wait_length(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/tmppowryz2_.c'
source_filename = "/tmp/tmppowryz2_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c", %s\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @PrintStringArray(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%8 = load ptr, ptr %4, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %13
10: ; preds = %3
%11 = load ptr, ptr %4, align 8
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %11)
br label %13
13: ; preds = %10, %3
%14 = load ptr, ptr %6, align 8
%15 = load ptr, ptr %14, align 8
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %15)
store i32 1, ptr %7, align 4
br label %17
17: ; preds = %28, %13
%18 = load i32, ptr %7, align 4
%19 = load i32, ptr %5, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %21, label %31
21: ; preds = %17
%22 = load ptr, ptr %6, align 8
%23 = load i32, ptr %7, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds ptr, ptr %22, i64 %24
%26 = load ptr, ptr %25, align 8
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %26)
br label %28
28: ; preds = %21
%29 = load i32, ptr %7, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %7, align 4
br label %17, !llvm.loop !6
31: ; preds = %17
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppowryz2_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c", %s\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @PrintStringArray(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%8 = load ptr, ptr %4, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %13
10: ; preds = %3
%11 = load ptr, ptr %4, align 8
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %11)
br label %13
13: ; preds = %10, %3
%14 = load ptr, ptr %6, align 8
%15 = load ptr, ptr %14, align 8
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %15)
store i32 1, ptr %7, align 4
%17 = load i32, ptr %7, align 4
%18 = load i32, ptr %5, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %.lr.ph, label %33
.lr.ph: ; preds = %13
br label %20
20: ; preds = %.lr.ph, %27
%21 = load ptr, ptr %6, align 8
%22 = load i32, ptr %7, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds ptr, ptr %21, i64 %23
%25 = load ptr, ptr %24, align 8
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %25)
br label %27
27: ; preds = %20
%28 = load i32, ptr %7, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %7, align 4
%30 = load i32, ptr %7, align 4
%31 = load i32, ptr %5, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %33
33: ; preds = %._crit_edge, %13
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpeo_tohlh.c'
source_filename = "/tmp/tmpeo_tohlh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"C:\\program.txt\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"Error! opening file\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.4 = private unnamed_addr constant [14 x i8] c"Value of n=%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%4 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %4, ptr %3, align 8
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %9
6: ; preds = %0
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%8 = call i32 @exit(i32 noundef 1) #3
unreachable
9: ; preds = %0
%10 = load ptr, ptr %3, align 8
%11 = call i32 @fscanf(ptr noundef %10, ptr noundef @.str.3, ptr noundef %2)
%12 = load i32, ptr %2, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %12)
%14 = load ptr, ptr %3, align 8
%15 = call i32 @fclose(ptr noundef %14)
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpeo_tohlh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"C:\\program.txt\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"Error! opening file\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.4 = private unnamed_addr constant [14 x i8] c"Value of n=%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%4 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %4, ptr %3, align 8
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %9
6: ; preds = %0
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%8 = call i32 @exit(i32 noundef 1) #3
unreachable
9: ; preds = %0
%10 = load ptr, ptr %3, align 8
%11 = call i32 @fscanf(ptr noundef %10, ptr noundef @.str.3, ptr noundef %2)
%12 = load i32, ptr %2, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %12)
%14 = load ptr, ptr %3, align 8
%15 = call i32 @fclose(ptr noundef %14)
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpudb5otze.c'
source_filename = "/tmp/tmpudb5otze.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"%d, \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @inOrder(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
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %6, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %10, label %26
10: ; preds = %3
%11 = load ptr, ptr %4, align 8
%12 = load i32, ptr %5, align 4
%13 = mul nsw i32 2, %12
%14 = load i32, ptr %6, align 4
call void @inOrder(ptr noundef %11, i32 noundef %13, i32 noundef %14)
%15 = load ptr, ptr %4, align 8
%16 = load i32, ptr %5, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i32, ptr %15, i64 %17
%19 = load i32, ptr %18, align 4
%20 = call i32 @printf(ptr noundef @.str, i32 noundef %19)
%21 = load ptr, ptr %4, align 8
%22 = load i32, ptr %5, align 4
%23 = mul nsw i32 2, %22
%24 = add nsw i32 %23, 1
%25 = load i32, ptr %6, align 4
call void @inOrder(ptr noundef %21, i32 noundef %24, i32 noundef %25)
br label %26
26: ; preds = %10, %3
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpudb5otze.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"%d, \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @inOrder(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
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %6, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %10, label %26
10: ; preds = %3
%11 = load ptr, ptr %4, align 8
%12 = load i32, ptr %5, align 4
%13 = mul nsw i32 2, %12
%14 = load i32, ptr %6, align 4
call void @inOrder(ptr noundef %11, i32 noundef %13, i32 noundef %14)
%15 = load ptr, ptr %4, align 8
%16 = load i32, ptr %5, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i32, ptr %15, i64 %17
%19 = load i32, ptr %18, align 4
%20 = call i32 @printf(ptr noundef @.str, i32 noundef %19)
%21 = load ptr, ptr %4, align 8
%22 = load i32, ptr %5, align 4
%23 = mul nsw i32 2, %22
%24 = add nsw i32 %23, 1
%25 = load i32, ptr %6, align 4
call void @inOrder(ptr noundef %21, i32 noundef %24, i32 noundef %25)
br label %26
26: ; preds = %10, %3
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmk2ihkn_.c'
source_filename = "/tmp/tmpmk2ihkn_.c"
target datalayout = "e-m:e-p270: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
@ENOSYS = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmk2ihkn_.c"
target datalayout = "e-m:e-p270: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
@ENOSYS = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp82fug1do.c'
source_filename = "/tmp/tmp82fug1do.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"lib%s.so\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @awosSelf(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [256 x i8], align 16
store ptr %0, ptr %2, align 8
%4 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0
%5 = load ptr, ptr %2, align 8
%6 = call i32 @snprintf(ptr noundef %4, i32 noundef 255, ptr noundef @.str, ptr noundef %5)
%7 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0
%8 = call ptr @dlopen(ptr noundef %7, i32 noundef 0)
ret ptr %8
}
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @dlopen(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/tmp82fug1do.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"lib%s.so\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @awosSelf(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [256 x i8], align 16
store ptr %0, ptr %2, align 8
%4 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0
%5 = load ptr, ptr %2, align 8
%6 = call i32 @snprintf(ptr noundef %4, i32 noundef 255, ptr noundef @.str, ptr noundef %5)
%7 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0
%8 = call ptr @dlopen(ptr noundef %7, i32 noundef 0)
ret ptr %8
}
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @dlopen(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/tmp27n_y77_.c'
source_filename = "/tmp/tmp27n_y77_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hash(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
br label %5
5: ; preds = %9, %1
%6 = load ptr, ptr %2, align 8
%7 = load i8, ptr %6, align 1
%8 = icmp ne i8 %7, 0
br i1 %8, label %9, label %21
9: ; preds = %5
%10 = load i32, ptr %3, align 4
%11 = load ptr, ptr %2, align 8
%12 = getelementptr inbounds i8, ptr %11, i32 1
store ptr %12, ptr %2, align 8
%13 = load i8, ptr %11, align 1
%14 = sext i8 %13 to i32
%15 = add nsw i32 %10, %14
%16 = srem i32 %15, 255
store i32 %16, ptr %3, align 4
%17 = load i32, ptr %4, align 4
%18 = load i32, ptr %3, align 4
%19 = add nsw i32 %17, %18
%20 = srem i32 %19, 255
store i32 %20, ptr %4, align 4
br label %5, !llvm.loop !6
21: ; preds = %5
%22 = load i32, ptr %4, align 4
%23 = shl i32 %22, 8
%24 = load i32, ptr %3, align 4
%25 = or i32 %23, %24
ret i32 %25
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp27n_y77_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hash(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
%5 = load ptr, ptr %2, align 8
%6 = load i8, ptr %5, align 1
%7 = icmp ne i8 %6, 0
br i1 %7, label %.lr.ph, label %23
.lr.ph: ; preds = %1
br label %8
8: ; preds = %.lr.ph, %8
%9 = load i32, ptr %3, align 4
%10 = load ptr, ptr %2, align 8
%11 = getelementptr inbounds i8, ptr %10, i32 1
store ptr %11, ptr %2, align 8
%12 = load i8, ptr %10, align 1
%13 = sext i8 %12 to i32
%14 = add nsw i32 %9, %13
%15 = srem i32 %14, 255
store i32 %15, ptr %3, align 4
%16 = load i32, ptr %4, align 4
%17 = load i32, ptr %3, align 4
%18 = add nsw i32 %16, %17
%19 = srem i32 %18, 255
store i32 %19, ptr %4, align 4
%20 = load ptr, ptr %2, align 8
%21 = load i8, ptr %20, align 1
%22 = icmp ne i8 %21, 0
br i1 %22, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %8
br label %23
23: ; preds = %._crit_edge, %1
%24 = load i32, ptr %4, align 4
%25 = shl i32 %24, 8
%26 = load i32, ptr %3, align 4
%27 = or i32 %25, %26
ret i32 %27
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp1xfsotn8.c'
source_filename = "/tmp/tmp1xfsotn8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT_MAX = 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/tmp1xfsotn8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT_MAX = 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/tmpkrjn34y3.c'
source_filename = "/tmp/tmpkrjn34y3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"../../TestCase/input21.txt\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@stdin = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = load i32, ptr @stdin, align 4
%8 = call i32 @freopen(ptr noundef @.str, ptr noundef @.str.1, i32 noundef %7)
%9 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %5)
br label %10
10: ; preds = %35, %0
%11 = load i32, ptr %5, align 4
%12 = add nsw i32 %11, -1
store i32 %12, ptr %5, align 4
%13 = icmp ne i32 %11, 0
br i1 %13, label %14, label %41
14: ; preds = %10
%15 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2)
%16 = load i32, ptr %2, align 4
%17 = sext i32 %16 to i64
%18 = mul i64 4, %17
%19 = trunc i64 %18 to i32
%20 = call i64 @malloc(i32 noundef %19)
%21 = inttoptr i64 %20 to ptr
store ptr %21, ptr %3, align 8
store i32 0, ptr %4, align 4
br label %22
22: ; preds = %32, %14
%23 = load i32, ptr %4, align 4
%24 = load i32, ptr %2, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %26, label %35
26: ; preds = %22
%27 = load ptr, ptr %3, align 8
%28 = load i32, ptr %4, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i32, ptr %27, i64 %29
%31 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %30)
br label %32
32: ; preds = %26
%33 = load i32, ptr %4, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %4, align 4
br label %22, !llvm.loop !6
35: ; preds = %22
%36 = load ptr, ptr %3, align 8
%37 = load i32, ptr %2, align 4
%38 = call i32 @getLongestSubsequence(ptr noundef %36, i32 noundef %37)
store i32 %38, ptr %6, align 4
%39 = load i32, ptr %6, align 4
%40 = call i32 @printf(ptr noundef @.str.3, i32 noundef %39)
br label %10, !llvm.loop !8
41: ; preds = %10
ret i32 0
}
declare i32 @freopen(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @getLongestSubsequence(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkrjn34y3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"../../TestCase/input21.txt\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@stdin = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = load i32, ptr @stdin, align 4
%8 = call i32 @freopen(ptr noundef @.str, ptr noundef @.str.1, i32 noundef %7)
%9 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %5)
%10 = load i32, ptr %5, align 4
%11 = add nsw i32 %10, -1
store i32 %11, ptr %5, align 4
%12 = icmp ne i32 %10, 0
br i1 %12, label %.lr.ph2, label %45
.lr.ph2: ; preds = %0
br label %13
13: ; preds = %.lr.ph2, %36
%14 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2)
%15 = load i32, ptr %2, align 4
%16 = sext i32 %15 to i64
%17 = mul i64 4, %16
%18 = trunc i64 %17 to i32
%19 = call i64 @malloc(i32 noundef %18)
%20 = inttoptr i64 %19 to ptr
store ptr %20, ptr %3, align 8
store i32 0, ptr %4, align 4
%21 = load i32, ptr %4, align 4
%22 = load i32, ptr %2, align 4
%23 = icmp slt i32 %21, %22
br i1 %23, label %.lr.ph, label %36
.lr.ph: ; preds = %13
br label %24
24: ; preds = %.lr.ph, %30
%25 = load ptr, ptr %3, align 8
%26 = load i32, ptr %4, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i32, ptr %25, i64 %27
%29 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %28)
br label %30
30: ; preds = %24
%31 = load i32, ptr %4, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %4, align 4
%33 = load i32, ptr %4, align 4
%34 = load i32, ptr %2, align 4
%35 = icmp slt i32 %33, %34
br i1 %35, label %24, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %30
br label %36
36: ; preds = %._crit_edge, %13
%37 = load ptr, ptr %3, align 8
%38 = load i32, ptr %2, align 4
%39 = call i32 @getLongestSubsequence(ptr noundef %37, i32 noundef %38)
store i32 %39, ptr %6, align 4
%40 = load i32, ptr %6, align 4
%41 = call i32 @printf(ptr noundef @.str.3, i32 noundef %40)
%42 = load i32, ptr %5, align 4
%43 = add nsw i32 %42, -1
store i32 %43, ptr %5, align 4
%44 = icmp ne i32 %42, 0
br i1 %44, label %13, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %36
br label %45
45: ; preds = %._crit_edge3, %0
ret i32 0
}
declare i32 @freopen(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @getLongestSubsequence(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp3x41lzqb.c'
source_filename = "/tmp/tmp3x41lzqb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@NS_INADDRSZ = 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/tmp3x41lzqb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@NS_INADDRSZ = 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/tmpy1lmtqki.c'
source_filename = "/tmp/tmpy1lmtqki.c"
target datalayout = "e-m:e-p270: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.htxd_send_ack_command_length.ack_string = private unnamed_addr constant [18 x i8] c":length received:\00", align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @htxd_send_ack_command_length(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [18 x i8], align 16
store i32 %0, ptr %3, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.htxd_send_ack_command_length.ack_string, i64 18, i1 false)
%6 = load i32, ptr %3, align 4
%7 = getelementptr inbounds [18 x i8], ptr %5, i64 0, i64 0
%8 = getelementptr inbounds [18 x i8], ptr %5, i64 0, i64 0
%9 = call i32 @strlen(ptr noundef %8)
%10 = call i32 @send(i32 noundef %6, ptr noundef %7, i32 noundef %9, i32 noundef 0)
store i32 %10, ptr %4, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp eq i32 %11, -1
br i1 %12, label %13, label %15
13: ; preds = %1
%14 = load i32, ptr %4, align 4
store i32 %14, ptr %2, align 4
br label %17
15: ; preds = %1
%16 = load i32, ptr %4, align 4
store i32 %16, ptr %2, align 4
br label %17
17: ; preds = %15, %13
%18 = load i32, ptr %2, align 4
ret i32 %18
}
; 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 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @strlen(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy1lmtqki.c"
target datalayout = "e-m:e-p270: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.htxd_send_ack_command_length.ack_string = private unnamed_addr constant [18 x i8] c":length received:\00", align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @htxd_send_ack_command_length(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [18 x i8], align 16
store i32 %0, ptr %3, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.htxd_send_ack_command_length.ack_string, i64 18, i1 false)
%6 = load i32, ptr %3, align 4
%7 = getelementptr inbounds [18 x i8], ptr %5, i64 0, i64 0
%8 = getelementptr inbounds [18 x i8], ptr %5, i64 0, i64 0
%9 = call i32 @strlen(ptr noundef %8)
%10 = call i32 @send(i32 noundef %6, ptr noundef %7, i32 noundef %9, i32 noundef 0)
store i32 %10, ptr %4, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp eq i32 %11, -1
br i1 %12, label %13, label %15
13: ; preds = %1
%14 = load i32, ptr %4, align 4
store i32 %14, ptr %2, align 4
br label %17
15: ; preds = %1
%16 = load i32, ptr %4, align 4
store i32 %16, ptr %2, align 4
br label %17
17: ; preds = %15, %13
%18 = load i32, ptr %2, align 4
ret i32 %18
}
; 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 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @strlen(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbfd_e3zb.c'
source_filename = "/tmp/tmpbfd_e3zb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"input.txt\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@stdin = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [11 x i8] c"output.txt\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@stdout = dso_local global i32 0, align 4
@EOF = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [4 x i8] c"No\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [5 x i8] c"Yes\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [100001 x i8], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = load i32, ptr @stdin, align 4
%7 = call i32 @freopen(ptr noundef @.str, ptr noundef @.str.1, i32 noundef %6)
%8 = load i32, ptr @stdout, align 4
%9 = call i32 @freopen(ptr noundef @.str.2, ptr noundef @.str.3, i32 noundef %8)
store i32 0, ptr %5, align 4
br label %10
10: ; preds = %48, %31, %0
%11 = call i32 (...) @getchar()
store i32 %11, ptr %3, align 4
%12 = load i32, ptr @EOF, align 4
%13 = icmp ne i32 %11, %12
br i1 %13, label %14, label %49
14: ; preds = %10
%15 = load i32, ptr %3, align 4
%16 = load i32, ptr %3, align 4
%17 = call i32 @toupper(i32 noundef %16) #4
%18 = icmp eq i32 %15, %17
br i1 %18, label %19, label %26
19: ; preds = %14
%20 = load i32, ptr %5, align 4
%21 = icmp eq i32 %20, 1
br i1 %21, label %22, label %26
22: ; preds = %19
%23 = call i32 @printf(ptr noundef @.str.4)
%24 = load i32, ptr @EXIT_SUCCESS, align 4
%25 = call i32 @exit(i32 noundef %24) #5
unreachable
26: ; preds = %19, %14
%27 = load i32, ptr %3, align 4
%28 = load i32, ptr %3, align 4
%29 = call i32 @toupper(i32 noundef %28) #4
%30 = icmp eq i32 %27, %29
br i1 %30, label %31, label %32
31: ; preds = %26
store i32 1, ptr %5, align 4
br label %10, !llvm.loop !6
32: ; preds = %26
%33 = load i32, ptr %5, align 4
%34 = icmp eq i32 %33, 0
br i1 %34, label %35, label %39
35: ; preds = %32
%36 = call i32 @printf(ptr noundef @.str.4)
%37 = load i32, ptr @EXIT_SUCCESS, align 4
%38 = call i32 @exit(i32 noundef %37) #5
unreachable
39: ; preds = %32
%40 = load i32, ptr %5, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %5, align 4
%42 = load i32, ptr %5, align 4
%43 = icmp sgt i32 %42, 4
br i1 %43, label %44, label %48
44: ; preds = %39
%45 = call i32 @printf(ptr noundef @.str.4)
%46 = load i32, ptr @EXIT_SUCCESS, align 4
%47 = call i32 @exit(i32 noundef %46) #5
unreachable
48: ; preds = %39
br label %10, !llvm.loop !6
49: ; preds = %10
%50 = load i32, ptr %5, align 4
%51 = icmp eq i32 %50, 1
br i1 %51, label %52, label %56
52: ; preds = %49
%53 = call i32 @printf(ptr noundef @.str.4)
%54 = load i32, ptr @EXIT_SUCCESS, align 4
%55 = call i32 @exit(i32 noundef %54) #5
unreachable
56: ; preds = %49
%57 = call i32 @printf(ptr noundef @.str.5)
ret i32 0
}
declare i32 @freopen(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @getchar(...) #1
; Function Attrs: nounwind willreturn memory(read)
declare i32 @toupper(i32 noundef) #2
declare i32 @printf(ptr noundef) #1
; 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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 = { nounwind willreturn memory(read) }
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbfd_e3zb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"input.txt\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@stdin = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [11 x i8] c"output.txt\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@stdout = dso_local global i32 0, align 4
@EOF = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [4 x i8] c"No\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [5 x i8] c"Yes\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [100001 x i8], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = load i32, ptr @stdin, align 4
%7 = call i32 @freopen(ptr noundef @.str, ptr noundef @.str.1, i32 noundef %6)
%8 = load i32, ptr @stdout, align 4
%9 = call i32 @freopen(ptr noundef @.str.2, ptr noundef @.str.3, i32 noundef %8)
store i32 0, ptr %5, align 4
%10 = call i32 (...) @getchar()
store i32 %10, ptr %3, align 4
%11 = load i32, ptr @EOF, align 4
%12 = icmp ne i32 %10, %11
br i1 %12, label %.lr.ph, label %51
.lr.ph: ; preds = %0
br label %13
13: ; preds = %.lr.ph, %.backedge
%14 = load i32, ptr %3, align 4
%15 = load i32, ptr %3, align 4
%16 = call i32 @toupper(i32 noundef %15) #4
%17 = icmp eq i32 %14, %16
br i1 %17, label %18, label %25
18: ; preds = %13
%19 = load i32, ptr %5, align 4
%20 = icmp eq i32 %19, 1
br i1 %20, label %21, label %25
21: ; preds = %18
%22 = call i32 @printf(ptr noundef @.str.4)
%23 = load i32, ptr @EXIT_SUCCESS, align 4
%24 = call i32 @exit(i32 noundef %23) #5
unreachable
25: ; preds = %18, %13
%26 = load i32, ptr %3, align 4
%27 = load i32, ptr %3, align 4
%28 = call i32 @toupper(i32 noundef %27) #4
%29 = icmp eq i32 %26, %28
br i1 %29, label %30, label %34
30: ; preds = %25
store i32 1, ptr %5, align 4
br label %.backedge
.backedge: ; preds = %30, %50
%31 = call i32 (...) @getchar()
store i32 %31, ptr %3, align 4
%32 = load i32, ptr @EOF, align 4
%33 = icmp ne i32 %31, %32
br i1 %33, label %13, label %._crit_edge, !llvm.loop !6
34: ; preds = %25
%35 = load i32, ptr %5, align 4
%36 = icmp eq i32 %35, 0
br i1 %36, label %37, label %41
37: ; preds = %34
%38 = call i32 @printf(ptr noundef @.str.4)
%39 = load i32, ptr @EXIT_SUCCESS, align 4
%40 = call i32 @exit(i32 noundef %39) #5
unreachable
41: ; preds = %34
%42 = load i32, ptr %5, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %5, align 4
%44 = load i32, ptr %5, align 4
%45 = icmp sgt i32 %44, 4
br i1 %45, label %46, label %50
46: ; preds = %41
%47 = call i32 @printf(ptr noundef @.str.4)
%48 = load i32, ptr @EXIT_SUCCESS, align 4
%49 = call i32 @exit(i32 noundef %48) #5
unreachable
50: ; preds = %41
br label %.backedge
._crit_edge: ; preds = %.backedge
br label %51
51: ; preds = %._crit_edge, %0
%52 = load i32, ptr %5, align 4
%53 = icmp eq i32 %52, 1
br i1 %53, label %54, label %58
54: ; preds = %51
%55 = call i32 @printf(ptr noundef @.str.4)
%56 = load i32, ptr @EXIT_SUCCESS, align 4
%57 = call i32 @exit(i32 noundef %56) #5
unreachable
58: ; preds = %51
%59 = call i32 @printf(ptr noundef @.str.5)
ret i32 0
}
declare i32 @freopen(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @getchar(...) #1
; Function Attrs: nounwind willreturn memory(read)
declare i32 @toupper(i32 noundef) #2
declare i32 @printf(ptr noundef) #1
; 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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 = { nounwind willreturn memory(read) }
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpmp4vjo8w.c'
source_filename = "/tmp/tmpmp4vjo8w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"mymemory\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [9 x i8] c"shm_open\00", align 1
@PROT_READ = dso_local global i32 0, align 4
@PROT_WRITE = dso_local global i32 0, align 4
@MAP_FILE = dso_local global i32 0, align 4
@MAP_SHARED = dso_local global i32 0, align 4
@MAP_FIXED = dso_local global i32 0, align 4
@MAP_FAILED = dso_local global ptr null, align 8
@.str.2 = private unnamed_addr constant [5 x i8] c"mmap\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 ptr, align 8
%4 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%5 = load i32, ptr @O_RDWR, align 4
%6 = call i32 @shm_open(ptr noundef @.str, i32 noundef %5, i32 noundef 438)
store i32 %6, ptr %2, align 4
%7 = icmp slt i32 %6, 0
br i1 %7, label %8, label %11
8: ; preds = %0
%9 = call i32 @perror(ptr noundef @.str.1)
%10 = call i32 @exit(i32 noundef 1) #3
unreachable
11: ; preds = %0
%12 = load i32, ptr @PROT_READ, align 4
%13 = load i32, ptr @PROT_WRITE, align 4
%14 = or i32 %12, %13
%15 = load i32, ptr @MAP_FILE, align 4
%16 = load i32, ptr @MAP_SHARED, align 4
%17 = or i32 %15, %16
%18 = load i32, ptr @MAP_FIXED, align 4
%19 = or i32 %17, %18
%20 = load i32, ptr %2, align 4
%21 = call ptr @mmap(ptr noundef inttoptr (i64 2147483648 to ptr), i32 noundef -2147483648, i32 noundef %14, i32 noundef %19, i32 noundef %20, i32 noundef 0)
store ptr %21, ptr %3, align 8
%22 = load ptr, ptr @MAP_FAILED, align 8
%23 = icmp eq ptr %21, %22
br i1 %23, label %24, label %27
24: ; preds = %11
%25 = call i32 @perror(ptr noundef @.str.2)
%26 = call i32 @exit(i32 noundef 1) #3
unreachable
27: ; preds = %11
%28 = load ptr, ptr %3, align 8
store ptr %28, ptr %4, align 8
br label %29
29: ; preds = %38, %27
%30 = load ptr, ptr %4, align 8
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = icmp ne i32 %32, 0
br i1 %33, label %34, label %41
34: ; preds = %29
%35 = load ptr, ptr %4, align 8
%36 = load i8, ptr %35, align 1
%37 = call i32 @putchar(i8 noundef signext %36)
br label %38
38: ; preds = %34
%39 = load ptr, ptr %4, align 8
%40 = getelementptr inbounds i8, ptr %39, i32 1
store ptr %40, ptr %4, align 8
br label %29, !llvm.loop !6
41: ; preds = %29
%42 = call i32 @putchar(i8 noundef signext 10)
%43 = load ptr, ptr %3, align 8
store i8 42, ptr %43, align 1
%44 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @shm_open(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @mmap(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmp4vjo8w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"mymemory\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [9 x i8] c"shm_open\00", align 1
@PROT_READ = dso_local global i32 0, align 4
@PROT_WRITE = dso_local global i32 0, align 4
@MAP_FILE = dso_local global i32 0, align 4
@MAP_SHARED = dso_local global i32 0, align 4
@MAP_FIXED = dso_local global i32 0, align 4
@MAP_FAILED = dso_local global ptr null, align 8
@.str.2 = private unnamed_addr constant [5 x i8] c"mmap\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 ptr, align 8
%4 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%5 = load i32, ptr @O_RDWR, align 4
%6 = call i32 @shm_open(ptr noundef @.str, i32 noundef %5, i32 noundef 438)
store i32 %6, ptr %2, align 4
%7 = icmp slt i32 %6, 0
br i1 %7, label %8, label %11
8: ; preds = %0
%9 = call i32 @perror(ptr noundef @.str.1)
%10 = call i32 @exit(i32 noundef 1) #3
unreachable
11: ; preds = %0
%12 = load i32, ptr @PROT_READ, align 4
%13 = load i32, ptr @PROT_WRITE, align 4
%14 = or i32 %12, %13
%15 = load i32, ptr @MAP_FILE, align 4
%16 = load i32, ptr @MAP_SHARED, align 4
%17 = or i32 %15, %16
%18 = load i32, ptr @MAP_FIXED, align 4
%19 = or i32 %17, %18
%20 = load i32, ptr %2, align 4
%21 = call ptr @mmap(ptr noundef inttoptr (i64 2147483648 to ptr), i32 noundef -2147483648, i32 noundef %14, i32 noundef %19, i32 noundef %20, i32 noundef 0)
store ptr %21, ptr %3, align 8
%22 = load ptr, ptr @MAP_FAILED, align 8
%23 = icmp eq ptr %21, %22
br i1 %23, label %24, label %27
24: ; preds = %11
%25 = call i32 @perror(ptr noundef @.str.2)
%26 = call i32 @exit(i32 noundef 1) #3
unreachable
27: ; preds = %11
%28 = load ptr, ptr %3, align 8
store ptr %28, ptr %4, align 8
%29 = load ptr, ptr %4, align 8
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp ne i32 %31, 0
br i1 %32, label %.lr.ph, label %44
.lr.ph: ; preds = %27
br label %33
33: ; preds = %.lr.ph, %37
%34 = load ptr, ptr %4, align 8
%35 = load i8, ptr %34, align 1
%36 = call i32 @putchar(i8 noundef signext %35)
br label %37
37: ; preds = %33
%38 = load ptr, ptr %4, align 8
%39 = getelementptr inbounds i8, ptr %38, i32 1
store ptr %39, ptr %4, align 8
%40 = load ptr, ptr %4, align 8
%41 = load i8, ptr %40, align 1
%42 = sext i8 %41 to i32
%43 = icmp ne i32 %42, 0
br i1 %43, label %33, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %37
br label %44
44: ; preds = %._crit_edge, %27
%45 = call i32 @putchar(i8 noundef signext 10)
%46 = load ptr, ptr %3, align 8
store i8 42, ptr %46, align 1
%47 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @shm_open(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @mmap(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpmc07s8db.c'
source_filename = "/tmp/tmpmc07s8db.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ctest_assert_pass(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 @ctest_test_assert_add(i32 noundef 0, ptr noundef %3)
ret i32 -1
}
declare i32 @ctest_test_assert_add(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/tmpmc07s8db.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ctest_assert_pass(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 @ctest_test_assert_add(i32 noundef 0, ptr noundef %3)
ret i32 -1
}
declare i32 @ctest_test_assert_add(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/tmpfc8exnu0.c'
source_filename = "/tmp/tmpfc8exnu0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter number of elements: \0A> \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [38 x i8] c"Enter the number to be insterted: \0A> \00", align 1
@.str.3 = private unnamed_addr constant [40 x i8] c"Enter the location to be insterted: \0A> \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [30 x i32], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6)
store i32 0, ptr %3, align 4
br label %9
9: ; preds = %18, %0
%10 = load i32, ptr %3, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %13, label %21
13: ; preds = %9
%14 = load i32, ptr %3, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds [30 x i32], ptr %2, i64 0, i64 %15
%17 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %16)
br label %18
18: ; preds = %13
%19 = load i32, ptr %3, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %3, align 4
br label %9, !llvm.loop !6
21: ; preds = %9
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%23 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4)
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%25 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5)
%26 = load i32, ptr %6, align 4
store i32 %26, ptr %3, align 4
br label %27
27: ; preds = %40, %21
%28 = load i32, ptr %3, align 4
%29 = load i32, ptr %5, align 4
%30 = icmp sge i32 %28, %29
br i1 %30, label %31, label %43
31: ; preds = %27
%32 = load i32, ptr %3, align 4
%33 = sub nsw i32 %32, 1
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds [30 x i32], ptr %2, i64 0, i64 %34
%36 = load i32, ptr %35, align 4
%37 = load i32, ptr %3, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds [30 x i32], ptr %2, i64 0, i64 %38
store i32 %36, ptr %39, align 4
br label %40
40: ; preds = %31
%41 = load i32, ptr %3, align 4
%42 = add nsw i32 %41, -1
store i32 %42, ptr %3, align 4
br label %27, !llvm.loop !8
43: ; preds = %27
%44 = load i32, ptr %6, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %6, align 4
%46 = load i32, ptr %4, align 4
%47 = load i32, ptr %5, align 4
%48 = sub nsw i32 %47, 1
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds [30 x i32], ptr %2, i64 0, i64 %49
store i32 %46, ptr %50, align 4
store i32 0, ptr %3, align 4
br label %51
51: ; preds = %61, %43
%52 = load i32, ptr %3, align 4
%53 = load i32, ptr %6, align 4
%54 = icmp slt i32 %52, %53
br i1 %54, label %55, label %64
55: ; preds = %51
%56 = load i32, ptr %3, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds [30 x i32], ptr %2, i64 0, i64 %57
%59 = load i32, ptr %58, align 4
%60 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %59)
br label %61
61: ; preds = %55
%62 = load i32, ptr %3, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %3, align 4
br label %51, !llvm.loop !9
64: ; preds = %51
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfc8exnu0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter number of elements: \0A> \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [38 x i8] c"Enter the number to be insterted: \0A> \00", align 1
@.str.3 = private unnamed_addr constant [40 x i8] c"Enter the location to be insterted: \0A> \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [30 x i32], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6)
store i32 0, ptr %3, align 4
%9 = load i32, ptr %3, align 4
%10 = load i32, ptr %6, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %.lr.ph, label %23
.lr.ph: ; preds = %0
br label %12
12: ; preds = %.lr.ph, %17
%13 = load i32, ptr %3, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds [30 x i32], ptr %2, i64 0, i64 %14
%16 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %15)
br label %17
17: ; preds = %12
%18 = load i32, ptr %3, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %3, align 4
%20 = load i32, ptr %3, align 4
%21 = load i32, ptr %6, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %23
23: ; preds = %._crit_edge, %0
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%25 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4)
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%27 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5)
%28 = load i32, ptr %6, align 4
store i32 %28, ptr %3, align 4
%29 = load i32, ptr %3, align 4
%30 = load i32, ptr %5, align 4
%31 = icmp sge i32 %29, %30
br i1 %31, label %.lr.ph2, label %47
.lr.ph2: ; preds = %23
br label %32
32: ; preds = %.lr.ph2, %41
%33 = load i32, ptr %3, align 4
%34 = sub nsw i32 %33, 1
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [30 x i32], ptr %2, i64 0, i64 %35
%37 = load i32, ptr %36, align 4
%38 = load i32, ptr %3, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds [30 x i32], ptr %2, i64 0, i64 %39
store i32 %37, ptr %40, align 4
br label %41
41: ; preds = %32
%42 = load i32, ptr %3, align 4
%43 = add nsw i32 %42, -1
store i32 %43, ptr %3, align 4
%44 = load i32, ptr %3, align 4
%45 = load i32, ptr %5, align 4
%46 = icmp sge i32 %44, %45
br i1 %46, label %32, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %41
br label %47
47: ; preds = %._crit_edge3, %23
%48 = load i32, ptr %6, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %6, align 4
%50 = load i32, ptr %4, align 4
%51 = load i32, ptr %5, align 4
%52 = sub nsw i32 %51, 1
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds [30 x i32], ptr %2, i64 0, i64 %53
store i32 %50, ptr %54, align 4
store i32 0, ptr %3, align 4
%55 = load i32, ptr %3, align 4
%56 = load i32, ptr %6, align 4
%57 = icmp slt i32 %55, %56
br i1 %57, label %.lr.ph5, label %70
.lr.ph5: ; preds = %47
br label %58
58: ; preds = %.lr.ph5, %64
%59 = load i32, ptr %3, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds [30 x i32], ptr %2, i64 0, i64 %60
%62 = load i32, ptr %61, align 4
%63 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %62)
br label %64
64: ; preds = %58
%65 = load i32, ptr %3, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %3, align 4
%67 = load i32, ptr %3, align 4
%68 = load i32, ptr %6, align 4
%69 = icmp slt i32 %67, %68
br i1 %69, label %58, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %64
br label %70
70: ; preds = %._crit_edge6, %47
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp4celu_em.c'
source_filename = "/tmp/tmp4celu_em.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c">> \00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"quit\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"exit\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"easter-egg\00", align 1
@stdout = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [2294 x i8] c"\0A ##\0A ###\0A ####\0A #####\0A #######\0A #######\0A ########\0A ########\0A #########\0A ##########\0A ############\0A ##############\0A ################\0A ################ #\0A ############## ###\0A ############## ####\0A ############## #####\0A ############## #######\0A ############## ###########\0A ############### #############\0A ################ ##############\0A ################# # ################\0A ################## ## # #################\0A #################### ### ## #################\0A ################ ######## #################\0A ################ ####### ###################\0A ####################### #####################\0A ##################### ###################\0A ############################################\0A ###########################################\0A ##########################################\0A ########################################\0A ########################################\0A ######################################\0A ######################################\0A ########################## #####\0A ### ################### ##\0A ## ############### #\0A # ## ##########\0A ## ###\0A ###\0A ##\0A #\0A\0A LONG LIVE THE BAT.\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [1000 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
br label %7
7: ; preds = %2, %37
%8 = call i32 @printf(ptr noundef @.str)
%9 = getelementptr inbounds [1000 x i8], ptr %6, i64 0, i64 0
%10 = call i32 @readLine(ptr noundef %9)
br label %11
11: ; preds = %16, %7
%12 = getelementptr inbounds [1000 x i8], ptr %6, i64 0, i64 0
%13 = load i8, ptr %12, align 16
%14 = sext i8 %13 to i32
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %20
16: ; preds = %11
%17 = call i32 @printf(ptr noundef @.str)
%18 = getelementptr inbounds [1000 x i8], ptr %6, i64 0, i64 0
%19 = call i32 @readLine(ptr noundef %18)
br label %11, !llvm.loop !6
20: ; preds = %11
%21 = getelementptr inbounds [1000 x i8], ptr %6, i64 0, i64 0
%22 = call i64 @strncmp(ptr noundef %21, ptr noundef @.str.1, i32 noundef 4)
%23 = icmp eq i64 %22, 0
br i1 %23, label %24, label %25
24: ; preds = %20
store i32 0, ptr %3, align 4
br label %40
25: ; preds = %20
%26 = getelementptr inbounds [1000 x i8], ptr %6, i64 0, i64 0
%27 = call i64 @strncmp(ptr noundef %26, ptr noundef @.str.2, i32 noundef 4)
%28 = icmp eq i64 %27, 0
br i1 %28, label %29, label %30
29: ; preds = %25
store i32 0, ptr %3, align 4
br label %40
30: ; preds = %25
%31 = getelementptr inbounds [1000 x i8], ptr %6, i64 0, i64 0
%32 = call i64 @strncmp(ptr noundef %31, ptr noundef @.str.3, i32 noundef 10)
%33 = icmp eq i64 %32, 0
br i1 %33, label %34, label %37
34: ; preds = %30
%35 = load i32, ptr @stdout, align 4
%36 = call i32 @fprintf(i32 noundef %35, ptr noundef @.str.4)
store i32 0, ptr %3, align 4
br label %40
37: ; preds = %30
%38 = getelementptr inbounds [1000 x i8], ptr %6, i64 0, i64 0
%39 = call i32 @parseAndExecCommandLine(ptr noundef %38)
br label %7
40: ; preds = %34, %29, %24
%41 = load i32, ptr %3, align 4
ret i32 %41
}
declare i32 @printf(ptr noundef) #1
declare i32 @readLine(ptr noundef) #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @parseAndExecCommandLine(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp4celu_em.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c">> \00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"quit\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"exit\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"easter-egg\00", align 1
@stdout = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [2294 x i8] c"\0A ##\0A ###\0A ####\0A #####\0A #######\0A #######\0A ########\0A ########\0A #########\0A ##########\0A ############\0A ##############\0A ################\0A ################ #\0A ############## ###\0A ############## ####\0A ############## #####\0A ############## #######\0A ############## ###########\0A ############### #############\0A ################ ##############\0A ################# # ################\0A ################## ## # #################\0A #################### ### ## #################\0A ################ ######## #################\0A ################ ####### ###################\0A ####################### #####################\0A ##################### ###################\0A ############################################\0A ###########################################\0A ##########################################\0A ########################################\0A ########################################\0A ######################################\0A ######################################\0A ########################## #####\0A ### ################### ##\0A ## ############### #\0A # ## ##########\0A ## ###\0A ###\0A ##\0A #\0A\0A LONG LIVE THE BAT.\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [1000 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
br label %7
7: ; preds = %39, %2
%8 = call i32 @printf(ptr noundef @.str)
%9 = getelementptr inbounds [1000 x i8], ptr %6, i64 0, i64 0
%10 = call i32 @readLine(ptr noundef %9)
%11 = getelementptr inbounds [1000 x i8], ptr %6, i64 0, i64 0
%12 = load i8, ptr %11, align 16
%13 = sext i8 %12 to i32
%14 = icmp eq i32 %13, 0
br i1 %14, label %.lr.ph, label %22
.lr.ph: ; preds = %7
br label %15
15: ; preds = %.lr.ph, %15
%16 = call i32 @printf(ptr noundef @.str)
%17 = getelementptr inbounds [1000 x i8], ptr %6, i64 0, i64 0
%18 = call i32 @readLine(ptr noundef %17)
%19 = load i8, ptr %11, align 16
%20 = sext i8 %19 to i32
%21 = icmp eq i32 %20, 0
br i1 %21, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %22
22: ; preds = %._crit_edge, %7
%23 = getelementptr inbounds [1000 x i8], ptr %6, i64 0, i64 0
%24 = call i64 @strncmp(ptr noundef %23, ptr noundef @.str.1, i32 noundef 4)
%25 = icmp eq i64 %24, 0
br i1 %25, label %26, label %27
26: ; preds = %22
store i32 0, ptr %3, align 4
br label %42
27: ; preds = %22
%28 = getelementptr inbounds [1000 x i8], ptr %6, i64 0, i64 0
%29 = call i64 @strncmp(ptr noundef %28, ptr noundef @.str.2, i32 noundef 4)
%30 = icmp eq i64 %29, 0
br i1 %30, label %31, label %32
31: ; preds = %27
store i32 0, ptr %3, align 4
br label %42
32: ; preds = %27
%33 = getelementptr inbounds [1000 x i8], ptr %6, i64 0, i64 0
%34 = call i64 @strncmp(ptr noundef %33, ptr noundef @.str.3, i32 noundef 10)
%35 = icmp eq i64 %34, 0
br i1 %35, label %36, label %39
36: ; preds = %32
%37 = load i32, ptr @stdout, align 4
%38 = call i32 @fprintf(i32 noundef %37, ptr noundef @.str.4)
store i32 0, ptr %3, align 4
br label %42
39: ; preds = %32
%40 = getelementptr inbounds [1000 x i8], ptr %6, i64 0, i64 0
%41 = call i32 @parseAndExecCommandLine(ptr noundef %40)
br label %7
42: ; preds = %36, %31, %26
%43 = load i32, ptr %3, align 4
ret i32 %43
}
declare i32 @printf(ptr noundef) #1
declare i32 @readLine(ptr noundef) #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @parseAndExecCommandLine(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp49vh95sz.c'
source_filename = "/tmp/tmp49vh95sz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"hehe!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @fork()
%3 = call i32 (...) @fork()
%4 = call i32 (...) @fork()
%5 = call i32 @printf(ptr noundef @.str)
br label %6
6: ; preds = %0, %6
br label %6
}
declare i32 @fork(...) #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/tmp49vh95sz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"hehe!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @fork()
%3 = call i32 (...) @fork()
%4 = call i32 (...) @fork()
%5 = call i32 @printf(ptr noundef @.str)
br label %6
6: ; preds = %6, %0
br label %6
}
declare i32 @fork(...) #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/tmpflwmtytw.c'
source_filename = "/tmp/tmpflwmtytw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"G\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fun(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i8 %0, ptr %2, align 1
%5 = load i32, ptr %3, align 4
%6 = load i8, ptr %2, align 1
%7 = sext i8 %6 to i32
%8 = add nsw i32 %7, 1
%9 = trunc i32 %8 to i8
store i8 %9, ptr %2, align 1
%10 = call i32 @sub_fun(ptr noundef %2)
%11 = call i32 @sub_fun2(i32 noundef 10, i32 noundef 20)
%12 = mul nsw i32 10, %11
%13 = add nsw i32 10, %12
store i32 %13, ptr %4, align 4
%14 = load i32, ptr %4, align 4
%15 = icmp ne i32 %14, 0
br i1 %15, label %16, label %18
16: ; preds = %1
%17 = call i32 @printf(ptr noundef @.str)
br label %18
18: ; preds = %16, %1
%19 = call i32 @sub_fun2(i32 noundef 10, i32 noundef 20)
store i32 %19, ptr %3, align 4
%20 = load i8, ptr %2, align 1
%21 = sext i8 %20 to i32
%22 = add nsw i32 %21, 1
%23 = trunc i32 %22 to i8
store i8 %23, ptr %2, align 1
%24 = load i8, ptr %2, align 1
%25 = sext i8 %24 to i32
ret i32 %25
}
declare i32 @sub_fun(ptr noundef) #1
declare i32 @sub_fun2(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpflwmtytw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"G\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fun(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i8 %0, ptr %2, align 1
%5 = load i32, ptr %3, align 4
%6 = load i8, ptr %2, align 1
%7 = sext i8 %6 to i32
%8 = add nsw i32 %7, 1
%9 = trunc i32 %8 to i8
store i8 %9, ptr %2, align 1
%10 = call i32 @sub_fun(ptr noundef %2)
%11 = call i32 @sub_fun2(i32 noundef 10, i32 noundef 20)
%12 = mul nsw i32 10, %11
%13 = add nsw i32 10, %12
store i32 %13, ptr %4, align 4
%14 = load i32, ptr %4, align 4
%15 = icmp ne i32 %14, 0
br i1 %15, label %16, label %18
16: ; preds = %1
%17 = call i32 @printf(ptr noundef @.str)
br label %18
18: ; preds = %16, %1
%19 = call i32 @sub_fun2(i32 noundef 10, i32 noundef 20)
store i32 %19, ptr %3, align 4
%20 = load i8, ptr %2, align 1
%21 = sext i8 %20 to i32
%22 = add nsw i32 %21, 1
%23 = trunc i32 %22 to i8
store i8 %23, ptr %2, align 1
%24 = load i8, ptr %2, align 1
%25 = sext i8 %24 to i32
ret i32 %25
}
declare i32 @sub_fun(ptr noundef) #1
declare i32 @sub_fun2(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5w1gsxnj.c'
source_filename = "/tmp/tmp5w1gsxnj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strReverseT(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 ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%9 = load ptr, ptr %4, align 8
%10 = load i32, ptr %5, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds i8, ptr %9, i64 %11
store ptr %12, ptr %7, align 8
%13 = load ptr, ptr %4, align 8
%14 = load i32, ptr %5, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i8, ptr %13, i64 %15
%17 = load i32, ptr %6, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
%20 = getelementptr inbounds i8, ptr %19, i64 -1
store ptr %20, ptr %8, align 8
br label %21
21: ; preds = %25, %3
%22 = load ptr, ptr %7, align 8
%23 = load ptr, ptr %8, align 8
%24 = icmp ult ptr %22, %23
br i1 %24, label %25, label %33
25: ; preds = %21
%26 = load ptr, ptr %7, align 8
%27 = load ptr, ptr %8, align 8
%28 = call i32 @swap(ptr noundef %26, ptr noundef %27)
%29 = load ptr, ptr %7, align 8
%30 = getelementptr inbounds i8, ptr %29, i32 1
store ptr %30, ptr %7, align 8
%31 = load ptr, ptr %8, align 8
%32 = getelementptr inbounds i8, ptr %31, i32 -1
store ptr %32, ptr %8, align 8
br label %21, !llvm.loop !6
33: ; preds = %21
ret void
}
declare i32 @swap(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5w1gsxnj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strReverseT(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 ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%9 = load ptr, ptr %4, align 8
%10 = load i32, ptr %5, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds i8, ptr %9, i64 %11
store ptr %12, ptr %7, align 8
%13 = load ptr, ptr %4, align 8
%14 = load i32, ptr %5, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i8, ptr %13, i64 %15
%17 = load i32, ptr %6, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
%20 = getelementptr inbounds i8, ptr %19, i64 -1
store ptr %20, ptr %8, align 8
%21 = load ptr, ptr %7, align 8
%22 = load ptr, ptr %8, align 8
%23 = icmp ult ptr %21, %22
br i1 %23, label %.lr.ph, label %35
.lr.ph: ; preds = %3
br label %24
24: ; preds = %.lr.ph, %24
%25 = load ptr, ptr %7, align 8
%26 = load ptr, ptr %8, align 8
%27 = call i32 @swap(ptr noundef %25, ptr noundef %26)
%28 = load ptr, ptr %7, align 8
%29 = getelementptr inbounds i8, ptr %28, i32 1
store ptr %29, ptr %7, align 8
%30 = load ptr, ptr %8, align 8
%31 = getelementptr inbounds i8, ptr %30, i32 -1
store ptr %31, ptr %8, align 8
%32 = load ptr, ptr %7, align 8
%33 = load ptr, ptr %8, align 8
%34 = icmp ult ptr %32, %33
br i1 %34, label %24, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %35
35: ; preds = %._crit_edge, %3
ret void
}
declare i32 @swap(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpt49dcs4i.c'
source_filename = "/tmp/tmpt49dcs4i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @arrAbsMax(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca double, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = load ptr, ptr %3, align 8
%8 = getelementptr inbounds double, ptr %7, i64 0
%9 = load double, ptr %8, align 8
%10 = call double @llvm.fabs.f64(double %9)
store double %10, ptr %5, align 8
store i32 1, ptr %6, align 4
br label %11
11: ; preds = %32, %2
%12 = load i32, ptr %6, align 4
%13 = load i32, ptr %4, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %15, label %35
15: ; preds = %11
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %6, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds double, ptr %16, i64 %18
%20 = load double, ptr %19, align 8
%21 = call double @llvm.fabs.f64(double %20)
%22 = load double, ptr %5, align 8
%23 = fcmp ogt double %21, %22
br i1 %23, label %24, label %31
24: ; preds = %15
%25 = load ptr, ptr %3, align 8
%26 = load i32, ptr %6, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds double, ptr %25, i64 %27
%29 = load double, ptr %28, align 8
%30 = call double @llvm.fabs.f64(double %29)
store double %30, ptr %5, align 8
br label %31
31: ; preds = %24, %15
br label %32
32: ; preds = %31
%33 = load i32, ptr %6, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %6, align 4
br label %11, !llvm.loop !6
35: ; preds = %11
%36 = load double, ptr %5, align 8
ret double %36
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpt49dcs4i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @arrAbsMax(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca double, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = load ptr, ptr %3, align 8
%8 = getelementptr inbounds double, ptr %7, i64 0
%9 = load double, ptr %8, align 8
%10 = call double @llvm.fabs.f64(double %9)
store double %10, ptr %5, align 8
store i32 1, ptr %6, align 4
%11 = load i32, ptr %6, align 4
%12 = load i32, ptr %4, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %.lr.ph, label %37
.lr.ph: ; preds = %2
br label %14
14: ; preds = %.lr.ph, %31
%15 = load ptr, ptr %3, align 8
%16 = load i32, ptr %6, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds double, ptr %15, i64 %17
%19 = load double, ptr %18, align 8
%20 = call double @llvm.fabs.f64(double %19)
%21 = load double, ptr %5, align 8
%22 = fcmp ogt double %20, %21
br i1 %22, label %23, label %30
23: ; preds = %14
%24 = load ptr, ptr %3, align 8
%25 = load i32, ptr %6, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds double, ptr %24, i64 %26
%28 = load double, ptr %27, align 8
%29 = call double @llvm.fabs.f64(double %28)
store double %29, ptr %5, align 8
br label %30
30: ; preds = %23, %14
br label %31
31: ; preds = %30
%32 = load i32, ptr %6, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %6, align 4
%34 = load i32, ptr %6, align 4
%35 = load i32, ptr %4, align 4
%36 = icmp slt i32 %34, %35
br i1 %36, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %31
br label %37
37: ; preds = %._crit_edge, %2
%38 = load double, ptr %5, align 8
ret double %38
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpciwpq6w3.c'
source_filename = "/tmp/tmpciwpq6w3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fdt_supernode_atdepth_offset(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = 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 ptr %3, ptr %9, align 8
store i32 -13, ptr %12, align 4
%14 = load ptr, ptr %6, align 8
%15 = call i32 @fdt_ro_probe_(ptr noundef %14)
store i32 %15, ptr %13, align 4
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %19
17: ; preds = %4
%18 = load i32, ptr %13, align 4
store i32 %18, ptr %5, align 4
br label %75
19: ; preds = %4
%20 = load i32, ptr %8, align 4
%21 = icmp slt i32 %20, 0
br i1 %21, label %22, label %23
22: ; preds = %19
store i32 -1, ptr %5, align 4
br label %75
23: ; preds = %19
store i32 0, ptr %10, align 4
store i32 0, ptr %11, align 4
br label %24
24: ; preds = %57, %23
%25 = load i32, ptr %10, align 4
%26 = icmp sge i32 %25, 0
br i1 %26, label %27, label %31
27: ; preds = %24
%28 = load i32, ptr %10, align 4
%29 = load i32, ptr %7, align 4
%30 = icmp sle i32 %28, %29
br label %31
31: ; preds = %27, %24
%32 = phi i1 [ false, %24 ], [ %30, %27 ]
br i1 %32, label %33, label %61
33: ; preds = %31
%34 = load i32, ptr %11, align 4
%35 = load i32, ptr %8, align 4
%36 = icmp eq i32 %34, %35
br i1 %36, label %37, label %39
37: ; preds = %33
%38 = load i32, ptr %10, align 4
store i32 %38, ptr %12, align 4
br label %39
39: ; preds = %37, %33
%40 = load i32, ptr %10, align 4
%41 = load i32, ptr %7, align 4
%42 = icmp eq i32 %40, %41
br i1 %42, label %43, label %56
43: ; preds = %39
%44 = load ptr, ptr %9, align 8
%45 = icmp ne ptr %44, null
br i1 %45, label %46, label %49
46: ; preds = %43
%47 = load i32, ptr %11, align 4
%48 = load ptr, ptr %9, align 8
store i32 %47, ptr %48, align 4
br label %49
49: ; preds = %46, %43
%50 = load i32, ptr %8, align 4
%51 = load i32, ptr %11, align 4
%52 = icmp sgt i32 %50, %51
br i1 %52, label %53, label %54
53: ; preds = %49
store i32 -1, ptr %5, align 4
br label %75
54: ; preds = %49
%55 = load i32, ptr %12, align 4
store i32 %55, ptr %5, align 4
br label %75
56: ; preds = %39
br label %57
57: ; preds = %56
%58 = load ptr, ptr %6, align 8
%59 = load i32, ptr %10, align 4
%60 = call i32 @fdt_next_node(ptr noundef %58, i32 noundef %59, ptr noundef %11)
store i32 %60, ptr %10, align 4
br label %24, !llvm.loop !6
61: ; preds = %31
%62 = load i32, ptr %10, align 4
%63 = icmp eq i32 %62, -1
br i1 %63, label %67, label %64
64: ; preds = %61
%65 = load i32, ptr %10, align 4
%66 = icmp sge i32 %65, 0
br i1 %66, label %67, label %68
67: ; preds = %64, %61
store i32 -4, ptr %5, align 4
br label %75
68: ; preds = %64
%69 = load i32, ptr %10, align 4
%70 = icmp eq i32 %69, -4
br i1 %70, label %71, label %72
71: ; preds = %68
store i32 -11, ptr %5, align 4
br label %75
72: ; preds = %68
br label %73
73: ; preds = %72
%74 = load i32, ptr %10, align 4
store i32 %74, ptr %5, align 4
br label %75
75: ; preds = %73, %71, %67, %54, %53, %22, %17
%76 = load i32, ptr %5, align 4
ret i32 %76
}
declare i32 @fdt_ro_probe_(ptr noundef) #1
declare i32 @fdt_next_node(ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpciwpq6w3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fdt_supernode_atdepth_offset(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = 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 ptr %3, ptr %9, align 8
store i32 -13, ptr %12, align 4
%14 = load ptr, ptr %6, align 8
%15 = call i32 @fdt_ro_probe_(ptr noundef %14)
store i32 %15, ptr %13, align 4
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %19
17: ; preds = %4
%18 = load i32, ptr %13, align 4
store i32 %18, ptr %5, align 4
br label %75
19: ; preds = %4
%20 = load i32, ptr %8, align 4
%21 = icmp slt i32 %20, 0
br i1 %21, label %22, label %23
22: ; preds = %19
store i32 -1, ptr %5, align 4
br label %75
23: ; preds = %19
store i32 0, ptr %10, align 4
store i32 0, ptr %11, align 4
br label %24
24: ; preds = %57, %23
%25 = load i32, ptr %10, align 4
%26 = icmp sge i32 %25, 0
br i1 %26, label %27, label %31
27: ; preds = %24
%28 = load i32, ptr %10, align 4
%29 = load i32, ptr %7, align 4
%30 = icmp sle i32 %28, %29
br label %31
31: ; preds = %27, %24
%32 = phi i1 [ false, %24 ], [ %30, %27 ]
br i1 %32, label %33, label %61
33: ; preds = %31
%34 = load i32, ptr %11, align 4
%35 = load i32, ptr %8, align 4
%36 = icmp eq i32 %34, %35
br i1 %36, label %37, label %39
37: ; preds = %33
%38 = load i32, ptr %10, align 4
store i32 %38, ptr %12, align 4
br label %39
39: ; preds = %37, %33
%40 = load i32, ptr %10, align 4
%41 = load i32, ptr %7, align 4
%42 = icmp eq i32 %40, %41
br i1 %42, label %43, label %56
43: ; preds = %39
%44 = load ptr, ptr %9, align 8
%45 = icmp ne ptr %44, null
br i1 %45, label %46, label %49
46: ; preds = %43
%47 = load i32, ptr %11, align 4
%48 = load ptr, ptr %9, align 8
store i32 %47, ptr %48, align 4
br label %49
49: ; preds = %46, %43
%50 = load i32, ptr %8, align 4
%51 = load i32, ptr %11, align 4
%52 = icmp sgt i32 %50, %51
br i1 %52, label %53, label %54
53: ; preds = %49
store i32 -1, ptr %5, align 4
br label %75
54: ; preds = %49
%55 = load i32, ptr %12, align 4
store i32 %55, ptr %5, align 4
br label %75
56: ; preds = %39
br label %57
57: ; preds = %56
%58 = load ptr, ptr %6, align 8
%59 = load i32, ptr %10, align 4
%60 = call i32 @fdt_next_node(ptr noundef %58, i32 noundef %59, ptr noundef %11)
store i32 %60, ptr %10, align 4
br label %24, !llvm.loop !6
61: ; preds = %31
%62 = load i32, ptr %10, align 4
%63 = icmp eq i32 %62, -1
br i1 %63, label %67, label %64
64: ; preds = %61
%65 = load i32, ptr %10, align 4
%66 = icmp sge i32 %65, 0
br i1 %66, label %67, label %68
67: ; preds = %64, %61
store i32 -4, ptr %5, align 4
br label %75
68: ; preds = %64
%69 = load i32, ptr %10, align 4
%70 = icmp eq i32 %69, -4
br i1 %70, label %71, label %72
71: ; preds = %68
store i32 -11, ptr %5, align 4
br label %75
72: ; preds = %68
br label %73
73: ; preds = %72
%74 = load i32, ptr %10, align 4
store i32 %74, ptr %5, align 4
br label %75
75: ; preds = %73, %71, %67, %54, %53, %22, %17
%76 = load i32, ptr %5, align 4
ret i32 %76
}
declare i32 @fdt_ro_probe_(ptr noundef) #1
declare i32 @fdt_next_node(ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp65qsig4v.c'
source_filename = "/tmp/tmp65qsig4v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = load ptr, ptr %5, align 8
%8 = call i32 @ircd_main(i32 noundef %6, ptr noundef %7)
ret i32 %8
}
declare i32 @ircd_main(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/tmp65qsig4v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = load ptr, ptr %5, align 8
%8 = call i32 @ircd_main(i32 noundef %6, ptr noundef %7)
ret i32 %8
}
declare i32 @ircd_main(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/tmpzavge7mo.c'
source_filename = "/tmp/tmpzavge7mo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @shellfork(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
store ptr %0, ptr %2, align 8
%4 = call i64 (...) @vfork()
store i64 %4, ptr %3, align 8
%5 = load i64, ptr %3, align 8
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %1
%8 = load ptr, ptr %2, align 8
%9 = call i32 @shellexec(ptr noundef %8)
br label %10
10: ; preds = %7, %1
%11 = load i64, ptr %3, align 8
ret i64 %11
}
declare i64 @vfork(...) #1
declare i32 @shellexec(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzavge7mo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @shellfork(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
store ptr %0, ptr %2, align 8
%4 = call i64 (...) @vfork()
store i64 %4, ptr %3, align 8
%5 = load i64, ptr %3, align 8
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %1
%8 = load ptr, ptr %2, align 8
%9 = call i32 @shellexec(ptr noundef %8)
br label %10
10: ; preds = %7, %1
%11 = load i64, ptr %3, align 8
ret i64 %11
}
declare i64 @vfork(...) #1
declare i32 @shellexec(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8q6kt3rg.c'
source_filename = "/tmp/tmp8q6kt3rg.c"
target datalayout = "e-m:e-p270: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/tmp8q6kt3rg.c"
target datalayout = "e-m:e-p270: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/tmpsua5kco9.c'
source_filename = "/tmp/tmpsua5kco9.c"
target datalayout = "e-m:e-p270: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 [25 x i8] c"owfs-tlm: out of memory\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @hmalloc(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 (...) @abort() #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 @abort(...) #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/tmpsua5kco9.c"
target datalayout = "e-m:e-p270: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 [25 x i8] c"owfs-tlm: out of memory\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @hmalloc(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 (...) @abort() #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 @abort(...) #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/tmpyzjy09in.c'
source_filename = "/tmp/tmpyzjy09in.c"
target datalayout = "e-m:e-p270: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.tm = type { i32, i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @timer_next_hour_get(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load i32, ptr %4, align 4
%9 = call i32 @timer_hour_judge(i32 noundef %8)
store i32 %9, ptr %6, align 4
%10 = load i32, ptr %6, align 4
%11 = icmp eq i32 0, %10
br i1 %11, label %12, label %14
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
store i32 0, ptr %13, align 4
store i32 0, ptr %3, align 4
br label %28
14: ; preds = %2
%15 = call ptr @gmtime(ptr noundef %4)
store ptr %15, ptr %7, align 8
%16 = load ptr, ptr %7, align 8
%17 = getelementptr inbounds %struct.tm, ptr %16, i32 0, i32 0
%18 = load i32, ptr %17, align 4
%19 = sub nsw i32 60, %18
%20 = sub nsw i32 %19, 1
%21 = mul nsw i32 %20, 60
%22 = load ptr, ptr %7, align 8
%23 = getelementptr inbounds %struct.tm, ptr %22, i32 0, i32 1
%24 = load i32, ptr %23, align 4
%25 = sub nsw i32 60, %24
%26 = add nsw i32 %21, %25
%27 = load ptr, ptr %5, align 8
store i32 %26, ptr %27, align 4
store i32 0, ptr %3, align 4
br label %28
28: ; preds = %14, %12
%29 = load i32, ptr %3, align 4
ret i32 %29
}
declare i32 @timer_hour_judge(i32 noundef) #1
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/tmpyzjy09in.c"
target datalayout = "e-m:e-p270: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.tm = type { i32, i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @timer_next_hour_get(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load i32, ptr %4, align 4
%9 = call i32 @timer_hour_judge(i32 noundef %8)
store i32 %9, ptr %6, align 4
%10 = load i32, ptr %6, align 4
%11 = icmp eq i32 0, %10
br i1 %11, label %12, label %14
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
store i32 0, ptr %13, align 4
store i32 0, ptr %3, align 4
br label %28
14: ; preds = %2
%15 = call ptr @gmtime(ptr noundef %4)
store ptr %15, ptr %7, align 8
%16 = load ptr, ptr %7, align 8
%17 = getelementptr inbounds %struct.tm, ptr %16, i32 0, i32 0
%18 = load i32, ptr %17, align 4
%19 = sub nsw i32 60, %18
%20 = sub nsw i32 %19, 1
%21 = mul nsw i32 %20, 60
%22 = load ptr, ptr %7, align 8
%23 = getelementptr inbounds %struct.tm, ptr %22, i32 0, i32 1
%24 = load i32, ptr %23, align 4
%25 = sub nsw i32 60, %24
%26 = add nsw i32 %21, %25
%27 = load ptr, ptr %5, align 8
store i32 %26, ptr %27, align 4
store i32 0, ptr %3, align 4
br label %28
28: ; preds = %14, %12
%29 = load i32, ptr %3, align 4
ret i32 %29
}
declare i32 @timer_hour_judge(i32 noundef) #1
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/tmp8mfldv94.c'
source_filename = "/tmp/tmp8mfldv94.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = and i64 %3, -281474976710656
%5 = call i64 @z(i64 noundef %4)
ret i64 %5
}
declare i64 @z(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/tmp8mfldv94.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = and i64 %3, -281474976710656
%5 = call i64 @z(i64 noundef %4)
ret i64 %5
}
declare i64 @z(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/tmpvl391fwe.c'
source_filename = "/tmp/tmpvl391fwe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Sum of 4 and 5 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
store i32 0, ptr %1, align 4
%3 = call i32 (...) @sum_4_5()
store i32 %3, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
ret i32 0
}
declare i32 @sum_4_5(...) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvl391fwe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Sum of 4 and 5 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
store i32 0, ptr %1, align 4
%3 = call i32 (...) @sum_4_5()
store i32 %3, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
ret i32 0
}
declare i32 @sum_4_5(...) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4_v26wfe.c'
source_filename = "/tmp/tmp4_v26wfe.c"
target datalayout = "e-m:e-p270: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/tmp4_v26wfe.c"
target datalayout = "e-m:e-p270: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/tmpw6eulv8w.c'
source_filename = "/tmp/tmpw6eulv8w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\09\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"<%s>%d</%s>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @saveInteger(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
store i32 0, ptr %10, align 4
store i32 0, ptr %11, align 4
store i32 0, ptr %11, align 4
br label %12
12: ; preds = %22, %4
%13 = load i32, ptr %11, align 4
%14 = load i32, ptr %9, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %16, label %25
16: ; preds = %12
%17 = load ptr, ptr %6, align 8
%18 = call i64 (ptr, ptr, ...) @fprintf(ptr noundef %17, ptr noundef @.str)
%19 = icmp eq i64 %18, 0
br i1 %19, label %20, label %21
20: ; preds = %16
store i32 1, ptr %10, align 4
br label %25
21: ; preds = %16
br label %22
22: ; preds = %21
%23 = load i32, ptr %11, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %11, align 4
br label %12, !llvm.loop !6
25: ; preds = %20, %12
%26 = load i32, ptr %10, align 4
%27 = icmp eq i32 %26, 0
br i1 %27, label %28, label %36
28: ; preds = %25
%29 = load ptr, ptr %6, align 8
%30 = load ptr, ptr %7, align 8
%31 = load i32, ptr %8, align 4
%32 = load ptr, ptr %7, align 8
%33 = call i64 (ptr, ptr, ...) @fprintf(ptr noundef %29, ptr noundef @.str.1, ptr noundef %30, i32 noundef %31, ptr noundef %32)
%34 = icmp sge i64 %33, 0
br i1 %34, label %35, label %36
35: ; preds = %28
store i32 0, ptr %5, align 4
br label %37
36: ; preds = %28, %25
store i32 1, ptr %5, align 4
br label %37
37: ; preds = %36, %35
%38 = load i32, ptr %5, align 4
ret i32 %38
}
declare i64 @fprintf(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/tmpw6eulv8w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\09\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"<%s>%d</%s>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @saveInteger(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
store i32 0, ptr %10, align 4
store i32 0, ptr %11, align 4
store i32 0, ptr %11, align 4
%12 = load i32, ptr %11, align 4
%13 = load i32, ptr %9, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %4
br label %15
15: ; preds = %.lr.ph, %21
%16 = load ptr, ptr %6, align 8
%17 = call i64 (ptr, ptr, ...) @fprintf(ptr noundef %16, ptr noundef @.str)
%18 = icmp eq i64 %17, 0
br i1 %18, label %19, label %20
19: ; preds = %15
store i32 1, ptr %10, align 4
br label %27
20: ; preds = %15
br label %21
21: ; preds = %20
%22 = load i32, ptr %11, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %11, align 4
%24 = load i32, ptr %11, align 4
%25 = load i32, ptr %9, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %15, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %21
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %4
br label %27
27: ; preds = %.loopexit, %19
%28 = load i32, ptr %10, align 4
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %38
30: ; preds = %27
%31 = load ptr, ptr %6, align 8
%32 = load ptr, ptr %7, align 8
%33 = load i32, ptr %8, align 4
%34 = load ptr, ptr %7, align 8
%35 = call i64 (ptr, ptr, ...) @fprintf(ptr noundef %31, ptr noundef @.str.1, ptr noundef %32, i32 noundef %33, ptr noundef %34)
%36 = icmp sge i64 %35, 0
br i1 %36, label %37, label %38
37: ; preds = %30
store i32 0, ptr %5, align 4
br label %39
38: ; preds = %30, %27
store i32 1, ptr %5, align 4
br label %39
39: ; preds = %38, %37
%40 = load i32, ptr %5, align 4
ret i32 %40
}
declare i64 @fprintf(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/tmptma2hyio.c'
source_filename = "/tmp/tmptma2hyio.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fstp_preg64_qword(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @put8(i32 noundef 221)
%4 = load i32, ptr %2, align 4
%5 = add nsw i32 24, %4
%6 = call i32 @put8(i32 noundef %5)
ret void
}
declare i32 @put8(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/tmptma2hyio.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fstp_preg64_qword(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @put8(i32 noundef 221)
%4 = load i32, ptr %2, align 4
%5 = add nsw i32 24, %4
%6 = call i32 @put8(i32 noundef %5)
ret void
}
declare i32 @put8(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/tmpvj7wu_lt.c'
source_filename = "/tmp/tmpvj7wu_lt.c"
target datalayout = "e-m:e-p270: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/tmpvj7wu_lt.c"
target datalayout = "e-m:e-p270: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/tmpu7s6ddiv.c'
source_filename = "/tmp/tmpu7s6ddiv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"read fail\0A\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"write fail\0A\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"close fail\0A\00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c"err_big_fd: FAIL\0A\00", align 1
@.str.4 = private unnamed_addr constant [18 x i8] c"err_big_fd: PASS\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @err_big_fd() #0 {
%1 = alloca [32 x i32], align 16
%2 = alloca i32, align 4
store i32 0, ptr %2, align 4
%3 = getelementptr inbounds [32 x i32], ptr %1, i64 0, i64 0
%4 = call i32 @ece391_read(i32 noundef 1073741823, ptr noundef %3, i32 noundef 31)
%5 = icmp ne i32 -1, %4
br i1 %5, label %6, label %8
6: ; preds = %0
store i32 2, ptr %2, align 4
%7 = call i32 @ece391_fdputs(i32 noundef 1, ptr noundef @.str)
br label %8
8: ; preds = %6, %0
%9 = getelementptr inbounds [32 x i32], ptr %1, i64 0, i64 0
%10 = call i32 @ece391_write(i32 noundef 1073741823, ptr noundef %9, i32 noundef 31)
%11 = icmp ne i32 -1, %10
br i1 %11, label %12, label %14
12: ; preds = %8
store i32 2, ptr %2, align 4
%13 = call i32 @ece391_fdputs(i32 noundef 1, ptr noundef @.str.1)
br label %14
14: ; preds = %12, %8
%15 = call i32 @ece391_close(i32 noundef 1073741823)
%16 = icmp ne i32 -1, %15
br i1 %16, label %17, label %19
17: ; preds = %14
store i32 2, ptr %2, align 4
%18 = call i32 @ece391_fdputs(i32 noundef 1, ptr noundef @.str.2)
br label %19
19: ; preds = %17, %14
%20 = load i32, ptr %2, align 4
%21 = icmp ne i32 %20, 0
br i1 %21, label %22, label %24
22: ; preds = %19
%23 = call i32 @ece391_fdputs(i32 noundef 1, ptr noundef @.str.3)
br label %26
24: ; preds = %19
%25 = call i32 @ece391_fdputs(i32 noundef 1, ptr noundef @.str.4)
br label %26
26: ; preds = %24, %22
%27 = load i32, ptr %2, align 4
ret i32 %27
}
declare i32 @ece391_read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @ece391_fdputs(i32 noundef, ptr noundef) #1
declare i32 @ece391_write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @ece391_close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpu7s6ddiv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"read fail\0A\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"write fail\0A\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"close fail\0A\00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c"err_big_fd: FAIL\0A\00", align 1
@.str.4 = private unnamed_addr constant [18 x i8] c"err_big_fd: PASS\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @err_big_fd() #0 {
%1 = alloca [32 x i32], align 16
%2 = alloca i32, align 4
store i32 0, ptr %2, align 4
%3 = getelementptr inbounds [32 x i32], ptr %1, i64 0, i64 0
%4 = call i32 @ece391_read(i32 noundef 1073741823, ptr noundef %3, i32 noundef 31)
%5 = icmp ne i32 -1, %4
br i1 %5, label %6, label %8
6: ; preds = %0
store i32 2, ptr %2, align 4
%7 = call i32 @ece391_fdputs(i32 noundef 1, ptr noundef @.str)
br label %8
8: ; preds = %6, %0
%9 = getelementptr inbounds [32 x i32], ptr %1, i64 0, i64 0
%10 = call i32 @ece391_write(i32 noundef 1073741823, ptr noundef %9, i32 noundef 31)
%11 = icmp ne i32 -1, %10
br i1 %11, label %12, label %14
12: ; preds = %8
store i32 2, ptr %2, align 4
%13 = call i32 @ece391_fdputs(i32 noundef 1, ptr noundef @.str.1)
br label %14
14: ; preds = %12, %8
%15 = call i32 @ece391_close(i32 noundef 1073741823)
%16 = icmp ne i32 -1, %15
br i1 %16, label %17, label %19
17: ; preds = %14
store i32 2, ptr %2, align 4
%18 = call i32 @ece391_fdputs(i32 noundef 1, ptr noundef @.str.2)
br label %19
19: ; preds = %17, %14
%20 = load i32, ptr %2, align 4
%21 = icmp ne i32 %20, 0
br i1 %21, label %22, label %24
22: ; preds = %19
%23 = call i32 @ece391_fdputs(i32 noundef 1, ptr noundef @.str.3)
br label %26
24: ; preds = %19
%25 = call i32 @ece391_fdputs(i32 noundef 1, ptr noundef @.str.4)
br label %26
26: ; preds = %24, %22
%27 = load i32, ptr %2, align 4
ret i32 %27
}
declare i32 @ece391_read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @ece391_fdputs(i32 noundef, ptr noundef) #1
declare i32 @ece391_write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @ece391_close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpaktkrxtf.c'
source_filename = "/tmp/tmpaktkrxtf.c"
target datalayout = "e-m:e-p270: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/tmpaktkrxtf.c"
target datalayout = "e-m:e-p270: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/tmpsmrqzhx1.c'
source_filename = "/tmp/tmpsmrqzhx1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [45 x i8] c"adoftp - anonymous download-only FTP server\0A\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"option:\0A\00", align 1
@.str.2 = private unnamed_addr constant [71 x i8] c" -p port starts listening on the specified port (default 21)\0A\00", align 1
@.str.3 = private unnamed_addr constant [43 x i8] c" -h prints help (this info)\0A\00", align 1
@.str.4 = private unnamed_addr constant [73 x i8] c" -s ip listens on the specified IP address (default 0.0.0.0)\0A\00", align 1
@.str.5 = private unnamed_addr constant [70 x i8] c" -d dir uses the specified directory as the base directory\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @help() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
%6 = call i32 @printf(ptr noundef @.str.5)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsmrqzhx1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [45 x i8] c"adoftp - anonymous download-only FTP server\0A\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"option:\0A\00", align 1
@.str.2 = private unnamed_addr constant [71 x i8] c" -p port starts listening on the specified port (default 21)\0A\00", align 1
@.str.3 = private unnamed_addr constant [43 x i8] c" -h prints help (this info)\0A\00", align 1
@.str.4 = private unnamed_addr constant [73 x i8] c" -s ip listens on the specified IP address (default 0.0.0.0)\0A\00", align 1
@.str.5 = private unnamed_addr constant [70 x i8] c" -d dir uses the specified directory as the base directory\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @help() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
%6 = call i32 @printf(ptr noundef @.str.5)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpynp4i_5u.c'
source_filename = "/tmp/tmpynp4i_5u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @I2CSlaveIntClear(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = call i32 @I2CSlaveBaseValid(i64 noundef %3)
%5 = call i32 @DEBUG_ASSERT(i32 noundef %4)
%6 = load i64, ptr %2, align 8
%7 = add i64 %6, 24
%8 = inttoptr i64 %7 to ptr
store volatile i64 1, ptr %8, align 8
ret void
}
declare i32 @DEBUG_ASSERT(i32 noundef) #1
declare i32 @I2CSlaveBaseValid(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/tmpynp4i_5u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @I2CSlaveIntClear(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = call i32 @I2CSlaveBaseValid(i64 noundef %3)
%5 = call i32 @DEBUG_ASSERT(i32 noundef %4)
%6 = load i64, ptr %2, align 8
%7 = add i64 %6, 24
%8 = inttoptr i64 %7 to ptr
store volatile i64 1, ptr %8, align 8
ret void
}
declare i32 @DEBUG_ASSERT(i32 noundef) #1
declare i32 @I2CSlaveBaseValid(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/tmpxjv9e_u7.c'
source_filename = "/tmp/tmpxjv9e_u7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i32, i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @CSLP_PollChar() #0 {
%1 = alloca i32, align 4
%2 = alloca %struct.timeval, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memset.p0.i64(ptr align 4 %2, i8 0, i64 8, i1 false)
%4 = call i32 @FD_ZERO(ptr noundef %3)
%5 = call i32 @FD_SET(i32 noundef 0, ptr noundef %3)
%6 = call i32 @select(i32 noundef 1, ptr noundef %3, ptr noundef null, ptr noundef null, ptr noundef %2)
store i32 %6, ptr %1, align 4
%7 = load i32, ptr %1, align 4
ret i32 %7
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @FD_ZERO(ptr noundef) #2
declare i32 @FD_SET(i32 noundef, ptr noundef) #2
declare i32 @select(i32 noundef, ptr noundef, ptr noundef, ptr 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: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxjv9e_u7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i32, i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @CSLP_PollChar() #0 {
%1 = alloca i32, align 4
%2 = alloca %struct.timeval, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memset.p0.i64(ptr align 4 %2, i8 0, i64 8, i1 false)
%4 = call i32 @FD_ZERO(ptr noundef %3)
%5 = call i32 @FD_SET(i32 noundef 0, ptr noundef %3)
%6 = call i32 @select(i32 noundef 1, ptr noundef %3, ptr noundef null, ptr noundef null, ptr noundef %2)
store i32 %6, ptr %1, align 4
%7 = load i32, ptr %1, align 4
ret i32 %7
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @FD_ZERO(ptr noundef) #2
declare i32 @FD_SET(i32 noundef, ptr noundef) #2
declare i32 @select(i32 noundef, ptr noundef, ptr noundef, ptr 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: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6t_ky9un.c'
source_filename = "/tmp/tmp6t_ky9un.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_PACKET = dso_local global i32 0, align 4
@SOCK_RAW = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [14 x i8] c"socket error\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @create_socket() #0 {
%1 = alloca i32, align 4
%2 = load i32, ptr @AF_PACKET, align 4
%3 = load i32, ptr @SOCK_RAW, align 4
%4 = call i32 @htons(i32 noundef 2054)
%5 = call i32 @socket(i32 noundef %2, i32 noundef %3, i32 noundef %4)
store i32 %5, ptr %1, align 4
%6 = load i32, ptr %1, align 4
%7 = icmp eq i32 %6, -1
br i1 %7, label %8, label %10
8: ; preds = %0
%9 = call i32 @printf(ptr noundef @.str)
br label %10
10: ; preds = %8, %0
%11 = load i32, ptr %1, align 4
ret i32 %11
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6t_ky9un.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_PACKET = dso_local global i32 0, align 4
@SOCK_RAW = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [14 x i8] c"socket error\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @create_socket() #0 {
%1 = alloca i32, align 4
%2 = load i32, ptr @AF_PACKET, align 4
%3 = load i32, ptr @SOCK_RAW, align 4
%4 = call i32 @htons(i32 noundef 2054)
%5 = call i32 @socket(i32 noundef %2, i32 noundef %3, i32 noundef %4)
store i32 %5, ptr %1, align 4
%6 = load i32, ptr %1, align 4
%7 = icmp eq i32 %6, -1
br i1 %7, label %8, label %10
8: ; preds = %0
%9 = call i32 @printf(ptr noundef @.str)
br label %10
10: ; preds = %8, %0
%11 = load i32, ptr %1, align 4
ret i32 %11
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnep6dk0q.c'
source_filename = "/tmp/tmpnep6dk0q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stage_cu() #0 {
%1 = call i32 @Xil_Out32(i32 noundef 1342181380, i32 noundef 0)
%2 = call i32 @Xil_Out32(i32 noundef 1342181376, i32 noundef -2146958071)
%3 = call i32 @Xil_Out32(i32 noundef 1342181380, i32 noundef 4)
%4 = call i32 @Xil_Out32(i32 noundef 1342181376, i32 noundef -1082064896)
%5 = call i32 @Xil_Out32(i32 noundef 1342185476, i32 noundef 0)
%6 = call i32 @Xil_Out32(i32 noundef 1342185480, i32 noundef 25)
%7 = call i32 @Xil_Out32(i32 noundef 1342185484, i32 noundef 45)
%8 = call i32 @Xil_Out32(i32 noundef 1342185488, i32 noundef 0)
%9 = call i32 @Xil_Out32(i32 noundef 1342185492, i32 noundef 17)
%10 = call i32 @Xil_Out32(i32 noundef 1342185472, i32 noundef 1)
%11 = call i32 @Xil_Out32(i32 noundef 1342185476, i32 noundef 16)
%12 = call i32 @Xil_Out32(i32 noundef 1342185480, i32 noundef 30)
%13 = call i32 @Xil_Out32(i32 noundef 1342185484, i32 noundef 18)
%14 = call i32 @Xil_Out32(i32 noundef 1342185488, i32 noundef 31)
%15 = call i32 @Xil_Out32(i32 noundef 1342185492, i32 noundef 43)
%16 = call i32 @Xil_Out32(i32 noundef 1342185472, i32 noundef 1)
%17 = call i32 @Xil_Out32(i32 noundef 1342185476, i32 noundef 32)
%18 = call i32 @Xil_Out32(i32 noundef 1342185480, i32 noundef 18)
%19 = call i32 @Xil_Out32(i32 noundef 1342185484, i32 noundef 11)
%20 = call i32 @Xil_Out32(i32 noundef 1342185488, i32 noundef 0)
%21 = call i32 @Xil_Out32(i32 noundef 1342185492, i32 noundef 0)
%22 = call i32 @Xil_Out32(i32 noundef 1342185472, i32 noundef 1)
ret void
}
declare i32 @Xil_Out32(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/tmpnep6dk0q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stage_cu() #0 {
%1 = call i32 @Xil_Out32(i32 noundef 1342181380, i32 noundef 0)
%2 = call i32 @Xil_Out32(i32 noundef 1342181376, i32 noundef -2146958071)
%3 = call i32 @Xil_Out32(i32 noundef 1342181380, i32 noundef 4)
%4 = call i32 @Xil_Out32(i32 noundef 1342181376, i32 noundef -1082064896)
%5 = call i32 @Xil_Out32(i32 noundef 1342185476, i32 noundef 0)
%6 = call i32 @Xil_Out32(i32 noundef 1342185480, i32 noundef 25)
%7 = call i32 @Xil_Out32(i32 noundef 1342185484, i32 noundef 45)
%8 = call i32 @Xil_Out32(i32 noundef 1342185488, i32 noundef 0)
%9 = call i32 @Xil_Out32(i32 noundef 1342185492, i32 noundef 17)
%10 = call i32 @Xil_Out32(i32 noundef 1342185472, i32 noundef 1)
%11 = call i32 @Xil_Out32(i32 noundef 1342185476, i32 noundef 16)
%12 = call i32 @Xil_Out32(i32 noundef 1342185480, i32 noundef 30)
%13 = call i32 @Xil_Out32(i32 noundef 1342185484, i32 noundef 18)
%14 = call i32 @Xil_Out32(i32 noundef 1342185488, i32 noundef 31)
%15 = call i32 @Xil_Out32(i32 noundef 1342185492, i32 noundef 43)
%16 = call i32 @Xil_Out32(i32 noundef 1342185472, i32 noundef 1)
%17 = call i32 @Xil_Out32(i32 noundef 1342185476, i32 noundef 32)
%18 = call i32 @Xil_Out32(i32 noundef 1342185480, i32 noundef 18)
%19 = call i32 @Xil_Out32(i32 noundef 1342185484, i32 noundef 11)
%20 = call i32 @Xil_Out32(i32 noundef 1342185488, i32 noundef 0)
%21 = call i32 @Xil_Out32(i32 noundef 1342185492, i32 noundef 0)
%22 = call i32 @Xil_Out32(i32 noundef 1342185472, i32 noundef 1)
ret void
}
declare i32 @Xil_Out32(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/tmplwulls1x.c'
source_filename = "/tmp/tmplwulls1x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"Hello, PaperHouse!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @hello() #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/tmplwulls1x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"Hello, PaperHouse!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @hello() #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/tmptmn22bty.c'
source_filename = "/tmp/tmptmn22bty.c"
target datalayout = "e-m:e-p270: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.v4l2_framebuffer = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca %struct.v4l2_framebuffer, align 4
store i32 0, ptr %1, align 4
ret i32 4
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptmn22bty.c"
target datalayout = "e-m:e-p270: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.v4l2_framebuffer = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca %struct.v4l2_framebuffer, align 4
store i32 0, ptr %1, align 4
ret i32 4
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpoh4fmzbb.c'
source_filename = "/tmp/tmpoh4fmzbb.c"
target datalayout = "e-m:e-p270: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/tmpoh4fmzbb.c"
target datalayout = "e-m:e-p270: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/tmpyu4kwwk8.c'
source_filename = "/tmp/tmpyu4kwwk8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @setPassword(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 @spw(ptr noundef %3)
ret i32 %4
}
declare i32 @spw(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyu4kwwk8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @setPassword(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 @spw(ptr noundef %3)
ret i32 %4
}
declare i32 @spw(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvrwmg_xd.c'
source_filename = "/tmp/tmpvrwmg_xd.c"
target datalayout = "e-m:e-p270: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/tmpvrwmg_xd.c"
target datalayout = "e-m:e-p270: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/tmp24nv350t.c'
source_filename = "/tmp/tmp24nv350t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ems_eload_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5, i32 noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca [201 x i8], align 16
%16 = alloca [201 x i8], align 16
store ptr %0, ptr %8, align 8
store ptr %1, ptr %9, align 8
store ptr %2, ptr %10, align 8
store ptr %3, ptr %11, align 8
store ptr %4, ptr %12, align 8
store i32 %5, ptr %13, align 4
store i32 %6, ptr %14, align 4
%17 = getelementptr inbounds [201 x i8], ptr %15, i64 0, i64 0
%18 = load ptr, ptr %9, align 8
%19 = getelementptr inbounds [201 x i8], ptr %16, i64 0, i64 0
%20 = load ptr, ptr %11, align 8
%21 = load ptr, ptr %12, align 8
%22 = call i32 @emsEload(ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21)
%23 = getelementptr inbounds [201 x i8], ptr %15, i64 0, i64 0
%24 = load ptr, ptr %8, align 8
%25 = load i32, ptr %13, align 4
%26 = call i32 @cnfExprt(ptr noundef %23, ptr noundef %24, i32 noundef %25)
%27 = getelementptr inbounds [201 x i8], ptr %16, i64 0, i64 0
%28 = load ptr, ptr %10, align 8
%29 = load i32, ptr %14, align 4
%30 = call i32 @cnfExprt(ptr noundef %27, ptr noundef %28, i32 noundef %29)
ret void
}
declare i32 @emsEload(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @cnfExprt(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/tmp24nv350t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ems_eload_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5, i32 noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca [201 x i8], align 16
%16 = alloca [201 x i8], align 16
store ptr %0, ptr %8, align 8
store ptr %1, ptr %9, align 8
store ptr %2, ptr %10, align 8
store ptr %3, ptr %11, align 8
store ptr %4, ptr %12, align 8
store i32 %5, ptr %13, align 4
store i32 %6, ptr %14, align 4
%17 = getelementptr inbounds [201 x i8], ptr %15, i64 0, i64 0
%18 = load ptr, ptr %9, align 8
%19 = getelementptr inbounds [201 x i8], ptr %16, i64 0, i64 0
%20 = load ptr, ptr %11, align 8
%21 = load ptr, ptr %12, align 8
%22 = call i32 @emsEload(ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21)
%23 = getelementptr inbounds [201 x i8], ptr %15, i64 0, i64 0
%24 = load ptr, ptr %8, align 8
%25 = load i32, ptr %13, align 4
%26 = call i32 @cnfExprt(ptr noundef %23, ptr noundef %24, i32 noundef %25)
%27 = getelementptr inbounds [201 x i8], ptr %16, i64 0, i64 0
%28 = load ptr, ptr %10, align 8
%29 = load i32, ptr %14, align 4
%30 = call i32 @cnfExprt(ptr noundef %27, ptr noundef %28, i32 noundef %29)
ret void
}
declare i32 @emsEload(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @cnfExprt(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/tmpssthrqtv.c'
source_filename = "/tmp/tmpssthrqtv.c"
target datalayout = "e-m:e-p270: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/tmpssthrqtv.c"
target datalayout = "e-m:e-p270: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/tmpuxgdmm2t.c'
source_filename = "/tmp/tmpuxgdmm2t.c"
target datalayout = "e-m:e-p270: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 [32 x i8] c"Falso compressor em arquivo CM\0A\00", align 1
@.str.1 = private unnamed_addr constant [45 x i8] c"(C) 2011-05 RodolfoRG <[email protected]>\0A\00", align 1
@.str.2 = private unnamed_addr constant [34 x i8] c"Uso: %s ArquivoUCM NovoArquivoCM\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [24 x i8] c"Ao carregar arquivo %s\0A\00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"Raz\C3\A3o\00", align 1
@.str.5 = private unnamed_addr constant [12 x i8] c"Alocando CM\00", align 1
@.str.6 = private unnamed_addr constant [27 x i8] c"Problemas ao salvar em %s\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
%10 = 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
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %11, 3
br i1 %12, label %13, label %25
13: ; preds = %2
%14 = load i32, ptr @stderr, align 4
%15 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %14, ptr noundef @.str)
%16 = load i32, ptr @stderr, align 4
%17 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %16, ptr noundef @.str.1)
%18 = load i32, ptr @stderr, align 4
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 0
%21 = load ptr, ptr %20, align 8
%22 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %18, ptr noundef @.str.2, ptr noundef %21)
%23 = load i32, ptr @EXIT_FAILURE, align 4
%24 = call i32 @exit(i32 noundef %23) #3
unreachable
25: ; preds = %2
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds ptr, ptr %26, i64 1
%28 = load ptr, ptr %27, align 8
store ptr %28, ptr %6, align 8
%29 = load ptr, ptr %5, align 8
%30 = getelementptr inbounds ptr, ptr %29, i64 2
%31 = load ptr, ptr %30, align 8
store ptr %31, ptr %7, align 8
store i64 0, ptr %8, align 8
%32 = load ptr, ptr %6, align 8
%33 = call ptr @carrega_arquivo(ptr noundef %32, ptr noundef %8)
store ptr %33, ptr %9, align 8
%34 = load ptr, ptr %9, align 8
%35 = icmp eq ptr %34, null
br i1 %35, label %36, label %43
36: ; preds = %25
%37 = load i32, ptr @stderr, align 4
%38 = load ptr, ptr %6, align 8
%39 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %37, ptr noundef @.str.3, ptr noundef %38)
%40 = call i32 @perror(ptr noundef @.str.4)
%41 = load i32, ptr @EXIT_FAILURE, align 4
%42 = call i32 @exit(i32 noundef %41) #3
unreachable
43: ; preds = %25
%44 = load i64, ptr %8, align 8
%45 = add i64 %44, 2
%46 = add i64 %45, 4
%47 = add i64 %46, 4
%48 = load i64, ptr %8, align 8
%49 = udiv i64 %48, 8
%50 = add i64 %47, %49
%51 = call ptr @malloc(i64 noundef %50)
store ptr %51, ptr %10, align 8
%52 = load ptr, ptr %10, align 8
%53 = icmp eq ptr %52, null
br i1 %53, label %54, label %60
54: ; preds = %43
%55 = call i32 @perror(ptr noundef @.str.5)
%56 = load ptr, ptr %9, align 8
%57 = call i32 @free(ptr noundef %56)
%58 = load i32, ptr @EXIT_FAILURE, align 4
%59 = call i32 @exit(i32 noundef %58) #3
unreachable
60: ; preds = %43
%61 = load ptr, ptr %10, align 8
%62 = getelementptr inbounds i8, ptr %61, i64 0
store i8 67, ptr %62, align 1
%63 = load ptr, ptr %10, align 8
%64 = getelementptr inbounds i8, ptr %63, i64 1
store i8 77, ptr %64, align 1
%65 = load i64, ptr %8, align 8
%66 = and i64 %65, 255
%67 = trunc i64 %66 to i8
%68 = load ptr, ptr %10, align 8
%69 = getelementptr inbounds i8, ptr %68, i64 2
store i8 %67, ptr %69, align 1
%70 = load i64, ptr %8, align 8
%71 = lshr i64 %70, 8
%72 = and i64 %71, 255
%73 = trunc i64 %72 to i8
%74 = load ptr, ptr %10, align 8
%75 = getelementptr inbounds i8, ptr %74, i64 3
store i8 %73, ptr %75, align 1
%76 = load i64, ptr %8, align 8
%77 = lshr i64 %76, 16
%78 = and i64 %77, 255
%79 = trunc i64 %78 to i8
%80 = load ptr, ptr %10, align 8
%81 = getelementptr inbounds i8, ptr %80, i64 4
store i8 %79, ptr %81, align 1
%82 = load i64, ptr %8, align 8
%83 = lshr i64 %82, 24
%84 = and i64 %83, 255
%85 = trunc i64 %84 to i8
%86 = load ptr, ptr %10, align 8
%87 = getelementptr inbounds i8, ptr %86, i64 5
store i8 %85, ptr %87, align 1
%88 = load i64, ptr %8, align 8
%89 = and i64 %88, 255
%90 = trunc i64 %89 to i8
%91 = load ptr, ptr %10, align 8
%92 = getelementptr inbounds i8, ptr %91, i64 6
store i8 %90, ptr %92, align 1
%93 = load i64, ptr %8, align 8
%94 = lshr i64 %93, 8
%95 = and i64 %94, 255
%96 = trunc i64 %95 to i8
%97 = load ptr, ptr %10, align 8
%98 = getelementptr inbounds i8, ptr %97, i64 7
store i8 %96, ptr %98, align 1
%99 = load i64, ptr %8, align 8
%100 = lshr i64 %99, 16
%101 = and i64 %100, 255
%102 = trunc i64 %101 to i8
%103 = load ptr, ptr %10, align 8
%104 = getelementptr inbounds i8, ptr %103, i64 8
store i8 %102, ptr %104, align 1
%105 = load i64, ptr %8, align 8
%106 = lshr i64 %105, 24
%107 = and i64 %106, 255
%108 = trunc i64 %107 to i8
%109 = load ptr, ptr %10, align 8
%110 = getelementptr inbounds i8, ptr %109, i64 9
store i8 %108, ptr %110, align 1
%111 = load ptr, ptr %10, align 8
%112 = getelementptr inbounds i8, ptr %111, i64 10
%113 = load ptr, ptr %9, align 8
%114 = load i64, ptr %8, align 8
%115 = call i32 @memcpy(ptr noundef %112, ptr noundef %113, i64 noundef %114)
%116 = load ptr, ptr %9, align 8
%117 = call i32 @free(ptr noundef %116)
%118 = load ptr, ptr %10, align 8
%119 = load i64, ptr %8, align 8
%120 = add i64 10, %119
%121 = getelementptr inbounds i8, ptr %118, i64 %120
%122 = load i64, ptr %8, align 8
%123 = udiv i64 %122, 8
%124 = call i32 @memset(ptr noundef %121, i32 noundef 0, i64 noundef %123)
%125 = load ptr, ptr %7, align 8
%126 = load ptr, ptr %10, align 8
%127 = load i64, ptr %8, align 8
%128 = add i64 %127, 2
%129 = add i64 %128, 4
%130 = add i64 %129, 4
%131 = load i64, ptr %8, align 8
%132 = udiv i64 %131, 8
%133 = add i64 %130, %132
%134 = call i32 @salva_arquivo(ptr noundef %125, ptr noundef %126, i64 noundef %133)
%135 = icmp ne i32 %134, 0
br i1 %135, label %143, label %136
136: ; preds = %60
%137 = load i32, ptr @stderr, align 4
%138 = load ptr, ptr %7, align 8
%139 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %137, ptr noundef @.str.6, ptr noundef %138)
%140 = call i32 @perror(ptr noundef @.str.4)
%141 = load ptr, ptr %10, align 8
%142 = call i32 @free(ptr noundef %141)
br label %143
143: ; preds = %136, %60
%144 = load i32, ptr @EXIT_SUCCESS, align 4
%145 = call i32 @exit(i32 noundef %144) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @carrega_arquivo(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare ptr @malloc(i64 noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) #1
declare i32 @salva_arquivo(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpuxgdmm2t.c"
target datalayout = "e-m:e-p270: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 [32 x i8] c"Falso compressor em arquivo CM\0A\00", align 1
@.str.1 = private unnamed_addr constant [45 x i8] c"(C) 2011-05 RodolfoRG <[email protected]>\0A\00", align 1
@.str.2 = private unnamed_addr constant [34 x i8] c"Uso: %s ArquivoUCM NovoArquivoCM\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [24 x i8] c"Ao carregar arquivo %s\0A\00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"Raz\C3\A3o\00", align 1
@.str.5 = private unnamed_addr constant [12 x i8] c"Alocando CM\00", align 1
@.str.6 = private unnamed_addr constant [27 x i8] c"Problemas ao salvar em %s\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
%10 = 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
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %11, 3
br i1 %12, label %13, label %25
13: ; preds = %2
%14 = load i32, ptr @stderr, align 4
%15 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %14, ptr noundef @.str)
%16 = load i32, ptr @stderr, align 4
%17 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %16, ptr noundef @.str.1)
%18 = load i32, ptr @stderr, align 4
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 0
%21 = load ptr, ptr %20, align 8
%22 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %18, ptr noundef @.str.2, ptr noundef %21)
%23 = load i32, ptr @EXIT_FAILURE, align 4
%24 = call i32 @exit(i32 noundef %23) #3
unreachable
25: ; preds = %2
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds ptr, ptr %26, i64 1
%28 = load ptr, ptr %27, align 8
store ptr %28, ptr %6, align 8
%29 = load ptr, ptr %5, align 8
%30 = getelementptr inbounds ptr, ptr %29, i64 2
%31 = load ptr, ptr %30, align 8
store ptr %31, ptr %7, align 8
store i64 0, ptr %8, align 8
%32 = load ptr, ptr %6, align 8
%33 = call ptr @carrega_arquivo(ptr noundef %32, ptr noundef %8)
store ptr %33, ptr %9, align 8
%34 = load ptr, ptr %9, align 8
%35 = icmp eq ptr %34, null
br i1 %35, label %36, label %43
36: ; preds = %25
%37 = load i32, ptr @stderr, align 4
%38 = load ptr, ptr %6, align 8
%39 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %37, ptr noundef @.str.3, ptr noundef %38)
%40 = call i32 @perror(ptr noundef @.str.4)
%41 = load i32, ptr @EXIT_FAILURE, align 4
%42 = call i32 @exit(i32 noundef %41) #3
unreachable
43: ; preds = %25
%44 = load i64, ptr %8, align 8
%45 = add i64 %44, 2
%46 = add i64 %45, 4
%47 = add i64 %46, 4
%48 = load i64, ptr %8, align 8
%49 = udiv i64 %48, 8
%50 = add i64 %47, %49
%51 = call ptr @malloc(i64 noundef %50)
store ptr %51, ptr %10, align 8
%52 = load ptr, ptr %10, align 8
%53 = icmp eq ptr %52, null
br i1 %53, label %54, label %60
54: ; preds = %43
%55 = call i32 @perror(ptr noundef @.str.5)
%56 = load ptr, ptr %9, align 8
%57 = call i32 @free(ptr noundef %56)
%58 = load i32, ptr @EXIT_FAILURE, align 4
%59 = call i32 @exit(i32 noundef %58) #3
unreachable
60: ; preds = %43
%61 = load ptr, ptr %10, align 8
%62 = getelementptr inbounds i8, ptr %61, i64 0
store i8 67, ptr %62, align 1
%63 = load ptr, ptr %10, align 8
%64 = getelementptr inbounds i8, ptr %63, i64 1
store i8 77, ptr %64, align 1
%65 = load i64, ptr %8, align 8
%66 = and i64 %65, 255
%67 = trunc i64 %66 to i8
%68 = load ptr, ptr %10, align 8
%69 = getelementptr inbounds i8, ptr %68, i64 2
store i8 %67, ptr %69, align 1
%70 = load i64, ptr %8, align 8
%71 = lshr i64 %70, 8
%72 = and i64 %71, 255
%73 = trunc i64 %72 to i8
%74 = load ptr, ptr %10, align 8
%75 = getelementptr inbounds i8, ptr %74, i64 3
store i8 %73, ptr %75, align 1
%76 = load i64, ptr %8, align 8
%77 = lshr i64 %76, 16
%78 = and i64 %77, 255
%79 = trunc i64 %78 to i8
%80 = load ptr, ptr %10, align 8
%81 = getelementptr inbounds i8, ptr %80, i64 4
store i8 %79, ptr %81, align 1
%82 = load i64, ptr %8, align 8
%83 = lshr i64 %82, 24
%84 = and i64 %83, 255
%85 = trunc i64 %84 to i8
%86 = load ptr, ptr %10, align 8
%87 = getelementptr inbounds i8, ptr %86, i64 5
store i8 %85, ptr %87, align 1
%88 = load i64, ptr %8, align 8
%89 = and i64 %88, 255
%90 = trunc i64 %89 to i8
%91 = load ptr, ptr %10, align 8
%92 = getelementptr inbounds i8, ptr %91, i64 6
store i8 %90, ptr %92, align 1
%93 = load i64, ptr %8, align 8
%94 = lshr i64 %93, 8
%95 = and i64 %94, 255
%96 = trunc i64 %95 to i8
%97 = load ptr, ptr %10, align 8
%98 = getelementptr inbounds i8, ptr %97, i64 7
store i8 %96, ptr %98, align 1
%99 = load i64, ptr %8, align 8
%100 = lshr i64 %99, 16
%101 = and i64 %100, 255
%102 = trunc i64 %101 to i8
%103 = load ptr, ptr %10, align 8
%104 = getelementptr inbounds i8, ptr %103, i64 8
store i8 %102, ptr %104, align 1
%105 = load i64, ptr %8, align 8
%106 = lshr i64 %105, 24
%107 = and i64 %106, 255
%108 = trunc i64 %107 to i8
%109 = load ptr, ptr %10, align 8
%110 = getelementptr inbounds i8, ptr %109, i64 9
store i8 %108, ptr %110, align 1
%111 = load ptr, ptr %10, align 8
%112 = getelementptr inbounds i8, ptr %111, i64 10
%113 = load ptr, ptr %9, align 8
%114 = load i64, ptr %8, align 8
%115 = call i32 @memcpy(ptr noundef %112, ptr noundef %113, i64 noundef %114)
%116 = load ptr, ptr %9, align 8
%117 = call i32 @free(ptr noundef %116)
%118 = load ptr, ptr %10, align 8
%119 = load i64, ptr %8, align 8
%120 = add i64 10, %119
%121 = getelementptr inbounds i8, ptr %118, i64 %120
%122 = load i64, ptr %8, align 8
%123 = udiv i64 %122, 8
%124 = call i32 @memset(ptr noundef %121, i32 noundef 0, i64 noundef %123)
%125 = load ptr, ptr %7, align 8
%126 = load ptr, ptr %10, align 8
%127 = load i64, ptr %8, align 8
%128 = add i64 %127, 2
%129 = add i64 %128, 4
%130 = add i64 %129, 4
%131 = load i64, ptr %8, align 8
%132 = udiv i64 %131, 8
%133 = add i64 %130, %132
%134 = call i32 @salva_arquivo(ptr noundef %125, ptr noundef %126, i64 noundef %133)
%135 = icmp ne i32 %134, 0
br i1 %135, label %143, label %136
136: ; preds = %60
%137 = load i32, ptr @stderr, align 4
%138 = load ptr, ptr %7, align 8
%139 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %137, ptr noundef @.str.6, ptr noundef %138)
%140 = call i32 @perror(ptr noundef @.str.4)
%141 = load ptr, ptr %10, align 8
%142 = call i32 @free(ptr noundef %141)
br label %143
143: ; preds = %136, %60
%144 = load i32, ptr @EXIT_SUCCESS, align 4
%145 = call i32 @exit(i32 noundef %144) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @carrega_arquivo(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare ptr @malloc(i64 noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) #1
declare i32 @salva_arquivo(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpf5cw5wc3.c'
source_filename = "/tmp/tmpf5cw5wc3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tauint_to_tauexp(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %2, align 8
%5 = load double, ptr %2, align 8
%6 = call double @tauint_to_eta(double noundef %5)
store double %6, ptr %3, align 8
%7 = load double, ptr %3, align 8
%8 = call double @log(double noundef %7) #3
%9 = fdiv double -1.000000e+00, %8
store double %9, ptr %4, align 8
%10 = load double, ptr %4, align 8
ret double %10
}
declare double @tauint_to_eta(double noundef) #1
; Function Attrs: nounwind
declare double @log(double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpf5cw5wc3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tauint_to_tauexp(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %2, align 8
%5 = load double, ptr %2, align 8
%6 = call double @tauint_to_eta(double noundef %5)
store double %6, ptr %3, align 8
%7 = load double, ptr %3, align 8
%8 = call double @log(double noundef %7) #3
%9 = fdiv double -1.000000e+00, %8
store double %9, ptr %4, align 8
%10 = load double, ptr %4, align 8
ret double %10
}
declare double @tauint_to_eta(double noundef) #1
; Function Attrs: nounwind
declare double @log(double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfta6352j.c'
source_filename = "/tmp/tmpfta6352j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SOL_SOCKET = dso_local global i32 0, align 4
@SO_RCVBUF = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfta6352j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SOL_SOCKET = dso_local global i32 0, align 4
@SO_RCVBUF = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp517iht9z.c'
source_filename = "/tmp/tmp517iht9z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [100 x i32], align 16
%3 = alloca [100 x i32], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %7, align 4
%9 = call i32 @scanf(ptr noundef @.str, ptr noundef %6)
store i32 0, ptr %4, align 4
br label %10
10: ; preds = %44, %0
%11 = load i32, ptr %4, align 4
%12 = load i32, ptr %6, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %47
14: ; preds = %10
%15 = call i32 @scanf(ptr noundef @.str, ptr noundef %8)
store i32 1, ptr %7, align 4
store i32 1, ptr %5, align 4
br label %16
16: ; preds = %38, %14
%17 = load i32, ptr %5, align 4
%18 = load i32, ptr %8, align 4
%19 = icmp sle i32 %17, %18
br i1 %19, label %20, label %41
20: ; preds = %16
%21 = load i32, ptr %8, align 4
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %26
23: ; preds = %20
%24 = load i32, ptr %7, align 4
%25 = call i32 @printf(ptr noundef @.str.1, i32 noundef %24)
br label %41
26: ; preds = %20
%27 = load i32, ptr %5, align 4
%28 = srem i32 %27, 2
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %33
30: ; preds = %26
%31 = load i32, ptr %7, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %7, align 4
br label %36
33: ; preds = %26
%34 = load i32, ptr %7, align 4
%35 = mul nsw i32 %34, 2
store i32 %35, ptr %7, align 4
br label %36
36: ; preds = %33, %30
br label %37
37: ; preds = %36
br label %38
38: ; preds = %37
%39 = load i32, ptr %5, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %5, align 4
br label %16, !llvm.loop !6
41: ; preds = %23, %16
%42 = load i32, ptr %7, align 4
%43 = call i32 @printf(ptr noundef @.str.1, i32 noundef %42)
br label %44
44: ; preds = %41
%45 = load i32, ptr %4, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %4, align 4
br label %10, !llvm.loop !8
47: ; preds = %10
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp517iht9z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [100 x i32], align 16
%3 = alloca [100 x i32], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %7, align 4
%9 = call i32 @scanf(ptr noundef @.str, ptr noundef %6)
store i32 0, ptr %4, align 4
%10 = load i32, ptr %4, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %.lr.ph1, label %51
.lr.ph1: ; preds = %0
br label %13
13: ; preds = %.lr.ph1, %45
%14 = call i32 @scanf(ptr noundef @.str, ptr noundef %8)
store i32 1, ptr %7, align 4
store i32 1, ptr %5, align 4
%15 = load i32, ptr %5, align 4
%16 = load i32, ptr %8, align 4
%17 = icmp sle i32 %15, %16
br i1 %17, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %13
br label %18
18: ; preds = %.lr.ph, %36
%19 = load i32, ptr %8, align 4
%20 = icmp eq i32 %19, 0
br i1 %20, label %21, label %24
21: ; preds = %18
%22 = load i32, ptr %7, align 4
%23 = call i32 @printf(ptr noundef @.str.1, i32 noundef %22)
br label %42
24: ; preds = %18
%25 = load i32, ptr %5, align 4
%26 = srem i32 %25, 2
%27 = icmp eq i32 %26, 0
br i1 %27, label %28, label %31
28: ; preds = %24
%29 = load i32, ptr %7, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %7, align 4
br label %34
31: ; preds = %24
%32 = load i32, ptr %7, align 4
%33 = mul nsw i32 %32, 2
store i32 %33, ptr %7, align 4
br label %34
34: ; preds = %31, %28
br label %35
35: ; preds = %34
br label %36
36: ; preds = %35
%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 i32, ptr %8, align 4
%41 = icmp sle i32 %39, %40
br i1 %41, label %18, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %36
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %13
br label %42
42: ; preds = %.loopexit, %21
%43 = load i32, ptr %7, align 4
%44 = call i32 @printf(ptr noundef @.str.1, i32 noundef %43)
br label %45
45: ; preds = %42
%46 = load i32, ptr %4, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %4, align 4
%48 = load i32, ptr %4, align 4
%49 = load i32, ptr %6, align 4
%50 = icmp slt i32 %48, %49
br i1 %50, label %13, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %45
br label %51
51: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpqsrm9j_k.c'
source_filename = "/tmp/tmpqsrm9j_k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [35 x i8] c"Usage: bfc [input file] [options]\0A\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.2 = private unnamed_addr constant [53 x i8] c"\09-s [NUMBER] sets the stack size to this number\0A\00", align 1
@.str.3 = private unnamed_addr constant [68 x i8] c"\09-a [ARRSIZE] sets the array size in the program to this number\0A\00", align 1
@.str.4 = private unnamed_addr constant [44 x i8] c"\09-c only compile and assemble\0A\00", align 1
@.str.5 = private unnamed_addr constant [31 x i8] c"\09-S only compile\0A\00", align 1
@.str.6 = private unnamed_addr constant [41 x i8] c"\09-o [FILE] specify an output file\0A\00", align 1
@.str.7 = private unnamed_addr constant [40 x i8] c"\09-v enable verbose output\0A\00", align 1
@.str.8 = private unnamed_addr constant [42 x i8] c"\09-h, --help print this help message\0A\00", align 1
@.str.9 = private unnamed_addr constant [39 x i8] c"\09-i get input from stdin\0A\00", align 1
@.str.10 = private unnamed_addr constant [80 x i8] c"\09-pipe pipe to assembler if -S is not set, otherwise print to stdout\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_help() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fputs(ptr noundef @.str, i32 noundef %1)
%3 = load i32, ptr @stderr, align 4
%4 = call i32 @fputs(ptr noundef @.str.1, i32 noundef %3)
%5 = load i32, ptr @stderr, align 4
%6 = call i32 @fputs(ptr noundef @.str.2, i32 noundef %5)
%7 = load i32, ptr @stderr, align 4
%8 = call i32 @fputs(ptr noundef @.str.3, i32 noundef %7)
%9 = load i32, ptr @stderr, align 4
%10 = call i32 @fputs(ptr noundef @.str.4, i32 noundef %9)
%11 = load i32, ptr @stderr, align 4
%12 = call i32 @fputs(ptr noundef @.str.5, i32 noundef %11)
%13 = load i32, ptr @stderr, align 4
%14 = call i32 @fputs(ptr noundef @.str.6, i32 noundef %13)
%15 = load i32, ptr @stderr, align 4
%16 = call i32 @fputs(ptr noundef @.str.7, i32 noundef %15)
%17 = load i32, ptr @stderr, align 4
%18 = call i32 @fputs(ptr noundef @.str.8, i32 noundef %17)
%19 = load i32, ptr @stderr, align 4
%20 = call i32 @fputs(ptr noundef @.str.9, i32 noundef %19)
%21 = load i32, ptr @stderr, align 4
%22 = call i32 @fputs(ptr noundef @.str.10, i32 noundef %21)
%23 = load i32, ptr @stderr, align 4
%24 = call i32 @fputs(ptr noundef @.str.1, i32 noundef %23)
ret void
}
declare i32 @fputs(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/tmpqsrm9j_k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [35 x i8] c"Usage: bfc [input file] [options]\0A\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.2 = private unnamed_addr constant [53 x i8] c"\09-s [NUMBER] sets the stack size to this number\0A\00", align 1
@.str.3 = private unnamed_addr constant [68 x i8] c"\09-a [ARRSIZE] sets the array size in the program to this number\0A\00", align 1
@.str.4 = private unnamed_addr constant [44 x i8] c"\09-c only compile and assemble\0A\00", align 1
@.str.5 = private unnamed_addr constant [31 x i8] c"\09-S only compile\0A\00", align 1
@.str.6 = private unnamed_addr constant [41 x i8] c"\09-o [FILE] specify an output file\0A\00", align 1
@.str.7 = private unnamed_addr constant [40 x i8] c"\09-v enable verbose output\0A\00", align 1
@.str.8 = private unnamed_addr constant [42 x i8] c"\09-h, --help print this help message\0A\00", align 1
@.str.9 = private unnamed_addr constant [39 x i8] c"\09-i get input from stdin\0A\00", align 1
@.str.10 = private unnamed_addr constant [80 x i8] c"\09-pipe pipe to assembler if -S is not set, otherwise print to stdout\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_help() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fputs(ptr noundef @.str, i32 noundef %1)
%3 = load i32, ptr @stderr, align 4
%4 = call i32 @fputs(ptr noundef @.str.1, i32 noundef %3)
%5 = load i32, ptr @stderr, align 4
%6 = call i32 @fputs(ptr noundef @.str.2, i32 noundef %5)
%7 = load i32, ptr @stderr, align 4
%8 = call i32 @fputs(ptr noundef @.str.3, i32 noundef %7)
%9 = load i32, ptr @stderr, align 4
%10 = call i32 @fputs(ptr noundef @.str.4, i32 noundef %9)
%11 = load i32, ptr @stderr, align 4
%12 = call i32 @fputs(ptr noundef @.str.5, i32 noundef %11)
%13 = load i32, ptr @stderr, align 4
%14 = call i32 @fputs(ptr noundef @.str.6, i32 noundef %13)
%15 = load i32, ptr @stderr, align 4
%16 = call i32 @fputs(ptr noundef @.str.7, i32 noundef %15)
%17 = load i32, ptr @stderr, align 4
%18 = call i32 @fputs(ptr noundef @.str.8, i32 noundef %17)
%19 = load i32, ptr @stderr, align 4
%20 = call i32 @fputs(ptr noundef @.str.9, i32 noundef %19)
%21 = load i32, ptr @stderr, align 4
%22 = call i32 @fputs(ptr noundef @.str.10, i32 noundef %21)
%23 = load i32, ptr @stderr, align 4
%24 = call i32 @fputs(ptr noundef @.str.1, i32 noundef %23)
ret void
}
declare i32 @fputs(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/tmp0lc96m8j.c'
source_filename = "/tmp/tmp0lc96m8j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.A = private unnamed_addr constant [9 x i32] [i32 12, i32 23, i32 34, i32 45, i32 56, i32 67, i32 78, i32 89, i32 90], align 16
@.str = private unnamed_addr constant [9 x i8] c"P = %p\0A\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"A = %p\0A\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"&A = %p\0A\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"&P = %p\0A\00", align 1
@.str.4 = private unnamed_addr constant [12 x i8] c"*P+2 = %p\0A\00", align 1
@.str.5 = private unnamed_addr constant [14 x i8] c"*(P+2) = %p\0A\00", align 1
@.str.6 = private unnamed_addr constant [12 x i8] c"&P+1 = %p\0A\00", align 1
@.str.7 = private unnamed_addr constant [15 x i8] c"&A[4]-3 = %p\0A\00", align 1
@.str.8 = private unnamed_addr constant [11 x i8] c"A+3 = %p\0A\00", align 1
@.str.9 = private unnamed_addr constant [19 x i8] c"P + (*P-10) = %p\0A\00", align 1
@.str.10 = private unnamed_addr constant [24 x i8] c"*(P+*(P+8)-A[7]) = %p\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca [9 x i32], align 16
%2 = alloca ptr, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.A, i64 36, i1 false)
%3 = getelementptr inbounds [9 x i32], ptr %1, i64 0, i64 0
store ptr %3, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %4)
%6 = getelementptr inbounds [9 x i32], ptr %1, i64 0, i64 0
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %6)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %1)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %2)
%10 = load ptr, ptr %2, align 8
%11 = load i32, ptr %10, align 4
%12 = add nsw i32 %11, 2
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %12)
%14 = load ptr, ptr %2, align 8
%15 = getelementptr inbounds i32, ptr %14, i64 2
%16 = load i32, ptr %15, align 4
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %16)
%18 = getelementptr inbounds ptr, ptr %2, i64 1
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %18)
%20 = getelementptr inbounds [9 x i32], ptr %1, i64 0, i64 4
%21 = getelementptr inbounds i32, ptr %20, i64 -3
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %21)
%23 = getelementptr inbounds [9 x i32], ptr %1, i64 0, i64 0
%24 = getelementptr inbounds i32, ptr %23, i64 3
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %24)
%26 = load ptr, ptr %2, align 8
%27 = load ptr, ptr %2, align 8
%28 = load i32, ptr %27, align 4
%29 = sub nsw i32 %28, 10
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i32, ptr %26, i64 %30
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %31)
%33 = load ptr, ptr %2, align 8
%34 = load ptr, ptr %2, align 8
%35 = getelementptr inbounds i32, ptr %34, i64 8
%36 = load i32, ptr %35, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i32, ptr %33, i64 %37
%39 = getelementptr inbounds [9 x i32], ptr %1, i64 0, i64 7
%40 = load i32, ptr %39, align 4
%41 = sext i32 %40 to i64
%42 = sub i64 0, %41
%43 = getelementptr inbounds i32, ptr %38, i64 %42
%44 = load i32, ptr %43, align 4
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %44)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0lc96m8j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.A = private unnamed_addr constant [9 x i32] [i32 12, i32 23, i32 34, i32 45, i32 56, i32 67, i32 78, i32 89, i32 90], align 16
@.str = private unnamed_addr constant [9 x i8] c"P = %p\0A\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"A = %p\0A\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"&A = %p\0A\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"&P = %p\0A\00", align 1
@.str.4 = private unnamed_addr constant [12 x i8] c"*P+2 = %p\0A\00", align 1
@.str.5 = private unnamed_addr constant [14 x i8] c"*(P+2) = %p\0A\00", align 1
@.str.6 = private unnamed_addr constant [12 x i8] c"&P+1 = %p\0A\00", align 1
@.str.7 = private unnamed_addr constant [15 x i8] c"&A[4]-3 = %p\0A\00", align 1
@.str.8 = private unnamed_addr constant [11 x i8] c"A+3 = %p\0A\00", align 1
@.str.9 = private unnamed_addr constant [19 x i8] c"P + (*P-10) = %p\0A\00", align 1
@.str.10 = private unnamed_addr constant [24 x i8] c"*(P+*(P+8)-A[7]) = %p\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca [9 x i32], align 16
%2 = alloca ptr, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.A, i64 36, i1 false)
%3 = getelementptr inbounds [9 x i32], ptr %1, i64 0, i64 0
store ptr %3, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %4)
%6 = getelementptr inbounds [9 x i32], ptr %1, i64 0, i64 0
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %6)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %1)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %2)
%10 = load ptr, ptr %2, align 8
%11 = load i32, ptr %10, align 4
%12 = add nsw i32 %11, 2
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %12)
%14 = load ptr, ptr %2, align 8
%15 = getelementptr inbounds i32, ptr %14, i64 2
%16 = load i32, ptr %15, align 4
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %16)
%18 = getelementptr inbounds ptr, ptr %2, i64 1
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %18)
%20 = getelementptr inbounds [9 x i32], ptr %1, i64 0, i64 4
%21 = getelementptr inbounds i32, ptr %20, i64 -3
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %21)
%23 = getelementptr inbounds [9 x i32], ptr %1, i64 0, i64 0
%24 = getelementptr inbounds i32, ptr %23, i64 3
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %24)
%26 = load ptr, ptr %2, align 8
%27 = load ptr, ptr %2, align 8
%28 = load i32, ptr %27, align 4
%29 = sub nsw i32 %28, 10
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i32, ptr %26, i64 %30
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %31)
%33 = load ptr, ptr %2, align 8
%34 = load ptr, ptr %2, align 8
%35 = getelementptr inbounds i32, ptr %34, i64 8
%36 = load i32, ptr %35, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i32, ptr %33, i64 %37
%39 = getelementptr inbounds [9 x i32], ptr %1, i64 0, i64 7
%40 = load i32, ptr %39, align 4
%41 = sext i32 %40 to i64
%42 = sub i64 0, %41
%43 = getelementptr inbounds i32, ptr %38, i64 %42
%44 = load i32, ptr %43, align 4
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %44)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpw8vyxctg.c'
source_filename = "/tmp/tmpw8vyxctg.c"
target datalayout = "e-m:e-p270: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/tmpw8vyxctg.c"
target datalayout = "e-m:e-p270: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/tmpwt3wc_5g.c'
source_filename = "/tmp/tmpwt3wc_5g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_memcpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%10 = load ptr, ptr %4, align 8
store ptr %10, ptr %8, align 8
%11 = load ptr, ptr %5, align 8
store ptr %11, ptr %9, align 8
store i64 0, ptr %7, align 8
br label %12
12: ; preds = %16, %3
%13 = load i64, ptr %7, align 8
%14 = load i64, ptr %6, align 8
%15 = icmp ult i64 %13, %14
br i1 %15, label %16, label %26
16: ; preds = %12
%17 = load ptr, ptr %9, align 8
%18 = load i64, ptr %7, align 8
%19 = getelementptr inbounds i8, ptr %17, i64 %18
%20 = load i8, ptr %19, align 1
%21 = load ptr, ptr %8, align 8
%22 = load i64, ptr %7, align 8
%23 = getelementptr inbounds i8, ptr %21, i64 %22
store i8 %20, ptr %23, align 1
%24 = load i64, ptr %7, align 8
%25 = add i64 %24, 1
store i64 %25, ptr %7, align 8
br label %12, !llvm.loop !6
26: ; preds = %12
%27 = load ptr, ptr %4, align 8
ret ptr %27
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpwt3wc_5g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_memcpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%10 = load ptr, ptr %4, align 8
store ptr %10, ptr %8, align 8
%11 = load ptr, ptr %5, align 8
store ptr %11, ptr %9, align 8
store i64 0, ptr %7, align 8
%12 = load i64, ptr %7, align 8
%13 = load i64, ptr %6, align 8
%14 = icmp ult i64 %12, %13
br i1 %14, label %.lr.ph, label %28
.lr.ph: ; preds = %3
br label %15
15: ; preds = %.lr.ph, %15
%16 = load ptr, ptr %9, align 8
%17 = load i64, ptr %7, align 8
%18 = getelementptr inbounds i8, ptr %16, i64 %17
%19 = load i8, ptr %18, align 1
%20 = load ptr, ptr %8, align 8
%21 = load i64, ptr %7, align 8
%22 = getelementptr inbounds i8, ptr %20, i64 %21
store i8 %19, ptr %22, align 1
%23 = load i64, ptr %7, align 8
%24 = add i64 %23, 1
store i64 %24, ptr %7, align 8
%25 = load i64, ptr %7, align 8
%26 = load i64, ptr %6, align 8
%27 = icmp ult i64 %25, %26
br i1 %27, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %28
28: ; preds = %._crit_edge, %3
%29 = load ptr, ptr %4, align 8
ret ptr %29
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpz14mvdoe.c'
source_filename = "/tmp/tmpz14mvdoe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"Push <RETURN>\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @holdit() #0 {
%1 = call i32 (...) @inflush()
%2 = call i32 @printf(ptr noundef @.str)
%3 = call i32 (...) @readnl()
ret void
}
declare i32 @inflush(...) #1
declare i32 @printf(ptr noundef) #1
declare i32 @readnl(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpz14mvdoe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"Push <RETURN>\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @holdit() #0 {
%1 = call i32 (...) @inflush()
%2 = call i32 @printf(ptr noundef @.str)
%3 = call i32 (...) @readnl()
ret void
}
declare i32 @inflush(...) #1
declare i32 @printf(ptr noundef) #1
declare i32 @readnl(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9ccc0z9q.c'
source_filename = "/tmp/tmp9ccc0z9q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"i 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
store i32 0, ptr %1, align 4
%3 = call i32 @square(i32 noundef 5)
store i32 %3, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
ret i32 0
}
declare i32 @square(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9ccc0z9q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"i 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
store i32 0, ptr %1, align 4
%3 = call i32 @square(i32 noundef 5)
store i32 %3, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
ret i32 0
}
declare i32 @square(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpemwfafd3.c'
source_filename = "/tmp/tmpemwfafd3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"SHELL\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [47 x i8] c"error: failed to find blogc-git-receiver path\0A\00", align 1
@.str.2 = private unnamed_addr constant [43 x i8] c"error: failed to find base directory path\0A\00", align 1
@.str.3 = private unnamed_addr constant [38 x i8] c"error: invalid git-shell command: %s\0A\00", align 1
@.str.4 = private unnamed_addr constant [12 x i8] c"%s/repos/%s\00", align 1
@.str.5 = private unnamed_addr constant [12 x i8] c"git-upload-\00", align 1
@F_OK = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [31 x i8] c"git init --bare %s > /dev/null\00", align 1
@.str.7 = private unnamed_addr constant [44 x i8] c"error: failed to create git repository: %s\0A\00", align 1
@.str.8 = private unnamed_addr constant [33 x i8] c"error: failed to chdir (%s): %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
@.str.9 = private unnamed_addr constant [6 x i8] c"hooks\00", align 1
@.str.10 = private unnamed_addr constant [50 x i8] c"error: failed to create directory (%s/hooks): %s\0A\00", align 1
@.str.11 = private unnamed_addr constant [39 x i8] c"error: failed to chdir (%s/hooks): %s\0A\00", align 1
@.str.12 = private unnamed_addr constant [12 x i8] c"pre-receive\00", align 1
@.str.13 = private unnamed_addr constant [64 x i8] c"error: failed to remove old symlink (%s/hooks/pre-receive): %s\0A\00", align 1
@.str.14 = private unnamed_addr constant [60 x i8] c"error: failed to create symlink (%s/hooks/pre-receive): %s\0A\00", align 1
@.str.15 = private unnamed_addr constant [13 x i8] c"post-receive\00", align 1
@.str.16 = private unnamed_addr constant [65 x i8] c"error: failed to remove old symlink (%s/hooks/post-receive): %s\0A\00", align 1
@.str.17 = private unnamed_addr constant [61 x i8] c"error: failed to create symlink (%s/hooks/post-receive): %s\0A\00", align 1
@.str.18 = private unnamed_addr constant [37 x i8] c"error: git-shell command is too big\0A\00", align 1
@.str.19 = private unnamed_addr constant [6 x i8] c"%s %s\00", align 1
@.str.20 = private unnamed_addr constant [45 x i8] c"error: failed to generate git-shell command\0A\00", align 1
@.str.21 = private unnamed_addr constant [19 x i8] c"__VALGRIND_ENABLED\00", align 1
@.str.22 = private unnamed_addr constant [10 x i8] c"git-shell\00", align 1
@.str.23 = private unnamed_addr constant [3 x i8] c"-c\00", align 1
@.str.24 = private unnamed_addr constant [36 x i8] c"error: failed to execute git-shell\0A\00", align 1
@.str.25 = private unnamed_addr constant [19 x i8] c"git-shell -c \22%s\22\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @bgr_shell(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca [4096 x i8], align 16
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
store ptr null, ptr %7, align 8
store ptr null, ptr %8, align 8
%16 = call ptr @getenv(ptr noundef @.str)
store ptr %16, ptr %9, align 8
%17 = load ptr, ptr %9, align 8
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %22
19: ; preds = %2
%20 = load i32, ptr @stderr, align 4
%21 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %20, ptr noundef @.str.1)
store i32 1, ptr %6, align 4
br label %233
22: ; preds = %2
%23 = call ptr (...) @bgr_settings_get_base_dir()
store ptr %23, ptr %10, align 8
%24 = load ptr, ptr %10, align 8
%25 = icmp eq ptr %24, null
br i1 %25, label %26, label %29
26: ; preds = %22
%27 = load i32, ptr @stderr, align 4
%28 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %27, ptr noundef @.str.2)
store i32 1, ptr %6, align 4
br label %233
29: ; preds = %22
%30 = load ptr, ptr %5, align 8
%31 = getelementptr inbounds ptr, ptr %30, i64 2
%32 = load ptr, ptr %31, align 8
%33 = call ptr @bgr_shell_command_parse(ptr noundef %32)
store ptr %33, ptr %11, align 8
%34 = load ptr, ptr %11, align 8
%35 = icmp eq ptr %34, null
br i1 %35, label %36, label %42
36: ; preds = %29
%37 = load i32, ptr @stderr, align 4
%38 = load ptr, ptr %5, align 8
%39 = getelementptr inbounds ptr, ptr %38, i64 2
%40 = load ptr, ptr %39, align 8
%41 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %37, ptr noundef @.str.3, ptr noundef %40)
store i32 1, ptr %6, align 4
br label %233
42: ; preds = %29
%43 = load ptr, ptr %10, align 8
%44 = load ptr, ptr %11, align 8
%45 = call ptr (ptr, ptr, ...) @bc_strdup_printf(ptr noundef @.str.4, ptr noundef %43, ptr noundef %44)
store ptr %45, ptr %7, align 8
%46 = load ptr, ptr %7, align 8
%47 = call ptr @bc_shell_quote(ptr noundef %46)
store ptr %47, ptr %8, align 8
%48 = load ptr, ptr %11, align 8
%49 = call i32 @free(ptr noundef %48)
%50 = load ptr, ptr %5, align 8
%51 = getelementptr inbounds ptr, ptr %50, i64 2
%52 = load ptr, ptr %51, align 8
%53 = call i64 @strncmp(ptr noundef %52, ptr noundef @.str.5, i32 noundef 11)
%54 = icmp eq i64 0, %53
br i1 %54, label %55, label %56
55: ; preds = %42
br label %156
56: ; preds = %42
%57 = load ptr, ptr %7, align 8
%58 = load i32, ptr @F_OK, align 4
%59 = call i64 @access(ptr noundef %57, i32 noundef %58)
%60 = icmp ne i64 0, %59
br i1 %60, label %61, label %76
61: ; preds = %56
%62 = load ptr, ptr %8, align 8
%63 = call ptr (ptr, ptr, ...) @bc_strdup_printf(ptr noundef @.str.6, ptr noundef %62)
store ptr %63, ptr %12, align 8
%64 = load ptr, ptr %12, align 8
%65 = call i64 @system(ptr noundef %64)
%66 = icmp ne i64 0, %65
br i1 %66, label %67, label %73
67: ; preds = %61
%68 = load i32, ptr @stderr, align 4
%69 = load ptr, ptr %7, align 8
%70 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %68, ptr noundef @.str.7, ptr noundef %69)
store i32 1, ptr %6, align 4
%71 = load ptr, ptr %12, align 8
%72 = call i32 @free(ptr noundef %71)
br label %233
73: ; preds = %61
%74 = load ptr, ptr %12, align 8
%75 = call i32 @free(ptr noundef %74)
br label %76
76: ; preds = %73, %56
%77 = load ptr, ptr %7, align 8
%78 = call i64 @chdir(ptr noundef %77)
%79 = icmp ne i64 0, %78
br i1 %79, label %80, label %86
80: ; preds = %76
%81 = load i32, ptr @stderr, align 4
%82 = load ptr, ptr %7, align 8
%83 = load i32, ptr @errno, align 4
%84 = call ptr @strerror(i32 noundef %83)
%85 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %81, ptr noundef @.str.8, ptr noundef %82, ptr noundef %84)
store i32 1, ptr %6, align 4
br label %233
86: ; preds = %76
%87 = load i32, ptr @F_OK, align 4
%88 = call i64 @access(ptr noundef @.str.9, i32 noundef %87)
%89 = icmp ne i64 0, %88
br i1 %89, label %90, label %100
90: ; preds = %86
%91 = call i64 @mkdir(ptr noundef @.str.9, i32 noundef 511)
%92 = icmp ne i64 0, %91
br i1 %92, label %93, label %99
93: ; preds = %90
%94 = load i32, ptr @stderr, align 4
%95 = load ptr, ptr %7, align 8
%96 = load i32, ptr @errno, align 4
%97 = call ptr @strerror(i32 noundef %96)
%98 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %94, ptr noundef @.str.10, ptr noundef %95, ptr noundef %97)
store i32 1, ptr %6, align 4
br label %233
99: ; preds = %90
br label %100
100: ; preds = %99, %86
%101 = call i64 @chdir(ptr noundef @.str.9)
%102 = icmp ne i64 0, %101
br i1 %102, label %103, label %109
103: ; preds = %100
%104 = load i32, ptr @stderr, align 4
%105 = load ptr, ptr %7, align 8
%106 = load i32, ptr @errno, align 4
%107 = call ptr @strerror(i32 noundef %106)
%108 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %104, ptr noundef @.str.11, ptr noundef %105, ptr noundef %107)
store i32 1, ptr %6, align 4
br label %233
109: ; preds = %100
%110 = call i64 @lexists(ptr noundef @.str.12)
%111 = icmp ne i64 %110, 0
br i1 %111, label %112, label %122
112: ; preds = %109
%113 = call i64 @unlink(ptr noundef @.str.12)
%114 = icmp ne i64 0, %113
br i1 %114, label %115, label %121
115: ; preds = %112
%116 = load i32, ptr @stderr, align 4
%117 = load ptr, ptr %7, align 8
%118 = load i32, ptr @errno, align 4
%119 = call ptr @strerror(i32 noundef %118)
%120 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %116, ptr noundef @.str.13, ptr noundef %117, ptr noundef %119)
store i32 1, ptr %6, align 4
br label %233
121: ; preds = %112
br label %122
122: ; preds = %121, %109
%123 = load ptr, ptr %9, align 8
%124 = call i64 @symlink(ptr noundef %123, ptr noundef @.str.12)
%125 = icmp ne i64 0, %124
br i1 %125, label %126, label %132
126: ; preds = %122
%127 = load i32, ptr @stderr, align 4
%128 = load ptr, ptr %7, align 8
%129 = load i32, ptr @errno, align 4
%130 = call ptr @strerror(i32 noundef %129)
%131 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %127, ptr noundef @.str.14, ptr noundef %128, ptr noundef %130)
store i32 1, ptr %6, align 4
br label %233
132: ; preds = %122
%133 = call i64 @lexists(ptr noundef @.str.15)
%134 = icmp ne i64 %133, 0
br i1 %134, label %135, label %145
135: ; preds = %132
%136 = call i64 @unlink(ptr noundef @.str.15)
%137 = icmp ne i64 0, %136
br i1 %137, label %138, label %144
138: ; preds = %135
%139 = load i32, ptr @stderr, align 4
%140 = load ptr, ptr %7, align 8
%141 = load i32, ptr @errno, align 4
%142 = call ptr @strerror(i32 noundef %141)
%143 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %139, ptr noundef @.str.16, ptr noundef %140, ptr noundef %142)
store i32 1, ptr %6, align 4
br label %233
144: ; preds = %135
br label %145
145: ; preds = %144, %132
%146 = load ptr, ptr %9, align 8
%147 = call i64 @symlink(ptr noundef %146, ptr noundef @.str.15)
%148 = icmp ne i64 0, %147
br i1 %148, label %149, label %155
149: ; preds = %145
%150 = load i32, ptr @stderr, align 4
%151 = load ptr, ptr %7, align 8
%152 = load i32, ptr @errno, align 4
%153 = call ptr @strerror(i32 noundef %152)
%154 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %150, ptr noundef @.str.17, ptr noundef %151, ptr noundef %153)
store i32 1, ptr %6, align 4
br label %233
155: ; preds = %145
br label %156
156: ; preds = %155, %55
%157 = load ptr, ptr %10, align 8
%158 = call i64 @chdir(ptr noundef %157)
%159 = icmp ne i64 0, %158
br i1 %159, label %160, label %166
160: ; preds = %156
%161 = load i32, ptr @stderr, align 4
%162 = load ptr, ptr %10, align 8
%163 = load i32, ptr @errno, align 4
%164 = call ptr @strerror(i32 noundef %163)
%165 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %161, ptr noundef @.str.8, ptr noundef %162, ptr noundef %164)
store i32 1, ptr %6, align 4
br label %233
166: ; preds = %156
%167 = load ptr, ptr %5, align 8
%168 = getelementptr inbounds ptr, ptr %167, i64 2
%169 = load ptr, ptr %168, align 8
%170 = call ptr @bc_strdup(ptr noundef %169)
store ptr %170, ptr %14, align 8
%171 = load ptr, ptr %14, align 8
store ptr %171, ptr %15, align 8
br label %172
172: ; preds = %185, %166
%173 = load ptr, ptr %15, align 8
%174 = load i8, ptr %173, align 1
%175 = sext i8 %174 to i32
%176 = icmp ne i32 %175, 32
br i1 %176, label %177, label %182
177: ; preds = %172
%178 = load ptr, ptr %15, align 8
%179 = load i8, ptr %178, align 1
%180 = sext i8 %179 to i32
%181 = icmp ne i32 %180, 0
br label %182
182: ; preds = %177, %172
%183 = phi i1 [ false, %172 ], [ %181, %177 ]
br i1 %183, label %184, label %188
184: ; preds = %182
br label %185
185: ; preds = %184
%186 = load ptr, ptr %15, align 8
%187 = getelementptr inbounds i8, ptr %186, i32 1
store ptr %187, ptr %15, align 8
br label %172, !llvm.loop !6
188: ; preds = %182
%189 = load ptr, ptr %15, align 8
%190 = load i8, ptr %189, align 1
%191 = sext i8 %190 to i32
%192 = icmp eq i32 %191, 32
br i1 %192, label %193, label %195
193: ; preds = %188
%194 = load ptr, ptr %15, align 8
store i8 0, ptr %194, align 1
br label %195
195: ; preds = %193, %188
%196 = load ptr, ptr %14, align 8
%197 = call i32 @strlen(ptr noundef %196)
%198 = load ptr, ptr %8, align 8
%199 = call i32 @strlen(ptr noundef %198)
%200 = add nsw i32 %197, %199
%201 = add nsw i32 %200, 2
%202 = sext i32 %201 to i64
%203 = icmp ult i64 4096, %202
br i1 %203, label %204, label %207
204: ; preds = %195
%205 = load i32, ptr @stderr, align 4
%206 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %205, ptr noundef @.str.18)
store i32 1, ptr %6, align 4
br label %233
207: ; preds = %195
%208 = getelementptr inbounds [4096 x i8], ptr %13, i64 0, i64 0
%209 = load ptr, ptr %14, align 8
%210 = load ptr, ptr %8, align 8
%211 = call i64 @snprintf(ptr noundef %208, i32 noundef 4096, ptr noundef @.str.19, ptr noundef %209, ptr noundef %210)
%212 = icmp sgt i64 0, %211
br i1 %212, label %213, label %216
213: ; preds = %207
%214 = load i32, ptr @stderr, align 4
%215 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %214, ptr noundef @.str.20)
store i32 1, ptr %6, align 4
br label %233
216: ; preds = %207
%217 = load ptr, ptr %14, align 8
%218 = call i32 @free(ptr noundef %217)
%219 = load ptr, ptr %7, align 8
%220 = call i32 @free(ptr noundef %219)
%221 = load ptr, ptr %8, align 8
%222 = call i32 @free(ptr noundef %221)
%223 = call ptr @getenv(ptr noundef @.str.21)
%224 = icmp eq ptr null, %223
br i1 %224, label %225, label %230
225: ; preds = %216
%226 = getelementptr inbounds [4096 x i8], ptr %13, i64 0, i64 0
%227 = call i32 @execlp(ptr noundef @.str.22, ptr noundef @.str.22, ptr noundef @.str.23, ptr noundef %226, ptr noundef null)
%228 = load i32, ptr @stderr, align 4
%229 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %228, ptr noundef @.str.24)
store i32 1, ptr %3, align 4
br label %239
230: ; preds = %216
%231 = getelementptr inbounds [4096 x i8], ptr %13, i64 0, i64 0
%232 = call i32 @printf(ptr noundef @.str.25, ptr noundef %231)
store i32 0, ptr %3, align 4
br label %239
233: ; preds = %213, %204, %160, %149, %138, %126, %115, %103, %93, %80, %67, %36, %26, %19
%234 = load ptr, ptr %7, align 8
%235 = call i32 @free(ptr noundef %234)
%236 = load ptr, ptr %8, align 8
%237 = call i32 @free(ptr noundef %236)
%238 = load i32, ptr %6, align 4
store i32 %238, ptr %3, align 4
br label %239
239: ; preds = %233, %230, %225
%240 = load i32, ptr %3, align 4
ret i32 %240
}
declare ptr @getenv(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare ptr @bgr_settings_get_base_dir(...) #1
declare ptr @bgr_shell_command_parse(ptr noundef) #1
declare ptr @bc_strdup_printf(ptr noundef, ptr noundef, ...) #1
declare ptr @bc_shell_quote(ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @access(ptr noundef, i32 noundef) #1
declare i64 @system(ptr noundef) #1
declare i64 @chdir(ptr noundef) #1
declare ptr @strerror(i32 noundef) #1
declare i64 @mkdir(ptr noundef, i32 noundef) #1
declare i64 @lexists(ptr noundef) #1
declare i64 @unlink(ptr noundef) #1
declare i64 @symlink(ptr noundef, ptr noundef) #1
declare ptr @bc_strdup(ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i64 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @execlp(ptr noundef, ptr noundef, ptr noundef, ptr noundef, 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpemwfafd3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"SHELL\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [47 x i8] c"error: failed to find blogc-git-receiver path\0A\00", align 1
@.str.2 = private unnamed_addr constant [43 x i8] c"error: failed to find base directory path\0A\00", align 1
@.str.3 = private unnamed_addr constant [38 x i8] c"error: invalid git-shell command: %s\0A\00", align 1
@.str.4 = private unnamed_addr constant [12 x i8] c"%s/repos/%s\00", align 1
@.str.5 = private unnamed_addr constant [12 x i8] c"git-upload-\00", align 1
@F_OK = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [31 x i8] c"git init --bare %s > /dev/null\00", align 1
@.str.7 = private unnamed_addr constant [44 x i8] c"error: failed to create git repository: %s\0A\00", align 1
@.str.8 = private unnamed_addr constant [33 x i8] c"error: failed to chdir (%s): %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
@.str.9 = private unnamed_addr constant [6 x i8] c"hooks\00", align 1
@.str.10 = private unnamed_addr constant [50 x i8] c"error: failed to create directory (%s/hooks): %s\0A\00", align 1
@.str.11 = private unnamed_addr constant [39 x i8] c"error: failed to chdir (%s/hooks): %s\0A\00", align 1
@.str.12 = private unnamed_addr constant [12 x i8] c"pre-receive\00", align 1
@.str.13 = private unnamed_addr constant [64 x i8] c"error: failed to remove old symlink (%s/hooks/pre-receive): %s\0A\00", align 1
@.str.14 = private unnamed_addr constant [60 x i8] c"error: failed to create symlink (%s/hooks/pre-receive): %s\0A\00", align 1
@.str.15 = private unnamed_addr constant [13 x i8] c"post-receive\00", align 1
@.str.16 = private unnamed_addr constant [65 x i8] c"error: failed to remove old symlink (%s/hooks/post-receive): %s\0A\00", align 1
@.str.17 = private unnamed_addr constant [61 x i8] c"error: failed to create symlink (%s/hooks/post-receive): %s\0A\00", align 1
@.str.18 = private unnamed_addr constant [37 x i8] c"error: git-shell command is too big\0A\00", align 1
@.str.19 = private unnamed_addr constant [6 x i8] c"%s %s\00", align 1
@.str.20 = private unnamed_addr constant [45 x i8] c"error: failed to generate git-shell command\0A\00", align 1
@.str.21 = private unnamed_addr constant [19 x i8] c"__VALGRIND_ENABLED\00", align 1
@.str.22 = private unnamed_addr constant [10 x i8] c"git-shell\00", align 1
@.str.23 = private unnamed_addr constant [3 x i8] c"-c\00", align 1
@.str.24 = private unnamed_addr constant [36 x i8] c"error: failed to execute git-shell\0A\00", align 1
@.str.25 = private unnamed_addr constant [19 x i8] c"git-shell -c \22%s\22\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @bgr_shell(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca [4096 x i8], align 16
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
store ptr null, ptr %7, align 8
store ptr null, ptr %8, align 8
%16 = call ptr @getenv(ptr noundef @.str)
store ptr %16, ptr %9, align 8
%17 = load ptr, ptr %9, align 8
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %22
19: ; preds = %2
%20 = load i32, ptr @stderr, align 4
%21 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %20, ptr noundef @.str.1)
store i32 1, ptr %6, align 4
br label %233
22: ; preds = %2
%23 = call ptr (...) @bgr_settings_get_base_dir()
store ptr %23, ptr %10, align 8
%24 = load ptr, ptr %10, align 8
%25 = icmp eq ptr %24, null
br i1 %25, label %26, label %29
26: ; preds = %22
%27 = load i32, ptr @stderr, align 4
%28 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %27, ptr noundef @.str.2)
store i32 1, ptr %6, align 4
br label %233
29: ; preds = %22
%30 = load ptr, ptr %5, align 8
%31 = getelementptr inbounds ptr, ptr %30, i64 2
%32 = load ptr, ptr %31, align 8
%33 = call ptr @bgr_shell_command_parse(ptr noundef %32)
store ptr %33, ptr %11, align 8
%34 = load ptr, ptr %11, align 8
%35 = icmp eq ptr %34, null
br i1 %35, label %36, label %42
36: ; preds = %29
%37 = load i32, ptr @stderr, align 4
%38 = load ptr, ptr %5, align 8
%39 = getelementptr inbounds ptr, ptr %38, i64 2
%40 = load ptr, ptr %39, align 8
%41 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %37, ptr noundef @.str.3, ptr noundef %40)
store i32 1, ptr %6, align 4
br label %233
42: ; preds = %29
%43 = load ptr, ptr %10, align 8
%44 = load ptr, ptr %11, align 8
%45 = call ptr (ptr, ptr, ...) @bc_strdup_printf(ptr noundef @.str.4, ptr noundef %43, ptr noundef %44)
store ptr %45, ptr %7, align 8
%46 = load ptr, ptr %7, align 8
%47 = call ptr @bc_shell_quote(ptr noundef %46)
store ptr %47, ptr %8, align 8
%48 = load ptr, ptr %11, align 8
%49 = call i32 @free(ptr noundef %48)
%50 = load ptr, ptr %5, align 8
%51 = getelementptr inbounds ptr, ptr %50, i64 2
%52 = load ptr, ptr %51, align 8
%53 = call i64 @strncmp(ptr noundef %52, ptr noundef @.str.5, i32 noundef 11)
%54 = icmp eq i64 0, %53
br i1 %54, label %55, label %56
55: ; preds = %42
br label %156
56: ; preds = %42
%57 = load ptr, ptr %7, align 8
%58 = load i32, ptr @F_OK, align 4
%59 = call i64 @access(ptr noundef %57, i32 noundef %58)
%60 = icmp ne i64 0, %59
br i1 %60, label %61, label %76
61: ; preds = %56
%62 = load ptr, ptr %8, align 8
%63 = call ptr (ptr, ptr, ...) @bc_strdup_printf(ptr noundef @.str.6, ptr noundef %62)
store ptr %63, ptr %12, align 8
%64 = load ptr, ptr %12, align 8
%65 = call i64 @system(ptr noundef %64)
%66 = icmp ne i64 0, %65
br i1 %66, label %67, label %73
67: ; preds = %61
%68 = load i32, ptr @stderr, align 4
%69 = load ptr, ptr %7, align 8
%70 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %68, ptr noundef @.str.7, ptr noundef %69)
store i32 1, ptr %6, align 4
%71 = load ptr, ptr %12, align 8
%72 = call i32 @free(ptr noundef %71)
br label %233
73: ; preds = %61
%74 = load ptr, ptr %12, align 8
%75 = call i32 @free(ptr noundef %74)
br label %76
76: ; preds = %73, %56
%77 = load ptr, ptr %7, align 8
%78 = call i64 @chdir(ptr noundef %77)
%79 = icmp ne i64 0, %78
br i1 %79, label %80, label %86
80: ; preds = %76
%81 = load i32, ptr @stderr, align 4
%82 = load ptr, ptr %7, align 8
%83 = load i32, ptr @errno, align 4
%84 = call ptr @strerror(i32 noundef %83)
%85 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %81, ptr noundef @.str.8, ptr noundef %82, ptr noundef %84)
store i32 1, ptr %6, align 4
br label %233
86: ; preds = %76
%87 = load i32, ptr @F_OK, align 4
%88 = call i64 @access(ptr noundef @.str.9, i32 noundef %87)
%89 = icmp ne i64 0, %88
br i1 %89, label %90, label %100
90: ; preds = %86
%91 = call i64 @mkdir(ptr noundef @.str.9, i32 noundef 511)
%92 = icmp ne i64 0, %91
br i1 %92, label %93, label %99
93: ; preds = %90
%94 = load i32, ptr @stderr, align 4
%95 = load ptr, ptr %7, align 8
%96 = load i32, ptr @errno, align 4
%97 = call ptr @strerror(i32 noundef %96)
%98 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %94, ptr noundef @.str.10, ptr noundef %95, ptr noundef %97)
store i32 1, ptr %6, align 4
br label %233
99: ; preds = %90
br label %100
100: ; preds = %99, %86
%101 = call i64 @chdir(ptr noundef @.str.9)
%102 = icmp ne i64 0, %101
br i1 %102, label %103, label %109
103: ; preds = %100
%104 = load i32, ptr @stderr, align 4
%105 = load ptr, ptr %7, align 8
%106 = load i32, ptr @errno, align 4
%107 = call ptr @strerror(i32 noundef %106)
%108 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %104, ptr noundef @.str.11, ptr noundef %105, ptr noundef %107)
store i32 1, ptr %6, align 4
br label %233
109: ; preds = %100
%110 = call i64 @lexists(ptr noundef @.str.12)
%111 = icmp ne i64 %110, 0
br i1 %111, label %112, label %122
112: ; preds = %109
%113 = call i64 @unlink(ptr noundef @.str.12)
%114 = icmp ne i64 0, %113
br i1 %114, label %115, label %121
115: ; preds = %112
%116 = load i32, ptr @stderr, align 4
%117 = load ptr, ptr %7, align 8
%118 = load i32, ptr @errno, align 4
%119 = call ptr @strerror(i32 noundef %118)
%120 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %116, ptr noundef @.str.13, ptr noundef %117, ptr noundef %119)
store i32 1, ptr %6, align 4
br label %233
121: ; preds = %112
br label %122
122: ; preds = %121, %109
%123 = load ptr, ptr %9, align 8
%124 = call i64 @symlink(ptr noundef %123, ptr noundef @.str.12)
%125 = icmp ne i64 0, %124
br i1 %125, label %126, label %132
126: ; preds = %122
%127 = load i32, ptr @stderr, align 4
%128 = load ptr, ptr %7, align 8
%129 = load i32, ptr @errno, align 4
%130 = call ptr @strerror(i32 noundef %129)
%131 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %127, ptr noundef @.str.14, ptr noundef %128, ptr noundef %130)
store i32 1, ptr %6, align 4
br label %233
132: ; preds = %122
%133 = call i64 @lexists(ptr noundef @.str.15)
%134 = icmp ne i64 %133, 0
br i1 %134, label %135, label %145
135: ; preds = %132
%136 = call i64 @unlink(ptr noundef @.str.15)
%137 = icmp ne i64 0, %136
br i1 %137, label %138, label %144
138: ; preds = %135
%139 = load i32, ptr @stderr, align 4
%140 = load ptr, ptr %7, align 8
%141 = load i32, ptr @errno, align 4
%142 = call ptr @strerror(i32 noundef %141)
%143 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %139, ptr noundef @.str.16, ptr noundef %140, ptr noundef %142)
store i32 1, ptr %6, align 4
br label %233
144: ; preds = %135
br label %145
145: ; preds = %144, %132
%146 = load ptr, ptr %9, align 8
%147 = call i64 @symlink(ptr noundef %146, ptr noundef @.str.15)
%148 = icmp ne i64 0, %147
br i1 %148, label %149, label %155
149: ; preds = %145
%150 = load i32, ptr @stderr, align 4
%151 = load ptr, ptr %7, align 8
%152 = load i32, ptr @errno, align 4
%153 = call ptr @strerror(i32 noundef %152)
%154 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %150, ptr noundef @.str.17, ptr noundef %151, ptr noundef %153)
store i32 1, ptr %6, align 4
br label %233
155: ; preds = %145
br label %156
156: ; preds = %155, %55
%157 = load ptr, ptr %10, align 8
%158 = call i64 @chdir(ptr noundef %157)
%159 = icmp ne i64 0, %158
br i1 %159, label %160, label %166
160: ; preds = %156
%161 = load i32, ptr @stderr, align 4
%162 = load ptr, ptr %10, align 8
%163 = load i32, ptr @errno, align 4
%164 = call ptr @strerror(i32 noundef %163)
%165 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %161, ptr noundef @.str.8, ptr noundef %162, ptr noundef %164)
store i32 1, ptr %6, align 4
br label %233
166: ; preds = %156
%167 = load ptr, ptr %5, align 8
%168 = getelementptr inbounds ptr, ptr %167, i64 2
%169 = load ptr, ptr %168, align 8
%170 = call ptr @bc_strdup(ptr noundef %169)
store ptr %170, ptr %14, align 8
%171 = load ptr, ptr %14, align 8
store ptr %171, ptr %15, align 8
br label %172
172: ; preds = %185, %166
%173 = load ptr, ptr %15, align 8
%174 = load i8, ptr %173, align 1
%175 = sext i8 %174 to i32
%176 = icmp ne i32 %175, 32
br i1 %176, label %177, label %182
177: ; preds = %172
%178 = load ptr, ptr %15, align 8
%179 = load i8, ptr %178, align 1
%180 = sext i8 %179 to i32
%181 = icmp ne i32 %180, 0
br label %182
182: ; preds = %177, %172
%183 = phi i1 [ false, %172 ], [ %181, %177 ]
br i1 %183, label %184, label %188
184: ; preds = %182
br label %185
185: ; preds = %184
%186 = load ptr, ptr %15, align 8
%187 = getelementptr inbounds i8, ptr %186, i32 1
store ptr %187, ptr %15, align 8
br label %172, !llvm.loop !6
188: ; preds = %182
%189 = load ptr, ptr %15, align 8
%190 = load i8, ptr %189, align 1
%191 = sext i8 %190 to i32
%192 = icmp eq i32 %191, 32
br i1 %192, label %193, label %195
193: ; preds = %188
%194 = load ptr, ptr %15, align 8
store i8 0, ptr %194, align 1
br label %195
195: ; preds = %193, %188
%196 = load ptr, ptr %14, align 8
%197 = call i32 @strlen(ptr noundef %196)
%198 = load ptr, ptr %8, align 8
%199 = call i32 @strlen(ptr noundef %198)
%200 = add nsw i32 %197, %199
%201 = add nsw i32 %200, 2
%202 = sext i32 %201 to i64
%203 = icmp ult i64 4096, %202
br i1 %203, label %204, label %207
204: ; preds = %195
%205 = load i32, ptr @stderr, align 4
%206 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %205, ptr noundef @.str.18)
store i32 1, ptr %6, align 4
br label %233
207: ; preds = %195
%208 = getelementptr inbounds [4096 x i8], ptr %13, i64 0, i64 0
%209 = load ptr, ptr %14, align 8
%210 = load ptr, ptr %8, align 8
%211 = call i64 @snprintf(ptr noundef %208, i32 noundef 4096, ptr noundef @.str.19, ptr noundef %209, ptr noundef %210)
%212 = icmp sgt i64 0, %211
br i1 %212, label %213, label %216
213: ; preds = %207
%214 = load i32, ptr @stderr, align 4
%215 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %214, ptr noundef @.str.20)
store i32 1, ptr %6, align 4
br label %233
216: ; preds = %207
%217 = load ptr, ptr %14, align 8
%218 = call i32 @free(ptr noundef %217)
%219 = load ptr, ptr %7, align 8
%220 = call i32 @free(ptr noundef %219)
%221 = load ptr, ptr %8, align 8
%222 = call i32 @free(ptr noundef %221)
%223 = call ptr @getenv(ptr noundef @.str.21)
%224 = icmp eq ptr null, %223
br i1 %224, label %225, label %230
225: ; preds = %216
%226 = getelementptr inbounds [4096 x i8], ptr %13, i64 0, i64 0
%227 = call i32 @execlp(ptr noundef @.str.22, ptr noundef @.str.22, ptr noundef @.str.23, ptr noundef %226, ptr noundef null)
%228 = load i32, ptr @stderr, align 4
%229 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %228, ptr noundef @.str.24)
store i32 1, ptr %3, align 4
br label %239
230: ; preds = %216
%231 = getelementptr inbounds [4096 x i8], ptr %13, i64 0, i64 0
%232 = call i32 @printf(ptr noundef @.str.25, ptr noundef %231)
store i32 0, ptr %3, align 4
br label %239
233: ; preds = %213, %204, %160, %149, %138, %126, %115, %103, %93, %80, %67, %36, %26, %19
%234 = load ptr, ptr %7, align 8
%235 = call i32 @free(ptr noundef %234)
%236 = load ptr, ptr %8, align 8
%237 = call i32 @free(ptr noundef %236)
%238 = load i32, ptr %6, align 4
store i32 %238, ptr %3, align 4
br label %239
239: ; preds = %233, %230, %225
%240 = load i32, ptr %3, align 4
ret i32 %240
}
declare ptr @getenv(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare ptr @bgr_settings_get_base_dir(...) #1
declare ptr @bgr_shell_command_parse(ptr noundef) #1
declare ptr @bc_strdup_printf(ptr noundef, ptr noundef, ...) #1
declare ptr @bc_shell_quote(ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @access(ptr noundef, i32 noundef) #1
declare i64 @system(ptr noundef) #1
declare i64 @chdir(ptr noundef) #1
declare ptr @strerror(i32 noundef) #1
declare i64 @mkdir(ptr noundef, i32 noundef) #1
declare i64 @lexists(ptr noundef) #1
declare i64 @unlink(ptr noundef) #1
declare i64 @symlink(ptr noundef, ptr noundef) #1
declare ptr @bc_strdup(ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i64 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @execlp(ptr noundef, ptr noundef, ptr noundef, ptr noundef, 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp9yrzwjx8.c'
source_filename = "/tmp/tmp9yrzwjx8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mergeSort(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
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %30
11: ; preds = %3
%12 = load i32, ptr %5, align 4
%13 = load i32, ptr %6, align 4
%14 = load i32, ptr %5, align 4
%15 = sub nsw i32 %13, %14
%16 = sdiv i32 %15, 2
%17 = add nsw i32 %12, %16
store i32 %17, ptr %7, align 4
%18 = load ptr, ptr %4, align 8
%19 = load i32, ptr %5, align 4
%20 = load i32, ptr %7, align 4
call void @mergeSort(ptr noundef %18, i32 noundef %19, i32 noundef %20)
%21 = load ptr, ptr %4, align 8
%22 = load i32, ptr %7, align 4
%23 = add nsw i32 %22, 1
%24 = load i32, ptr %6, align 4
call void @mergeSort(ptr noundef %21, i32 noundef %23, i32 noundef %24)
%25 = load ptr, ptr %4, align 8
%26 = load i32, ptr %5, align 4
%27 = load i32, ptr %7, align 4
%28 = load i32, ptr %6, align 4
%29 = call i32 @merge(ptr noundef %25, i32 noundef %26, i32 noundef %27, i32 noundef %28)
br label %30
30: ; preds = %11, %3
ret void
}
declare i32 @merge(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9yrzwjx8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mergeSort(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
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %30
11: ; preds = %3
%12 = load i32, ptr %5, align 4
%13 = load i32, ptr %6, align 4
%14 = load i32, ptr %5, align 4
%15 = sub nsw i32 %13, %14
%16 = sdiv i32 %15, 2
%17 = add nsw i32 %12, %16
store i32 %17, ptr %7, align 4
%18 = load ptr, ptr %4, align 8
%19 = load i32, ptr %5, align 4
%20 = load i32, ptr %7, align 4
call void @mergeSort(ptr noundef %18, i32 noundef %19, i32 noundef %20)
%21 = load ptr, ptr %4, align 8
%22 = load i32, ptr %7, align 4
%23 = add nsw i32 %22, 1
%24 = load i32, ptr %6, align 4
call void @mergeSort(ptr noundef %21, i32 noundef %23, i32 noundef %24)
%25 = load ptr, ptr %4, align 8
%26 = load i32, ptr %5, align 4
%27 = load i32, ptr %7, align 4
%28 = load i32, ptr %6, align 4
%29 = call i32 @merge(ptr noundef %25, i32 noundef %26, i32 noundef %27, i32 noundef %28)
br label %30
30: ; preds = %11, %3
ret void
}
declare i32 @merge(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptczy_06x.c'
source_filename = "/tmp/tmptczy_06x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%d\0A%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store ptr %2, ptr %4, align 8
store ptr %3, ptr %5, align 8
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = call i32 @update(ptr noundef %7, ptr noundef %8)
%10 = load i32, ptr %2, align 4
%11 = load i32, ptr %3, align 4
%12 = call i32 @printf(ptr noundef @.str.1, i32 noundef %10, i32 noundef %11)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @update(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptczy_06x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%d\0A%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store ptr %2, ptr %4, align 8
store ptr %3, ptr %5, align 8
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = call i32 @update(ptr noundef %7, ptr noundef %8)
%10 = load i32, ptr %2, align 4
%11 = load i32, ptr %3, align 4
%12 = call i32 @printf(ptr noundef @.str.1, i32 noundef %10, i32 noundef %11)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @update(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxstvsj14.c'
source_filename = "/tmp/tmpxstvsj14.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hypre_qsort3i(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
store i32 %4, ptr %10, align 4
%13 = load i32, ptr %9, align 4
%14 = load i32, ptr %10, align 4
%15 = icmp sge i32 %13, %14
br i1 %15, label %16, label %17
16: ; preds = %5
br label %77
17: ; preds = %5
%18 = load ptr, ptr %6, align 8
%19 = load ptr, ptr %7, align 8
%20 = load ptr, ptr %8, align 8
%21 = load i32, ptr %9, align 4
%22 = load i32, ptr %9, align 4
%23 = load i32, ptr %10, align 4
%24 = add nsw i32 %22, %23
%25 = sdiv i32 %24, 2
%26 = call i32 @hypre_swap3i(ptr noundef %18, ptr noundef %19, ptr noundef %20, i32 noundef %21, i32 noundef %25)
%27 = load i32, ptr %9, align 4
store i32 %27, ptr %12, align 4
%28 = load i32, ptr %9, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %11, align 4
br label %30
30: ; preds = %55, %17
%31 = load i32, ptr %11, align 4
%32 = load i32, ptr %10, align 4
%33 = icmp sle i32 %31, %32
br i1 %33, label %34, label %58
34: ; preds = %30
%35 = load ptr, ptr %6, align 8
%36 = load i32, ptr %11, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i32, ptr %35, i64 %37
%39 = load i32, ptr %38, align 4
%40 = load ptr, ptr %6, align 8
%41 = load i32, ptr %9, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i32, ptr %40, i64 %42
%44 = load i32, ptr %43, align 4
%45 = icmp slt i32 %39, %44
br i1 %45, label %46, label %54
46: ; preds = %34
%47 = load ptr, ptr %6, align 8
%48 = load ptr, ptr %7, align 8
%49 = load ptr, ptr %8, align 8
%50 = load i32, ptr %12, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %12, align 4
%52 = load i32, ptr %11, align 4
%53 = call i32 @hypre_swap3i(ptr noundef %47, ptr noundef %48, ptr noundef %49, i32 noundef %51, i32 noundef %52)
br label %54
54: ; preds = %46, %34
br label %55
55: ; preds = %54
%56 = load i32, ptr %11, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %11, align 4
br label %30, !llvm.loop !6
58: ; preds = %30
%59 = load ptr, ptr %6, align 8
%60 = load ptr, ptr %7, align 8
%61 = load ptr, ptr %8, align 8
%62 = load i32, ptr %9, align 4
%63 = load i32, ptr %12, align 4
%64 = call i32 @hypre_swap3i(ptr noundef %59, ptr noundef %60, ptr noundef %61, i32 noundef %62, i32 noundef %63)
%65 = load ptr, ptr %6, align 8
%66 = load ptr, ptr %7, align 8
%67 = load ptr, ptr %8, align 8
%68 = load i32, ptr %9, align 4
%69 = load i32, ptr %12, align 4
%70 = sub nsw i32 %69, 1
call void @hypre_qsort3i(ptr noundef %65, ptr noundef %66, ptr noundef %67, i32 noundef %68, i32 noundef %70)
%71 = load ptr, ptr %6, align 8
%72 = load ptr, ptr %7, align 8
%73 = load ptr, ptr %8, align 8
%74 = load i32, ptr %12, align 4
%75 = add nsw i32 %74, 1
%76 = load i32, ptr %10, align 4
call void @hypre_qsort3i(ptr noundef %71, ptr noundef %72, ptr noundef %73, i32 noundef %75, i32 noundef %76)
br label %77
77: ; preds = %58, %16
ret void
}
declare i32 @hypre_swap3i(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxstvsj14.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hypre_qsort3i(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
store i32 %4, ptr %10, align 4
%13 = load i32, ptr %9, align 4
%14 = load i32, ptr %10, align 4
%15 = icmp sge i32 %13, %14
br i1 %15, label %16, label %17
16: ; preds = %5
br label %79
17: ; preds = %5
%18 = load ptr, ptr %6, align 8
%19 = load ptr, ptr %7, align 8
%20 = load ptr, ptr %8, align 8
%21 = load i32, ptr %9, align 4
%22 = load i32, ptr %9, align 4
%23 = load i32, ptr %10, align 4
%24 = add nsw i32 %22, %23
%25 = sdiv i32 %24, 2
%26 = call i32 @hypre_swap3i(ptr noundef %18, ptr noundef %19, ptr noundef %20, i32 noundef %21, i32 noundef %25)
%27 = load i32, ptr %9, align 4
store i32 %27, ptr %12, align 4
%28 = load i32, ptr %9, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %11, align 4
%30 = load i32, ptr %11, align 4
%31 = load i32, ptr %10, align 4
%32 = icmp sle i32 %30, %31
br i1 %32, label %.lr.ph, label %60
.lr.ph: ; preds = %17
br label %33
33: ; preds = %.lr.ph, %54
%34 = load ptr, ptr %6, align 8
%35 = load i32, ptr %11, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i32, ptr %34, i64 %36
%38 = load i32, ptr %37, align 4
%39 = load ptr, ptr %6, align 8
%40 = load i32, ptr %9, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i32, ptr %39, i64 %41
%43 = load i32, ptr %42, align 4
%44 = icmp slt i32 %38, %43
br i1 %44, label %45, label %53
45: ; preds = %33
%46 = load ptr, ptr %6, align 8
%47 = load ptr, ptr %7, align 8
%48 = load ptr, ptr %8, align 8
%49 = load i32, ptr %12, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %12, align 4
%51 = load i32, ptr %11, align 4
%52 = call i32 @hypre_swap3i(ptr noundef %46, ptr noundef %47, ptr noundef %48, i32 noundef %50, i32 noundef %51)
br label %53
53: ; preds = %45, %33
br label %54
54: ; preds = %53
%55 = load i32, ptr %11, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %11, align 4
%57 = load i32, ptr %11, align 4
%58 = load i32, ptr %10, align 4
%59 = icmp sle i32 %57, %58
br i1 %59, label %33, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %54
br label %60
60: ; preds = %._crit_edge, %17
%61 = load ptr, ptr %6, align 8
%62 = load ptr, ptr %7, align 8
%63 = load ptr, ptr %8, align 8
%64 = load i32, ptr %9, align 4
%65 = load i32, ptr %12, align 4
%66 = call i32 @hypre_swap3i(ptr noundef %61, ptr noundef %62, ptr noundef %63, i32 noundef %64, i32 noundef %65)
%67 = load ptr, ptr %6, align 8
%68 = load ptr, ptr %7, align 8
%69 = load ptr, ptr %8, align 8
%70 = load i32, ptr %9, align 4
%71 = load i32, ptr %12, align 4
%72 = sub nsw i32 %71, 1
call void @hypre_qsort3i(ptr noundef %67, ptr noundef %68, ptr noundef %69, i32 noundef %70, i32 noundef %72)
%73 = load ptr, ptr %6, align 8
%74 = load ptr, ptr %7, align 8
%75 = load ptr, ptr %8, align 8
%76 = load i32, ptr %12, align 4
%77 = add nsw i32 %76, 1
%78 = load i32, ptr %10, align 4
call void @hypre_qsort3i(ptr noundef %73, ptr noundef %74, ptr noundef %75, i32 noundef %77, i32 noundef %78)
br label %79
79: ; preds = %60, %16
ret void
}
declare i32 @hypre_swap3i(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpyjyrij0l.c'
source_filename = "/tmp/tmpyjyrij0l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isPrime(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 %6, 2
br i1 %7, label %8, label %9
8: ; preds = %1
store i32 0, ptr %2, align 4
br label %37
9: ; preds = %1
%10 = load i32, ptr %3, align 4
%11 = icmp eq i32 %10, 2
br i1 %11, label %12, label %13
12: ; preds = %9
store i32 1, ptr %2, align 4
br label %37
13: ; preds = %9
%14 = load i32, ptr %3, align 4
%15 = srem i32 %14, 2
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %13
store i32 0, ptr %2, align 4
br label %37
18: ; preds = %13
br label %19
19: ; preds = %18
br label %20
20: ; preds = %19
%21 = load i32, ptr %3, align 4
%22 = call i32 @sqrt(i32 noundef %21)
store i32 %22, ptr %4, align 4
store i32 3, ptr %5, align 4
br label %23
23: ; preds = %33, %20
%24 = load i32, ptr %5, align 4
%25 = load i32, ptr %4, align 4
%26 = icmp sle i32 %24, %25
br i1 %26, label %27, label %36
27: ; preds = %23
%28 = load i32, ptr %3, align 4
%29 = load i32, ptr %5, align 4
%30 = srem i32 %28, %29
%31 = icmp eq i32 %30, 0
br i1 %31, label %32, label %33
32: ; preds = %27
store i32 0, ptr %2, align 4
br label %37
33: ; preds = %27
%34 = load i32, ptr %5, align 4
%35 = add nsw i32 %34, 2
store i32 %35, ptr %5, align 4
br label %23, !llvm.loop !6
36: ; preds = %23
store i32 1, ptr %2, align 4
br label %37
37: ; preds = %36, %32, %17, %12, %8
%38 = load i32, ptr %2, align 4
ret i32 %38
}
declare i32 @sqrt(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/tmpyjyrij0l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isPrime(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 %6, 2
br i1 %7, label %8, label %9
8: ; preds = %1
store i32 0, ptr %2, align 4
br label %39
9: ; preds = %1
%10 = load i32, ptr %3, align 4
%11 = icmp eq i32 %10, 2
br i1 %11, label %12, label %13
12: ; preds = %9
store i32 1, ptr %2, align 4
br label %39
13: ; preds = %9
%14 = load i32, ptr %3, align 4
%15 = srem i32 %14, 2
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %13
store i32 0, ptr %2, align 4
br label %39
18: ; preds = %13
br label %19
19: ; preds = %18
br label %20
20: ; preds = %19
%21 = load i32, ptr %3, align 4
%22 = call i32 @sqrt(i32 noundef %21)
store i32 %22, ptr %4, align 4
store i32 3, ptr %5, align 4
%23 = load i32, ptr %5, align 4
%24 = load i32, ptr %4, align 4
%25 = icmp sle i32 %23, %24
br i1 %25, label %.lr.ph, label %38
.lr.ph: ; preds = %20
br label %26
26: ; preds = %.lr.ph, %32
%27 = load i32, ptr %3, align 4
%28 = load i32, ptr %5, align 4
%29 = srem i32 %27, %28
%30 = icmp eq i32 %29, 0
br i1 %30, label %31, label %32
31: ; preds = %26
store i32 0, ptr %2, align 4
br label %39
32: ; preds = %26
%33 = load i32, ptr %5, align 4
%34 = add nsw i32 %33, 2
store i32 %34, ptr %5, align 4
%35 = load i32, ptr %5, align 4
%36 = load i32, ptr %4, align 4
%37 = icmp sle i32 %35, %36
br i1 %37, label %26, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %32
br label %38
38: ; preds = %._crit_edge, %20
store i32 1, ptr %2, align 4
br label %39
39: ; preds = %38, %31, %17, %12, %8
%40 = load i32, ptr %2, align 4
ret i32 %40
}
declare i32 @sqrt(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/tmp7xt515ro.c'
source_filename = "/tmp/tmp7xt515ro.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@RAND_MAX = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @rand_d() #0 {
%1 = call i64 (...) @rand()
%2 = sitofp i64 %1 to double
%3 = load i64, ptr @RAND_MAX, align 8
%4 = sitofp i64 %3 to double
%5 = fdiv double %2, %4
ret double %5
}
declare i64 @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/tmp7xt515ro.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@RAND_MAX = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @rand_d() #0 {
%1 = call i64 (...) @rand()
%2 = sitofp i64 %1 to double
%3 = load i64, ptr @RAND_MAX, align 8
%4 = sitofp i64 %3 to double
%5 = fdiv double %2, %4
ret double %5
}
declare i64 @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/tmpmucdrbon.c'
source_filename = "/tmp/tmpmucdrbon.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = load ptr, ptr %5, align 8
%8 = call i32 @init(i32 noundef %6, ptr noundef %7)
%9 = call i32 (...) @process()
%10 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @init(i32 noundef, ptr noundef) #1
declare i32 @process(...) #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/tmpmucdrbon.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = load ptr, ptr %5, align 8
%8 = call i32 @init(i32 noundef %6, ptr noundef %7)
%9 = call i32 (...) @process()
%10 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @init(i32 noundef, ptr noundef) #1
declare i32 @process(...) #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/tmp07idbykc.c'
source_filename = "/tmp/tmp07idbykc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @VIM_IPP_GetDispalyWindowSize(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = call zeroext i16 @VIM_HIF_GetReg16(i32 noundef 7182)
%6 = load ptr, ptr %3, align 8
store i16 %5, ptr %6, align 2
%7 = call zeroext i16 @VIM_HIF_GetReg16(i32 noundef 7184)
%8 = load ptr, ptr %4, align 8
store i16 %7, ptr %8, align 2
ret void
}
declare zeroext i16 @VIM_HIF_GetReg16(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/tmp07idbykc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @VIM_IPP_GetDispalyWindowSize(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = call zeroext i16 @VIM_HIF_GetReg16(i32 noundef 7182)
%6 = load ptr, ptr %3, align 8
store i16 %5, ptr %6, align 2
%7 = call zeroext i16 @VIM_HIF_GetReg16(i32 noundef 7184)
%8 = load ptr, ptr %4, align 8
store i16 %7, ptr %8, align 2
ret void
}
declare zeroext i16 @VIM_HIF_GetReg16(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/tmpjndaz1oo.c'
source_filename = "/tmp/tmpjndaz1oo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c">\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @io_prompt() #0 {
%1 = call i32 @io_print(ptr noundef @.str)
ret void
}
declare i32 @io_print(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjndaz1oo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c">\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @io_prompt() #0 {
%1 = call i32 @io_print(ptr noundef @.str)
ret void
}
declare i32 @io_print(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.