llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
|---|---|
; ModuleID = '/tmp/tmpbx2znq7m.c'
source_filename = "/tmp/tmpbx2znq7m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @COM_DefaultExtension(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = load i8, ptr %6, align 1
%8 = icmp ne i8 %7, 0
br i1 %8, label %10, label %9
9: ; preds = %2
br label %41
10: ; preds = %2
%11 = load ptr, ptr %3, align 8
%12 = load ptr, ptr %3, align 8
%13 = call i32 @strlen(ptr noundef %12)
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i8, ptr %11, i64 %14
%16 = getelementptr inbounds i8, ptr %15, i64 -1
store ptr %16, ptr %5, align 8
br label %17
17: ; preds = %34, %10
%18 = load ptr, ptr %5, align 8
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp ne i32 %20, 47
br i1 %21, label %22, label %26
22: ; preds = %17
%23 = load ptr, ptr %5, align 8
%24 = load ptr, ptr %3, align 8
%25 = icmp ne ptr %23, %24
br label %26
26: ; preds = %22, %17
%27 = phi i1 [ false, %17 ], [ %25, %22 ]
br i1 %27, label %28, label %37
28: ; preds = %26
%29 = load ptr, ptr %5, align 8
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp eq i32 %31, 46
br i1 %32, label %33, label %34
33: ; preds = %28
br label %41
34: ; preds = %28
%35 = load ptr, ptr %5, align 8
%36 = getelementptr inbounds i8, ptr %35, i32 -1
store ptr %36, ptr %5, align 8
br label %17, !llvm.loop !6
37: ; preds = %26
%38 = load ptr, ptr %3, align 8
%39 = load ptr, ptr %4, align 8
%40 = call i32 @strcat(ptr noundef %38, ptr noundef %39)
br label %41
41: ; preds = %37, %33, %9
ret void
}
declare i32 @strlen(ptr noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbx2znq7m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @COM_DefaultExtension(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = load i8, ptr %6, align 1
%8 = icmp ne i8 %7, 0
br i1 %8, label %10, label %9
9: ; preds = %2
br label %41
10: ; preds = %2
%11 = load ptr, ptr %3, align 8
%12 = load ptr, ptr %3, align 8
%13 = call i32 @strlen(ptr noundef %12)
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i8, ptr %11, i64 %14
%16 = getelementptr inbounds i8, ptr %15, i64 -1
store ptr %16, ptr %5, align 8
br label %17
17: ; preds = %34, %10
%18 = load ptr, ptr %5, align 8
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp ne i32 %20, 47
br i1 %21, label %22, label %26
22: ; preds = %17
%23 = load ptr, ptr %5, align 8
%24 = load ptr, ptr %3, align 8
%25 = icmp ne ptr %23, %24
br label %26
26: ; preds = %22, %17
%27 = phi i1 [ false, %17 ], [ %25, %22 ]
br i1 %27, label %28, label %37
28: ; preds = %26
%29 = load ptr, ptr %5, align 8
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp eq i32 %31, 46
br i1 %32, label %33, label %34
33: ; preds = %28
br label %41
34: ; preds = %28
%35 = load ptr, ptr %5, align 8
%36 = getelementptr inbounds i8, ptr %35, i32 -1
store ptr %36, ptr %5, align 8
br label %17, !llvm.loop !6
37: ; preds = %26
%38 = load ptr, ptr %3, align 8
%39 = load ptr, ptr %4, align 8
%40 = call i32 @strcat(ptr noundef %38, ptr noundef %39)
br label %41
41: ; preds = %37, %33, %9
ret void
}
declare i32 @strlen(ptr noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp2ncx3orp.c'
source_filename = "/tmp/tmp2ncx3orp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@db_bump_parent.sql = internal global ptr @.str, align 8
@.str = private unnamed_addr constant [83 x i8] c"UPDATE active_threads SET last_bump = %ld WHERE board_id = \22%s\22 AND post_id = %ld;\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @db_bump_parent(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
store i32 0, ptr %7, align 4
%9 = load ptr, ptr %4, align 8
%10 = load ptr, ptr %5, align 8
%11 = load i64, ptr %6, align 8
%12 = call i64 @db_active_status(ptr noundef %9, ptr noundef %10, i64 noundef %11)
%13 = icmp ne i64 %12, 0
br i1 %13, label %14, label %35
14: ; preds = %3
%15 = load ptr, ptr %4, align 8
%16 = load ptr, ptr %5, align 8
%17 = load i64, ptr %6, align 8
%18 = call i32 @db_total_posts(ptr noundef %15, ptr noundef %16, i64 noundef %17)
%19 = icmp sle i32 %18, 300
br i1 %19, label %20, label %34
20: ; preds = %14
%21 = load ptr, ptr @db_bump_parent.sql, align 8
%22 = call i32 @time(ptr noundef null)
%23 = load ptr, ptr %5, align 8
%24 = load i64, ptr %6, align 8
%25 = call ptr @sql_generate(ptr noundef %21, i32 noundef %22, ptr noundef %23, i64 noundef %24)
store ptr %25, ptr %8, align 8
%26 = load ptr, ptr %4, align 8
%27 = load ptr, ptr %8, align 8
%28 = call i32 @db_transaction(ptr noundef %26, ptr noundef %27)
%29 = icmp ne i32 %28, 0
%30 = xor i1 %29, true
%31 = zext i1 %30 to i32
store i32 %31, ptr %7, align 4
%32 = load ptr, ptr %8, align 8
%33 = call i32 @free(ptr noundef %32)
br label %34
34: ; preds = %20, %14
br label %35
35: ; preds = %34, %3
%36 = load i32, ptr %7, align 4
ret i32 %36
}
declare i64 @db_active_status(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @db_total_posts(ptr noundef, ptr noundef, i64 noundef) #1
declare ptr @sql_generate(ptr noundef, i32 noundef, ptr noundef, i64 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @db_transaction(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2ncx3orp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@db_bump_parent.sql = internal global ptr @.str, align 8
@.str = private unnamed_addr constant [83 x i8] c"UPDATE active_threads SET last_bump = %ld WHERE board_id = \22%s\22 AND post_id = %ld;\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @db_bump_parent(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
store i32 0, ptr %7, align 4
%9 = load ptr, ptr %4, align 8
%10 = load ptr, ptr %5, align 8
%11 = load i64, ptr %6, align 8
%12 = call i64 @db_active_status(ptr noundef %9, ptr noundef %10, i64 noundef %11)
%13 = icmp ne i64 %12, 0
br i1 %13, label %14, label %35
14: ; preds = %3
%15 = load ptr, ptr %4, align 8
%16 = load ptr, ptr %5, align 8
%17 = load i64, ptr %6, align 8
%18 = call i32 @db_total_posts(ptr noundef %15, ptr noundef %16, i64 noundef %17)
%19 = icmp sle i32 %18, 300
br i1 %19, label %20, label %34
20: ; preds = %14
%21 = load ptr, ptr @db_bump_parent.sql, align 8
%22 = call i32 @time(ptr noundef null)
%23 = load ptr, ptr %5, align 8
%24 = load i64, ptr %6, align 8
%25 = call ptr @sql_generate(ptr noundef %21, i32 noundef %22, ptr noundef %23, i64 noundef %24)
store ptr %25, ptr %8, align 8
%26 = load ptr, ptr %4, align 8
%27 = load ptr, ptr %8, align 8
%28 = call i32 @db_transaction(ptr noundef %26, ptr noundef %27)
%29 = icmp ne i32 %28, 0
%30 = xor i1 %29, true
%31 = zext i1 %30 to i32
store i32 %31, ptr %7, align 4
%32 = load ptr, ptr %8, align 8
%33 = call i32 @free(ptr noundef %32)
br label %34
34: ; preds = %20, %14
br label %35
35: ; preds = %34, %3
%36 = load i32, ptr %7, align 4
ret i32 %36
}
declare i64 @db_active_status(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @db_total_posts(ptr noundef, ptr noundef, i64 noundef) #1
declare ptr @sql_generate(ptr noundef, i32 noundef, ptr noundef, i64 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @db_transaction(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpy5azum74.c'
source_filename = "/tmp/tmpy5azum74.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ssds_item_id(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
%10 = load ptr, ptr %8, align 8
%11 = load i32, ptr %7, align 4
%12 = add nsw i32 %11, 1
%13 = call i32 @sprintf(ptr noundef %10, ptr noundef @.str, i32 noundef %12)
store i32 %13, ptr %9, align 4
%14 = load i32, ptr %9, align 4
ret i32 %14
}
declare i32 @sprintf(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/tmpy5azum74.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ssds_item_id(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
%10 = load ptr, ptr %8, align 8
%11 = load i32, ptr %7, align 4
%12 = add nsw i32 %11, 1
%13 = call i32 @sprintf(ptr noundef %10, ptr noundef @.str, i32 noundef %12)
store i32 %13, ptr %9, align 4
%14 = load i32, ptr %9, align 4
ret i32 %14
}
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_jgaioqu.c'
source_filename = "/tmp/tmp_jgaioqu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @KeccakF200_StateInitialize(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 @memset(ptr noundef %3, i32 noundef 0, i32 noundef 25)
ret void
}
declare i32 @memset(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/tmp_jgaioqu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @KeccakF200_StateInitialize(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 @memset(ptr noundef %3, i32 noundef 0, i32 noundef 25)
ret void
}
declare i32 @memset(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/tmpy8vuxl42.c'
source_filename = "/tmp/tmpy8vuxl42.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, i32, i32 }
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [24 x i8] c"Failed to create socket\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"inet_pton error occured\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"Connection failed\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @connectDVR(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca %struct.sockaddr_in, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = load i32, ptr @AF_INET, align 4
%8 = load i32, ptr @SOCK_STREAM, align 4
%9 = call i32 @socket(i32 noundef %7, i32 noundef %8, i32 noundef 0)
store i32 %9, ptr %5, align 4
%10 = icmp slt i32 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %2
%12 = call i32 @error(ptr noundef @.str)
br label %13
13: ; preds = %11, %2
%14 = call i32 @memset(ptr noundef %6, i32 noundef 48, i32 noundef 12)
%15 = load i32, ptr @AF_INET, align 4
%16 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 2
store i32 %15, ptr %16, align 4
%17 = load i32, ptr %4, align 4
%18 = call i32 @htons(i32 noundef %17)
%19 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 1
store i32 %18, ptr %19, align 4
%20 = load i32, ptr @AF_INET, align 4
%21 = load ptr, ptr %3, align 8
%22 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 0
%23 = call i64 @inet_pton(i32 noundef %20, ptr noundef %21, ptr noundef %22)
%24 = icmp sle i64 %23, 0
br i1 %24, label %25, label %27
25: ; preds = %13
%26 = call i32 @error(ptr noundef @.str.1)
br label %27
27: ; preds = %25, %13
%28 = load i32, ptr %5, align 4
%29 = call i64 @connect(i32 noundef %28, ptr noundef %6, i32 noundef 12)
%30 = icmp slt i64 %29, 0
br i1 %30, label %31, label %33
31: ; preds = %27
%32 = call i32 @error(ptr noundef @.str.2)
br label %33
33: ; preds = %31, %27
%34 = load i32, ptr %5, align 4
ret i32 %34
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @error(ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i64 @inet_pton(i32 noundef, ptr noundef, ptr noundef) #1
declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy8vuxl42.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, i32, i32 }
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [24 x i8] c"Failed to create socket\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"inet_pton error occured\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"Connection failed\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @connectDVR(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca %struct.sockaddr_in, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = load i32, ptr @AF_INET, align 4
%8 = load i32, ptr @SOCK_STREAM, align 4
%9 = call i32 @socket(i32 noundef %7, i32 noundef %8, i32 noundef 0)
store i32 %9, ptr %5, align 4
%10 = icmp slt i32 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %2
%12 = call i32 @error(ptr noundef @.str)
br label %13
13: ; preds = %11, %2
%14 = call i32 @memset(ptr noundef %6, i32 noundef 48, i32 noundef 12)
%15 = load i32, ptr @AF_INET, align 4
%16 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 2
store i32 %15, ptr %16, align 4
%17 = load i32, ptr %4, align 4
%18 = call i32 @htons(i32 noundef %17)
%19 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 1
store i32 %18, ptr %19, align 4
%20 = load i32, ptr @AF_INET, align 4
%21 = load ptr, ptr %3, align 8
%22 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 0
%23 = call i64 @inet_pton(i32 noundef %20, ptr noundef %21, ptr noundef %22)
%24 = icmp sle i64 %23, 0
br i1 %24, label %25, label %27
25: ; preds = %13
%26 = call i32 @error(ptr noundef @.str.1)
br label %27
27: ; preds = %25, %13
%28 = load i32, ptr %5, align 4
%29 = call i64 @connect(i32 noundef %28, ptr noundef %6, i32 noundef 12)
%30 = icmp slt i64 %29, 0
br i1 %30, label %31, label %33
31: ; preds = %27
%32 = call i32 @error(ptr noundef @.str.2)
br label %33
33: ; preds = %31, %27
%34 = load i32, ptr %5, align 4
ret i32 %34
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @error(ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i64 @inet_pton(i32 noundef, ptr noundef, ptr noundef) #1
declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfp74ztnt.c'
source_filename = "/tmp/tmpfp74ztnt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strlen(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %11, %1
%5 = load ptr, ptr %2, align 8
%6 = load i32, ptr %3, align 4
%7 = zext i32 %6 to i64
%8 = getelementptr inbounds i8, ptr %5, i64 %7
%9 = load i8, ptr %8, align 1
%10 = icmp ne i8 %9, 0
br i1 %10, label %11, label %14
11: ; preds = %4
%12 = load i32, ptr %3, align 4
%13 = add i32 %12, 1
store i32 %13, ptr %3, align 4
br label %4, !llvm.loop !6
14: ; preds = %4
%15 = load i32, ptr %3, align 4
ret i32 %15
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpfp74ztnt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strlen(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%4 = load ptr, ptr %2, align 8
%5 = load i32, ptr %3, align 4
%6 = zext i32 %5 to i64
%7 = getelementptr inbounds i8, ptr %4, i64 %6
%8 = load i8, ptr %7, align 1
%9 = icmp ne i8 %8, 0
br i1 %9, label %.lr.ph, label %19
.lr.ph: ; preds = %1
br label %10
10: ; preds = %.lr.ph, %10
%11 = load i32, ptr %3, align 4
%12 = add i32 %11, 1
store i32 %12, ptr %3, align 4
%13 = load ptr, ptr %2, align 8
%14 = load i32, ptr %3, align 4
%15 = zext i32 %14 to i64
%16 = getelementptr inbounds i8, ptr %13, i64 %15
%17 = load i8, ptr %16, align 1
%18 = icmp ne i8 %17, 0
br i1 %18, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %10
br label %19
19: ; preds = %._crit_edge, %1
%20 = load i32, ptr %3, align 4
ret i32 %20
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpni8k1ytc.c'
source_filename = "/tmp/tmpni8k1ytc.c"
target datalayout = "e-m:e-p270: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.WebRtcG722_Version.version = private unnamed_addr constant [30 x i8] c"2.0.0\0A\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @WebRtcG722_Version(ptr noundef %0, i16 noundef signext %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i16, align 2
%6 = alloca [30 x i8], align 16
store ptr %0, ptr %4, align 8
store i16 %1, ptr %5, align 2
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.WebRtcG722_Version.version, i64 30, i1 false)
%7 = getelementptr inbounds [30 x i8], ptr %6, i64 0, i64 0
%8 = call i32 @strlen(ptr noundef %7)
%9 = load i16, ptr %5, align 2
%10 = sext i16 %9 to i32
%11 = icmp ult i32 %8, %10
br i1 %11, label %12, label %16
12: ; preds = %2
%13 = load ptr, ptr %4, align 8
%14 = getelementptr inbounds [30 x i8], ptr %6, i64 0, i64 0
%15 = call i32 @strcpy(ptr noundef %13, ptr noundef %14)
store i32 0, ptr %3, align 4
br label %17
16: ; preds = %2
store i32 -1, ptr %3, align 4
br label %17
17: ; preds = %16, %12
%18 = load i32, ptr %3, 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 @strlen(ptr noundef) #2
declare i32 @strcpy(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: 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/tmpni8k1ytc.c"
target datalayout = "e-m:e-p270: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.WebRtcG722_Version.version = private unnamed_addr constant [30 x i8] c"2.0.0\0A\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @WebRtcG722_Version(ptr noundef %0, i16 noundef signext %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i16, align 2
%6 = alloca [30 x i8], align 16
store ptr %0, ptr %4, align 8
store i16 %1, ptr %5, align 2
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.WebRtcG722_Version.version, i64 30, i1 false)
%7 = getelementptr inbounds [30 x i8], ptr %6, i64 0, i64 0
%8 = call i32 @strlen(ptr noundef %7)
%9 = load i16, ptr %5, align 2
%10 = sext i16 %9 to i32
%11 = icmp ult i32 %8, %10
br i1 %11, label %12, label %16
12: ; preds = %2
%13 = load ptr, ptr %4, align 8
%14 = getelementptr inbounds [30 x i8], ptr %6, i64 0, i64 0
%15 = call i32 @strcpy(ptr noundef %13, ptr noundef %14)
store i32 0, ptr %3, align 4
br label %17
16: ; preds = %2
store i32 -1, ptr %3, align 4
br label %17
17: ; preds = %16, %12
%18 = load i32, ptr %3, 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 @strlen(ptr noundef) #2
declare i32 @strcpy(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: 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/tmp43pejr5d.c'
source_filename = "/tmp/tmp43pejr5d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/etc/dvswitchrc\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"HOME\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"/.dvswitchrc\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @dvswitch_read_config(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @read_config(ptr noundef @.str, ptr noundef %5)
%7 = call ptr @getenv(ptr noundef @.str.1)
store ptr %7, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %18
10: ; preds = %1
%11 = load ptr, ptr %3, align 8
%12 = call ptr @string_join(ptr noundef %11, ptr noundef @.str.2)
store ptr %12, ptr %4, align 8
%13 = load ptr, ptr %4, align 8
%14 = load ptr, ptr %2, align 8
%15 = call i32 @read_config(ptr noundef %13, ptr noundef %14)
%16 = load ptr, ptr %4, align 8
%17 = call i32 @free(ptr noundef %16)
br label %18
18: ; preds = %10, %1
ret void
}
declare i32 @read_config(ptr noundef, ptr noundef) #1
declare ptr @getenv(ptr noundef) #1
declare ptr @string_join(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp43pejr5d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/etc/dvswitchrc\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"HOME\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"/.dvswitchrc\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @dvswitch_read_config(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @read_config(ptr noundef @.str, ptr noundef %5)
%7 = call ptr @getenv(ptr noundef @.str.1)
store ptr %7, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %18
10: ; preds = %1
%11 = load ptr, ptr %3, align 8
%12 = call ptr @string_join(ptr noundef %11, ptr noundef @.str.2)
store ptr %12, ptr %4, align 8
%13 = load ptr, ptr %4, align 8
%14 = load ptr, ptr %2, align 8
%15 = call i32 @read_config(ptr noundef %13, ptr noundef %14)
%16 = load ptr, ptr %4, align 8
%17 = call i32 @free(ptr noundef %16)
br label %18
18: ; preds = %10, %1
ret void
}
declare i32 @read_config(ptr noundef, ptr noundef) #1
declare ptr @getenv(ptr noundef) #1
declare ptr @string_join(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbo1v8qp9.c'
source_filename = "/tmp/tmpbo1v8qp9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @do_exit() #0 {
%1 = call i32 (...) @restore_term()
%2 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @restore_term(...) #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/tmpbo1v8qp9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @do_exit() #0 {
%1 = call i32 (...) @restore_term()
%2 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @restore_term(...) #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/tmp1k702ufu.c'
source_filename = "/tmp/tmp1k702ufu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%ld,\09\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @varify(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%8 = load i64, ptr %3, align 8
%9 = srem i64 %8, 2
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %14
11: ; preds = %2
%12 = load i64, ptr %3, align 8
%13 = add nsw i64 %12, 1
store i64 %13, ptr %5, align 8
br label %16
14: ; preds = %2
%15 = load i64, ptr %3, align 8
store i64 %15, ptr %5, align 8
br label %16
16: ; preds = %14, %11
%17 = load i64, ptr %5, align 8
store i64 %17, ptr %3, align 8
br label %18
18: ; preds = %45, %16
%19 = load i64, ptr %3, align 8
%20 = load i64, ptr %4, align 8
%21 = icmp sle i64 %19, %20
br i1 %21, label %22, label %48
22: ; preds = %18
store i64 1, ptr %7, align 8
store i64 3, ptr %6, align 8
br label %23
23: ; preds = %35, %22
%24 = load i64, ptr %6, align 8
%25 = load i64, ptr %3, align 8
%26 = sdiv i64 %25, 3
%27 = icmp sle i64 %24, %26
br i1 %27, label %28, label %38
28: ; preds = %23
%29 = load i64, ptr %3, align 8
%30 = load i64, ptr %6, align 8
%31 = srem i64 %29, %30
%32 = icmp eq i64 %31, 0
br i1 %32, label %33, label %34
33: ; preds = %28
store i64 0, ptr %7, align 8
br label %34
34: ; preds = %33, %28
br label %35
35: ; preds = %34
%36 = load i64, ptr %6, align 8
%37 = add nsw i64 %36, 2
store i64 %37, ptr %6, align 8
br label %23, !llvm.loop !6
38: ; preds = %23
%39 = load i64, ptr %7, align 8
%40 = icmp eq i64 %39, 1
br i1 %40, label %41, label %44
41: ; preds = %38
%42 = load i64, ptr %3, align 8
%43 = call i32 @printf(ptr noundef @.str, i64 noundef %42)
br label %44
44: ; preds = %41, %38
br label %45
45: ; preds = %44
%46 = load i64, ptr %3, align 8
%47 = add nsw i64 %46, 2
store i64 %47, ptr %3, align 8
br label %18, !llvm.loop !8
48: ; preds = %18
ret void
}
declare i32 @printf(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1k702ufu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%ld,\09\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @varify(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%8 = load i64, ptr %3, align 8
%9 = srem i64 %8, 2
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %14
11: ; preds = %2
%12 = load i64, ptr %3, align 8
%13 = add nsw i64 %12, 1
store i64 %13, ptr %5, align 8
br label %16
14: ; preds = %2
%15 = load i64, ptr %3, align 8
store i64 %15, ptr %5, align 8
br label %16
16: ; preds = %14, %11
%17 = load i64, ptr %5, align 8
store i64 %17, ptr %3, align 8
%18 = load i64, ptr %3, align 8
%19 = load i64, ptr %4, align 8
%20 = icmp sle i64 %18, %19
br i1 %20, label %.lr.ph2, label %53
.lr.ph2: ; preds = %16
br label %21
21: ; preds = %.lr.ph2, %47
store i64 1, ptr %7, align 8
store i64 3, ptr %6, align 8
%22 = load i64, ptr %6, align 8
%23 = load i64, ptr %3, align 8
%24 = sdiv i64 %23, 3
%25 = icmp sle i64 %22, %24
br i1 %25, label %.lr.ph, label %40
.lr.ph: ; preds = %21
br label %26
26: ; preds = %.lr.ph, %33
%27 = load i64, ptr %3, align 8
%28 = load i64, ptr %6, align 8
%29 = srem i64 %27, %28
%30 = icmp eq i64 %29, 0
br i1 %30, label %31, label %32
31: ; preds = %26
store i64 0, ptr %7, align 8
br label %32
32: ; preds = %31, %26
br label %33
33: ; preds = %32
%34 = load i64, ptr %6, align 8
%35 = add nsw i64 %34, 2
store i64 %35, ptr %6, align 8
%36 = load i64, ptr %6, align 8
%37 = load i64, ptr %3, align 8
%38 = sdiv i64 %37, 3
%39 = icmp sle i64 %36, %38
br i1 %39, label %26, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %33
br label %40
40: ; preds = %._crit_edge, %21
%41 = load i64, ptr %7, align 8
%42 = icmp eq i64 %41, 1
br i1 %42, label %43, label %46
43: ; preds = %40
%44 = load i64, ptr %3, align 8
%45 = call i32 @printf(ptr noundef @.str, i64 noundef %44)
br label %46
46: ; preds = %43, %40
br label %47
47: ; preds = %46
%48 = load i64, ptr %3, align 8
%49 = add nsw i64 %48, 2
store i64 %49, ptr %3, align 8
%50 = load i64, ptr %3, align 8
%51 = load i64, ptr %4, align 8
%52 = icmp sle i64 %50, %51
br i1 %52, label %21, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %47
br label %53
53: ; preds = %._crit_edge3, %16
ret void
}
declare i32 @printf(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpiod0u0qe.c'
source_filename = "/tmp/tmpiod0u0qe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%f %f\00", align 1
@.str.1 = private unnamed_addr constant [56 x i8] c"The area of (%.4f,%.4f), (%.4f,0) and (0,%.4f) is %.4f.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
store i32 0, ptr %1, align 4
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
%6 = load float, ptr %2, align 4
%7 = load float, ptr %3, align 4
%8 = fmul float %6, %7
%9 = fdiv float %8, 2.000000e+00
store float %9, ptr %4, align 4
%10 = load float, ptr %2, align 4
%11 = load float, ptr %3, align 4
%12 = load float, ptr %2, align 4
%13 = load float, ptr %3, align 4
%14 = load float, ptr %4, align 4
%15 = call i32 @printf(ptr noundef @.str.1, float noundef %10, float noundef %11, float noundef %12, float noundef %13, float noundef %14)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, float noundef, float noundef, float noundef, float noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpiod0u0qe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%f %f\00", align 1
@.str.1 = private unnamed_addr constant [56 x i8] c"The area of (%.4f,%.4f), (%.4f,0) and (0,%.4f) is %.4f.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
store i32 0, ptr %1, align 4
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
%6 = load float, ptr %2, align 4
%7 = load float, ptr %3, align 4
%8 = fmul float %6, %7
%9 = fdiv float %8, 2.000000e+00
store float %9, ptr %4, align 4
%10 = load float, ptr %2, align 4
%11 = load float, ptr %3, align 4
%12 = load float, ptr %2, align 4
%13 = load float, ptr %3, align 4
%14 = load float, ptr %4, align 4
%15 = call i32 @printf(ptr noundef @.str.1, float noundef %10, float noundef %11, float noundef %12, float noundef %13, float noundef %14)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, float noundef, float noundef, float noundef, float noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpg64g4lon.c'
source_filename = "/tmp/tmpg64g4lon.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @INT_IT() #0 {
%1 = call i32 (...) @Handle1MsInterrupt()
ret void
}
declare i32 @Handle1MsInterrupt(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpg64g4lon.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @INT_IT() #0 {
%1 = call i32 (...) @Handle1MsInterrupt()
ret void
}
declare i32 @Handle1MsInterrupt(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphv4v6zr5.c'
source_filename = "/tmp/tmphv4v6zr5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 ptr @MmdQ81753274112731_br_build_path(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %8, align 4
%9 = load ptr, ptr %3, align 8
%10 = call i64 @strlen(ptr noundef %9)
store i64 %10, ptr %7, align 8
%11 = load i64, ptr %7, align 8
%12 = icmp ugt i64 %11, 0
br i1 %12, label %13, label %24
13: ; preds = %2
%14 = load ptr, ptr %3, align 8
%15 = load i64, ptr %7, align 8
%16 = sub i64 %15, 1
%17 = getelementptr inbounds i8, ptr %14, i64 %16
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = icmp ne i32 %19, 47
br i1 %20, label %21, label %24
21: ; preds = %13
%22 = load ptr, ptr %3, align 8
%23 = call ptr @MmdQ81753274112731_br_strcat(ptr noundef %22, ptr noundef @.str)
store ptr %23, ptr %5, align 8
store i32 1, ptr %8, align 4
br label %26
24: ; preds = %13, %2
%25 = load ptr, ptr %3, align 8
store ptr %25, ptr %5, align 8
br label %26
26: ; preds = %24, %21
%27 = load ptr, ptr %5, align 8
%28 = load ptr, ptr %4, align 8
%29 = call ptr @MmdQ81753274112731_br_strcat(ptr noundef %27, ptr noundef %28)
store ptr %29, ptr %6, align 8
%30 = load i32, ptr %8, align 4
%31 = icmp ne i32 %30, 0
br i1 %31, label %32, label %35
32: ; preds = %26
%33 = load ptr, ptr %5, align 8
%34 = call i32 @free(ptr noundef %33)
br label %35
35: ; preds = %32, %26
%36 = load ptr, ptr %6, align 8
ret ptr %36
}
declare i64 @strlen(ptr noundef) #1
declare ptr @MmdQ81753274112731_br_strcat(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmphv4v6zr5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 ptr @MmdQ81753274112731_br_build_path(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %8, align 4
%9 = load ptr, ptr %3, align 8
%10 = call i64 @strlen(ptr noundef %9)
store i64 %10, ptr %7, align 8
%11 = load i64, ptr %7, align 8
%12 = icmp ugt i64 %11, 0
br i1 %12, label %13, label %24
13: ; preds = %2
%14 = load ptr, ptr %3, align 8
%15 = load i64, ptr %7, align 8
%16 = sub i64 %15, 1
%17 = getelementptr inbounds i8, ptr %14, i64 %16
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = icmp ne i32 %19, 47
br i1 %20, label %21, label %24
21: ; preds = %13
%22 = load ptr, ptr %3, align 8
%23 = call ptr @MmdQ81753274112731_br_strcat(ptr noundef %22, ptr noundef @.str)
store ptr %23, ptr %5, align 8
store i32 1, ptr %8, align 4
br label %26
24: ; preds = %13, %2
%25 = load ptr, ptr %3, align 8
store ptr %25, ptr %5, align 8
br label %26
26: ; preds = %24, %21
%27 = load ptr, ptr %5, align 8
%28 = load ptr, ptr %4, align 8
%29 = call ptr @MmdQ81753274112731_br_strcat(ptr noundef %27, ptr noundef %28)
store ptr %29, ptr %6, align 8
%30 = load i32, ptr %8, align 4
%31 = icmp ne i32 %30, 0
br i1 %31, label %32, label %35
32: ; preds = %26
%33 = load ptr, ptr %5, align 8
%34 = call i32 @free(ptr noundef %33)
br label %35
35: ; preds = %32, %26
%36 = load ptr, ptr %6, align 8
ret ptr %36
}
declare i64 @strlen(ptr noundef) #1
declare ptr @MmdQ81753274112731_br_strcat(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnusxjmv4.c'
source_filename = "/tmp/tmpnusxjmv4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_rand(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %5, align 4
%9 = icmp sgt i32 %7, %8
br i1 %9, label %10, label %11
10: ; preds = %2
store i32 -1, ptr %3, align 4
br label %21
11: ; preds = %2
%12 = call i32 (...) @rand()
%13 = load i32, ptr %5, align 4
%14 = add nsw i32 %13, 1
%15 = load i32, ptr %4, align 4
%16 = sub nsw i32 %14, %15
%17 = srem i32 %12, %16
store i32 %17, ptr %6, align 4
%18 = load i32, ptr %6, align 4
%19 = load i32, ptr %4, align 4
%20 = add nsw i32 %18, %19
store i32 %20, ptr %3, align 4
br label %21
21: ; preds = %11, %10
%22 = load i32, ptr %3, align 4
ret i32 %22
}
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnusxjmv4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_rand(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %5, align 4
%9 = icmp sgt i32 %7, %8
br i1 %9, label %10, label %11
10: ; preds = %2
store i32 -1, ptr %3, align 4
br label %21
11: ; preds = %2
%12 = call i32 (...) @rand()
%13 = load i32, ptr %5, align 4
%14 = add nsw i32 %13, 1
%15 = load i32, ptr %4, align 4
%16 = sub nsw i32 %14, %15
%17 = srem i32 %12, %16
store i32 %17, ptr %6, align 4
%18 = load i32, ptr %6, align 4
%19 = load i32, ptr %4, align 4
%20 = add nsw i32 %18, %19
store i32 %20, ptr %3, align 4
br label %21
21: ; preds = %11, %10
%22 = load i32, ptr %3, align 4
ret i32 %22
}
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpr9yv4tod.c'
source_filename = "/tmp/tmpr9yv4tod.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%i\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @trap_Cvar_CopyValue_i(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @trap_Cvar_VariableValue(ptr noundef %6)
store i32 %7, ptr %5, align 4
%8 = load ptr, ptr %4, align 8
%9 = load i32, ptr %5, align 4
%10 = call i32 @va(ptr noundef @.str, i32 noundef %9)
%11 = call i32 @trap_Cvar_Set(ptr noundef %8, i32 noundef %10)
ret void
}
declare i32 @trap_Cvar_VariableValue(ptr noundef) #1
declare i32 @trap_Cvar_Set(ptr noundef, i32 noundef) #1
declare i32 @va(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/tmpr9yv4tod.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%i\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @trap_Cvar_CopyValue_i(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @trap_Cvar_VariableValue(ptr noundef %6)
store i32 %7, ptr %5, align 4
%8 = load ptr, ptr %4, align 8
%9 = load i32, ptr %5, align 4
%10 = call i32 @va(ptr noundef @.str, i32 noundef %9)
%11 = call i32 @trap_Cvar_Set(ptr noundef %8, i32 noundef %10)
ret void
}
declare i32 @trap_Cvar_VariableValue(ptr noundef) #1
declare i32 @trap_Cvar_Set(ptr noundef, i32 noundef) #1
declare i32 @va(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/tmpdakpv7kb.c'
source_filename = "/tmp/tmpdakpv7kb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %2, align 4
%3 = load i32, ptr %2, align 4
switch i32 %3, label %17 [
i32 0, label %4
i32 1, label %6
i32 2, label %15
]
4: ; preds = %0
%5 = call i32 @assert(i32 noundef 0)
br label %6
6: ; preds = %0, %4
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %2, align 4
%9 = load i32, ptr %2, align 4
%10 = load i32, ptr %2, align 4
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr %2, align 4
%13 = load i32, ptr %2, align 4
%14 = call i32 @foo(i32 noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef %10, i32 noundef %11, i32 noundef %12, i32 noundef %13)
br label %17
15: ; preds = %0
%16 = call i32 @assert(i32 noundef 0)
br label %17
17: ; preds = %15, %0, %6
ret i32 0
}
declare i32 @assert(i32 noundef) #1
declare i32 @foo(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdakpv7kb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %2, align 4
%3 = load i32, ptr %2, align 4
switch i32 %3, label %17 [
i32 0, label %4
i32 1, label %6
i32 2, label %15
]
4: ; preds = %0
%5 = call i32 @assert(i32 noundef 0)
br label %6
6: ; preds = %4, %0
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %2, align 4
%9 = load i32, ptr %2, align 4
%10 = load i32, ptr %2, align 4
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr %2, align 4
%13 = load i32, ptr %2, align 4
%14 = call i32 @foo(i32 noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef %10, i32 noundef %11, i32 noundef %12, i32 noundef %13)
br label %17
15: ; preds = %0
%16 = call i32 @assert(i32 noundef 0)
br label %17
17: ; preds = %15, %6, %0
ret i32 0
}
declare i32 @assert(i32 noundef) #1
declare i32 @foo(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_w2z6rr4.c'
source_filename = "/tmp/tmp_w2z6rr4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @number_mm() #0 {
%1 = call i32 (...) @random()
%2 = ashr i32 %1, 6
%3 = sext i32 %2 to i64
ret i64 %3
}
declare i32 @random(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!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_w2z6rr4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @number_mm() #0 {
%1 = call i32 (...) @random()
%2 = ashr i32 %1, 6
%3 = sext i32 %2 to i64
ret i64 %3
}
declare i32 @random(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpt8x4zzhr.c'
source_filename = "/tmp/tmpt8x4zzhr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32 }
@.str = private unnamed_addr constant [8 x i8] c"fuentes\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"UTF-8\00", align 1
@LC_ALL = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"idioma\00", align 1
@.str.4 = private unnamed_addr constant [12 x i8] c"Seleccionar\00", align 1
@.str.5 = private unnamed_addr constant [32 x i8] c"N\C3\BAmero de argumentos invalido\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca %struct.sockaddr_in, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%11 = call i32 @bind_textdomain_codeset(ptr noundef @.str, ptr noundef @.str.1)
%12 = load i32, ptr @LC_ALL, align 4
%13 = call i32 @setlocale(i32 noundef %12, ptr noundef @.str.2)
%14 = call i32 @bindtextdomain(ptr noundef @.str, ptr noundef @.str.3)
%15 = call i32 @textdomain(ptr noundef @.str)
%16 = load i32, ptr %3, align 4
%17 = icmp eq i32 %16, 3
br i1 %17, label %18, label %60
18: ; preds = %2
%19 = load ptr, ptr %4, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 1
%21 = load ptr, ptr %20, align 8
%22 = load ptr, ptr %4, align 8
%23 = getelementptr inbounds ptr, ptr %22, i64 2
%24 = load ptr, ptr %23, align 8
%25 = call i32 @connect_request(ptr noundef %5, ptr noundef %8, ptr noundef %21, ptr noundef %24)
%26 = call i32 @FD_ZERO(ptr noundef %9)
%27 = call i32 @FD_ZERO(ptr noundef %10)
%28 = call i32 @FD_SET(i32 noundef 0, ptr noundef %9)
%29 = load i32, ptr %5, align 4
%30 = call i32 @FD_SET(i32 noundef %29, ptr noundef %9)
%31 = load i32, ptr %5, align 4
store i32 %31, ptr %6, align 4
br label %32
32: ; preds = %18, %59
%33 = load i32, ptr %9, align 4
store i32 %33, ptr %10, align 4
%34 = load i32, ptr %6, align 4
%35 = add nsw i32 %34, 1
%36 = call i32 @select(i32 noundef %35, ptr noundef %10, ptr noundef null, ptr noundef null, ptr noundef null)
%37 = icmp eq i32 %36, -1
br i1 %37, label %38, label %42
38: ; preds = %32
%39 = call ptr @gettext(ptr noundef @.str.4)
%40 = call i32 @perror(ptr noundef %39)
%41 = call i32 @exit(i32 noundef 4) #3
unreachable
42: ; preds = %32
store i32 0, ptr %7, align 4
br label %43
43: ; preds = %56, %42
%44 = load i32, ptr %7, align 4
%45 = load i32, ptr %6, align 4
%46 = icmp sle i32 %44, %45
br i1 %46, label %47, label %59
47: ; preds = %43
%48 = load i32, ptr %7, align 4
%49 = call i64 @FD_ISSET(i32 noundef %48, ptr noundef %10)
%50 = icmp ne i64 %49, 0
br i1 %50, label %51, label %55
51: ; preds = %47
%52 = load i32, ptr %7, align 4
%53 = load i32, ptr %5, align 4
%54 = call i32 @send_recv(i32 noundef %52, i32 noundef %53)
br label %55
55: ; preds = %51, %47
br label %56
56: ; preds = %55
%57 = load i32, ptr %7, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %7, align 4
br label %43, !llvm.loop !6
59: ; preds = %43
br label %32
60: ; preds = %2
%61 = call ptr @gettext(ptr noundef @.str.5)
%62 = call i32 @printf(ptr noundef %61)
br label %63
63: ; preds = %60
ret i32 0
}
declare i32 @bind_textdomain_codeset(ptr noundef, ptr noundef) #1
declare i32 @setlocale(i32 noundef, ptr noundef) #1
declare i32 @bindtextdomain(ptr noundef, ptr noundef) #1
declare i32 @textdomain(ptr noundef) #1
declare i32 @connect_request(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @FD_ZERO(ptr noundef) #1
declare i32 @FD_SET(i32 noundef, ptr noundef) #1
declare i32 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare ptr @gettext(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @FD_ISSET(i32 noundef, ptr noundef) #1
declare i32 @send_recv(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" }
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/tmpt8x4zzhr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32 }
@.str = private unnamed_addr constant [8 x i8] c"fuentes\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"UTF-8\00", align 1
@LC_ALL = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"idioma\00", align 1
@.str.4 = private unnamed_addr constant [12 x i8] c"Seleccionar\00", align 1
@.str.5 = private unnamed_addr constant [32 x i8] c"N\C3\BAmero de argumentos invalido\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca %struct.sockaddr_in, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%11 = call i32 @bind_textdomain_codeset(ptr noundef @.str, ptr noundef @.str.1)
%12 = load i32, ptr @LC_ALL, align 4
%13 = call i32 @setlocale(i32 noundef %12, ptr noundef @.str.2)
%14 = call i32 @bindtextdomain(ptr noundef @.str, ptr noundef @.str.3)
%15 = call i32 @textdomain(ptr noundef @.str)
%16 = load i32, ptr %3, align 4
%17 = icmp eq i32 %16, 3
br i1 %17, label %18, label %66
18: ; preds = %2
%19 = load ptr, ptr %4, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 1
%21 = load ptr, ptr %20, align 8
%22 = load ptr, ptr %4, align 8
%23 = getelementptr inbounds ptr, ptr %22, i64 2
%24 = load ptr, ptr %23, align 8
%25 = call i32 @connect_request(ptr noundef %5, ptr noundef %8, ptr noundef %21, ptr noundef %24)
%26 = call i32 @FD_ZERO(ptr noundef %9)
%27 = call i32 @FD_ZERO(ptr noundef %10)
%28 = call i32 @FD_SET(i32 noundef 0, ptr noundef %9)
%29 = load i32, ptr %5, align 4
%30 = call i32 @FD_SET(i32 noundef %29, ptr noundef %9)
%31 = load i32, ptr %5, align 4
store i32 %31, ptr %6, align 4
%32 = load i32, ptr %9, align 4
store i32 %32, ptr %10, align 4
%33 = load i32, ptr %6, align 4
%34 = add nsw i32 %33, 1
%35 = call i32 @select(i32 noundef %34, ptr noundef %10, ptr noundef null, ptr noundef null, ptr noundef null)
%36 = icmp eq i32 %35, -1
br i1 %36, label %37, label %.lr.ph2
.lr.ph2: ; preds = %18
br label %41
._crit_edge3: ; preds = %60
br label %37
37: ; preds = %._crit_edge3, %18
%38 = call ptr @gettext(ptr noundef @.str.4)
%39 = call i32 @perror(ptr noundef %38)
%40 = call i32 @exit(i32 noundef 4) #3
unreachable
41: ; preds = %.lr.ph2, %60
store i32 0, ptr %7, align 4
%42 = load i32, ptr %7, align 4
%43 = load i32, ptr %6, align 4
%44 = icmp sle i32 %42, %43
br i1 %44, label %.lr.ph, label %60
.lr.ph: ; preds = %41
br label %45
45: ; preds = %.lr.ph, %54
%46 = load i32, ptr %7, align 4
%47 = call i64 @FD_ISSET(i32 noundef %46, ptr noundef %10)
%48 = icmp ne i64 %47, 0
br i1 %48, label %49, label %53
49: ; preds = %45
%50 = load i32, ptr %7, align 4
%51 = load i32, ptr %5, align 4
%52 = call i32 @send_recv(i32 noundef %50, i32 noundef %51)
br label %53
53: ; preds = %49, %45
br label %54
54: ; preds = %53
%55 = load i32, ptr %7, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %7, align 4
%57 = load i32, ptr %7, align 4
%58 = load i32, ptr %6, align 4
%59 = icmp sle i32 %57, %58
br i1 %59, label %45, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %54
br label %60
60: ; preds = %._crit_edge, %41
%61 = load i32, ptr %9, align 4
store i32 %61, ptr %10, align 4
%62 = load i32, ptr %6, align 4
%63 = add nsw i32 %62, 1
%64 = call i32 @select(i32 noundef %63, ptr noundef %10, ptr noundef null, ptr noundef null, ptr noundef null)
%65 = icmp eq i32 %64, -1
br i1 %65, label %._crit_edge3, label %41
66: ; preds = %2
%67 = call ptr @gettext(ptr noundef @.str.5)
%68 = call i32 @printf(ptr noundef %67)
br label %69
69: ; preds = %66
ret i32 0
}
declare i32 @bind_textdomain_codeset(ptr noundef, ptr noundef) #1
declare i32 @setlocale(i32 noundef, ptr noundef) #1
declare i32 @bindtextdomain(ptr noundef, ptr noundef) #1
declare i32 @textdomain(ptr noundef) #1
declare i32 @connect_request(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @FD_ZERO(ptr noundef) #1
declare i32 @FD_SET(i32 noundef, ptr noundef) #1
declare i32 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare ptr @gettext(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @FD_ISSET(i32 noundef, ptr noundef) #1
declare i32 @send_recv(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" }
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/tmp9byyea4c.c'
source_filename = "/tmp/tmp9byyea4c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @chacha_avx_crypto_stream(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%9 = load ptr, ptr %5, align 8
%10 = load i64, ptr %6, align 8
%11 = call i32 @memset(ptr noundef %9, i32 noundef 0, i64 noundef %10)
%12 = load ptr, ptr %5, align 8
%13 = load ptr, ptr %5, align 8
%14 = load i64, ptr %6, align 8
%15 = load ptr, ptr %7, align 8
%16 = load ptr, ptr %8, align 8
%17 = call i32 @chacha_avx_crypto_stream_xor(ptr noundef %12, ptr noundef %13, i64 noundef %14, ptr noundef %15, ptr noundef %16)
ret i32 %17
}
declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) #1
declare i32 @chacha_avx_crypto_stream_xor(ptr noundef, ptr noundef, i64 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/tmp9byyea4c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @chacha_avx_crypto_stream(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%9 = load ptr, ptr %5, align 8
%10 = load i64, ptr %6, align 8
%11 = call i32 @memset(ptr noundef %9, i32 noundef 0, i64 noundef %10)
%12 = load ptr, ptr %5, align 8
%13 = load ptr, ptr %5, align 8
%14 = load i64, ptr %6, align 8
%15 = load ptr, ptr %7, align 8
%16 = load ptr, ptr %8, align 8
%17 = call i32 @chacha_avx_crypto_stream_xor(ptr noundef %12, ptr noundef %13, i64 noundef %14, ptr noundef %15, ptr noundef %16)
ret i32 %17
}
declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) #1
declare i32 @chacha_avx_crypto_stream_xor(ptr noundef, ptr noundef, i64 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/tmp55cqct78.c'
source_filename = "/tmp/tmp55cqct78.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"localhost\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @chkaddr(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i8, align 1
%8 = alloca i8, align 1
store ptr %0, ptr %3, align 8
%9 = load ptr, ptr %3, align 8
store ptr %9, ptr %5, align 8
%10 = load ptr, ptr %5, align 8
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = icmp eq i32 %12, 64
br i1 %13, label %14, label %15
14: ; preds = %1
store i32 -1, ptr %2, align 4
br label %147
15: ; preds = %1
br label %16
16: ; preds = %57, %15
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds i8, ptr %17, i32 1
store ptr %18, ptr %5, align 8
%19 = load i8, ptr %17, align 1
store i8 %19, ptr %7, align 1
%20 = load i8, ptr %7, align 1
%21 = sext i8 %20 to i32
%22 = icmp sle i32 65, %21
br i1 %22, label %23, label %27
23: ; preds = %16
%24 = load i8, ptr %7, align 1
%25 = sext i8 %24 to i32
%26 = icmp sle i32 %25, 90
br i1 %26, label %56, label %27
27: ; preds = %23, %16
%28 = load i8, ptr %7, align 1
%29 = sext i8 %28 to i32
%30 = icmp sle i32 97, %29
br i1 %30, label %31, label %35
31: ; preds = %27
%32 = load i8, ptr %7, align 1
%33 = sext i8 %32 to i32
%34 = icmp sle i32 %33, 122
br i1 %34, label %56, label %35
35: ; preds = %31, %27
%36 = load i8, ptr %7, align 1
%37 = sext i8 %36 to i32
%38 = icmp sle i32 48, %37
br i1 %38, label %39, label %43
39: ; preds = %35
%40 = load i8, ptr %7, align 1
%41 = sext i8 %40 to i32
%42 = icmp sle i32 %41, 57
br i1 %42, label %56, label %43
43: ; preds = %39, %35
%44 = load i8, ptr %7, align 1
%45 = sext i8 %44 to i32
%46 = icmp eq i32 %45, 45
br i1 %46, label %56, label %47
47: ; preds = %43
%48 = load i8, ptr %7, align 1
%49 = sext i8 %48 to i32
%50 = icmp ne i32 %49, 46
br i1 %50, label %51, label %56
51: ; preds = %47
%52 = load i8, ptr %7, align 1
%53 = sext i8 %52 to i32
%54 = icmp ne i32 %53, 95
br i1 %54, label %55, label %56
55: ; preds = %51
store i32 -1, ptr %2, align 4
br label %147
56: ; preds = %51, %47, %43, %39, %31, %23
br label %57
57: ; preds = %56
%58 = load ptr, ptr %5, align 8
%59 = load i8, ptr %58, align 1
%60 = sext i8 %59 to i32
%61 = icmp ne i32 %60, 64
br i1 %61, label %16, label %62, !llvm.loop !6
62: ; preds = %57
%63 = load ptr, ptr %5, align 8
%64 = getelementptr inbounds i8, ptr %63, i32 1
store ptr %64, ptr %5, align 8
%65 = load i8, ptr %64, align 1
%66 = sext i8 %65 to i32
%67 = icmp eq i32 %66, 0
br i1 %67, label %68, label %69
68: ; preds = %62
store i32 -1, ptr %2, align 4
br label %147
69: ; preds = %62
%70 = load ptr, ptr %5, align 8
store ptr %70, ptr %6, align 8
store i32 -1, ptr %4, align 4
br label %71
71: ; preds = %131, %69
%72 = load ptr, ptr %5, align 8
%73 = load i8, ptr %72, align 1
%74 = sext i8 %73 to i32
%75 = icmp eq i32 %74, 46
br i1 %75, label %81, label %76
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 eq i32 %79, 0
br i1 %80, label %81, label %82
81: ; preds = %76, %71
store i32 -2, ptr %2, align 4
br label %147
82: ; preds = %76
%83 = load i32, ptr %4, align 4
%84 = add nsw i32 %83, 1
store i32 %84, ptr %4, align 4
br label %85
85: ; preds = %128, %82
%86 = load ptr, ptr %5, align 8
%87 = getelementptr inbounds i8, ptr %86, i32 1
store ptr %87, ptr %5, align 8
%88 = load i8, ptr %86, align 1
store i8 %88, ptr %8, align 1
%89 = load i8, ptr %8, align 1
%90 = sext i8 %89 to i32
%91 = icmp sle i32 65, %90
br i1 %91, label %92, label %96
92: ; preds = %85
%93 = load i8, ptr %8, align 1
%94 = sext i8 %93 to i32
%95 = icmp sle i32 %94, 90
br i1 %95, label %117, label %96
96: ; preds = %92, %85
%97 = load i8, ptr %8, align 1
%98 = sext i8 %97 to i32
%99 = icmp sle i32 97, %98
br i1 %99, label %100, label %104
100: ; preds = %96
%101 = load i8, ptr %8, align 1
%102 = sext i8 %101 to i32
%103 = icmp sle i32 %102, 122
br i1 %103, label %117, label %104
104: ; preds = %100, %96
%105 = load i8, ptr %8, align 1
%106 = sext i8 %105 to i32
%107 = icmp sle i32 48, %106
br i1 %107, label %108, label %112
108: ; preds = %104
%109 = load i8, ptr %8, align 1
%110 = sext i8 %109 to i32
%111 = icmp sle i32 %110, 57
br i1 %111, label %117, label %112
112: ; preds = %108, %104
%113 = load i8, ptr %8, align 1
%114 = sext i8 %113 to i32
%115 = icmp eq i32 %114, 45
br i1 %115, label %117, label %116
116: ; preds = %112
store i32 0, ptr %2, align 4
br label %147
117: ; preds = %112, %108, %100, %92
br label %118
118: ; preds = %117
%119 = load ptr, ptr %5, align 8
%120 = load i8, ptr %119, align 1
%121 = sext i8 %120 to i32
%122 = icmp ne i32 %121, 0
br i1 %122, label %123, label %128
123: ; preds = %118
%124 = load ptr, ptr %5, align 8
%125 = load i8, ptr %124, align 1
%126 = sext i8 %125 to i32
%127 = icmp ne i32 %126, 46
br label %128
128: ; preds = %123, %118
%129 = phi i1 [ false, %118 ], [ %127, %123 ]
br i1 %129, label %85, label %130, !llvm.loop !8
130: ; preds = %128
br label %131
131: ; preds = %130
%132 = load ptr, ptr %5, align 8
%133 = getelementptr inbounds i8, ptr %132, i32 1
store ptr %133, ptr %5, align 8
%134 = load i8, ptr %132, align 1
%135 = sext i8 %134 to i32
%136 = icmp eq i32 %135, 46
br i1 %136, label %71, label %137, !llvm.loop !9
137: ; preds = %131
%138 = load i32, ptr %4, align 4
%139 = icmp slt i32 %138, 1
br i1 %139, label %140, label %146
140: ; preds = %137
%141 = load ptr, ptr %6, align 8
%142 = call i32 @strcmp(ptr noundef %141, ptr noundef @.str)
%143 = icmp ne i32 %142, 0
br i1 %143, label %145, label %144
144: ; preds = %140
store i32 1, ptr %2, align 4
br label %147
145: ; preds = %140
store i32 -3, ptr %2, align 4
br label %147
146: ; preds = %137
store i32 0, ptr %2, align 4
br label %147
147: ; preds = %146, %145, %144, %116, %81, %68, %55, %14
%148 = load i32, ptr %2, align 4
ret i32 %148
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp55cqct78.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"localhost\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @chkaddr(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i8, align 1
%8 = alloca i8, align 1
store ptr %0, ptr %3, align 8
%9 = load ptr, ptr %3, align 8
store ptr %9, ptr %5, align 8
%10 = load ptr, ptr %5, align 8
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = icmp eq i32 %12, 64
br i1 %13, label %14, label %15
14: ; preds = %1
store i32 -1, ptr %2, align 4
br label %147
15: ; preds = %1
br label %16
16: ; preds = %57, %15
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds i8, ptr %17, i32 1
store ptr %18, ptr %5, align 8
%19 = load i8, ptr %17, align 1
store i8 %19, ptr %7, align 1
%20 = load i8, ptr %7, align 1
%21 = sext i8 %20 to i32
%22 = icmp sle i32 65, %21
br i1 %22, label %23, label %27
23: ; preds = %16
%24 = load i8, ptr %7, align 1
%25 = sext i8 %24 to i32
%26 = icmp sle i32 %25, 90
br i1 %26, label %56, label %27
27: ; preds = %23, %16
%28 = load i8, ptr %7, align 1
%29 = sext i8 %28 to i32
%30 = icmp sle i32 97, %29
br i1 %30, label %31, label %35
31: ; preds = %27
%32 = load i8, ptr %7, align 1
%33 = sext i8 %32 to i32
%34 = icmp sle i32 %33, 122
br i1 %34, label %56, label %35
35: ; preds = %31, %27
%36 = load i8, ptr %7, align 1
%37 = sext i8 %36 to i32
%38 = icmp sle i32 48, %37
br i1 %38, label %39, label %43
39: ; preds = %35
%40 = load i8, ptr %7, align 1
%41 = sext i8 %40 to i32
%42 = icmp sle i32 %41, 57
br i1 %42, label %56, label %43
43: ; preds = %39, %35
%44 = load i8, ptr %7, align 1
%45 = sext i8 %44 to i32
%46 = icmp eq i32 %45, 45
br i1 %46, label %56, label %47
47: ; preds = %43
%48 = load i8, ptr %7, align 1
%49 = sext i8 %48 to i32
%50 = icmp ne i32 %49, 46
br i1 %50, label %51, label %56
51: ; preds = %47
%52 = load i8, ptr %7, align 1
%53 = sext i8 %52 to i32
%54 = icmp ne i32 %53, 95
br i1 %54, label %55, label %56
55: ; preds = %51
store i32 -1, ptr %2, align 4
br label %147
56: ; preds = %51, %47, %43, %39, %31, %23
br label %57
57: ; preds = %56
%58 = load ptr, ptr %5, align 8
%59 = load i8, ptr %58, align 1
%60 = sext i8 %59 to i32
%61 = icmp ne i32 %60, 64
br i1 %61, label %16, label %62, !llvm.loop !6
62: ; preds = %57
%63 = load ptr, ptr %5, align 8
%64 = getelementptr inbounds i8, ptr %63, i32 1
store ptr %64, ptr %5, align 8
%65 = load i8, ptr %64, align 1
%66 = sext i8 %65 to i32
%67 = icmp eq i32 %66, 0
br i1 %67, label %68, label %69
68: ; preds = %62
store i32 -1, ptr %2, align 4
br label %147
69: ; preds = %62
%70 = load ptr, ptr %5, align 8
store ptr %70, ptr %6, align 8
store i32 -1, ptr %4, align 4
br label %71
71: ; preds = %131, %69
%72 = load ptr, ptr %5, align 8
%73 = load i8, ptr %72, align 1
%74 = sext i8 %73 to i32
%75 = icmp eq i32 %74, 46
br i1 %75, label %81, label %76
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 eq i32 %79, 0
br i1 %80, label %81, label %82
81: ; preds = %76, %71
store i32 -2, ptr %2, align 4
br label %147
82: ; preds = %76
%83 = load i32, ptr %4, align 4
%84 = add nsw i32 %83, 1
store i32 %84, ptr %4, align 4
br label %85
85: ; preds = %128, %82
%86 = load ptr, ptr %5, align 8
%87 = getelementptr inbounds i8, ptr %86, i32 1
store ptr %87, ptr %5, align 8
%88 = load i8, ptr %86, align 1
store i8 %88, ptr %8, align 1
%89 = load i8, ptr %8, align 1
%90 = sext i8 %89 to i32
%91 = icmp sle i32 65, %90
br i1 %91, label %92, label %96
92: ; preds = %85
%93 = load i8, ptr %8, align 1
%94 = sext i8 %93 to i32
%95 = icmp sle i32 %94, 90
br i1 %95, label %117, label %96
96: ; preds = %92, %85
%97 = load i8, ptr %8, align 1
%98 = sext i8 %97 to i32
%99 = icmp sle i32 97, %98
br i1 %99, label %100, label %104
100: ; preds = %96
%101 = load i8, ptr %8, align 1
%102 = sext i8 %101 to i32
%103 = icmp sle i32 %102, 122
br i1 %103, label %117, label %104
104: ; preds = %100, %96
%105 = load i8, ptr %8, align 1
%106 = sext i8 %105 to i32
%107 = icmp sle i32 48, %106
br i1 %107, label %108, label %112
108: ; preds = %104
%109 = load i8, ptr %8, align 1
%110 = sext i8 %109 to i32
%111 = icmp sle i32 %110, 57
br i1 %111, label %117, label %112
112: ; preds = %108, %104
%113 = load i8, ptr %8, align 1
%114 = sext i8 %113 to i32
%115 = icmp eq i32 %114, 45
br i1 %115, label %117, label %116
116: ; preds = %112
store i32 0, ptr %2, align 4
br label %147
117: ; preds = %112, %108, %100, %92
br label %118
118: ; preds = %117
%119 = load ptr, ptr %5, align 8
%120 = load i8, ptr %119, align 1
%121 = sext i8 %120 to i32
%122 = icmp ne i32 %121, 0
br i1 %122, label %123, label %128
123: ; preds = %118
%124 = load ptr, ptr %5, align 8
%125 = load i8, ptr %124, align 1
%126 = sext i8 %125 to i32
%127 = icmp ne i32 %126, 46
br label %128
128: ; preds = %123, %118
%129 = phi i1 [ false, %118 ], [ %127, %123 ]
br i1 %129, label %85, label %130, !llvm.loop !8
130: ; preds = %128
br label %131
131: ; preds = %130
%132 = load ptr, ptr %5, align 8
%133 = getelementptr inbounds i8, ptr %132, i32 1
store ptr %133, ptr %5, align 8
%134 = load i8, ptr %132, align 1
%135 = sext i8 %134 to i32
%136 = icmp eq i32 %135, 46
br i1 %136, label %71, label %137, !llvm.loop !9
137: ; preds = %131
%138 = load i32, ptr %4, align 4
%139 = icmp slt i32 %138, 1
br i1 %139, label %140, label %146
140: ; preds = %137
%141 = load ptr, ptr %6, align 8
%142 = call i32 @strcmp(ptr noundef %141, ptr noundef @.str)
%143 = icmp ne i32 %142, 0
br i1 %143, label %145, label %144
144: ; preds = %140
store i32 1, ptr %2, align 4
br label %147
145: ; preds = %140
store i32 -3, ptr %2, align 4
br label %147
146: ; preds = %137
store i32 0, ptr %2, align 4
br label %147
147: ; preds = %146, %145, %144, %116, %81, %68, %55, %14
%148 = load i32, ptr %2, align 4
ret i32 %148
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp31kyl792.c'
source_filename = "/tmp/tmp31kyl792.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str_uppercase(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 @vrna_seq_toupper(ptr noundef %3)
ret void
}
declare i32 @vrna_seq_toupper(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp31kyl792.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str_uppercase(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 @vrna_seq_toupper(ptr noundef %3)
ret void
}
declare i32 @vrna_seq_toupper(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxj6mevbv.c'
source_filename = "/tmp/tmpxj6mevbv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [9 x i8] c"%d %d %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @rotr(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%12 = load ptr, ptr %4, align 8
%13 = load i32, ptr %12, align 4
store i32 %13, ptr %9, align 4
%14 = load ptr, ptr %5, align 8
%15 = load i32, ptr %14, align 4
store i32 %15, ptr %10, align 4
%16 = load ptr, ptr %6, align 8
%17 = load i32, ptr %16, align 4
store i32 %17, ptr %11, align 4
%18 = call i32 @scanf(ptr noundef @.str, ptr noundef %7)
store i32 0, ptr %8, align 4
br label %19
19: ; preds = %36, %3
%20 = load i32, ptr %8, align 4
%21 = load i32, ptr %7, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %23, label %39
23: ; preds = %19
%24 = load i32, ptr %11, align 4
%25 = load ptr, ptr %4, align 8
store i32 %24, ptr %25, align 4
%26 = load i32, ptr %9, align 4
%27 = load ptr, ptr %5, align 8
store i32 %26, ptr %27, align 4
%28 = load i32, ptr %10, align 4
%29 = load ptr, ptr %6, align 8
store i32 %28, ptr %29, align 4
%30 = load ptr, ptr %4, align 8
%31 = load i32, ptr %30, align 4
store i32 %31, ptr %11, align 4
%32 = load ptr, ptr %5, align 8
%33 = load i32, ptr %32, align 4
store i32 %33, ptr %9, align 4
%34 = load ptr, ptr %6, align 8
%35 = load i32, ptr %34, align 4
store i32 %35, ptr %10, align 4
br label %36
36: ; preds = %23
%37 = load i32, ptr %8, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %8, align 4
br label %19, !llvm.loop !6
39: ; preds = %19
%40 = load ptr, ptr %4, align 8
%41 = load i32, ptr %40, align 4
%42 = load ptr, ptr %5, align 8
%43 = load i32, ptr %42, align 4
%44 = load ptr, ptr %6, align 8
%45 = load i32, ptr %44, align 4
%46 = call i32 @printf(ptr noundef @.str.1, i32 noundef %41, i32 noundef %43, i32 noundef %45)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxj6mevbv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [9 x i8] c"%d %d %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @rotr(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%12 = load ptr, ptr %4, align 8
%13 = load i32, ptr %12, align 4
store i32 %13, ptr %9, align 4
%14 = load ptr, ptr %5, align 8
%15 = load i32, ptr %14, align 4
store i32 %15, ptr %10, align 4
%16 = load ptr, ptr %6, align 8
%17 = load i32, ptr %16, align 4
store i32 %17, ptr %11, align 4
%18 = call i32 @scanf(ptr noundef @.str, ptr noundef %7)
store i32 0, ptr %8, align 4
%19 = load i32, ptr %8, align 4
%20 = load i32, ptr %7, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %.lr.ph, label %41
.lr.ph: ; preds = %3
br label %22
22: ; preds = %.lr.ph, %35
%23 = load i32, ptr %11, align 4
%24 = load ptr, ptr %4, align 8
store i32 %23, ptr %24, align 4
%25 = load i32, ptr %9, align 4
%26 = load ptr, ptr %5, align 8
store i32 %25, ptr %26, align 4
%27 = load i32, ptr %10, align 4
%28 = load ptr, ptr %6, align 8
store i32 %27, ptr %28, align 4
%29 = load ptr, ptr %4, align 8
%30 = load i32, ptr %29, align 4
store i32 %30, ptr %11, align 4
%31 = load ptr, ptr %5, align 8
%32 = load i32, ptr %31, align 4
store i32 %32, ptr %9, align 4
%33 = load ptr, ptr %6, align 8
%34 = load i32, ptr %33, align 4
store i32 %34, ptr %10, align 4
br label %35
35: ; preds = %22
%36 = load i32, ptr %8, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %8, align 4
%38 = load i32, ptr %8, align 4
%39 = load i32, ptr %7, align 4
%40 = icmp slt i32 %38, %39
br i1 %40, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %35
br label %41
41: ; preds = %._crit_edge, %3
%42 = load ptr, ptr %4, align 8
%43 = load i32, ptr %42, align 4
%44 = load ptr, ptr %5, align 8
%45 = load i32, ptr %44, align 4
%46 = load ptr, ptr %6, align 8
%47 = load i32, ptr %46, align 4
%48 = call i32 @printf(ptr noundef @.str.1, i32 noundef %43, i32 noundef %45, i32 noundef %47)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpn_syvnuo.c'
source_filename = "/tmp/tmpn_syvnuo.c"
target datalayout = "e-m:e-p270: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/tmpn_syvnuo.c"
target datalayout = "e-m:e-p270: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/tmpt4dyp51y.c'
source_filename = "/tmp/tmpt4dyp51y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @at_parse_cmer(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 0, ptr %7, align 8
br label %9
9: ; preds = %47, %2
%10 = load i64, ptr %7, align 8
%11 = icmp ult i64 %10, 5
br i1 %11, label %12, label %50
12: ; preds = %9
br label %13
13: ; preds = %25, %12
%14 = load ptr, ptr %4, align 8
%15 = load i8, ptr %14, align 1
%16 = call i64 @isspace(i8 noundef signext %15)
%17 = icmp ne i64 %16, 0
br i1 %17, label %23, label %18
18: ; preds = %13
%19 = load ptr, ptr %4, align 8
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %21, 44
br label %23
23: ; preds = %18, %13
%24 = phi i1 [ true, %13 ], [ %22, %18 ]
br i1 %24, label %25, label %28
25: ; preds = %23
%26 = load ptr, ptr %4, align 8
%27 = getelementptr inbounds i8, ptr %26, i32 1
store ptr %27, ptr %4, align 8
br label %13, !llvm.loop !6
28: ; preds = %23
%29 = load ptr, ptr %4, align 8
%30 = call i32 @strtol(ptr noundef %29, ptr noundef %6, i32 noundef 10)
store i32 %30, ptr %8, align 4
%31 = load ptr, ptr %4, align 8
%32 = load ptr, ptr %6, align 8
%33 = icmp eq ptr %31, %32
br i1 %33, label %34, label %41
34: ; preds = %28
%35 = load ptr, ptr %4, align 8
%36 = load i8, ptr %35, align 1
%37 = sext i8 %36 to i32
%38 = icmp eq i32 %37, 0
%39 = zext i1 %38 to i64
%40 = select i1 %38, i32 0, i32 -1
store i32 %40, ptr %3, align 4
br label %51
41: ; preds = %28
%42 = load i32, ptr %8, align 4
%43 = load ptr, ptr %5, align 8
%44 = load i64, ptr %7, align 8
%45 = getelementptr inbounds i32, ptr %43, i64 %44
store i32 %42, ptr %45, align 4
%46 = load ptr, ptr %6, align 8
store ptr %46, ptr %4, align 8
br label %47
47: ; preds = %41
%48 = load i64, ptr %7, align 8
%49 = add i64 %48, 1
store i64 %49, ptr %7, align 8
br label %9, !llvm.loop !8
50: ; preds = %9
store i32 0, ptr %3, align 4
br label %51
51: ; preds = %50, %34
%52 = load i32, ptr %3, align 4
ret i32 %52
}
declare i64 @isspace(i8 noundef signext) #1
declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpt4dyp51y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @at_parse_cmer(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 0, ptr %7, align 8
%9 = load i64, ptr %7, align 8
%10 = icmp ult i64 %9, 5
br i1 %10, label %.lr.ph, label %51
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %46
br label %12
12: ; preds = %24, %11
%13 = load ptr, ptr %4, align 8
%14 = load i8, ptr %13, align 1
%15 = call i64 @isspace(i8 noundef signext %14)
%16 = icmp ne i64 %15, 0
br i1 %16, label %22, label %17
17: ; preds = %12
%18 = load ptr, ptr %4, align 8
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp eq i32 %20, 44
br label %22
22: ; preds = %17, %12
%23 = phi i1 [ true, %12 ], [ %21, %17 ]
br i1 %23, label %24, label %27
24: ; preds = %22
%25 = load ptr, ptr %4, align 8
%26 = getelementptr inbounds i8, ptr %25, i32 1
store ptr %26, ptr %4, align 8
br label %12, !llvm.loop !6
27: ; preds = %22
%28 = load ptr, ptr %4, align 8
%29 = call i32 @strtol(ptr noundef %28, ptr noundef %6, i32 noundef 10)
store i32 %29, ptr %8, align 4
%30 = load ptr, ptr %4, align 8
%31 = load ptr, ptr %6, align 8
%32 = icmp eq ptr %30, %31
br i1 %32, label %33, label %40
33: ; preds = %27
%34 = load ptr, ptr %4, align 8
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = icmp eq i32 %36, 0
%38 = zext i1 %37 to i64
%39 = select i1 %37, i32 0, i32 -1
store i32 %39, ptr %3, align 4
br label %52
40: ; preds = %27
%41 = load i32, ptr %8, align 4
%42 = load ptr, ptr %5, align 8
%43 = load i64, ptr %7, align 8
%44 = getelementptr inbounds i32, ptr %42, i64 %43
store i32 %41, ptr %44, align 4
%45 = load ptr, ptr %6, align 8
store ptr %45, ptr %4, align 8
br label %46
46: ; preds = %40
%47 = load i64, ptr %7, align 8
%48 = add i64 %47, 1
store i64 %48, ptr %7, align 8
%49 = load i64, ptr %7, align 8
%50 = icmp ult i64 %49, 5
br i1 %50, label %11, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %46
br label %51
51: ; preds = %._crit_edge, %2
store i32 0, ptr %3, align 4
br label %52
52: ; preds = %51, %33
%53 = load i32, ptr %3, align 4
ret i32 %53
}
declare i64 @isspace(i8 noundef signext) #1
declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpd86vtpji.c'
source_filename = "/tmp/tmpd86vtpji.c"
target datalayout = "e-m:e-p270: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/tmpd86vtpji.c"
target datalayout = "e-m:e-p270: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/tmpwmp581__.c'
source_filename = "/tmp/tmpwmp581__.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"output:\0A%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @insert(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @strlen(ptr noundef %4)
store i32 %5, ptr %3, align 4
br label %6
6: ; preds = %26, %1
%7 = load i32, ptr %3, align 4
%8 = icmp sgt i32 %7, 0
br i1 %8, label %9, label %29
9: ; preds = %6
%10 = load ptr, ptr %2, align 8
%11 = load i32, ptr %3, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i8, ptr %10, i64 %12
%14 = load i8, ptr %13, align 1
%15 = load ptr, ptr %2, align 8
%16 = load i32, ptr %3, align 4
%17 = mul nsw i32 2, %16
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %15, i64 %18
store i8 %14, ptr %19, align 1
%20 = load ptr, ptr %2, align 8
%21 = load i32, ptr %3, align 4
%22 = mul nsw i32 2, %21
%23 = sub nsw i32 %22, 1
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %20, i64 %24
store i8 32, ptr %25, align 1
br label %26
26: ; preds = %9
%27 = load i32, ptr %3, align 4
%28 = add nsw i32 %27, -1
store i32 %28, ptr %3, align 4
br label %6, !llvm.loop !6
29: ; preds = %6
%30 = load ptr, ptr %2, align 8
%31 = call i32 @printf(ptr noundef @.str, ptr noundef %30)
ret void
}
declare i32 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwmp581__.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"output:\0A%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @insert(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @strlen(ptr noundef %4)
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp sgt i32 %6, 0
br i1 %7, label %.lr.ph, label %30
.lr.ph: ; preds = %1
br label %8
8: ; preds = %.lr.ph, %25
%9 = load ptr, ptr %2, align 8
%10 = load i32, ptr %3, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds i8, ptr %9, i64 %11
%13 = load i8, ptr %12, align 1
%14 = load ptr, ptr %2, align 8
%15 = load i32, ptr %3, align 4
%16 = mul nsw i32 2, %15
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %14, i64 %17
store i8 %13, ptr %18, align 1
%19 = load ptr, ptr %2, align 8
%20 = load i32, ptr %3, align 4
%21 = mul nsw i32 2, %20
%22 = sub nsw i32 %21, 1
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %19, i64 %23
store i8 32, ptr %24, align 1
br label %25
25: ; preds = %8
%26 = load i32, ptr %3, align 4
%27 = add nsw i32 %26, -1
store i32 %27, ptr %3, align 4
%28 = load i32, ptr %3, align 4
%29 = icmp sgt i32 %28, 0
br i1 %29, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %30
30: ; preds = %._crit_edge, %1
%31 = load ptr, ptr %2, align 8
%32 = call i32 @printf(ptr noundef @.str, ptr noundef %31)
ret void
}
declare i32 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpx31se9el.c'
source_filename = "/tmp/tmpx31se9el.c"
target datalayout = "e-m:e-p270: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/tmpx31se9el.c"
target datalayout = "e-m:e-p270: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/tmpy935c7md.c'
source_filename = "/tmp/tmpy935c7md.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"Action: list\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @perform_list() #0 {
%1 = call i32 @verbosity_printf(i32 noundef 1, ptr noundef @.str)
%2 = call i32 (...) @bus_list()
ret i32 0
}
declare i32 @verbosity_printf(i32 noundef, ptr noundef) #1
declare i32 @bus_list(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy935c7md.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"Action: list\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @perform_list() #0 {
%1 = call i32 @verbosity_printf(i32 noundef 1, ptr noundef @.str)
%2 = call i32 (...) @bus_list()
ret i32 0
}
declare i32 @verbosity_printf(i32 noundef, ptr noundef) #1
declare i32 @bus_list(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpns70pfhf.c'
source_filename = "/tmp/tmpns70pfhf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"Result is %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 2, ptr %1, align 4
store i32 4, ptr %2, align 4
store i32 3, ptr %3, align 4
store i32 5, ptr %4, align 4
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %1, align 4
%9 = load i32, ptr %2, align 4
%10 = call i32 @find(i32 noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef %9)
store i32 %10, ptr %5, align 4
%11 = load i32, ptr %5, align 4
%12 = call i32 @printf(ptr noundef @.str, i32 noundef %11)
ret void
}
declare i32 @find(i32 noundef, i32 noundef, i32 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"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpns70pfhf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"Result is %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 2, ptr %1, align 4
store i32 4, ptr %2, align 4
store i32 3, ptr %3, align 4
store i32 5, ptr %4, align 4
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %1, align 4
%9 = load i32, ptr %2, align 4
%10 = call i32 @find(i32 noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef %9)
store i32 %10, ptr %5, align 4
%11 = load i32, ptr %5, align 4
%12 = call i32 @printf(ptr noundef @.str, i32 noundef %11)
ret void
}
declare i32 @find(i32 noundef, i32 noundef, i32 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"}
|
; ModuleID = '/tmp/tmp_0sfh2a3.c'
source_filename = "/tmp/tmp_0sfh2a3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Digite um n\C3\BAmero: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"1 => \00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"%d! \C3\A9 : %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%6 = load i32, ptr %2, align 4
%7 = call i32 @fatorial(i32 noundef %6)
store i32 %7, ptr %3, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%9 = load i32, ptr %2, align 4
%10 = load i32, ptr %3, align 4
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %9, i32 noundef %10)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @fatorial(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_0sfh2a3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Digite um n\C3\BAmero: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"1 => \00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"%d! \C3\A9 : %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%6 = load i32, ptr %2, align 4
%7 = call i32 @fatorial(i32 noundef %6)
store i32 %7, ptr %3, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%9 = load i32, ptr %2, align 4
%10 = load i32, ptr %3, align 4
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %9, i32 noundef %10)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @fatorial(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/tmpwu38w6tr.c'
source_filename = "/tmp/tmpwu38w6tr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\E4\BD\A0\E5\A5\BD\EF\BC\8C\0A\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"\E6\88\91\E5\8F\AB\E6\9F\B4\E7\94\B0\E6\9C\9B\E6\B4\8B\EF\BC\81\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = call i32 @printf(ptr noundef @.str.1)
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/tmpwu38w6tr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\E4\BD\A0\E5\A5\BD\EF\BC\8C\0A\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"\E6\88\91\E5\8F\AB\E6\9F\B4\E7\94\B0\E6\9C\9B\E6\B4\8B\EF\BC\81\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = call i32 @printf(ptr noundef @.str.1)
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/tmptjgm7btj.c'
source_filename = "/tmp/tmptjgm7btj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"BF51000480\00", align 1
@.str.1 = private unnamed_addr constant [39 x i8] c"ERR:RSA2048_load_pubkey_N_128 failed!\0A\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"BF51008480\00", align 1
@.str.3 = private unnamed_addr constant [39 x i8] c"ERR:RSA2048_load_pubkey_N_256 failed!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @RSA2048_load_pubkey_N(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = call i32 @RSA2048_load(i32 noundef %7, ptr noundef @.str, ptr noundef %8, i32 noundef 128)
store i32 %9, ptr %6, align 4
%10 = load i32, ptr %6, align 4
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %2
%13 = call i32 @printf(ptr noundef @.str.1)
store i32 1, ptr %3, align 4
br label %24
14: ; preds = %2
%15 = load i32, ptr %4, align 4
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds i8, ptr %16, i64 128
%18 = call i32 @RSA2048_load(i32 noundef %15, ptr noundef @.str.2, ptr noundef %17, i32 noundef 128)
store i32 %18, ptr %6, align 4
%19 = load i32, ptr %6, align 4
%20 = icmp ne i32 %19, 0
br i1 %20, label %21, label %23
21: ; preds = %14
%22 = call i32 @printf(ptr noundef @.str.3)
store i32 1, ptr %3, align 4
br label %24
23: ; preds = %14
store i32 0, ptr %3, align 4
br label %24
24: ; preds = %23, %21, %12
%25 = load i32, ptr %3, align 4
ret i32 %25
}
declare i32 @RSA2048_load(i32 noundef, ptr noundef, ptr 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/tmptjgm7btj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"BF51000480\00", align 1
@.str.1 = private unnamed_addr constant [39 x i8] c"ERR:RSA2048_load_pubkey_N_128 failed!\0A\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"BF51008480\00", align 1
@.str.3 = private unnamed_addr constant [39 x i8] c"ERR:RSA2048_load_pubkey_N_256 failed!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @RSA2048_load_pubkey_N(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = call i32 @RSA2048_load(i32 noundef %7, ptr noundef @.str, ptr noundef %8, i32 noundef 128)
store i32 %9, ptr %6, align 4
%10 = load i32, ptr %6, align 4
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %2
%13 = call i32 @printf(ptr noundef @.str.1)
store i32 1, ptr %3, align 4
br label %24
14: ; preds = %2
%15 = load i32, ptr %4, align 4
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds i8, ptr %16, i64 128
%18 = call i32 @RSA2048_load(i32 noundef %15, ptr noundef @.str.2, ptr noundef %17, i32 noundef 128)
store i32 %18, ptr %6, align 4
%19 = load i32, ptr %6, align 4
%20 = icmp ne i32 %19, 0
br i1 %20, label %21, label %23
21: ; preds = %14
%22 = call i32 @printf(ptr noundef @.str.3)
store i32 1, ptr %3, align 4
br label %24
23: ; preds = %14
store i32 0, ptr %3, align 4
br label %24
24: ; preds = %23, %21, %12
%25 = load i32, ptr %3, align 4
ret i32 %25
}
declare i32 @RSA2048_load(i32 noundef, ptr noundef, ptr 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/tmpwtuev0ho.c'
source_filename = "/tmp/tmpwtuev0ho.c"
target datalayout = "e-m:e-p270: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 [34 x i8] c"\0ACRITICAL file:%s line:%u msg:%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [160 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/futuritymmx/Single-Channel-LoRaWAN-Gateway/refs/heads/master/base64.c\00", align 1
@.str.2 = private unnamed_addr constant [43 x i8] c"switch default that should not be possible\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @bin_to_b64_nopad(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%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
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
%16 = load ptr, ptr %8, align 8
%17 = icmp eq ptr %16, null
br i1 %17, label %21, label %18
18: ; preds = %4
%19 = load ptr, ptr %6, align 8
%20 = icmp eq ptr %19, null
br i1 %20, label %21, label %22
21: ; preds = %18, %4
store i32 -1, ptr %5, align 4
br label %239
22: ; preds = %18
%23 = load i32, ptr %7, align 4
%24 = icmp eq i32 %23, 0
br i1 %24, label %25, label %27
25: ; preds = %22
%26 = load ptr, ptr %8, align 8
store i8 0, ptr %26, align 1
store i32 0, ptr %5, align 4
br label %239
27: ; preds = %22
%28 = load i32, ptr %7, align 4
%29 = sdiv i32 %28, 3
store i32 %29, ptr %12, align 4
%30 = load i32, ptr %7, align 4
%31 = srem i32 %30, 3
store i32 %31, ptr %13, align 4
%32 = load i32, ptr %13, align 4
switch i32 %32, label %36 [
i32 0, label %33
i32 1, label %34
i32 2, label %35
]
33: ; preds = %27
store i32 0, ptr %14, align 4
br label %41
34: ; preds = %27
store i32 2, ptr %14, align 4
br label %41
35: ; preds = %27
store i32 3, ptr %14, align 4
br label %41
36: ; preds = %27
%37 = load i32, ptr @stderr, align 4
%38 = call i32 @fprintf(i32 noundef %37, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 130, ptr noundef @.str.2)
%39 = load i32, ptr @EXIT_FAILURE, align 4
%40 = call i32 @exit(i32 noundef %39) #3
unreachable
41: ; preds = %35, %34, %33
%42 = load i32, ptr %12, align 4
%43 = mul nsw i32 4, %42
%44 = load i32, ptr %14, align 4
%45 = add nsw i32 %43, %44
store i32 %45, ptr %11, align 4
%46 = load i32, ptr %9, align 4
%47 = load i32, ptr %11, align 4
%48 = add nsw i32 %47, 1
%49 = icmp slt i32 %46, %48
br i1 %49, label %50, label %51
50: ; preds = %41
store i32 -1, ptr %5, align 4
br label %239
51: ; preds = %41
store i32 0, ptr %10, align 4
br label %52
52: ; preds = %125, %51
%53 = load i32, ptr %10, align 4
%54 = load i32, ptr %12, align 4
%55 = icmp slt i32 %53, %54
br i1 %55, label %56, label %128
56: ; preds = %52
%57 = load ptr, ptr %6, align 8
%58 = load i32, ptr %10, align 4
%59 = mul nsw i32 3, %58
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds i32, ptr %57, i64 %60
%62 = load i32, ptr %61, align 4
%63 = and i32 255, %62
%64 = shl i32 %63, 16
store i32 %64, ptr %15, align 4
%65 = load ptr, ptr %6, align 8
%66 = load i32, ptr %10, align 4
%67 = mul nsw i32 3, %66
%68 = add nsw i32 %67, 1
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds i32, ptr %65, i64 %69
%71 = load i32, ptr %70, align 4
%72 = and i32 255, %71
%73 = shl i32 %72, 8
%74 = load i32, ptr %15, align 4
%75 = or i32 %74, %73
store i32 %75, ptr %15, align 4
%76 = load ptr, ptr %6, align 8
%77 = load i32, ptr %10, align 4
%78 = mul nsw i32 3, %77
%79 = add nsw i32 %78, 2
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds i32, ptr %76, i64 %80
%82 = load i32, ptr %81, align 4
%83 = and i32 255, %82
%84 = load i32, ptr %15, align 4
%85 = or i32 %84, %83
store i32 %85, ptr %15, align 4
%86 = load i32, ptr %15, align 4
%87 = ashr i32 %86, 18
%88 = and i32 %87, 63
%89 = call signext i8 @code_to_char(i32 noundef %88)
%90 = load ptr, ptr %8, align 8
%91 = load i32, ptr %10, align 4
%92 = mul nsw i32 4, %91
%93 = add nsw i32 %92, 0
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds i8, ptr %90, i64 %94
store i8 %89, ptr %95, align 1
%96 = load i32, ptr %15, align 4
%97 = ashr i32 %96, 12
%98 = and i32 %97, 63
%99 = call signext i8 @code_to_char(i32 noundef %98)
%100 = load ptr, ptr %8, align 8
%101 = load i32, ptr %10, align 4
%102 = mul nsw i32 4, %101
%103 = add nsw i32 %102, 1
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds i8, ptr %100, i64 %104
store i8 %99, ptr %105, align 1
%106 = load i32, ptr %15, align 4
%107 = ashr i32 %106, 6
%108 = and i32 %107, 63
%109 = call signext i8 @code_to_char(i32 noundef %108)
%110 = load ptr, ptr %8, align 8
%111 = load i32, ptr %10, align 4
%112 = mul nsw i32 4, %111
%113 = add nsw i32 %112, 2
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds i8, ptr %110, i64 %114
store i8 %109, ptr %115, align 1
%116 = load i32, ptr %15, align 4
%117 = and i32 %116, 63
%118 = call signext i8 @code_to_char(i32 noundef %117)
%119 = load ptr, ptr %8, align 8
%120 = load i32, ptr %10, align 4
%121 = mul nsw i32 4, %120
%122 = add nsw i32 %121, 3
%123 = sext i32 %122 to i64
%124 = getelementptr inbounds i8, ptr %119, i64 %123
store i8 %118, ptr %124, align 1
br label %125
125: ; preds = %56
%126 = load i32, ptr %10, align 4
%127 = add nsw i32 %126, 1
store i32 %127, ptr %10, align 4
br label %52, !llvm.loop !6
128: ; preds = %52
%129 = load i32, ptr %12, align 4
store i32 %129, ptr %10, align 4
%130 = load i32, ptr %14, align 4
%131 = icmp eq i32 %130, 0
br i1 %131, label %132, label %138
132: ; preds = %128
%133 = load ptr, ptr %8, align 8
%134 = load i32, ptr %10, align 4
%135 = mul nsw i32 4, %134
%136 = sext i32 %135 to i64
%137 = getelementptr inbounds i8, ptr %133, i64 %136
store i8 0, ptr %137, align 1
br label %237
138: ; preds = %128
%139 = load i32, ptr %14, align 4
%140 = icmp eq i32 %139, 2
br i1 %140, label %141, label %176
141: ; preds = %138
%142 = load ptr, ptr %6, align 8
%143 = load i32, ptr %10, align 4
%144 = mul nsw i32 3, %143
%145 = sext i32 %144 to i64
%146 = getelementptr inbounds i32, ptr %142, i64 %145
%147 = load i32, ptr %146, align 4
%148 = and i32 255, %147
%149 = shl i32 %148, 16
store i32 %149, ptr %15, align 4
%150 = load i32, ptr %15, align 4
%151 = ashr i32 %150, 18
%152 = and i32 %151, 63
%153 = call signext i8 @code_to_char(i32 noundef %152)
%154 = load ptr, ptr %8, align 8
%155 = load i32, ptr %10, align 4
%156 = mul nsw i32 4, %155
%157 = add nsw i32 %156, 0
%158 = sext i32 %157 to i64
%159 = getelementptr inbounds i8, ptr %154, i64 %158
store i8 %153, ptr %159, align 1
%160 = load i32, ptr %15, align 4
%161 = ashr i32 %160, 12
%162 = and i32 %161, 63
%163 = call signext i8 @code_to_char(i32 noundef %162)
%164 = load ptr, ptr %8, align 8
%165 = load i32, ptr %10, align 4
%166 = mul nsw i32 4, %165
%167 = add nsw i32 %166, 1
%168 = sext i32 %167 to i64
%169 = getelementptr inbounds i8, ptr %164, i64 %168
store i8 %163, ptr %169, align 1
%170 = load ptr, ptr %8, align 8
%171 = load i32, ptr %10, align 4
%172 = mul nsw i32 4, %171
%173 = add nsw i32 %172, 2
%174 = sext i32 %173 to i64
%175 = getelementptr inbounds i8, ptr %170, i64 %174
store i8 0, ptr %175, align 1
br label %236
176: ; preds = %138
%177 = load i32, ptr %14, align 4
%178 = icmp eq i32 %177, 3
br i1 %178, label %179, label %235
179: ; preds = %176
%180 = load ptr, ptr %6, align 8
%181 = load i32, ptr %10, align 4
%182 = mul nsw i32 3, %181
%183 = sext i32 %182 to i64
%184 = getelementptr inbounds i32, ptr %180, i64 %183
%185 = load i32, ptr %184, align 4
%186 = and i32 255, %185
%187 = shl i32 %186, 16
store i32 %187, ptr %15, align 4
%188 = load ptr, ptr %6, align 8
%189 = load i32, ptr %10, align 4
%190 = mul nsw i32 3, %189
%191 = add nsw i32 %190, 1
%192 = sext i32 %191 to i64
%193 = getelementptr inbounds i32, ptr %188, i64 %192
%194 = load i32, ptr %193, align 4
%195 = and i32 255, %194
%196 = shl i32 %195, 8
%197 = load i32, ptr %15, align 4
%198 = or i32 %197, %196
store i32 %198, ptr %15, align 4
%199 = load i32, ptr %15, align 4
%200 = ashr i32 %199, 18
%201 = and i32 %200, 63
%202 = call signext i8 @code_to_char(i32 noundef %201)
%203 = load ptr, ptr %8, align 8
%204 = load i32, ptr %10, align 4
%205 = mul nsw i32 4, %204
%206 = add nsw i32 %205, 0
%207 = sext i32 %206 to i64
%208 = getelementptr inbounds i8, ptr %203, i64 %207
store i8 %202, ptr %208, align 1
%209 = load i32, ptr %15, align 4
%210 = ashr i32 %209, 12
%211 = and i32 %210, 63
%212 = call signext i8 @code_to_char(i32 noundef %211)
%213 = load ptr, ptr %8, align 8
%214 = load i32, ptr %10, align 4
%215 = mul nsw i32 4, %214
%216 = add nsw i32 %215, 1
%217 = sext i32 %216 to i64
%218 = getelementptr inbounds i8, ptr %213, i64 %217
store i8 %212, ptr %218, align 1
%219 = load i32, ptr %15, align 4
%220 = ashr i32 %219, 6
%221 = and i32 %220, 63
%222 = call signext i8 @code_to_char(i32 noundef %221)
%223 = load ptr, ptr %8, align 8
%224 = load i32, ptr %10, align 4
%225 = mul nsw i32 4, %224
%226 = add nsw i32 %225, 2
%227 = sext i32 %226 to i64
%228 = getelementptr inbounds i8, ptr %223, i64 %227
store i8 %222, ptr %228, align 1
%229 = load ptr, ptr %8, align 8
%230 = load i32, ptr %10, align 4
%231 = mul nsw i32 4, %230
%232 = add nsw i32 %231, 3
%233 = sext i32 %232 to i64
%234 = getelementptr inbounds i8, ptr %229, i64 %233
store i8 0, ptr %234, align 1
br label %235
235: ; preds = %179, %176
br label %236
236: ; preds = %235, %141
br label %237
237: ; preds = %236, %132
%238 = load i32, ptr %11, align 4
store i32 %238, ptr %5, align 4
br label %239
239: ; preds = %237, %50, %25, %21
%240 = load i32, ptr %5, align 4
ret i32 %240
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare signext i8 @code_to_char(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwtuev0ho.c"
target datalayout = "e-m:e-p270: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 [34 x i8] c"\0ACRITICAL file:%s line:%u msg:%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [160 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/futuritymmx/Single-Channel-LoRaWAN-Gateway/refs/heads/master/base64.c\00", align 1
@.str.2 = private unnamed_addr constant [43 x i8] c"switch default that should not be possible\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @bin_to_b64_nopad(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%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
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
%16 = load ptr, ptr %8, align 8
%17 = icmp eq ptr %16, null
br i1 %17, label %21, label %18
18: ; preds = %4
%19 = load ptr, ptr %6, align 8
%20 = icmp eq ptr %19, null
br i1 %20, label %21, label %22
21: ; preds = %18, %4
store i32 -1, ptr %5, align 4
br label %241
22: ; preds = %18
%23 = load i32, ptr %7, align 4
%24 = icmp eq i32 %23, 0
br i1 %24, label %25, label %27
25: ; preds = %22
%26 = load ptr, ptr %8, align 8
store i8 0, ptr %26, align 1
store i32 0, ptr %5, align 4
br label %241
27: ; preds = %22
%28 = load i32, ptr %7, align 4
%29 = sdiv i32 %28, 3
store i32 %29, ptr %12, align 4
%30 = load i32, ptr %7, align 4
%31 = srem i32 %30, 3
store i32 %31, ptr %13, align 4
%32 = load i32, ptr %13, align 4
switch i32 %32, label %36 [
i32 0, label %33
i32 1, label %34
i32 2, label %35
]
33: ; preds = %27
store i32 0, ptr %14, align 4
br label %41
34: ; preds = %27
store i32 2, ptr %14, align 4
br label %41
35: ; preds = %27
store i32 3, ptr %14, align 4
br label %41
36: ; preds = %27
%37 = load i32, ptr @stderr, align 4
%38 = call i32 @fprintf(i32 noundef %37, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 130, ptr noundef @.str.2)
%39 = load i32, ptr @EXIT_FAILURE, align 4
%40 = call i32 @exit(i32 noundef %39) #3
unreachable
41: ; preds = %35, %34, %33
%42 = load i32, ptr %12, align 4
%43 = mul nsw i32 4, %42
%44 = load i32, ptr %14, align 4
%45 = add nsw i32 %43, %44
store i32 %45, ptr %11, align 4
%46 = load i32, ptr %9, align 4
%47 = load i32, ptr %11, align 4
%48 = add nsw i32 %47, 1
%49 = icmp slt i32 %46, %48
br i1 %49, label %50, label %51
50: ; preds = %41
store i32 -1, ptr %5, align 4
br label %241
51: ; preds = %41
store i32 0, ptr %10, align 4
%52 = load i32, ptr %10, align 4
%53 = load i32, ptr %12, align 4
%54 = icmp slt i32 %52, %53
br i1 %54, label %.lr.ph, label %130
.lr.ph: ; preds = %51
br label %55
55: ; preds = %.lr.ph, %124
%56 = load ptr, ptr %6, align 8
%57 = load i32, ptr %10, align 4
%58 = mul nsw i32 3, %57
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i32, ptr %56, i64 %59
%61 = load i32, ptr %60, align 4
%62 = and i32 255, %61
%63 = shl i32 %62, 16
store i32 %63, ptr %15, align 4
%64 = load ptr, ptr %6, align 8
%65 = load i32, ptr %10, align 4
%66 = mul nsw i32 3, %65
%67 = add nsw i32 %66, 1
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds i32, ptr %64, i64 %68
%70 = load i32, ptr %69, align 4
%71 = and i32 255, %70
%72 = shl i32 %71, 8
%73 = load i32, ptr %15, align 4
%74 = or i32 %73, %72
store i32 %74, ptr %15, align 4
%75 = load ptr, ptr %6, align 8
%76 = load i32, ptr %10, align 4
%77 = mul nsw i32 3, %76
%78 = add nsw i32 %77, 2
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds i32, ptr %75, i64 %79
%81 = load i32, ptr %80, align 4
%82 = and i32 255, %81
%83 = load i32, ptr %15, align 4
%84 = or i32 %83, %82
store i32 %84, ptr %15, align 4
%85 = load i32, ptr %15, align 4
%86 = ashr i32 %85, 18
%87 = and i32 %86, 63
%88 = call signext i8 @code_to_char(i32 noundef %87)
%89 = load ptr, ptr %8, align 8
%90 = load i32, ptr %10, align 4
%91 = mul nsw i32 4, %90
%92 = add nsw i32 %91, 0
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds i8, ptr %89, i64 %93
store i8 %88, ptr %94, align 1
%95 = load i32, ptr %15, align 4
%96 = ashr i32 %95, 12
%97 = and i32 %96, 63
%98 = call signext i8 @code_to_char(i32 noundef %97)
%99 = load ptr, ptr %8, align 8
%100 = load i32, ptr %10, align 4
%101 = mul nsw i32 4, %100
%102 = add nsw i32 %101, 1
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds i8, ptr %99, i64 %103
store i8 %98, ptr %104, align 1
%105 = load i32, ptr %15, align 4
%106 = ashr i32 %105, 6
%107 = and i32 %106, 63
%108 = call signext i8 @code_to_char(i32 noundef %107)
%109 = load ptr, ptr %8, align 8
%110 = load i32, ptr %10, align 4
%111 = mul nsw i32 4, %110
%112 = add nsw i32 %111, 2
%113 = sext i32 %112 to i64
%114 = getelementptr inbounds i8, ptr %109, i64 %113
store i8 %108, ptr %114, align 1
%115 = load i32, ptr %15, align 4
%116 = and i32 %115, 63
%117 = call signext i8 @code_to_char(i32 noundef %116)
%118 = load ptr, ptr %8, align 8
%119 = load i32, ptr %10, align 4
%120 = mul nsw i32 4, %119
%121 = add nsw i32 %120, 3
%122 = sext i32 %121 to i64
%123 = getelementptr inbounds i8, ptr %118, i64 %122
store i8 %117, ptr %123, align 1
br label %124
124: ; preds = %55
%125 = load i32, ptr %10, align 4
%126 = add nsw i32 %125, 1
store i32 %126, ptr %10, align 4
%127 = load i32, ptr %10, align 4
%128 = load i32, ptr %12, align 4
%129 = icmp slt i32 %127, %128
br i1 %129, label %55, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %124
br label %130
130: ; preds = %._crit_edge, %51
%131 = load i32, ptr %12, align 4
store i32 %131, ptr %10, align 4
%132 = load i32, ptr %14, align 4
%133 = icmp eq i32 %132, 0
br i1 %133, label %134, label %140
134: ; preds = %130
%135 = load ptr, ptr %8, align 8
%136 = load i32, ptr %10, align 4
%137 = mul nsw i32 4, %136
%138 = sext i32 %137 to i64
%139 = getelementptr inbounds i8, ptr %135, i64 %138
store i8 0, ptr %139, align 1
br label %239
140: ; preds = %130
%141 = load i32, ptr %14, align 4
%142 = icmp eq i32 %141, 2
br i1 %142, label %143, label %178
143: ; preds = %140
%144 = load ptr, ptr %6, align 8
%145 = load i32, ptr %10, align 4
%146 = mul nsw i32 3, %145
%147 = sext i32 %146 to i64
%148 = getelementptr inbounds i32, ptr %144, i64 %147
%149 = load i32, ptr %148, align 4
%150 = and i32 255, %149
%151 = shl i32 %150, 16
store i32 %151, ptr %15, align 4
%152 = load i32, ptr %15, align 4
%153 = ashr i32 %152, 18
%154 = and i32 %153, 63
%155 = call signext i8 @code_to_char(i32 noundef %154)
%156 = load ptr, ptr %8, align 8
%157 = load i32, ptr %10, align 4
%158 = mul nsw i32 4, %157
%159 = add nsw i32 %158, 0
%160 = sext i32 %159 to i64
%161 = getelementptr inbounds i8, ptr %156, i64 %160
store i8 %155, ptr %161, align 1
%162 = load i32, ptr %15, align 4
%163 = ashr i32 %162, 12
%164 = and i32 %163, 63
%165 = call signext i8 @code_to_char(i32 noundef %164)
%166 = load ptr, ptr %8, align 8
%167 = load i32, ptr %10, align 4
%168 = mul nsw i32 4, %167
%169 = add nsw i32 %168, 1
%170 = sext i32 %169 to i64
%171 = getelementptr inbounds i8, ptr %166, i64 %170
store i8 %165, ptr %171, align 1
%172 = load ptr, ptr %8, align 8
%173 = load i32, ptr %10, align 4
%174 = mul nsw i32 4, %173
%175 = add nsw i32 %174, 2
%176 = sext i32 %175 to i64
%177 = getelementptr inbounds i8, ptr %172, i64 %176
store i8 0, ptr %177, align 1
br label %238
178: ; preds = %140
%179 = load i32, ptr %14, align 4
%180 = icmp eq i32 %179, 3
br i1 %180, label %181, label %237
181: ; preds = %178
%182 = load ptr, ptr %6, align 8
%183 = load i32, ptr %10, align 4
%184 = mul nsw i32 3, %183
%185 = sext i32 %184 to i64
%186 = getelementptr inbounds i32, ptr %182, i64 %185
%187 = load i32, ptr %186, align 4
%188 = and i32 255, %187
%189 = shl i32 %188, 16
store i32 %189, ptr %15, align 4
%190 = load ptr, ptr %6, align 8
%191 = load i32, ptr %10, align 4
%192 = mul nsw i32 3, %191
%193 = add nsw i32 %192, 1
%194 = sext i32 %193 to i64
%195 = getelementptr inbounds i32, ptr %190, i64 %194
%196 = load i32, ptr %195, align 4
%197 = and i32 255, %196
%198 = shl i32 %197, 8
%199 = load i32, ptr %15, align 4
%200 = or i32 %199, %198
store i32 %200, ptr %15, align 4
%201 = load i32, ptr %15, align 4
%202 = ashr i32 %201, 18
%203 = and i32 %202, 63
%204 = call signext i8 @code_to_char(i32 noundef %203)
%205 = load ptr, ptr %8, align 8
%206 = load i32, ptr %10, align 4
%207 = mul nsw i32 4, %206
%208 = add nsw i32 %207, 0
%209 = sext i32 %208 to i64
%210 = getelementptr inbounds i8, ptr %205, i64 %209
store i8 %204, ptr %210, align 1
%211 = load i32, ptr %15, align 4
%212 = ashr i32 %211, 12
%213 = and i32 %212, 63
%214 = call signext i8 @code_to_char(i32 noundef %213)
%215 = load ptr, ptr %8, align 8
%216 = load i32, ptr %10, align 4
%217 = mul nsw i32 4, %216
%218 = add nsw i32 %217, 1
%219 = sext i32 %218 to i64
%220 = getelementptr inbounds i8, ptr %215, i64 %219
store i8 %214, ptr %220, align 1
%221 = load i32, ptr %15, align 4
%222 = ashr i32 %221, 6
%223 = and i32 %222, 63
%224 = call signext i8 @code_to_char(i32 noundef %223)
%225 = load ptr, ptr %8, align 8
%226 = load i32, ptr %10, align 4
%227 = mul nsw i32 4, %226
%228 = add nsw i32 %227, 2
%229 = sext i32 %228 to i64
%230 = getelementptr inbounds i8, ptr %225, i64 %229
store i8 %224, ptr %230, align 1
%231 = load ptr, ptr %8, align 8
%232 = load i32, ptr %10, align 4
%233 = mul nsw i32 4, %232
%234 = add nsw i32 %233, 3
%235 = sext i32 %234 to i64
%236 = getelementptr inbounds i8, ptr %231, i64 %235
store i8 0, ptr %236, align 1
br label %237
237: ; preds = %181, %178
br label %238
238: ; preds = %237, %143
br label %239
239: ; preds = %238, %134
%240 = load i32, ptr %11, align 4
store i32 %240, ptr %5, align 4
br label %241
241: ; preds = %239, %50, %25, %21
%242 = load i32, ptr %5, align 4
ret i32 %242
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare signext i8 @code_to_char(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp_cqcg_cw.c'
source_filename = "/tmp/tmp_cqcg_cw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"%li %li\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_two_longs(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %3, align 8
%6 = load i64, ptr %4, align 8
%7 = call i32 @printf(ptr noundef @.str, i64 noundef %5, i64 noundef %6)
ret void
}
declare i32 @printf(ptr noundef, i64 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_cqcg_cw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"%li %li\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_two_longs(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %3, align 8
%6 = load i64, ptr %4, align 8
%7 = call i32 @printf(ptr noundef @.str, i64 noundef %5, i64 noundef %6)
ret void
}
declare i32 @printf(ptr noundef, i64 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwoo02fma.c'
source_filename = "/tmp/tmpwoo02fma.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"Hello world\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwoo02fma.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"Hello world\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpq2o4g32u.c'
source_filename = "/tmp/tmpq2o4g32u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [58 x i8] c"Calculates statistics criteria of pseudo-random sequence\0A\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"using posix threads\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_hello() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 (...) @print_help()
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @print_help(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpq2o4g32u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [58 x i8] c"Calculates statistics criteria of pseudo-random sequence\0A\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"using posix threads\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_hello() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 (...) @print_help()
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @print_help(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdzf8pu6t.c'
source_filename = "/tmp/tmpdzf8pu6t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sum_UINT16(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %15, %2
%7 = load i64, ptr %4, align 8
%8 = icmp sgt i64 %7, 0
br i1 %8, label %9, label %18
9: ; preds = %6
%10 = load ptr, ptr %3, align 8
%11 = getelementptr inbounds i32, ptr %10, i32 1
store ptr %11, ptr %3, align 8
%12 = load i32, ptr %10, align 4
%13 = load i32, ptr %5, align 4
%14 = add nsw i32 %13, %12
store i32 %14, ptr %5, align 4
br label %15
15: ; preds = %9
%16 = load i64, ptr %4, align 8
%17 = add nsw i64 %16, -1
store i64 %17, ptr %4, align 8
br label %6, !llvm.loop !6
18: ; preds = %6
%19 = load i32, ptr %5, align 4
ret i32 %19
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdzf8pu6t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sum_UINT16(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store i32 0, ptr %5, align 4
%6 = load i64, ptr %4, align 8
%7 = icmp sgt i64 %6, 0
br i1 %7, label %.lr.ph, label %19
.lr.ph: ; preds = %2
br label %8
8: ; preds = %.lr.ph, %14
%9 = load ptr, ptr %3, align 8
%10 = getelementptr inbounds i32, ptr %9, i32 1
store ptr %10, ptr %3, align 8
%11 = load i32, ptr %9, align 4
%12 = load i32, ptr %5, align 4
%13 = add nsw i32 %12, %11
store i32 %13, ptr %5, align 4
br label %14
14: ; preds = %8
%15 = load i64, ptr %4, align 8
%16 = add nsw i64 %15, -1
store i64 %16, ptr %4, align 8
%17 = load i64, ptr %4, align 8
%18 = icmp sgt i64 %17, 0
br i1 %18, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %19
19: ; preds = %._crit_edge, %2
%20 = load i32, ptr %5, align 4
ret i32 %20
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmppz365yy1.c'
source_filename = "/tmp/tmppz365yy1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [31 x i8] c"[i] Usage: readelf 'filename'\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [26 x i8] c"[!] Could not open file.\0A\00", align 1
@.str.3 = private unnamed_addr constant [33 x i8] c"[!] Unsucessful header parsing.\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 ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = icmp ne i32 %7, 2
br i1 %8, label %9, label %12
9: ; preds = %2
%10 = load i32, ptr @stdout, align 4
%11 = call i32 @fprintf(i32 noundef %10, ptr noundef @.str)
store i32 1, ptr %3, align 4
br label %32
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 1
%15 = load ptr, ptr %14, align 8
%16 = call ptr @fopen(ptr noundef %15, ptr noundef @.str.1)
store ptr %16, ptr %6, align 8
%17 = load ptr, ptr %6, align 8
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %22
19: ; preds = %12
%20 = load i32, ptr @stderr, align 4
%21 = call i32 @fprintf(i32 noundef %20, ptr noundef @.str.2)
store i32 2, ptr %3, align 4
br label %32
22: ; preds = %12
%23 = load ptr, ptr %6, align 8
%24 = call i64 @check_header(ptr noundef %23)
%25 = icmp ne i64 %24, 0
br i1 %25, label %26, label %29
26: ; preds = %22
%27 = load i32, ptr @stderr, align 4
%28 = call i32 @fprintf(i32 noundef %27, ptr noundef @.str.3)
br label %29
29: ; preds = %26, %22
%30 = load ptr, ptr %6, align 8
%31 = call i32 @fclose(ptr noundef %30)
store i32 0, ptr %3, align 4
br label %32
32: ; preds = %29, %19, %9
%33 = load i32, ptr %3, align 4
ret i32 %33
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i64 @check_header(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmppz365yy1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [31 x i8] c"[i] Usage: readelf 'filename'\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [26 x i8] c"[!] Could not open file.\0A\00", align 1
@.str.3 = private unnamed_addr constant [33 x i8] c"[!] Unsucessful header parsing.\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 ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = icmp ne i32 %7, 2
br i1 %8, label %9, label %12
9: ; preds = %2
%10 = load i32, ptr @stdout, align 4
%11 = call i32 @fprintf(i32 noundef %10, ptr noundef @.str)
store i32 1, ptr %3, align 4
br label %32
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 1
%15 = load ptr, ptr %14, align 8
%16 = call ptr @fopen(ptr noundef %15, ptr noundef @.str.1)
store ptr %16, ptr %6, align 8
%17 = load ptr, ptr %6, align 8
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %22
19: ; preds = %12
%20 = load i32, ptr @stderr, align 4
%21 = call i32 @fprintf(i32 noundef %20, ptr noundef @.str.2)
store i32 2, ptr %3, align 4
br label %32
22: ; preds = %12
%23 = load ptr, ptr %6, align 8
%24 = call i64 @check_header(ptr noundef %23)
%25 = icmp ne i64 %24, 0
br i1 %25, label %26, label %29
26: ; preds = %22
%27 = load i32, ptr @stderr, align 4
%28 = call i32 @fprintf(i32 noundef %27, ptr noundef @.str.3)
br label %29
29: ; preds = %26, %22
%30 = load ptr, ptr %6, align 8
%31 = call i32 @fclose(ptr noundef %30)
store i32 0, ptr %3, align 4
br label %32
32: ; preds = %29, %19, %9
%33 = load i32, ptr %3, align 4
ret i32 %33
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i64 @check_header(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpscm6u6yq.c'
source_filename = "/tmp/tmpscm6u6yq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rope_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp ne ptr %3, null
br i1 %4, label %5, label %9
5: ; preds = %1
%6 = load ptr, ptr %2, align 8
%7 = call i32 @getrope(ptr noundef %6)
%8 = call i32 @free(i32 noundef %7)
br label %9
9: ; preds = %5, %1
ret void
}
declare i32 @free(i32 noundef) #1
declare i32 @getrope(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpscm6u6yq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rope_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp ne ptr %3, null
br i1 %4, label %5, label %9
5: ; preds = %1
%6 = load ptr, ptr %2, align 8
%7 = call i32 @getrope(ptr noundef %6)
%8 = call i32 @free(i32 noundef %7)
br label %9
9: ; preds = %5, %1
ret void
}
declare i32 @free(i32 noundef) #1
declare i32 @getrope(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpg81s6xwt.c'
source_filename = "/tmp/tmpg81s6xwt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strncat(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%9 = load ptr, ptr %5, align 8
store ptr %9, ptr %8, align 8
br label %10
10: ; preds = %15, %3
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds i8, ptr %11, i32 1
store ptr %12, ptr %5, align 8
%13 = load i8, ptr %11, align 1
%14 = icmp ne i8 %13, 0
br i1 %14, label %15, label %16
15: ; preds = %10
br label %10, !llvm.loop !6
16: ; preds = %10
br label %17
17: ; preds = %28, %16
%18 = load i32, ptr %7, align 4
%19 = add nsw i32 %18, -1
store i32 %19, ptr %7, align 4
%20 = icmp sgt i32 %18, 0
br i1 %20, label %21, label %31
21: ; preds = %17
%22 = load ptr, ptr %6, align 8
%23 = getelementptr inbounds i8, ptr %22, i32 1
store ptr %23, ptr %6, align 8
%24 = load i8, ptr %22, align 1
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds i8, ptr %25, i32 1
store ptr %26, ptr %5, align 8
store i8 %24, ptr %25, align 1
%27 = icmp ne i8 %24, 0
br i1 %27, label %28, label %29
28: ; preds = %21
br label %17, !llvm.loop !8
29: ; preds = %21
%30 = load ptr, ptr %8, align 8
store ptr %30, ptr %4, align 8
br label %34
31: ; preds = %17
%32 = load ptr, ptr %5, align 8
store i8 0, ptr %32, align 1
%33 = load ptr, ptr %8, align 8
store ptr %33, ptr %4, align 8
br label %34
34: ; preds = %31, %29
%35 = load ptr, ptr %4, align 8
ret ptr %35
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpg81s6xwt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strncat(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%9 = load ptr, ptr %5, align 8
store ptr %9, ptr %8, align 8
br label %10
10: ; preds = %10, %3
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds i8, ptr %11, i32 1
store ptr %12, ptr %5, align 8
%13 = load i8, ptr %11, align 1
%14 = icmp ne i8 %13, 0
br i1 %14, label %10, label %15, !llvm.loop !6
15: ; preds = %10
%16 = load i32, ptr %7, align 4
%17 = add nsw i32 %16, -1
store i32 %17, ptr %7, align 4
%18 = icmp sgt i32 %16, 0
br i1 %18, label %.lr.ph, label %32
.lr.ph: ; preds = %15
br label %23
19: ; preds = %23
%20 = load i32, ptr %7, align 4
%21 = add nsw i32 %20, -1
store i32 %21, ptr %7, align 4
%22 = icmp sgt i32 %20, 0
br i1 %22, label %23, label %._crit_edge, !llvm.loop !8
23: ; preds = %.lr.ph, %19
%24 = load ptr, ptr %6, align 8
%25 = getelementptr inbounds i8, ptr %24, i32 1
store ptr %25, ptr %6, align 8
%26 = load i8, ptr %24, align 1
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds i8, ptr %27, i32 1
store ptr %28, ptr %5, align 8
store i8 %26, ptr %27, align 1
%29 = icmp ne i8 %26, 0
br i1 %29, label %19, label %30
30: ; preds = %23
%31 = load ptr, ptr %8, align 8
store ptr %31, ptr %4, align 8
br label %35
._crit_edge: ; preds = %19
br label %32
32: ; preds = %._crit_edge, %15
%33 = load ptr, ptr %5, align 8
store i8 0, ptr %33, align 1
%34 = load ptr, ptr %8, align 8
store ptr %34, ptr %4, align 8
br label %35
35: ; preds = %32, %30
%36 = load ptr, ptr %4, align 8
ret ptr %36
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpz1gjmcae.c'
source_filename = "/tmp/tmpz1gjmcae.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%3 = call ptr (...) @connect_sqlite()
store ptr %3, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @create_url_tables(ptr noundef %4)
%6 = load ptr, ptr %2, align 8
%7 = call i32 @close_sqlite(ptr noundef %6)
%8 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare ptr @connect_sqlite(...) #1
declare i32 @create_url_tables(ptr noundef) #1
declare i32 @close_sqlite(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpz1gjmcae.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%3 = call ptr (...) @connect_sqlite()
store ptr %3, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @create_url_tables(ptr noundef %4)
%6 = load ptr, ptr %2, align 8
%7 = call i32 @close_sqlite(ptr noundef %6)
%8 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare ptr @connect_sqlite(...) #1
declare i32 @create_url_tables(ptr noundef) #1
declare i32 @close_sqlite(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnralkl1z.c'
source_filename = "/tmp/tmpnralkl1z.c"
target datalayout = "e-m:e-p270: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/tmpnralkl1z.c"
target datalayout = "e-m:e-p270: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/tmpyprtavkk.c'
source_filename = "/tmp/tmpyprtavkk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tst_bv_entry(i32 noundef %6, ptr noundef %7)
ret i32 %8
}
declare i32 @tst_bv_entry(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/tmpyprtavkk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tst_bv_entry(i32 noundef %6, ptr noundef %7)
ret i32 %8
}
declare i32 @tst_bv_entry(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/tmpyf51wrta.c'
source_filename = "/tmp/tmpyf51wrta.c"
target datalayout = "e-m:e-p270: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/tmpyf51wrta.c"
target datalayout = "e-m:e-p270: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/tmph3nay21a.c'
source_filename = "/tmp/tmph3nay21a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%.2f \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @debugWeight(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
br label %9
9: ; preds = %35, %3
%10 = load i32, ptr %7, align 4
%11 = load i32, ptr %5, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %13, label %38
13: ; preds = %9
store i32 0, ptr %8, align 4
br label %14
14: ; preds = %30, %13
%15 = load i32, ptr %8, align 4
%16 = load i32, ptr %6, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %18, label %33
18: ; preds = %14
%19 = load ptr, ptr %4, align 8
%20 = load i32, ptr %7, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds ptr, ptr %19, i64 %21
%23 = load ptr, ptr %22, align 8
%24 = load i32, ptr %8, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds float, ptr %23, i64 %25
%27 = load float, ptr %26, align 4
%28 = fpext float %27 to double
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %28)
br label %30
30: ; preds = %18
%31 = load i32, ptr %8, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %8, align 4
br label %14, !llvm.loop !6
33: ; preds = %14
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %35
35: ; preds = %33
%36 = load i32, ptr %7, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %7, align 4
br label %9, !llvm.loop !8
38: ; preds = %9
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmph3nay21a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%.2f \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @debugWeight(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
%9 = load i32, ptr %7, align 4
%10 = load i32, ptr %5, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %.lr.ph2, label %42
.lr.ph2: ; preds = %3
br label %12
12: ; preds = %.lr.ph2, %36
store i32 0, ptr %8, align 4
%13 = load i32, ptr %8, align 4
%14 = load i32, ptr %6, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %.lr.ph, label %34
.lr.ph: ; preds = %12
br label %16
16: ; preds = %.lr.ph, %28
%17 = load ptr, ptr %4, align 8
%18 = load i32, ptr %7, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds ptr, ptr %17, i64 %19
%21 = load ptr, ptr %20, align 8
%22 = load i32, ptr %8, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds float, ptr %21, i64 %23
%25 = load float, ptr %24, align 4
%26 = fpext float %25 to double
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %26)
br label %28
28: ; preds = %16
%29 = load i32, ptr %8, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %8, align 4
%31 = load i32, ptr %8, align 4
%32 = load i32, ptr %6, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %28
br label %34
34: ; preds = %._crit_edge, %12
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %36
36: ; preds = %34
%37 = load i32, ptr %7, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %7, align 4
%39 = load i32, ptr %7, align 4
%40 = load i32, ptr %5, align 4
%41 = icmp slt i32 %39, %40
br i1 %41, label %12, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %36
br label %42
42: ; preds = %._crit_edge3, %3
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmprm3o0n7u.c'
source_filename = "/tmp/tmprm3o0n7u.c"
target datalayout = "e-m:e-p270: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/tmprm3o0n7u.c"
target datalayout = "e-m:e-p270: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/tmpajaih3w3.c'
source_filename = "/tmp/tmpajaih3w3.c"
target datalayout = "e-m:e-p270: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/tmpajaih3w3.c"
target datalayout = "e-m:e-p270: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/tmp5u3dvxoc.c'
source_filename = "/tmp/tmp5u3dvxoc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @partition(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%10 = load i32, ptr %4, align 4
store i32 %10, ptr %7, align 4
%11 = load i32, ptr %5, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %8, align 4
%13 = load ptr, ptr %6, align 8
%14 = load i32, ptr %4, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i32, ptr %13, i64 %15
%17 = load i32, ptr %16, align 4
store i32 %17, ptr %9, align 4
br label %18
18: ; preds = %52, %3
br label %19
19: ; preds = %22, %18
%20 = load i32, ptr %7, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %7, align 4
br label %22
22: ; preds = %19
%23 = load ptr, ptr %6, align 8
%24 = load i32, ptr %7, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i32, ptr %23, i64 %25
%27 = load i32, ptr %26, align 4
%28 = load i32, ptr %9, align 4
%29 = icmp slt i32 %27, %28
br i1 %29, label %19, label %30, !llvm.loop !6
30: ; preds = %22
br label %31
31: ; preds = %34, %30
%32 = load i32, ptr %8, align 4
%33 = add nsw i32 %32, -1
store i32 %33, ptr %8, align 4
br label %34
34: ; preds = %31
%35 = load ptr, ptr %6, align 8
%36 = load i32, ptr %8, 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 i32, ptr %9, align 4
%41 = icmp sgt i32 %39, %40
br i1 %41, label %31, label %42, !llvm.loop !8
42: ; preds = %34
%43 = load i32, ptr %7, align 4
%44 = load i32, ptr %8, align 4
%45 = icmp slt i32 %43, %44
br i1 %45, label %46, label %51
46: ; preds = %42
%47 = load i32, ptr %7, align 4
%48 = load i32, ptr %8, align 4
%49 = load ptr, ptr %6, align 8
%50 = call i32 @swap(i32 noundef %47, i32 noundef %48, ptr noundef %49)
br label %51
51: ; preds = %46, %42
br label %52
52: ; preds = %51
%53 = load i32, ptr %7, align 4
%54 = load i32, ptr %8, align 4
%55 = icmp slt i32 %53, %54
br i1 %55, label %18, label %56, !llvm.loop !9
56: ; preds = %52
%57 = load i32, ptr %4, align 4
%58 = load i32, ptr %8, align 4
%59 = load ptr, ptr %6, align 8
%60 = call i32 @swap(i32 noundef %57, i32 noundef %58, ptr noundef %59)
%61 = load i32, ptr %8, align 4
ret i32 %61
}
declare i32 @swap(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5u3dvxoc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @partition(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%10 = load i32, ptr %4, align 4
store i32 %10, ptr %7, align 4
%11 = load i32, ptr %5, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %8, align 4
%13 = load ptr, ptr %6, align 8
%14 = load i32, ptr %4, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i32, ptr %13, i64 %15
%17 = load i32, ptr %16, align 4
store i32 %17, ptr %9, align 4
br label %18
18: ; preds = %52, %3
br label %19
19: ; preds = %22, %18
%20 = load i32, ptr %7, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %7, align 4
br label %22
22: ; preds = %19
%23 = load ptr, ptr %6, align 8
%24 = load i32, ptr %7, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i32, ptr %23, i64 %25
%27 = load i32, ptr %26, align 4
%28 = load i32, ptr %9, align 4
%29 = icmp slt i32 %27, %28
br i1 %29, label %19, label %30, !llvm.loop !6
30: ; preds = %22
br label %31
31: ; preds = %34, %30
%32 = load i32, ptr %8, align 4
%33 = add nsw i32 %32, -1
store i32 %33, ptr %8, align 4
br label %34
34: ; preds = %31
%35 = load ptr, ptr %6, align 8
%36 = load i32, ptr %8, 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 i32, ptr %9, align 4
%41 = icmp sgt i32 %39, %40
br i1 %41, label %31, label %42, !llvm.loop !8
42: ; preds = %34
%43 = load i32, ptr %7, align 4
%44 = load i32, ptr %8, align 4
%45 = icmp slt i32 %43, %44
br i1 %45, label %46, label %51
46: ; preds = %42
%47 = load i32, ptr %7, align 4
%48 = load i32, ptr %8, align 4
%49 = load ptr, ptr %6, align 8
%50 = call i32 @swap(i32 noundef %47, i32 noundef %48, ptr noundef %49)
br label %51
51: ; preds = %46, %42
br label %52
52: ; preds = %51
%53 = load i32, ptr %7, align 4
%54 = load i32, ptr %8, align 4
%55 = icmp slt i32 %53, %54
br i1 %55, label %18, label %56, !llvm.loop !9
56: ; preds = %52
%57 = load i32, ptr %4, align 4
%58 = load i32, ptr %8, align 4
%59 = load ptr, ptr %6, align 8
%60 = call i32 @swap(i32 noundef %57, i32 noundef %58, ptr noundef %59)
%61 = load i32, ptr %8, align 4
ret i32 %61
}
declare i32 @swap(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp5ir9tal4.c'
source_filename = "/tmp/tmp5ir9tal4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f4(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%8 = load i64, ptr %3, align 8
%9 = icmp ule i64 %8, 5
br i1 %9, label %10, label %21
10: ; preds = %2
%11 = load i64, ptr %4, align 8
%12 = icmp ule i64 %11, 2
br i1 %12, label %13, label %21
13: ; preds = %10
%14 = load i64, ptr %3, align 8
%15 = load i64, ptr %4, align 8
%16 = call ptr @llvm.stacksave()
store ptr %16, ptr %5, align 8
%17 = mul nuw i64 %14, %15
%18 = alloca i32, i64 %17, align 16
store i64 %14, ptr %6, align 8
store i64 %15, ptr %7, align 8
%19 = call i32 @f0(ptr noundef %18)
%20 = load ptr, ptr %5, align 8
call void @llvm.stackrestore(ptr %20)
br label %21
21: ; preds = %13, %10, %2
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @f0(ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5ir9tal4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f4(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%8 = load i64, ptr %3, align 8
%9 = icmp ule i64 %8, 5
br i1 %9, label %10, label %21
10: ; preds = %2
%11 = load i64, ptr %4, align 8
%12 = icmp ule i64 %11, 2
br i1 %12, label %13, label %21
13: ; preds = %10
%14 = load i64, ptr %3, align 8
%15 = load i64, ptr %4, align 8
%16 = call ptr @llvm.stacksave()
store ptr %16, ptr %5, align 8
%17 = mul nuw i64 %14, %15
%18 = alloca i32, i64 %17, align 16
store i64 %14, ptr %6, align 8
store i64 %15, ptr %7, align 8
%19 = call i32 @f0(ptr noundef %18)
%20 = load ptr, ptr %5, align 8
call void @llvm.stackrestore(ptr %20)
br label %21
21: ; preds = %13, %10, %2
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @f0(ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7bx1fope.c'
source_filename = "/tmp/tmp7bx1fope.c"
target datalayout = "e-m:e-p270: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/tmp7bx1fope.c"
target datalayout = "e-m:e-p270: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/tmpb16brt8j.c'
source_filename = "/tmp/tmpb16brt8j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ends_with(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i64 @strlen(ptr noundef %8)
store i64 %9, ptr %6, align 8
%10 = load ptr, ptr %5, align 8
%11 = call i64 @strlen(ptr noundef %10)
store i64 %11, ptr %7, align 8
%12 = load i64, ptr %6, align 8
%13 = load i64, ptr %7, align 8
%14 = icmp ult i64 %12, %13
br i1 %14, label %15, label %16
15: ; preds = %2
store i32 0, ptr %3, align 4
br label %27
16: ; preds = %2
%17 = load ptr, ptr %5, align 8
%18 = load ptr, ptr %4, align 8
%19 = load i64, ptr %6, align 8
%20 = getelementptr inbounds i8, ptr %18, i64 %19
%21 = load i64, ptr %7, align 8
%22 = sub i64 0, %21
%23 = getelementptr inbounds i8, ptr %20, i64 %22
%24 = call i64 @strcmp(ptr noundef %17, ptr noundef %23)
%25 = icmp eq i64 %24, 0
%26 = zext i1 %25 to i32
store i32 %26, ptr %3, align 4
br label %27
27: ; preds = %16, %15
%28 = load i32, ptr %3, align 4
ret i32 %28
}
declare i64 @strlen(ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb16brt8j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ends_with(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i64 @strlen(ptr noundef %8)
store i64 %9, ptr %6, align 8
%10 = load ptr, ptr %5, align 8
%11 = call i64 @strlen(ptr noundef %10)
store i64 %11, ptr %7, align 8
%12 = load i64, ptr %6, align 8
%13 = load i64, ptr %7, align 8
%14 = icmp ult i64 %12, %13
br i1 %14, label %15, label %16
15: ; preds = %2
store i32 0, ptr %3, align 4
br label %27
16: ; preds = %2
%17 = load ptr, ptr %5, align 8
%18 = load ptr, ptr %4, align 8
%19 = load i64, ptr %6, align 8
%20 = getelementptr inbounds i8, ptr %18, i64 %19
%21 = load i64, ptr %7, align 8
%22 = sub i64 0, %21
%23 = getelementptr inbounds i8, ptr %20, i64 %22
%24 = call i64 @strcmp(ptr noundef %17, ptr noundef %23)
%25 = icmp eq i64 %24, 0
%26 = zext i1 %25 to i32
store i32 %26, ptr %3, align 4
br label %27
27: ; preds = %16, %15
%28 = load i32, ptr %3, align 4
ret i32 %28
}
declare i64 @strlen(ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpabgigcp3.c'
source_filename = "/tmp/tmpabgigcp3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [18 x i8] c" Users logged in.\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"ERROR in write\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sendusercount(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [8 x i8], align 1
%6 = alloca [256 x i8], align 16
store i32 %0, ptr %2, align 4
%7 = call i32 (...) @getusercount()
store i32 %7, ptr %4, align 4
%8 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 0
%9 = load i32, ptr %4, align 4
%10 = call i32 @sprintf(ptr noundef %8, ptr noundef @.str, i32 noundef %9)
%11 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%12 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 0
%13 = call i32 @strcpy(ptr noundef %11, ptr noundef %12)
%14 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%15 = call i32 @strcat(ptr noundef %14, ptr noundef @.str.1)
%16 = load i32, ptr %2, align 4
%17 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%18 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%19 = call i32 @strlen(ptr noundef %18)
%20 = call i32 @write(i32 noundef %16, ptr noundef %17, i32 noundef %19)
store i32 %20, ptr %3, align 4
%21 = load i32, ptr %3, align 4
%22 = icmp slt i32 %21, 0
br i1 %22, label %23, label %25
23: ; preds = %1
%24 = call i32 @error(ptr noundef @.str.2)
br label %25
25: ; preds = %23, %1
ret void
}
declare i32 @getusercount(...) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @error(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpabgigcp3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [18 x i8] c" Users logged in.\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"ERROR in write\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sendusercount(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [8 x i8], align 1
%6 = alloca [256 x i8], align 16
store i32 %0, ptr %2, align 4
%7 = call i32 (...) @getusercount()
store i32 %7, ptr %4, align 4
%8 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 0
%9 = load i32, ptr %4, align 4
%10 = call i32 @sprintf(ptr noundef %8, ptr noundef @.str, i32 noundef %9)
%11 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%12 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 0
%13 = call i32 @strcpy(ptr noundef %11, ptr noundef %12)
%14 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%15 = call i32 @strcat(ptr noundef %14, ptr noundef @.str.1)
%16 = load i32, ptr %2, align 4
%17 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%18 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%19 = call i32 @strlen(ptr noundef %18)
%20 = call i32 @write(i32 noundef %16, ptr noundef %17, i32 noundef %19)
store i32 %20, ptr %3, align 4
%21 = load i32, ptr %3, align 4
%22 = icmp slt i32 %21, 0
br i1 %22, label %23, label %25
23: ; preds = %1
%24 = call i32 @error(ptr noundef @.str.2)
br label %25
25: ; preds = %23, %1
ret void
}
declare i32 @getusercount(...) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @error(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphab8s8ih.c'
source_filename = "/tmp/tmphab8s8ih.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mkostemps(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 -1, ptr %8, align 4
%9 = load ptr, ptr %5, align 8
%10 = load i32, ptr %6, align 4
%11 = load i32, ptr %7, align 4
%12 = call ptr @_mktemp(ptr noundef %9, i32 noundef %10, ptr noundef %8, i32 noundef %11)
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %15
14: ; preds = %3
store i32 -1, ptr %4, align 4
br label %17
15: ; preds = %3
%16 = load i32, ptr %8, align 4
store i32 %16, ptr %4, align 4
br label %17
17: ; preds = %15, %14
%18 = load i32, ptr %4, align 4
ret i32 %18
}
declare ptr @_mktemp(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmphab8s8ih.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mkostemps(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 -1, ptr %8, align 4
%9 = load ptr, ptr %5, align 8
%10 = load i32, ptr %6, align 4
%11 = load i32, ptr %7, align 4
%12 = call ptr @_mktemp(ptr noundef %9, i32 noundef %10, ptr noundef %8, i32 noundef %11)
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %15
14: ; preds = %3
store i32 -1, ptr %4, align 4
br label %17
15: ; preds = %3
%16 = load i32, ptr %8, align 4
store i32 %16, ptr %4, align 4
br label %17
17: ; preds = %15, %14
%18 = load i32, ptr %4, align 4
ret i32 %18
}
declare ptr @_mktemp(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5qt194xo.c'
source_filename = "/tmp/tmp5qt194xo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [44 x i8] c"Failed at %3d with %s, expected %f, got %f\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"B[i]\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"Failed\0A\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"Succeeded\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [992 x double], align 16
%3 = alloca [992 x double], align 16
%4 = alloca [992 x double], align 16
%5 = alloca [992 x double], align 16
%6 = alloca [992 x double], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca [1 x i32], align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca [1 x i32], align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca i32, align 4
%24 = alloca i32, align 4
%25 = alloca i32, align 4
%26 = alloca i32, align 4
%27 = alloca i32, align 4
%28 = alloca i32, align 4
%29 = alloca i32, align 4
%30 = alloca i32, align 4
%31 = alloca [1 x i32], align 4
%32 = alloca i32, align 4
%33 = alloca i32, align 4
%34 = alloca i32, align 4
%35 = alloca i32, align 4
%36 = alloca i32, align 4
%37 = alloca i32, align 4
%38 = alloca i32, align 4
%39 = alloca i32, align 4
%40 = alloca i32, align 4
store i32 0, ptr %1, align 4
%41 = call i32 (...) @check_offloading()
store i32 0, ptr %7, align 4
br label %42
42: ; preds = %60, %0
%43 = load i32, ptr %7, align 4
%44 = icmp slt i32 %43, 992
br i1 %44, label %45, label %63
45: ; preds = %42
%46 = load i32, ptr %7, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds [992 x double], ptr %4, i64 0, i64 %47
store double 1.000000e+00, ptr %48, align 8
%49 = load i32, ptr %7, align 4
%50 = sitofp i32 %49 to double
%51 = load i32, ptr %7, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [992 x double], ptr %5, i64 0, i64 %52
store double %50, ptr %53, align 8
%54 = load i32, ptr %7, align 4
%55 = sub nsw i32 0, %54
%56 = sitofp i32 %55 to double
%57 = load i32, ptr %7, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds [992 x double], ptr %6, i64 0, i64 %58
store double %56, ptr %59, align 8
br label %60
60: ; preds = %45
%61 = load i32, ptr %7, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %7, align 4
br label %42, !llvm.loop !6
63: ; preds = %42
store i32 0, ptr %8, align 4
br label %64
64: ; preds = %196, %63
%65 = load i32, ptr %8, align 4
%66 = icmp sle i32 %65, 224
br i1 %66, label %67, label %199
67: ; preds = %64
%68 = load i32, ptr %8, align 4
%69 = getelementptr inbounds [1 x i32], ptr %9, i64 0, i64 0
store i32 %68, ptr %69, align 4
store i32 0, ptr %10, align 4
store i32 0, ptr %12, align 4
br label %70
70: ; preds = %185, %67
%71 = load i32, ptr %12, align 4
%72 = icmp slt i32 %71, 1
br i1 %72, label %73, label %76
73: ; preds = %70
%74 = load i32, ptr %10, align 4
%75 = icmp eq i32 %74, 0
br label %76
76: ; preds = %73, %70
%77 = phi i1 [ false, %70 ], [ %75, %73 ]
br i1 %77, label %78, label %188
78: ; preds = %76
store i32 0, ptr %13, align 4
br label %79
79: ; preds = %89, %78
%80 = load i32, ptr %13, align 4
%81 = icmp slt i32 %80, 992
br i1 %81, label %82, label %92
82: ; preds = %79
%83 = load i32, ptr %13, align 4
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %84
store double 1.000000e+00, ptr %85, align 8
%86 = load i32, ptr %13, align 4
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds [992 x double], ptr %3, i64 0, i64 %87
store double 0.000000e+00, ptr %88, align 8
br label %89
89: ; preds = %82
%90 = load i32, ptr %13, align 4
%91 = add nsw i32 %90, 1
store i32 %91, ptr %13, align 4
br label %79, !llvm.loop !8
92: ; preds = %79
store i32 0, ptr %14, align 4
br label %93
93: ; preds = %109, %92
%94 = load i32, ptr %14, align 4
%95 = icmp slt i32 %94, 992
br i1 %95, label %96, label %112
96: ; preds = %93
%97 = load i32, ptr %14, align 4
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds [992 x double], ptr %5, i64 0, i64 %98
%100 = load double, ptr %99, align 8
%101 = load i32, ptr %14, align 4
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds [992 x double], ptr %6, i64 0, i64 %102
%104 = load double, ptr %103, align 8
%105 = fsub double %100, %104
%106 = load i32, ptr %14, align 4
%107 = sext i32 %106 to i64
%108 = getelementptr inbounds [992 x double], ptr %3, i64 0, i64 %107
store double %105, ptr %108, align 8
br label %109
109: ; preds = %96
%110 = load i32, ptr %14, align 4
%111 = add nsw i32 %110, 1
store i32 %111, ptr %14, align 4
br label %93, !llvm.loop !9
112: ; preds = %93
store i32 0, ptr %15, align 4
br label %113
113: ; preds = %131, %112
%114 = load i32, ptr %15, align 4
%115 = icmp slt i32 %114, 992
br i1 %115, label %116, label %134
116: ; preds = %113
%117 = load i32, ptr %15, align 4
%118 = sext i32 %117 to i64
%119 = getelementptr inbounds [992 x double], ptr %4, i64 0, i64 %118
%120 = load double, ptr %119, align 8
%121 = load i32, ptr %15, align 4
%122 = sext i32 %121 to i64
%123 = getelementptr inbounds [992 x double], ptr %5, i64 0, i64 %122
%124 = load double, ptr %123, align 8
%125 = fadd double %120, %124
%126 = load i32, ptr %15, align 4
%127 = sext i32 %126 to i64
%128 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %127
%129 = load double, ptr %128, align 8
%130 = fadd double %129, %125
store double %130, ptr %128, align 8
br label %131
131: ; preds = %116
%132 = load i32, ptr %15, align 4
%133 = add nsw i32 %132, 1
store i32 %133, ptr %15, align 4
br label %113, !llvm.loop !10
134: ; preds = %113
store i32 0, ptr %16, align 4
br label %135
135: ; preds = %148, %134
%136 = load i32, ptr %16, align 4
%137 = icmp slt i32 %136, 992
br i1 %137, label %138, label %151
138: ; preds = %135
%139 = load i32, ptr %16, align 4
%140 = sext i32 %139 to i64
%141 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %140
%142 = load double, ptr %141, align 8
%143 = load i32, ptr %16, align 4
%144 = sext i32 %143 to i64
%145 = getelementptr inbounds [992 x double], ptr %3, i64 0, i64 %144
%146 = load double, ptr %145, align 8
%147 = fadd double %146, %142
store double %147, ptr %145, align 8
br label %148
148: ; preds = %138
%149 = load i32, ptr %16, align 4
%150 = add nsw i32 %149, 1
store i32 %150, ptr %16, align 4
br label %135, !llvm.loop !11
151: ; preds = %135
store i32 0, ptr %18, align 4
store i32 0, ptr %17, align 4
br label %152
152: ; preds = %181, %151
%153 = load i32, ptr %17, align 4
%154 = icmp slt i32 %153, 992
br i1 %154, label %155, label %184
155: ; preds = %152
%156 = load i32, ptr %17, align 4
%157 = sext i32 %156 to i64
%158 = getelementptr inbounds [992 x double], ptr %3, i64 0, i64 %157
%159 = load double, ptr %158, align 8
%160 = load i32, ptr %17, align 4
%161 = mul nsw i32 3, %160
%162 = add nsw i32 %161, 2
%163 = sitofp i32 %162 to double
%164 = fcmp une double %159, %163
br i1 %164, label %165, label %180
165: ; preds = %155
%166 = load i32, ptr %17, align 4
%167 = load i32, ptr %17, align 4
%168 = mul nsw i32 3, %167
%169 = add nsw i32 %168, 2
%170 = load i32, ptr %17, align 4
%171 = sext i32 %170 to i64
%172 = getelementptr inbounds [992 x double], ptr %3, i64 0, i64 %171
%173 = load double, ptr %172, align 8
%174 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %166, ptr noundef @.str.1, i32 noundef %169, double noundef %173)
store i32 1, ptr %10, align 4
%175 = load i32, ptr %18, align 4
%176 = add nsw i32 %175, 1
store i32 %176, ptr %18, align 4
%177 = icmp sgt i32 %175, 10
br i1 %177, label %178, label %179
178: ; preds = %165
br label %184
179: ; preds = %165
br label %180
180: ; preds = %179, %155
br label %181
181: ; preds = %180
%182 = load i32, ptr %17, align 4
%183 = add nsw i32 %182, 1
store i32 %183, ptr %17, align 4
br label %152, !llvm.loop !12
184: ; preds = %178, %152
br label %185
185: ; preds = %184
%186 = load i32, ptr %12, align 4
%187 = add nsw i32 %186, 1
store i32 %187, ptr %12, align 4
br label %70, !llvm.loop !13
188: ; preds = %76
%189 = load i32, ptr %10, align 4
%190 = icmp ne i32 %189, 0
br i1 %190, label %191, label %193
191: ; preds = %188
%192 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %195
193: ; preds = %188
%194 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %195
195: ; preds = %193, %191
br label %196
196: ; preds = %195
%197 = load i32, ptr %8, align 4
%198 = add nsw i32 %197, 1
store i32 %198, ptr %8, align 4
br label %64, !llvm.loop !14
199: ; preds = %64
store i32 0, ptr %19, align 4
br label %200
200: ; preds = %332, %199
%201 = load i32, ptr %19, align 4
%202 = icmp sle i32 %201, 224
br i1 %202, label %203, label %335
203: ; preds = %200
%204 = load i32, ptr %19, align 4
%205 = getelementptr inbounds [1 x i32], ptr %20, i64 0, i64 0
store i32 %204, ptr %205, align 4
store i32 0, ptr %21, align 4
store i32 0, ptr %23, align 4
br label %206
206: ; preds = %321, %203
%207 = load i32, ptr %23, align 4
%208 = icmp slt i32 %207, 1
br i1 %208, label %209, label %212
209: ; preds = %206
%210 = load i32, ptr %21, align 4
%211 = icmp eq i32 %210, 0
br label %212
212: ; preds = %209, %206
%213 = phi i1 [ false, %206 ], [ %211, %209 ]
br i1 %213, label %214, label %324
214: ; preds = %212
store i32 0, ptr %24, align 4
br label %215
215: ; preds = %225, %214
%216 = load i32, ptr %24, align 4
%217 = icmp slt i32 %216, 992
br i1 %217, label %218, label %228
218: ; preds = %215
%219 = load i32, ptr %24, align 4
%220 = sext i32 %219 to i64
%221 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %220
store double 1.000000e+00, ptr %221, align 8
%222 = load i32, ptr %24, align 4
%223 = sext i32 %222 to i64
%224 = getelementptr inbounds [992 x double], ptr %3, i64 0, i64 %223
store double 0.000000e+00, ptr %224, align 8
br label %225
225: ; preds = %218
%226 = load i32, ptr %24, align 4
%227 = add nsw i32 %226, 1
store i32 %227, ptr %24, align 4
br label %215, !llvm.loop !15
228: ; preds = %215
store i32 0, ptr %25, align 4
br label %229
229: ; preds = %245, %228
%230 = load i32, ptr %25, align 4
%231 = icmp slt i32 %230, 992
br i1 %231, label %232, label %248
232: ; preds = %229
%233 = load i32, ptr %25, align 4
%234 = sext i32 %233 to i64
%235 = getelementptr inbounds [992 x double], ptr %5, i64 0, i64 %234
%236 = load double, ptr %235, align 8
%237 = load i32, ptr %25, align 4
%238 = sext i32 %237 to i64
%239 = getelementptr inbounds [992 x double], ptr %6, i64 0, i64 %238
%240 = load double, ptr %239, align 8
%241 = fsub double %236, %240
%242 = load i32, ptr %25, align 4
%243 = sext i32 %242 to i64
%244 = getelementptr inbounds [992 x double], ptr %3, i64 0, i64 %243
store double %241, ptr %244, align 8
br label %245
245: ; preds = %232
%246 = load i32, ptr %25, align 4
%247 = add nsw i32 %246, 1
store i32 %247, ptr %25, align 4
br label %229, !llvm.loop !16
248: ; preds = %229
store i32 0, ptr %26, align 4
br label %249
249: ; preds = %267, %248
%250 = load i32, ptr %26, align 4
%251 = icmp slt i32 %250, 992
br i1 %251, label %252, label %270
252: ; preds = %249
%253 = load i32, ptr %26, align 4
%254 = sext i32 %253 to i64
%255 = getelementptr inbounds [992 x double], ptr %4, i64 0, i64 %254
%256 = load double, ptr %255, align 8
%257 = load i32, ptr %26, align 4
%258 = sext i32 %257 to i64
%259 = getelementptr inbounds [992 x double], ptr %5, i64 0, i64 %258
%260 = load double, ptr %259, align 8
%261 = fadd double %256, %260
%262 = load i32, ptr %26, align 4
%263 = sext i32 %262 to i64
%264 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %263
%265 = load double, ptr %264, align 8
%266 = fadd double %265, %261
store double %266, ptr %264, align 8
br label %267
267: ; preds = %252
%268 = load i32, ptr %26, align 4
%269 = add nsw i32 %268, 1
store i32 %269, ptr %26, align 4
br label %249, !llvm.loop !17
270: ; preds = %249
store i32 0, ptr %27, align 4
br label %271
271: ; preds = %284, %270
%272 = load i32, ptr %27, align 4
%273 = icmp slt i32 %272, 992
br i1 %273, label %274, label %287
274: ; preds = %271
%275 = load i32, ptr %27, align 4
%276 = sext i32 %275 to i64
%277 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %276
%278 = load double, ptr %277, align 8
%279 = load i32, ptr %27, align 4
%280 = sext i32 %279 to i64
%281 = getelementptr inbounds [992 x double], ptr %3, i64 0, i64 %280
%282 = load double, ptr %281, align 8
%283 = fadd double %282, %278
store double %283, ptr %281, align 8
br label %284
284: ; preds = %274
%285 = load i32, ptr %27, align 4
%286 = add nsw i32 %285, 1
store i32 %286, ptr %27, align 4
br label %271, !llvm.loop !18
287: ; preds = %271
store i32 0, ptr %29, align 4
store i32 0, ptr %28, align 4
br label %288
288: ; preds = %317, %287
%289 = load i32, ptr %28, align 4
%290 = icmp slt i32 %289, 992
br i1 %290, label %291, label %320
291: ; preds = %288
%292 = load i32, ptr %28, align 4
%293 = sext i32 %292 to i64
%294 = getelementptr inbounds [992 x double], ptr %3, i64 0, i64 %293
%295 = load double, ptr %294, align 8
%296 = load i32, ptr %28, align 4
%297 = mul nsw i32 2, %296
%298 = add nsw i32 %297, 1
%299 = sitofp i32 %298 to double
%300 = fcmp une double %295, %299
br i1 %300, label %301, label %316
301: ; preds = %291
%302 = load i32, ptr %28, align 4
%303 = load i32, ptr %28, align 4
%304 = mul nsw i32 2, %303
%305 = add nsw i32 %304, 1
%306 = load i32, ptr %28, align 4
%307 = sext i32 %306 to i64
%308 = getelementptr inbounds [992 x double], ptr %3, i64 0, i64 %307
%309 = load double, ptr %308, align 8
%310 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %302, ptr noundef @.str.1, i32 noundef %305, double noundef %309)
store i32 1, ptr %21, align 4
%311 = load i32, ptr %29, align 4
%312 = add nsw i32 %311, 1
store i32 %312, ptr %29, align 4
%313 = icmp sgt i32 %311, 10
br i1 %313, label %314, label %315
314: ; preds = %301
br label %320
315: ; preds = %301
br label %316
316: ; preds = %315, %291
br label %317
317: ; preds = %316
%318 = load i32, ptr %28, align 4
%319 = add nsw i32 %318, 1
store i32 %319, ptr %28, align 4
br label %288, !llvm.loop !19
320: ; preds = %314, %288
br label %321
321: ; preds = %320
%322 = load i32, ptr %23, align 4
%323 = add nsw i32 %322, 1
store i32 %323, ptr %23, align 4
br label %206, !llvm.loop !20
324: ; preds = %212
%325 = load i32, ptr %21, align 4
%326 = icmp ne i32 %325, 0
br i1 %326, label %327, label %329
327: ; preds = %324
%328 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %331
329: ; preds = %324
%330 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %331
331: ; preds = %329, %327
br label %332
332: ; preds = %331
%333 = load i32, ptr %19, align 4
%334 = add nsw i32 %333, 1
store i32 %334, ptr %19, align 4
br label %200, !llvm.loop !21
335: ; preds = %200
store i32 0, ptr %30, align 4
br label %336
336: ; preds = %477, %335
%337 = load i32, ptr %30, align 4
%338 = icmp sle i32 %337, 224
br i1 %338, label %339, label %480
339: ; preds = %336
%340 = load i32, ptr %30, align 4
%341 = getelementptr inbounds [1 x i32], ptr %31, i64 0, i64 0
store i32 %340, ptr %341, align 4
store i32 0, ptr %32, align 4
store i32 0, ptr %34, align 4
br label %342
342: ; preds = %466, %339
%343 = load i32, ptr %34, align 4
%344 = icmp slt i32 %343, 1
br i1 %344, label %345, label %348
345: ; preds = %342
%346 = load i32, ptr %32, align 4
%347 = icmp eq i32 %346, 0
br label %348
348: ; preds = %345, %342
%349 = phi i1 [ false, %342 ], [ %347, %345 ]
br i1 %349, label %350, label %469
350: ; preds = %348
store i32 0, ptr %35, align 4
br label %351
351: ; preds = %361, %350
%352 = load i32, ptr %35, align 4
%353 = icmp slt i32 %352, 992
br i1 %353, label %354, label %364
354: ; preds = %351
%355 = load i32, ptr %35, align 4
%356 = sext i32 %355 to i64
%357 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %356
store double 1.000000e+00, ptr %357, align 8
%358 = load i32, ptr %35, align 4
%359 = sext i32 %358 to i64
%360 = getelementptr inbounds [992 x double], ptr %3, i64 0, i64 %359
store double 0.000000e+00, ptr %360, align 8
br label %361
361: ; preds = %354
%362 = load i32, ptr %35, align 4
%363 = add nsw i32 %362, 1
store i32 %363, ptr %35, align 4
br label %351, !llvm.loop !22
364: ; preds = %351
store i32 0, ptr %36, align 4
br label %365
365: ; preds = %381, %364
%366 = load i32, ptr %36, align 4
%367 = icmp slt i32 %366, 992
br i1 %367, label %368, label %384
368: ; preds = %365
%369 = load i32, ptr %36, align 4
%370 = sext i32 %369 to i64
%371 = getelementptr inbounds [992 x double], ptr %5, i64 0, i64 %370
%372 = load double, ptr %371, align 8
%373 = load i32, ptr %36, align 4
%374 = sext i32 %373 to i64
%375 = getelementptr inbounds [992 x double], ptr %6, i64 0, i64 %374
%376 = load double, ptr %375, align 8
%377 = fsub double %372, %376
%378 = load i32, ptr %36, align 4
%379 = sext i32 %378 to i64
%380 = getelementptr inbounds [992 x double], ptr %3, i64 0, i64 %379
store double %377, ptr %380, align 8
br label %381
381: ; preds = %368
%382 = load i32, ptr %36, align 4
%383 = add nsw i32 %382, 1
store i32 %383, ptr %36, align 4
br label %365, !llvm.loop !23
384: ; preds = %365
store i32 0, ptr %37, align 4
br label %385
385: ; preds = %412, %384
%386 = load i32, ptr %37, align 4
%387 = icmp slt i32 %386, 992
br i1 %387, label %388, label %415
388: ; preds = %385
%389 = load i32, ptr %37, align 4
%390 = sext i32 %389 to i64
%391 = getelementptr inbounds [992 x double], ptr %4, i64 0, i64 %390
%392 = load double, ptr %391, align 8
%393 = load i32, ptr %37, align 4
%394 = sext i32 %393 to i64
%395 = getelementptr inbounds [992 x double], ptr %5, i64 0, i64 %394
%396 = load double, ptr %395, align 8
%397 = fadd double %392, %396
%398 = load i32, ptr %37, align 4
%399 = sext i32 %398 to i64
%400 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %399
%401 = load double, ptr %400, align 8
%402 = fadd double %401, %397
store double %402, ptr %400, align 8
%403 = load i32, ptr %37, align 4
%404 = sext i32 %403 to i64
%405 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %404
%406 = load double, ptr %405, align 8
%407 = load i32, ptr %37, align 4
%408 = sext i32 %407 to i64
%409 = getelementptr inbounds [992 x double], ptr %3, i64 0, i64 %408
%410 = load double, ptr %409, align 8
%411 = fadd double %410, %406
store double %411, ptr %409, align 8
br label %412
412: ; preds = %388
%413 = load i32, ptr %37, align 4
%414 = add nsw i32 %413, 1
store i32 %414, ptr %37, align 4
br label %385, !llvm.loop !24
415: ; preds = %385
store i32 0, ptr %38, align 4
br label %416
416: ; preds = %429, %415
%417 = load i32, ptr %38, align 4
%418 = icmp slt i32 %417, 992
br i1 %418, label %419, label %432
419: ; preds = %416
%420 = load i32, ptr %38, align 4
%421 = sext i32 %420 to i64
%422 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %421
%423 = load double, ptr %422, align 8
%424 = load i32, ptr %38, align 4
%425 = sext i32 %424 to i64
%426 = getelementptr inbounds [992 x double], ptr %3, i64 0, i64 %425
%427 = load double, ptr %426, align 8
%428 = fadd double %427, %423
store double %428, ptr %426, align 8
br label %429
429: ; preds = %419
%430 = load i32, ptr %38, align 4
%431 = add nsw i32 %430, 1
store i32 %431, ptr %38, align 4
br label %416, !llvm.loop !25
432: ; preds = %416
store i32 0, ptr %40, align 4
store i32 0, ptr %39, align 4
br label %433
433: ; preds = %462, %432
%434 = load i32, ptr %39, align 4
%435 = icmp slt i32 %434, 992
br i1 %435, label %436, label %465
436: ; preds = %433
%437 = load i32, ptr %39, align 4
%438 = sext i32 %437 to i64
%439 = getelementptr inbounds [992 x double], ptr %3, i64 0, i64 %438
%440 = load double, ptr %439, align 8
%441 = load i32, ptr %39, align 4
%442 = mul nsw i32 3, %441
%443 = add nsw i32 %442, 3
%444 = sitofp i32 %443 to double
%445 = fcmp une double %440, %444
br i1 %445, label %446, label %461
446: ; preds = %436
%447 = load i32, ptr %39, align 4
%448 = load i32, ptr %39, align 4
%449 = mul nsw i32 3, %448
%450 = add nsw i32 %449, 3
%451 = load i32, ptr %39, align 4
%452 = sext i32 %451 to i64
%453 = getelementptr inbounds [992 x double], ptr %3, i64 0, i64 %452
%454 = load double, ptr %453, align 8
%455 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %447, ptr noundef @.str.1, i32 noundef %450, double noundef %454)
store i32 1, ptr %32, align 4
%456 = load i32, ptr %40, align 4
%457 = add nsw i32 %456, 1
store i32 %457, ptr %40, align 4
%458 = icmp sgt i32 %456, 10
br i1 %458, label %459, label %460
459: ; preds = %446
br label %465
460: ; preds = %446
br label %461
461: ; preds = %460, %436
br label %462
462: ; preds = %461
%463 = load i32, ptr %39, align 4
%464 = add nsw i32 %463, 1
store i32 %464, ptr %39, align 4
br label %433, !llvm.loop !26
465: ; preds = %459, %433
br label %466
466: ; preds = %465
%467 = load i32, ptr %34, align 4
%468 = add nsw i32 %467, 1
store i32 %468, ptr %34, align 4
br label %342, !llvm.loop !27
469: ; preds = %348
%470 = load i32, ptr %32, align 4
%471 = icmp ne i32 %470, 0
br i1 %471, label %472, label %474
472: ; preds = %469
%473 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %476
474: ; preds = %469
%475 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %476
476: ; preds = %474, %472
br label %477
477: ; preds = %476
%478 = load i32, ptr %30, align 4
%479 = add nsw i32 %478, 1
store i32 %479, ptr %30, align 4
br label %336, !llvm.loop !28
480: ; preds = %336
ret i32 0
}
declare i32 @check_offloading(...) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
!17 = distinct !{!17, !7}
!18 = distinct !{!18, !7}
!19 = distinct !{!19, !7}
!20 = distinct !{!20, !7}
!21 = distinct !{!21, !7}
!22 = distinct !{!22, !7}
!23 = distinct !{!23, !7}
!24 = distinct !{!24, !7}
!25 = distinct !{!25, !7}
!26 = distinct !{!26, !7}
!27 = distinct !{!27, !7}
!28 = distinct !{!28, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5qt194xo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [44 x i8] c"Failed at %3d with %s, expected %f, got %f\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"B[i]\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"Failed\0A\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"Succeeded\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [992 x double], align 16
%3 = alloca [992 x double], align 16
%4 = alloca [992 x double], align 16
%5 = alloca [992 x double], align 16
%6 = alloca [992 x double], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca [1 x i32], align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca [1 x i32], align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca i32, align 4
%24 = alloca i32, align 4
%25 = alloca i32, align 4
%26 = alloca i32, align 4
%27 = alloca i32, align 4
%28 = alloca i32, align 4
%29 = alloca i32, align 4
%30 = alloca i32, align 4
%31 = alloca [1 x i32], align 4
%32 = alloca i32, align 4
%33 = alloca i32, align 4
%34 = alloca i32, align 4
%35 = alloca i32, align 4
%36 = alloca i32, align 4
%37 = alloca i32, align 4
%38 = alloca i32, align 4
%39 = alloca i32, align 4
%40 = alloca i32, align 4
store i32 0, ptr %1, align 4
%41 = call i32 (...) @check_offloading()
store i32 0, ptr %7, align 4
%42 = load i32, ptr %7, align 4
%43 = icmp slt i32 %42, 992
br i1 %43, label %.lr.ph, label %64
.lr.ph: ; preds = %0
br label %44
44: ; preds = %.lr.ph, %59
%45 = load i32, ptr %7, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds [992 x double], ptr %4, i64 0, i64 %46
store double 1.000000e+00, ptr %47, align 8
%48 = load i32, ptr %7, align 4
%49 = sitofp i32 %48 to double
%50 = load i32, ptr %7, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds [992 x double], ptr %5, i64 0, i64 %51
store double %49, ptr %52, align 8
%53 = load i32, ptr %7, align 4
%54 = sub nsw i32 0, %53
%55 = sitofp i32 %54 to double
%56 = load i32, ptr %7, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds [992 x double], ptr %6, i64 0, i64 %57
store double %55, ptr %58, align 8
br label %59
59: ; preds = %44
%60 = load i32, ptr %7, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %7, align 4
%62 = load i32, ptr %7, align 4
%63 = icmp slt i32 %62, 992
br i1 %63, label %44, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %59
br label %64
64: ; preds = %._crit_edge, %0
store i32 0, ptr %8, align 4
%65 = load i32, ptr %8, align 4
%66 = icmp sle i32 %65, 224
br i1 %66, label %.lr.ph18, label %206
.lr.ph18: ; preds = %64
br label %67
67: ; preds = %.lr.ph18, %201
%68 = load i32, ptr %8, align 4
%69 = getelementptr inbounds [1 x i32], ptr %9, i64 0, i64 0
store i32 %68, ptr %69, align 4
store i32 0, ptr %10, align 4
store i32 0, ptr %12, align 4
br label %70
70: ; preds = %190, %67
%71 = load i32, ptr %12, align 4
%72 = icmp slt i32 %71, 1
br i1 %72, label %73, label %76
73: ; preds = %70
%74 = load i32, ptr %10, align 4
%75 = icmp eq i32 %74, 0
br label %76
76: ; preds = %73, %70
%77 = phi i1 [ false, %70 ], [ %75, %73 ]
br i1 %77, label %78, label %193
78: ; preds = %76
store i32 0, ptr %13, align 4
%79 = load i32, ptr %13, align 4
%80 = icmp slt i32 %79, 992
br i1 %80, label %.lr.ph4, label %93
.lr.ph4: ; preds = %78
br label %81
81: ; preds = %.lr.ph4, %88
%82 = load i32, ptr %13, align 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %83
store double 1.000000e+00, ptr %84, align 8
%85 = load i32, ptr %13, align 4
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds [992 x double], ptr %3, i64 0, i64 %86
store double 0.000000e+00, ptr %87, align 8
br label %88
88: ; preds = %81
%89 = load i32, ptr %13, align 4
%90 = add nsw i32 %89, 1
store i32 %90, ptr %13, align 4
%91 = load i32, ptr %13, align 4
%92 = icmp slt i32 %91, 992
br i1 %92, label %81, label %._crit_edge5, !llvm.loop !8
._crit_edge5: ; preds = %88
br label %93
93: ; preds = %._crit_edge5, %78
store i32 0, ptr %14, align 4
%94 = load i32, ptr %14, align 4
%95 = icmp slt i32 %94, 992
br i1 %95, label %.lr.ph7, label %114
.lr.ph7: ; preds = %93
br label %96
96: ; preds = %.lr.ph7, %109
%97 = load i32, ptr %14, align 4
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds [992 x double], ptr %5, i64 0, i64 %98
%100 = load double, ptr %99, align 8
%101 = load i32, ptr %14, align 4
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds [992 x double], ptr %6, i64 0, i64 %102
%104 = load double, ptr %103, align 8
%105 = fsub double %100, %104
%106 = load i32, ptr %14, align 4
%107 = sext i32 %106 to i64
%108 = getelementptr inbounds [992 x double], ptr %3, i64 0, i64 %107
store double %105, ptr %108, align 8
br label %109
109: ; preds = %96
%110 = load i32, ptr %14, align 4
%111 = add nsw i32 %110, 1
store i32 %111, ptr %14, align 4
%112 = load i32, ptr %14, align 4
%113 = icmp slt i32 %112, 992
br i1 %113, label %96, label %._crit_edge8, !llvm.loop !9
._crit_edge8: ; preds = %109
br label %114
114: ; preds = %._crit_edge8, %93
store i32 0, ptr %15, align 4
%115 = load i32, ptr %15, align 4
%116 = icmp slt i32 %115, 992
br i1 %116, label %.lr.ph10, label %137
.lr.ph10: ; preds = %114
br label %117
117: ; preds = %.lr.ph10, %132
%118 = load i32, ptr %15, align 4
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds [992 x double], ptr %4, i64 0, i64 %119
%121 = load double, ptr %120, align 8
%122 = load i32, ptr %15, align 4
%123 = sext i32 %122 to i64
%124 = getelementptr inbounds [992 x double], ptr %5, i64 0, i64 %123
%125 = load double, ptr %124, align 8
%126 = fadd double %121, %125
%127 = load i32, ptr %15, align 4
%128 = sext i32 %127 to i64
%129 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %128
%130 = load double, ptr %129, align 8
%131 = fadd double %130, %126
store double %131, ptr %129, align 8
br label %132
132: ; preds = %117
%133 = load i32, ptr %15, align 4
%134 = add nsw i32 %133, 1
store i32 %134, ptr %15, align 4
%135 = load i32, ptr %15, align 4
%136 = icmp slt i32 %135, 992
br i1 %136, label %117, label %._crit_edge11, !llvm.loop !10
._crit_edge11: ; preds = %132
br label %137
137: ; preds = %._crit_edge11, %114
store i32 0, ptr %16, align 4
%138 = load i32, ptr %16, align 4
%139 = icmp slt i32 %138, 992
br i1 %139, label %.lr.ph13, label %155
.lr.ph13: ; preds = %137
br label %140
140: ; preds = %.lr.ph13, %150
%141 = load i32, ptr %16, align 4
%142 = sext i32 %141 to i64
%143 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %142
%144 = load double, ptr %143, align 8
%145 = load i32, ptr %16, align 4
%146 = sext i32 %145 to i64
%147 = getelementptr inbounds [992 x double], ptr %3, i64 0, i64 %146
%148 = load double, ptr %147, align 8
%149 = fadd double %148, %144
store double %149, ptr %147, align 8
br label %150
150: ; preds = %140
%151 = load i32, ptr %16, align 4
%152 = add nsw i32 %151, 1
store i32 %152, ptr %16, align 4
%153 = load i32, ptr %16, align 4
%154 = icmp slt i32 %153, 992
br i1 %154, label %140, label %._crit_edge14, !llvm.loop !11
._crit_edge14: ; preds = %150
br label %155
155: ; preds = %._crit_edge14, %137
store i32 0, ptr %18, align 4
store i32 0, ptr %17, align 4
%156 = load i32, ptr %17, align 4
%157 = icmp slt i32 %156, 992
br i1 %157, label %.lr.ph16, label %.loopexit2
.lr.ph16: ; preds = %155
br label %158
158: ; preds = %.lr.ph16, %184
%159 = load i32, ptr %17, align 4
%160 = sext i32 %159 to i64
%161 = getelementptr inbounds [992 x double], ptr %3, i64 0, i64 %160
%162 = load double, ptr %161, align 8
%163 = load i32, ptr %17, align 4
%164 = mul nsw i32 3, %163
%165 = add nsw i32 %164, 2
%166 = sitofp i32 %165 to double
%167 = fcmp une double %162, %166
br i1 %167, label %168, label %183
168: ; preds = %158
%169 = load i32, ptr %17, align 4
%170 = load i32, ptr %17, align 4
%171 = mul nsw i32 3, %170
%172 = add nsw i32 %171, 2
%173 = load i32, ptr %17, align 4
%174 = sext i32 %173 to i64
%175 = getelementptr inbounds [992 x double], ptr %3, i64 0, i64 %174
%176 = load double, ptr %175, align 8
%177 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %169, ptr noundef @.str.1, i32 noundef %172, double noundef %176)
store i32 1, ptr %10, align 4
%178 = load i32, ptr %18, align 4
%179 = add nsw i32 %178, 1
store i32 %179, ptr %18, align 4
%180 = icmp sgt i32 %178, 10
br i1 %180, label %181, label %182
181: ; preds = %168
br label %189
182: ; preds = %168
br label %183
183: ; preds = %182, %158
br label %184
184: ; preds = %183
%185 = load i32, ptr %17, align 4
%186 = add nsw i32 %185, 1
store i32 %186, ptr %17, align 4
%187 = load i32, ptr %17, align 4
%188 = icmp slt i32 %187, 992
br i1 %188, label %158, label %..loopexit2_crit_edge, !llvm.loop !12
..loopexit2_crit_edge: ; preds = %184
br label %.loopexit2
.loopexit2: ; preds = %..loopexit2_crit_edge, %155
br label %189
189: ; preds = %.loopexit2, %181
br label %190
190: ; preds = %189
%191 = load i32, ptr %12, align 4
%192 = add nsw i32 %191, 1
store i32 %192, ptr %12, align 4
br label %70, !llvm.loop !13
193: ; preds = %76
%194 = load i32, ptr %10, align 4
%195 = icmp ne i32 %194, 0
br i1 %195, label %196, label %198
196: ; preds = %193
%197 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %200
198: ; preds = %193
%199 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %200
200: ; preds = %198, %196
br label %201
201: ; preds = %200
%202 = load i32, ptr %8, align 4
%203 = add nsw i32 %202, 1
store i32 %203, ptr %8, align 4
%204 = load i32, ptr %8, align 4
%205 = icmp sle i32 %204, 224
br i1 %205, label %67, label %._crit_edge19, !llvm.loop !14
._crit_edge19: ; preds = %201
br label %206
206: ; preds = %._crit_edge19, %64
store i32 0, ptr %19, align 4
%207 = load i32, ptr %19, align 4
%208 = icmp sle i32 %207, 224
br i1 %208, label %.lr.ph35, label %348
.lr.ph35: ; preds = %206
br label %209
209: ; preds = %.lr.ph35, %343
%210 = load i32, ptr %19, align 4
%211 = getelementptr inbounds [1 x i32], ptr %20, i64 0, i64 0
store i32 %210, ptr %211, align 4
store i32 0, ptr %21, align 4
store i32 0, ptr %23, align 4
br label %212
212: ; preds = %332, %209
%213 = load i32, ptr %23, align 4
%214 = icmp slt i32 %213, 1
br i1 %214, label %215, label %218
215: ; preds = %212
%216 = load i32, ptr %21, align 4
%217 = icmp eq i32 %216, 0
br label %218
218: ; preds = %215, %212
%219 = phi i1 [ false, %212 ], [ %217, %215 ]
br i1 %219, label %220, label %335
220: ; preds = %218
store i32 0, ptr %24, align 4
%221 = load i32, ptr %24, align 4
%222 = icmp slt i32 %221, 992
br i1 %222, label %.lr.ph21, label %235
.lr.ph21: ; preds = %220
br label %223
223: ; preds = %.lr.ph21, %230
%224 = load i32, ptr %24, align 4
%225 = sext i32 %224 to i64
%226 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %225
store double 1.000000e+00, ptr %226, align 8
%227 = load i32, ptr %24, align 4
%228 = sext i32 %227 to i64
%229 = getelementptr inbounds [992 x double], ptr %3, i64 0, i64 %228
store double 0.000000e+00, ptr %229, align 8
br label %230
230: ; preds = %223
%231 = load i32, ptr %24, align 4
%232 = add nsw i32 %231, 1
store i32 %232, ptr %24, align 4
%233 = load i32, ptr %24, align 4
%234 = icmp slt i32 %233, 992
br i1 %234, label %223, label %._crit_edge22, !llvm.loop !15
._crit_edge22: ; preds = %230
br label %235
235: ; preds = %._crit_edge22, %220
store i32 0, ptr %25, align 4
%236 = load i32, ptr %25, align 4
%237 = icmp slt i32 %236, 992
br i1 %237, label %.lr.ph24, label %256
.lr.ph24: ; preds = %235
br label %238
238: ; preds = %.lr.ph24, %251
%239 = load i32, ptr %25, align 4
%240 = sext i32 %239 to i64
%241 = getelementptr inbounds [992 x double], ptr %5, i64 0, i64 %240
%242 = load double, ptr %241, align 8
%243 = load i32, ptr %25, align 4
%244 = sext i32 %243 to i64
%245 = getelementptr inbounds [992 x double], ptr %6, i64 0, i64 %244
%246 = load double, ptr %245, align 8
%247 = fsub double %242, %246
%248 = load i32, ptr %25, align 4
%249 = sext i32 %248 to i64
%250 = getelementptr inbounds [992 x double], ptr %3, i64 0, i64 %249
store double %247, ptr %250, align 8
br label %251
251: ; preds = %238
%252 = load i32, ptr %25, align 4
%253 = add nsw i32 %252, 1
store i32 %253, ptr %25, align 4
%254 = load i32, ptr %25, align 4
%255 = icmp slt i32 %254, 992
br i1 %255, label %238, label %._crit_edge25, !llvm.loop !16
._crit_edge25: ; preds = %251
br label %256
256: ; preds = %._crit_edge25, %235
store i32 0, ptr %26, align 4
%257 = load i32, ptr %26, align 4
%258 = icmp slt i32 %257, 992
br i1 %258, label %.lr.ph27, label %279
.lr.ph27: ; preds = %256
br label %259
259: ; preds = %.lr.ph27, %274
%260 = load i32, ptr %26, align 4
%261 = sext i32 %260 to i64
%262 = getelementptr inbounds [992 x double], ptr %4, i64 0, i64 %261
%263 = load double, ptr %262, align 8
%264 = load i32, ptr %26, align 4
%265 = sext i32 %264 to i64
%266 = getelementptr inbounds [992 x double], ptr %5, i64 0, i64 %265
%267 = load double, ptr %266, align 8
%268 = fadd double %263, %267
%269 = load i32, ptr %26, align 4
%270 = sext i32 %269 to i64
%271 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %270
%272 = load double, ptr %271, align 8
%273 = fadd double %272, %268
store double %273, ptr %271, align 8
br label %274
274: ; preds = %259
%275 = load i32, ptr %26, align 4
%276 = add nsw i32 %275, 1
store i32 %276, ptr %26, align 4
%277 = load i32, ptr %26, align 4
%278 = icmp slt i32 %277, 992
br i1 %278, label %259, label %._crit_edge28, !llvm.loop !17
._crit_edge28: ; preds = %274
br label %279
279: ; preds = %._crit_edge28, %256
store i32 0, ptr %27, align 4
%280 = load i32, ptr %27, align 4
%281 = icmp slt i32 %280, 992
br i1 %281, label %.lr.ph30, label %297
.lr.ph30: ; preds = %279
br label %282
282: ; preds = %.lr.ph30, %292
%283 = load i32, ptr %27, align 4
%284 = sext i32 %283 to i64
%285 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %284
%286 = load double, ptr %285, align 8
%287 = load i32, ptr %27, align 4
%288 = sext i32 %287 to i64
%289 = getelementptr inbounds [992 x double], ptr %3, i64 0, i64 %288
%290 = load double, ptr %289, align 8
%291 = fadd double %290, %286
store double %291, ptr %289, align 8
br label %292
292: ; preds = %282
%293 = load i32, ptr %27, align 4
%294 = add nsw i32 %293, 1
store i32 %294, ptr %27, align 4
%295 = load i32, ptr %27, align 4
%296 = icmp slt i32 %295, 992
br i1 %296, label %282, label %._crit_edge31, !llvm.loop !18
._crit_edge31: ; preds = %292
br label %297
297: ; preds = %._crit_edge31, %279
store i32 0, ptr %29, align 4
store i32 0, ptr %28, align 4
%298 = load i32, ptr %28, align 4
%299 = icmp slt i32 %298, 992
br i1 %299, label %.lr.ph33, label %.loopexit1
.lr.ph33: ; preds = %297
br label %300
300: ; preds = %.lr.ph33, %326
%301 = load i32, ptr %28, align 4
%302 = sext i32 %301 to i64
%303 = getelementptr inbounds [992 x double], ptr %3, i64 0, i64 %302
%304 = load double, ptr %303, align 8
%305 = load i32, ptr %28, align 4
%306 = mul nsw i32 2, %305
%307 = add nsw i32 %306, 1
%308 = sitofp i32 %307 to double
%309 = fcmp une double %304, %308
br i1 %309, label %310, label %325
310: ; preds = %300
%311 = load i32, ptr %28, align 4
%312 = load i32, ptr %28, align 4
%313 = mul nsw i32 2, %312
%314 = add nsw i32 %313, 1
%315 = load i32, ptr %28, align 4
%316 = sext i32 %315 to i64
%317 = getelementptr inbounds [992 x double], ptr %3, i64 0, i64 %316
%318 = load double, ptr %317, align 8
%319 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %311, ptr noundef @.str.1, i32 noundef %314, double noundef %318)
store i32 1, ptr %21, align 4
%320 = load i32, ptr %29, align 4
%321 = add nsw i32 %320, 1
store i32 %321, ptr %29, align 4
%322 = icmp sgt i32 %320, 10
br i1 %322, label %323, label %324
323: ; preds = %310
br label %331
324: ; preds = %310
br label %325
325: ; preds = %324, %300
br label %326
326: ; preds = %325
%327 = load i32, ptr %28, align 4
%328 = add nsw i32 %327, 1
store i32 %328, ptr %28, align 4
%329 = load i32, ptr %28, align 4
%330 = icmp slt i32 %329, 992
br i1 %330, label %300, label %..loopexit1_crit_edge, !llvm.loop !19
..loopexit1_crit_edge: ; preds = %326
br label %.loopexit1
.loopexit1: ; preds = %..loopexit1_crit_edge, %297
br label %331
331: ; preds = %.loopexit1, %323
br label %332
332: ; preds = %331
%333 = load i32, ptr %23, align 4
%334 = add nsw i32 %333, 1
store i32 %334, ptr %23, align 4
br label %212, !llvm.loop !20
335: ; preds = %218
%336 = load i32, ptr %21, align 4
%337 = icmp ne i32 %336, 0
br i1 %337, label %338, label %340
338: ; preds = %335
%339 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %342
340: ; preds = %335
%341 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %342
342: ; preds = %340, %338
br label %343
343: ; preds = %342
%344 = load i32, ptr %19, align 4
%345 = add nsw i32 %344, 1
store i32 %345, ptr %19, align 4
%346 = load i32, ptr %19, align 4
%347 = icmp sle i32 %346, 224
br i1 %347, label %209, label %._crit_edge36, !llvm.loop !21
._crit_edge36: ; preds = %343
br label %348
348: ; preds = %._crit_edge36, %206
store i32 0, ptr %30, align 4
%349 = load i32, ptr %30, align 4
%350 = icmp sle i32 %349, 224
br i1 %350, label %.lr.ph52, label %499
.lr.ph52: ; preds = %348
br label %351
351: ; preds = %.lr.ph52, %494
%352 = load i32, ptr %30, align 4
%353 = getelementptr inbounds [1 x i32], ptr %31, i64 0, i64 0
store i32 %352, ptr %353, align 4
store i32 0, ptr %32, align 4
store i32 0, ptr %34, align 4
br label %354
354: ; preds = %483, %351
%355 = load i32, ptr %34, align 4
%356 = icmp slt i32 %355, 1
br i1 %356, label %357, label %360
357: ; preds = %354
%358 = load i32, ptr %32, align 4
%359 = icmp eq i32 %358, 0
br label %360
360: ; preds = %357, %354
%361 = phi i1 [ false, %354 ], [ %359, %357 ]
br i1 %361, label %362, label %486
362: ; preds = %360
store i32 0, ptr %35, align 4
%363 = load i32, ptr %35, align 4
%364 = icmp slt i32 %363, 992
br i1 %364, label %.lr.ph38, label %377
.lr.ph38: ; preds = %362
br label %365
365: ; preds = %.lr.ph38, %372
%366 = load i32, ptr %35, align 4
%367 = sext i32 %366 to i64
%368 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %367
store double 1.000000e+00, ptr %368, align 8
%369 = load i32, ptr %35, align 4
%370 = sext i32 %369 to i64
%371 = getelementptr inbounds [992 x double], ptr %3, i64 0, i64 %370
store double 0.000000e+00, ptr %371, align 8
br label %372
372: ; preds = %365
%373 = load i32, ptr %35, align 4
%374 = add nsw i32 %373, 1
store i32 %374, ptr %35, align 4
%375 = load i32, ptr %35, align 4
%376 = icmp slt i32 %375, 992
br i1 %376, label %365, label %._crit_edge39, !llvm.loop !22
._crit_edge39: ; preds = %372
br label %377
377: ; preds = %._crit_edge39, %362
store i32 0, ptr %36, align 4
%378 = load i32, ptr %36, align 4
%379 = icmp slt i32 %378, 992
br i1 %379, label %.lr.ph41, label %398
.lr.ph41: ; preds = %377
br label %380
380: ; preds = %.lr.ph41, %393
%381 = load i32, ptr %36, align 4
%382 = sext i32 %381 to i64
%383 = getelementptr inbounds [992 x double], ptr %5, i64 0, i64 %382
%384 = load double, ptr %383, align 8
%385 = load i32, ptr %36, align 4
%386 = sext i32 %385 to i64
%387 = getelementptr inbounds [992 x double], ptr %6, i64 0, i64 %386
%388 = load double, ptr %387, align 8
%389 = fsub double %384, %388
%390 = load i32, ptr %36, align 4
%391 = sext i32 %390 to i64
%392 = getelementptr inbounds [992 x double], ptr %3, i64 0, i64 %391
store double %389, ptr %392, align 8
br label %393
393: ; preds = %380
%394 = load i32, ptr %36, align 4
%395 = add nsw i32 %394, 1
store i32 %395, ptr %36, align 4
%396 = load i32, ptr %36, align 4
%397 = icmp slt i32 %396, 992
br i1 %397, label %380, label %._crit_edge42, !llvm.loop !23
._crit_edge42: ; preds = %393
br label %398
398: ; preds = %._crit_edge42, %377
store i32 0, ptr %37, align 4
%399 = load i32, ptr %37, align 4
%400 = icmp slt i32 %399, 992
br i1 %400, label %.lr.ph44, label %430
.lr.ph44: ; preds = %398
br label %401
401: ; preds = %.lr.ph44, %425
%402 = load i32, ptr %37, align 4
%403 = sext i32 %402 to i64
%404 = getelementptr inbounds [992 x double], ptr %4, i64 0, i64 %403
%405 = load double, ptr %404, align 8
%406 = load i32, ptr %37, align 4
%407 = sext i32 %406 to i64
%408 = getelementptr inbounds [992 x double], ptr %5, i64 0, i64 %407
%409 = load double, ptr %408, align 8
%410 = fadd double %405, %409
%411 = load i32, ptr %37, align 4
%412 = sext i32 %411 to i64
%413 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %412
%414 = load double, ptr %413, align 8
%415 = fadd double %414, %410
store double %415, ptr %413, align 8
%416 = load i32, ptr %37, align 4
%417 = sext i32 %416 to i64
%418 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %417
%419 = load double, ptr %418, align 8
%420 = load i32, ptr %37, align 4
%421 = sext i32 %420 to i64
%422 = getelementptr inbounds [992 x double], ptr %3, i64 0, i64 %421
%423 = load double, ptr %422, align 8
%424 = fadd double %423, %419
store double %424, ptr %422, align 8
br label %425
425: ; preds = %401
%426 = load i32, ptr %37, align 4
%427 = add nsw i32 %426, 1
store i32 %427, ptr %37, align 4
%428 = load i32, ptr %37, align 4
%429 = icmp slt i32 %428, 992
br i1 %429, label %401, label %._crit_edge45, !llvm.loop !24
._crit_edge45: ; preds = %425
br label %430
430: ; preds = %._crit_edge45, %398
store i32 0, ptr %38, align 4
%431 = load i32, ptr %38, align 4
%432 = icmp slt i32 %431, 992
br i1 %432, label %.lr.ph47, label %448
.lr.ph47: ; preds = %430
br label %433
433: ; preds = %.lr.ph47, %443
%434 = load i32, ptr %38, align 4
%435 = sext i32 %434 to i64
%436 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %435
%437 = load double, ptr %436, align 8
%438 = load i32, ptr %38, align 4
%439 = sext i32 %438 to i64
%440 = getelementptr inbounds [992 x double], ptr %3, i64 0, i64 %439
%441 = load double, ptr %440, align 8
%442 = fadd double %441, %437
store double %442, ptr %440, align 8
br label %443
443: ; preds = %433
%444 = load i32, ptr %38, align 4
%445 = add nsw i32 %444, 1
store i32 %445, ptr %38, align 4
%446 = load i32, ptr %38, align 4
%447 = icmp slt i32 %446, 992
br i1 %447, label %433, label %._crit_edge48, !llvm.loop !25
._crit_edge48: ; preds = %443
br label %448
448: ; preds = %._crit_edge48, %430
store i32 0, ptr %40, align 4
store i32 0, ptr %39, align 4
%449 = load i32, ptr %39, align 4
%450 = icmp slt i32 %449, 992
br i1 %450, label %.lr.ph50, label %.loopexit
.lr.ph50: ; preds = %448
br label %451
451: ; preds = %.lr.ph50, %477
%452 = load i32, ptr %39, align 4
%453 = sext i32 %452 to i64
%454 = getelementptr inbounds [992 x double], ptr %3, i64 0, i64 %453
%455 = load double, ptr %454, align 8
%456 = load i32, ptr %39, align 4
%457 = mul nsw i32 3, %456
%458 = add nsw i32 %457, 3
%459 = sitofp i32 %458 to double
%460 = fcmp une double %455, %459
br i1 %460, label %461, label %476
461: ; preds = %451
%462 = load i32, ptr %39, align 4
%463 = load i32, ptr %39, align 4
%464 = mul nsw i32 3, %463
%465 = add nsw i32 %464, 3
%466 = load i32, ptr %39, align 4
%467 = sext i32 %466 to i64
%468 = getelementptr inbounds [992 x double], ptr %3, i64 0, i64 %467
%469 = load double, ptr %468, align 8
%470 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %462, ptr noundef @.str.1, i32 noundef %465, double noundef %469)
store i32 1, ptr %32, align 4
%471 = load i32, ptr %40, align 4
%472 = add nsw i32 %471, 1
store i32 %472, ptr %40, align 4
%473 = icmp sgt i32 %471, 10
br i1 %473, label %474, label %475
474: ; preds = %461
br label %482
475: ; preds = %461
br label %476
476: ; preds = %475, %451
br label %477
477: ; preds = %476
%478 = load i32, ptr %39, align 4
%479 = add nsw i32 %478, 1
store i32 %479, ptr %39, align 4
%480 = load i32, ptr %39, align 4
%481 = icmp slt i32 %480, 992
br i1 %481, label %451, label %..loopexit_crit_edge, !llvm.loop !26
..loopexit_crit_edge: ; preds = %477
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %448
br label %482
482: ; preds = %.loopexit, %474
br label %483
483: ; preds = %482
%484 = load i32, ptr %34, align 4
%485 = add nsw i32 %484, 1
store i32 %485, ptr %34, align 4
br label %354, !llvm.loop !27
486: ; preds = %360
%487 = load i32, ptr %32, align 4
%488 = icmp ne i32 %487, 0
br i1 %488, label %489, label %491
489: ; preds = %486
%490 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %493
491: ; preds = %486
%492 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %493
493: ; preds = %491, %489
br label %494
494: ; preds = %493
%495 = load i32, ptr %30, align 4
%496 = add nsw i32 %495, 1
store i32 %496, ptr %30, align 4
%497 = load i32, ptr %30, align 4
%498 = icmp sle i32 %497, 224
br i1 %498, label %351, label %._crit_edge53, !llvm.loop !28
._crit_edge53: ; preds = %494
br label %499
499: ; preds = %._crit_edge53, %348
ret i32 0
}
declare i32 @check_offloading(...) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
!17 = distinct !{!17, !7}
!18 = distinct !{!18, !7}
!19 = distinct !{!19, !7}
!20 = distinct !{!20, !7}
!21 = distinct !{!21, !7}
!22 = distinct !{!22, !7}
!23 = distinct !{!23, !7}
!24 = distinct !{!24, !7}
!25 = distinct !{!25, !7}
!26 = distinct !{!26, !7}
!27 = distinct !{!27, !7}
!28 = distinct !{!28, !7}
|
; ModuleID = '/tmp/tmp05qqgi66.c'
source_filename = "/tmp/tmp05qqgi66.c"
target datalayout = "e-m:e-p270: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/tmp05qqgi66.c"
target datalayout = "e-m:e-p270: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/tmpuwzmdxc9.c'
source_filename = "/tmp/tmpuwzmdxc9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rand_double() #0 {
%1 = call i32 (...) @mt_rand_double_1()
%2 = mul nsw i32 %1, 1000
%3 = sitofp i32 %2 to double
ret double %3
}
declare i32 @mt_rand_double_1(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuwzmdxc9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rand_double() #0 {
%1 = call i32 (...) @mt_rand_double_1()
%2 = mul nsw i32 %1, 1000
%3 = sitofp i32 %2 to double
ret double %3
}
declare i32 @mt_rand_double_1(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpx_43xl6n.c'
source_filename = "/tmp/tmpx_43xl6n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @free_XIMStyles(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp eq ptr %3, null
br i1 %4, label %5, label %7
5: ; preds = %1
%6 = call i32 (...) @abort() #3
unreachable
7: ; preds = %1
%8 = load ptr, ptr %2, align 8
%9 = call i32 @free(ptr noundef %8)
ret void
}
; Function Attrs: noreturn
declare i32 @abort(...) #1
declare i32 @free(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 = { 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 #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 }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpx_43xl6n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @free_XIMStyles(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp eq ptr %3, null
br i1 %4, label %5, label %7
5: ; preds = %1
%6 = call i32 (...) @abort() #3
unreachable
7: ; preds = %1
%8 = load ptr, ptr %2, align 8
%9 = call i32 @free(ptr noundef %8)
ret void
}
; Function Attrs: noreturn
declare i32 @abort(...) #1
declare i32 @free(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 = { 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 #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 }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpa6n18d87.c'
source_filename = "/tmp/tmpa6n18d87.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_itobase(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = call ptr @ft_uitobase(i32 noundef %7, i32 noundef %8, i32 noundef %9)
ret ptr %10
}
declare ptr @ft_uitobase(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/tmpa6n18d87.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_itobase(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = call ptr @ft_uitobase(i32 noundef %7, i32 noundef %8, i32 noundef %9)
ret ptr %10
}
declare ptr @ft_uitobase(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/tmpn5er57fu.c'
source_filename = "/tmp/tmpn5er57fu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @slach_rand_int_range_4(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 (...) @rand()
%6 = load i32, ptr %4, align 4
%7 = load i32, ptr %3, align 4
%8 = sub nsw i32 %6, %7
%9 = add nsw i32 %8, 1
%10 = srem i32 %5, %9
%11 = load i32, ptr %3, align 4
%12 = add nsw i32 %10, %11
%13 = sub nsw i32 %12, 1
ret i32 %13
}
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpn5er57fu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @slach_rand_int_range_4(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 (...) @rand()
%6 = load i32, ptr %4, align 4
%7 = load i32, ptr %3, align 4
%8 = sub nsw i32 %6, %7
%9 = add nsw i32 %8, 1
%10 = srem i32 %5, %9
%11 = load i32, ptr %3, align 4
%12 = add nsw i32 %10, %11
%13 = sub nsw i32 %12, 1
ret i32 %13
}
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpl4so_gku.c'
source_filename = "/tmp/tmpl4so_gku.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"An error occurred!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @call_func(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %4, align 8
%7 = load i32, ptr %3, align 4
%8 = call i32 %6(i32 noundef %7)
store i32 %8, ptr %5, align 4
%9 = load i32, ptr %5, align 4
%10 = icmp sle i32 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %2
%12 = call i32 @printf(ptr noundef @.str)
br label %13
13: ; preds = %11, %2
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/tmpl4so_gku.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"An error occurred!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @call_func(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %4, align 8
%7 = load i32, ptr %3, align 4
%8 = call i32 %6(i32 noundef %7)
store i32 %8, ptr %5, align 4
%9 = load i32, ptr %5, align 4
%10 = icmp sle i32 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %2
%12 = call i32 @printf(ptr noundef @.str)
br label %13
13: ; preds = %11, %2
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/tmp009fjx6s.c'
source_filename = "/tmp/tmp009fjx6s.c"
target datalayout = "e-m:e-p270: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/tmp009fjx6s.c"
target datalayout = "e-m:e-p270: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/tmpd0p4ephd.c'
source_filename = "/tmp/tmpd0p4ephd.c"
target datalayout = "e-m:e-p270: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 [12 x i32] [i32 1, i32 3, i32 5, i32 4, i32 7, i32 2, i32 99, i32 16, i32 45, i32 67, i32 89, i32 45], align 16
@.str = private unnamed_addr constant [37 x i8] c"Total of array element values 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 [12 x i32], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.a, i64 48, i1 false)
store i32 0, ptr %4, align 4
store i32 0, ptr %3, align 4
br label %5
5: ; preds = %15, %0
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 %6, 12
br i1 %7, label %8, label %18
8: ; preds = %5
%9 = load i32, ptr %3, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds [12 x i32], ptr %2, i64 0, i64 %10
%12 = load i32, ptr %11, align 4
%13 = load i32, ptr %4, align 4
%14 = add nsw i32 %13, %12
store i32 %14, ptr %4, align 4
br label %15
15: ; preds = %8
%16 = load i32, ptr %3, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %3, align 4
br label %5, !llvm.loop !6
18: ; preds = %5
%19 = load i32, ptr %4, align 4
%20 = call i32 @printf(ptr noundef @.str, i32 noundef %19)
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, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd0p4ephd.c"
target datalayout = "e-m:e-p270: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 [12 x i32] [i32 1, i32 3, i32 5, i32 4, i32 7, i32 2, i32 99, i32 16, i32 45, i32 67, i32 89, i32 45], align 16
@.str = private unnamed_addr constant [37 x i8] c"Total of array element values 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 [12 x i32], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.a, i64 48, i1 false)
store i32 0, ptr %4, align 4
store i32 0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 12
br i1 %6, label %.lr.ph, label %19
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %14
%8 = load i32, ptr %3, align 4
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds [12 x i32], ptr %2, i64 0, i64 %9
%11 = load i32, ptr %10, align 4
%12 = load i32, ptr %4, align 4
%13 = add nsw i32 %12, %11
store i32 %13, ptr %4, align 4
br label %14
14: ; preds = %7
%15 = load i32, ptr %3, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %3, align 4
%17 = load i32, ptr %3, align 4
%18 = icmp slt i32 %17, 12
br i1 %18, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %19
19: ; preds = %._crit_edge, %0
%20 = load i32, ptr %4, align 4
%21 = call i32 @printf(ptr noundef @.str, i32 noundef %20)
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, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpkn_xt14m.c'
source_filename = "/tmp/tmpkn_xt14m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [4 x i8] c"%s \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [473 x i8], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %5
5: ; preds = %0, %64
%6 = getelementptr inbounds [473 x i8], ptr %2, i64 0, i64 0
%7 = call i32 @scanf(ptr noundef @.str, ptr noundef %6)
%8 = getelementptr inbounds [473 x i8], ptr %2, i64 0, i64 0
%9 = call i32 @strlen(ptr noundef %8)
store i32 %9, ptr %4, align 4
%10 = getelementptr inbounds [473 x i8], ptr %2, i64 0, i64 0
%11 = load i8, ptr %10, align 16
%12 = sext i8 %11 to i32
%13 = icmp eq i32 %12, 83
br i1 %13, label %14, label %30
14: ; preds = %5
%15 = getelementptr inbounds [473 x i8], ptr %2, i64 0, i64 1
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp eq i32 %17, 84
br i1 %18, label %19, label %30
19: ; preds = %14
%20 = getelementptr inbounds [473 x i8], ptr %2, i64 0, i64 2
%21 = load i8, ptr %20, align 2
%22 = sext i8 %21 to i32
%23 = icmp eq i32 %22, 79
br i1 %23, label %24, label %30
24: ; preds = %19
%25 = getelementptr inbounds [473 x i8], ptr %2, i64 0, i64 3
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp eq i32 %27, 80
br i1 %28, label %29, label %30
29: ; preds = %24
br label %67
30: ; preds = %24, %19, %14, %5
store i32 0, ptr %3, align 4
br label %31
31: ; preds = %61, %30
%32 = load i32, ptr %3, align 4
%33 = load i32, ptr %4, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %35, label %64
35: ; preds = %31
%36 = load i32, ptr %3, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds [473 x i8], ptr %2, i64 0, i64 %37
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i32
%41 = icmp sge i32 %40, 97
br i1 %41, label %42, label %60
42: ; preds = %35
%43 = load i32, ptr %3, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds [473 x i8], ptr %2, i64 0, i64 %44
%46 = load i8, ptr %45, align 1
%47 = sext i8 %46 to i32
%48 = icmp sle i32 %47, 122
br i1 %48, label %49, label %60
49: ; preds = %42
%50 = load i32, ptr %3, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds [473 x i8], ptr %2, i64 0, i64 %51
%53 = load i8, ptr %52, align 1
%54 = sext i8 %53 to i32
%55 = sub nsw i32 %54, 32
%56 = trunc i32 %55 to i8
%57 = load i32, ptr %3, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds [473 x i8], ptr %2, i64 0, i64 %58
store i8 %56, ptr %59, align 1
br label %60
60: ; preds = %49, %42, %35
br label %61
61: ; preds = %60
%62 = load i32, ptr %3, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %3, align 4
br label %31, !llvm.loop !6
64: ; preds = %31
%65 = getelementptr inbounds [473 x i8], ptr %2, i64 0, i64 0
%66 = call i32 @printf(ptr noundef @.str.1, ptr noundef %65)
br label %5
67: ; preds = %29
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkn_xt14m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [4 x i8] c"%s \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [473 x i8], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = getelementptr inbounds [473 x i8], ptr %2, i64 0, i64 3
br label %6
6: ; preds = %66, %0
%7 = getelementptr inbounds [473 x i8], ptr %2, i64 0, i64 0
%8 = call i32 @scanf(ptr noundef @.str, ptr noundef %7)
%9 = getelementptr inbounds [473 x i8], ptr %2, i64 0, i64 0
%10 = call i32 @strlen(ptr noundef %9)
store i32 %10, ptr %4, align 4
%11 = getelementptr inbounds [473 x i8], ptr %2, i64 0, i64 0
%12 = load i8, ptr %11, align 16
%13 = sext i8 %12 to i32
%14 = icmp eq i32 %13, 83
br i1 %14, label %15, label %30
15: ; preds = %6
%16 = getelementptr inbounds [473 x i8], ptr %2, i64 0, i64 1
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = icmp eq i32 %18, 84
br i1 %19, label %20, label %30
20: ; preds = %15
%21 = getelementptr inbounds [473 x i8], ptr %2, i64 0, i64 2
%22 = load i8, ptr %21, align 2
%23 = sext i8 %22 to i32
%24 = icmp eq i32 %23, 79
br i1 %24, label %25, label %30
25: ; preds = %20
%26 = load i8, ptr %5, align 1
%27 = sext i8 %26 to i32
%28 = icmp eq i32 %27, 80
br i1 %28, label %29, label %30
29: ; preds = %25
br label %69
30: ; preds = %25, %20, %15, %6
store i32 0, ptr %3, align 4
%31 = load i32, ptr %3, align 4
%32 = load i32, ptr %4, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %.lr.ph, label %66
.lr.ph: ; preds = %30
br label %34
34: ; preds = %.lr.ph, %60
%35 = load i32, ptr %3, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [473 x i8], ptr %2, i64 0, i64 %36
%38 = load i8, ptr %37, align 1
%39 = sext i8 %38 to i32
%40 = icmp sge i32 %39, 97
br i1 %40, label %41, label %59
41: ; preds = %34
%42 = load i32, ptr %3, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds [473 x i8], ptr %2, i64 0, i64 %43
%45 = load i8, ptr %44, align 1
%46 = sext i8 %45 to i32
%47 = icmp sle i32 %46, 122
br i1 %47, label %48, label %59
48: ; preds = %41
%49 = load i32, ptr %3, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds [473 x i8], ptr %2, i64 0, i64 %50
%52 = load i8, ptr %51, align 1
%53 = sext i8 %52 to i32
%54 = sub nsw i32 %53, 32
%55 = trunc i32 %54 to i8
%56 = load i32, ptr %3, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds [473 x i8], ptr %2, i64 0, i64 %57
store i8 %55, ptr %58, align 1
br label %59
59: ; preds = %48, %41, %34
br label %60
60: ; preds = %59
%61 = load i32, ptr %3, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %3, align 4
%63 = load i32, ptr %3, align 4
%64 = load i32, ptr %4, align 4
%65 = icmp slt i32 %63, %64
br i1 %65, label %34, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %60
br label %66
66: ; preds = %._crit_edge, %30
%67 = getelementptr inbounds [473 x i8], ptr %2, i64 0, i64 0
%68 = call i32 @printf(ptr noundef @.str.1, ptr noundef %67)
br label %6
69: ; preds = %29
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp224u3sav.c'
source_filename = "/tmp/tmp224u3sav.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@DBL_EPSILON = dso_local global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @odrrk_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10) #0 {
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
%23 = alloca i32, align 4
%24 = alloca double, align 8
%25 = alloca double, align 8
%26 = alloca i32, align 4
%27 = alloca i32, align 4
%28 = alloca double, align 8
%29 = alloca double, align 8
%30 = alloca double, align 8
%31 = alloca double, align 8
%32 = alloca double, align 8
%33 = alloca double, align 8
%34 = alloca double, align 8
%35 = alloca i32, align 4
%36 = alloca double, align 8
%37 = alloca double, align 8
%38 = alloca i32, align 4
store ptr %0, ptr %12, align 8
store ptr %1, ptr %13, align 8
store ptr %2, ptr %14, align 8
store ptr %3, ptr %15, align 8
store ptr %4, ptr %16, align 8
store ptr %5, ptr %17, align 8
store ptr %6, ptr %18, align 8
store ptr %7, ptr %19, align 8
store ptr %8, ptr %20, align 8
store ptr %9, ptr %21, align 8
store ptr %10, ptr %22, align 8
%39 = load ptr, ptr %17, align 8
%40 = getelementptr inbounds double, ptr %39, i32 -1
store ptr %40, ptr %17, align 8
%41 = load ptr, ptr %16, align 8
%42 = getelementptr inbounds double, ptr %41, i32 -1
store ptr %42, ptr %16, align 8
%43 = load double, ptr @DBL_EPSILON, align 8
store double %43, ptr %29, align 8
%44 = load ptr, ptr %14, align 8
%45 = load double, ptr %44, align 8
%46 = call double @llvm.fabs.f64(double %45)
store double %46, ptr %24, align 8
%47 = load ptr, ptr %15, align 8
%48 = load double, ptr %47, align 8
%49 = call double @llvm.fabs.f64(double %48)
store double %49, ptr %25, align 8
%50 = load double, ptr %24, align 8
%51 = load double, ptr %25, align 8
%52 = call double @llvm.maxnum.f64(double %50, double %51)
store double %52, ptr %37, align 8
%53 = load ptr, ptr %19, align 8
%54 = load double, ptr %53, align 8
store double %54, ptr %36, align 8
%55 = load ptr, ptr %18, align 8
%56 = load double, ptr %55, align 8
%57 = fmul double %56, 4.000000e+00
store double %57, ptr %33, align 8
%58 = load double, ptr %37, align 8
%59 = load ptr, ptr %18, align 8
%60 = load double, ptr %59, align 8
%61 = fadd double %58, %60
%62 = fptosi double %61 to i32
%63 = call i32 @log(i32 noundef %62)
%64 = load ptr, ptr %18, align 8
%65 = load double, ptr %64, align 8
%66 = fptosi double %65 to i32
%67 = call i32 @log(i32 noundef %66)
%68 = sub nsw i32 %63, %67
%69 = call i32 @log(i32 noundef 2)
%70 = sdiv i32 %68, %69
%71 = add nsw i32 %70, 2
store i32 %71, ptr %35, align 4
%72 = load ptr, ptr %22, align 8
store i32 -1, ptr %72, align 4
%73 = load ptr, ptr %14, align 8
%74 = load double, ptr %73, align 8
%75 = load double, ptr %37, align 8
%76 = fmul double %75, 2.000000e+00
%77 = load double, ptr %29, align 8
%78 = fmul double %76, %77
%79 = load ptr, ptr %12, align 8
%80 = load i32, ptr %79, align 4
%81 = sitofp i32 %80 to double
%82 = fneg double %78
%83 = call double @llvm.fmuladd.f64(double %82, double %81, double %74)
%84 = load ptr, ptr %18, align 8
%85 = load double, ptr %84, align 8
%86 = fneg double %85
%87 = call double @llvm.fmuladd.f64(double %86, double 4.000000e+00, double %83)
store double %87, ptr %32, align 8
%88 = load ptr, ptr %15, align 8
%89 = load double, ptr %88, align 8
%90 = load double, ptr %37, align 8
%91 = fmul double %90, 2.000000e+00
%92 = load double, ptr %29, align 8
%93 = fmul double %91, %92
%94 = load ptr, ptr %12, align 8
%95 = load i32, ptr %94, align 4
%96 = sitofp i32 %95 to double
%97 = call double @llvm.fmuladd.f64(double %93, double %96, double %89)
%98 = load ptr, ptr %18, align 8
%99 = load double, ptr %98, align 8
%100 = call double @llvm.fmuladd.f64(double %99, double 4.000000e+00, double %97)
store double %100, ptr %34, align 8
store i32 0, ptr %27, align 4
br label %101
101: ; preds = %212, %11
%102 = load double, ptr %34, align 8
%103 = load double, ptr %32, align 8
%104 = fsub double %102, %103
store double %104, ptr %24, align 8
%105 = load double, ptr %24, align 8
%106 = call double @llvm.fabs.f64(double %105)
store double %106, ptr %30, align 8
%107 = load double, ptr %34, align 8
%108 = call double @llvm.fabs.f64(double %107)
store double %108, ptr %24, align 8
%109 = load double, ptr %32, align 8
%110 = call double @llvm.fabs.f64(double %109)
store double %110, ptr %25, align 8
%111 = load double, ptr %24, align 8
%112 = load double, ptr %25, align 8
%113 = call double @llvm.maxnum.f64(double %111, double %112)
store double %113, ptr %31, align 8
%114 = load double, ptr %33, align 8
%115 = load ptr, ptr %18, align 8
%116 = load double, ptr %115, align 8
%117 = call double @llvm.maxnum.f64(double %114, double %116)
store double %117, ptr %24, align 8
%118 = load double, ptr %36, align 8
%119 = load double, ptr %31, align 8
%120 = fmul double %118, %119
store double %120, ptr %25, align 8
%121 = load double, ptr %30, align 8
%122 = load double, ptr %24, align 8
%123 = load double, ptr %25, align 8
%124 = call double @llvm.maxnum.f64(double %122, double %123)
%125 = fcmp olt double %121, %124
br i1 %125, label %126, label %128
126: ; preds = %101
%127 = load ptr, ptr %22, align 8
store i32 0, ptr %127, align 4
br label %213
128: ; preds = %101
%129 = load i32, ptr %27, align 4
%130 = load i32, ptr %35, align 4
%131 = icmp sgt i32 %129, %130
br i1 %131, label %132, label %133
132: ; preds = %128
br label %213
133: ; preds = %128
%134 = load i32, ptr %27, align 4
%135 = add nsw i32 %134, 1
store i32 %135, ptr %27, align 4
%136 = load double, ptr %32, align 8
%137 = load double, ptr %34, align 8
%138 = fadd double %136, %137
%139 = fmul double %138, 5.000000e-01
store double %139, ptr %28, align 8
store i32 0, ptr %38, align 4
%140 = load ptr, ptr %16, align 8
%141 = getelementptr inbounds double, ptr %140, i64 1
%142 = load double, ptr %141, align 8
%143 = load double, ptr %28, align 8
%144 = fsub double %142, %143
store double %144, ptr %30, align 8
%145 = load double, ptr %30, align 8
%146 = call double @llvm.fabs.f64(double %145)
%147 = load ptr, ptr %18, align 8
%148 = load double, ptr %147, align 8
%149 = fcmp olt double %146, %148
br i1 %149, label %150, label %154
150: ; preds = %133
%151 = load ptr, ptr %18, align 8
%152 = load double, ptr %151, align 8
%153 = fneg double %152
store double %153, ptr %30, align 8
br label %154
154: ; preds = %150, %133
%155 = load double, ptr %30, align 8
%156 = fcmp ole double %155, 0.000000e+00
br i1 %156, label %157, label %160
157: ; preds = %154
%158 = load i32, ptr %38, align 4
%159 = add nsw i32 %158, 1
store i32 %159, ptr %38, align 4
br label %160
160: ; preds = %157, %154
%161 = load ptr, ptr %12, align 8
%162 = load i32, ptr %161, align 4
store i32 %162, ptr %23, align 4
store i32 2, ptr %26, align 4
br label %163
163: ; preds = %200, %160
%164 = load i32, ptr %26, align 4
%165 = load i32, ptr %23, align 4
%166 = icmp sle i32 %164, %165
br i1 %166, label %167, label %203
167: ; preds = %163
%168 = load ptr, ptr %16, align 8
%169 = load i32, ptr %26, align 4
%170 = sext i32 %169 to i64
%171 = getelementptr inbounds double, ptr %168, i64 %170
%172 = load double, ptr %171, align 8
%173 = load ptr, ptr %17, align 8
%174 = load i32, ptr %26, align 4
%175 = sub nsw i32 %174, 1
%176 = sext i32 %175 to i64
%177 = getelementptr inbounds double, ptr %173, i64 %176
%178 = load double, ptr %177, align 8
%179 = load double, ptr %30, align 8
%180 = fdiv double %178, %179
%181 = fsub double %172, %180
%182 = load double, ptr %28, align 8
%183 = fsub double %181, %182
store double %183, ptr %30, align 8
%184 = load double, ptr %30, align 8
%185 = call double @llvm.fabs.f64(double %184)
%186 = load ptr, ptr %18, align 8
%187 = load double, ptr %186, align 8
%188 = fcmp olt double %185, %187
br i1 %188, label %189, label %193
189: ; preds = %167
%190 = load ptr, ptr %18, align 8
%191 = load double, ptr %190, align 8
%192 = fneg double %191
store double %192, ptr %30, align 8
br label %193
193: ; preds = %189, %167
%194 = load double, ptr %30, align 8
%195 = fcmp ole double %194, 0.000000e+00
br i1 %195, label %196, label %199
196: ; preds = %193
%197 = load i32, ptr %38, align 4
%198 = add nsw i32 %197, 1
store i32 %198, ptr %38, align 4
br label %199
199: ; preds = %196, %193
br label %200
200: ; preds = %199
%201 = load i32, ptr %26, align 4
%202 = add nsw i32 %201, 1
store i32 %202, ptr %26, align 4
br label %163, !llvm.loop !6
203: ; preds = %163
%204 = load i32, ptr %38, align 4
%205 = load ptr, ptr %13, align 8
%206 = load i32, ptr %205, align 4
%207 = icmp sge i32 %204, %206
br i1 %207, label %208, label %210
208: ; preds = %203
%209 = load double, ptr %28, align 8
store double %209, ptr %34, align 8
br label %212
210: ; preds = %203
%211 = load double, ptr %28, align 8
store double %211, ptr %32, align 8
br label %212
212: ; preds = %210, %208
br label %101
213: ; preds = %132, %126
%214 = load double, ptr %32, align 8
%215 = load double, ptr %34, align 8
%216 = fadd double %214, %215
%217 = fmul double %216, 5.000000e-01
%218 = load ptr, ptr %20, align 8
store double %217, ptr %218, align 8
%219 = load double, ptr %34, align 8
%220 = load double, ptr %32, align 8
%221 = fsub double %219, %220
store double %221, ptr %24, align 8
%222 = load double, ptr %24, align 8
%223 = call double @llvm.fabs.f64(double %222)
%224 = fmul double %223, 5.000000e-01
%225 = load ptr, ptr %21, align 8
store double %224, ptr %225, align 8
ret i32 0
}
; 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.maxnum.f64(double, double) #1
declare i32 @log(i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, 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) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp224u3sav.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@DBL_EPSILON = dso_local global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @odrrk_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10) #0 {
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
%23 = alloca i32, align 4
%24 = alloca double, align 8
%25 = alloca double, align 8
%26 = alloca i32, align 4
%27 = alloca i32, align 4
%28 = alloca double, align 8
%29 = alloca double, align 8
%30 = alloca double, align 8
%31 = alloca double, align 8
%32 = alloca double, align 8
%33 = alloca double, align 8
%34 = alloca double, align 8
%35 = alloca i32, align 4
%36 = alloca double, align 8
%37 = alloca double, align 8
%38 = alloca i32, align 4
store ptr %0, ptr %12, align 8
store ptr %1, ptr %13, align 8
store ptr %2, ptr %14, align 8
store ptr %3, ptr %15, align 8
store ptr %4, ptr %16, align 8
store ptr %5, ptr %17, align 8
store ptr %6, ptr %18, align 8
store ptr %7, ptr %19, align 8
store ptr %8, ptr %20, align 8
store ptr %9, ptr %21, align 8
store ptr %10, ptr %22, align 8
%39 = load ptr, ptr %17, align 8
%40 = getelementptr inbounds double, ptr %39, i32 -1
store ptr %40, ptr %17, align 8
%41 = load ptr, ptr %16, align 8
%42 = getelementptr inbounds double, ptr %41, i32 -1
store ptr %42, ptr %16, align 8
%43 = load double, ptr @DBL_EPSILON, align 8
store double %43, ptr %29, align 8
%44 = load ptr, ptr %14, align 8
%45 = load double, ptr %44, align 8
%46 = call double @llvm.fabs.f64(double %45)
store double %46, ptr %24, align 8
%47 = load ptr, ptr %15, align 8
%48 = load double, ptr %47, align 8
%49 = call double @llvm.fabs.f64(double %48)
store double %49, ptr %25, align 8
%50 = load double, ptr %24, align 8
%51 = load double, ptr %25, align 8
%52 = call double @llvm.maxnum.f64(double %50, double %51)
store double %52, ptr %37, align 8
%53 = load ptr, ptr %19, align 8
%54 = load double, ptr %53, align 8
store double %54, ptr %36, align 8
%55 = load ptr, ptr %18, align 8
%56 = load double, ptr %55, align 8
%57 = fmul double %56, 4.000000e+00
store double %57, ptr %33, align 8
%58 = load double, ptr %37, align 8
%59 = load ptr, ptr %18, align 8
%60 = load double, ptr %59, align 8
%61 = fadd double %58, %60
%62 = fptosi double %61 to i32
%63 = call i32 @log(i32 noundef %62)
%64 = load ptr, ptr %18, align 8
%65 = load double, ptr %64, align 8
%66 = fptosi double %65 to i32
%67 = call i32 @log(i32 noundef %66)
%68 = sub nsw i32 %63, %67
%69 = call i32 @log(i32 noundef 2)
%70 = sdiv i32 %68, %69
%71 = add nsw i32 %70, 2
store i32 %71, ptr %35, align 4
%72 = load ptr, ptr %22, align 8
store i32 -1, ptr %72, align 4
%73 = load ptr, ptr %14, align 8
%74 = load double, ptr %73, align 8
%75 = load double, ptr %37, align 8
%76 = fmul double %75, 2.000000e+00
%77 = load double, ptr %29, align 8
%78 = fmul double %76, %77
%79 = load ptr, ptr %12, align 8
%80 = load i32, ptr %79, align 4
%81 = sitofp i32 %80 to double
%82 = fneg double %78
%83 = call double @llvm.fmuladd.f64(double %82, double %81, double %74)
%84 = load ptr, ptr %18, align 8
%85 = load double, ptr %84, align 8
%86 = fneg double %85
%87 = call double @llvm.fmuladd.f64(double %86, double 4.000000e+00, double %83)
store double %87, ptr %32, align 8
%88 = load ptr, ptr %15, align 8
%89 = load double, ptr %88, align 8
%90 = load double, ptr %37, align 8
%91 = fmul double %90, 2.000000e+00
%92 = load double, ptr %29, align 8
%93 = fmul double %91, %92
%94 = load ptr, ptr %12, align 8
%95 = load i32, ptr %94, align 4
%96 = sitofp i32 %95 to double
%97 = call double @llvm.fmuladd.f64(double %93, double %96, double %89)
%98 = load ptr, ptr %18, align 8
%99 = load double, ptr %98, align 8
%100 = call double @llvm.fmuladd.f64(double %99, double 4.000000e+00, double %97)
store double %100, ptr %34, align 8
store i32 0, ptr %27, align 4
br label %101
101: ; preds = %214, %11
%102 = load double, ptr %34, align 8
%103 = load double, ptr %32, align 8
%104 = fsub double %102, %103
store double %104, ptr %24, align 8
%105 = load double, ptr %24, align 8
%106 = call double @llvm.fabs.f64(double %105)
store double %106, ptr %30, align 8
%107 = load double, ptr %34, align 8
%108 = call double @llvm.fabs.f64(double %107)
store double %108, ptr %24, align 8
%109 = load double, ptr %32, align 8
%110 = call double @llvm.fabs.f64(double %109)
store double %110, ptr %25, align 8
%111 = load double, ptr %24, align 8
%112 = load double, ptr %25, align 8
%113 = call double @llvm.maxnum.f64(double %111, double %112)
store double %113, ptr %31, align 8
%114 = load double, ptr %33, align 8
%115 = load ptr, ptr %18, align 8
%116 = load double, ptr %115, align 8
%117 = call double @llvm.maxnum.f64(double %114, double %116)
store double %117, ptr %24, align 8
%118 = load double, ptr %36, align 8
%119 = load double, ptr %31, align 8
%120 = fmul double %118, %119
store double %120, ptr %25, align 8
%121 = load double, ptr %30, align 8
%122 = load double, ptr %24, align 8
%123 = load double, ptr %25, align 8
%124 = call double @llvm.maxnum.f64(double %122, double %123)
%125 = fcmp olt double %121, %124
br i1 %125, label %126, label %128
126: ; preds = %101
%127 = load ptr, ptr %22, align 8
store i32 0, ptr %127, align 4
br label %215
128: ; preds = %101
%129 = load i32, ptr %27, align 4
%130 = load i32, ptr %35, align 4
%131 = icmp sgt i32 %129, %130
br i1 %131, label %132, label %133
132: ; preds = %128
br label %215
133: ; preds = %128
%134 = load i32, ptr %27, align 4
%135 = add nsw i32 %134, 1
store i32 %135, ptr %27, align 4
%136 = load double, ptr %32, align 8
%137 = load double, ptr %34, align 8
%138 = fadd double %136, %137
%139 = fmul double %138, 5.000000e-01
store double %139, ptr %28, align 8
store i32 0, ptr %38, align 4
%140 = load ptr, ptr %16, align 8
%141 = getelementptr inbounds double, ptr %140, i64 1
%142 = load double, ptr %141, align 8
%143 = load double, ptr %28, align 8
%144 = fsub double %142, %143
store double %144, ptr %30, align 8
%145 = load double, ptr %30, align 8
%146 = call double @llvm.fabs.f64(double %145)
%147 = load ptr, ptr %18, align 8
%148 = load double, ptr %147, align 8
%149 = fcmp olt double %146, %148
br i1 %149, label %150, label %154
150: ; preds = %133
%151 = load ptr, ptr %18, align 8
%152 = load double, ptr %151, align 8
%153 = fneg double %152
store double %153, ptr %30, align 8
br label %154
154: ; preds = %150, %133
%155 = load double, ptr %30, align 8
%156 = fcmp ole double %155, 0.000000e+00
br i1 %156, label %157, label %160
157: ; preds = %154
%158 = load i32, ptr %38, align 4
%159 = add nsw i32 %158, 1
store i32 %159, ptr %38, align 4
br label %160
160: ; preds = %157, %154
%161 = load ptr, ptr %12, align 8
%162 = load i32, ptr %161, align 4
store i32 %162, ptr %23, align 4
store i32 2, ptr %26, align 4
%163 = load i32, ptr %26, align 4
%164 = load i32, ptr %23, align 4
%165 = icmp sle i32 %163, %164
br i1 %165, label %.lr.ph, label %205
.lr.ph: ; preds = %160
br label %166
166: ; preds = %.lr.ph, %199
%167 = load ptr, ptr %16, align 8
%168 = load i32, ptr %26, align 4
%169 = sext i32 %168 to i64
%170 = getelementptr inbounds double, ptr %167, i64 %169
%171 = load double, ptr %170, align 8
%172 = load ptr, ptr %17, align 8
%173 = load i32, ptr %26, align 4
%174 = sub nsw i32 %173, 1
%175 = sext i32 %174 to i64
%176 = getelementptr inbounds double, ptr %172, i64 %175
%177 = load double, ptr %176, align 8
%178 = load double, ptr %30, align 8
%179 = fdiv double %177, %178
%180 = fsub double %171, %179
%181 = load double, ptr %28, align 8
%182 = fsub double %180, %181
store double %182, ptr %30, align 8
%183 = load double, ptr %30, align 8
%184 = call double @llvm.fabs.f64(double %183)
%185 = load ptr, ptr %18, align 8
%186 = load double, ptr %185, align 8
%187 = fcmp olt double %184, %186
br i1 %187, label %188, label %192
188: ; preds = %166
%189 = load ptr, ptr %18, align 8
%190 = load double, ptr %189, align 8
%191 = fneg double %190
store double %191, ptr %30, align 8
br label %192
192: ; preds = %188, %166
%193 = load double, ptr %30, align 8
%194 = fcmp ole double %193, 0.000000e+00
br i1 %194, label %195, label %198
195: ; preds = %192
%196 = load i32, ptr %38, align 4
%197 = add nsw i32 %196, 1
store i32 %197, ptr %38, align 4
br label %198
198: ; preds = %195, %192
br label %199
199: ; preds = %198
%200 = load i32, ptr %26, align 4
%201 = add nsw i32 %200, 1
store i32 %201, ptr %26, align 4
%202 = load i32, ptr %26, align 4
%203 = load i32, ptr %23, align 4
%204 = icmp sle i32 %202, %203
br i1 %204, label %166, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %199
br label %205
205: ; preds = %._crit_edge, %160
%206 = load i32, ptr %38, align 4
%207 = load ptr, ptr %13, align 8
%208 = load i32, ptr %207, align 4
%209 = icmp sge i32 %206, %208
br i1 %209, label %210, label %212
210: ; preds = %205
%211 = load double, ptr %28, align 8
store double %211, ptr %34, align 8
br label %214
212: ; preds = %205
%213 = load double, ptr %28, align 8
store double %213, ptr %32, align 8
br label %214
214: ; preds = %212, %210
br label %101
215: ; preds = %132, %126
%216 = load double, ptr %32, align 8
%217 = load double, ptr %34, align 8
%218 = fadd double %216, %217
%219 = fmul double %218, 5.000000e-01
%220 = load ptr, ptr %20, align 8
store double %219, ptr %220, align 8
%221 = load double, ptr %34, align 8
%222 = load double, ptr %32, align 8
%223 = fsub double %221, %222
store double %223, ptr %24, align 8
%224 = load double, ptr %24, align 8
%225 = call double @llvm.fabs.f64(double %224)
%226 = fmul double %225, 5.000000e-01
%227 = load ptr, ptr %21, align 8
store double %226, ptr %227, align 8
ret i32 0
}
; 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.maxnum.f64(double, double) #1
declare i32 @log(i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, 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) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpy0qnatvq.c'
source_filename = "/tmp/tmpy0qnatvq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clear_multprec_homotopy() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = load ptr, ptr %1, align 8
%6 = load ptr, ptr %2, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @_ada_use_c2phc4c(i32 noundef 524, ptr noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef 0)
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %3, align 4
ret i32 %9
}
declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy0qnatvq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clear_multprec_homotopy() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = load ptr, ptr %1, align 8
%6 = load ptr, ptr %2, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @_ada_use_c2phc4c(i32 noundef 524, ptr noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef 0)
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %3, align 4
ret i32 %9
}
declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3v4byx8f.c'
source_filename = "/tmp/tmp3v4byx8f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @talesprint(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, ptr noundef %3)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3v4byx8f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @talesprint(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, ptr noundef %3)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxazdgp13.c'
source_filename = "/tmp/tmpxazdgp13.c"
target datalayout = "e-m:e-p270: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/tmpxazdgp13.c"
target datalayout = "e-m:e-p270: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/tmp9_ub2m9o.c'
source_filename = "/tmp/tmp9_ub2m9o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [40 x i8] c"Enter up to 35 integers or -1 to exit: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @acceptArray(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
%6 = call i32 @printf(ptr noundef @.str)
br label %7
7: ; preds = %26, %2
%8 = load ptr, ptr %3, align 8
%9 = load i32, ptr %5, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds i32, ptr %8, i64 %10
%12 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %11)
%13 = load i32, ptr %5, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %5, align 4
br label %15
15: ; preds = %7
%16 = load i32, ptr %5, align 4
%17 = icmp slt i32 %16, 35
br i1 %17, label %18, label %26
18: ; preds = %15
%19 = load ptr, ptr %3, align 8
%20 = load i32, ptr %5, align 4
%21 = sub nsw i32 %20, 1
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i32, ptr %19, i64 %22
%24 = load i32, ptr %23, align 4
%25 = icmp ne i32 %24, -1
br label %26
26: ; preds = %18, %15
%27 = phi i1 [ false, %15 ], [ %25, %18 ]
br i1 %27, label %7, label %28, !llvm.loop !6
28: ; preds = %26
%29 = load ptr, ptr %3, align 8
%30 = load i32, ptr %5, align 4
%31 = sub nsw i32 %30, 1
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i32, ptr %29, i64 %32
%34 = load i32, ptr %33, align 4
%35 = icmp eq i32 %34, -1
br i1 %35, label %36, label %39
36: ; preds = %28
%37 = load i32, ptr %5, align 4
%38 = add nsw i32 %37, -1
store i32 %38, ptr %5, align 4
br label %39
39: ; preds = %36, %28
%40 = load i32, ptr %5, align 4
%41 = load ptr, ptr %4, align 8
store i32 %40, ptr %41, align 4
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9_ub2m9o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [40 x i8] c"Enter up to 35 integers or -1 to exit: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @acceptArray(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
%6 = call i32 @printf(ptr noundef @.str)
br label %7
7: ; preds = %26, %2
%8 = load ptr, ptr %3, align 8
%9 = load i32, ptr %5, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds i32, ptr %8, i64 %10
%12 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %11)
%13 = load i32, ptr %5, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %5, align 4
br label %15
15: ; preds = %7
%16 = load i32, ptr %5, align 4
%17 = icmp slt i32 %16, 35
br i1 %17, label %18, label %26
18: ; preds = %15
%19 = load ptr, ptr %3, align 8
%20 = load i32, ptr %5, align 4
%21 = sub nsw i32 %20, 1
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i32, ptr %19, i64 %22
%24 = load i32, ptr %23, align 4
%25 = icmp ne i32 %24, -1
br label %26
26: ; preds = %18, %15
%27 = phi i1 [ false, %15 ], [ %25, %18 ]
br i1 %27, label %7, label %28, !llvm.loop !6
28: ; preds = %26
%29 = load ptr, ptr %3, align 8
%30 = load i32, ptr %5, align 4
%31 = sub nsw i32 %30, 1
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i32, ptr %29, i64 %32
%34 = load i32, ptr %33, align 4
%35 = icmp eq i32 %34, -1
br i1 %35, label %36, label %39
36: ; preds = %28
%37 = load i32, ptr %5, align 4
%38 = add nsw i32 %37, -1
store i32 %38, ptr %5, align 4
br label %39
39: ; preds = %36, %28
%40 = load i32, ptr %5, align 4
%41 = load ptr, ptr %4, align 8
store i32 %40, ptr %41, align 4
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmph0nvnsn6.c'
source_filename = "/tmp/tmph0nvnsn6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @insertionSort(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 1, ptr %5, align 4
br label %8
8: ; preds = %41, %2
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %3, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %12, label %44
12: ; preds = %8
%13 = load i32, ptr %5, align 4
store i32 %13, ptr %6, align 4
br label %14
14: ; preds = %32, %12
%15 = load i32, ptr %6, align 4
%16 = icmp sgt i32 %15, 0
br i1 %16, label %17, label %30
17: ; preds = %14
%18 = load ptr, ptr %4, align 8
%19 = load i32, ptr %6, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i32, ptr %18, i64 %20
%22 = load i32, ptr %21, align 4
%23 = load ptr, ptr %4, align 8
%24 = load i32, ptr %6, align 4
%25 = sub nsw i32 %24, 1
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i32, ptr %23, i64 %26
%28 = load i32, ptr %27, align 4
%29 = icmp slt i32 %22, %28
br label %30
30: ; preds = %17, %14
%31 = phi i1 [ false, %14 ], [ %29, %17 ]
br i1 %31, label %32, label %40
32: ; preds = %30
%33 = load i32, ptr %6, align 4
%34 = load i32, ptr %6, align 4
%35 = sub nsw i32 %34, 1
%36 = load ptr, ptr %4, align 8
%37 = call i32 @swap(i32 noundef %33, i32 noundef %35, ptr noundef %36)
%38 = load i32, ptr %6, align 4
%39 = add nsw i32 %38, -1
store i32 %39, ptr %6, align 4
br label %14, !llvm.loop !6
40: ; preds = %30
br label %41
41: ; preds = %40
%42 = load i32, ptr %5, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %5, align 4
br label %8, !llvm.loop !8
44: ; preds = %8
ret void
}
declare i32 @swap(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmph0nvnsn6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @insertionSort(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 1, ptr %5, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %3, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %.lr.ph, label %46
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %40
%12 = load i32, ptr %5, align 4
store i32 %12, ptr %6, align 4
br label %13
13: ; preds = %31, %11
%14 = load i32, ptr %6, align 4
%15 = icmp sgt i32 %14, 0
br i1 %15, label %16, label %29
16: ; preds = %13
%17 = load ptr, ptr %4, align 8
%18 = load i32, ptr %6, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i32, ptr %17, i64 %19
%21 = load i32, ptr %20, align 4
%22 = load ptr, ptr %4, align 8
%23 = load i32, ptr %6, align 4
%24 = sub nsw i32 %23, 1
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i32, ptr %22, i64 %25
%27 = load i32, ptr %26, align 4
%28 = icmp slt i32 %21, %27
br label %29
29: ; preds = %16, %13
%30 = phi i1 [ false, %13 ], [ %28, %16 ]
br i1 %30, label %31, label %39
31: ; preds = %29
%32 = load i32, ptr %6, align 4
%33 = load i32, ptr %6, align 4
%34 = sub nsw i32 %33, 1
%35 = load ptr, ptr %4, align 8
%36 = call i32 @swap(i32 noundef %32, i32 noundef %34, ptr noundef %35)
%37 = load i32, ptr %6, align 4
%38 = add nsw i32 %37, -1
store i32 %38, ptr %6, align 4
br label %13, !llvm.loop !6
39: ; preds = %29
br label %40
40: ; preds = %39
%41 = load i32, ptr %5, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %5, align 4
%43 = load i32, ptr %5, align 4
%44 = load i32, ptr %3, align 4
%45 = icmp slt i32 %43, %44
br i1 %45, label %11, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %40
br label %46
46: ; preds = %._crit_edge, %2
ret void
}
declare i32 @swap(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp9m92wkay.c'
source_filename = "/tmp/tmp9m92wkay.c"
target datalayout = "e-m:e-p270: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/tmp9m92wkay.c"
target datalayout = "e-m:e-p270: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/tmps_w5nrrz.c'
source_filename = "/tmp/tmps_w5nrrz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dstzr(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%9 = load ptr, ptr %7, align 8
%10 = load ptr, ptr %8, align 8
%11 = load ptr, ptr %6, align 8
%12 = load ptr, ptr %5, align 8
%13 = call i32 @E0001(i32 noundef 1, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12)
ret void
}
declare i32 @E0001(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmps_w5nrrz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dstzr(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%9 = load ptr, ptr %7, align 8
%10 = load ptr, ptr %8, align 8
%11 = load ptr, ptr %6, align 8
%12 = load ptr, ptr %5, align 8
%13 = call i32 @E0001(i32 noundef 1, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12)
ret void
}
declare i32 @E0001(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplrre3pks.c'
source_filename = "/tmp/tmplrre3pks.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SQLITE_OK = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [24 x i8] c"Preparation failed: %s\0A\00", align 1
@SQLITE_ROW = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @Get_Sub_Names(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i64 noundef %5) #0 {
%7 = alloca i32, align 4
%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 i64, align 8
%14 = alloca i32, align 4
%15 = alloca i32, align 4
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 i64 %5, ptr %13, align 8
%16 = load ptr, ptr %8, align 8
%17 = load ptr, ptr %10, align 8
%18 = call i32 @sqlite3_prepare_v2(ptr noundef %16, ptr noundef %17, i32 noundef -1, ptr noundef %9, i32 noundef 0)
store i32 %18, ptr %14, align 4
%19 = load i32, ptr %14, align 4
%20 = load i32, ptr @SQLITE_OK, align 4
%21 = icmp ne i32 %19, %20
br i1 %21, label %22, label %27
22: ; preds = %6
%23 = load i32, ptr @stderr, align 4
%24 = load ptr, ptr %8, align 8
%25 = call ptr @sqlite3_errmsg(ptr noundef %24)
%26 = call i32 @fprintf(i32 noundef %23, ptr noundef @.str, ptr noundef %25)
store i32 -1, ptr %7, align 4
br label %55
27: ; preds = %6
%28 = load ptr, ptr %9, align 8
%29 = load i64, ptr %13, align 8
%30 = call i32 @sqlite3_bind_int(ptr noundef %28, i32 noundef 1, i64 noundef %29)
store i32 0, ptr %15, align 4
br label %31
31: ; preds = %36, %27
%32 = load ptr, ptr %9, align 8
%33 = call i32 @sqlite3_step(ptr noundef %32)
store i32 %33, ptr %14, align 4
%34 = load i32, ptr @SQLITE_ROW, align 4
%35 = icmp eq i32 %33, %34
br i1 %35, label %36, label %54
36: ; preds = %31
%37 = load ptr, ptr %9, align 8
%38 = call i64 @sqlite3_column_text(ptr noundef %37, i32 noundef 0)
%39 = inttoptr i64 %38 to ptr
%40 = call i32 @strtol(ptr noundef %39, ptr noundef null, i32 noundef 10)
%41 = load ptr, ptr %12, align 8
%42 = load i32, ptr %15, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i32, ptr %41, i64 %43
store i32 %40, ptr %44, align 4
%45 = load ptr, ptr %9, align 8
%46 = call i64 @sqlite3_column_text(ptr noundef %45, i32 noundef 1)
%47 = inttoptr i64 %46 to ptr
%48 = call ptr @strdup(ptr noundef %47)
%49 = load ptr, ptr %11, align 8
%50 = load i32, ptr %15, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %15, align 4
%52 = sext i32 %50 to i64
%53 = getelementptr inbounds ptr, ptr %49, i64 %52
store ptr %48, ptr %53, align 8
br label %31, !llvm.loop !6
54: ; preds = %31
store i32 0, ptr %7, align 4
br label %55
55: ; preds = %54, %22
%56 = load i32, ptr %7, align 4
ret i32 %56
}
declare i32 @sqlite3_prepare_v2(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @sqlite3_errmsg(ptr noundef) #1
declare i32 @sqlite3_bind_int(ptr noundef, i32 noundef, i64 noundef) #1
declare i32 @sqlite3_step(ptr noundef) #1
declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @sqlite3_column_text(ptr noundef, i32 noundef) #1
declare ptr @strdup(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmplrre3pks.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SQLITE_OK = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [24 x i8] c"Preparation failed: %s\0A\00", align 1
@SQLITE_ROW = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @Get_Sub_Names(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i64 noundef %5) #0 {
%7 = alloca i32, align 4
%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 i64, align 8
%14 = alloca i32, align 4
%15 = alloca i32, align 4
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 i64 %5, ptr %13, align 8
%16 = load ptr, ptr %8, align 8
%17 = load ptr, ptr %10, align 8
%18 = call i32 @sqlite3_prepare_v2(ptr noundef %16, ptr noundef %17, i32 noundef -1, ptr noundef %9, i32 noundef 0)
store i32 %18, ptr %14, align 4
%19 = load i32, ptr %14, align 4
%20 = load i32, ptr @SQLITE_OK, align 4
%21 = icmp ne i32 %19, %20
br i1 %21, label %22, label %27
22: ; preds = %6
%23 = load i32, ptr @stderr, align 4
%24 = load ptr, ptr %8, align 8
%25 = call ptr @sqlite3_errmsg(ptr noundef %24)
%26 = call i32 @fprintf(i32 noundef %23, ptr noundef @.str, ptr noundef %25)
store i32 -1, ptr %7, align 4
br label %58
27: ; preds = %6
%28 = load ptr, ptr %9, align 8
%29 = load i64, ptr %13, align 8
%30 = call i32 @sqlite3_bind_int(ptr noundef %28, i32 noundef 1, i64 noundef %29)
store i32 0, ptr %15, align 4
%31 = load ptr, ptr %9, align 8
%32 = call i32 @sqlite3_step(ptr noundef %31)
store i32 %32, ptr %14, align 4
%33 = load i32, ptr @SQLITE_ROW, align 4
%34 = icmp eq i32 %32, %33
br i1 %34, label %.lr.ph, label %57
.lr.ph: ; preds = %27
br label %35
35: ; preds = %.lr.ph, %35
%36 = load ptr, ptr %9, align 8
%37 = call i64 @sqlite3_column_text(ptr noundef %36, i32 noundef 0)
%38 = inttoptr i64 %37 to ptr
%39 = call i32 @strtol(ptr noundef %38, ptr noundef null, i32 noundef 10)
%40 = load ptr, ptr %12, align 8
%41 = load i32, ptr %15, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i32, ptr %40, i64 %42
store i32 %39, ptr %43, align 4
%44 = load ptr, ptr %9, align 8
%45 = call i64 @sqlite3_column_text(ptr noundef %44, i32 noundef 1)
%46 = inttoptr i64 %45 to ptr
%47 = call ptr @strdup(ptr noundef %46)
%48 = load ptr, ptr %11, align 8
%49 = load i32, ptr %15, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %15, align 4
%51 = sext i32 %49 to i64
%52 = getelementptr inbounds ptr, ptr %48, i64 %51
store ptr %47, ptr %52, align 8
%53 = load ptr, ptr %9, align 8
%54 = call i32 @sqlite3_step(ptr noundef %53)
store i32 %54, ptr %14, align 4
%55 = load i32, ptr @SQLITE_ROW, align 4
%56 = icmp eq i32 %54, %55
br i1 %56, label %35, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %35
br label %57
57: ; preds = %._crit_edge, %27
store i32 0, ptr %7, align 4
br label %58
58: ; preds = %57, %22
%59 = load i32, ptr %7, align 4
ret i32 %59
}
declare i32 @sqlite3_prepare_v2(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @sqlite3_errmsg(ptr noundef) #1
declare i32 @sqlite3_bind_int(ptr noundef, i32 noundef, i64 noundef) #1
declare i32 @sqlite3_step(ptr noundef) #1
declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @sqlite3_column_text(ptr noundef, i32 noundef) #1
declare ptr @strdup(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpmfuyysas.c'
source_filename = "/tmp/tmpmfuyysas.c"
target datalayout = "e-m:e-p270: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/tmpmfuyysas.c"
target datalayout = "e-m:e-p270: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/tmp0o3vql5o.c'
source_filename = "/tmp/tmp0o3vql5o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [16 x i8] c"\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 ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%10 = call ptr @genRootDesc(ptr noundef %7)
store ptr %10, ptr %6, align 8
%11 = load ptr, ptr %6, align 8
%12 = load i32, ptr %7, align 4
%13 = load i32, ptr @stdout, align 4
%14 = call i32 @xml_pretty_print(ptr noundef %11, i32 noundef %12, i32 noundef %13)
%15 = load ptr, ptr %6, align 8
%16 = call i32 @free(ptr noundef %15)
%17 = call i32 @printf(ptr noundef @.str)
%18 = call ptr @genWANIPCn(ptr noundef %9)
store ptr %18, ptr %8, align 8
%19 = load ptr, ptr %8, align 8
%20 = load i32, ptr %9, align 4
%21 = load i32, ptr @stdout, align 4
%22 = call i32 @xml_pretty_print(ptr noundef %19, i32 noundef %20, i32 noundef %21)
%23 = load ptr, ptr %8, align 8
%24 = call i32 @free(ptr noundef %23)
%25 = call i32 @printf(ptr noundef @.str)
%26 = call ptr @genWANCfg(ptr noundef %9)
store ptr %26, ptr %8, align 8
%27 = load ptr, ptr %8, align 8
%28 = load i32, ptr %9, align 4
%29 = load i32, ptr @stdout, align 4
%30 = call i32 @xml_pretty_print(ptr noundef %27, i32 noundef %28, i32 noundef %29)
%31 = load ptr, ptr %8, align 8
%32 = call i32 @free(ptr noundef %31)
%33 = call i32 @printf(ptr noundef @.str)
%34 = call ptr @genL3F(ptr noundef %9)
store ptr %34, ptr %8, align 8
%35 = load ptr, ptr %8, align 8
%36 = load i32, ptr %9, align 4
%37 = load i32, ptr @stdout, align 4
%38 = call i32 @xml_pretty_print(ptr noundef %35, i32 noundef %36, i32 noundef %37)
%39 = load ptr, ptr %8, align 8
%40 = call i32 @free(ptr noundef %39)
%41 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare ptr @genRootDesc(ptr noundef) #1
declare i32 @xml_pretty_print(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare ptr @genWANIPCn(ptr noundef) #1
declare ptr @genWANCfg(ptr noundef) #1
declare ptr @genL3F(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0o3vql5o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [16 x i8] c"\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 ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%10 = call ptr @genRootDesc(ptr noundef %7)
store ptr %10, ptr %6, align 8
%11 = load ptr, ptr %6, align 8
%12 = load i32, ptr %7, align 4
%13 = load i32, ptr @stdout, align 4
%14 = call i32 @xml_pretty_print(ptr noundef %11, i32 noundef %12, i32 noundef %13)
%15 = load ptr, ptr %6, align 8
%16 = call i32 @free(ptr noundef %15)
%17 = call i32 @printf(ptr noundef @.str)
%18 = call ptr @genWANIPCn(ptr noundef %9)
store ptr %18, ptr %8, align 8
%19 = load ptr, ptr %8, align 8
%20 = load i32, ptr %9, align 4
%21 = load i32, ptr @stdout, align 4
%22 = call i32 @xml_pretty_print(ptr noundef %19, i32 noundef %20, i32 noundef %21)
%23 = load ptr, ptr %8, align 8
%24 = call i32 @free(ptr noundef %23)
%25 = call i32 @printf(ptr noundef @.str)
%26 = call ptr @genWANCfg(ptr noundef %9)
store ptr %26, ptr %8, align 8
%27 = load ptr, ptr %8, align 8
%28 = load i32, ptr %9, align 4
%29 = load i32, ptr @stdout, align 4
%30 = call i32 @xml_pretty_print(ptr noundef %27, i32 noundef %28, i32 noundef %29)
%31 = load ptr, ptr %8, align 8
%32 = call i32 @free(ptr noundef %31)
%33 = call i32 @printf(ptr noundef @.str)
%34 = call ptr @genL3F(ptr noundef %9)
store ptr %34, ptr %8, align 8
%35 = load ptr, ptr %8, align 8
%36 = load i32, ptr %9, align 4
%37 = load i32, ptr @stdout, align 4
%38 = call i32 @xml_pretty_print(ptr noundef %35, i32 noundef %36, i32 noundef %37)
%39 = load ptr, ptr %8, align 8
%40 = call i32 @free(ptr noundef %39)
%41 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare ptr @genRootDesc(ptr noundef) #1
declare i32 @xml_pretty_print(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare ptr @genWANIPCn(ptr noundef) #1
declare ptr @genWANCfg(ptr noundef) #1
declare ptr @genL3F(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpu5wl4d56.c'
source_filename = "/tmp/tmpu5wl4d56.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c" %.6f (early abandoned)\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c" %.6f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @chebyshev(ptr noundef %0, ptr noundef %1, i32 noundef %2, double noundef %3, double noundef %4) #0 {
%6 = alloca double, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store i32 %2, ptr %9, align 4
store double %3, ptr %10, align 8
store double %4, ptr %11, align 8
store double 0.000000e+00, ptr %12, align 8
br label %14
14: ; preds = %59, %5
%15 = load i32, ptr %9, align 4
%16 = add nsw i32 %15, -1
store i32 %16, ptr %9, align 4
%17 = icmp ne i32 %16, 0
br i1 %17, label %18, label %60
18: ; preds = %14
%19 = load ptr, ptr %7, align 8
%20 = load double, ptr %19, align 8
%21 = load ptr, ptr %8, align 8
%22 = load double, ptr %21, align 8
%23 = fcmp ogt double %20, %22
br i1 %23, label %24, label %30
24: ; preds = %18
%25 = load ptr, ptr %7, align 8
%26 = load double, ptr %25, align 8
%27 = load ptr, ptr %8, align 8
%28 = load double, ptr %27, align 8
%29 = fsub double %26, %28
br label %36
30: ; preds = %18
%31 = load ptr, ptr %8, align 8
%32 = load double, ptr %31, align 8
%33 = load ptr, ptr %7, align 8
%34 = load double, ptr %33, align 8
%35 = fsub double %32, %34
br label %36
36: ; preds = %30, %24
%37 = phi double [ %29, %24 ], [ %35, %30 ]
store double %37, ptr %13, align 8
%38 = load ptr, ptr %7, align 8
%39 = getelementptr inbounds double, ptr %38, i32 1
store ptr %39, ptr %7, align 8
%40 = load ptr, ptr %8, align 8
%41 = getelementptr inbounds double, ptr %40, i32 1
store ptr %41, ptr %8, align 8
%42 = load double, ptr %13, align 8
%43 = load double, ptr %12, align 8
%44 = load double, ptr %11, align 8
%45 = call i64 @FLT_GT(double noundef %42, double noundef %43, double noundef %44)
%46 = icmp ne i64 %45, 0
br i1 %46, label %47, label %49
47: ; preds = %36
%48 = load double, ptr %13, align 8
store double %48, ptr %12, align 8
br label %49
49: ; preds = %47, %36
%50 = load double, ptr %12, align 8
%51 = load double, ptr %10, align 8
%52 = load double, ptr %11, align 8
%53 = call i64 @FLT_GT(double noundef %50, double noundef %51, double noundef %52)
%54 = icmp ne i64 %53, 0
br i1 %54, label %55, label %59
55: ; preds = %49
%56 = load double, ptr %12, align 8
%57 = call i32 @debug(ptr noundef @.str, double noundef %56)
%58 = load double, ptr %12, align 8
store double %58, ptr %6, align 8
br label %64
59: ; preds = %49
br label %14, !llvm.loop !6
60: ; preds = %14
%61 = load double, ptr %12, align 8
%62 = call i32 @debug(ptr noundef @.str.1, double noundef %61)
%63 = load double, ptr %12, align 8
store double %63, ptr %6, align 8
br label %64
64: ; preds = %60, %55
%65 = load double, ptr %6, align 8
ret double %65
}
declare i64 @FLT_GT(double noundef, double noundef, double noundef) #1
declare i32 @debug(ptr noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpu5wl4d56.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c" %.6f (early abandoned)\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c" %.6f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @chebyshev(ptr noundef %0, ptr noundef %1, i32 noundef %2, double noundef %3, double noundef %4) #0 {
%6 = alloca double, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store i32 %2, ptr %9, align 4
store double %3, ptr %10, align 8
store double %4, ptr %11, align 8
store double 0.000000e+00, ptr %12, align 8
%14 = load i32, ptr %9, align 4
%15 = add nsw i32 %14, -1
store i32 %15, ptr %9, align 4
%16 = icmp ne i32 %15, 0
br i1 %16, label %.lr.ph, label %62
.lr.ph: ; preds = %5
br label %21
17: ; preds = %52
%18 = load i32, ptr %9, align 4
%19 = add nsw i32 %18, -1
store i32 %19, ptr %9, align 4
%20 = icmp ne i32 %19, 0
br i1 %20, label %21, label %._crit_edge, !llvm.loop !6
21: ; preds = %.lr.ph, %17
%22 = load ptr, ptr %7, align 8
%23 = load double, ptr %22, align 8
%24 = load ptr, ptr %8, align 8
%25 = load double, ptr %24, align 8
%26 = fcmp ogt double %23, %25
br i1 %26, label %27, label %33
27: ; preds = %21
%28 = load ptr, ptr %7, align 8
%29 = load double, ptr %28, align 8
%30 = load ptr, ptr %8, align 8
%31 = load double, ptr %30, align 8
%32 = fsub double %29, %31
br label %39
33: ; preds = %21
%34 = load ptr, ptr %8, align 8
%35 = load double, ptr %34, align 8
%36 = load ptr, ptr %7, align 8
%37 = load double, ptr %36, align 8
%38 = fsub double %35, %37
br label %39
39: ; preds = %33, %27
%40 = phi double [ %32, %27 ], [ %38, %33 ]
store double %40, ptr %13, align 8
%41 = load ptr, ptr %7, align 8
%42 = getelementptr inbounds double, ptr %41, i32 1
store ptr %42, ptr %7, align 8
%43 = load ptr, ptr %8, align 8
%44 = getelementptr inbounds double, ptr %43, i32 1
store ptr %44, ptr %8, align 8
%45 = load double, ptr %13, align 8
%46 = load double, ptr %12, align 8
%47 = load double, ptr %11, align 8
%48 = call i64 @FLT_GT(double noundef %45, double noundef %46, double noundef %47)
%49 = icmp ne i64 %48, 0
br i1 %49, label %50, label %52
50: ; preds = %39
%51 = load double, ptr %13, align 8
store double %51, ptr %12, align 8
br label %52
52: ; preds = %50, %39
%53 = load double, ptr %12, align 8
%54 = load double, ptr %10, align 8
%55 = load double, ptr %11, align 8
%56 = call i64 @FLT_GT(double noundef %53, double noundef %54, double noundef %55)
%57 = icmp ne i64 %56, 0
br i1 %57, label %58, label %17
58: ; preds = %52
%59 = load double, ptr %12, align 8
%60 = call i32 @debug(ptr noundef @.str, double noundef %59)
%61 = load double, ptr %12, align 8
store double %61, ptr %6, align 8
br label %66
._crit_edge: ; preds = %17
br label %62
62: ; preds = %._crit_edge, %5
%63 = load double, ptr %12, align 8
%64 = call i32 @debug(ptr noundef @.str.1, double noundef %63)
%65 = load double, ptr %12, align 8
store double %65, ptr %6, align 8
br label %66
66: ; preds = %62, %58
%67 = load double, ptr %6, align 8
ret double %67
}
declare i64 @FLT_GT(double noundef, double noundef, double noundef) #1
declare i32 @debug(ptr noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpy4zmuty_.c'
source_filename = "/tmp/tmpy4zmuty_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @slot_read(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 @slot_skip_update(ptr noundef %3)
ret void
}
declare i32 @slot_skip_update(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy4zmuty_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @slot_read(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 @slot_skip_update(ptr noundef %3)
ret void
}
declare i32 @slot_skip_update(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprk0qkf5h.c'
source_filename = "/tmp/tmprk0qkf5h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pid_write(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%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
%7 = load ptr, ptr %4, align 8
%8 = call ptr @fopen(ptr noundef %7, ptr noundef @.str)
store ptr %8, ptr %6, align 8
%9 = load ptr, ptr %6, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %12, label %11
11: ; preds = %2
store i32 -1, ptr %3, align 4
br label %28
12: ; preds = %2
%13 = load ptr, ptr %6, align 8
%14 = load i32, ptr %5, align 4
%15 = call i32 @fprintf(ptr noundef %13, ptr noundef @.str.1, i32 noundef %14)
%16 = load ptr, ptr %6, align 8
%17 = call i64 @ferror(ptr noundef %16)
%18 = icmp ne i64 %17, 0
br i1 %18, label %19, label %22
19: ; preds = %12
%20 = load ptr, ptr %6, align 8
%21 = call i64 @fclose(ptr noundef %20)
store i32 -1, ptr %3, align 4
br label %28
22: ; preds = %12
%23 = load ptr, ptr %6, align 8
%24 = call i64 @fclose(ptr noundef %23)
%25 = icmp ne i64 %24, 0
br i1 %25, label %26, label %27
26: ; preds = %22
store i32 -1, ptr %3, align 4
br label %28
27: ; preds = %22
store i32 0, ptr %3, align 4
br label %28
28: ; preds = %27, %26, %19, %11
%29 = load i32, ptr %3, align 4
ret i32 %29
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @ferror(ptr noundef) #1
declare i64 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmprk0qkf5h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pid_write(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%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
%7 = load ptr, ptr %4, align 8
%8 = call ptr @fopen(ptr noundef %7, ptr noundef @.str)
store ptr %8, ptr %6, align 8
%9 = load ptr, ptr %6, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %12, label %11
11: ; preds = %2
store i32 -1, ptr %3, align 4
br label %28
12: ; preds = %2
%13 = load ptr, ptr %6, align 8
%14 = load i32, ptr %5, align 4
%15 = call i32 @fprintf(ptr noundef %13, ptr noundef @.str.1, i32 noundef %14)
%16 = load ptr, ptr %6, align 8
%17 = call i64 @ferror(ptr noundef %16)
%18 = icmp ne i64 %17, 0
br i1 %18, label %19, label %22
19: ; preds = %12
%20 = load ptr, ptr %6, align 8
%21 = call i64 @fclose(ptr noundef %20)
store i32 -1, ptr %3, align 4
br label %28
22: ; preds = %12
%23 = load ptr, ptr %6, align 8
%24 = call i64 @fclose(ptr noundef %23)
%25 = icmp ne i64 %24, 0
br i1 %25, label %26, label %27
26: ; preds = %22
store i32 -1, ptr %3, align 4
br label %28
27: ; preds = %22
store i32 0, ptr %3, align 4
br label %28
28: ; preds = %27, %26, %19, %11
%29 = load i32, ptr %3, align 4
ret i32 %29
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @ferror(ptr noundef) #1
declare i64 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3ur6tg8i.c'
source_filename = "/tmp/tmp3ur6tg8i.c"
target datalayout = "e-m:e-p270: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/tmp3ur6tg8i.c"
target datalayout = "e-m:e-p270: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/tmpqxas549w.c'
source_filename = "/tmp/tmpqxas549w.c"
target datalayout = "e-m:e-p270: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/tmpqxas549w.c"
target datalayout = "e-m:e-p270: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/tmpdyvxe7c_.c'
source_filename = "/tmp/tmpdyvxe7c_.c"
target datalayout = "e-m:e-p270: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/tmpdyvxe7c_.c"
target datalayout = "e-m:e-p270: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/tmpgo0_95er.c'
source_filename = "/tmp/tmpgo0_95er.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @guild_skill_get_inf(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @skill_get_inf(i32 noundef %3)
ret i32 %4
}
declare i32 @skill_get_inf(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/tmpgo0_95er.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @guild_skill_get_inf(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @skill_get_inf(i32 noundef %3)
ret i32 %4
}
declare i32 @skill_get_inf(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/tmpjt8z0jl9.c'
source_filename = "/tmp/tmpjt8z0jl9.c"
target datalayout = "e-m:e-p270: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 [22 x i8] c"Use: \22%s <filename>\22\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca 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 = icmp slt i32 %6, 2
br i1 %7, label %8, label %14
8: ; preds = %2
%9 = load i32, ptr @stderr, align 4
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds ptr, ptr %10, i64 0
%12 = load ptr, ptr %11, align 8
%13 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str, ptr noundef %12)
br label %14
14: ; preds = %8, %2
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 1
%17 = load ptr, ptr %16, align 8
%18 = call i32 @load_lm32_main(ptr noundef %17)
ret i32 %18
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @load_lm32_main(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjt8z0jl9.c"
target datalayout = "e-m:e-p270: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 [22 x i8] c"Use: \22%s <filename>\22\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca 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 = icmp slt i32 %6, 2
br i1 %7, label %8, label %14
8: ; preds = %2
%9 = load i32, ptr @stderr, align 4
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds ptr, ptr %10, i64 0
%12 = load ptr, ptr %11, align 8
%13 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str, ptr noundef %12)
br label %14
14: ; preds = %8, %2
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 1
%17 = load ptr, ptr %16, align 8
%18 = call i32 @load_lm32_main(ptr noundef %17)
ret i32 %18
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @load_lm32_main(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2_olvg8l.c'
source_filename = "/tmp/tmp2_olvg8l.c"
target datalayout = "e-m:e-p270: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/tmp2_olvg8l.c"
target datalayout = "e-m:e-p270: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/tmp25dxlajf.c'
source_filename = "/tmp/tmp25dxlajf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @papif_read_(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %7, align 4
%9 = load ptr, ptr %5, align 8
%10 = call i32 @PAPI_read(i32 noundef %8, ptr noundef %9)
%11 = load ptr, ptr %6, align 8
store i32 %10, ptr %11, align 4
ret void
}
declare i32 @PAPI_read(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/tmp25dxlajf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @papif_read_(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %7, align 4
%9 = load ptr, ptr %5, align 8
%10 = call i32 @PAPI_read(i32 noundef %8, ptr noundef %9)
%11 = load ptr, ptr %6, align 8
store i32 %10, ptr %11, align 4
ret void
}
declare i32 @PAPI_read(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/tmpow8a7f1c.c'
source_filename = "/tmp/tmpow8a7f1c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c" ,\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i16 @parse_SKP() #0 {
%1 = alloca i16, align 2
%2 = alloca i16, align 2
%3 = alloca ptr, align 8
store i16 -8034, ptr %2, align 2
%4 = call ptr @strtok(ptr noundef null, ptr noundef @.str)
store ptr %4, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = getelementptr inbounds i8, ptr %5, i64 0
%7 = load i8, ptr %6, align 1
%8 = sext i8 %7 to i32
%9 = icmp ne i32 %8, 86
br i1 %9, label %10, label %11
10: ; preds = %0
store i16 -1, ptr %1, align 2
br label %23
11: ; preds = %0
%12 = load ptr, ptr %3, align 8
%13 = getelementptr inbounds i8, ptr %12, i64 1
%14 = load i8, ptr %13, align 1
%15 = call i32 @char2byte(i8 noundef signext %14)
%16 = and i32 %15, 15
%17 = shl i32 %16, 8
%18 = load i16, ptr %2, align 2
%19 = zext i16 %18 to i32
%20 = or i32 %19, %17
%21 = trunc i32 %20 to i16
store i16 %21, ptr %2, align 2
%22 = load i16, ptr %2, align 2
store i16 %22, ptr %1, align 2
br label %23
23: ; preds = %11, %10
%24 = load i16, ptr %1, align 2
ret i16 %24
}
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare i32 @char2byte(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/tmpow8a7f1c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c" ,\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i16 @parse_SKP() #0 {
%1 = alloca i16, align 2
%2 = alloca i16, align 2
%3 = alloca ptr, align 8
store i16 -8034, ptr %2, align 2
%4 = call ptr @strtok(ptr noundef null, ptr noundef @.str)
store ptr %4, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = getelementptr inbounds i8, ptr %5, i64 0
%7 = load i8, ptr %6, align 1
%8 = sext i8 %7 to i32
%9 = icmp ne i32 %8, 86
br i1 %9, label %10, label %11
10: ; preds = %0
store i16 -1, ptr %1, align 2
br label %23
11: ; preds = %0
%12 = load ptr, ptr %3, align 8
%13 = getelementptr inbounds i8, ptr %12, i64 1
%14 = load i8, ptr %13, align 1
%15 = call i32 @char2byte(i8 noundef signext %14)
%16 = and i32 %15, 15
%17 = shl i32 %16, 8
%18 = load i16, ptr %2, align 2
%19 = zext i16 %18 to i32
%20 = or i32 %19, %17
%21 = trunc i32 %20 to i16
store i16 %21, ptr %2, align 2
%22 = load i16, ptr %2, align 2
store i16 %22, ptr %1, align 2
br label %23
23: ; preds = %11, %10
%24 = load i16, ptr %1, align 2
ret i16 %24
}
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare i32 @char2byte(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/tmp9s2iwivm.c'
source_filename = "/tmp/tmp9s2iwivm.c"
target datalayout = "e-m:e-p270: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.drm_gem_close = type { i32, i32 }
@DRM_IOCTL_GEM_CLOSE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @close_handle(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca %struct.drm_gem_close, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
call void @llvm.memset.p0.i64(ptr align 4 %5, i8 0, i64 8, i1 false)
%6 = load i32, ptr %4, align 4
%7 = getelementptr inbounds %struct.drm_gem_close, ptr %5, i32 0, i32 0
store i32 %6, ptr %7, align 4
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr @DRM_IOCTL_GEM_CLOSE, align 4
%10 = call i32 @ioctl(i32 noundef %8, i32 noundef %9, ptr noundef %5)
ret void
}
; 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 @ioctl(i32 noundef, i32 noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: 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/tmp9s2iwivm.c"
target datalayout = "e-m:e-p270: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.drm_gem_close = type { i32, i32 }
@DRM_IOCTL_GEM_CLOSE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @close_handle(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca %struct.drm_gem_close, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
call void @llvm.memset.p0.i64(ptr align 4 %5, i8 0, i64 8, i1 false)
%6 = load i32, ptr %4, align 4
%7 = getelementptr inbounds %struct.drm_gem_close, ptr %5, i32 0, i32 0
store i32 %6, ptr %7, align 4
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr @DRM_IOCTL_GEM_CLOSE, align 4
%10 = call i32 @ioctl(i32 noundef %8, i32 noundef %9, ptr noundef %5)
ret void
}
; 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 @ioctl(i32 noundef, i32 noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: 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/tmpp1caegh0.c'
source_filename = "/tmp/tmpp1caegh0.c"
target datalayout = "e-m:e-p270: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/tmpp1caegh0.c"
target datalayout = "e-m:e-p270: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/tmp3g4tr_jb.c'
source_filename = "/tmp/tmp3g4tr_jb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"/usr/bin/vmstat\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @getvmstat(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store ptr null, ptr %3, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @strcpy(ptr noundef %5, ptr noundef @.str)
%7 = call ptr @popen(ptr noundef @.str.1, ptr noundef @.str.2)
store ptr %7, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %34
10: ; preds = %1
store i32 0, ptr %4, align 4
br label %11
11: ; preds = %30, %10
%12 = load ptr, ptr %3, align 8
%13 = call i32 @feof(ptr noundef %12)
%14 = icmp ne i32 %13, 0
%15 = xor i1 %14, true
br i1 %15, label %16, label %31
16: ; preds = %11
%17 = load ptr, ptr %2, align 8
%18 = load ptr, ptr %3, align 8
%19 = call i32 @fgets(ptr noundef %17, i32 noundef 4096, ptr noundef %18)
%20 = icmp ne i32 %19, 0
br i1 %20, label %24, label %21
21: ; preds = %16
%22 = load ptr, ptr %2, align 8
%23 = call i32 @strcpy(ptr noundef %22, ptr noundef @.str)
br label %31
24: ; preds = %16
%25 = load i32, ptr %4, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %4, align 4
%27 = load i32, ptr %4, align 4
%28 = icmp eq i32 %27, 3
br i1 %28, label %29, label %30
29: ; preds = %24
br label %31
30: ; preds = %24
br label %11, !llvm.loop !6
31: ; preds = %29, %21, %11
%32 = load ptr, ptr %3, align 8
%33 = call i32 @pclose(ptr noundef %32)
br label %34
34: ; preds = %31, %1
%35 = load ptr, ptr %2, align 8
%36 = call i32 @chomp(ptr noundef %35)
ret void
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare ptr @popen(ptr noundef, ptr noundef) #1
declare i32 @feof(ptr noundef) #1
declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @pclose(ptr noundef) #1
declare i32 @chomp(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp3g4tr_jb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"/usr/bin/vmstat\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @getvmstat(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store ptr null, ptr %3, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @strcpy(ptr noundef %5, ptr noundef @.str)
%7 = call ptr @popen(ptr noundef @.str.1, ptr noundef @.str.2)
store ptr %7, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %37
10: ; preds = %1
store i32 0, ptr %4, align 4
%11 = load ptr, ptr %3, align 8
%12 = call i32 @feof(ptr noundef %11)
%13 = icmp ne i32 %12, 0
%14 = xor i1 %13, true
br i1 %14, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %10
br label %20
15: ; preds = %28
%16 = load ptr, ptr %3, align 8
%17 = call i32 @feof(ptr noundef %16)
%18 = icmp ne i32 %17, 0
%19 = xor i1 %18, true
br i1 %19, label %20, label %..loopexit_crit_edge, !llvm.loop !6
20: ; preds = %.lr.ph, %15
%21 = load ptr, ptr %2, align 8
%22 = load ptr, ptr %3, align 8
%23 = call i32 @fgets(ptr noundef %21, i32 noundef 4096, ptr noundef %22)
%24 = icmp ne i32 %23, 0
br i1 %24, label %28, label %25
25: ; preds = %20
%26 = load ptr, ptr %2, align 8
%27 = call i32 @strcpy(ptr noundef %26, ptr noundef @.str)
br label %34
28: ; preds = %20
%29 = load i32, ptr %4, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %4, align 4
%31 = load i32, ptr %4, align 4
%32 = icmp eq i32 %31, 3
br i1 %32, label %33, label %15
33: ; preds = %28
br label %34
..loopexit_crit_edge: ; preds = %15
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %10
br label %34
34: ; preds = %.loopexit, %33, %25
%35 = load ptr, ptr %3, align 8
%36 = call i32 @pclose(ptr noundef %35)
br label %37
37: ; preds = %34, %1
%38 = load ptr, ptr %2, align 8
%39 = call i32 @chomp(ptr noundef %38)
ret void
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare ptr @popen(ptr noundef, ptr noundef) #1
declare i32 @feof(ptr noundef) #1
declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @pclose(ptr noundef) #1
declare i32 @chomp(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpt2uvdyiq.c'
source_filename = "/tmp/tmpt2uvdyiq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@LONG_MIN = dso_local global i64 0, align 8
@LONG_MAX = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @strtol(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 0, ptr %8, align 4
%11 = load ptr, ptr %5, align 8
store ptr %11, ptr %10, align 8
br label %12
12: ; preds = %17, %3
%13 = load ptr, ptr %5, align 8
%14 = load i8, ptr %13, align 1
%15 = call i64 @isspace(i8 noundef signext %14)
%16 = icmp ne i64 %15, 0
br i1 %16, label %17, label %20
17: ; preds = %12
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds i8, ptr %18, i32 1
store ptr %19, ptr %5, align 8
br label %12, !llvm.loop !6
20: ; preds = %12
%21 = load ptr, ptr %5, align 8
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = icmp eq i32 %23, 45
br i1 %24, label %25, label %34
25: ; preds = %20
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds i8, ptr %26, i64 1
%28 = load i8, ptr %27, align 1
%29 = call i64 @isalnum(i8 noundef signext %28)
%30 = icmp ne i64 %29, 0
br i1 %30, label %31, label %34
31: ; preds = %25
store i32 -1, ptr %8, align 4
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds i8, ptr %32, i32 1
store ptr %33, ptr %5, align 8
br label %34
34: ; preds = %31, %25, %20
%35 = load ptr, ptr %5, align 8
%36 = load ptr, ptr %6, align 8
%37 = load i32, ptr %7, align 4
%38 = call i64 @strtoul(ptr noundef %35, ptr noundef %36, i32 noundef %37)
store i64 %38, ptr %9, align 8
%39 = load ptr, ptr %6, align 8
%40 = icmp ne ptr %39, null
br i1 %40, label %41, label %49
41: ; preds = %34
%42 = load ptr, ptr %6, align 8
%43 = load ptr, ptr %42, align 8
%44 = load ptr, ptr %5, align 8
%45 = icmp eq ptr %43, %44
br i1 %45, label %46, label %49
46: ; preds = %41
%47 = load ptr, ptr %10, align 8
%48 = load ptr, ptr %6, align 8
store ptr %47, ptr %48, align 8
br label %49
49: ; preds = %46, %41, %34
%50 = load i64, ptr %9, align 8
%51 = icmp uge i64 %50, 2147483648
br i1 %51, label %52, label %69
52: ; preds = %49
%53 = load i64, ptr %9, align 8
%54 = icmp eq i64 %53, 2147483648
br i1 %54, label %55, label %60
55: ; preds = %52
%56 = load i32, ptr %8, align 4
%57 = icmp ne i32 %56, 0
br i1 %57, label %58, label %60
58: ; preds = %55
%59 = load i64, ptr %9, align 8
store i64 %59, ptr %4, align 8
br label %79
60: ; preds = %55, %52
%61 = load i32, ptr %8, align 4
%62 = icmp ne i32 %61, 0
br i1 %62, label %63, label %65
63: ; preds = %60
%64 = load i64, ptr @LONG_MIN, align 8
br label %67
65: ; preds = %60
%66 = load i64, ptr @LONG_MAX, align 8
br label %67
67: ; preds = %65, %63
%68 = phi i64 [ %64, %63 ], [ %66, %65 ]
store i64 %68, ptr %4, align 8
br label %79
69: ; preds = %49
%70 = load i32, ptr %8, align 4
%71 = icmp ne i32 %70, 0
br i1 %71, label %72, label %75
72: ; preds = %69
%73 = load i64, ptr %9, align 8
%74 = sub i64 0, %73
br label %77
75: ; preds = %69
%76 = load i64, ptr %9, align 8
br label %77
77: ; preds = %75, %72
%78 = phi i64 [ %74, %72 ], [ %76, %75 ]
store i64 %78, ptr %4, align 8
br label %79
79: ; preds = %77, %67, %58
%80 = load i64, ptr %4, align 8
ret i64 %80
}
declare i64 @isspace(i8 noundef signext) #1
declare i64 @isalnum(i8 noundef signext) #1
declare i64 @strtoul(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpt2uvdyiq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@LONG_MIN = dso_local global i64 0, align 8
@LONG_MAX = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @strtol(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 0, ptr %8, align 4
%11 = load ptr, ptr %5, align 8
store ptr %11, ptr %10, align 8
%12 = load ptr, ptr %5, align 8
%13 = load i8, ptr %12, align 1
%14 = call i64 @isspace(i8 noundef signext %13)
%15 = icmp ne i64 %14, 0
br i1 %15, label %.lr.ph, label %23
.lr.ph: ; preds = %3
br label %16
16: ; preds = %.lr.ph, %16
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds i8, ptr %17, i32 1
store ptr %18, ptr %5, align 8
%19 = load ptr, ptr %5, align 8
%20 = load i8, ptr %19, align 1
%21 = call i64 @isspace(i8 noundef signext %20)
%22 = icmp ne i64 %21, 0
br i1 %22, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %23
23: ; preds = %._crit_edge, %3
%24 = load ptr, ptr %5, align 8
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = icmp eq i32 %26, 45
br i1 %27, label %28, label %37
28: ; preds = %23
%29 = load ptr, ptr %5, align 8
%30 = getelementptr inbounds i8, ptr %29, i64 1
%31 = load i8, ptr %30, align 1
%32 = call i64 @isalnum(i8 noundef signext %31)
%33 = icmp ne i64 %32, 0
br i1 %33, label %34, label %37
34: ; preds = %28
store i32 -1, ptr %8, align 4
%35 = load ptr, ptr %5, align 8
%36 = getelementptr inbounds i8, ptr %35, i32 1
store ptr %36, ptr %5, align 8
br label %37
37: ; preds = %34, %28, %23
%38 = load ptr, ptr %5, align 8
%39 = load ptr, ptr %6, align 8
%40 = load i32, ptr %7, align 4
%41 = call i64 @strtoul(ptr noundef %38, ptr noundef %39, i32 noundef %40)
store i64 %41, ptr %9, align 8
%42 = load ptr, ptr %6, align 8
%43 = icmp ne ptr %42, null
br i1 %43, label %44, label %52
44: ; preds = %37
%45 = load ptr, ptr %6, align 8
%46 = load ptr, ptr %45, align 8
%47 = load ptr, ptr %5, align 8
%48 = icmp eq ptr %46, %47
br i1 %48, label %49, label %52
49: ; preds = %44
%50 = load ptr, ptr %10, align 8
%51 = load ptr, ptr %6, align 8
store ptr %50, ptr %51, align 8
br label %52
52: ; preds = %49, %44, %37
%53 = load i64, ptr %9, align 8
%54 = icmp uge i64 %53, 2147483648
br i1 %54, label %55, label %72
55: ; preds = %52
%56 = load i64, ptr %9, align 8
%57 = icmp eq i64 %56, 2147483648
br i1 %57, label %58, label %63
58: ; preds = %55
%59 = load i32, ptr %8, align 4
%60 = icmp ne i32 %59, 0
br i1 %60, label %61, label %63
61: ; preds = %58
%62 = load i64, ptr %9, align 8
store i64 %62, ptr %4, align 8
br label %82
63: ; preds = %58, %55
%64 = load i32, ptr %8, align 4
%65 = icmp ne i32 %64, 0
br i1 %65, label %66, label %68
66: ; preds = %63
%67 = load i64, ptr @LONG_MIN, align 8
br label %70
68: ; preds = %63
%69 = load i64, ptr @LONG_MAX, align 8
br label %70
70: ; preds = %68, %66
%71 = phi i64 [ %67, %66 ], [ %69, %68 ]
store i64 %71, ptr %4, align 8
br label %82
72: ; preds = %52
%73 = load i32, ptr %8, align 4
%74 = icmp ne i32 %73, 0
br i1 %74, label %75, label %78
75: ; preds = %72
%76 = load i64, ptr %9, align 8
%77 = sub i64 0, %76
br label %80
78: ; preds = %72
%79 = load i64, ptr %9, align 8
br label %80
80: ; preds = %78, %75
%81 = phi i64 [ %77, %75 ], [ %79, %78 ]
store i64 %81, ptr %4, align 8
br label %82
82: ; preds = %80, %70, %61
%83 = load i64, ptr %4, align 8
ret i64 %83
}
declare i64 @isspace(i8 noundef signext) #1
declare i64 @isalnum(i8 noundef signext) #1
declare i64 @strtoul(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmph2vdtmba.c'
source_filename = "/tmp/tmph2vdtmba.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Number of items: %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%5 = call ptr (...) @STK_newStack()
store ptr %5, ptr %2, align 8
store i32 4, ptr %3, align 4
%6 = load ptr, ptr %2, align 8
%7 = call i32 @STK_push(ptr noundef %6, ptr noundef %3)
%8 = load ptr, ptr %2, align 8
%9 = call i32 @STK_size(ptr noundef %8)
%10 = load ptr, ptr %2, align 8
%11 = call i64 @STK_top(ptr noundef %10)
%12 = inttoptr i64 %11 to ptr
store ptr %12, ptr %4, align 8
%13 = load ptr, ptr %4, align 8
%14 = load i32, ptr %13, align 4
%15 = call i32 @printf(ptr noundef @.str, i32 noundef %14)
%16 = load ptr, ptr %2, align 8
%17 = call i32 @STK_pop(ptr noundef %16)
%18 = load ptr, ptr %2, align 8
%19 = call i32 @STK_size(ptr noundef %18)
%20 = load ptr, ptr %2, align 8
%21 = call i32 @STK_deleteStack(ptr noundef %20)
ret i32 0
}
declare ptr @STK_newStack(...) #1
declare i32 @STK_push(ptr noundef, ptr noundef) #1
declare i32 @STK_size(ptr noundef) #1
declare i64 @STK_top(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @STK_pop(ptr noundef) #1
declare i32 @STK_deleteStack(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmph2vdtmba.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Number of items: %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%5 = call ptr (...) @STK_newStack()
store ptr %5, ptr %2, align 8
store i32 4, ptr %3, align 4
%6 = load ptr, ptr %2, align 8
%7 = call i32 @STK_push(ptr noundef %6, ptr noundef %3)
%8 = load ptr, ptr %2, align 8
%9 = call i32 @STK_size(ptr noundef %8)
%10 = load ptr, ptr %2, align 8
%11 = call i64 @STK_top(ptr noundef %10)
%12 = inttoptr i64 %11 to ptr
store ptr %12, ptr %4, align 8
%13 = load ptr, ptr %4, align 8
%14 = load i32, ptr %13, align 4
%15 = call i32 @printf(ptr noundef @.str, i32 noundef %14)
%16 = load ptr, ptr %2, align 8
%17 = call i32 @STK_pop(ptr noundef %16)
%18 = load ptr, ptr %2, align 8
%19 = call i32 @STK_size(ptr noundef %18)
%20 = load ptr, ptr %2, align 8
%21 = call i32 @STK_deleteStack(ptr noundef %20)
ret i32 0
}
declare ptr @STK_newStack(...) #1
declare i32 @STK_push(ptr noundef, ptr noundef) #1
declare i32 @STK_size(ptr noundef) #1
declare i64 @STK_top(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @STK_pop(ptr noundef) #1
declare i32 @STK_deleteStack(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpq01hqncg.c'
source_filename = "/tmp/tmpq01hqncg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @test_single_char()
%3 = call i32 (...) @test_simple_word()
%4 = call i32 (...) @test_modulo()
%5 = call i32 (...) @test_rolling()
ret i32 0
}
declare i32 @test_single_char(...) #1
declare i32 @test_simple_word(...) #1
declare i32 @test_modulo(...) #1
declare i32 @test_rolling(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpq01hqncg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @test_single_char()
%3 = call i32 (...) @test_simple_word()
%4 = call i32 (...) @test_modulo()
%5 = call i32 (...) @test_rolling()
ret i32 0
}
declare i32 @test_single_char(...) #1
declare i32 @test_simple_word(...) #1
declare i32 @test_modulo(...) #1
declare i32 @test_rolling(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplh8etuvh.c'
source_filename = "/tmp/tmplh8etuvh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @http_read_line(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store i64 0, ptr %8, align 8
br label %10
10: ; preds = %50, %26, %3
%11 = load i32, ptr %5, align 4
%12 = load ptr, ptr %6, align 8
%13 = load i64, ptr %8, align 8
%14 = getelementptr inbounds i8, ptr %12, i64 %13
%15 = call i32 @read(i32 noundef %11, ptr noundef %14, i32 noundef 1)
store i32 %15, ptr %9, align 4
%16 = load i32, ptr %9, align 4
%17 = icmp sle i32 %16, 0
br i1 %17, label %18, label %19
18: ; preds = %10
br label %53
19: ; preds = %10
%20 = load ptr, ptr %6, align 8
%21 = load i64, ptr %8, align 8
%22 = getelementptr inbounds i8, ptr %20, i64 %21
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp eq i32 %24, 13
br i1 %25, label %26, label %30
26: ; preds = %19
%27 = load ptr, ptr %6, align 8
%28 = load i64, ptr %8, align 8
%29 = getelementptr inbounds i8, ptr %27, i64 %28
store i8 0, ptr %29, align 1
br label %10
30: ; preds = %19
%31 = load ptr, ptr %6, align 8
%32 = load i64, ptr %8, align 8
%33 = getelementptr inbounds i8, ptr %31, i64 %32
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = icmp eq i32 %35, 10
br i1 %36, label %37, label %41
37: ; preds = %30
%38 = load ptr, ptr %6, align 8
%39 = load i64, ptr %8, align 8
%40 = getelementptr inbounds i8, ptr %38, i64 %39
store i8 0, ptr %40, align 1
store i32 0, ptr %4, align 4
br label %54
41: ; preds = %30
%42 = load i64, ptr %8, align 8
%43 = load i64, ptr %7, align 8
%44 = sub i64 %43, 1
%45 = icmp uge i64 %42, %44
br i1 %45, label %46, label %50
46: ; preds = %41
%47 = load ptr, ptr %6, align 8
%48 = load i64, ptr %8, align 8
%49 = getelementptr inbounds i8, ptr %47, i64 %48
store i8 0, ptr %49, align 1
store i32 0, ptr %4, align 4
br label %54
50: ; preds = %41
%51 = load i64, ptr %8, align 8
%52 = add i64 %51, 1
store i64 %52, ptr %8, align 8
br label %10
53: ; preds = %18
store i32 -1, ptr %4, align 4
br label %54
54: ; preds = %53, %46, %37
%55 = load i32, ptr %4, align 4
ret i32 %55
}
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmplh8etuvh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @http_read_line(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store i64 0, ptr %8, align 8
%10 = load i32, ptr %5, align 4
%11 = load ptr, ptr %6, align 8
%12 = load i64, ptr %8, align 8
%13 = getelementptr inbounds i8, ptr %11, i64 %12
%14 = call i32 @read(i32 noundef %10, ptr noundef %13, i32 noundef 1)
store i32 %14, ptr %9, align 4
%15 = load i32, ptr %9, align 4
%16 = icmp sle i32 %15, 0
br i1 %16, label %17, label %.lr.ph
.lr.ph: ; preds = %3
br label %18
._crit_edge: ; preds = %.backedge
br label %17
17: ; preds = %._crit_edge, %3
br label %59
18: ; preds = %.lr.ph, %.backedge
%19 = load ptr, ptr %6, align 8
%20 = load i64, ptr %8, align 8
%21 = getelementptr inbounds i8, ptr %19, i64 %20
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = icmp eq i32 %23, 13
br i1 %24, label %25, label %36
25: ; preds = %18
%26 = load ptr, ptr %6, align 8
%27 = load i64, ptr %8, align 8
%28 = getelementptr inbounds i8, ptr %26, i64 %27
store i8 0, ptr %28, align 1
br label %.backedge
.backedge: ; preds = %25, %56
%29 = load i32, ptr %5, align 4
%30 = load ptr, ptr %6, align 8
%31 = load i64, ptr %8, align 8
%32 = getelementptr inbounds i8, ptr %30, i64 %31
%33 = call i32 @read(i32 noundef %29, ptr noundef %32, i32 noundef 1)
store i32 %33, ptr %9, align 4
%34 = load i32, ptr %9, align 4
%35 = icmp sle i32 %34, 0
br i1 %35, label %._crit_edge, label %18
36: ; preds = %18
%37 = load ptr, ptr %6, align 8
%38 = load i64, ptr %8, align 8
%39 = getelementptr inbounds i8, ptr %37, i64 %38
%40 = load i8, ptr %39, align 1
%41 = sext i8 %40 to i32
%42 = icmp eq i32 %41, 10
br i1 %42, label %43, label %47
43: ; preds = %36
%44 = load ptr, ptr %6, align 8
%45 = load i64, ptr %8, align 8
%46 = getelementptr inbounds i8, ptr %44, i64 %45
store i8 0, ptr %46, align 1
store i32 0, ptr %4, align 4
br label %60
47: ; preds = %36
%48 = load i64, ptr %8, align 8
%49 = load i64, ptr %7, align 8
%50 = sub i64 %49, 1
%51 = icmp uge i64 %48, %50
br i1 %51, label %52, label %56
52: ; preds = %47
%53 = load ptr, ptr %6, align 8
%54 = load i64, ptr %8, align 8
%55 = getelementptr inbounds i8, ptr %53, i64 %54
store i8 0, ptr %55, align 1
store i32 0, ptr %4, align 4
br label %60
56: ; preds = %47
%57 = load i64, ptr %8, align 8
%58 = add i64 %57, 1
store i64 %58, ptr %8, align 8
br label %.backedge
59: ; preds = %17
store i32 -1, ptr %4, align 4
br label %60
60: ; preds = %59, %52, %43
%61 = load i32, ptr %4, align 4
ret i32 %61
}
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpflldwphu.c'
source_filename = "/tmp/tmpflldwphu.c"
target datalayout = "e-m:e-p270: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.user_regs_struct = type { i64 }
@PTRACE_GETREGS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @get_child_eip(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca %struct.user_regs_struct, align 8
store i32 %0, ptr %2, align 4
%4 = load i32, ptr @PTRACE_GETREGS, align 4
%5 = load i32, ptr %2, align 4
%6 = call i32 @ptrace(i32 noundef %4, i32 noundef %5, i32 noundef 0, ptr noundef %3)
%7 = getelementptr inbounds %struct.user_regs_struct, ptr %3, i32 0, i32 0
%8 = load i64, ptr %7, align 8
ret i64 %8
}
declare i32 @ptrace(i32 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/tmpflldwphu.c"
target datalayout = "e-m:e-p270: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.user_regs_struct = type { i64 }
@PTRACE_GETREGS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @get_child_eip(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca %struct.user_regs_struct, align 8
store i32 %0, ptr %2, align 4
%4 = load i32, ptr @PTRACE_GETREGS, align 4
%5 = load i32, ptr %2, align 4
%6 = call i32 @ptrace(i32 noundef %4, i32 noundef %5, i32 noundef 0, ptr noundef %3)
%7 = getelementptr inbounds %struct.user_regs_struct, ptr %3, i32 0, i32 0
%8 = load i64, ptr %7, align 8
ret i64 %8
}
declare i32 @ptrace(i32 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/tmpaxhf5r3q.c'
source_filename = "/tmp/tmpaxhf5r3q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_irq_delete(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 %2, align 4
store i32 0, ptr %3, align 4
store i32 32, ptr %4, align 4
%6 = load i32, ptr %2, align 4
%7 = call i32 @ioctl_reap_inquiry(i32 noundef %6, i32 noundef 0)
store i32 %7, ptr %5, align 4
%8 = load i32, ptr %2, align 4
%9 = load i32, ptr %3, align 4
%10 = load i32, ptr %4, align 4
%11 = call i32 @ioctl_delete_ioq(i32 noundef %8, i32 noundef %9, i32 noundef %10)
%12 = load i32, ptr %2, align 4
%13 = call i32 @ioctl_tst_ring_dbl(i32 noundef %12, i32 noundef 0)
br label %14
14: ; preds = %20, %1
%15 = load i32, ptr %2, align 4
%16 = call i32 @ioctl_reap_inquiry(i32 noundef %15, i32 noundef 0)
%17 = load i32, ptr %5, align 4
%18 = add nsw i32 %17, 1
%19 = icmp ne i32 %16, %18
br i1 %19, label %20, label %21
20: ; preds = %14
br label %14, !llvm.loop !6
21: ; preds = %14
store i32 0, ptr %3, align 4
store i32 31, ptr %4, align 4
%22 = load i32, ptr %2, align 4
%23 = call i32 @ioctl_reap_inquiry(i32 noundef %22, i32 noundef 0)
store i32 %23, ptr %5, align 4
%24 = load i32, ptr %2, align 4
%25 = load i32, ptr %3, align 4
%26 = load i32, ptr %4, align 4
%27 = call i32 @ioctl_delete_ioq(i32 noundef %24, i32 noundef %25, i32 noundef %26)
%28 = load i32, ptr %2, align 4
%29 = call i32 @ioctl_tst_ring_dbl(i32 noundef %28, i32 noundef 0)
br label %30
30: ; preds = %36, %21
%31 = load i32, ptr %2, align 4
%32 = call i32 @ioctl_reap_inquiry(i32 noundef %31, i32 noundef 0)
%33 = load i32, ptr %5, align 4
%34 = add nsw i32 %33, 1
%35 = icmp ne i32 %32, %34
br i1 %35, label %36, label %37
36: ; preds = %30
br label %30, !llvm.loop !8
37: ; preds = %30
store i32 0, ptr %3, align 4
store i32 33, ptr %4, align 4
%38 = load i32, ptr %2, align 4
%39 = call i32 @ioctl_reap_inquiry(i32 noundef %38, i32 noundef 0)
store i32 %39, ptr %5, align 4
%40 = load i32, ptr %2, align 4
%41 = load i32, ptr %3, align 4
%42 = load i32, ptr %4, align 4
%43 = call i32 @ioctl_delete_ioq(i32 noundef %40, i32 noundef %41, i32 noundef %42)
%44 = load i32, ptr %2, align 4
%45 = call i32 @ioctl_tst_ring_dbl(i32 noundef %44, i32 noundef 0)
br label %46
46: ; preds = %52, %37
%47 = load i32, ptr %2, align 4
%48 = call i32 @ioctl_reap_inquiry(i32 noundef %47, i32 noundef 0)
%49 = load i32, ptr %5, align 4
%50 = add nsw i32 %49, 1
%51 = icmp ne i32 %48, %50
br i1 %51, label %52, label %53
52: ; preds = %46
br label %46, !llvm.loop !9
53: ; preds = %46
store i32 0, ptr %3, align 4
store i32 34, ptr %4, align 4
%54 = load i32, ptr %2, align 4
%55 = call i32 @ioctl_reap_inquiry(i32 noundef %54, i32 noundef 0)
store i32 %55, ptr %5, align 4
%56 = load i32, ptr %2, align 4
%57 = load i32, ptr %3, align 4
%58 = load i32, ptr %4, align 4
%59 = call i32 @ioctl_delete_ioq(i32 noundef %56, i32 noundef %57, i32 noundef %58)
%60 = load i32, ptr %2, align 4
%61 = call i32 @ioctl_tst_ring_dbl(i32 noundef %60, i32 noundef 0)
br label %62
62: ; preds = %68, %53
%63 = load i32, ptr %2, align 4
%64 = call i32 @ioctl_reap_inquiry(i32 noundef %63, i32 noundef 0)
%65 = load i32, ptr %5, align 4
%66 = add nsw i32 %65, 1
%67 = icmp ne i32 %64, %66
br i1 %67, label %68, label %69
68: ; preds = %62
br label %62, !llvm.loop !10
69: ; preds = %62
store i32 4, ptr %3, align 4
store i32 21, ptr %4, align 4
%70 = load i32, ptr %2, align 4
%71 = call i32 @ioctl_reap_inquiry(i32 noundef %70, i32 noundef 0)
store i32 %71, ptr %5, align 4
%72 = load i32, ptr %2, align 4
%73 = load i32, ptr %3, align 4
%74 = load i32, ptr %4, align 4
%75 = call i32 @ioctl_delete_ioq(i32 noundef %72, i32 noundef %73, i32 noundef %74)
%76 = load i32, ptr %2, align 4
%77 = call i32 @ioctl_tst_ring_dbl(i32 noundef %76, i32 noundef 0)
br label %78
78: ; preds = %84, %69
%79 = load i32, ptr %2, align 4
%80 = call i32 @ioctl_reap_inquiry(i32 noundef %79, i32 noundef 0)
%81 = load i32, ptr %5, align 4
%82 = add nsw i32 %81, 1
%83 = icmp ne i32 %80, %82
br i1 %83, label %84, label %85
84: ; preds = %78
br label %78, !llvm.loop !11
85: ; preds = %78
store i32 4, ptr %3, align 4
store i32 22, ptr %4, align 4
%86 = load i32, ptr %2, align 4
%87 = call i32 @ioctl_reap_inquiry(i32 noundef %86, i32 noundef 0)
store i32 %87, ptr %5, align 4
%88 = load i32, ptr %2, align 4
%89 = load i32, ptr %3, align 4
%90 = load i32, ptr %4, align 4
%91 = call i32 @ioctl_delete_ioq(i32 noundef %88, i32 noundef %89, i32 noundef %90)
%92 = load i32, ptr %2, align 4
%93 = call i32 @ioctl_tst_ring_dbl(i32 noundef %92, i32 noundef 0)
br label %94
94: ; preds = %100, %85
%95 = load i32, ptr %2, align 4
%96 = call i32 @ioctl_reap_inquiry(i32 noundef %95, i32 noundef 0)
%97 = load i32, ptr %5, align 4
%98 = add nsw i32 %97, 1
%99 = icmp ne i32 %96, %98
br i1 %99, label %100, label %101
100: ; preds = %94
br label %94, !llvm.loop !12
101: ; preds = %94
store i32 4, ptr %3, align 4
store i32 23, ptr %4, align 4
%102 = load i32, ptr %2, align 4
%103 = call i32 @ioctl_reap_inquiry(i32 noundef %102, i32 noundef 0)
store i32 %103, ptr %5, align 4
%104 = load i32, ptr %2, align 4
%105 = load i32, ptr %3, align 4
%106 = load i32, ptr %4, align 4
%107 = call i32 @ioctl_delete_ioq(i32 noundef %104, i32 noundef %105, i32 noundef %106)
%108 = load i32, ptr %2, align 4
%109 = call i32 @ioctl_tst_ring_dbl(i32 noundef %108, i32 noundef 0)
br label %110
110: ; preds = %116, %101
%111 = load i32, ptr %2, align 4
%112 = call i32 @ioctl_reap_inquiry(i32 noundef %111, i32 noundef 0)
%113 = load i32, ptr %5, align 4
%114 = add nsw i32 %113, 1
%115 = icmp ne i32 %112, %114
br i1 %115, label %116, label %117
116: ; preds = %110
br label %110, !llvm.loop !13
117: ; preds = %110
store i32 4, ptr %3, align 4
store i32 20, ptr %4, align 4
%118 = load i32, ptr %2, align 4
%119 = call i32 @ioctl_reap_inquiry(i32 noundef %118, i32 noundef 0)
store i32 %119, ptr %5, align 4
%120 = load i32, ptr %2, align 4
%121 = load i32, ptr %3, align 4
%122 = load i32, ptr %4, align 4
%123 = call i32 @ioctl_delete_ioq(i32 noundef %120, i32 noundef %121, i32 noundef %122)
%124 = load i32, ptr %2, align 4
%125 = call i32 @ioctl_tst_ring_dbl(i32 noundef %124, i32 noundef 0)
br label %126
126: ; preds = %132, %117
%127 = load i32, ptr %2, align 4
%128 = call i32 @ioctl_reap_inquiry(i32 noundef %127, i32 noundef 0)
%129 = load i32, ptr %5, align 4
%130 = add nsw i32 %129, 1
%131 = icmp ne i32 %128, %130
br i1 %131, label %132, label %133
132: ; preds = %126
br label %126, !llvm.loop !14
133: ; preds = %126
ret void
}
declare i32 @ioctl_reap_inquiry(i32 noundef, i32 noundef) #1
declare i32 @ioctl_delete_ioq(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @ioctl_tst_ring_dbl(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpaxhf5r3q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_irq_delete(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 %2, align 4
store i32 0, ptr %3, align 4
store i32 32, ptr %4, align 4
%6 = load i32, ptr %2, align 4
%7 = call i32 @ioctl_reap_inquiry(i32 noundef %6, i32 noundef 0)
store i32 %7, ptr %5, align 4
%8 = load i32, ptr %2, align 4
%9 = load i32, ptr %3, align 4
%10 = load i32, ptr %4, align 4
%11 = call i32 @ioctl_delete_ioq(i32 noundef %8, i32 noundef %9, i32 noundef %10)
%12 = load i32, ptr %2, align 4
%13 = call i32 @ioctl_tst_ring_dbl(i32 noundef %12, i32 noundef 0)
br label %14
14: ; preds = %14, %1
%15 = load i32, ptr %2, align 4
%16 = call i32 @ioctl_reap_inquiry(i32 noundef %15, i32 noundef 0)
%17 = load i32, ptr %5, align 4
%18 = add nsw i32 %17, 1
%19 = icmp ne i32 %16, %18
br i1 %19, label %14, label %20, !llvm.loop !6
20: ; preds = %14
store i32 0, ptr %3, align 4
store i32 31, ptr %4, align 4
%21 = load i32, ptr %2, align 4
%22 = call i32 @ioctl_reap_inquiry(i32 noundef %21, i32 noundef 0)
store i32 %22, ptr %5, align 4
%23 = load i32, ptr %2, align 4
%24 = load i32, ptr %3, align 4
%25 = load i32, ptr %4, align 4
%26 = call i32 @ioctl_delete_ioq(i32 noundef %23, i32 noundef %24, i32 noundef %25)
%27 = load i32, ptr %2, align 4
%28 = call i32 @ioctl_tst_ring_dbl(i32 noundef %27, i32 noundef 0)
br label %29
29: ; preds = %29, %20
%30 = load i32, ptr %2, align 4
%31 = call i32 @ioctl_reap_inquiry(i32 noundef %30, i32 noundef 0)
%32 = load i32, ptr %5, align 4
%33 = add nsw i32 %32, 1
%34 = icmp ne i32 %31, %33
br i1 %34, label %29, label %35, !llvm.loop !8
35: ; preds = %29
store i32 0, ptr %3, align 4
store i32 33, ptr %4, align 4
%36 = load i32, ptr %2, align 4
%37 = call i32 @ioctl_reap_inquiry(i32 noundef %36, i32 noundef 0)
store i32 %37, ptr %5, align 4
%38 = load i32, ptr %2, align 4
%39 = load i32, ptr %3, align 4
%40 = load i32, ptr %4, align 4
%41 = call i32 @ioctl_delete_ioq(i32 noundef %38, i32 noundef %39, i32 noundef %40)
%42 = load i32, ptr %2, align 4
%43 = call i32 @ioctl_tst_ring_dbl(i32 noundef %42, i32 noundef 0)
br label %44
44: ; preds = %44, %35
%45 = load i32, ptr %2, align 4
%46 = call i32 @ioctl_reap_inquiry(i32 noundef %45, i32 noundef 0)
%47 = load i32, ptr %5, align 4
%48 = add nsw i32 %47, 1
%49 = icmp ne i32 %46, %48
br i1 %49, label %44, label %50, !llvm.loop !9
50: ; preds = %44
store i32 0, ptr %3, align 4
store i32 34, ptr %4, align 4
%51 = load i32, ptr %2, align 4
%52 = call i32 @ioctl_reap_inquiry(i32 noundef %51, i32 noundef 0)
store i32 %52, ptr %5, align 4
%53 = load i32, ptr %2, align 4
%54 = load i32, ptr %3, align 4
%55 = load i32, ptr %4, align 4
%56 = call i32 @ioctl_delete_ioq(i32 noundef %53, i32 noundef %54, i32 noundef %55)
%57 = load i32, ptr %2, align 4
%58 = call i32 @ioctl_tst_ring_dbl(i32 noundef %57, i32 noundef 0)
br label %59
59: ; preds = %59, %50
%60 = load i32, ptr %2, align 4
%61 = call i32 @ioctl_reap_inquiry(i32 noundef %60, i32 noundef 0)
%62 = load i32, ptr %5, align 4
%63 = add nsw i32 %62, 1
%64 = icmp ne i32 %61, %63
br i1 %64, label %59, label %65, !llvm.loop !10
65: ; preds = %59
store i32 4, ptr %3, align 4
store i32 21, ptr %4, align 4
%66 = load i32, ptr %2, align 4
%67 = call i32 @ioctl_reap_inquiry(i32 noundef %66, i32 noundef 0)
store i32 %67, ptr %5, align 4
%68 = load i32, ptr %2, align 4
%69 = load i32, ptr %3, align 4
%70 = load i32, ptr %4, align 4
%71 = call i32 @ioctl_delete_ioq(i32 noundef %68, i32 noundef %69, i32 noundef %70)
%72 = load i32, ptr %2, align 4
%73 = call i32 @ioctl_tst_ring_dbl(i32 noundef %72, i32 noundef 0)
br label %74
74: ; preds = %74, %65
%75 = load i32, ptr %2, align 4
%76 = call i32 @ioctl_reap_inquiry(i32 noundef %75, i32 noundef 0)
%77 = load i32, ptr %5, align 4
%78 = add nsw i32 %77, 1
%79 = icmp ne i32 %76, %78
br i1 %79, label %74, label %80, !llvm.loop !11
80: ; preds = %74
store i32 4, ptr %3, align 4
store i32 22, ptr %4, align 4
%81 = load i32, ptr %2, align 4
%82 = call i32 @ioctl_reap_inquiry(i32 noundef %81, i32 noundef 0)
store i32 %82, ptr %5, align 4
%83 = load i32, ptr %2, align 4
%84 = load i32, ptr %3, align 4
%85 = load i32, ptr %4, align 4
%86 = call i32 @ioctl_delete_ioq(i32 noundef %83, i32 noundef %84, i32 noundef %85)
%87 = load i32, ptr %2, align 4
%88 = call i32 @ioctl_tst_ring_dbl(i32 noundef %87, i32 noundef 0)
br label %89
89: ; preds = %89, %80
%90 = load i32, ptr %2, align 4
%91 = call i32 @ioctl_reap_inquiry(i32 noundef %90, i32 noundef 0)
%92 = load i32, ptr %5, align 4
%93 = add nsw i32 %92, 1
%94 = icmp ne i32 %91, %93
br i1 %94, label %89, label %95, !llvm.loop !12
95: ; preds = %89
store i32 4, ptr %3, align 4
store i32 23, ptr %4, align 4
%96 = load i32, ptr %2, align 4
%97 = call i32 @ioctl_reap_inquiry(i32 noundef %96, i32 noundef 0)
store i32 %97, ptr %5, align 4
%98 = load i32, ptr %2, align 4
%99 = load i32, ptr %3, align 4
%100 = load i32, ptr %4, align 4
%101 = call i32 @ioctl_delete_ioq(i32 noundef %98, i32 noundef %99, i32 noundef %100)
%102 = load i32, ptr %2, align 4
%103 = call i32 @ioctl_tst_ring_dbl(i32 noundef %102, i32 noundef 0)
br label %104
104: ; preds = %104, %95
%105 = load i32, ptr %2, align 4
%106 = call i32 @ioctl_reap_inquiry(i32 noundef %105, i32 noundef 0)
%107 = load i32, ptr %5, align 4
%108 = add nsw i32 %107, 1
%109 = icmp ne i32 %106, %108
br i1 %109, label %104, label %110, !llvm.loop !13
110: ; preds = %104
store i32 4, ptr %3, align 4
store i32 20, ptr %4, align 4
%111 = load i32, ptr %2, align 4
%112 = call i32 @ioctl_reap_inquiry(i32 noundef %111, i32 noundef 0)
store i32 %112, ptr %5, align 4
%113 = load i32, ptr %2, align 4
%114 = load i32, ptr %3, align 4
%115 = load i32, ptr %4, align 4
%116 = call i32 @ioctl_delete_ioq(i32 noundef %113, i32 noundef %114, i32 noundef %115)
%117 = load i32, ptr %2, align 4
%118 = call i32 @ioctl_tst_ring_dbl(i32 noundef %117, i32 noundef 0)
br label %119
119: ; preds = %119, %110
%120 = load i32, ptr %2, align 4
%121 = call i32 @ioctl_reap_inquiry(i32 noundef %120, i32 noundef 0)
%122 = load i32, ptr %5, align 4
%123 = add nsw i32 %122, 1
%124 = icmp ne i32 %121, %123
br i1 %124, label %119, label %125, !llvm.loop !14
125: ; preds = %119
ret void
}
declare i32 @ioctl_reap_inquiry(i32 noundef, i32 noundef) #1
declare i32 @ioctl_delete_ioq(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @ioctl_tst_ring_dbl(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
|
; ModuleID = '/tmp/tmpiq33jfja.c'
source_filename = "/tmp/tmpiq33jfja.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@NAN = dso_local global double 0.000000e+00, align 8
@HUGE_VAL = dso_local global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @logit(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
store double %0, ptr %3, align 8
%4 = load double, ptr %3, align 8
%5 = load double, ptr %3, align 8
%6 = fcmp une double %4, %5
br i1 %6, label %7, label %9
7: ; preds = %1
%8 = load double, ptr %3, align 8
store double %8, ptr %2, align 8
br label %34
9: ; preds = %1
%10 = load double, ptr %3, align 8
%11 = fcmp olt double %10, 0.000000e+00
br i1 %11, label %15, label %12
12: ; preds = %9
%13 = load double, ptr %3, align 8
%14 = fcmp ogt double %13, 1.000000e+00
br i1 %14, label %15, label %17
15: ; preds = %12, %9
%16 = load double, ptr @NAN, align 8
store double %16, ptr %2, align 8
br label %34
17: ; preds = %12
%18 = load double, ptr %3, align 8
%19 = fcmp oeq double %18, 0.000000e+00
br i1 %19, label %20, label %23
20: ; preds = %17
%21 = load double, ptr @HUGE_VAL, align 8
%22 = fneg double %21
store double %22, ptr %2, align 8
br label %34
23: ; preds = %17
%24 = load double, ptr %3, align 8
%25 = fcmp oeq double %24, 1.000000e+00
br i1 %25, label %26, label %28
26: ; preds = %23
%27 = load double, ptr @HUGE_VAL, align 8
store double %27, ptr %2, align 8
br label %34
28: ; preds = %23
%29 = load double, ptr %3, align 8
%30 = load double, ptr %3, align 8
%31 = fsub double 1.000000e+00, %30
%32 = fdiv double %29, %31
%33 = call double @log(double noundef %32) #2
store double %33, ptr %2, align 8
br label %34
34: ; preds = %28, %26, %20, %15, %7
%35 = load double, ptr %2, align 8
ret double %35
}
; Function Attrs: nounwind
declare double @log(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 #2 = { 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/tmpiq33jfja.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@NAN = dso_local global double 0.000000e+00, align 8
@HUGE_VAL = dso_local global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @logit(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
store double %0, ptr %3, align 8
%4 = load double, ptr %3, align 8
%5 = load double, ptr %3, align 8
%6 = fcmp une double %4, %5
br i1 %6, label %7, label %9
7: ; preds = %1
%8 = load double, ptr %3, align 8
store double %8, ptr %2, align 8
br label %34
9: ; preds = %1
%10 = load double, ptr %3, align 8
%11 = fcmp olt double %10, 0.000000e+00
br i1 %11, label %15, label %12
12: ; preds = %9
%13 = load double, ptr %3, align 8
%14 = fcmp ogt double %13, 1.000000e+00
br i1 %14, label %15, label %17
15: ; preds = %12, %9
%16 = load double, ptr @NAN, align 8
store double %16, ptr %2, align 8
br label %34
17: ; preds = %12
%18 = load double, ptr %3, align 8
%19 = fcmp oeq double %18, 0.000000e+00
br i1 %19, label %20, label %23
20: ; preds = %17
%21 = load double, ptr @HUGE_VAL, align 8
%22 = fneg double %21
store double %22, ptr %2, align 8
br label %34
23: ; preds = %17
%24 = load double, ptr %3, align 8
%25 = fcmp oeq double %24, 1.000000e+00
br i1 %25, label %26, label %28
26: ; preds = %23
%27 = load double, ptr @HUGE_VAL, align 8
store double %27, ptr %2, align 8
br label %34
28: ; preds = %23
%29 = load double, ptr %3, align 8
%30 = load double, ptr %3, align 8
%31 = fsub double 1.000000e+00, %30
%32 = fdiv double %29, %31
%33 = call double @log(double noundef %32) #2
store double %33, ptr %2, align 8
br label %34
34: ; preds = %28, %26, %20, %15, %7
%35 = load double, ptr %2, align 8
ret double %35
}
; Function Attrs: nounwind
declare double @log(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 #2 = { 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/tmp5t5gh3wm.c'
source_filename = "/tmp/tmp5t5gh3wm.c"
target datalayout = "e-m:e-p270: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 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/tmp5t5gh3wm.c"
target datalayout = "e-m:e-p270: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 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/tmps1xu20vl.c'
source_filename = "/tmp/tmps1xu20vl.c"
target datalayout = "e-m:e-p270: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.str = private unnamed_addr constant [19 x i8] c"I love this world!\00", align 16
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%c\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.str.3 = private unnamed_addr constant [41 x i8] c"Try not. Do, or do not. There is no try.\00", align 1
@.str.4 = private unnamed_addr constant [29 x i8] c"Found '%c' starting at '%s'\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [19 x i8], align 16
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i8, align 1
%6 = alloca ptr, align 8
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.str, i64 19, i1 false)
%7 = getelementptr inbounds [19 x i8], ptr %2, i64 0, i64 0
%8 = call ptr @strchr(ptr noundef %7, i8 noundef signext 73)
store ptr %8, ptr %3, align 8
%9 = load ptr, ptr %3, align 8
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %9)
%11 = load ptr, ptr %3, align 8
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %13)
%15 = load ptr, ptr %3, align 8
%16 = getelementptr inbounds [19 x i8], ptr %2, i64 0, i64 0
%17 = ptrtoint ptr %15 to i64
%18 = ptrtoint ptr %16 to i64
%19 = sub i64 %17, %18
%20 = trunc i64 %19 to i32
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %20)
%22 = getelementptr inbounds [19 x i8], ptr %2, i64 0, i64 0
%23 = call ptr @strchr(ptr noundef %22, i8 noundef signext 108)
store ptr %23, ptr %3, align 8
%24 = load ptr, ptr %3, align 8
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %24)
%26 = load ptr, ptr %3, align 8
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %28)
%30 = load ptr, ptr %3, align 8
%31 = getelementptr inbounds [19 x i8], ptr %2, i64 0, i64 0
%32 = ptrtoint ptr %30 to i64
%33 = ptrtoint ptr %31 to i64
%34 = sub i64 %32, %33
%35 = trunc i64 %34 to i32
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %35)
store ptr @.str.3, ptr %4, align 8
store i8 84, ptr %5, align 1
%37 = load ptr, ptr %4, align 8
store ptr %37, ptr %6, align 8
br label %38
38: ; preds = %43, %0
%39 = load ptr, ptr %6, align 8
%40 = load i8, ptr %5, align 1
%41 = call ptr @strchr(ptr noundef %39, i8 noundef signext %40)
store ptr %41, ptr %6, align 8
%42 = icmp ne ptr %41, null
br i1 %42, label %43, label %50
43: ; preds = %38
%44 = load i8, ptr %5, align 1
%45 = sext i8 %44 to i32
%46 = load ptr, ptr %6, align 8
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %45, ptr noundef %46)
%48 = load ptr, ptr %6, align 8
%49 = getelementptr inbounds i8, ptr %48, i32 1
store ptr %49, ptr %6, align 8
br label %38, !llvm.loop !6
50: ; preds = %38
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 ptr @strchr(ptr noundef, i8 noundef signext) #2
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmps1xu20vl.c"
target datalayout = "e-m:e-p270: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.str = private unnamed_addr constant [19 x i8] c"I love this world!\00", align 16
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%c\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.str.3 = private unnamed_addr constant [41 x i8] c"Try not. Do, or do not. There is no try.\00", align 1
@.str.4 = private unnamed_addr constant [29 x i8] c"Found '%c' starting at '%s'\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [19 x i8], align 16
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i8, align 1
%6 = alloca ptr, align 8
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.str, i64 19, i1 false)
%7 = getelementptr inbounds [19 x i8], ptr %2, i64 0, i64 0
%8 = call ptr @strchr(ptr noundef %7, i8 noundef signext 73)
store ptr %8, ptr %3, align 8
%9 = load ptr, ptr %3, align 8
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %9)
%11 = load ptr, ptr %3, align 8
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %13)
%15 = load ptr, ptr %3, align 8
%16 = getelementptr inbounds [19 x i8], ptr %2, i64 0, i64 0
%17 = ptrtoint ptr %15 to i64
%18 = ptrtoint ptr %16 to i64
%19 = sub i64 %17, %18
%20 = trunc i64 %19 to i32
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %20)
%22 = getelementptr inbounds [19 x i8], ptr %2, i64 0, i64 0
%23 = call ptr @strchr(ptr noundef %22, i8 noundef signext 108)
store ptr %23, ptr %3, align 8
%24 = load ptr, ptr %3, align 8
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %24)
%26 = load ptr, ptr %3, align 8
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %28)
%30 = load ptr, ptr %3, align 8
%31 = getelementptr inbounds [19 x i8], ptr %2, i64 0, i64 0
%32 = ptrtoint ptr %30 to i64
%33 = ptrtoint ptr %31 to i64
%34 = sub i64 %32, %33
%35 = trunc i64 %34 to i32
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %35)
store ptr @.str.3, ptr %4, align 8
store i8 84, ptr %5, align 1
%37 = load ptr, ptr %4, align 8
store ptr %37, ptr %6, align 8
%38 = load ptr, ptr %6, align 8
%39 = load i8, ptr %5, align 1
%40 = call ptr @strchr(ptr noundef %38, i8 noundef signext %39)
store ptr %40, ptr %6, align 8
%41 = icmp ne ptr %40, null
br i1 %41, label %.lr.ph, label %53
.lr.ph: ; preds = %0
br label %42
42: ; preds = %.lr.ph, %42
%43 = load i8, ptr %5, align 1
%44 = sext i8 %43 to i32
%45 = load ptr, ptr %6, align 8
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %44, ptr noundef %45)
%47 = load ptr, ptr %6, align 8
%48 = getelementptr inbounds i8, ptr %47, i32 1
store ptr %48, ptr %6, align 8
%49 = load ptr, ptr %6, align 8
%50 = load i8, ptr %5, align 1
%51 = call ptr @strchr(ptr noundef %49, i8 noundef signext %50)
store ptr %51, ptr %6, align 8
%52 = icmp ne ptr %51, null
br i1 %52, label %42, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %42
br label %53
53: ; preds = %._crit_edge, %0
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 ptr @strchr(ptr noundef, i8 noundef signext) #2
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmppqvtucgn.c'
source_filename = "/tmp/tmppqvtucgn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmppqvtucgn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8n0szsha.c'
source_filename = "/tmp/tmp8n0szsha.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @read_little_endian64(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = sext i32 %6 to i64
%8 = getelementptr inbounds i32, ptr %5, i64 %7
%9 = load i32, ptr %8, align 4
ret i32 %9
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8n0szsha.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @read_little_endian64(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = sext i32 %6 to i64
%8 = getelementptr inbounds i32, ptr %5, i64 %7
%9 = load i32, ptr %8, align 4
ret i32 %9
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqdvawf9h.c'
source_filename = "/tmp/tmpqdvawf9h.c"
target datalayout = "e-m:e-p270: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/tmpqdvawf9h.c"
target datalayout = "e-m:e-p270: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"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.