llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmp33uppgv6.c'
source_filename = "/tmp/tmp33uppgv6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @quick_sort(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %24
11: ; preds = %3
%12 = load ptr, ptr %4, align 8
%13 = load i32, ptr %5, align 4
%14 = load i32, ptr %6, align 4
%15 = call i32 @partition(ptr noundef %12, i32 noundef %13, i32 noundef %14)
store i32 %15, ptr %7, align 4
%16 = load ptr, ptr %4, align 8
%17 = load i32, ptr %5, align 4
%18 = load i32, ptr %7, align 4
%19 = sub nsw i32 %18, 1
call void @quick_sort(ptr noundef %16, i32 noundef %17, i32 noundef %19)
%20 = load ptr, ptr %4, align 8
%21 = load i32, ptr %7, align 4
%22 = add nsw i32 %21, 1
%23 = load i32, ptr %6, align 4
call void @quick_sort(ptr noundef %20, i32 noundef %22, i32 noundef %23)
br label %24
24: ; preds = %11, %3
ret void
}
declare i32 @partition(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/tmp33uppgv6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @quick_sort(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %24
11: ; preds = %3
%12 = load ptr, ptr %4, align 8
%13 = load i32, ptr %5, align 4
%14 = load i32, ptr %6, align 4
%15 = call i32 @partition(ptr noundef %12, i32 noundef %13, i32 noundef %14)
store i32 %15, ptr %7, align 4
%16 = load ptr, ptr %4, align 8
%17 = load i32, ptr %5, align 4
%18 = load i32, ptr %7, align 4
%19 = sub nsw i32 %18, 1
call void @quick_sort(ptr noundef %16, i32 noundef %17, i32 noundef %19)
%20 = load ptr, ptr %4, align 8
%21 = load i32, ptr %7, align 4
%22 = add nsw i32 %21, 1
%23 = load i32, ptr %6, align 4
call void @quick_sort(ptr noundef %20, i32 noundef %22, i32 noundef %23)
br label %24
24: ; preds = %11, %3
ret void
}
declare i32 @partition(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/tmpm9ibbyag.c'
source_filename = "/tmp/tmpm9ibbyag.c"
target datalayout = "e-m:e-p270: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 [29 x i8] c"Could not find debugfs path\0A\00", align 1
@.str.1 = private unnamed_addr constant [35 x i8] c"%s/batman_adv/%s/transtable_global\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.3 = private unnamed_addr constant [87 x i8] c"Could not find %s for interface %s. Make sure it is a valid batman-adv soft-interface\0A\00", align 1
@.str.4 = private unnamed_addr constant [18 x i8] c"transtable_global\00", align 1
@.str.5 = private unnamed_addr constant [29 x i8] c"%s/batman_adv/%s/originators\00", align 1
@.str.6 = private unnamed_addr constant [12 x i8] c"originators\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @batadv_interface_check(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [257 x i8], align 16
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%7 = call ptr @debugfs_mount(ptr noundef null)
store ptr %7, ptr %4, align 8
%8 = load ptr, ptr %4, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %13, label %10
10: ; preds = %1
%11 = load i32, ptr @stderr, align 4
%12 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %11, ptr noundef @.str)
store i32 -1, ptr %2, align 4
br label %42
13: ; preds = %1
%14 = load ptr, ptr %3, align 8
%15 = getelementptr inbounds [257 x i8], ptr %5, i64 0, i64 0
%16 = call i32 @debugfs_make_path(ptr noundef @.str.1, ptr noundef %14, ptr noundef %15, i32 noundef 257)
%17 = getelementptr inbounds [257 x i8], ptr %5, i64 0, i64 0
%18 = call ptr @fopen(ptr noundef %17, ptr noundef @.str.2)
store ptr %18, ptr %6, align 8
%19 = load ptr, ptr %6, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %25, label %21
21: ; preds = %13
%22 = load i32, ptr @stderr, align 4
%23 = load ptr, ptr %3, align 8
%24 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %22, ptr noundef @.str.3, ptr noundef @.str.4, ptr noundef %23)
store i32 -1, ptr %2, align 4
br label %42
25: ; preds = %13
%26 = load ptr, ptr %6, align 8
%27 = call i32 @fclose(ptr noundef %26)
%28 = load ptr, ptr %3, align 8
%29 = getelementptr inbounds [257 x i8], ptr %5, i64 0, i64 0
%30 = call i32 @debugfs_make_path(ptr noundef @.str.5, ptr noundef %28, ptr noundef %29, i32 noundef 257)
%31 = getelementptr inbounds [257 x i8], ptr %5, i64 0, i64 0
%32 = call ptr @fopen(ptr noundef %31, ptr noundef @.str.2)
store ptr %32, ptr %6, align 8
%33 = load ptr, ptr %6, align 8
%34 = icmp ne ptr %33, null
br i1 %34, label %39, label %35
35: ; preds = %25
%36 = load i32, ptr @stderr, align 4
%37 = load ptr, ptr %3, align 8
%38 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %36, ptr noundef @.str.3, ptr noundef @.str.6, ptr noundef %37)
store i32 -1, ptr %2, align 4
br label %42
39: ; preds = %25
%40 = load ptr, ptr %6, align 8
%41 = call i32 @fclose(ptr noundef %40)
store i32 0, ptr %2, align 4
br label %42
42: ; preds = %39, %35, %21, %10
%43 = load i32, ptr %2, align 4
ret i32 %43
}
declare ptr @debugfs_mount(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare i32 @debugfs_make_path(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpm9ibbyag.c"
target datalayout = "e-m:e-p270: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 [29 x i8] c"Could not find debugfs path\0A\00", align 1
@.str.1 = private unnamed_addr constant [35 x i8] c"%s/batman_adv/%s/transtable_global\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.3 = private unnamed_addr constant [87 x i8] c"Could not find %s for interface %s. Make sure it is a valid batman-adv soft-interface\0A\00", align 1
@.str.4 = private unnamed_addr constant [18 x i8] c"transtable_global\00", align 1
@.str.5 = private unnamed_addr constant [29 x i8] c"%s/batman_adv/%s/originators\00", align 1
@.str.6 = private unnamed_addr constant [12 x i8] c"originators\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @batadv_interface_check(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [257 x i8], align 16
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%7 = call ptr @debugfs_mount(ptr noundef null)
store ptr %7, ptr %4, align 8
%8 = load ptr, ptr %4, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %13, label %10
10: ; preds = %1
%11 = load i32, ptr @stderr, align 4
%12 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %11, ptr noundef @.str)
store i32 -1, ptr %2, align 4
br label %42
13: ; preds = %1
%14 = load ptr, ptr %3, align 8
%15 = getelementptr inbounds [257 x i8], ptr %5, i64 0, i64 0
%16 = call i32 @debugfs_make_path(ptr noundef @.str.1, ptr noundef %14, ptr noundef %15, i32 noundef 257)
%17 = getelementptr inbounds [257 x i8], ptr %5, i64 0, i64 0
%18 = call ptr @fopen(ptr noundef %17, ptr noundef @.str.2)
store ptr %18, ptr %6, align 8
%19 = load ptr, ptr %6, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %25, label %21
21: ; preds = %13
%22 = load i32, ptr @stderr, align 4
%23 = load ptr, ptr %3, align 8
%24 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %22, ptr noundef @.str.3, ptr noundef @.str.4, ptr noundef %23)
store i32 -1, ptr %2, align 4
br label %42
25: ; preds = %13
%26 = load ptr, ptr %6, align 8
%27 = call i32 @fclose(ptr noundef %26)
%28 = load ptr, ptr %3, align 8
%29 = getelementptr inbounds [257 x i8], ptr %5, i64 0, i64 0
%30 = call i32 @debugfs_make_path(ptr noundef @.str.5, ptr noundef %28, ptr noundef %29, i32 noundef 257)
%31 = getelementptr inbounds [257 x i8], ptr %5, i64 0, i64 0
%32 = call ptr @fopen(ptr noundef %31, ptr noundef @.str.2)
store ptr %32, ptr %6, align 8
%33 = load ptr, ptr %6, align 8
%34 = icmp ne ptr %33, null
br i1 %34, label %39, label %35
35: ; preds = %25
%36 = load i32, ptr @stderr, align 4
%37 = load ptr, ptr %3, align 8
%38 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %36, ptr noundef @.str.3, ptr noundef @.str.6, ptr noundef %37)
store i32 -1, ptr %2, align 4
br label %42
39: ; preds = %25
%40 = load ptr, ptr %6, align 8
%41 = call i32 @fclose(ptr noundef %40)
store i32 0, ptr %2, align 4
br label %42
42: ; preds = %39, %35, %21, %10
%43 = load i32, ptr %2, align 4
ret i32 %43
}
declare ptr @debugfs_mount(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare i32 @debugfs_make_path(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpiwejf_zm.c'
source_filename = "/tmp/tmpiwejf_zm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isspace.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"isspace should be 0 for *\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isspace_0x2a() #0 {
%1 = call i64 @isspace(i32 noundef 42)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 215, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isspace(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpiwejf_zm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isspace.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"isspace should be 0 for *\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isspace_0x2a() #0 {
%1 = call i64 @isspace(i32 noundef 42)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 215, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isspace(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpta81uwva.c'
source_filename = "/tmp/tmpta81uwva.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @energymon_get_source_wattsup(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i64, ptr %4, align 8
%7 = call ptr @wattsup_get_implementation(ptr noundef %5, i64 noundef %6)
ret ptr %7
}
declare ptr @wattsup_get_implementation(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpta81uwva.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @energymon_get_source_wattsup(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i64, ptr %4, align 8
%7 = call ptr @wattsup_get_implementation(ptr noundef %5, i64 noundef %6)
ret ptr %7
}
declare ptr @wattsup_get_implementation(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5w3ed702.c'
source_filename = "/tmp/tmp5w3ed702.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_RDONLY = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5w3ed702.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_RDONLY = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1u9i0pig.c'
source_filename = "/tmp/tmp1u9i0pig.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @allocate(i64 noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
store i64 %0, ptr %3, align 8
%4 = load ptr, ptr %2, align 8
ret ptr %4
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1u9i0pig.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @allocate(i64 noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
store i64 %0, ptr %3, align 8
%4 = load ptr, ptr %2, align 8
ret ptr %4
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpneacyl52.c'
source_filename = "/tmp/tmpneacyl52.c"
target datalayout = "e-m:e-p270: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/tmpneacyl52.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_es9xeks.c'
source_filename = "/tmp/tmp_es9xeks.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"### \00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%s: \00", align 1
@.str.2 = private unnamed_addr constant [57 x i8] c"Value %d (in %s %s) is not in range %d..%d (0x%x..0x%x)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @int_value_in_range(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6) #0 {
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca i32, align 4
%17 = alloca i32, align 4
store ptr %0, ptr %9, align 8
store ptr %1, ptr %10, align 8
store ptr %2, ptr %11, align 8
store i32 %3, ptr %12, align 4
store i32 %4, ptr %13, align 4
store i32 %5, ptr %14, align 4
store ptr %6, ptr %15, align 8
%18 = load ptr, ptr %9, align 8
%19 = load ptr, ptr %10, align 8
%20 = load ptr, ptr %11, align 8
%21 = load i32, ptr %12, align 4
%22 = icmp sge i32 %21, 0
%23 = zext i1 %22 to i32
%24 = load i32, ptr %14, align 4
%25 = call i32 @int_value(ptr noundef %18, ptr noundef %19, ptr noundef %20, i32 noundef %23, i32 noundef %24, ptr noundef %17)
store i32 %25, ptr %16, align 4
%26 = load i32, ptr %16, align 4
%27 = icmp ne i32 %26, 0
br i1 %27, label %28, label %30
28: ; preds = %7
%29 = load i32, ptr %16, align 4
store i32 %29, ptr %8, align 4
br label %57
30: ; preds = %7
%31 = load i32, ptr %17, align 4
%32 = load i32, ptr %13, align 4
%33 = icmp sgt i32 %31, %32
br i1 %33, label %38, label %34
34: ; preds = %30
%35 = load i32, ptr %17, align 4
%36 = load i32, ptr %12, align 4
%37 = icmp slt i32 %35, %36
br i1 %37, label %38, label %54
38: ; preds = %34, %30
%39 = call i32 @print_err(ptr noundef @.str)
%40 = load ptr, ptr %9, align 8
%41 = icmp ne ptr %40, null
br i1 %41, label %42, label %45
42: ; preds = %38
%43 = load ptr, ptr %9, align 8
%44 = call i32 (ptr, ...) @fprint_err(ptr noundef @.str.1, ptr noundef %43)
br label %45
45: ; preds = %42, %38
%46 = load i32, ptr %17, align 4
%47 = load ptr, ptr %10, align 8
%48 = load ptr, ptr %11, align 8
%49 = load i32, ptr %12, align 4
%50 = load i32, ptr %13, align 4
%51 = load i32, ptr %12, align 4
%52 = load i32, ptr %13, align 4
%53 = call i32 (ptr, ...) @fprint_err(ptr noundef @.str.2, i32 noundef %46, ptr noundef %47, ptr noundef %48, i32 noundef %49, i32 noundef %50, i32 noundef %51, i32 noundef %52)
store i32 1, ptr %8, align 4
br label %57
54: ; preds = %34
%55 = load i32, ptr %17, align 4
%56 = load ptr, ptr %15, align 8
store i32 %55, ptr %56, align 4
store i32 0, ptr %8, align 4
br label %57
57: ; preds = %54, %45, %28
%58 = load i32, ptr %8, align 4
ret i32 %58
}
declare i32 @int_value(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @print_err(ptr noundef) #1
declare i32 @fprint_err(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!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_es9xeks.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"### \00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%s: \00", align 1
@.str.2 = private unnamed_addr constant [57 x i8] c"Value %d (in %s %s) is not in range %d..%d (0x%x..0x%x)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @int_value_in_range(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6) #0 {
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca i32, align 4
%17 = alloca i32, align 4
store ptr %0, ptr %9, align 8
store ptr %1, ptr %10, align 8
store ptr %2, ptr %11, align 8
store i32 %3, ptr %12, align 4
store i32 %4, ptr %13, align 4
store i32 %5, ptr %14, align 4
store ptr %6, ptr %15, align 8
%18 = load ptr, ptr %9, align 8
%19 = load ptr, ptr %10, align 8
%20 = load ptr, ptr %11, align 8
%21 = load i32, ptr %12, align 4
%22 = icmp sge i32 %21, 0
%23 = zext i1 %22 to i32
%24 = load i32, ptr %14, align 4
%25 = call i32 @int_value(ptr noundef %18, ptr noundef %19, ptr noundef %20, i32 noundef %23, i32 noundef %24, ptr noundef %17)
store i32 %25, ptr %16, align 4
%26 = load i32, ptr %16, align 4
%27 = icmp ne i32 %26, 0
br i1 %27, label %28, label %30
28: ; preds = %7
%29 = load i32, ptr %16, align 4
store i32 %29, ptr %8, align 4
br label %57
30: ; preds = %7
%31 = load i32, ptr %17, align 4
%32 = load i32, ptr %13, align 4
%33 = icmp sgt i32 %31, %32
br i1 %33, label %38, label %34
34: ; preds = %30
%35 = load i32, ptr %17, align 4
%36 = load i32, ptr %12, align 4
%37 = icmp slt i32 %35, %36
br i1 %37, label %38, label %54
38: ; preds = %34, %30
%39 = call i32 @print_err(ptr noundef @.str)
%40 = load ptr, ptr %9, align 8
%41 = icmp ne ptr %40, null
br i1 %41, label %42, label %45
42: ; preds = %38
%43 = load ptr, ptr %9, align 8
%44 = call i32 (ptr, ...) @fprint_err(ptr noundef @.str.1, ptr noundef %43)
br label %45
45: ; preds = %42, %38
%46 = load i32, ptr %17, align 4
%47 = load ptr, ptr %10, align 8
%48 = load ptr, ptr %11, align 8
%49 = load i32, ptr %12, align 4
%50 = load i32, ptr %13, align 4
%51 = load i32, ptr %12, align 4
%52 = load i32, ptr %13, align 4
%53 = call i32 (ptr, ...) @fprint_err(ptr noundef @.str.2, i32 noundef %46, ptr noundef %47, ptr noundef %48, i32 noundef %49, i32 noundef %50, i32 noundef %51, i32 noundef %52)
store i32 1, ptr %8, align 4
br label %57
54: ; preds = %34
%55 = load i32, ptr %17, align 4
%56 = load ptr, ptr %15, align 8
store i32 %55, ptr %56, align 4
store i32 0, ptr %8, align 4
br label %57
57: ; preds = %54, %45, %28
%58 = load i32, ptr %8, align 4
ret i32 %58
}
declare i32 @int_value(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @print_err(ptr noundef) #1
declare i32 @fprint_err(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsdfom_v7.c'
source_filename = "/tmp/tmpsdfom_v7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"name \00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"Random\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"version \00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"0.8\00", align 1
@.str.5 = private unnamed_addr constant [8 x i8] c"author \00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"MSC\00", align 1
@.str.7 = private unnamed_addr constant [10 x i8] c"\0Ayear %s\0A\00", align 1
@.str.8 = private unnamed_addr constant [10 x i8] c"2014-2015\00", align 1
@.str.9 = private unnamed_addr constant [9 x i8] c"license \00", align 1
@.str.10 = private unnamed_addr constant [6 x i8] c"GPLv2\00", align 1
@.str.11 = private unnamed_addr constant [6 x i8] c"guid \00", align 1
@.str.12 = private unnamed_addr constant [39 x i8] c"{22418DA4-A181-4B93-A4D3-03682BA283D2}\00", align 1
@.str.13 = private unnamed_addr constant [13 x i8] c"description \00", align 1
@.str.14 = private unnamed_addr constant [44 x i8] c"An effect that changes key colors randomly.\00", align 1
@.str.15 = private unnamed_addr constant [13 x i8] c"param %s %s \00", align 1
@.str.16 = private unnamed_addr constant [5 x i8] c"bool\00", align 1
@.str.17 = private unnamed_addr constant [5 x i8] c"fade\00", align 1
@.str.18 = private unnamed_addr constant [8 x i8] c"Fade in\00", align 1
@.str.19 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.20 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.21 = private unnamed_addr constant [2 x i8] c"0\00", align 1
@.str.22 = private unnamed_addr constant [11 x i8] c"useopacity\00", align 1
@.str.23 = private unnamed_addr constant [18 x i8] c"Randomize opacity\00", align 1
@.str.24 = private unnamed_addr constant [11 x i8] c"kpmode %s\0A\00", align 1
@.str.25 = private unnamed_addr constant [5 x i8] c"none\00", align 1
@.str.26 = private unnamed_addr constant [9 x i8] c"time %s\0A\00", align 1
@.str.27 = private unnamed_addr constant [9 x i8] c"duration\00", align 1
@.str.28 = private unnamed_addr constant [14 x i8] c"parammode %s\0A\00", align 1
@.str.29 = private unnamed_addr constant [5 x i8] c"live\00", align 1
@.str.30 = private unnamed_addr constant [11 x i8] c"repeat %s\0A\00", align 1
@.str.31 = private unnamed_addr constant [4 x i8] c"off\00", align 1
@.str.32 = private unnamed_addr constant [8 x i8] c"preset \00", align 1
@.str.33 = private unnamed_addr constant [8 x i8] c"Default\00", align 1
@.str.34 = private unnamed_addr constant [5 x i8] c" %s=\00", align 1
@.str.35 = private unnamed_addr constant [3 x i8] c"1.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ckb_info() #0 {
br label %1
1: ; preds = %0
%2 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%3 = call i32 @printurl(ptr noundef @.str.1)
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %5
5: ; preds = %1
br label %6
6: ; preds = %5
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%8 = call i32 @printurl(ptr noundef @.str.4)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %10
10: ; preds = %6
br label %11
11: ; preds = %10
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%13 = call i32 @printurl(ptr noundef @.str.6)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef @.str.8)
br label %15
15: ; preds = %11
br label %16
16: ; preds = %15
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%18 = call i32 @printurl(ptr noundef @.str.10)
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %20
20: ; preds = %16
br label %21
21: ; preds = %20
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
%23 = call i32 @printurl(ptr noundef @.str.12)
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %25
25: ; preds = %21
br label %26
26: ; preds = %25
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
%28 = call i32 @printurl(ptr noundef @.str.14)
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %30
30: ; preds = %26
br label %31
31: ; preds = %30
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, ptr noundef @.str.16, ptr noundef @.str.17)
%33 = call i32 @printurl(ptr noundef @.str.18)
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.19)
%35 = call i32 @printurl(ptr noundef @.str.20)
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.19)
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.21)
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %39
39: ; preds = %31
br label %40
40: ; preds = %39
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, ptr noundef @.str.16, ptr noundef @.str.22)
%42 = call i32 @printurl(ptr noundef @.str.23)
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.19)
%44 = call i32 @printurl(ptr noundef @.str.20)
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.19)
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.21)
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %48
48: ; preds = %40
br label %49
49: ; preds = %48
%50 = call i32 (ptr, ...) @printf(ptr noundef @.str.24, ptr noundef @.str.25)
br label %51
51: ; preds = %49
br label %52
52: ; preds = %51
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str.26, ptr noundef @.str.27)
br label %54
54: ; preds = %52
br label %55
55: ; preds = %54
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.28, ptr noundef @.str.29)
br label %57
57: ; preds = %55
br label %58
58: ; preds = %57
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str.30, ptr noundef @.str.31)
br label %60
60: ; preds = %58
br label %61
61: ; preds = %60
%62 = call i32 (ptr, ...) @printf(ptr noundef @.str.32)
%63 = call i32 @printurl(ptr noundef @.str.33)
br label %64
64: ; preds = %61
br label %65
65: ; preds = %64
%66 = call i32 (ptr, ...) @printf(ptr noundef @.str.34, ptr noundef @.str.27)
%67 = call i32 @printurl(ptr noundef @.str.35)
br label %68
68: ; preds = %65
br label %69
69: ; preds = %68
%70 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %71
71: ; preds = %69
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @printurl(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsdfom_v7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"name \00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"Random\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"version \00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"0.8\00", align 1
@.str.5 = private unnamed_addr constant [8 x i8] c"author \00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"MSC\00", align 1
@.str.7 = private unnamed_addr constant [10 x i8] c"\0Ayear %s\0A\00", align 1
@.str.8 = private unnamed_addr constant [10 x i8] c"2014-2015\00", align 1
@.str.9 = private unnamed_addr constant [9 x i8] c"license \00", align 1
@.str.10 = private unnamed_addr constant [6 x i8] c"GPLv2\00", align 1
@.str.11 = private unnamed_addr constant [6 x i8] c"guid \00", align 1
@.str.12 = private unnamed_addr constant [39 x i8] c"{22418DA4-A181-4B93-A4D3-03682BA283D2}\00", align 1
@.str.13 = private unnamed_addr constant [13 x i8] c"description \00", align 1
@.str.14 = private unnamed_addr constant [44 x i8] c"An effect that changes key colors randomly.\00", align 1
@.str.15 = private unnamed_addr constant [13 x i8] c"param %s %s \00", align 1
@.str.16 = private unnamed_addr constant [5 x i8] c"bool\00", align 1
@.str.17 = private unnamed_addr constant [5 x i8] c"fade\00", align 1
@.str.18 = private unnamed_addr constant [8 x i8] c"Fade in\00", align 1
@.str.19 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.20 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.21 = private unnamed_addr constant [2 x i8] c"0\00", align 1
@.str.22 = private unnamed_addr constant [11 x i8] c"useopacity\00", align 1
@.str.23 = private unnamed_addr constant [18 x i8] c"Randomize opacity\00", align 1
@.str.24 = private unnamed_addr constant [11 x i8] c"kpmode %s\0A\00", align 1
@.str.25 = private unnamed_addr constant [5 x i8] c"none\00", align 1
@.str.26 = private unnamed_addr constant [9 x i8] c"time %s\0A\00", align 1
@.str.27 = private unnamed_addr constant [9 x i8] c"duration\00", align 1
@.str.28 = private unnamed_addr constant [14 x i8] c"parammode %s\0A\00", align 1
@.str.29 = private unnamed_addr constant [5 x i8] c"live\00", align 1
@.str.30 = private unnamed_addr constant [11 x i8] c"repeat %s\0A\00", align 1
@.str.31 = private unnamed_addr constant [4 x i8] c"off\00", align 1
@.str.32 = private unnamed_addr constant [8 x i8] c"preset \00", align 1
@.str.33 = private unnamed_addr constant [8 x i8] c"Default\00", align 1
@.str.34 = private unnamed_addr constant [5 x i8] c" %s=\00", align 1
@.str.35 = private unnamed_addr constant [3 x i8] c"1.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ckb_info() #0 {
br label %1
1: ; preds = %0
%2 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%3 = call i32 @printurl(ptr noundef @.str.1)
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %5
5: ; preds = %1
br label %6
6: ; preds = %5
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%8 = call i32 @printurl(ptr noundef @.str.4)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %10
10: ; preds = %6
br label %11
11: ; preds = %10
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%13 = call i32 @printurl(ptr noundef @.str.6)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef @.str.8)
br label %15
15: ; preds = %11
br label %16
16: ; preds = %15
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%18 = call i32 @printurl(ptr noundef @.str.10)
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %20
20: ; preds = %16
br label %21
21: ; preds = %20
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
%23 = call i32 @printurl(ptr noundef @.str.12)
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %25
25: ; preds = %21
br label %26
26: ; preds = %25
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
%28 = call i32 @printurl(ptr noundef @.str.14)
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %30
30: ; preds = %26
br label %31
31: ; preds = %30
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, ptr noundef @.str.16, ptr noundef @.str.17)
%33 = call i32 @printurl(ptr noundef @.str.18)
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.19)
%35 = call i32 @printurl(ptr noundef @.str.20)
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.19)
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.21)
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %39
39: ; preds = %31
br label %40
40: ; preds = %39
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, ptr noundef @.str.16, ptr noundef @.str.22)
%42 = call i32 @printurl(ptr noundef @.str.23)
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.19)
%44 = call i32 @printurl(ptr noundef @.str.20)
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.19)
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.21)
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %48
48: ; preds = %40
br label %49
49: ; preds = %48
%50 = call i32 (ptr, ...) @printf(ptr noundef @.str.24, ptr noundef @.str.25)
br label %51
51: ; preds = %49
br label %52
52: ; preds = %51
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str.26, ptr noundef @.str.27)
br label %54
54: ; preds = %52
br label %55
55: ; preds = %54
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.28, ptr noundef @.str.29)
br label %57
57: ; preds = %55
br label %58
58: ; preds = %57
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str.30, ptr noundef @.str.31)
br label %60
60: ; preds = %58
br label %61
61: ; preds = %60
%62 = call i32 (ptr, ...) @printf(ptr noundef @.str.32)
%63 = call i32 @printurl(ptr noundef @.str.33)
br label %64
64: ; preds = %61
br label %65
65: ; preds = %64
%66 = call i32 (ptr, ...) @printf(ptr noundef @.str.34, ptr noundef @.str.27)
%67 = call i32 @printurl(ptr noundef @.str.35)
br label %68
68: ; preds = %65
br label %69
69: ; preds = %68
%70 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %71
71: ; preds = %69
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @printurl(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpx7y3boyo.c'
source_filename = "/tmp/tmpx7y3boyo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test86(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 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @_mm_cmpeq_pi32(i32 noundef %5, i32 noundef %6)
ret i32 %7
}
declare i32 @_mm_cmpeq_pi32(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/tmpx7y3boyo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test86(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 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @_mm_cmpeq_pi32(i32 noundef %5, i32 noundef %6)
ret i32 %7
}
declare i32 @_mm_cmpeq_pi32(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/tmp1y0k2gg7.c'
source_filename = "/tmp/tmp1y0k2gg7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"\0AInserisci il giorno \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"Luned\C3\AC\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"Marted\C3\AC\00", align 1
@.str.4 = private unnamed_addr constant [11 x i8] c"Mercoled\C3\AC\00", align 1
@.str.5 = private unnamed_addr constant [9 x i8] c"Gioved\C3\AC\00", align 1
@.str.6 = private unnamed_addr constant [9 x i8] c"Venerd\C3\AC\00", align 1
@.str.7 = private unnamed_addr constant [7 x i8] c"Sabato\00", align 1
@.str.8 = private unnamed_addr constant [9 x i8] c"Domenica\00", align 1
@stdin = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %3
3: ; preds = %22, %0
%4 = call i32 @printf(ptr noundef @.str)
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%6 = load i32, ptr %2, align 4
switch i32 %6, label %21 [
i32 1, label %7
i32 2, label %9
i32 3, label %11
i32 4, label %13
i32 5, label %15
i32 6, label %17
i32 7, label %19
]
7: ; preds = %3
%8 = call i32 @printf(ptr noundef @.str.2)
br label %21
9: ; preds = %3
%10 = call i32 @printf(ptr noundef @.str.3)
br label %21
11: ; preds = %3
%12 = call i32 @printf(ptr noundef @.str.4)
br label %21
13: ; preds = %3
%14 = call i32 @printf(ptr noundef @.str.5)
br label %21
15: ; preds = %3
%16 = call i32 @printf(ptr noundef @.str.6)
br label %21
17: ; preds = %3
%18 = call i32 @printf(ptr noundef @.str.7)
br label %21
19: ; preds = %3
%20 = call i32 @printf(ptr noundef @.str.8)
br label %21
21: ; preds = %3, %19, %17, %15, %13, %11, %9, %7
br label %22
22: ; preds = %21
br i1 true, label %3, label %23
23: ; preds = %22
%24 = load i32, ptr @stdin, align 4
%25 = call i32 @__fpurge(i32 noundef %24)
%26 = call i32 (...) @getchar()
%27 = load i32, ptr %1, align 4
ret i32 %27
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @__fpurge(i32 noundef) #1
declare i32 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1y0k2gg7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"\0AInserisci il giorno \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"Luned\C3\AC\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"Marted\C3\AC\00", align 1
@.str.4 = private unnamed_addr constant [11 x i8] c"Mercoled\C3\AC\00", align 1
@.str.5 = private unnamed_addr constant [9 x i8] c"Gioved\C3\AC\00", align 1
@.str.6 = private unnamed_addr constant [9 x i8] c"Venerd\C3\AC\00", align 1
@.str.7 = private unnamed_addr constant [7 x i8] c"Sabato\00", align 1
@.str.8 = private unnamed_addr constant [9 x i8] c"Domenica\00", align 1
@stdin = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %3
3: ; preds = %22, %0
%4 = call i32 @printf(ptr noundef @.str)
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%6 = load i32, ptr %2, align 4
switch i32 %6, label %21 [
i32 1, label %7
i32 2, label %9
i32 3, label %11
i32 4, label %13
i32 5, label %15
i32 6, label %17
i32 7, label %19
]
7: ; preds = %3
%8 = call i32 @printf(ptr noundef @.str.2)
br label %21
9: ; preds = %3
%10 = call i32 @printf(ptr noundef @.str.3)
br label %21
11: ; preds = %3
%12 = call i32 @printf(ptr noundef @.str.4)
br label %21
13: ; preds = %3
%14 = call i32 @printf(ptr noundef @.str.5)
br label %21
15: ; preds = %3
%16 = call i32 @printf(ptr noundef @.str.6)
br label %21
17: ; preds = %3
%18 = call i32 @printf(ptr noundef @.str.7)
br label %21
19: ; preds = %3
%20 = call i32 @printf(ptr noundef @.str.8)
br label %21
21: ; preds = %19, %17, %15, %13, %11, %9, %7, %3
br label %22
22: ; preds = %21
br i1 true, label %3, label %23
23: ; preds = %22
%24 = load i32, ptr @stdin, align 4
%25 = call i32 @__fpurge(i32 noundef %24)
%26 = call i32 (...) @getchar()
%27 = load i32, ptr %1, align 4
ret i32 %27
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @__fpurge(i32 noundef) #1
declare i32 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpr2pzqufx.c'
source_filename = "/tmp/tmpr2pzqufx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 void @insert(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 1, ptr %5, align 4
br label %9
9: ; preds = %59, %2
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %4, align 4
%12 = sub nsw i32 %11, 1
%13 = icmp sle i32 %10, %12
br i1 %13, label %14, label %62
14: ; preds = %9
%15 = load i32, ptr %5, align 4
store i32 %15, ptr %6, align 4
br label %16
16: ; preds = %34, %14
%17 = load i32, ptr %6, align 4
%18 = icmp sgt i32 %17, 0
br i1 %18, label %19, label %32
19: ; preds = %16
%20 = load ptr, ptr %3, align 8
%21 = load i32, ptr %6, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i32, ptr %20, i64 %22
%24 = load i32, ptr %23, align 4
%25 = load ptr, ptr %3, align 8
%26 = load i32, ptr %6, align 4
%27 = sub nsw i32 %26, 1
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i32, ptr %25, i64 %28
%30 = load i32, ptr %29, align 4
%31 = icmp slt i32 %24, %30
br label %32
32: ; preds = %19, %16
%33 = phi i1 [ false, %16 ], [ %31, %19 ]
br i1 %33, label %34, label %58
34: ; preds = %32
%35 = load ptr, ptr %3, align 8
%36 = load i32, ptr %6, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i32, ptr %35, i64 %37
%39 = load i32, ptr %38, align 4
store i32 %39, ptr %7, align 4
%40 = load ptr, ptr %3, align 8
%41 = load i32, ptr %6, align 4
%42 = sub nsw i32 %41, 1
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i32, ptr %40, i64 %43
%45 = load i32, ptr %44, align 4
%46 = load ptr, ptr %3, align 8
%47 = load i32, ptr %6, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i32, ptr %46, i64 %48
store i32 %45, ptr %49, align 4
%50 = load i32, ptr %7, align 4
%51 = load ptr, ptr %3, align 8
%52 = load i32, ptr %6, align 4
%53 = sub nsw i32 %52, 1
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i32, ptr %51, i64 %54
store i32 %50, ptr %55, align 4
%56 = load i32, ptr %6, align 4
%57 = add nsw i32 %56, -1
store i32 %57, ptr %6, align 4
br label %16, !llvm.loop !6
58: ; preds = %32
br label %59
59: ; preds = %58
%60 = load i32, ptr %5, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %5, align 4
br label %9, !llvm.loop !8
62: ; preds = %9
store i32 0, ptr %8, align 4
br label %63
63: ; preds = %74, %62
%64 = load i32, ptr %8, align 4
%65 = load i32, ptr %4, align 4
%66 = icmp slt i32 %64, %65
br i1 %66, label %67, label %77
67: ; preds = %63
%68 = load ptr, ptr %3, align 8
%69 = load i32, ptr %8, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds i32, ptr %68, i64 %70
%72 = load i32, ptr %71, align 4
%73 = call i32 @printf(ptr noundef @.str, i32 noundef %72)
br label %74
74: ; preds = %67
%75 = load i32, ptr %8, align 4
%76 = add nsw i32 %75, 1
store i32 %76, ptr %8, align 4
br label %63, !llvm.loop !9
77: ; preds = %63
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpr2pzqufx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 void @insert(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 1, ptr %5, align 4
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %4, align 4
%11 = sub nsw i32 %10, 1
%12 = icmp sle i32 %9, %11
br i1 %12, label %.lr.ph, label %65
.lr.ph: ; preds = %2
br label %13
13: ; preds = %.lr.ph, %58
%14 = load i32, ptr %5, align 4
store i32 %14, ptr %6, align 4
br label %15
15: ; preds = %33, %13
%16 = load i32, ptr %6, align 4
%17 = icmp sgt i32 %16, 0
br i1 %17, label %18, label %31
18: ; preds = %15
%19 = load ptr, ptr %3, align 8
%20 = load i32, ptr %6, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i32, ptr %19, i64 %21
%23 = load i32, ptr %22, align 4
%24 = load ptr, ptr %3, align 8
%25 = load i32, ptr %6, align 4
%26 = sub nsw i32 %25, 1
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i32, ptr %24, i64 %27
%29 = load i32, ptr %28, align 4
%30 = icmp slt i32 %23, %29
br label %31
31: ; preds = %18, %15
%32 = phi i1 [ false, %15 ], [ %30, %18 ]
br i1 %32, label %33, label %57
33: ; preds = %31
%34 = load ptr, ptr %3, align 8
%35 = load i32, ptr %6, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i32, ptr %34, i64 %36
%38 = load i32, ptr %37, align 4
store i32 %38, ptr %7, align 4
%39 = load ptr, ptr %3, align 8
%40 = load i32, ptr %6, align 4
%41 = sub nsw i32 %40, 1
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i32, ptr %39, i64 %42
%44 = load i32, ptr %43, align 4
%45 = load ptr, ptr %3, align 8
%46 = load i32, ptr %6, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i32, ptr %45, i64 %47
store i32 %44, ptr %48, align 4
%49 = load i32, ptr %7, align 4
%50 = load ptr, ptr %3, align 8
%51 = load i32, ptr %6, align 4
%52 = sub nsw i32 %51, 1
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds i32, ptr %50, i64 %53
store i32 %49, ptr %54, align 4
%55 = load i32, ptr %6, align 4
%56 = add nsw i32 %55, -1
store i32 %56, ptr %6, align 4
br label %15, !llvm.loop !6
57: ; preds = %31
br label %58
58: ; preds = %57
%59 = load i32, ptr %5, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %5, align 4
%61 = load i32, ptr %5, align 4
%62 = load i32, ptr %4, align 4
%63 = sub nsw i32 %62, 1
%64 = icmp sle i32 %61, %63
br i1 %64, label %13, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %58
br label %65
65: ; preds = %._crit_edge, %2
store i32 0, ptr %8, align 4
%66 = load i32, ptr %8, align 4
%67 = load i32, ptr %4, align 4
%68 = icmp slt i32 %66, %67
br i1 %68, label %.lr.ph2, label %82
.lr.ph2: ; preds = %65
br label %69
69: ; preds = %.lr.ph2, %76
%70 = load ptr, ptr %3, align 8
%71 = load i32, ptr %8, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds i32, ptr %70, i64 %72
%74 = load i32, ptr %73, align 4
%75 = call i32 @printf(ptr noundef @.str, i32 noundef %74)
br label %76
76: ; preds = %69
%77 = load i32, ptr %8, align 4
%78 = add nsw i32 %77, 1
store i32 %78, ptr %8, align 4
%79 = load i32, ptr %8, align 4
%80 = load i32, ptr %4, align 4
%81 = icmp slt i32 %79, %80
br i1 %81, label %69, label %._crit_edge3, !llvm.loop !9
._crit_edge3: ; preds = %76
br label %82
82: ; preds = %._crit_edge3, %65
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp4xovfs16.c'
source_filename = "/tmp/tmp4xovfs16.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [2 x i8] c"1\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"0\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
br label %4
4: ; preds = %12, %0
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
br label %6
6: ; preds = %4
%7 = load i32, ptr %2, align 4
%8 = icmp slt i32 %7, 0
br i1 %8, label %12, label %9
9: ; preds = %6
%10 = load i32, ptr %2, align 4
%11 = icmp sgt i32 %10, 7
br label %12
12: ; preds = %9, %6
%13 = phi i1 [ true, %6 ], [ %11, %9 ]
br i1 %13, label %4, label %14, !llvm.loop !6
14: ; preds = %12
br label %15
15: ; preds = %23, %14
%16 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
br label %17
17: ; preds = %15
%18 = load i32, ptr %2, align 4
%19 = icmp slt i32 %18, 0
br i1 %19, label %23, label %20
20: ; preds = %17
%21 = load i32, ptr %2, align 4
%22 = icmp sgt i32 %21, 200
br label %23
23: ; preds = %20, %17
%24 = phi i1 [ true, %17 ], [ %22, %20 ]
br i1 %24, label %15, label %25, !llvm.loop !8
25: ; preds = %23
%26 = load i32, ptr %3, align 4
%27 = load i32, ptr %2, align 4
%28 = ashr i32 %26, %27
%29 = and i32 %28, 1
%30 = icmp eq i32 %29, 1
br i1 %30, label %31, label %33
31: ; preds = %25
%32 = call i32 @printf(ptr noundef @.str.1)
br label %35
33: ; preds = %25
%34 = call i32 @printf(ptr noundef @.str.2)
br label %35
35: ; preds = %33, %31
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4xovfs16.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [2 x i8] c"1\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"0\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
br label %4
4: ; preds = %12, %0
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
br label %6
6: ; preds = %4
%7 = load i32, ptr %2, align 4
%8 = icmp slt i32 %7, 0
br i1 %8, label %12, label %9
9: ; preds = %6
%10 = load i32, ptr %2, align 4
%11 = icmp sgt i32 %10, 7
br label %12
12: ; preds = %9, %6
%13 = phi i1 [ true, %6 ], [ %11, %9 ]
br i1 %13, label %4, label %14, !llvm.loop !6
14: ; preds = %12
br label %15
15: ; preds = %23, %14
%16 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
br label %17
17: ; preds = %15
%18 = load i32, ptr %2, align 4
%19 = icmp slt i32 %18, 0
br i1 %19, label %23, label %20
20: ; preds = %17
%21 = load i32, ptr %2, align 4
%22 = icmp sgt i32 %21, 200
br label %23
23: ; preds = %20, %17
%24 = phi i1 [ true, %17 ], [ %22, %20 ]
br i1 %24, label %15, label %25, !llvm.loop !8
25: ; preds = %23
%26 = load i32, ptr %3, align 4
%27 = load i32, ptr %2, align 4
%28 = ashr i32 %26, %27
%29 = and i32 %28, 1
%30 = icmp eq i32 %29, 1
br i1 %30, label %31, label %33
31: ; preds = %25
%32 = call i32 @printf(ptr noundef @.str.1)
br label %35
33: ; preds = %25
%34 = call i32 @printf(ptr noundef @.str.2)
br label %35
35: ; preds = %33, %31
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpqhzprlf_.c'
source_filename = "/tmp/tmpqhzprlf_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"# c::%s:len=%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"dstdevwd\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"ok %d benchmark finished\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
%8 = call i32 @time(ptr noundef null)
%9 = call i32 @srand(i32 noundef %8)
%10 = call i32 (...) @print_version()
store i32 0, ptr %3, align 4
store i32 1, ptr %6, align 4
br label %11
11: ; preds = %41, %0
%12 = load i32, ptr %6, align 4
%13 = icmp sle i32 %12, 6
br i1 %13, label %14, label %44
14: ; preds = %11
%15 = load i32, ptr %6, align 4
%16 = call i32 @pow(i32 noundef 10, i32 noundef %15)
store i32 %16, ptr %5, align 4
%17 = load i32, ptr %6, align 4
%18 = sub nsw i32 %17, 1
%19 = call i32 @pow(i32 noundef 10, i32 noundef %18)
%20 = sdiv i32 1000000, %19
store i32 %20, ptr %4, align 4
store i32 0, ptr %7, align 4
br label %21
21: ; preds = %37, %14
%22 = load i32, ptr %7, align 4
%23 = icmp slt i32 %22, 3
br i1 %23, label %24, label %40
24: ; preds = %21
%25 = load i32, ptr %3, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %3, align 4
%27 = load i32, ptr %5, align 4
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef %27)
%29 = load i32, ptr %4, align 4
%30 = load i32, ptr %5, align 4
%31 = call double @benchmark(i32 noundef %29, i32 noundef %30)
store double %31, ptr %2, align 8
%32 = load i32, ptr %4, align 4
%33 = load double, ptr %2, align 8
%34 = call i32 @print_results(i32 noundef %32, double noundef %33)
%35 = load i32, ptr %3, align 4
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %35)
br label %37
37: ; preds = %24
%38 = load i32, ptr %7, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %7, align 4
br label %21, !llvm.loop !6
40: ; preds = %21
br label %41
41: ; preds = %40
%42 = load i32, ptr %6, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %6, align 4
br label %11, !llvm.loop !8
44: ; preds = %11
%45 = load i32, ptr %3, align 4
%46 = load i32, ptr %3, align 4
%47 = call i32 @print_summary(i32 noundef %45, i32 noundef %46)
%48 = load i32, ptr %1, align 4
ret i32 %48
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @print_version(...) #1
declare i32 @pow(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare double @benchmark(i32 noundef, i32 noundef) #1
declare i32 @print_results(i32 noundef, double noundef) #1
declare i32 @print_summary(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqhzprlf_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"# c::%s:len=%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"dstdevwd\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"ok %d benchmark finished\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
%8 = call i32 @time(ptr noundef null)
%9 = call i32 @srand(i32 noundef %8)
%10 = call i32 (...) @print_version()
store i32 0, ptr %3, align 4
store i32 1, ptr %6, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp sle i32 %11, 6
br i1 %12, label %.lr.ph2, label %46
.lr.ph2: ; preds = %0
br label %13
13: ; preds = %.lr.ph2, %41
%14 = load i32, ptr %6, align 4
%15 = call i32 @pow(i32 noundef 10, i32 noundef %14)
store i32 %15, ptr %5, align 4
%16 = load i32, ptr %6, align 4
%17 = sub nsw i32 %16, 1
%18 = call i32 @pow(i32 noundef 10, i32 noundef %17)
%19 = sdiv i32 1000000, %18
store i32 %19, ptr %4, align 4
store i32 0, ptr %7, align 4
%20 = load i32, ptr %7, align 4
%21 = icmp slt i32 %20, 3
br i1 %21, label %.lr.ph, label %40
.lr.ph: ; preds = %13
br label %22
22: ; preds = %.lr.ph, %35
%23 = load i32, ptr %3, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %3, align 4
%25 = load i32, ptr %5, align 4
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef %25)
%27 = load i32, ptr %4, align 4
%28 = load i32, ptr %5, align 4
%29 = call double @benchmark(i32 noundef %27, i32 noundef %28)
store double %29, ptr %2, align 8
%30 = load i32, ptr %4, align 4
%31 = load double, ptr %2, align 8
%32 = call i32 @print_results(i32 noundef %30, double noundef %31)
%33 = load i32, ptr %3, align 4
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %33)
br label %35
35: ; preds = %22
%36 = load i32, ptr %7, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %7, align 4
%38 = load i32, ptr %7, align 4
%39 = icmp slt i32 %38, 3
br i1 %39, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %35
br label %40
40: ; preds = %._crit_edge, %13
br label %41
41: ; preds = %40
%42 = load i32, ptr %6, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %6, align 4
%44 = load i32, ptr %6, align 4
%45 = icmp sle i32 %44, 6
br i1 %45, label %13, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %41
br label %46
46: ; preds = %._crit_edge3, %0
%47 = load i32, ptr %3, align 4
%48 = load i32, ptr %3, align 4
%49 = call i32 @print_summary(i32 noundef %47, i32 noundef %48)
%50 = load i32, ptr %1, align 4
ret i32 %50
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @print_version(...) #1
declare i32 @pow(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare double @benchmark(i32 noundef, i32 noundef) #1
declare i32 @print_results(i32 noundef, double noundef) #1
declare i32 @print_summary(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp3da2hadx.c'
source_filename = "/tmp/tmp3da2hadx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"shmdt\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @detach_from_shm_block(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 null, %3
br i1 %4, label %5, label %6
5: ; preds = %1
br label %13
6: ; preds = %1
%7 = load ptr, ptr %2, align 8
%8 = call i32 @shmdt(ptr noundef %7)
%9 = icmp eq i32 %8, -1
br i1 %9, label %10, label %13
10: ; preds = %6
%11 = call i32 @perror(ptr noundef @.str)
%12 = call i32 @exit(i32 noundef 1) #3
unreachable
13: ; preds = %5, %6
ret void
}
declare i32 @shmdt(ptr noundef) #1
declare i32 @perror(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/tmp3da2hadx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"shmdt\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @detach_from_shm_block(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 null, %3
br i1 %4, label %5, label %6
5: ; preds = %1
br label %13
6: ; preds = %1
%7 = load ptr, ptr %2, align 8
%8 = call i32 @shmdt(ptr noundef %7)
%9 = icmp eq i32 %8, -1
br i1 %9, label %10, label %13
10: ; preds = %6
%11 = call i32 @perror(ptr noundef @.str)
%12 = call i32 @exit(i32 noundef 1) #3
unreachable
13: ; preds = %6, %5
ret void
}
declare i32 @shmdt(ptr noundef) #1
declare i32 @perror(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/tmpxizvk25t.c'
source_filename = "/tmp/tmpxizvk25t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_INET6 = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxizvk25t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_INET6 = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3fovfail.c'
source_filename = "/tmp/tmp3fovfail.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_print_reverse_alphabet() #0 {
%1 = alloca i8, align 1
%2 = alloca i8, align 1
store i8 122, ptr %2, align 1
store i8 97, ptr %1, align 1
br label %3
3: ; preds = %10, %0
%4 = load i8, ptr %2, align 1
%5 = sext i8 %4 to i32
%6 = load i8, ptr %1, align 1
%7 = sext i8 %6 to i32
%8 = sub nsw i32 %7, 1
%9 = icmp sgt i32 %5, %8
br i1 %9, label %10, label %15
10: ; preds = %3
%11 = load i8, ptr %2, align 1
%12 = call i32 @ft_putchar(i8 noundef signext %11)
%13 = load i8, ptr %2, align 1
%14 = add i8 %13, -1
store i8 %14, ptr %2, align 1
br label %3, !llvm.loop !6
15: ; preds = %3
ret void
}
declare i32 @ft_putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp3fovfail.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_print_reverse_alphabet() #0 {
%1 = alloca i8, align 1
%2 = alloca i8, align 1
store i8 122, ptr %2, align 1
store i8 97, ptr %1, align 1
%3 = load i8, ptr %2, align 1
%4 = sext i8 %3 to i32
%5 = load i8, ptr %1, align 1
%6 = sext i8 %5 to i32
%7 = sub nsw i32 %6, 1
%8 = icmp sgt i32 %4, %7
br i1 %8, label %.lr.ph, label %20
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %9
%10 = load i8, ptr %2, align 1
%11 = call i32 @ft_putchar(i8 noundef signext %10)
%12 = load i8, ptr %2, align 1
%13 = add i8 %12, -1
store i8 %13, ptr %2, align 1
%14 = load i8, ptr %2, align 1
%15 = sext i8 %14 to i32
%16 = load i8, ptr %1, align 1
%17 = sext i8 %16 to i32
%18 = sub nsw i32 %17, 1
%19 = icmp sgt i32 %15, %18
br i1 %19, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %9
br label %20
20: ; preds = %._crit_edge, %0
ret void
}
declare i32 @ft_putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpqyml70yr.c'
source_filename = "/tmp/tmpqyml70yr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"---Ordem inversa---\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_inverso(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 49, ptr %3, align 4
br label %5
5: ; preds = %15, %1
%6 = load i32, ptr %3, align 4
%7 = icmp sge i32 %6, 0
br i1 %7, label %8, label %18
8: ; preds = %5
%9 = load ptr, ptr %2, align 8
%10 = load i32, ptr %3, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds i32, ptr %9, i64 %11
%13 = load i32, ptr %12, align 4
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %13)
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 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqyml70yr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"---Ordem inversa---\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_inverso(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 49, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp sge i32 %5, 0
br i1 %6, label %.lr.ph, label %19
.lr.ph: ; preds = %1
br label %7
7: ; preds = %.lr.ph, %14
%8 = load ptr, ptr %2, align 8
%9 = load i32, ptr %3, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds i32, ptr %8, i64 %10
%12 = load i32, ptr %11, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %12)
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 sge i32 %17, 0
br i1 %18, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %19
19: ; preds = %._crit_edge, %1
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp6e8013sp.c'
source_filename = "/tmp/tmp6e8013sp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @print_byte_hex(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca [2 x i8], align 1
store i32 %0, ptr %2, align 4
%4 = getelementptr inbounds [2 x i8], ptr %3, i64 0, i64 0
%5 = load i32, ptr %2, align 4
%6 = call i32 @fmt_byte_hex(ptr noundef %4, i32 noundef %5)
%7 = getelementptr inbounds [2 x i8], ptr %3, i64 0, i64 0
%8 = call i32 @print(ptr noundef %7, i32 noundef 2)
ret void
}
declare i32 @fmt_byte_hex(ptr noundef, i32 noundef) #1
declare i32 @print(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/tmp6e8013sp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @print_byte_hex(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca [2 x i8], align 1
store i32 %0, ptr %2, align 4
%4 = getelementptr inbounds [2 x i8], ptr %3, i64 0, i64 0
%5 = load i32, ptr %2, align 4
%6 = call i32 @fmt_byte_hex(ptr noundef %4, i32 noundef %5)
%7 = getelementptr inbounds [2 x i8], ptr %3, i64 0, i64 0
%8 = call i32 @print(ptr noundef %7, i32 noundef 2)
ret void
}
declare i32 @fmt_byte_hex(ptr noundef, i32 noundef) #1
declare i32 @print(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/tmp3owg3a4r.c'
source_filename = "/tmp/tmp3owg3a4r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [17 x i8] c"Buffer data #%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [64 x i8] c" [%d] %+7.4f %+7.4f %+7.4f %+7.4f %+7.4f %+7.4f %+7.4f %+7.4f\0A\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @dump_float_buffer(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %4, align 4
br label %5
5: ; preds = %83, %1
%6 = load i32, ptr %4, align 4
%7 = icmp slt i32 %6, 2048
br i1 %7, label %8, label %86
8: ; preds = %5
%9 = load i32, ptr @stderr, align 4
%10 = load i32, ptr %4, align 4
%11 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %9, ptr noundef @.str, i32 noundef %10)
%12 = load i32, ptr %4, align 4
store i32 %12, ptr %3, align 4
br label %13
13: ; preds = %77, %8
%14 = load i32, ptr %3, align 4
%15 = load i32, ptr %4, align 4
%16 = add nsw i32 %15, 1024
%17 = icmp slt i32 %14, %16
br i1 %17, label %18, label %80
18: ; preds = %13
%19 = load i32, ptr @stderr, align 4
%20 = load i32, ptr %3, align 4
%21 = load ptr, ptr %2, align 8
%22 = load i32, ptr %3, 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 = load ptr, ptr %2, align 8
%28 = load i32, ptr %3, align 4
%29 = add nsw i32 %28, 1
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds float, ptr %27, i64 %30
%32 = load float, ptr %31, align 4
%33 = fpext float %32 to double
%34 = load ptr, ptr %2, align 8
%35 = load i32, ptr %3, align 4
%36 = add nsw i32 %35, 2
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds float, ptr %34, i64 %37
%39 = load float, ptr %38, align 4
%40 = fpext float %39 to double
%41 = load ptr, ptr %2, align 8
%42 = load i32, ptr %3, align 4
%43 = add nsw i32 %42, 3
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds float, ptr %41, i64 %44
%46 = load float, ptr %45, align 4
%47 = fpext float %46 to double
%48 = load ptr, ptr %2, align 8
%49 = load i32, ptr %3, align 4
%50 = add nsw i32 %49, 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds float, ptr %48, i64 %51
%53 = load float, ptr %52, align 4
%54 = fpext float %53 to double
%55 = load ptr, ptr %2, align 8
%56 = load i32, ptr %3, align 4
%57 = add nsw i32 %56, 5
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds float, ptr %55, i64 %58
%60 = load float, ptr %59, align 4
%61 = fpext float %60 to double
%62 = load ptr, ptr %2, align 8
%63 = load i32, ptr %3, align 4
%64 = add nsw i32 %63, 6
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds float, ptr %62, i64 %65
%67 = load float, ptr %66, align 4
%68 = fpext float %67 to double
%69 = load ptr, ptr %2, align 8
%70 = load i32, ptr %3, align 4
%71 = add nsw i32 %70, 7
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds float, ptr %69, i64 %72
%74 = load float, ptr %73, align 4
%75 = fpext float %74 to double
%76 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %19, ptr noundef @.str.1, i32 noundef %20, double noundef %26, double noundef %33, double noundef %40, double noundef %47, double noundef %54, double noundef %61, double noundef %68, double noundef %75)
br label %77
77: ; preds = %18
%78 = load i32, ptr %3, align 4
%79 = add nsw i32 %78, 8
store i32 %79, ptr %3, align 4
br label %13, !llvm.loop !6
80: ; preds = %13
%81 = load i32, ptr @stderr, align 4
%82 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %81, ptr noundef @.str.2)
br label %83
83: ; preds = %80
%84 = load i32, ptr %4, align 4
%85 = add nsw i32 %84, 1024
store i32 %85, ptr %4, align 4
br label %5, !llvm.loop !8
86: ; preds = %5
%87 = load i32, ptr @stderr, align 4
%88 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %87, ptr noundef @.str.2)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3owg3a4r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [17 x i8] c"Buffer data #%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [64 x i8] c" [%d] %+7.4f %+7.4f %+7.4f %+7.4f %+7.4f %+7.4f %+7.4f %+7.4f\0A\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @dump_float_buffer(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = icmp slt i32 %5, 2048
br i1 %6, label %.lr.ph2, label %90
.lr.ph2: ; preds = %1
br label %7
7: ; preds = %.lr.ph2, %85
%8 = load i32, ptr @stderr, align 4
%9 = load i32, ptr %4, align 4
%10 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %8, ptr noundef @.str, i32 noundef %9)
%11 = load i32, ptr %4, align 4
store i32 %11, ptr %3, align 4
%12 = load i32, ptr %3, align 4
%13 = load i32, ptr %4, align 4
%14 = add nsw i32 %13, 1024
%15 = icmp slt i32 %12, %14
br i1 %15, label %.lr.ph, label %82
.lr.ph: ; preds = %7
br label %16
16: ; preds = %.lr.ph, %75
%17 = load i32, ptr @stderr, align 4
%18 = load i32, ptr %3, align 4
%19 = load ptr, ptr %2, align 8
%20 = load i32, ptr %3, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds float, ptr %19, i64 %21
%23 = load float, ptr %22, align 4
%24 = fpext float %23 to double
%25 = load ptr, ptr %2, align 8
%26 = load i32, ptr %3, align 4
%27 = add nsw i32 %26, 1
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds float, ptr %25, i64 %28
%30 = load float, ptr %29, align 4
%31 = fpext float %30 to double
%32 = load ptr, ptr %2, align 8
%33 = load i32, ptr %3, align 4
%34 = add nsw i32 %33, 2
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds float, ptr %32, i64 %35
%37 = load float, ptr %36, align 4
%38 = fpext float %37 to double
%39 = load ptr, ptr %2, align 8
%40 = load i32, ptr %3, align 4
%41 = add nsw i32 %40, 3
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds float, ptr %39, i64 %42
%44 = load float, ptr %43, align 4
%45 = fpext float %44 to double
%46 = load ptr, ptr %2, align 8
%47 = load i32, ptr %3, align 4
%48 = add nsw i32 %47, 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds float, ptr %46, i64 %49
%51 = load float, ptr %50, align 4
%52 = fpext float %51 to double
%53 = load ptr, ptr %2, align 8
%54 = load i32, ptr %3, align 4
%55 = add nsw i32 %54, 5
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds float, ptr %53, i64 %56
%58 = load float, ptr %57, align 4
%59 = fpext float %58 to double
%60 = load ptr, ptr %2, align 8
%61 = load i32, ptr %3, align 4
%62 = add nsw i32 %61, 6
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds float, ptr %60, i64 %63
%65 = load float, ptr %64, align 4
%66 = fpext float %65 to double
%67 = load ptr, ptr %2, align 8
%68 = load i32, ptr %3, align 4
%69 = add nsw i32 %68, 7
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds float, ptr %67, i64 %70
%72 = load float, ptr %71, align 4
%73 = fpext float %72 to double
%74 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %17, ptr noundef @.str.1, i32 noundef %18, double noundef %24, double noundef %31, double noundef %38, double noundef %45, double noundef %52, double noundef %59, double noundef %66, double noundef %73)
br label %75
75: ; preds = %16
%76 = load i32, ptr %3, align 4
%77 = add nsw i32 %76, 8
store i32 %77, ptr %3, align 4
%78 = load i32, ptr %3, align 4
%79 = load i32, ptr %4, align 4
%80 = add nsw i32 %79, 1024
%81 = icmp slt i32 %78, %80
br i1 %81, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %75
br label %82
82: ; preds = %._crit_edge, %7
%83 = load i32, ptr @stderr, align 4
%84 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %83, ptr noundef @.str.2)
br label %85
85: ; preds = %82
%86 = load i32, ptr %4, align 4
%87 = add nsw i32 %86, 1024
store i32 %87, ptr %4, align 4
%88 = load i32, ptr %4, align 4
%89 = icmp slt i32 %88, 2048
br i1 %89, label %7, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %85
br label %90
90: ; preds = %._crit_edge3, %1
%91 = load i32, ptr @stderr, align 4
%92 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %91, ptr noundef @.str.2)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp_s7kwj9q.c'
source_filename = "/tmp/tmp_s7kwj9q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__stripcomments(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call ptr @strchr(ptr noundef %4, i8 noundef signext 35)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
store i8 0, ptr %9, align 1
br label %10
10: ; preds = %8, %1
%11 = load ptr, ptr %3, align 8
%12 = load ptr, ptr %2, align 8
%13 = ptrtoint ptr %11 to i64
%14 = ptrtoint ptr %12 to i64
%15 = sub i64 %13, %14
%16 = add nsw i64 %15, 1
%17 = trunc i64 %16 to i32
ret i32 %17
}
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_s7kwj9q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__stripcomments(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call ptr @strchr(ptr noundef %4, i8 noundef signext 35)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
store i8 0, ptr %9, align 1
br label %10
10: ; preds = %8, %1
%11 = load ptr, ptr %3, align 8
%12 = load ptr, ptr %2, align 8
%13 = ptrtoint ptr %11 to i64
%14 = ptrtoint ptr %12 to i64
%15 = sub i64 %13, %14
%16 = add nsw i64 %15, 1
%17 = trunc i64 %16 to i32
ret i32 %17
}
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzabd26xu.c'
source_filename = "/tmp/tmpzabd26xu.c"
target datalayout = "e-m:e-p270: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/tmpzabd26xu.c"
target datalayout = "e-m:e-p270: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/tmpa7ianwf1.c'
source_filename = "/tmp/tmpa7ianwf1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_string(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 %5, align 8
%10 = load ptr, ptr %6, align 8
%11 = load ptr, ptr %7, align 8
%12 = load ptr, ptr %8, align 8
%13 = call i32 @set_value(ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12)
ret void
}
declare i32 @set_value(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/tmpa7ianwf1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_string(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 %5, align 8
%10 = load ptr, ptr %6, align 8
%11 = load ptr, ptr %7, align 8
%12 = load ptr, ptr %8, align 8
%13 = call i32 @set_value(ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12)
ret void
}
declare i32 @set_value(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/tmpiomjyc61.c'
source_filename = "/tmp/tmpiomjyc61.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__rename(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @gendep__register_rename(ptr noundef %5, ptr noundef %6)
%8 = load ptr, ptr %3, align 8
%9 = load ptr, ptr %4, align 8
%10 = call i32 @real_rename(ptr noundef %8, ptr noundef %9)
ret i32 %10
}
declare i32 @gendep__register_rename(ptr noundef, ptr noundef) #1
declare i32 @real_rename(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/tmpiomjyc61.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__rename(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @gendep__register_rename(ptr noundef %5, ptr noundef %6)
%8 = load ptr, ptr %3, align 8
%9 = load ptr, ptr %4, align 8
%10 = call i32 @real_rename(ptr noundef %8, ptr noundef %9)
ret i32 %10
}
declare i32 @gendep__register_rename(ptr noundef, ptr noundef) #1
declare i32 @real_rename(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/tmpc8obi5px.c'
source_filename = "/tmp/tmpc8obi5px.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [7 x i8] c"\0Aheavy\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"\0Alight\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca float, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
br label %7
7: ; preds = %15, %0
%8 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
br label %9
9: ; preds = %7
%10 = load i32, ptr %2, align 4
%11 = icmp slt i32 %10, 1
br i1 %11, label %15, label %12
12: ; preds = %9
%13 = load i32, ptr %2, align 4
%14 = icmp sgt i32 %13, 9999
br label %15
15: ; preds = %12, %9
%16 = phi i1 [ true, %9 ], [ %14, %12 ]
br i1 %16, label %7, label %17, !llvm.loop !6
17: ; preds = %15
br label %18
18: ; preds = %28, %17
%19 = load i32, ptr %2, align 4
%20 = srem i32 %19, 10
store i32 %20, ptr %5, align 4
%21 = load i32, ptr %4, align 4
%22 = load i32, ptr %5, align 4
%23 = add nsw i32 %21, %22
store i32 %23, ptr %4, align 4
%24 = load i32, ptr %3, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %3, align 4
%26 = load i32, ptr %2, align 4
%27 = sdiv i32 %26, 10
store i32 %27, ptr %2, align 4
br label %28
28: ; preds = %18
%29 = load i32, ptr %2, align 4
%30 = icmp sgt i32 %29, 0
br i1 %30, label %18, label %31, !llvm.loop !8
31: ; preds = %28
%32 = load i32, ptr %4, align 4
%33 = load i32, ptr %3, align 4
%34 = sdiv i32 %32, %33
%35 = sitofp i32 %34 to float
store float %35, ptr %6, align 4
%36 = load float, ptr %6, align 4
%37 = fcmp ogt float %36, 7.000000e+00
br i1 %37, label %38, label %40
38: ; preds = %31
%39 = call i32 @printf(ptr noundef @.str.1)
br label %40
40: ; preds = %38, %31
%41 = load float, ptr %6, align 4
%42 = fcmp olt float %41, 7.000000e+00
br i1 %42, label %43, label %45
43: ; preds = %40
%44 = call i32 @printf(ptr noundef @.str.2)
br label %45
45: ; preds = %43, %40
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc8obi5px.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [7 x i8] c"\0Aheavy\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"\0Alight\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca float, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
br label %7
7: ; preds = %15, %0
%8 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
br label %9
9: ; preds = %7
%10 = load i32, ptr %2, align 4
%11 = icmp slt i32 %10, 1
br i1 %11, label %15, label %12
12: ; preds = %9
%13 = load i32, ptr %2, align 4
%14 = icmp sgt i32 %13, 9999
br label %15
15: ; preds = %12, %9
%16 = phi i1 [ true, %9 ], [ %14, %12 ]
br i1 %16, label %7, label %17, !llvm.loop !6
17: ; preds = %15
br label %18
18: ; preds = %28, %17
%19 = load i32, ptr %2, align 4
%20 = srem i32 %19, 10
store i32 %20, ptr %5, align 4
%21 = load i32, ptr %4, align 4
%22 = load i32, ptr %5, align 4
%23 = add nsw i32 %21, %22
store i32 %23, ptr %4, align 4
%24 = load i32, ptr %3, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %3, align 4
%26 = load i32, ptr %2, align 4
%27 = sdiv i32 %26, 10
store i32 %27, ptr %2, align 4
br label %28
28: ; preds = %18
%29 = load i32, ptr %2, align 4
%30 = icmp sgt i32 %29, 0
br i1 %30, label %18, label %31, !llvm.loop !8
31: ; preds = %28
%32 = load i32, ptr %4, align 4
%33 = load i32, ptr %3, align 4
%34 = sdiv i32 %32, %33
%35 = sitofp i32 %34 to float
store float %35, ptr %6, align 4
%36 = load float, ptr %6, align 4
%37 = fcmp ogt float %36, 7.000000e+00
br i1 %37, label %38, label %40
38: ; preds = %31
%39 = call i32 @printf(ptr noundef @.str.1)
br label %40
40: ; preds = %38, %31
%41 = load float, ptr %6, align 4
%42 = fcmp olt float %41, 7.000000e+00
br i1 %42, label %43, label %45
43: ; preds = %40
%44 = call i32 @printf(ptr noundef @.str.2)
br label %45
45: ; preds = %43, %40
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpnd9j_6y_.c'
source_filename = "/tmp/tmpnd9j_6y_.c"
target datalayout = "e-m:e-p270: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/tmpnd9j_6y_.c"
target datalayout = "e-m:e-p270: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/tmp8cssz_25.c'
source_filename = "/tmp/tmp8cssz_25.c"
target datalayout = "e-m:e-p270: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/tmp8cssz_25.c"
target datalayout = "e-m:e-p270: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/tmpemclul75.c'
source_filename = "/tmp/tmpemclul75.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"Timeout\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @app_callback(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpemclul75.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"Timeout\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @app_callback(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplnykv5b_.c'
source_filename = "/tmp/tmplnykv5b_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ephcom_outdouble(ptr noundef %0, double noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca [8 x i8], align 1
store ptr %0, ptr %3, align 8
store double %1, ptr %4, align 8
%7 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 0
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %7, ptr align 8 %4, i64 8, i1 false)
%8 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 0
%9 = call ptr @gnulliver64c(ptr noundef %8)
%10 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 0
%11 = load ptr, ptr %3, align 8
%12 = call i32 @fwrite(ptr noundef %10, i32 noundef 1, i32 noundef 8, ptr noundef %11)
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 @gnulliver64c(ptr noundef) #2
declare i32 @fwrite(ptr noundef, 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: 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/tmplnykv5b_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ephcom_outdouble(ptr noundef %0, double noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca [8 x i8], align 1
store ptr %0, ptr %3, align 8
store double %1, ptr %4, align 8
%7 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 0
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %7, ptr align 8 %4, i64 8, i1 false)
%8 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 0
%9 = call ptr @gnulliver64c(ptr noundef %8)
%10 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 0
%11 = load ptr, ptr %3, align 8
%12 = call i32 @fwrite(ptr noundef %10, i32 noundef 1, i32 noundef 8, ptr noundef %11)
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 @gnulliver64c(ptr noundef) #2
declare i32 @fwrite(ptr noundef, 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: 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/tmpq4m5pqcb.c'
source_filename = "/tmp/tmpq4m5pqcb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"%d:%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @analysis_big_small_ratio(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store ptr %3, ptr %9, align 8
store i32 %4, ptr %10, align 4
store i32 0, ptr %11, align 4
store i32 0, ptr %12, align 4
store i32 0, ptr %13, align 4
br label %14
14: ; preds = %33, %5
%15 = load i32, ptr %13, align 4
%16 = load i32, ptr %7, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %18, label %36
18: ; preds = %14
%19 = load ptr, ptr %6, align 8
%20 = load i32, ptr %13, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i32, ptr %19, i64 %21
%23 = load i32, ptr %22, align 4
%24 = load i32, ptr %8, align 4
%25 = icmp sle i32 %23, %24
br i1 %25, label %26, label %29
26: ; preds = %18
%27 = load i32, ptr %11, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %11, align 4
br label %32
29: ; preds = %18
%30 = load i32, ptr %12, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %12, align 4
br label %32
32: ; preds = %29, %26
br label %33
33: ; preds = %32
%34 = load i32, ptr %13, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %13, align 4
br label %14, !llvm.loop !6
36: ; preds = %14
%37 = load ptr, ptr %9, align 8
%38 = load i32, ptr %10, align 4
%39 = sext i32 %38 to i64
%40 = mul i64 %39, 1
%41 = trunc i64 %40 to i32
%42 = call i32 @memset(ptr noundef %37, i32 noundef 0, i32 noundef %41)
%43 = load ptr, ptr %9, align 8
%44 = load i32, ptr %12, align 4
%45 = load i32, ptr %11, align 4
%46 = call i32 @sprintf(ptr noundef %43, ptr noundef @.str, i32 noundef %44, i32 noundef %45)
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpq4m5pqcb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"%d:%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @analysis_big_small_ratio(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store ptr %3, ptr %9, align 8
store i32 %4, ptr %10, align 4
store i32 0, ptr %11, align 4
store i32 0, ptr %12, align 4
store i32 0, ptr %13, align 4
%14 = load i32, ptr %13, align 4
%15 = load i32, ptr %7, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %.lr.ph, label %38
.lr.ph: ; preds = %5
br label %17
17: ; preds = %.lr.ph, %32
%18 = load ptr, ptr %6, align 8
%19 = load i32, ptr %13, 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 i32, ptr %8, align 4
%24 = icmp sle i32 %22, %23
br i1 %24, label %25, label %28
25: ; preds = %17
%26 = load i32, ptr %11, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %11, align 4
br label %31
28: ; preds = %17
%29 = load i32, ptr %12, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %12, align 4
br label %31
31: ; preds = %28, %25
br label %32
32: ; preds = %31
%33 = load i32, ptr %13, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %13, align 4
%35 = load i32, ptr %13, align 4
%36 = load i32, ptr %7, align 4
%37 = icmp slt i32 %35, %36
br i1 %37, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %32
br label %38
38: ; preds = %._crit_edge, %5
%39 = load ptr, ptr %9, align 8
%40 = load i32, ptr %10, align 4
%41 = sext i32 %40 to i64
%42 = mul i64 %41, 1
%43 = trunc i64 %42 to i32
%44 = call i32 @memset(ptr noundef %39, i32 noundef 0, i32 noundef %43)
%45 = load ptr, ptr %9, align 8
%46 = load i32, ptr %12, align 4
%47 = load i32, ptr %11, align 4
%48 = call i32 @sprintf(ptr noundef %45, ptr noundef @.str, i32 noundef %46, i32 noundef %47)
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp442ll66m.c'
source_filename = "/tmp/tmp442ll66m.c"
target datalayout = "e-m:e-p270: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/tmp442ll66m.c"
target datalayout = "e-m:e-p270: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/tmpxp5y0t_o.c'
source_filename = "/tmp/tmpxp5y0t_o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_2__ = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_XIconSize_height_inc(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i32 0, i32 0
%5 = load i64, ptr %4, align 8
%6 = trunc i64 %5 to i32
ret i32 %6
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxp5y0t_o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_2__ = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_XIconSize_height_inc(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i32 0, i32 0
%5 = load i64, ptr %4, align 8
%6 = trunc i64 %5 to i32
ret i32 %6
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7t8hga0n.c'
source_filename = "/tmp/tmp7t8hga0n.c"
target datalayout = "e-m:e-p270: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/tmp7t8hga0n.c"
target datalayout = "e-m:e-p270: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/tmp01y6k69q.c'
source_filename = "/tmp/tmp01y6k69q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"Invalid number given!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @convert_2_to_10(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
%8 = load ptr, ptr %4, align 8
store ptr %8, ptr %7, align 8
br label %9
9: ; preds = %52, %2
%10 = load ptr, ptr %7, align 8
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %55
14: ; preds = %9
%15 = load ptr, ptr %7, align 8
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp slt i32 %17, 48
br i1 %18, label %24, label %19
19: ; preds = %14
%20 = load ptr, ptr %7, align 8
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp sgt i32 %22, 49
br i1 %23, label %24, label %51
24: ; preds = %19, %14
%25 = load ptr, ptr %7, align 8
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp eq i32 %27, 45
br i1 %28, label %29, label %30
29: ; preds = %24
br label %52
30: ; preds = %24
%31 = load ptr, ptr %7, align 8
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = icmp eq i32 %33, 46
br i1 %34, label %35, label %38
35: ; preds = %30
%36 = load i32, ptr %6, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %6, align 4
br label %38
38: ; preds = %35, %30
%39 = load ptr, ptr %7, align 8
%40 = load i8, ptr %39, align 1
%41 = sext i8 %40 to i32
%42 = icmp ne i32 %41, 46
br i1 %42, label %46, label %43
43: ; preds = %38
%44 = load i32, ptr %6, align 4
%45 = icmp sgt i32 %44, 1
br i1 %45, label %46, label %50
46: ; preds = %43, %38
%47 = load ptr, ptr %5, align 8
%48 = call i32 @strcpy(ptr noundef %47, ptr noundef @.str)
%49 = load ptr, ptr %5, align 8
store ptr %49, ptr %3, align 8
br label %60
50: ; preds = %43
br label %51
51: ; preds = %50, %19
br label %52
52: ; preds = %51, %29
%53 = load ptr, ptr %7, align 8
%54 = getelementptr inbounds i8, ptr %53, i32 1
store ptr %54, ptr %7, align 8
br label %9, !llvm.loop !6
55: ; preds = %9
%56 = load ptr, ptr %4, align 8
%57 = load ptr, ptr %5, align 8
%58 = call i32 @ns_convert(ptr noundef %56, ptr noundef %57, i32 noundef 2, i32 noundef 10)
%59 = load ptr, ptr %5, align 8
store ptr %59, ptr %3, align 8
br label %60
60: ; preds = %55, %46
%61 = load ptr, ptr %3, align 8
ret ptr %61
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @ns_convert(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp01y6k69q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"Invalid number given!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @convert_2_to_10(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
%8 = load ptr, ptr %4, align 8
store ptr %8, ptr %7, align 8
%9 = load ptr, ptr %7, align 8
%10 = load i8, ptr %9, align 1
%11 = sext i8 %10 to i32
%12 = icmp ne i32 %11, 0
br i1 %12, label %.lr.ph, label %58
.lr.ph: ; preds = %2
br label %13
13: ; preds = %.lr.ph, %51
%14 = load ptr, ptr %7, align 8
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp slt i32 %16, 48
br i1 %17, label %23, label %18
18: ; preds = %13
%19 = load ptr, ptr %7, align 8
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp sgt i32 %21, 49
br i1 %22, label %23, label %50
23: ; preds = %18, %13
%24 = load ptr, ptr %7, 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 %29
28: ; preds = %23
br label %51
29: ; preds = %23
%30 = load ptr, ptr %7, align 8
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = icmp eq i32 %32, 46
br i1 %33, label %34, label %37
34: ; preds = %29
%35 = load i32, ptr %6, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %6, align 4
br label %37
37: ; preds = %34, %29
%38 = load ptr, ptr %7, align 8
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i32
%41 = icmp ne i32 %40, 46
br i1 %41, label %45, label %42
42: ; preds = %37
%43 = load i32, ptr %6, align 4
%44 = icmp sgt i32 %43, 1
br i1 %44, label %45, label %49
45: ; preds = %42, %37
%46 = load ptr, ptr %5, align 8
%47 = call i32 @strcpy(ptr noundef %46, ptr noundef @.str)
%48 = load ptr, ptr %5, align 8
store ptr %48, ptr %3, align 8
br label %63
49: ; preds = %42
br label %50
50: ; preds = %49, %18
br label %51
51: ; preds = %50, %28
%52 = load ptr, ptr %7, align 8
%53 = getelementptr inbounds i8, ptr %52, i32 1
store ptr %53, ptr %7, align 8
%54 = load ptr, ptr %7, align 8
%55 = load i8, ptr %54, align 1
%56 = sext i8 %55 to i32
%57 = icmp ne i32 %56, 0
br i1 %57, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %51
br label %58
58: ; preds = %._crit_edge, %2
%59 = load ptr, ptr %4, align 8
%60 = load ptr, ptr %5, align 8
%61 = call i32 @ns_convert(ptr noundef %59, ptr noundef %60, i32 noundef 2, i32 noundef 10)
%62 = load ptr, ptr %5, align 8
store ptr %62, ptr %3, align 8
br label %63
63: ; preds = %58, %45
%64 = load ptr, ptr %3, align 8
ret ptr %64
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @ns_convert(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpan7j4oig.c'
source_filename = "/tmp/tmpan7j4oig.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @getFileSize(ptr noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
%4 = alloca %struct.stat, align 8
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i64 @stat(ptr noundef %5, ptr noundef %4)
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %9
8: ; preds = %1
store i64 0, ptr %2, align 8
br label %12
9: ; preds = %1
%10 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0
%11 = load i64, ptr %10, align 8
store i64 %11, ptr %2, align 8
br label %12
12: ; preds = %9, %8
%13 = load i64, ptr %2, align 8
ret i64 %13
}
declare i64 @stat(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/tmpan7j4oig.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @getFileSize(ptr noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
%4 = alloca %struct.stat, align 8
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i64 @stat(ptr noundef %5, ptr noundef %4)
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %9
8: ; preds = %1
store i64 0, ptr %2, align 8
br label %12
9: ; preds = %1
%10 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0
%11 = load i64, ptr %10, align 8
store i64 %11, ptr %2, align 8
br label %12
12: ; preds = %9, %8
%13 = load i64, ptr %2, align 8
ret i64 %13
}
declare i64 @stat(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/tmpmxapjvd9.c'
source_filename = "/tmp/tmpmxapjvd9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"Enter an expression to evaluate: \00", align 1
@stdout = dso_local global i32 0, align 4
@stdin = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [10 x i8] c"%s => %g\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [2048 x i8], align 16
%3 = alloca double, align 8
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %5
5: ; preds = %45, %0
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = load i32, ptr @stdout, align 4
%8 = call i32 @fflush(i32 noundef %7)
%9 = getelementptr inbounds [2048 x i8], ptr %2, i64 0, i64 0
%10 = load i32, ptr @stdin, align 4
%11 = call i32 @fgets(ptr noundef %9, i32 noundef 2048, i32 noundef %10)
%12 = icmp ne i32 %11, 0
br i1 %12, label %15, label %13
13: ; preds = %5
%14 = call i32 (...) @abort() #3
unreachable
15: ; preds = %5
%16 = getelementptr inbounds [2048 x i8], ptr %2, i64 0, i64 0
%17 = call i32 @strlen(ptr noundef %16)
store i32 %17, ptr %4, align 4
%18 = load i32, ptr %4, align 4
%19 = icmp ugt i32 %18, 0
br i1 %19, label %20, label %35
20: ; preds = %15
%21 = load i32, ptr %4, align 4
%22 = sub i32 %21, 1
%23 = zext i32 %22 to i64
%24 = getelementptr inbounds [2048 x i8], ptr %2, i64 0, i64 %23
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = icmp eq i32 %26, 10
br i1 %27, label %28, label %35
28: ; preds = %20
%29 = load i32, ptr %4, align 4
%30 = sub i32 %29, 1
%31 = zext i32 %30 to i64
%32 = getelementptr inbounds [2048 x i8], ptr %2, i64 0, i64 %31
store i8 0, ptr %32, align 1
%33 = load i32, ptr %4, align 4
%34 = add i32 %33, -1
store i32 %34, ptr %4, align 4
br label %35
35: ; preds = %28, %20, %15
%36 = load i32, ptr %4, align 4
%37 = icmp eq i32 %36, 0
br i1 %37, label %38, label %39
38: ; preds = %35
br label %46
39: ; preds = %35
%40 = getelementptr inbounds [2048 x i8], ptr %2, i64 0, i64 0
%41 = call double @evaluate(ptr noundef %40)
store double %41, ptr %3, align 8
%42 = getelementptr inbounds [2048 x i8], ptr %2, i64 0, i64 0
%43 = load double, ptr %3, align 8
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %42, double noundef %43)
br label %45
45: ; preds = %39
br i1 true, label %5, label %46
46: ; preds = %45, %38
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @fflush(i32 noundef) #1
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
declare i32 @strlen(ptr noundef) #1
declare double @evaluate(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpmxapjvd9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"Enter an expression to evaluate: \00", align 1
@stdout = dso_local global i32 0, align 4
@stdin = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [10 x i8] c"%s => %g\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [2048 x i8], align 16
%3 = alloca double, align 8
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %5
5: ; preds = %45, %0
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = load i32, ptr @stdout, align 4
%8 = call i32 @fflush(i32 noundef %7)
%9 = getelementptr inbounds [2048 x i8], ptr %2, i64 0, i64 0
%10 = load i32, ptr @stdin, align 4
%11 = call i32 @fgets(ptr noundef %9, i32 noundef 2048, i32 noundef %10)
%12 = icmp ne i32 %11, 0
br i1 %12, label %15, label %13
13: ; preds = %5
%14 = call i32 (...) @abort() #3
unreachable
15: ; preds = %5
%16 = getelementptr inbounds [2048 x i8], ptr %2, i64 0, i64 0
%17 = call i32 @strlen(ptr noundef %16)
store i32 %17, ptr %4, align 4
%18 = load i32, ptr %4, align 4
%19 = icmp ugt i32 %18, 0
br i1 %19, label %20, label %35
20: ; preds = %15
%21 = load i32, ptr %4, align 4
%22 = sub i32 %21, 1
%23 = zext i32 %22 to i64
%24 = getelementptr inbounds [2048 x i8], ptr %2, i64 0, i64 %23
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = icmp eq i32 %26, 10
br i1 %27, label %28, label %35
28: ; preds = %20
%29 = load i32, ptr %4, align 4
%30 = sub i32 %29, 1
%31 = zext i32 %30 to i64
%32 = getelementptr inbounds [2048 x i8], ptr %2, i64 0, i64 %31
store i8 0, ptr %32, align 1
%33 = load i32, ptr %4, align 4
%34 = add i32 %33, -1
store i32 %34, ptr %4, align 4
br label %35
35: ; preds = %28, %20, %15
%36 = load i32, ptr %4, align 4
%37 = icmp eq i32 %36, 0
br i1 %37, label %38, label %39
38: ; preds = %35
br label %46
39: ; preds = %35
%40 = getelementptr inbounds [2048 x i8], ptr %2, i64 0, i64 0
%41 = call double @evaluate(ptr noundef %40)
store double %41, ptr %3, align 8
%42 = getelementptr inbounds [2048 x i8], ptr %2, i64 0, i64 0
%43 = load double, ptr %3, align 8
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %42, double noundef %43)
br label %45
45: ; preds = %39
br i1 true, label %5, label %.loopexit
.loopexit: ; preds = %45
br label %46
46: ; preds = %.loopexit, %38
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @fflush(i32 noundef) #1
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
declare i32 @strlen(ptr noundef) #1
declare double @evaluate(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmplkjnaatf.c'
source_filename = "/tmp/tmplkjnaatf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @get_req_char(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i8, align 1
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
%9 = load i32, ptr %6, align 4
%10 = icmp sge i32 %9, 0
br i1 %10, label %11, label %28
11: ; preds = %3
%12 = load ptr, ptr %5, align 8
%13 = load i32, ptr %6, align 4
%14 = call ptr @get_str(ptr noundef %12, i32 noundef %13)
store ptr %14, ptr %8, align 8
%15 = load ptr, ptr %8, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %17, label %26
17: ; preds = %11
%18 = load ptr, ptr %8, align 8
%19 = call i64 @strlen(ptr noundef %18)
%20 = icmp sgt i64 %19, 0
br i1 %20, label %21, label %26
21: ; preds = %17
%22 = load ptr, ptr %7, align 8
store i32 1, ptr %22, align 4
%23 = load ptr, ptr %8, align 8
%24 = getelementptr inbounds i8, ptr %23, i64 0
%25 = load i8, ptr %24, align 1
store i8 %25, ptr %4, align 1
br label %30
26: ; preds = %17, %11
%27 = load ptr, ptr %7, align 8
store i32 0, ptr %27, align 4
store i8 63, ptr %4, align 1
br label %30
28: ; preds = %3
%29 = load ptr, ptr %7, align 8
store i32 0, ptr %29, align 4
store i8 63, ptr %4, align 1
br label %30
30: ; preds = %28, %26, %21
%31 = load i8, ptr %4, align 1
ret i8 %31
}
declare ptr @get_str(ptr noundef, i32 noundef) #1
declare i64 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplkjnaatf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @get_req_char(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i8, align 1
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
%9 = load i32, ptr %6, align 4
%10 = icmp sge i32 %9, 0
br i1 %10, label %11, label %28
11: ; preds = %3
%12 = load ptr, ptr %5, align 8
%13 = load i32, ptr %6, align 4
%14 = call ptr @get_str(ptr noundef %12, i32 noundef %13)
store ptr %14, ptr %8, align 8
%15 = load ptr, ptr %8, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %17, label %26
17: ; preds = %11
%18 = load ptr, ptr %8, align 8
%19 = call i64 @strlen(ptr noundef %18)
%20 = icmp sgt i64 %19, 0
br i1 %20, label %21, label %26
21: ; preds = %17
%22 = load ptr, ptr %7, align 8
store i32 1, ptr %22, align 4
%23 = load ptr, ptr %8, align 8
%24 = getelementptr inbounds i8, ptr %23, i64 0
%25 = load i8, ptr %24, align 1
store i8 %25, ptr %4, align 1
br label %30
26: ; preds = %17, %11
%27 = load ptr, ptr %7, align 8
store i32 0, ptr %27, align 4
store i8 63, ptr %4, align 1
br label %30
28: ; preds = %3
%29 = load ptr, ptr %7, align 8
store i32 0, ptr %29, align 4
store i8 63, ptr %4, align 1
br label %30
30: ; preds = %28, %26, %21
%31 = load i8, ptr %4, align 1
ret i8 %31
}
declare ptr @get_str(ptr noundef, i32 noundef) #1
declare i64 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgx0eouur.c'
source_filename = "/tmp/tmpgx0eouur.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Alloc_(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = call ptr @alloc_(i64 noundef %3)
ret ptr %4
}
declare ptr @alloc_(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/tmpgx0eouur.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Alloc_(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = call ptr @alloc_(i64 noundef %3)
ret ptr %4
}
declare ptr @alloc_(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/tmpgjeat2i6.c'
source_filename = "/tmp/tmpgjeat2i6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EFBIG = dso_local global i64 0, align 8
@EOVERFLOW = dso_local global i64 0, align 8
@errno = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgjeat2i6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EFBIG = dso_local global i64 0, align 8
@EOVERFLOW = dso_local global i64 0, align 8
@errno = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpboe6tfu4.c'
source_filename = "/tmp/tmpboe6tfu4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"create mempool failed\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @init_mempool() #0 {
%1 = alloca i32, align 4
%2 = call i32 @mempool_create(i32 noundef 65536)
store i32 %2, ptr %1, align 4
%3 = load i32, ptr %1, align 4
%4 = icmp slt i32 %3, 0
br i1 %4, label %5, label %7
5: ; preds = %0
%6 = call i32 @dns_error(i32 noundef 0, ptr noundef @.str)
br label %7
7: ; preds = %5, %0
ret void
}
declare i32 @mempool_create(i32 noundef) #1
declare i32 @dns_error(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/tmpboe6tfu4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"create mempool failed\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @init_mempool() #0 {
%1 = alloca i32, align 4
%2 = call i32 @mempool_create(i32 noundef 65536)
store i32 %2, ptr %1, align 4
%3 = load i32, ptr %1, align 4
%4 = icmp slt i32 %3, 0
br i1 %4, label %5, label %7
5: ; preds = %0
%6 = call i32 @dns_error(i32 noundef 0, ptr noundef @.str)
br label %7
7: ; preds = %5, %0
ret void
}
declare i32 @mempool_create(i32 noundef) #1
declare i32 @dns_error(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/tmpwc7hbk2z.c'
source_filename = "/tmp/tmpwc7hbk2z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @my_strcpy(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @length(ptr noundef %6)
store i32 %7, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = call ptr @calloc(i32 noundef %8, i32 noundef 1)
store ptr %9, ptr %5, align 8
store i32 0, ptr %3, align 4
br label %10
10: ; preds = %24, %1
%11 = load i32, ptr %4, align 4
%12 = load i32, ptr %3, align 4
%13 = icmp sge i32 %11, %12
br i1 %13, label %14, label %27
14: ; preds = %10
%15 = load ptr, ptr %2, align 8
%16 = load i32, ptr %3, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
%19 = load i8, ptr %18, align 1
%20 = load ptr, ptr %5, align 8
%21 = load i32, ptr %3, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %20, i64 %22
store i8 %19, ptr %23, align 1
br label %24
24: ; preds = %14
%25 = load i32, ptr %3, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %3, align 4
br label %10, !llvm.loop !6
27: ; preds = %10
%28 = load ptr, ptr %5, align 8
ret ptr %28
}
declare i32 @length(ptr noundef) #1
declare ptr @calloc(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/tmpwc7hbk2z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @my_strcpy(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @length(ptr noundef %6)
store i32 %7, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = call ptr @calloc(i32 noundef %8, i32 noundef 1)
store ptr %9, ptr %5, align 8
store i32 0, ptr %3, align 4
%10 = load i32, ptr %4, align 4
%11 = load i32, ptr %3, align 4
%12 = icmp sge i32 %10, %11
br i1 %12, label %.lr.ph, label %29
.lr.ph: ; preds = %1
br label %13
13: ; preds = %.lr.ph, %23
%14 = load ptr, ptr %2, align 8
%15 = load i32, ptr %3, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
%18 = load i8, ptr %17, align 1
%19 = load ptr, ptr %5, align 8
%20 = load i32, ptr %3, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %19, i64 %21
store i8 %18, ptr %22, align 1
br label %23
23: ; preds = %13
%24 = load i32, ptr %3, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %3, align 4
%26 = load i32, ptr %4, align 4
%27 = load i32, ptr %3, align 4
%28 = icmp sge i32 %26, %27
br i1 %28, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %29
29: ; preds = %._crit_edge, %1
%30 = load ptr, ptr %5, align 8
ret ptr %30
}
declare i32 @length(ptr noundef) #1
declare ptr @calloc(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/tmpbuyitgkt.c'
source_filename = "/tmp/tmpbuyitgkt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"Invalid number of arguments!\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"-n\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"Bad file!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp eq i32 %7, 1
br i1 %8, label %9, label %11
9: ; preds = %2
%10 = call i32 (...) @usage()
store i32 %10, ptr %6, align 4
br label %46
11: ; preds = %2
%12 = load i32, ptr %4, align 4
%13 = icmp eq i32 %12, 2
br i1 %13, label %14, label %19
14: ; preds = %11
%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 @findStrings(ptr noundef %17, i32 noundef 4)
store i32 %18, ptr %6, align 4
br label %45
19: ; preds = %11
%20 = load i32, ptr %4, align 4
%21 = srem i32 %20, 2
%22 = icmp eq i32 %21, 1
br i1 %22, label %23, label %25
23: ; preds = %19
%24 = call i32 @printf(ptr noundef @.str)
br label %44
25: ; preds = %19
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds ptr, ptr %26, i64 1
%28 = load ptr, ptr %27, align 8
%29 = call i64 @strcmp(ptr noundef %28, ptr noundef @.str.1)
%30 = icmp eq i64 %29, 0
br i1 %30, label %31, label %43
31: ; preds = %25
%32 = load i32, ptr %4, align 4
%33 = icmp eq i32 %32, 4
br i1 %33, label %34, label %43
34: ; preds = %31
%35 = load ptr, ptr %5, align 8
%36 = getelementptr inbounds ptr, ptr %35, i64 3
%37 = load ptr, ptr %36, align 8
%38 = load ptr, ptr %5, align 8
%39 = getelementptr inbounds ptr, ptr %38, i64 2
%40 = load ptr, ptr %39, align 8
%41 = call i32 @atoi(ptr noundef %40)
%42 = call i32 @findStrings(ptr noundef %37, i32 noundef %41)
store i32 %42, ptr %6, align 4
br label %43
43: ; preds = %34, %31, %25
br label %44
44: ; preds = %43, %23
br label %45
45: ; preds = %44, %14
br label %46
46: ; preds = %45, %9
%47 = load i32, ptr %6, align 4
%48 = icmp eq i32 %47, 1
br i1 %48, label %49, label %51
49: ; preds = %46
%50 = call i32 @printf(ptr noundef @.str.2)
br label %51
51: ; preds = %49, %46
%52 = load i32, ptr %6, align 4
ret i32 %52
}
declare i32 @usage(...) #1
declare i32 @findStrings(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbuyitgkt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"Invalid number of arguments!\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"-n\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"Bad file!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp eq i32 %7, 1
br i1 %8, label %9, label %11
9: ; preds = %2
%10 = call i32 (...) @usage()
store i32 %10, ptr %6, align 4
br label %46
11: ; preds = %2
%12 = load i32, ptr %4, align 4
%13 = icmp eq i32 %12, 2
br i1 %13, label %14, label %19
14: ; preds = %11
%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 @findStrings(ptr noundef %17, i32 noundef 4)
store i32 %18, ptr %6, align 4
br label %45
19: ; preds = %11
%20 = load i32, ptr %4, align 4
%21 = srem i32 %20, 2
%22 = icmp eq i32 %21, 1
br i1 %22, label %23, label %25
23: ; preds = %19
%24 = call i32 @printf(ptr noundef @.str)
br label %44
25: ; preds = %19
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds ptr, ptr %26, i64 1
%28 = load ptr, ptr %27, align 8
%29 = call i64 @strcmp(ptr noundef %28, ptr noundef @.str.1)
%30 = icmp eq i64 %29, 0
br i1 %30, label %31, label %43
31: ; preds = %25
%32 = load i32, ptr %4, align 4
%33 = icmp eq i32 %32, 4
br i1 %33, label %34, label %43
34: ; preds = %31
%35 = load ptr, ptr %5, align 8
%36 = getelementptr inbounds ptr, ptr %35, i64 3
%37 = load ptr, ptr %36, align 8
%38 = load ptr, ptr %5, align 8
%39 = getelementptr inbounds ptr, ptr %38, i64 2
%40 = load ptr, ptr %39, align 8
%41 = call i32 @atoi(ptr noundef %40)
%42 = call i32 @findStrings(ptr noundef %37, i32 noundef %41)
store i32 %42, ptr %6, align 4
br label %43
43: ; preds = %34, %31, %25
br label %44
44: ; preds = %43, %23
br label %45
45: ; preds = %44, %14
br label %46
46: ; preds = %45, %9
%47 = load i32, ptr %6, align 4
%48 = icmp eq i32 %47, 1
br i1 %48, label %49, label %51
49: ; preds = %46
%50 = call i32 @printf(ptr noundef @.str.2)
br label %51
51: ; preds = %49, %46
%52 = load i32, ptr %6, align 4
ret i32 %52
}
declare i32 @usage(...) #1
declare i32 @findStrings(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp40o9livc.c'
source_filename = "/tmp/tmp40o9livc.c"
target datalayout = "e-m:e-p270: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/tmp40o9livc.c"
target datalayout = "e-m:e-p270: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/tmpadf79m32.c'
source_filename = "/tmp/tmpadf79m32.c"
target datalayout = "e-m:e-p270: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/tmpadf79m32.c"
target datalayout = "e-m:e-p270: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/tmpcvdcjc6g.c'
source_filename = "/tmp/tmpcvdcjc6g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isalnum.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isalnum should be 0 for 0xf6\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isalnum_0xf6() #0 {
%1 = call i64 @isalnum(i32 noundef 246)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 1235, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isalnum(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcvdcjc6g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isalnum.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isalnum should be 0 for 0xf6\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isalnum_0xf6() #0 {
%1 = call i64 @isalnum(i32 noundef 246)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 1235, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isalnum(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpneobh9uw.c'
source_filename = "/tmp/tmpneobh9uw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.pollfd = type { i32, i32, i32, i32 }
%struct.epoll_event = type { i32, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32 }
@.str = private unnamed_addr constant [35 x i8] c"select return %d,isset(%d,%d,%d).\0A\00", align 1
@POLLIN = dso_local global i32 0, align 4
@POLLOUT = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [36 x i8] c"poll return %d, revents(%d,%d,%d).\0A\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"epoll_create() returns %d.\0A\00", align 1
@EPOLLIN = dso_local global i32 0, align 4
@EPOLLOUT = dso_local global i32 0, align 4
@EPOLL_CTL_ADD = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [25 x i8] c"epoll_ctl() returns %d.\0A\00", align 1
@.str.4 = private unnamed_addr constant [26 x i8] c"epoll_wait() returns %d.\0A\00", align 1
@.str.5 = private unnamed_addr constant [20 x i8] c"event=%ld on fd=%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca [3 x %struct.pollfd], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca %struct.epoll_event, align 4
%11 = alloca i32, align 4
%12 = alloca [100 x %struct.epoll_event], align 16
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
store i32 0, ptr %1, align 4
%17 = call i32 @FD_ZERO(ptr noundef %2)
%18 = call i32 @FD_ZERO(ptr noundef %3)
%19 = call i32 @FD_SET(i32 noundef 0, ptr noundef %2)
%20 = call i32 @FD_SET(i32 noundef 1, ptr noundef %3)
%21 = call i32 @FD_SET(i32 noundef 2, ptr noundef %3)
store i32 4, ptr %4, align 4
%22 = load i32, ptr %4, align 4
%23 = call i32 @select(i32 noundef %22, ptr noundef %2, ptr noundef %3, ptr noundef null, ptr noundef null)
store i32 %23, ptr %5, align 4
%24 = load i32, ptr %5, align 4
%25 = call i32 @FD_ISSET(i32 noundef 0, ptr noundef %2)
%26 = call i32 @FD_ISSET(i32 noundef 1, ptr noundef %3)
%27 = call i32 @FD_ISSET(i32 noundef 2, ptr noundef %3)
%28 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %24, i32 noundef %25, i32 noundef %26, i32 noundef %27)
%29 = getelementptr inbounds [3 x %struct.pollfd], ptr %6, i64 0, i64 0
%30 = getelementptr inbounds %struct.pollfd, ptr %29, i32 0, i32 0
store i32 0, ptr %30, align 16
%31 = getelementptr inbounds %struct.pollfd, ptr %29, i32 0, i32 1
%32 = load i32, ptr @POLLIN, align 4
store i32 %32, ptr %31, align 4
%33 = getelementptr inbounds %struct.pollfd, ptr %29, i32 0, i32 2
store i32 0, ptr %33, align 8
%34 = getelementptr inbounds %struct.pollfd, ptr %29, i32 0, i32 3
store i32 0, ptr %34, align 4
%35 = getelementptr inbounds %struct.pollfd, ptr %29, i64 1
%36 = getelementptr inbounds %struct.pollfd, ptr %35, i32 0, i32 0
store i32 1, ptr %36, align 16
%37 = getelementptr inbounds %struct.pollfd, ptr %35, i32 0, i32 1
%38 = load i32, ptr @POLLOUT, align 4
store i32 %38, ptr %37, align 4
%39 = getelementptr inbounds %struct.pollfd, ptr %35, i32 0, i32 2
store i32 0, ptr %39, align 8
%40 = getelementptr inbounds %struct.pollfd, ptr %35, i32 0, i32 3
store i32 0, ptr %40, align 4
%41 = getelementptr inbounds %struct.pollfd, ptr %35, i64 1
%42 = getelementptr inbounds %struct.pollfd, ptr %41, i32 0, i32 0
store i32 2, ptr %42, align 16
%43 = getelementptr inbounds %struct.pollfd, ptr %41, i32 0, i32 1
%44 = load i32, ptr @POLLOUT, align 4
store i32 %44, ptr %43, align 4
%45 = getelementptr inbounds %struct.pollfd, ptr %41, i32 0, i32 2
store i32 0, ptr %45, align 8
%46 = getelementptr inbounds %struct.pollfd, ptr %41, i32 0, i32 3
store i32 0, ptr %46, align 4
%47 = getelementptr inbounds [3 x %struct.pollfd], ptr %6, i64 0, i64 0
%48 = call i32 @poll(ptr noundef %47, i32 noundef 3, i32 noundef -1)
store i32 %48, ptr %7, align 4
%49 = load i32, ptr %7, align 4
%50 = getelementptr inbounds [3 x %struct.pollfd], ptr %6, i64 0, i64 0
%51 = getelementptr inbounds %struct.pollfd, ptr %50, i32 0, i32 1
%52 = load i32, ptr %51, align 4
%53 = getelementptr inbounds [3 x %struct.pollfd], ptr %6, i64 0, i64 1
%54 = getelementptr inbounds %struct.pollfd, ptr %53, i32 0, i32 1
%55 = load i32, ptr %54, align 4
%56 = getelementptr inbounds [3 x %struct.pollfd], ptr %6, i64 0, i64 2
%57 = getelementptr inbounds %struct.pollfd, ptr %56, i32 0, i32 1
%58 = load i32, ptr %57, align 4
%59 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %49, i32 noundef %52, i32 noundef %55, i32 noundef %58)
store i32 1, ptr %8, align 4
%60 = call i32 @epoll_create1(i32 noundef 0)
store i32 %60, ptr %9, align 4
%61 = load i32, ptr %9, align 4
%62 = icmp slt i32 %61, 0
br i1 %62, label %63, label %66
63: ; preds = %0
%64 = load i32, ptr %9, align 4
%65 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %64)
store i32 1, ptr %1, align 4
br label %116
66: ; preds = %0
%67 = load i32, ptr %8, align 4
%68 = getelementptr inbounds %struct.epoll_event, ptr %10, i32 0, i32 1
%69 = getelementptr inbounds %struct.TYPE_2__, ptr %68, i32 0, i32 0
store i32 %67, ptr %69, align 4
%70 = load i32, ptr @EPOLLIN, align 4
%71 = load i32, ptr @EPOLLOUT, align 4
%72 = or i32 %70, %71
%73 = getelementptr inbounds %struct.epoll_event, ptr %10, i32 0, i32 0
store i32 %72, ptr %73, align 4
%74 = load i32, ptr %9, align 4
%75 = load i32, ptr @EPOLL_CTL_ADD, align 4
%76 = load i32, ptr %8, align 4
%77 = call i32 @epoll_ctl(i32 noundef %74, i32 noundef %75, i32 noundef %76, ptr noundef %10)
store i32 %77, ptr %11, align 4
%78 = load i32, ptr %11, align 4
%79 = icmp slt i32 %78, 0
br i1 %79, label %80, label %83
80: ; preds = %66
%81 = load i32, ptr %11, align 4
%82 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %81)
store i32 1, ptr %1, align 4
br label %116
83: ; preds = %66
store i32 100, ptr %13, align 4
store i32 -1, ptr %14, align 4
%84 = load i32, ptr %9, align 4
%85 = getelementptr inbounds [100 x %struct.epoll_event], ptr %12, i64 0, i64 0
%86 = load i32, ptr %13, align 4
%87 = load i32, ptr %14, align 4
%88 = call i32 @epoll_wait(i32 noundef %84, ptr noundef %85, i32 noundef %86, i32 noundef %87)
store i32 %88, ptr %15, align 4
%89 = load i32, ptr %15, align 4
%90 = icmp slt i32 %89, 0
br i1 %90, label %91, label %94
91: ; preds = %83
%92 = load i32, ptr %15, align 4
%93 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.4, i32 noundef %92)
store i32 1, ptr %1, align 4
br label %116
94: ; preds = %83
store i32 0, ptr %16, align 4
br label %95
95: ; preds = %112, %94
%96 = load i32, ptr %16, align 4
%97 = load i32, ptr %15, align 4
%98 = icmp slt i32 %96, %97
br i1 %98, label %99, label %115
99: ; preds = %95
%100 = load i32, ptr %16, align 4
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds [100 x %struct.epoll_event], ptr %12, i64 0, i64 %101
%103 = getelementptr inbounds %struct.epoll_event, ptr %102, i32 0, i32 0
%104 = load i32, ptr %103, align 8
%105 = load i32, ptr %16, align 4
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds [100 x %struct.epoll_event], ptr %12, i64 0, i64 %106
%108 = getelementptr inbounds %struct.epoll_event, ptr %107, i32 0, i32 1
%109 = getelementptr inbounds %struct.TYPE_2__, ptr %108, i32 0, i32 0
%110 = load i32, ptr %109, align 4
%111 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.5, i32 noundef %104, i32 noundef %110)
br label %112
112: ; preds = %99
%113 = load i32, ptr %16, align 4
%114 = add nsw i32 %113, 1
store i32 %114, ptr %16, align 4
br label %95, !llvm.loop !6
115: ; preds = %95
store i32 0, ptr %1, align 4
br label %116
116: ; preds = %115, %91, %80, %63
%117 = load i32, ptr %1, align 4
ret i32 %117
}
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 @printf(ptr noundef, i32 noundef, ...) #1
declare i32 @FD_ISSET(i32 noundef, ptr noundef) #1
declare i32 @poll(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @epoll_create1(i32 noundef) #1
declare i32 @epoll_ctl(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @epoll_wait(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpneobh9uw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.pollfd = type { i32, i32, i32, i32 }
%struct.epoll_event = type { i32, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32 }
@.str = private unnamed_addr constant [35 x i8] c"select return %d,isset(%d,%d,%d).\0A\00", align 1
@POLLIN = dso_local global i32 0, align 4
@POLLOUT = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [36 x i8] c"poll return %d, revents(%d,%d,%d).\0A\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"epoll_create() returns %d.\0A\00", align 1
@EPOLLIN = dso_local global i32 0, align 4
@EPOLLOUT = dso_local global i32 0, align 4
@EPOLL_CTL_ADD = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [25 x i8] c"epoll_ctl() returns %d.\0A\00", align 1
@.str.4 = private unnamed_addr constant [26 x i8] c"epoll_wait() returns %d.\0A\00", align 1
@.str.5 = private unnamed_addr constant [20 x i8] c"event=%ld on fd=%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca [3 x %struct.pollfd], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca %struct.epoll_event, align 4
%11 = alloca i32, align 4
%12 = alloca [100 x %struct.epoll_event], align 16
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
store i32 0, ptr %1, align 4
%17 = call i32 @FD_ZERO(ptr noundef %2)
%18 = call i32 @FD_ZERO(ptr noundef %3)
%19 = call i32 @FD_SET(i32 noundef 0, ptr noundef %2)
%20 = call i32 @FD_SET(i32 noundef 1, ptr noundef %3)
%21 = call i32 @FD_SET(i32 noundef 2, ptr noundef %3)
store i32 4, ptr %4, align 4
%22 = load i32, ptr %4, align 4
%23 = call i32 @select(i32 noundef %22, ptr noundef %2, ptr noundef %3, ptr noundef null, ptr noundef null)
store i32 %23, ptr %5, align 4
%24 = load i32, ptr %5, align 4
%25 = call i32 @FD_ISSET(i32 noundef 0, ptr noundef %2)
%26 = call i32 @FD_ISSET(i32 noundef 1, ptr noundef %3)
%27 = call i32 @FD_ISSET(i32 noundef 2, ptr noundef %3)
%28 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %24, i32 noundef %25, i32 noundef %26, i32 noundef %27)
%29 = getelementptr inbounds [3 x %struct.pollfd], ptr %6, i64 0, i64 0
%30 = getelementptr inbounds %struct.pollfd, ptr %29, i32 0, i32 0
store i32 0, ptr %30, align 16
%31 = getelementptr inbounds %struct.pollfd, ptr %29, i32 0, i32 1
%32 = load i32, ptr @POLLIN, align 4
store i32 %32, ptr %31, align 4
%33 = getelementptr inbounds %struct.pollfd, ptr %29, i32 0, i32 2
store i32 0, ptr %33, align 8
%34 = getelementptr inbounds %struct.pollfd, ptr %29, i32 0, i32 3
store i32 0, ptr %34, align 4
%35 = getelementptr inbounds %struct.pollfd, ptr %29, i64 1
%36 = getelementptr inbounds %struct.pollfd, ptr %35, i32 0, i32 0
store i32 1, ptr %36, align 16
%37 = getelementptr inbounds %struct.pollfd, ptr %35, i32 0, i32 1
%38 = load i32, ptr @POLLOUT, align 4
store i32 %38, ptr %37, align 4
%39 = getelementptr inbounds %struct.pollfd, ptr %35, i32 0, i32 2
store i32 0, ptr %39, align 8
%40 = getelementptr inbounds %struct.pollfd, ptr %35, i32 0, i32 3
store i32 0, ptr %40, align 4
%41 = getelementptr inbounds %struct.pollfd, ptr %35, i64 1
%42 = getelementptr inbounds %struct.pollfd, ptr %41, i32 0, i32 0
store i32 2, ptr %42, align 16
%43 = getelementptr inbounds %struct.pollfd, ptr %41, i32 0, i32 1
%44 = load i32, ptr @POLLOUT, align 4
store i32 %44, ptr %43, align 4
%45 = getelementptr inbounds %struct.pollfd, ptr %41, i32 0, i32 2
store i32 0, ptr %45, align 8
%46 = getelementptr inbounds %struct.pollfd, ptr %41, i32 0, i32 3
store i32 0, ptr %46, align 4
%47 = getelementptr inbounds [3 x %struct.pollfd], ptr %6, i64 0, i64 0
%48 = call i32 @poll(ptr noundef %47, i32 noundef 3, i32 noundef -1)
store i32 %48, ptr %7, align 4
%49 = load i32, ptr %7, align 4
%50 = getelementptr inbounds [3 x %struct.pollfd], ptr %6, i64 0, i64 0
%51 = getelementptr inbounds %struct.pollfd, ptr %50, i32 0, i32 1
%52 = load i32, ptr %51, align 4
%53 = getelementptr inbounds [3 x %struct.pollfd], ptr %6, i64 0, i64 1
%54 = getelementptr inbounds %struct.pollfd, ptr %53, i32 0, i32 1
%55 = load i32, ptr %54, align 4
%56 = getelementptr inbounds [3 x %struct.pollfd], ptr %6, i64 0, i64 2
%57 = getelementptr inbounds %struct.pollfd, ptr %56, i32 0, i32 1
%58 = load i32, ptr %57, align 4
%59 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %49, i32 noundef %52, i32 noundef %55, i32 noundef %58)
store i32 1, ptr %8, align 4
%60 = call i32 @epoll_create1(i32 noundef 0)
store i32 %60, ptr %9, align 4
%61 = load i32, ptr %9, align 4
%62 = icmp slt i32 %61, 0
br i1 %62, label %63, label %66
63: ; preds = %0
%64 = load i32, ptr %9, align 4
%65 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %64)
store i32 1, ptr %1, align 4
br label %118
66: ; preds = %0
%67 = load i32, ptr %8, align 4
%68 = getelementptr inbounds %struct.epoll_event, ptr %10, i32 0, i32 1
%69 = getelementptr inbounds %struct.TYPE_2__, ptr %68, i32 0, i32 0
store i32 %67, ptr %69, align 4
%70 = load i32, ptr @EPOLLIN, align 4
%71 = load i32, ptr @EPOLLOUT, align 4
%72 = or i32 %70, %71
%73 = getelementptr inbounds %struct.epoll_event, ptr %10, i32 0, i32 0
store i32 %72, ptr %73, align 4
%74 = load i32, ptr %9, align 4
%75 = load i32, ptr @EPOLL_CTL_ADD, align 4
%76 = load i32, ptr %8, align 4
%77 = call i32 @epoll_ctl(i32 noundef %74, i32 noundef %75, i32 noundef %76, ptr noundef %10)
store i32 %77, ptr %11, align 4
%78 = load i32, ptr %11, align 4
%79 = icmp slt i32 %78, 0
br i1 %79, label %80, label %83
80: ; preds = %66
%81 = load i32, ptr %11, align 4
%82 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %81)
store i32 1, ptr %1, align 4
br label %118
83: ; preds = %66
store i32 100, ptr %13, align 4
store i32 -1, ptr %14, align 4
%84 = load i32, ptr %9, align 4
%85 = getelementptr inbounds [100 x %struct.epoll_event], ptr %12, i64 0, i64 0
%86 = load i32, ptr %13, align 4
%87 = load i32, ptr %14, align 4
%88 = call i32 @epoll_wait(i32 noundef %84, ptr noundef %85, i32 noundef %86, i32 noundef %87)
store i32 %88, ptr %15, align 4
%89 = load i32, ptr %15, align 4
%90 = icmp slt i32 %89, 0
br i1 %90, label %91, label %94
91: ; preds = %83
%92 = load i32, ptr %15, align 4
%93 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.4, i32 noundef %92)
store i32 1, ptr %1, align 4
br label %118
94: ; preds = %83
store i32 0, ptr %16, align 4
%95 = load i32, ptr %16, align 4
%96 = load i32, ptr %15, align 4
%97 = icmp slt i32 %95, %96
br i1 %97, label %.lr.ph, label %117
.lr.ph: ; preds = %94
br label %98
98: ; preds = %.lr.ph, %111
%99 = load i32, ptr %16, align 4
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds [100 x %struct.epoll_event], ptr %12, i64 0, i64 %100
%102 = getelementptr inbounds %struct.epoll_event, ptr %101, i32 0, i32 0
%103 = load i32, ptr %102, align 8
%104 = load i32, ptr %16, align 4
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds [100 x %struct.epoll_event], ptr %12, i64 0, i64 %105
%107 = getelementptr inbounds %struct.epoll_event, ptr %106, i32 0, i32 1
%108 = getelementptr inbounds %struct.TYPE_2__, ptr %107, i32 0, i32 0
%109 = load i32, ptr %108, align 4
%110 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.5, i32 noundef %103, i32 noundef %109)
br label %111
111: ; preds = %98
%112 = load i32, ptr %16, align 4
%113 = add nsw i32 %112, 1
store i32 %113, ptr %16, align 4
%114 = load i32, ptr %16, align 4
%115 = load i32, ptr %15, align 4
%116 = icmp slt i32 %114, %115
br i1 %116, label %98, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %111
br label %117
117: ; preds = %._crit_edge, %94
store i32 0, ptr %1, align 4
br label %118
118: ; preds = %117, %91, %80, %63
%119 = load i32, ptr %1, align 4
ret i32 %119
}
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 @printf(ptr noundef, i32 noundef, ...) #1
declare i32 @FD_ISSET(i32 noundef, ptr noundef) #1
declare i32 @poll(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @epoll_create1(i32 noundef) #1
declare i32 @epoll_ctl(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @epoll_wait(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp2ke4u00o.c'
source_filename = "/tmp/tmp2ke4u00o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [47 x i8] c"Choose input source (1 = Keyboard, 2 = File): \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@EOF = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [58 x i8] c"\0AEnter an expression (use single letters for variables): \00", align 1
@stdin = dso_local global ptr null, align 8
@.str.3 = private unnamed_addr constant [11 x i8] c"output.txt\00", align 1
@.str.4 = private unnamed_addr constant [19 x i8] c"\0AEnter file path: \00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.6 = private unnamed_addr constant [68 x i8] c"Error opening file. Check that file exists and/or path is correct.\0A\00", align 1
@.str.7 = private unnamed_addr constant [15 x i8] c"Invalid input.\00", align 1
@.str.8 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%8 = call i64 @malloc(i32 noundef 100)
%9 = inttoptr i64 %8 to ptr
store ptr %9, ptr %5, align 8
%10 = call i64 @malloc(i32 noundef 100)
%11 = inttoptr i64 %10 to ptr
store ptr %11, ptr %6, align 8
%12 = call i32 @printf(ptr noundef @.str)
%13 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%14 = load i32, ptr %3, align 4
%15 = icmp eq i32 %14, 1
br i1 %15, label %16, label %36
16: ; preds = %0
br label %17
17: ; preds = %26, %16
%18 = call i32 (...) @getchar()
store i32 %18, ptr %2, align 4
%19 = icmp ne i32 %18, 10
br i1 %19, label %20, label %24
20: ; preds = %17
%21 = load i32, ptr %2, align 4
%22 = load i32, ptr @EOF, align 4
%23 = icmp ne i32 %21, %22
br label %24
24: ; preds = %20, %17
%25 = phi i1 [ false, %17 ], [ %23, %20 ]
br i1 %25, label %26, label %27
26: ; preds = %24
br label %17, !llvm.loop !6
27: ; preds = %24
%28 = call i32 @printf(ptr noundef @.str.2)
%29 = load ptr, ptr %6, align 8
%30 = load ptr, ptr @stdin, align 8
%31 = call i64 @fgets(ptr noundef %29, i32 noundef 100, ptr noundef %30)
%32 = load ptr, ptr %6, align 8
%33 = call ptr @removeSpaces(ptr noundef %32)
store ptr %33, ptr %6, align 8
%34 = load ptr, ptr %6, align 8
%35 = call i32 @parseInput(ptr noundef %34, ptr noundef @.str.3)
br label %107
36: ; preds = %0
%37 = load i32, ptr %3, align 4
%38 = icmp eq i32 %37, 2
br i1 %38, label %39, label %104
39: ; preds = %36
br label %40
40: ; preds = %49, %39
%41 = call i32 (...) @getchar()
store i32 %41, ptr %2, align 4
%42 = icmp ne i32 %41, 10
br i1 %42, label %43, label %47
43: ; preds = %40
%44 = load i32, ptr %2, align 4
%45 = load i32, ptr @EOF, align 4
%46 = icmp ne i32 %44, %45
br label %47
47: ; preds = %43, %40
%48 = phi i1 [ false, %40 ], [ %46, %43 ]
br i1 %48, label %49, label %50
49: ; preds = %47
br label %40, !llvm.loop !8
50: ; preds = %47
%51 = call i32 @printf(ptr noundef @.str.4)
%52 = load ptr, ptr %5, align 8
%53 = load ptr, ptr @stdin, align 8
%54 = call i64 @fgets(ptr noundef %52, i32 noundef 100, ptr noundef %53)
%55 = load ptr, ptr %5, align 8
%56 = load ptr, ptr %5, align 8
%57 = call i32 @strlen(ptr noundef %56)
%58 = sub nsw i32 %57, 1
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i8, ptr %55, i64 %59
store i8 0, ptr %60, align 1
%61 = load ptr, ptr %5, align 8
%62 = call ptr @fopen(ptr noundef %61, ptr noundef @.str.5)
store ptr %62, ptr %7, align 8
%63 = load ptr, ptr %7, align 8
%64 = icmp eq ptr %63, null
br i1 %64, label %65, label %67
65: ; preds = %50
%66 = call i32 @perror(ptr noundef @.str.6)
store i32 2, ptr %1, align 4
br label %109
67: ; preds = %50
br label %68
68: ; preds = %101, %67
%69 = load ptr, ptr %7, align 8
%70 = call i32 @feof(ptr noundef %69)
%71 = icmp ne i32 %70, 0
%72 = xor i1 %71, true
br i1 %72, label %73, label %102
73: ; preds = %68
%74 = load ptr, ptr %6, align 8
%75 = load ptr, ptr %7, align 8
%76 = call i64 @fgets(ptr noundef %74, i32 noundef 100, ptr noundef %75)
%77 = icmp ne i64 %76, 0
br i1 %77, label %78, label %101
78: ; preds = %73
%79 = load ptr, ptr %6, align 8
%80 = load ptr, ptr %6, align 8
%81 = call i32 @strlen(ptr noundef %80)
%82 = sub nsw i32 %81, 1
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds i8, ptr %79, i64 %83
%85 = load i8, ptr %84, align 1
%86 = sext i8 %85 to i32
%87 = icmp eq i32 %86, 10
br i1 %87, label %88, label %95
88: ; preds = %78
%89 = load ptr, ptr %6, align 8
%90 = load ptr, ptr %6, align 8
%91 = call i32 @strlen(ptr noundef %90)
%92 = sub nsw i32 %91, 1
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds i8, ptr %89, i64 %93
store i8 0, ptr %94, align 1
br label %95
95: ; preds = %88, %78
%96 = load ptr, ptr %6, align 8
%97 = call ptr @removeSpaces(ptr noundef %96)
store ptr %97, ptr %6, align 8
%98 = load ptr, ptr %6, align 8
%99 = load ptr, ptr %5, align 8
%100 = call i32 @parseInput(ptr noundef %98, ptr noundef %99)
br label %101
101: ; preds = %95, %73
br label %68, !llvm.loop !9
102: ; preds = %68
br label %103
103: ; preds = %102
br label %106
104: ; preds = %36
%105 = call i32 @printf(ptr noundef @.str.7)
store i32 1, ptr %1, align 4
br label %109
106: ; preds = %103
br label %107
107: ; preds = %106, %27
%108 = call i32 @printf(ptr noundef @.str.8)
store i32 0, ptr %1, align 4
br label %109
109: ; preds = %107, %104, %65
%110 = load i32, ptr %1, align 4
ret i32 %110
}
declare i64 @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @getchar(...) #1
declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare ptr @removeSpaces(ptr noundef) #1
declare i32 @parseInput(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @feof(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp2ke4u00o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [47 x i8] c"Choose input source (1 = Keyboard, 2 = File): \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@EOF = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [58 x i8] c"\0AEnter an expression (use single letters for variables): \00", align 1
@stdin = dso_local global ptr null, align 8
@.str.3 = private unnamed_addr constant [11 x i8] c"output.txt\00", align 1
@.str.4 = private unnamed_addr constant [19 x i8] c"\0AEnter file path: \00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.6 = private unnamed_addr constant [68 x i8] c"Error opening file. Check that file exists and/or path is correct.\0A\00", align 1
@.str.7 = private unnamed_addr constant [15 x i8] c"Invalid input.\00", align 1
@.str.8 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%8 = call i64 @malloc(i32 noundef 100)
%9 = inttoptr i64 %8 to ptr
store ptr %9, ptr %5, align 8
%10 = call i64 @malloc(i32 noundef 100)
%11 = inttoptr i64 %10 to ptr
store ptr %11, ptr %6, align 8
%12 = call i32 @printf(ptr noundef @.str)
%13 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%14 = load i32, ptr %3, align 4
%15 = icmp eq i32 %14, 1
br i1 %15, label %16, label %35
16: ; preds = %0
br label %17
17: ; preds = %24, %16
%18 = call i32 (...) @getchar()
store i32 %18, ptr %2, align 4
%19 = icmp ne i32 %18, 10
br i1 %19, label %20, label %24
20: ; preds = %17
%21 = load i32, ptr %2, align 4
%22 = load i32, ptr @EOF, align 4
%23 = icmp ne i32 %21, %22
br label %24
24: ; preds = %20, %17
%25 = phi i1 [ false, %17 ], [ %23, %20 ]
br i1 %25, label %17, label %26, !llvm.loop !6
26: ; preds = %24
%27 = call i32 @printf(ptr noundef @.str.2)
%28 = load ptr, ptr %6, align 8
%29 = load ptr, ptr @stdin, align 8
%30 = call i64 @fgets(ptr noundef %28, i32 noundef 100, ptr noundef %29)
%31 = load ptr, ptr %6, align 8
%32 = call ptr @removeSpaces(ptr noundef %31)
store ptr %32, ptr %6, align 8
%33 = load ptr, ptr %6, align 8
%34 = call i32 @parseInput(ptr noundef %33, ptr noundef @.str.3)
br label %108
35: ; preds = %0
%36 = load i32, ptr %3, align 4
%37 = icmp eq i32 %36, 2
br i1 %37, label %38, label %105
38: ; preds = %35
br label %39
39: ; preds = %46, %38
%40 = call i32 (...) @getchar()
store i32 %40, ptr %2, align 4
%41 = icmp ne i32 %40, 10
br i1 %41, label %42, label %46
42: ; preds = %39
%43 = load i32, ptr %2, align 4
%44 = load i32, ptr @EOF, align 4
%45 = icmp ne i32 %43, %44
br label %46
46: ; preds = %42, %39
%47 = phi i1 [ false, %39 ], [ %45, %42 ]
br i1 %47, label %39, label %48, !llvm.loop !8
48: ; preds = %46
%49 = call i32 @printf(ptr noundef @.str.4)
%50 = load ptr, ptr %5, align 8
%51 = load ptr, ptr @stdin, align 8
%52 = call i64 @fgets(ptr noundef %50, i32 noundef 100, ptr noundef %51)
%53 = load ptr, ptr %5, align 8
%54 = load ptr, ptr %5, align 8
%55 = call i32 @strlen(ptr noundef %54)
%56 = sub nsw i32 %55, 1
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i8, ptr %53, i64 %57
store i8 0, ptr %58, align 1
%59 = load ptr, ptr %5, align 8
%60 = call ptr @fopen(ptr noundef %59, ptr noundef @.str.5)
store ptr %60, ptr %7, align 8
%61 = load ptr, ptr %7, align 8
%62 = icmp eq ptr %61, null
br i1 %62, label %63, label %65
63: ; preds = %48
%64 = call i32 @perror(ptr noundef @.str.6)
store i32 2, ptr %1, align 4
br label %110
65: ; preds = %48
%66 = load ptr, ptr %7, align 8
%67 = call i32 @feof(ptr noundef %66)
%68 = icmp ne i32 %67, 0
%69 = xor i1 %68, true
br i1 %69, label %.lr.ph, label %103
.lr.ph: ; preds = %65
br label %70
70: ; preds = %.lr.ph, %98
%71 = load ptr, ptr %6, align 8
%72 = load ptr, ptr %7, align 8
%73 = call i64 @fgets(ptr noundef %71, i32 noundef 100, ptr noundef %72)
%74 = icmp ne i64 %73, 0
br i1 %74, label %75, label %98
75: ; preds = %70
%76 = load ptr, ptr %6, align 8
%77 = load ptr, ptr %6, align 8
%78 = call i32 @strlen(ptr noundef %77)
%79 = sub nsw i32 %78, 1
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds i8, ptr %76, i64 %80
%82 = load i8, ptr %81, align 1
%83 = sext i8 %82 to i32
%84 = icmp eq i32 %83, 10
br i1 %84, label %85, label %92
85: ; preds = %75
%86 = load ptr, ptr %6, align 8
%87 = load ptr, ptr %6, align 8
%88 = call i32 @strlen(ptr noundef %87)
%89 = sub nsw i32 %88, 1
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds i8, ptr %86, i64 %90
store i8 0, ptr %91, align 1
br label %92
92: ; preds = %85, %75
%93 = load ptr, ptr %6, align 8
%94 = call ptr @removeSpaces(ptr noundef %93)
store ptr %94, ptr %6, align 8
%95 = load ptr, ptr %6, align 8
%96 = load ptr, ptr %5, align 8
%97 = call i32 @parseInput(ptr noundef %95, ptr noundef %96)
br label %98
98: ; preds = %92, %70
%99 = load ptr, ptr %7, align 8
%100 = call i32 @feof(ptr noundef %99)
%101 = icmp ne i32 %100, 0
%102 = xor i1 %101, true
br i1 %102, label %70, label %._crit_edge, !llvm.loop !9
._crit_edge: ; preds = %98
br label %103
103: ; preds = %._crit_edge, %65
br label %104
104: ; preds = %103
br label %107
105: ; preds = %35
%106 = call i32 @printf(ptr noundef @.str.7)
store i32 1, ptr %1, align 4
br label %110
107: ; preds = %104
br label %108
108: ; preds = %107, %26
%109 = call i32 @printf(ptr noundef @.str.8)
store i32 0, ptr %1, align 4
br label %110
110: ; preds = %108, %105, %63
%111 = load i32, ptr %1, align 4
ret i32 %111
}
declare i64 @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @getchar(...) #1
declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare ptr @removeSpaces(ptr noundef) #1
declare i32 @parseInput(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @feof(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpmu3e6e_z.c'
source_filename = "/tmp/tmpmu3e6e_z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rec_Tmss(double noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5) #0 {
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
store double %0, ptr %7, align 8
store double %1, ptr %8, align 8
store double %2, ptr %9, align 8
store double %3, ptr %10, align 8
store double %4, ptr %11, align 8
store double %5, ptr %12, align 8
%14 = load double, ptr %7, align 8
%15 = fcmp olt double %14, 1.000000e+00
br i1 %15, label %16, label %27
16: ; preds = %6
%17 = load double, ptr %7, align 8
%18 = call double @pow(double noundef %17, i32 noundef 0)
%19 = fsub double 1.000000e+00, %18
%20 = call double @pow(double noundef %19, i32 noundef 1)
%21 = fsub double 1.000000e+00, %20
%22 = fmul double 0x3FEFE640A6B93CCD, %21
store double %22, ptr %13, align 8
%23 = load double, ptr %13, align 8
%24 = fcmp ogt double %23, 1.000000e+00
br i1 %24, label %25, label %26
25: ; preds = %16
store double 1.000000e+00, ptr %13, align 8
br label %26
26: ; preds = %25, %16
br label %28
27: ; preds = %6
store double 1.000000e+00, ptr %13, align 8
br label %28
28: ; preds = %27, %26
%29 = load double, ptr %8, align 8
%30 = load double, ptr %9, align 8
%31 = fdiv double %30, 0x3B82912D18912EF2
%32 = load double, ptr %8, align 8
%33 = fdiv double %31, %32
%34 = load double, ptr %8, align 8
%35 = fdiv double %33, %34
%36 = load double, ptr %8, align 8
%37 = fdiv double %35, %36
%38 = load double, ptr %8, align 8
%39 = fdiv double %37, %38
%40 = load double, ptr %7, align 8
%41 = fadd double 1.000000e+00, %40
%42 = load double, ptr %10, align 8
%43 = fadd double %41, %42
%44 = fmul double %39, %43
%45 = load double, ptr %7, align 8
%46 = fdiv double %44, %45
%47 = fadd double 1.000000e+00, %46
%48 = fdiv double %29, %47
%49 = load double, ptr %13, align 8
%50 = fmul double 0x40BE38563023F6AA, %49
%51 = load double, ptr %11, align 8
%52 = fdiv double %50, %51
%53 = load double, ptr %12, align 8
%54 = fmul double %52, %53
%55 = load double, ptr %8, align 8
%56 = call double @pow(double noundef %55, i32 noundef 4)
%57 = fmul double 0x3B82912D18912EF2, %56
%58 = load double, ptr %7, align 8
%59 = fmul double %57, %58
%60 = fdiv double %54, %59
%61 = fadd double %48, %60
ret double %61
}
declare double @pow(double 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/tmpmu3e6e_z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rec_Tmss(double noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5) #0 {
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
store double %0, ptr %7, align 8
store double %1, ptr %8, align 8
store double %2, ptr %9, align 8
store double %3, ptr %10, align 8
store double %4, ptr %11, align 8
store double %5, ptr %12, align 8
%14 = load double, ptr %7, align 8
%15 = fcmp olt double %14, 1.000000e+00
br i1 %15, label %16, label %27
16: ; preds = %6
%17 = load double, ptr %7, align 8
%18 = call double @pow(double noundef %17, i32 noundef 0)
%19 = fsub double 1.000000e+00, %18
%20 = call double @pow(double noundef %19, i32 noundef 1)
%21 = fsub double 1.000000e+00, %20
%22 = fmul double 0x3FEFE640A6B93CCD, %21
store double %22, ptr %13, align 8
%23 = load double, ptr %13, align 8
%24 = fcmp ogt double %23, 1.000000e+00
br i1 %24, label %25, label %26
25: ; preds = %16
store double 1.000000e+00, ptr %13, align 8
br label %26
26: ; preds = %25, %16
br label %28
27: ; preds = %6
store double 1.000000e+00, ptr %13, align 8
br label %28
28: ; preds = %27, %26
%29 = load double, ptr %8, align 8
%30 = load double, ptr %9, align 8
%31 = fdiv double %30, 0x3B82912D18912EF2
%32 = load double, ptr %8, align 8
%33 = fdiv double %31, %32
%34 = load double, ptr %8, align 8
%35 = fdiv double %33, %34
%36 = load double, ptr %8, align 8
%37 = fdiv double %35, %36
%38 = load double, ptr %8, align 8
%39 = fdiv double %37, %38
%40 = load double, ptr %7, align 8
%41 = fadd double 1.000000e+00, %40
%42 = load double, ptr %10, align 8
%43 = fadd double %41, %42
%44 = fmul double %39, %43
%45 = load double, ptr %7, align 8
%46 = fdiv double %44, %45
%47 = fadd double 1.000000e+00, %46
%48 = fdiv double %29, %47
%49 = load double, ptr %13, align 8
%50 = fmul double 0x40BE38563023F6AA, %49
%51 = load double, ptr %11, align 8
%52 = fdiv double %50, %51
%53 = load double, ptr %12, align 8
%54 = fmul double %52, %53
%55 = load double, ptr %8, align 8
%56 = call double @pow(double noundef %55, i32 noundef 4)
%57 = fmul double 0x3B82912D18912EF2, %56
%58 = load double, ptr %7, align 8
%59 = fmul double %57, %58
%60 = fdiv double %54, %59
%61 = fadd double %48, %60
ret double %61
}
declare double @pow(double 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_mfavct8.c'
source_filename = "/tmp/tmp_mfavct8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_mfavct8.c"
target datalayout = "e-m:e-p270: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/tmpz7qj_pms.c'
source_filename = "/tmp/tmpz7qj_pms.c"
target datalayout = "e-m:e-p270: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 [53 x i8] c"[%s] Failed to allocate %zd bytes at %s line %u: %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @wrap_calloc(i64 noundef %0, i64 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) #0 {
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
store i64 %0, ptr %6, align 8
store i64 %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
store ptr %4, ptr %10, align 8
%12 = load i64, ptr %6, align 8
%13 = load i64, ptr %7, align 8
%14 = call ptr @calloc(i64 noundef %12, i64 noundef %13) #4
store ptr %14, ptr %11, align 8
%15 = load ptr, ptr %11, align 8
%16 = icmp eq ptr null, %15
br i1 %16, label %17, label %30
17: ; preds = %5
%18 = load i32, ptr @stderr, align 4
%19 = load ptr, ptr %10, align 8
%20 = load i64, ptr %6, align 8
%21 = load i64, ptr %7, align 8
%22 = mul i64 %20, %21
%23 = load ptr, ptr %8, align 8
%24 = load i32, ptr %9, align 4
%25 = load i32, ptr @errno, align 4
%26 = call i32 @strerror(i32 noundef %25)
%27 = call i32 @fprintf(i32 noundef %18, ptr noundef @.str, ptr noundef %19, i64 noundef %22, ptr noundef %23, i32 noundef %24, i32 noundef %26)
%28 = load i32, ptr @EXIT_FAILURE, align 4
%29 = call i32 @exit(i32 noundef %28) #5
unreachable
30: ; preds = %5
%31 = load ptr, ptr %11, align 8
ret ptr %31
}
; Function Attrs: allocsize(0,1)
declare ptr @calloc(i64 noundef, i64 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @strerror(i32 noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { allocsize(0,1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { allocsize(0,1) }
attributes #5 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpz7qj_pms.c"
target datalayout = "e-m:e-p270: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 [53 x i8] c"[%s] Failed to allocate %zd bytes at %s line %u: %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @wrap_calloc(i64 noundef %0, i64 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) #0 {
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
store i64 %0, ptr %6, align 8
store i64 %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
store ptr %4, ptr %10, align 8
%12 = load i64, ptr %6, align 8
%13 = load i64, ptr %7, align 8
%14 = call ptr @calloc(i64 noundef %12, i64 noundef %13) #4
store ptr %14, ptr %11, align 8
%15 = load ptr, ptr %11, align 8
%16 = icmp eq ptr null, %15
br i1 %16, label %17, label %30
17: ; preds = %5
%18 = load i32, ptr @stderr, align 4
%19 = load ptr, ptr %10, align 8
%20 = load i64, ptr %6, align 8
%21 = load i64, ptr %7, align 8
%22 = mul i64 %20, %21
%23 = load ptr, ptr %8, align 8
%24 = load i32, ptr %9, align 4
%25 = load i32, ptr @errno, align 4
%26 = call i32 @strerror(i32 noundef %25)
%27 = call i32 @fprintf(i32 noundef %18, ptr noundef @.str, ptr noundef %19, i64 noundef %22, ptr noundef %23, i32 noundef %24, i32 noundef %26)
%28 = load i32, ptr @EXIT_FAILURE, align 4
%29 = call i32 @exit(i32 noundef %28) #5
unreachable
30: ; preds = %5
%31 = load ptr, ptr %11, align 8
ret ptr %31
}
; Function Attrs: allocsize(0,1)
declare ptr @calloc(i64 noundef, i64 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @strerror(i32 noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { allocsize(0,1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { allocsize(0,1) }
attributes #5 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpi1w7ap15.c'
source_filename = "/tmp/tmpi1w7ap15.c"
target datalayout = "e-m:e-p270: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/tmpi1w7ap15.c"
target datalayout = "e-m:e-p270: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/tmp0ksg93gq.c'
source_filename = "/tmp/tmp0ksg93gq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SM2_sign_setup(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 %5, align 8
%10 = load ptr, ptr %6, align 8
%11 = load ptr, ptr %7, align 8
%12 = load ptr, ptr %8, align 8
%13 = call i32 @SM2_sign_setup(ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12)
ret i32 %13
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0ksg93gq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SM2_sign_setup(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 %5, align 8
%10 = load ptr, ptr %6, align 8
%11 = load ptr, ptr %7, align 8
%12 = load ptr, ptr %8, align 8
%13 = call i32 @SM2_sign_setup(ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12)
ret i32 %13
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppy_2hst_.c'
source_filename = "/tmp/tmppy_2hst_.c"
target datalayout = "e-m:e-p270: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/tmppy_2hst_.c"
target datalayout = "e-m:e-p270: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/tmp4m19_w59.c'
source_filename = "/tmp/tmp4m19_w59.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [55 x i8] c"Usage: CryptPasswords -s <string> | -u <userid> | -a\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [41 x i8] c"-s <string> : Encrypt the given string.\0A\00", align 1
@.str.2 = private unnamed_addr constant [56 x i8] c"-u <userid> : Encrypt the password for the given user.\0A\00", align 1
@.str.3 = private unnamed_addr constant [51 x i8] c"-a : Encrypt the password for all users.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printUsage(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @printf(ptr noundef @.str)
%4 = call i32 @printf(ptr noundef @.str.1)
%5 = call i32 @printf(ptr noundef @.str.2)
%6 = call i32 @printf(ptr noundef @.str.3)
%7 = load i32, ptr %2, align 4
%8 = call i32 @exit(i32 noundef %7) #3
unreachable
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4m19_w59.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [55 x i8] c"Usage: CryptPasswords -s <string> | -u <userid> | -a\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [41 x i8] c"-s <string> : Encrypt the given string.\0A\00", align 1
@.str.2 = private unnamed_addr constant [56 x i8] c"-u <userid> : Encrypt the password for the given user.\0A\00", align 1
@.str.3 = private unnamed_addr constant [51 x i8] c"-a : Encrypt the password for all users.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printUsage(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @printf(ptr noundef @.str)
%4 = call i32 @printf(ptr noundef @.str.1)
%5 = call i32 @printf(ptr noundef @.str.2)
%6 = call i32 @printf(ptr noundef @.str.3)
%7 = load i32, ptr %2, align 4
%8 = call i32 @exit(i32 noundef %7) #3
unreachable
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpclpf8jj7.c'
source_filename = "/tmp/tmpclpf8jj7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getime() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = call i32 @time(ptr noundef null)
store i32 %4, ptr %1, align 4
%5 = call ptr @localtime(ptr noundef %1)
store ptr %5, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call ptr @asctime(ptr noundef %6)
%8 = getelementptr inbounds i8, ptr %7, i64 11
store ptr %8, ptr %3, align 8
%9 = load ptr, ptr %3, align 8
%10 = load ptr, ptr %3, align 8
%11 = call i32 @strlen(ptr noundef %10)
%12 = sub nsw i32 %11, 6
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i8, ptr %9, i64 %13
store i8 0, ptr %14, align 1
%15 = load ptr, ptr %3, align 8
ret ptr %15
}
declare i32 @time(ptr noundef) #1
declare ptr @localtime(ptr noundef) #1
declare ptr @asctime(ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpclpf8jj7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getime() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = call i32 @time(ptr noundef null)
store i32 %4, ptr %1, align 4
%5 = call ptr @localtime(ptr noundef %1)
store ptr %5, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call ptr @asctime(ptr noundef %6)
%8 = getelementptr inbounds i8, ptr %7, i64 11
store ptr %8, ptr %3, align 8
%9 = load ptr, ptr %3, align 8
%10 = load ptr, ptr %3, align 8
%11 = call i32 @strlen(ptr noundef %10)
%12 = sub nsw i32 %11, 6
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i8, ptr %9, i64 %13
store i8 0, ptr %14, align 1
%15 = load ptr, ptr %3, align 8
ret ptr %15
}
declare i32 @time(ptr noundef) #1
declare ptr @localtime(ptr noundef) #1
declare ptr @asctime(ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpeez4u_uq.c'
source_filename = "/tmp/tmpeez4u_uq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EI_DATA = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [49 x i8] c" and does not have a valid machine archetecture\0A\00", align 1
@.str.1 = private unnamed_addr constant [34 x i8] c" in little endian 2's compiment.\0A\00", align 1
@.str.2 = private unnamed_addr constant [32 x i8] c" in big endian 2's compliment.\0A\00", align 1
@.str.3 = private unnamed_addr constant [35 x i8] c" and I need to look up 0x03 spec.\0A\00", align 1
@EI_VERSION = dso_local global i64 0, align 8
@.str.4 = private unnamed_addr constant [16 x i8] c"ELF Version 1.\0A\00", align 1
@.str.5 = private unnamed_addr constant [26 x i8] c"Target operating system: \00", align 1
@EI_OSABI = dso_local global i64 0, align 8
@.str.6 = private unnamed_addr constant [20 x i8] c"UNIX System V ABI.\0A\00", align 1
@.str.7 = private unnamed_addr constant [8 x i8] c"HP-UX.\0A\00", align 1
@.str.8 = private unnamed_addr constant [9 x i8] c"NetBSD.\0A\00", align 1
@.str.9 = private unnamed_addr constant [12 x i8] c"GNU/Linux.\0A\00", align 1
@.str.10 = private unnamed_addr constant [14 x i8] c"Sun Solaris.\0A\00", align 1
@.str.11 = private unnamed_addr constant [10 x i8] c"IBM AIX.\0A\00", align 1
@.str.12 = private unnamed_addr constant [11 x i8] c"SGI Irix.\0A\00", align 1
@.str.13 = private unnamed_addr constant [10 x i8] c"FreeBSD.\0A\00", align 1
@.str.14 = private unnamed_addr constant [20 x i8] c"Compaq TRU64 UNIX.\0A\00", align 1
@.str.15 = private unnamed_addr constant [17 x i8] c"Novell Modesto.\0A\00", align 1
@.str.16 = private unnamed_addr constant [10 x i8] c"OpenBSD.\0A\00", align 1
@.str.17 = private unnamed_addr constant [11 x i8] c"ARM EABI.\0A\00", align 1
@.str.18 = private unnamed_addr constant [6 x i8] c"ARM.\0A\00", align 1
@.str.19 = private unnamed_addr constant [35 x i8] c"Stanalone (embedded) application.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @parse_e_ident(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load i64, ptr @EI_DATA, align 8
%5 = getelementptr inbounds i8, ptr %3, i64 %4
%6 = load i8, ptr %5, align 1
%7 = zext i8 %6 to i32
switch i32 %7, label %16 [
i32 143, label %8
i32 145, label %10
i32 144, label %12
i32 142, label %14
]
8: ; preds = %1
%9 = call i32 @printf(ptr noundef @.str)
br label %16
10: ; preds = %1
%11 = call i32 @printf(ptr noundef @.str.1)
br label %16
12: ; preds = %1
%13 = call i32 @printf(ptr noundef @.str.2)
br label %16
14: ; preds = %1
%15 = call i32 @printf(ptr noundef @.str.3)
br label %16
16: ; preds = %1, %14, %12, %10, %8
%17 = load ptr, ptr %2, align 8
%18 = load i64, ptr @EI_VERSION, align 8
%19 = getelementptr inbounds i8, ptr %17, i64 %18
%20 = load i8, ptr %19, align 1
%21 = zext i8 %20 to i32
%22 = icmp eq i32 %21, 1
br i1 %22, label %23, label %25
23: ; preds = %16
%24 = call i32 @printf(ptr noundef @.str.4)
br label %25
25: ; preds = %23, %16
%26 = call i32 @printf(ptr noundef @.str.5)
%27 = load ptr, ptr %2, align 8
%28 = load i64, ptr @EI_OSABI, align 8
%29 = getelementptr inbounds i8, ptr %27, i64 %28
%30 = load i8, ptr %29, align 1
%31 = zext i8 %30 to i32
switch i32 %31, label %60 [
i32 132, label %32
i32 136, label %34
i32 133, label %36
i32 137, label %38
i32 130, label %40
i32 141, label %42
i32 135, label %44
i32 138, label %46
i32 128, label %48
i32 134, label %50
i32 131, label %52
i32 139, label %54
i32 140, label %56
i32 129, label %58
]
32: ; preds = %25
%33 = call i32 @printf(ptr noundef @.str.6)
br label %60
34: ; preds = %25
%35 = call i32 @printf(ptr noundef @.str.7)
br label %60
36: ; preds = %25
%37 = call i32 @printf(ptr noundef @.str.8)
br label %60
38: ; preds = %25
%39 = call i32 @printf(ptr noundef @.str.9)
br label %60
40: ; preds = %25
%41 = call i32 @printf(ptr noundef @.str.10)
br label %60
42: ; preds = %25
%43 = call i32 @printf(ptr noundef @.str.11)
br label %60
44: ; preds = %25
%45 = call i32 @printf(ptr noundef @.str.12)
br label %60
46: ; preds = %25
%47 = call i32 @printf(ptr noundef @.str.13)
br label %60
48: ; preds = %25
%49 = call i32 @printf(ptr noundef @.str.14)
br label %60
50: ; preds = %25
%51 = call i32 @printf(ptr noundef @.str.15)
br label %60
52: ; preds = %25
%53 = call i32 @printf(ptr noundef @.str.16)
br label %60
54: ; preds = %25
%55 = call i32 @printf(ptr noundef @.str.17)
br label %60
56: ; preds = %25
%57 = call i32 @printf(ptr noundef @.str.18)
br label %60
58: ; preds = %25
%59 = call i32 @printf(ptr noundef @.str.19)
br label %60
60: ; preds = %25, %58, %56, %54, %52, %50, %48, %46, %44, %42, %40, %38, %36, %34, %32
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpeez4u_uq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EI_DATA = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [49 x i8] c" and does not have a valid machine archetecture\0A\00", align 1
@.str.1 = private unnamed_addr constant [34 x i8] c" in little endian 2's compiment.\0A\00", align 1
@.str.2 = private unnamed_addr constant [32 x i8] c" in big endian 2's compliment.\0A\00", align 1
@.str.3 = private unnamed_addr constant [35 x i8] c" and I need to look up 0x03 spec.\0A\00", align 1
@EI_VERSION = dso_local global i64 0, align 8
@.str.4 = private unnamed_addr constant [16 x i8] c"ELF Version 1.\0A\00", align 1
@.str.5 = private unnamed_addr constant [26 x i8] c"Target operating system: \00", align 1
@EI_OSABI = dso_local global i64 0, align 8
@.str.6 = private unnamed_addr constant [20 x i8] c"UNIX System V ABI.\0A\00", align 1
@.str.7 = private unnamed_addr constant [8 x i8] c"HP-UX.\0A\00", align 1
@.str.8 = private unnamed_addr constant [9 x i8] c"NetBSD.\0A\00", align 1
@.str.9 = private unnamed_addr constant [12 x i8] c"GNU/Linux.\0A\00", align 1
@.str.10 = private unnamed_addr constant [14 x i8] c"Sun Solaris.\0A\00", align 1
@.str.11 = private unnamed_addr constant [10 x i8] c"IBM AIX.\0A\00", align 1
@.str.12 = private unnamed_addr constant [11 x i8] c"SGI Irix.\0A\00", align 1
@.str.13 = private unnamed_addr constant [10 x i8] c"FreeBSD.\0A\00", align 1
@.str.14 = private unnamed_addr constant [20 x i8] c"Compaq TRU64 UNIX.\0A\00", align 1
@.str.15 = private unnamed_addr constant [17 x i8] c"Novell Modesto.\0A\00", align 1
@.str.16 = private unnamed_addr constant [10 x i8] c"OpenBSD.\0A\00", align 1
@.str.17 = private unnamed_addr constant [11 x i8] c"ARM EABI.\0A\00", align 1
@.str.18 = private unnamed_addr constant [6 x i8] c"ARM.\0A\00", align 1
@.str.19 = private unnamed_addr constant [35 x i8] c"Stanalone (embedded) application.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @parse_e_ident(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load i64, ptr @EI_DATA, align 8
%5 = getelementptr inbounds i8, ptr %3, i64 %4
%6 = load i8, ptr %5, align 1
%7 = zext i8 %6 to i32
switch i32 %7, label %16 [
i32 143, label %8
i32 145, label %10
i32 144, label %12
i32 142, label %14
]
8: ; preds = %1
%9 = call i32 @printf(ptr noundef @.str)
br label %16
10: ; preds = %1
%11 = call i32 @printf(ptr noundef @.str.1)
br label %16
12: ; preds = %1
%13 = call i32 @printf(ptr noundef @.str.2)
br label %16
14: ; preds = %1
%15 = call i32 @printf(ptr noundef @.str.3)
br label %16
16: ; preds = %14, %12, %10, %8, %1
%17 = load ptr, ptr %2, align 8
%18 = load i64, ptr @EI_VERSION, align 8
%19 = getelementptr inbounds i8, ptr %17, i64 %18
%20 = load i8, ptr %19, align 1
%21 = zext i8 %20 to i32
%22 = icmp eq i32 %21, 1
br i1 %22, label %23, label %25
23: ; preds = %16
%24 = call i32 @printf(ptr noundef @.str.4)
br label %25
25: ; preds = %23, %16
%26 = call i32 @printf(ptr noundef @.str.5)
%27 = load ptr, ptr %2, align 8
%28 = load i64, ptr @EI_OSABI, align 8
%29 = getelementptr inbounds i8, ptr %27, i64 %28
%30 = load i8, ptr %29, align 1
%31 = zext i8 %30 to i32
switch i32 %31, label %60 [
i32 132, label %32
i32 136, label %34
i32 133, label %36
i32 137, label %38
i32 130, label %40
i32 141, label %42
i32 135, label %44
i32 138, label %46
i32 128, label %48
i32 134, label %50
i32 131, label %52
i32 139, label %54
i32 140, label %56
i32 129, label %58
]
32: ; preds = %25
%33 = call i32 @printf(ptr noundef @.str.6)
br label %60
34: ; preds = %25
%35 = call i32 @printf(ptr noundef @.str.7)
br label %60
36: ; preds = %25
%37 = call i32 @printf(ptr noundef @.str.8)
br label %60
38: ; preds = %25
%39 = call i32 @printf(ptr noundef @.str.9)
br label %60
40: ; preds = %25
%41 = call i32 @printf(ptr noundef @.str.10)
br label %60
42: ; preds = %25
%43 = call i32 @printf(ptr noundef @.str.11)
br label %60
44: ; preds = %25
%45 = call i32 @printf(ptr noundef @.str.12)
br label %60
46: ; preds = %25
%47 = call i32 @printf(ptr noundef @.str.13)
br label %60
48: ; preds = %25
%49 = call i32 @printf(ptr noundef @.str.14)
br label %60
50: ; preds = %25
%51 = call i32 @printf(ptr noundef @.str.15)
br label %60
52: ; preds = %25
%53 = call i32 @printf(ptr noundef @.str.16)
br label %60
54: ; preds = %25
%55 = call i32 @printf(ptr noundef @.str.17)
br label %60
56: ; preds = %25
%57 = call i32 @printf(ptr noundef @.str.18)
br label %60
58: ; preds = %25
%59 = call i32 @printf(ptr noundef @.str.19)
br label %60
60: ; preds = %58, %56, %54, %52, %50, %48, %46, %44, %42, %40, %38, %36, %34, %32, %25
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9yzf94th.c'
source_filename = "/tmp/tmp9yzf94th.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@RSA_PKCS1_PADDING = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @encrypt_buffer_with_key(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca [256 x i8], align 16
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%8 = load ptr, ptr %4, align 8
%9 = getelementptr inbounds i8, ptr %8, i64 0
%10 = load i8, ptr %9, align 1
%11 = sext i8 %10 to i32
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %14
13: ; preds = %2
br label %37
14: ; preds = %2
%15 = load ptr, ptr %4, align 8
%16 = call ptr @createRSA(ptr noundef %15, i32 noundef 1)
store ptr %16, ptr %5, align 8
%17 = load ptr, ptr %3, align 8
%18 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%19 = load ptr, ptr %5, align 8
%20 = load i32, ptr @RSA_PKCS1_PADDING, align 4
%21 = call i32 @RSA_public_encrypt(i32 noundef 256, ptr noundef %17, ptr noundef %18, ptr noundef %19, i32 noundef %20)
store i32 0, ptr %7, align 4
br label %22
22: ; preds = %34, %14
%23 = load i32, ptr %7, align 4
%24 = icmp slt i32 %23, 256
br i1 %24, label %25, label %37
25: ; preds = %22
%26 = load i32, ptr %7, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 %27
%29 = load i8, ptr %28, align 1
%30 = load ptr, ptr %3, align 8
%31 = load i32, ptr %7, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i8, ptr %30, i64 %32
store i8 %29, ptr %33, align 1
br label %34
34: ; preds = %25
%35 = load i32, ptr %7, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %7, align 4
br label %22, !llvm.loop !6
37: ; preds = %13, %22
ret void
}
declare ptr @createRSA(ptr noundef, i32 noundef) #1
declare i32 @RSA_public_encrypt(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9yzf94th.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@RSA_PKCS1_PADDING = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @encrypt_buffer_with_key(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca [256 x i8], align 16
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%8 = load ptr, ptr %4, align 8
%9 = getelementptr inbounds i8, ptr %8, i64 0
%10 = load i8, ptr %9, align 1
%11 = sext i8 %10 to i32
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %14
13: ; preds = %2
br label %38
14: ; preds = %2
%15 = load ptr, ptr %4, align 8
%16 = call ptr @createRSA(ptr noundef %15, i32 noundef 1)
store ptr %16, ptr %5, align 8
%17 = load ptr, ptr %3, align 8
%18 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%19 = load ptr, ptr %5, align 8
%20 = load i32, ptr @RSA_PKCS1_PADDING, align 4
%21 = call i32 @RSA_public_encrypt(i32 noundef 256, ptr noundef %17, ptr noundef %18, ptr noundef %19, i32 noundef %20)
store i32 0, ptr %7, align 4
%22 = load i32, ptr %7, align 4
%23 = icmp slt i32 %22, 256
br i1 %23, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %14
br label %24
24: ; preds = %.lr.ph, %33
%25 = load i32, ptr %7, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 %26
%28 = load i8, ptr %27, align 1
%29 = load ptr, ptr %3, align 8
%30 = load i32, ptr %7, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %29, i64 %31
store i8 %28, ptr %32, align 1
br label %33
33: ; preds = %24
%34 = load i32, ptr %7, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %7, align 4
%36 = load i32, ptr %7, align 4
%37 = icmp slt i32 %36, 256
br i1 %37, label %24, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %33
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %14
br label %38
38: ; preds = %.loopexit, %13
ret void
}
declare ptr @createRSA(ptr noundef, i32 noundef) #1
declare i32 @RSA_public_encrypt(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpfl2thqgu.c'
source_filename = "/tmp/tmpfl2thqgu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"Setting all low ... \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @shutdownChip() #0 {
%1 = call i32 @output(i32 noundef 1, ptr noundef @.str)
%2 = call i32 @gpioSet(i32 noundef 81, i32 noundef 0)
%3 = call i32 @gpioSet(i32 noundef 3, i32 noundef 0)
%4 = call i32 @gpioSet(i32 noundef 53, i32 noundef 0)
%5 = call i32 @gpioSet(i32 noundef 71, i32 noundef 0)
%6 = call i32 @gpioSet(i32 noundef 124, i32 noundef 0)
%7 = call i32 @gpioSet(i32 noundef 114, i32 noundef 0)
ret void
}
declare i32 @output(i32 noundef, ptr noundef) #1
declare i32 @gpioSet(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/tmpfl2thqgu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"Setting all low ... \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @shutdownChip() #0 {
%1 = call i32 @output(i32 noundef 1, ptr noundef @.str)
%2 = call i32 @gpioSet(i32 noundef 81, i32 noundef 0)
%3 = call i32 @gpioSet(i32 noundef 3, i32 noundef 0)
%4 = call i32 @gpioSet(i32 noundef 53, i32 noundef 0)
%5 = call i32 @gpioSet(i32 noundef 71, i32 noundef 0)
%6 = call i32 @gpioSet(i32 noundef 124, i32 noundef 0)
%7 = call i32 @gpioSet(i32 noundef 114, i32 noundef 0)
ret void
}
declare i32 @output(i32 noundef, ptr noundef) #1
declare i32 @gpioSet(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/tmpj_jtw7pt.c'
source_filename = "/tmp/tmpj_jtw7pt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [31 x i8] c"Unesite brojeve (0 za kraj): \0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [33 x i8] c"%d clana niza zadovoljava uslov.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %9
9: ; preds = %34, %0
%10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%11 = load i32, ptr %3, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %3, align 4
%13 = load i32, ptr %6, align 4
store i32 %13, ptr %7, align 4
%14 = load i32, ptr %5, align 4
store i32 %14, ptr %6, align 4
%15 = load i32, ptr %2, align 4
store i32 %15, ptr %5, align 4
%16 = load i32, ptr %3, align 4
%17 = icmp sge i32 %16, 3
br i1 %17, label %18, label %27
18: ; preds = %9
%19 = load i32, ptr %6, align 4
%20 = load i32, ptr %7, align 4
%21 = load i32, ptr %5, align 4
%22 = sub nsw i32 %20, %21
%23 = icmp eq i32 %19, %22
br i1 %23, label %24, label %27
24: ; preds = %18
%25 = load i32, ptr %4, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %4, align 4
br label %27
27: ; preds = %24, %18, %9
br label %28
28: ; preds = %27
%29 = load i32, ptr %3, align 4
%30 = icmp slt i32 %29, 3
br i1 %30, label %34, label %31
31: ; preds = %28
%32 = load i32, ptr %2, align 4
%33 = icmp ne i32 %32, 0
br label %34
34: ; preds = %31, %28
%35 = phi i1 [ true, %28 ], [ %33, %31 ]
br i1 %35, label %9, label %36, !llvm.loop !6
36: ; preds = %34
%37 = load i32, ptr %4, align 4
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %37)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj_jtw7pt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [31 x i8] c"Unesite brojeve (0 za kraj): \0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [33 x i8] c"%d clana niza zadovoljava uslov.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %9
9: ; preds = %34, %0
%10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%11 = load i32, ptr %3, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %3, align 4
%13 = load i32, ptr %6, align 4
store i32 %13, ptr %7, align 4
%14 = load i32, ptr %5, align 4
store i32 %14, ptr %6, align 4
%15 = load i32, ptr %2, align 4
store i32 %15, ptr %5, align 4
%16 = load i32, ptr %3, align 4
%17 = icmp sge i32 %16, 3
br i1 %17, label %18, label %27
18: ; preds = %9
%19 = load i32, ptr %6, align 4
%20 = load i32, ptr %7, align 4
%21 = load i32, ptr %5, align 4
%22 = sub nsw i32 %20, %21
%23 = icmp eq i32 %19, %22
br i1 %23, label %24, label %27
24: ; preds = %18
%25 = load i32, ptr %4, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %4, align 4
br label %27
27: ; preds = %24, %18, %9
br label %28
28: ; preds = %27
%29 = load i32, ptr %3, align 4
%30 = icmp slt i32 %29, 3
br i1 %30, label %34, label %31
31: ; preds = %28
%32 = load i32, ptr %2, align 4
%33 = icmp ne i32 %32, 0
br label %34
34: ; preds = %31, %28
%35 = phi i1 [ true, %28 ], [ %33, %31 ]
br i1 %35, label %9, label %36, !llvm.loop !6
36: ; preds = %34
%37 = load i32, ptr %4, align 4
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %37)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpja4qlg6l.c'
source_filename = "/tmp/tmpja4qlg6l.c"
target datalayout = "e-m:e-p270: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/tmpja4qlg6l.c"
target datalayout = "e-m:e-p270: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/tmpotcmoxl9.c'
source_filename = "/tmp/tmpotcmoxl9.c"
target datalayout = "e-m:e-p270: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/tmpotcmoxl9.c"
target datalayout = "e-m:e-p270: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/tmp4r1qo9mq.c'
source_filename = "/tmp/tmp4r1qo9mq.c"
target datalayout = "e-m:e-p270: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/tmp4r1qo9mq.c"
target datalayout = "e-m:e-p270: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/tmpwvxrren9.c'
source_filename = "/tmp/tmpwvxrren9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@M_PI = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @pure_sine(float noundef %0, float noundef %1, float noundef %2) #0 {
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca float, align 4
store float %0, ptr %4, align 4
store float %1, ptr %5, align 4
store float %2, ptr %6, align 4
%8 = load i32, ptr @M_PI, align 4
%9 = mul nsw i32 2, %8
%10 = sitofp i32 %9 to float
%11 = load float, ptr %4, align 4
%12 = fmul float %10, %11
%13 = load float, ptr %6, align 4
%14 = fmul float %12, %13
store float %14, ptr %7, align 4
%15 = load float, ptr %5, align 4
%16 = load float, ptr %7, align 4
%17 = call float @sin(float noundef %16)
%18 = fmul float %15, %17
ret float %18
}
declare float @sin(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwvxrren9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@M_PI = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @pure_sine(float noundef %0, float noundef %1, float noundef %2) #0 {
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca float, align 4
store float %0, ptr %4, align 4
store float %1, ptr %5, align 4
store float %2, ptr %6, align 4
%8 = load i32, ptr @M_PI, align 4
%9 = mul nsw i32 2, %8
%10 = sitofp i32 %9 to float
%11 = load float, ptr %4, align 4
%12 = fmul float %10, %11
%13 = load float, ptr %6, align 4
%14 = fmul float %12, %13
store float %14, ptr %7, align 4
%15 = load float, ptr %5, align 4
%16 = load float, ptr %7, align 4
%17 = call float @sin(float noundef %16)
%18 = fmul float %15, %17
ret float %18
}
declare float @sin(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpj4hxwteb.c'
source_filename = "/tmp/tmpj4hxwteb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pdgstrf_SetRWork(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%13 = call i32 @sp_ienv(i32 noundef 3)
store i32 %13, ptr %11, align 4
%14 = call i32 @sp_ienv(i32 noundef 4)
store i32 %14, ptr %12, align 4
%15 = load ptr, ptr %8, align 8
%16 = load ptr, ptr %9, align 8
store ptr %15, ptr %16, align 8
%17 = load ptr, ptr %9, align 8
%18 = load ptr, ptr %17, align 8
%19 = load i32, ptr %7, align 4
%20 = load i32, ptr %6, align 4
%21 = mul nsw i32 %19, %20
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds double, ptr %18, i64 %22
%24 = load ptr, ptr %10, align 8
store ptr %23, ptr %24, align 8
%25 = load ptr, ptr %9, align 8
%26 = load ptr, ptr %25, align 8
%27 = load i32, ptr %6, align 4
%28 = load i32, ptr %7, align 4
%29 = mul nsw i32 %27, %28
%30 = call i32 @dfill(ptr noundef %26, i32 noundef %29, double noundef 0.000000e+00)
%31 = load ptr, ptr %10, align 8
%32 = load ptr, ptr %31, align 8
%33 = load i32, ptr %6, align 4
%34 = mul nsw i32 2, %33
%35 = load i32, ptr %11, align 4
%36 = load i32, ptr %12, align 4
%37 = add nsw i32 %35, %36
%38 = load i32, ptr %7, align 4
%39 = mul nsw i32 %37, %38
%40 = icmp sgt i32 %34, %39
br i1 %40, label %41, label %44
41: ; preds = %5
%42 = load i32, ptr %6, align 4
%43 = mul nsw i32 2, %42
br label %50
44: ; preds = %5
%45 = load i32, ptr %11, align 4
%46 = load i32, ptr %12, align 4
%47 = add nsw i32 %45, %46
%48 = load i32, ptr %7, align 4
%49 = mul nsw i32 %47, %48
br label %50
50: ; preds = %44, %41
%51 = phi i32 [ %43, %41 ], [ %49, %44 ]
%52 = call i32 @dfill(ptr noundef %32, i32 noundef %51, double noundef 0.000000e+00)
ret void
}
declare i32 @sp_ienv(i32 noundef) #1
declare i32 @dfill(ptr noundef, i32 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj4hxwteb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pdgstrf_SetRWork(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%13 = call i32 @sp_ienv(i32 noundef 3)
store i32 %13, ptr %11, align 4
%14 = call i32 @sp_ienv(i32 noundef 4)
store i32 %14, ptr %12, align 4
%15 = load ptr, ptr %8, align 8
%16 = load ptr, ptr %9, align 8
store ptr %15, ptr %16, align 8
%17 = load ptr, ptr %9, align 8
%18 = load ptr, ptr %17, align 8
%19 = load i32, ptr %7, align 4
%20 = load i32, ptr %6, align 4
%21 = mul nsw i32 %19, %20
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds double, ptr %18, i64 %22
%24 = load ptr, ptr %10, align 8
store ptr %23, ptr %24, align 8
%25 = load ptr, ptr %9, align 8
%26 = load ptr, ptr %25, align 8
%27 = load i32, ptr %6, align 4
%28 = load i32, ptr %7, align 4
%29 = mul nsw i32 %27, %28
%30 = call i32 @dfill(ptr noundef %26, i32 noundef %29, double noundef 0.000000e+00)
%31 = load ptr, ptr %10, align 8
%32 = load ptr, ptr %31, align 8
%33 = load i32, ptr %6, align 4
%34 = mul nsw i32 2, %33
%35 = load i32, ptr %11, align 4
%36 = load i32, ptr %12, align 4
%37 = add nsw i32 %35, %36
%38 = load i32, ptr %7, align 4
%39 = mul nsw i32 %37, %38
%40 = icmp sgt i32 %34, %39
br i1 %40, label %41, label %44
41: ; preds = %5
%42 = load i32, ptr %6, align 4
%43 = mul nsw i32 2, %42
br label %50
44: ; preds = %5
%45 = load i32, ptr %11, align 4
%46 = load i32, ptr %12, align 4
%47 = add nsw i32 %45, %46
%48 = load i32, ptr %7, align 4
%49 = mul nsw i32 %47, %48
br label %50
50: ; preds = %44, %41
%51 = phi i32 [ %43, %41 ], [ %49, %44 ]
%52 = call i32 @dfill(ptr noundef %32, i32 noundef %51, double noundef 0.000000e+00)
ret void
}
declare i32 @sp_ienv(i32 noundef) #1
declare i32 @dfill(ptr noundef, i32 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"}
|
; ModuleID = '/tmp/tmp8e914z54.c'
source_filename = "/tmp/tmp8e914z54.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [41 x i8] c"error: the argument of my_atoi is NULL!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @my_atoll(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca i8, align 1
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %11
8: ; preds = %1
%9 = call i32 @printf(ptr noundef @.str)
%10 = call i32 @exit(i32 noundef 0) #3
unreachable
11: ; preds = %1
store i64 0, ptr %3, align 8
store i8 43, ptr %4, align 1
%12 = load ptr, ptr %2, align 8
store ptr %12, ptr %5, align 8
br label %13
13: ; preds = %18, %11
%14 = load ptr, ptr %5, align 8
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp eq i32 %16, 32
br i1 %17, label %18, label %21
18: ; preds = %13
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds i8, ptr %19, i32 1
store ptr %20, ptr %5, align 8
br label %13, !llvm.loop !6
21: ; preds = %13
%22 = load ptr, ptr %5, align 8
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp eq i32 %24, 43
br i1 %25, label %31, label %26
26: ; preds = %21
%27 = load ptr, ptr %5, align 8
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = icmp eq i32 %29, 45
br i1 %30, label %31, label %35
31: ; preds = %26, %21
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds i8, ptr %32, i32 1
store ptr %33, ptr %5, align 8
%34 = load i8, ptr %32, align 1
store i8 %34, ptr %4, align 1
br label %35
35: ; preds = %31, %26
br label %36
36: ; preds = %48, %35
%37 = load ptr, ptr %5, align 8
%38 = load i8, ptr %37, align 1
%39 = sext i8 %38 to i32
%40 = icmp sge i32 %39, 48
br i1 %40, label %41, label %46
41: ; preds = %36
%42 = load ptr, ptr %5, align 8
%43 = load i8, ptr %42, align 1
%44 = sext i8 %43 to i32
%45 = icmp sle i32 %44, 57
br label %46
46: ; preds = %41, %36
%47 = phi i1 [ false, %36 ], [ %45, %41 ]
br i1 %47, label %48, label %58
48: ; preds = %46
%49 = load i64, ptr %3, align 8
%50 = mul nsw i64 %49, 10
%51 = load ptr, ptr %5, align 8
%52 = load i8, ptr %51, align 1
%53 = sext i8 %52 to i64
%54 = add nsw i64 %50, %53
%55 = sub nsw i64 %54, 48
store i64 %55, ptr %3, align 8
%56 = load ptr, ptr %5, align 8
%57 = getelementptr inbounds i8, ptr %56, i32 1
store ptr %57, ptr %5, align 8
br label %36, !llvm.loop !8
58: ; preds = %46
%59 = load i8, ptr %4, align 1
%60 = sext i8 %59 to i32
%61 = icmp eq i32 %60, 45
br i1 %61, label %62, label %65
62: ; preds = %58
%63 = load i64, ptr %3, align 8
%64 = sub nsw i64 0, %63
br label %67
65: ; preds = %58
%66 = load i64, ptr %3, align 8
br label %67
67: ; preds = %65, %62
%68 = phi i64 [ %64, %62 ], [ %66, %65 ]
ret i64 %68
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8e914z54.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [41 x i8] c"error: the argument of my_atoi is NULL!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @my_atoll(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca i8, align 1
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %11
8: ; preds = %1
%9 = call i32 @printf(ptr noundef @.str)
%10 = call i32 @exit(i32 noundef 0) #3
unreachable
11: ; preds = %1
store i64 0, ptr %3, align 8
store i8 43, ptr %4, align 1
%12 = load ptr, ptr %2, align 8
store ptr %12, ptr %5, align 8
%13 = load ptr, ptr %5, align 8
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp eq i32 %15, 32
br i1 %16, label %.lr.ph, label %24
.lr.ph: ; preds = %11
br label %17
17: ; preds = %.lr.ph, %17
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds i8, ptr %18, i32 1
store ptr %19, ptr %5, align 8
%20 = load ptr, ptr %5, align 8
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp eq i32 %22, 32
br i1 %23, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %24
24: ; preds = %._crit_edge, %11
%25 = load ptr, ptr %5, align 8
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp eq i32 %27, 43
br i1 %28, label %34, label %29
29: ; preds = %24
%30 = load ptr, ptr %5, align 8
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = icmp eq i32 %32, 45
br i1 %33, label %34, label %38
34: ; preds = %29, %24
%35 = load ptr, ptr %5, align 8
%36 = getelementptr inbounds i8, ptr %35, i32 1
store ptr %36, ptr %5, align 8
%37 = load i8, ptr %35, align 1
store i8 %37, ptr %4, align 1
br label %38
38: ; preds = %34, %29
br label %39
39: ; preds = %51, %38
%40 = load ptr, ptr %5, align 8
%41 = load i8, ptr %40, align 1
%42 = sext i8 %41 to i32
%43 = icmp sge i32 %42, 48
br i1 %43, label %44, label %49
44: ; preds = %39
%45 = load ptr, ptr %5, align 8
%46 = load i8, ptr %45, align 1
%47 = sext i8 %46 to i32
%48 = icmp sle i32 %47, 57
br label %49
49: ; preds = %44, %39
%50 = phi i1 [ false, %39 ], [ %48, %44 ]
br i1 %50, label %51, label %61
51: ; preds = %49
%52 = load i64, ptr %3, align 8
%53 = mul nsw i64 %52, 10
%54 = load ptr, ptr %5, align 8
%55 = load i8, ptr %54, align 1
%56 = sext i8 %55 to i64
%57 = add nsw i64 %53, %56
%58 = sub nsw i64 %57, 48
store i64 %58, ptr %3, align 8
%59 = load ptr, ptr %5, align 8
%60 = getelementptr inbounds i8, ptr %59, i32 1
store ptr %60, ptr %5, align 8
br label %39, !llvm.loop !8
61: ; preds = %49
%62 = load i8, ptr %4, align 1
%63 = sext i8 %62 to i32
%64 = icmp eq i32 %63, 45
br i1 %64, label %65, label %68
65: ; preds = %61
%66 = load i64, ptr %3, align 8
%67 = sub nsw i64 0, %66
br label %70
68: ; preds = %61
%69 = load i64, ptr %3, align 8
br label %70
70: ; preds = %68, %65
%71 = phi i64 [ %67, %65 ], [ %69, %68 ]
ret i64 %71
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp1dbghmbs.c'
source_filename = "/tmp/tmp1dbghmbs.c"
target datalayout = "e-m:e-p270: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/tmp1dbghmbs.c"
target datalayout = "e-m:e-p270: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/tmpvueapj56.c'
source_filename = "/tmp/tmpvueapj56.c"
target datalayout = "e-m:e-p270: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/tmpvueapj56.c"
target datalayout = "e-m:e-p270: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/tmpzusnjsuz.c'
source_filename = "/tmp/tmpzusnjsuz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ZFEAST_HBEV(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, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15) #0 {
%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 ptr, align 8
%24 = alloca ptr, align 8
%25 = alloca ptr, align 8
%26 = alloca ptr, align 8
%27 = alloca ptr, align 8
%28 = alloca ptr, align 8
%29 = alloca ptr, align 8
%30 = alloca ptr, align 8
%31 = alloca ptr, align 8
%32 = alloca ptr, align 8
store ptr %0, ptr %17, align 8
store ptr %1, ptr %18, align 8
store ptr %2, ptr %19, align 8
store ptr %3, ptr %20, align 8
store ptr %4, ptr %21, align 8
store ptr %5, ptr %22, align 8
store ptr %6, ptr %23, align 8
store ptr %7, ptr %24, align 8
store ptr %8, ptr %25, align 8
store ptr %9, ptr %26, align 8
store ptr %10, ptr %27, align 8
store ptr %11, ptr %28, align 8
store ptr %12, ptr %29, align 8
store ptr %13, ptr %30, align 8
store ptr %14, ptr %31, align 8
store ptr %15, ptr %32, align 8
%33 = load ptr, ptr %17, align 8
%34 = load ptr, ptr %18, align 8
%35 = load ptr, ptr %19, align 8
%36 = load ptr, ptr %20, align 8
%37 = load ptr, ptr %21, align 8
%38 = load ptr, ptr %22, align 8
%39 = load ptr, ptr %23, align 8
%40 = load ptr, ptr %24, align 8
%41 = load ptr, ptr %25, align 8
%42 = load ptr, ptr %26, align 8
%43 = load ptr, ptr %27, align 8
%44 = load ptr, ptr %28, align 8
%45 = load ptr, ptr %29, align 8
%46 = load ptr, ptr %30, align 8
%47 = load ptr, ptr %31, align 8
%48 = load ptr, ptr %32, align 8
%49 = call i32 @zfeast_hbev_(ptr noundef %33, ptr noundef %34, ptr noundef %35, ptr noundef %36, ptr noundef %37, ptr noundef %38, ptr noundef %39, ptr noundef %40, ptr noundef %41, ptr noundef %42, ptr noundef %43, ptr noundef %44, ptr noundef %45, ptr noundef %46, ptr noundef %47, ptr noundef %48)
ret void
}
declare i32 @zfeast_hbev_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr 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/tmpzusnjsuz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ZFEAST_HBEV(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, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15) #0 {
%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 ptr, align 8
%24 = alloca ptr, align 8
%25 = alloca ptr, align 8
%26 = alloca ptr, align 8
%27 = alloca ptr, align 8
%28 = alloca ptr, align 8
%29 = alloca ptr, align 8
%30 = alloca ptr, align 8
%31 = alloca ptr, align 8
%32 = alloca ptr, align 8
store ptr %0, ptr %17, align 8
store ptr %1, ptr %18, align 8
store ptr %2, ptr %19, align 8
store ptr %3, ptr %20, align 8
store ptr %4, ptr %21, align 8
store ptr %5, ptr %22, align 8
store ptr %6, ptr %23, align 8
store ptr %7, ptr %24, align 8
store ptr %8, ptr %25, align 8
store ptr %9, ptr %26, align 8
store ptr %10, ptr %27, align 8
store ptr %11, ptr %28, align 8
store ptr %12, ptr %29, align 8
store ptr %13, ptr %30, align 8
store ptr %14, ptr %31, align 8
store ptr %15, ptr %32, align 8
%33 = load ptr, ptr %17, align 8
%34 = load ptr, ptr %18, align 8
%35 = load ptr, ptr %19, align 8
%36 = load ptr, ptr %20, align 8
%37 = load ptr, ptr %21, align 8
%38 = load ptr, ptr %22, align 8
%39 = load ptr, ptr %23, align 8
%40 = load ptr, ptr %24, align 8
%41 = load ptr, ptr %25, align 8
%42 = load ptr, ptr %26, align 8
%43 = load ptr, ptr %27, align 8
%44 = load ptr, ptr %28, align 8
%45 = load ptr, ptr %29, align 8
%46 = load ptr, ptr %30, align 8
%47 = load ptr, ptr %31, align 8
%48 = load ptr, ptr %32, align 8
%49 = call i32 @zfeast_hbev_(ptr noundef %33, ptr noundef %34, ptr noundef %35, ptr noundef %36, ptr noundef %37, ptr noundef %38, ptr noundef %39, ptr noundef %40, ptr noundef %41, ptr noundef %42, ptr noundef %43, ptr noundef %44, ptr noundef %45, ptr noundef %46, ptr noundef %47, ptr noundef %48)
ret void
}
declare i32 @zfeast_hbev_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr 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/tmpxaaethpk.c'
source_filename = "/tmp/tmpxaaethpk.c"
target datalayout = "e-m:e-p270: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/tmpxaaethpk.c"
target datalayout = "e-m:e-p270: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/tmpic1t7lvj.c'
source_filename = "/tmp/tmpic1t7lvj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@.str = private unnamed_addr constant [20 x i8] c"find_union failed:\0A\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"Couldent stat path: \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @mkfsid(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca %struct.stat, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
store ptr null, ptr %6, align 8
store ptr null, ptr %7, align 8
%9 = call i32 @memset(ptr noundef %8, i32 noundef 0, i32 noundef 4)
%10 = load ptr, ptr %3, align 8
%11 = call i32 @find_union(ptr noundef %10, ptr noundef %7, ptr noundef %6, i32 noundef 0)
store i32 %11, ptr %5, align 4
%12 = load i32, ptr %5, align 4
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %2
%15 = call i32 @printf(ptr noundef @.str)
br label %28
16: ; preds = %2
%17 = load ptr, ptr %6, align 8
%18 = call i32 @stat(ptr noundef %17, ptr noundef %8)
store i32 %18, ptr %5, align 4
%19 = load i32, ptr %5, align 4
%20 = icmp ne i32 %19, 0
br i1 %20, label %21, label %23
21: ; preds = %16
%22 = call i32 @perror(ptr noundef @.str.1)
br label %28
23: ; preds = %16
%24 = getelementptr inbounds %struct.stat, ptr %8, i32 0, i32 0
%25 = load i32, ptr %24, align 4
%26 = load ptr, ptr %4, align 8
%27 = call i32 @fillfsid(i32 noundef %25, ptr noundef %26)
br label %28
28: ; preds = %23, %21, %14
%29 = load i32, ptr %5, align 4
ret i32 %29
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @find_union(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @stat(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @fillfsid(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/tmpic1t7lvj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@.str = private unnamed_addr constant [20 x i8] c"find_union failed:\0A\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"Couldent stat path: \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @mkfsid(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca %struct.stat, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
store ptr null, ptr %6, align 8
store ptr null, ptr %7, align 8
%9 = call i32 @memset(ptr noundef %8, i32 noundef 0, i32 noundef 4)
%10 = load ptr, ptr %3, align 8
%11 = call i32 @find_union(ptr noundef %10, ptr noundef %7, ptr noundef %6, i32 noundef 0)
store i32 %11, ptr %5, align 4
%12 = load i32, ptr %5, align 4
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %2
%15 = call i32 @printf(ptr noundef @.str)
br label %28
16: ; preds = %2
%17 = load ptr, ptr %6, align 8
%18 = call i32 @stat(ptr noundef %17, ptr noundef %8)
store i32 %18, ptr %5, align 4
%19 = load i32, ptr %5, align 4
%20 = icmp ne i32 %19, 0
br i1 %20, label %21, label %23
21: ; preds = %16
%22 = call i32 @perror(ptr noundef @.str.1)
br label %28
23: ; preds = %16
%24 = getelementptr inbounds %struct.stat, ptr %8, i32 0, i32 0
%25 = load i32, ptr %24, align 4
%26 = load ptr, ptr %4, align 8
%27 = call i32 @fillfsid(i32 noundef %25, ptr noundef %26)
br label %28
28: ; preds = %23, %21, %14
%29 = load i32, ptr %5, align 4
ret i32 %29
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @find_union(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @stat(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @fillfsid(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/tmp0ke9n8q4.c'
source_filename = "/tmp/tmp0ke9n8q4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gint2_nai_cF_pD(ptr noundef %0, double noundef %1, ptr noundef %2, double noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca double, align 8
%9 = alloca ptr, align 8
%10 = alloca double, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
store ptr %0, ptr %7, align 8
store double %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store double %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%15 = load ptr, ptr %7, align 8
%16 = load double, ptr %8, align 8
%17 = load ptr, ptr %9, align 8
%18 = load double, ptr %10, align 8
%19 = load ptr, ptr %11, align 8
%20 = load ptr, ptr %12, align 8
%21 = call i32 @gint2_nai_cF_cD(ptr noundef %15, double noundef %16, ptr noundef %17, double noundef %18, ptr noundef %19, ptr noundef %20)
%22 = load ptr, ptr %12, align 8
%23 = getelementptr inbounds double, ptr %22, i64 2
%24 = load double, ptr %23, align 8
store double %24, ptr %13, align 8
%25 = load ptr, ptr %12, align 8
%26 = getelementptr inbounds double, ptr %25, i64 4
%27 = load double, ptr %26, align 8
%28 = load ptr, ptr %12, align 8
%29 = getelementptr inbounds double, ptr %28, i64 2
store double %27, ptr %29, align 8
%30 = load ptr, ptr %12, align 8
%31 = getelementptr inbounds double, ptr %30, i64 5
%32 = load double, ptr %31, align 8
%33 = load ptr, ptr %12, align 8
%34 = getelementptr inbounds double, ptr %33, i64 0
%35 = load double, ptr %34, align 8
%36 = call double @llvm.fmuladd.f64(double -5.000000e-01, double %35, double %32)
%37 = load ptr, ptr %12, align 8
%38 = getelementptr inbounds double, ptr %37, i64 3
%39 = load double, ptr %38, align 8
%40 = call double @llvm.fmuladd.f64(double -5.000000e-01, double %39, double %36)
store double %40, ptr %14, align 8
%41 = load ptr, ptr %12, align 8
%42 = getelementptr inbounds double, ptr %41, i64 0
%43 = load double, ptr %42, align 8
%44 = load ptr, ptr %12, align 8
%45 = getelementptr inbounds double, ptr %44, i64 3
%46 = load double, ptr %45, align 8
%47 = fmul double 0x3FEBB67AE8584CAE, %46
%48 = fneg double %47
%49 = call double @llvm.fmuladd.f64(double 0x3FEBB67AE8584CAE, double %43, double %48)
%50 = load ptr, ptr %12, align 8
%51 = getelementptr inbounds double, ptr %50, i64 3
store double %49, ptr %51, align 8
%52 = load double, ptr %14, align 8
%53 = load ptr, ptr %12, align 8
%54 = getelementptr inbounds double, ptr %53, i64 0
store double %52, ptr %54, align 8
%55 = load ptr, ptr %12, align 8
%56 = getelementptr inbounds double, ptr %55, i64 1
%57 = load double, ptr %56, align 8
%58 = load ptr, ptr %12, align 8
%59 = getelementptr inbounds double, ptr %58, i64 4
store double %57, ptr %59, align 8
%60 = load double, ptr %13, align 8
%61 = load ptr, ptr %12, align 8
%62 = getelementptr inbounds double, ptr %61, i64 1
store double %60, ptr %62, align 8
%63 = load ptr, ptr %12, align 8
%64 = getelementptr inbounds double, ptr %63, i64 11
%65 = load double, ptr %64, align 8
%66 = load ptr, ptr %12, align 8
%67 = getelementptr inbounds double, ptr %66, i64 6
%68 = load double, ptr %67, align 8
%69 = call double @llvm.fmuladd.f64(double -5.000000e-01, double %68, double %65)
%70 = load ptr, ptr %12, align 8
%71 = getelementptr inbounds double, ptr %70, i64 9
%72 = load double, ptr %71, align 8
%73 = call double @llvm.fmuladd.f64(double -5.000000e-01, double %72, double %69)
%74 = load ptr, ptr %12, align 8
%75 = getelementptr inbounds double, ptr %74, i64 5
store double %73, ptr %75, align 8
%76 = load ptr, ptr %12, align 8
%77 = getelementptr inbounds double, ptr %76, i64 8
%78 = load double, ptr %77, align 8
store double %78, ptr %14, align 8
%79 = load ptr, ptr %12, align 8
%80 = getelementptr inbounds double, ptr %79, i64 6
%81 = load double, ptr %80, align 8
%82 = load ptr, ptr %12, align 8
%83 = getelementptr inbounds double, ptr %82, i64 9
%84 = load double, ptr %83, align 8
%85 = fmul double 0x3FEBB67AE8584CAE, %84
%86 = fneg double %85
%87 = call double @llvm.fmuladd.f64(double 0x3FEBB67AE8584CAE, double %81, double %86)
%88 = load ptr, ptr %12, align 8
%89 = getelementptr inbounds double, ptr %88, i64 8
store double %87, ptr %89, align 8
%90 = load double, ptr %14, align 8
%91 = load ptr, ptr %12, align 8
%92 = getelementptr inbounds double, ptr %91, i64 6
store double %90, ptr %92, align 8
%93 = load ptr, ptr %12, align 8
%94 = getelementptr inbounds double, ptr %93, i64 7
%95 = load double, ptr %94, align 8
%96 = load ptr, ptr %12, align 8
%97 = getelementptr inbounds double, ptr %96, i64 9
store double %95, ptr %97, align 8
%98 = load ptr, ptr %12, align 8
%99 = getelementptr inbounds double, ptr %98, i64 10
%100 = load double, ptr %99, align 8
%101 = load ptr, ptr %12, align 8
%102 = getelementptr inbounds double, ptr %101, i64 7
store double %100, ptr %102, align 8
%103 = load ptr, ptr %12, align 8
%104 = getelementptr inbounds double, ptr %103, i64 17
%105 = load double, ptr %104, align 8
%106 = load ptr, ptr %12, align 8
%107 = getelementptr inbounds double, ptr %106, i64 12
%108 = load double, ptr %107, align 8
%109 = call double @llvm.fmuladd.f64(double -5.000000e-01, double %108, double %105)
%110 = load ptr, ptr %12, align 8
%111 = getelementptr inbounds double, ptr %110, i64 15
%112 = load double, ptr %111, align 8
%113 = call double @llvm.fmuladd.f64(double -5.000000e-01, double %112, double %109)
%114 = load ptr, ptr %12, align 8
%115 = getelementptr inbounds double, ptr %114, i64 10
store double %113, ptr %115, align 8
%116 = load ptr, ptr %12, align 8
%117 = getelementptr inbounds double, ptr %116, i64 14
%118 = load double, ptr %117, align 8
%119 = load ptr, ptr %12, align 8
%120 = getelementptr inbounds double, ptr %119, i64 11
store double %118, ptr %120, align 8
%121 = load ptr, ptr %12, align 8
%122 = getelementptr inbounds double, ptr %121, i64 12
%123 = load double, ptr %122, align 8
%124 = load ptr, ptr %12, align 8
%125 = getelementptr inbounds double, ptr %124, i64 15
%126 = load double, ptr %125, align 8
%127 = fmul double 0x3FEBB67AE8584CAE, %126
%128 = fneg double %127
%129 = call double @llvm.fmuladd.f64(double 0x3FEBB67AE8584CAE, double %123, double %128)
store double %129, ptr %13, align 8
%130 = load ptr, ptr %12, align 8
%131 = getelementptr inbounds double, ptr %130, i64 16
%132 = load double, ptr %131, align 8
%133 = load ptr, ptr %12, align 8
%134 = getelementptr inbounds double, ptr %133, i64 12
store double %132, ptr %134, align 8
%135 = load ptr, ptr %12, align 8
%136 = getelementptr inbounds double, ptr %135, i64 13
%137 = load double, ptr %136, align 8
%138 = load ptr, ptr %12, align 8
%139 = getelementptr inbounds double, ptr %138, i64 14
store double %137, ptr %139, align 8
%140 = load double, ptr %13, align 8
%141 = load ptr, ptr %12, align 8
%142 = getelementptr inbounds double, ptr %141, i64 13
store double %140, ptr %142, align 8
%143 = load ptr, ptr %12, align 8
%144 = getelementptr inbounds double, ptr %143, i64 23
%145 = load double, ptr %144, align 8
%146 = load ptr, ptr %12, align 8
%147 = getelementptr inbounds double, ptr %146, i64 18
%148 = load double, ptr %147, align 8
%149 = call double @llvm.fmuladd.f64(double -5.000000e-01, double %148, double %145)
%150 = load ptr, ptr %12, align 8
%151 = getelementptr inbounds double, ptr %150, i64 21
%152 = load double, ptr %151, align 8
%153 = call double @llvm.fmuladd.f64(double -5.000000e-01, double %152, double %149)
%154 = load ptr, ptr %12, align 8
%155 = getelementptr inbounds double, ptr %154, i64 15
store double %153, ptr %155, align 8
%156 = load ptr, ptr %12, align 8
%157 = getelementptr inbounds double, ptr %156, i64 20
%158 = load double, ptr %157, align 8
%159 = load ptr, ptr %12, align 8
%160 = getelementptr inbounds double, ptr %159, i64 16
store double %158, ptr %160, align 8
%161 = load ptr, ptr %12, align 8
%162 = getelementptr inbounds double, ptr %161, i64 22
%163 = load double, ptr %162, align 8
%164 = load ptr, ptr %12, align 8
%165 = getelementptr inbounds double, ptr %164, i64 17
store double %163, ptr %165, align 8
%166 = load ptr, ptr %12, align 8
%167 = getelementptr inbounds double, ptr %166, i64 18
%168 = load double, ptr %167, align 8
%169 = load ptr, ptr %12, align 8
%170 = getelementptr inbounds double, ptr %169, i64 21
%171 = load double, ptr %170, align 8
%172 = fmul double 0x3FEBB67AE8584CAE, %171
%173 = fneg double %172
%174 = call double @llvm.fmuladd.f64(double 0x3FEBB67AE8584CAE, double %168, double %173)
%175 = load ptr, ptr %12, align 8
%176 = getelementptr inbounds double, ptr %175, i64 18
store double %174, ptr %176, align 8
%177 = load ptr, ptr %12, align 8
%178 = getelementptr inbounds double, ptr %177, i64 29
%179 = load double, ptr %178, align 8
%180 = load ptr, ptr %12, align 8
%181 = getelementptr inbounds double, ptr %180, i64 24
%182 = load double, ptr %181, align 8
%183 = call double @llvm.fmuladd.f64(double -5.000000e-01, double %182, double %179)
%184 = load ptr, ptr %12, align 8
%185 = getelementptr inbounds double, ptr %184, i64 27
%186 = load double, ptr %185, align 8
%187 = call double @llvm.fmuladd.f64(double -5.000000e-01, double %186, double %183)
%188 = load ptr, ptr %12, align 8
%189 = getelementptr inbounds double, ptr %188, i64 20
store double %187, ptr %189, align 8
%190 = load ptr, ptr %12, align 8
%191 = getelementptr inbounds double, ptr %190, i64 26
%192 = load double, ptr %191, align 8
%193 = load ptr, ptr %12, align 8
%194 = getelementptr inbounds double, ptr %193, i64 21
store double %192, ptr %194, align 8
%195 = load ptr, ptr %12, align 8
%196 = getelementptr inbounds double, ptr %195, i64 28
%197 = load double, ptr %196, align 8
%198 = load ptr, ptr %12, align 8
%199 = getelementptr inbounds double, ptr %198, i64 22
store double %197, ptr %199, align 8
%200 = load ptr, ptr %12, align 8
%201 = getelementptr inbounds double, ptr %200, i64 24
%202 = load double, ptr %201, align 8
%203 = load ptr, ptr %12, align 8
%204 = getelementptr inbounds double, ptr %203, i64 27
%205 = load double, ptr %204, align 8
%206 = fmul double 0x3FEBB67AE8584CAE, %205
%207 = fneg double %206
%208 = call double @llvm.fmuladd.f64(double 0x3FEBB67AE8584CAE, double %202, double %207)
%209 = load ptr, ptr %12, align 8
%210 = getelementptr inbounds double, ptr %209, i64 23
store double %208, ptr %210, align 8
%211 = load ptr, ptr %12, align 8
%212 = getelementptr inbounds double, ptr %211, i64 25
%213 = load double, ptr %212, align 8
%214 = load ptr, ptr %12, align 8
%215 = getelementptr inbounds double, ptr %214, i64 24
store double %213, ptr %215, align 8
%216 = load ptr, ptr %12, align 8
%217 = getelementptr inbounds double, ptr %216, i64 35
%218 = load double, ptr %217, align 8
%219 = load ptr, ptr %12, align 8
%220 = getelementptr inbounds double, ptr %219, i64 30
%221 = load double, ptr %220, align 8
%222 = call double @llvm.fmuladd.f64(double -5.000000e-01, double %221, double %218)
%223 = load ptr, ptr %12, align 8
%224 = getelementptr inbounds double, ptr %223, i64 33
%225 = load double, ptr %224, align 8
%226 = call double @llvm.fmuladd.f64(double -5.000000e-01, double %225, double %222)
%227 = load ptr, ptr %12, align 8
%228 = getelementptr inbounds double, ptr %227, i64 25
store double %226, ptr %228, align 8
%229 = load ptr, ptr %12, align 8
%230 = getelementptr inbounds double, ptr %229, i64 32
%231 = load double, ptr %230, align 8
%232 = load ptr, ptr %12, align 8
%233 = getelementptr inbounds double, ptr %232, i64 26
store double %231, ptr %233, align 8
%234 = load ptr, ptr %12, align 8
%235 = getelementptr inbounds double, ptr %234, i64 34
%236 = load double, ptr %235, align 8
%237 = load ptr, ptr %12, align 8
%238 = getelementptr inbounds double, ptr %237, i64 27
store double %236, ptr %238, align 8
%239 = load ptr, ptr %12, align 8
%240 = getelementptr inbounds double, ptr %239, i64 30
%241 = load double, ptr %240, align 8
%242 = load ptr, ptr %12, align 8
%243 = getelementptr inbounds double, ptr %242, i64 33
%244 = load double, ptr %243, align 8
%245 = fmul double 0x3FEBB67AE8584CAE, %244
%246 = fneg double %245
%247 = call double @llvm.fmuladd.f64(double 0x3FEBB67AE8584CAE, double %241, double %246)
%248 = load ptr, ptr %12, align 8
%249 = getelementptr inbounds double, ptr %248, i64 28
store double %247, ptr %249, align 8
%250 = load ptr, ptr %12, align 8
%251 = getelementptr inbounds double, ptr %250, i64 31
%252 = load double, ptr %251, align 8
%253 = load ptr, ptr %12, align 8
%254 = getelementptr inbounds double, ptr %253, i64 29
store double %252, ptr %254, align 8
%255 = load ptr, ptr %12, align 8
%256 = getelementptr inbounds double, ptr %255, i64 41
%257 = load double, ptr %256, align 8
%258 = load ptr, ptr %12, align 8
%259 = getelementptr inbounds double, ptr %258, i64 36
%260 = load double, ptr %259, align 8
%261 = call double @llvm.fmuladd.f64(double -5.000000e-01, double %260, double %257)
%262 = load ptr, ptr %12, align 8
%263 = getelementptr inbounds double, ptr %262, i64 39
%264 = load double, ptr %263, align 8
%265 = call double @llvm.fmuladd.f64(double -5.000000e-01, double %264, double %261)
%266 = load ptr, ptr %12, align 8
%267 = getelementptr inbounds double, ptr %266, i64 30
store double %265, ptr %267, align 8
%268 = load ptr, ptr %12, align 8
%269 = getelementptr inbounds double, ptr %268, i64 38
%270 = load double, ptr %269, align 8
%271 = load ptr, ptr %12, align 8
%272 = getelementptr inbounds double, ptr %271, i64 31
store double %270, ptr %272, align 8
%273 = load ptr, ptr %12, align 8
%274 = getelementptr inbounds double, ptr %273, i64 40
%275 = load double, ptr %274, align 8
%276 = load ptr, ptr %12, align 8
%277 = getelementptr inbounds double, ptr %276, i64 32
store double %275, ptr %277, align 8
%278 = load ptr, ptr %12, align 8
%279 = getelementptr inbounds double, ptr %278, i64 36
%280 = load double, ptr %279, align 8
%281 = load ptr, ptr %12, align 8
%282 = getelementptr inbounds double, ptr %281, i64 39
%283 = load double, ptr %282, align 8
%284 = fmul double 0x3FEBB67AE8584CAE, %283
%285 = fneg double %284
%286 = call double @llvm.fmuladd.f64(double 0x3FEBB67AE8584CAE, double %280, double %285)
%287 = load ptr, ptr %12, align 8
%288 = getelementptr inbounds double, ptr %287, i64 33
store double %286, ptr %288, align 8
%289 = load ptr, ptr %12, align 8
%290 = getelementptr inbounds double, ptr %289, i64 37
%291 = load double, ptr %290, align 8
%292 = load ptr, ptr %12, align 8
%293 = getelementptr inbounds double, ptr %292, i64 34
store double %291, ptr %293, align 8
%294 = load ptr, ptr %12, align 8
%295 = getelementptr inbounds double, ptr %294, i64 47
%296 = load double, ptr %295, align 8
%297 = load ptr, ptr %12, align 8
%298 = getelementptr inbounds double, ptr %297, i64 42
%299 = load double, ptr %298, align 8
%300 = call double @llvm.fmuladd.f64(double -5.000000e-01, double %299, double %296)
%301 = load ptr, ptr %12, align 8
%302 = getelementptr inbounds double, ptr %301, i64 45
%303 = load double, ptr %302, align 8
%304 = call double @llvm.fmuladd.f64(double -5.000000e-01, double %303, double %300)
%305 = load ptr, ptr %12, align 8
%306 = getelementptr inbounds double, ptr %305, i64 35
store double %304, ptr %306, align 8
%307 = load ptr, ptr %12, align 8
%308 = getelementptr inbounds double, ptr %307, i64 44
%309 = load double, ptr %308, align 8
%310 = load ptr, ptr %12, align 8
%311 = getelementptr inbounds double, ptr %310, i64 36
store double %309, ptr %311, align 8
%312 = load ptr, ptr %12, align 8
%313 = getelementptr inbounds double, ptr %312, i64 46
%314 = load double, ptr %313, align 8
%315 = load ptr, ptr %12, align 8
%316 = getelementptr inbounds double, ptr %315, i64 37
store double %314, ptr %316, align 8
%317 = load ptr, ptr %12, align 8
%318 = getelementptr inbounds double, ptr %317, i64 42
%319 = load double, ptr %318, align 8
%320 = load ptr, ptr %12, align 8
%321 = getelementptr inbounds double, ptr %320, i64 45
%322 = load double, ptr %321, align 8
%323 = fmul double 0x3FEBB67AE8584CAE, %322
%324 = fneg double %323
%325 = call double @llvm.fmuladd.f64(double 0x3FEBB67AE8584CAE, double %319, double %324)
%326 = load ptr, ptr %12, align 8
%327 = getelementptr inbounds double, ptr %326, i64 38
store double %325, ptr %327, align 8
%328 = load ptr, ptr %12, align 8
%329 = getelementptr inbounds double, ptr %328, i64 43
%330 = load double, ptr %329, align 8
%331 = load ptr, ptr %12, align 8
%332 = getelementptr inbounds double, ptr %331, i64 39
store double %330, ptr %332, align 8
%333 = load ptr, ptr %12, align 8
%334 = getelementptr inbounds double, ptr %333, i64 53
%335 = load double, ptr %334, align 8
%336 = load ptr, ptr %12, align 8
%337 = getelementptr inbounds double, ptr %336, i64 48
%338 = load double, ptr %337, align 8
%339 = call double @llvm.fmuladd.f64(double -5.000000e-01, double %338, double %335)
%340 = load ptr, ptr %12, align 8
%341 = getelementptr inbounds double, ptr %340, i64 51
%342 = load double, ptr %341, align 8
%343 = call double @llvm.fmuladd.f64(double -5.000000e-01, double %342, double %339)
%344 = load ptr, ptr %12, align 8
%345 = getelementptr inbounds double, ptr %344, i64 40
store double %343, ptr %345, align 8
%346 = load ptr, ptr %12, align 8
%347 = getelementptr inbounds double, ptr %346, i64 50
%348 = load double, ptr %347, align 8
%349 = load ptr, ptr %12, align 8
%350 = getelementptr inbounds double, ptr %349, i64 41
store double %348, ptr %350, align 8
%351 = load ptr, ptr %12, align 8
%352 = getelementptr inbounds double, ptr %351, i64 52
%353 = load double, ptr %352, align 8
%354 = load ptr, ptr %12, align 8
%355 = getelementptr inbounds double, ptr %354, i64 42
store double %353, ptr %355, align 8
%356 = load ptr, ptr %12, align 8
%357 = getelementptr inbounds double, ptr %356, i64 48
%358 = load double, ptr %357, align 8
%359 = load ptr, ptr %12, align 8
%360 = getelementptr inbounds double, ptr %359, i64 51
%361 = load double, ptr %360, align 8
%362 = fmul double 0x3FEBB67AE8584CAE, %361
%363 = fneg double %362
%364 = call double @llvm.fmuladd.f64(double 0x3FEBB67AE8584CAE, double %358, double %363)
%365 = load ptr, ptr %12, align 8
%366 = getelementptr inbounds double, ptr %365, i64 43
store double %364, ptr %366, align 8
%367 = load ptr, ptr %12, align 8
%368 = getelementptr inbounds double, ptr %367, i64 49
%369 = load double, ptr %368, align 8
%370 = load ptr, ptr %12, align 8
%371 = getelementptr inbounds double, ptr %370, i64 44
store double %369, ptr %371, align 8
%372 = load ptr, ptr %12, align 8
%373 = getelementptr inbounds double, ptr %372, i64 59
%374 = load double, ptr %373, align 8
%375 = load ptr, ptr %12, align 8
%376 = getelementptr inbounds double, ptr %375, i64 54
%377 = load double, ptr %376, align 8
%378 = call double @llvm.fmuladd.f64(double -5.000000e-01, double %377, double %374)
%379 = load ptr, ptr %12, align 8
%380 = getelementptr inbounds double, ptr %379, i64 57
%381 = load double, ptr %380, align 8
%382 = call double @llvm.fmuladd.f64(double -5.000000e-01, double %381, double %378)
%383 = load ptr, ptr %12, align 8
%384 = getelementptr inbounds double, ptr %383, i64 45
store double %382, ptr %384, align 8
%385 = load ptr, ptr %12, align 8
%386 = getelementptr inbounds double, ptr %385, i64 56
%387 = load double, ptr %386, align 8
%388 = load ptr, ptr %12, align 8
%389 = getelementptr inbounds double, ptr %388, i64 46
store double %387, ptr %389, align 8
%390 = load ptr, ptr %12, align 8
%391 = getelementptr inbounds double, ptr %390, i64 58
%392 = load double, ptr %391, align 8
%393 = load ptr, ptr %12, align 8
%394 = getelementptr inbounds double, ptr %393, i64 47
store double %392, ptr %394, align 8
%395 = load ptr, ptr %12, align 8
%396 = getelementptr inbounds double, ptr %395, i64 54
%397 = load double, ptr %396, align 8
%398 = load ptr, ptr %12, align 8
%399 = getelementptr inbounds double, ptr %398, i64 57
%400 = load double, ptr %399, align 8
%401 = fmul double 0x3FEBB67AE8584CAE, %400
%402 = fneg double %401
%403 = call double @llvm.fmuladd.f64(double 0x3FEBB67AE8584CAE, double %397, double %402)
%404 = load ptr, ptr %12, align 8
%405 = getelementptr inbounds double, ptr %404, i64 48
store double %403, ptr %405, align 8
%406 = load ptr, ptr %12, align 8
%407 = getelementptr inbounds double, ptr %406, i64 55
%408 = load double, ptr %407, align 8
%409 = load ptr, ptr %12, align 8
%410 = getelementptr inbounds double, ptr %409, i64 49
store double %408, ptr %410, align 8
ret void
}
declare i32 @gint2_nai_cF_cD(ptr noundef, double noundef, ptr noundef, double noundef, ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0ke9n8q4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gint2_nai_cF_pD(ptr noundef %0, double noundef %1, ptr noundef %2, double noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca double, align 8
%9 = alloca ptr, align 8
%10 = alloca double, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
store ptr %0, ptr %7, align 8
store double %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store double %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%15 = load ptr, ptr %7, align 8
%16 = load double, ptr %8, align 8
%17 = load ptr, ptr %9, align 8
%18 = load double, ptr %10, align 8
%19 = load ptr, ptr %11, align 8
%20 = load ptr, ptr %12, align 8
%21 = call i32 @gint2_nai_cF_cD(ptr noundef %15, double noundef %16, ptr noundef %17, double noundef %18, ptr noundef %19, ptr noundef %20)
%22 = load ptr, ptr %12, align 8
%23 = getelementptr inbounds double, ptr %22, i64 2
%24 = load double, ptr %23, align 8
store double %24, ptr %13, align 8
%25 = load ptr, ptr %12, align 8
%26 = getelementptr inbounds double, ptr %25, i64 4
%27 = load double, ptr %26, align 8
%28 = load ptr, ptr %12, align 8
%29 = getelementptr inbounds double, ptr %28, i64 2
store double %27, ptr %29, align 8
%30 = load ptr, ptr %12, align 8
%31 = getelementptr inbounds double, ptr %30, i64 5
%32 = load double, ptr %31, align 8
%33 = load ptr, ptr %12, align 8
%34 = getelementptr inbounds double, ptr %33, i64 0
%35 = load double, ptr %34, align 8
%36 = call double @llvm.fmuladd.f64(double -5.000000e-01, double %35, double %32)
%37 = load ptr, ptr %12, align 8
%38 = getelementptr inbounds double, ptr %37, i64 3
%39 = load double, ptr %38, align 8
%40 = call double @llvm.fmuladd.f64(double -5.000000e-01, double %39, double %36)
store double %40, ptr %14, align 8
%41 = load ptr, ptr %12, align 8
%42 = getelementptr inbounds double, ptr %41, i64 0
%43 = load double, ptr %42, align 8
%44 = load ptr, ptr %12, align 8
%45 = getelementptr inbounds double, ptr %44, i64 3
%46 = load double, ptr %45, align 8
%47 = fmul double 0x3FEBB67AE8584CAE, %46
%48 = fneg double %47
%49 = call double @llvm.fmuladd.f64(double 0x3FEBB67AE8584CAE, double %43, double %48)
%50 = load ptr, ptr %12, align 8
%51 = getelementptr inbounds double, ptr %50, i64 3
store double %49, ptr %51, align 8
%52 = load double, ptr %14, align 8
%53 = load ptr, ptr %12, align 8
%54 = getelementptr inbounds double, ptr %53, i64 0
store double %52, ptr %54, align 8
%55 = load ptr, ptr %12, align 8
%56 = getelementptr inbounds double, ptr %55, i64 1
%57 = load double, ptr %56, align 8
%58 = load ptr, ptr %12, align 8
%59 = getelementptr inbounds double, ptr %58, i64 4
store double %57, ptr %59, align 8
%60 = load double, ptr %13, align 8
%61 = load ptr, ptr %12, align 8
%62 = getelementptr inbounds double, ptr %61, i64 1
store double %60, ptr %62, align 8
%63 = load ptr, ptr %12, align 8
%64 = getelementptr inbounds double, ptr %63, i64 11
%65 = load double, ptr %64, align 8
%66 = load ptr, ptr %12, align 8
%67 = getelementptr inbounds double, ptr %66, i64 6
%68 = load double, ptr %67, align 8
%69 = call double @llvm.fmuladd.f64(double -5.000000e-01, double %68, double %65)
%70 = load ptr, ptr %12, align 8
%71 = getelementptr inbounds double, ptr %70, i64 9
%72 = load double, ptr %71, align 8
%73 = call double @llvm.fmuladd.f64(double -5.000000e-01, double %72, double %69)
%74 = load ptr, ptr %12, align 8
%75 = getelementptr inbounds double, ptr %74, i64 5
store double %73, ptr %75, align 8
%76 = load ptr, ptr %12, align 8
%77 = getelementptr inbounds double, ptr %76, i64 8
%78 = load double, ptr %77, align 8
store double %78, ptr %14, align 8
%79 = load ptr, ptr %12, align 8
%80 = getelementptr inbounds double, ptr %79, i64 6
%81 = load double, ptr %80, align 8
%82 = load ptr, ptr %12, align 8
%83 = getelementptr inbounds double, ptr %82, i64 9
%84 = load double, ptr %83, align 8
%85 = fmul double 0x3FEBB67AE8584CAE, %84
%86 = fneg double %85
%87 = call double @llvm.fmuladd.f64(double 0x3FEBB67AE8584CAE, double %81, double %86)
%88 = load ptr, ptr %12, align 8
%89 = getelementptr inbounds double, ptr %88, i64 8
store double %87, ptr %89, align 8
%90 = load double, ptr %14, align 8
%91 = load ptr, ptr %12, align 8
%92 = getelementptr inbounds double, ptr %91, i64 6
store double %90, ptr %92, align 8
%93 = load ptr, ptr %12, align 8
%94 = getelementptr inbounds double, ptr %93, i64 7
%95 = load double, ptr %94, align 8
%96 = load ptr, ptr %12, align 8
%97 = getelementptr inbounds double, ptr %96, i64 9
store double %95, ptr %97, align 8
%98 = load ptr, ptr %12, align 8
%99 = getelementptr inbounds double, ptr %98, i64 10
%100 = load double, ptr %99, align 8
%101 = load ptr, ptr %12, align 8
%102 = getelementptr inbounds double, ptr %101, i64 7
store double %100, ptr %102, align 8
%103 = load ptr, ptr %12, align 8
%104 = getelementptr inbounds double, ptr %103, i64 17
%105 = load double, ptr %104, align 8
%106 = load ptr, ptr %12, align 8
%107 = getelementptr inbounds double, ptr %106, i64 12
%108 = load double, ptr %107, align 8
%109 = call double @llvm.fmuladd.f64(double -5.000000e-01, double %108, double %105)
%110 = load ptr, ptr %12, align 8
%111 = getelementptr inbounds double, ptr %110, i64 15
%112 = load double, ptr %111, align 8
%113 = call double @llvm.fmuladd.f64(double -5.000000e-01, double %112, double %109)
%114 = load ptr, ptr %12, align 8
%115 = getelementptr inbounds double, ptr %114, i64 10
store double %113, ptr %115, align 8
%116 = load ptr, ptr %12, align 8
%117 = getelementptr inbounds double, ptr %116, i64 14
%118 = load double, ptr %117, align 8
%119 = load ptr, ptr %12, align 8
%120 = getelementptr inbounds double, ptr %119, i64 11
store double %118, ptr %120, align 8
%121 = load ptr, ptr %12, align 8
%122 = getelementptr inbounds double, ptr %121, i64 12
%123 = load double, ptr %122, align 8
%124 = load ptr, ptr %12, align 8
%125 = getelementptr inbounds double, ptr %124, i64 15
%126 = load double, ptr %125, align 8
%127 = fmul double 0x3FEBB67AE8584CAE, %126
%128 = fneg double %127
%129 = call double @llvm.fmuladd.f64(double 0x3FEBB67AE8584CAE, double %123, double %128)
store double %129, ptr %13, align 8
%130 = load ptr, ptr %12, align 8
%131 = getelementptr inbounds double, ptr %130, i64 16
%132 = load double, ptr %131, align 8
%133 = load ptr, ptr %12, align 8
%134 = getelementptr inbounds double, ptr %133, i64 12
store double %132, ptr %134, align 8
%135 = load ptr, ptr %12, align 8
%136 = getelementptr inbounds double, ptr %135, i64 13
%137 = load double, ptr %136, align 8
%138 = load ptr, ptr %12, align 8
%139 = getelementptr inbounds double, ptr %138, i64 14
store double %137, ptr %139, align 8
%140 = load double, ptr %13, align 8
%141 = load ptr, ptr %12, align 8
%142 = getelementptr inbounds double, ptr %141, i64 13
store double %140, ptr %142, align 8
%143 = load ptr, ptr %12, align 8
%144 = getelementptr inbounds double, ptr %143, i64 23
%145 = load double, ptr %144, align 8
%146 = load ptr, ptr %12, align 8
%147 = getelementptr inbounds double, ptr %146, i64 18
%148 = load double, ptr %147, align 8
%149 = call double @llvm.fmuladd.f64(double -5.000000e-01, double %148, double %145)
%150 = load ptr, ptr %12, align 8
%151 = getelementptr inbounds double, ptr %150, i64 21
%152 = load double, ptr %151, align 8
%153 = call double @llvm.fmuladd.f64(double -5.000000e-01, double %152, double %149)
%154 = load ptr, ptr %12, align 8
%155 = getelementptr inbounds double, ptr %154, i64 15
store double %153, ptr %155, align 8
%156 = load ptr, ptr %12, align 8
%157 = getelementptr inbounds double, ptr %156, i64 20
%158 = load double, ptr %157, align 8
%159 = load ptr, ptr %12, align 8
%160 = getelementptr inbounds double, ptr %159, i64 16
store double %158, ptr %160, align 8
%161 = load ptr, ptr %12, align 8
%162 = getelementptr inbounds double, ptr %161, i64 22
%163 = load double, ptr %162, align 8
%164 = load ptr, ptr %12, align 8
%165 = getelementptr inbounds double, ptr %164, i64 17
store double %163, ptr %165, align 8
%166 = load ptr, ptr %12, align 8
%167 = getelementptr inbounds double, ptr %166, i64 18
%168 = load double, ptr %167, align 8
%169 = load ptr, ptr %12, align 8
%170 = getelementptr inbounds double, ptr %169, i64 21
%171 = load double, ptr %170, align 8
%172 = fmul double 0x3FEBB67AE8584CAE, %171
%173 = fneg double %172
%174 = call double @llvm.fmuladd.f64(double 0x3FEBB67AE8584CAE, double %168, double %173)
%175 = load ptr, ptr %12, align 8
%176 = getelementptr inbounds double, ptr %175, i64 18
store double %174, ptr %176, align 8
%177 = load ptr, ptr %12, align 8
%178 = getelementptr inbounds double, ptr %177, i64 29
%179 = load double, ptr %178, align 8
%180 = load ptr, ptr %12, align 8
%181 = getelementptr inbounds double, ptr %180, i64 24
%182 = load double, ptr %181, align 8
%183 = call double @llvm.fmuladd.f64(double -5.000000e-01, double %182, double %179)
%184 = load ptr, ptr %12, align 8
%185 = getelementptr inbounds double, ptr %184, i64 27
%186 = load double, ptr %185, align 8
%187 = call double @llvm.fmuladd.f64(double -5.000000e-01, double %186, double %183)
%188 = load ptr, ptr %12, align 8
%189 = getelementptr inbounds double, ptr %188, i64 20
store double %187, ptr %189, align 8
%190 = load ptr, ptr %12, align 8
%191 = getelementptr inbounds double, ptr %190, i64 26
%192 = load double, ptr %191, align 8
%193 = load ptr, ptr %12, align 8
%194 = getelementptr inbounds double, ptr %193, i64 21
store double %192, ptr %194, align 8
%195 = load ptr, ptr %12, align 8
%196 = getelementptr inbounds double, ptr %195, i64 28
%197 = load double, ptr %196, align 8
%198 = load ptr, ptr %12, align 8
%199 = getelementptr inbounds double, ptr %198, i64 22
store double %197, ptr %199, align 8
%200 = load ptr, ptr %12, align 8
%201 = getelementptr inbounds double, ptr %200, i64 24
%202 = load double, ptr %201, align 8
%203 = load ptr, ptr %12, align 8
%204 = getelementptr inbounds double, ptr %203, i64 27
%205 = load double, ptr %204, align 8
%206 = fmul double 0x3FEBB67AE8584CAE, %205
%207 = fneg double %206
%208 = call double @llvm.fmuladd.f64(double 0x3FEBB67AE8584CAE, double %202, double %207)
%209 = load ptr, ptr %12, align 8
%210 = getelementptr inbounds double, ptr %209, i64 23
store double %208, ptr %210, align 8
%211 = load ptr, ptr %12, align 8
%212 = getelementptr inbounds double, ptr %211, i64 25
%213 = load double, ptr %212, align 8
%214 = load ptr, ptr %12, align 8
%215 = getelementptr inbounds double, ptr %214, i64 24
store double %213, ptr %215, align 8
%216 = load ptr, ptr %12, align 8
%217 = getelementptr inbounds double, ptr %216, i64 35
%218 = load double, ptr %217, align 8
%219 = load ptr, ptr %12, align 8
%220 = getelementptr inbounds double, ptr %219, i64 30
%221 = load double, ptr %220, align 8
%222 = call double @llvm.fmuladd.f64(double -5.000000e-01, double %221, double %218)
%223 = load ptr, ptr %12, align 8
%224 = getelementptr inbounds double, ptr %223, i64 33
%225 = load double, ptr %224, align 8
%226 = call double @llvm.fmuladd.f64(double -5.000000e-01, double %225, double %222)
%227 = load ptr, ptr %12, align 8
%228 = getelementptr inbounds double, ptr %227, i64 25
store double %226, ptr %228, align 8
%229 = load ptr, ptr %12, align 8
%230 = getelementptr inbounds double, ptr %229, i64 32
%231 = load double, ptr %230, align 8
%232 = load ptr, ptr %12, align 8
%233 = getelementptr inbounds double, ptr %232, i64 26
store double %231, ptr %233, align 8
%234 = load ptr, ptr %12, align 8
%235 = getelementptr inbounds double, ptr %234, i64 34
%236 = load double, ptr %235, align 8
%237 = load ptr, ptr %12, align 8
%238 = getelementptr inbounds double, ptr %237, i64 27
store double %236, ptr %238, align 8
%239 = load ptr, ptr %12, align 8
%240 = getelementptr inbounds double, ptr %239, i64 30
%241 = load double, ptr %240, align 8
%242 = load ptr, ptr %12, align 8
%243 = getelementptr inbounds double, ptr %242, i64 33
%244 = load double, ptr %243, align 8
%245 = fmul double 0x3FEBB67AE8584CAE, %244
%246 = fneg double %245
%247 = call double @llvm.fmuladd.f64(double 0x3FEBB67AE8584CAE, double %241, double %246)
%248 = load ptr, ptr %12, align 8
%249 = getelementptr inbounds double, ptr %248, i64 28
store double %247, ptr %249, align 8
%250 = load ptr, ptr %12, align 8
%251 = getelementptr inbounds double, ptr %250, i64 31
%252 = load double, ptr %251, align 8
%253 = load ptr, ptr %12, align 8
%254 = getelementptr inbounds double, ptr %253, i64 29
store double %252, ptr %254, align 8
%255 = load ptr, ptr %12, align 8
%256 = getelementptr inbounds double, ptr %255, i64 41
%257 = load double, ptr %256, align 8
%258 = load ptr, ptr %12, align 8
%259 = getelementptr inbounds double, ptr %258, i64 36
%260 = load double, ptr %259, align 8
%261 = call double @llvm.fmuladd.f64(double -5.000000e-01, double %260, double %257)
%262 = load ptr, ptr %12, align 8
%263 = getelementptr inbounds double, ptr %262, i64 39
%264 = load double, ptr %263, align 8
%265 = call double @llvm.fmuladd.f64(double -5.000000e-01, double %264, double %261)
%266 = load ptr, ptr %12, align 8
%267 = getelementptr inbounds double, ptr %266, i64 30
store double %265, ptr %267, align 8
%268 = load ptr, ptr %12, align 8
%269 = getelementptr inbounds double, ptr %268, i64 38
%270 = load double, ptr %269, align 8
%271 = load ptr, ptr %12, align 8
%272 = getelementptr inbounds double, ptr %271, i64 31
store double %270, ptr %272, align 8
%273 = load ptr, ptr %12, align 8
%274 = getelementptr inbounds double, ptr %273, i64 40
%275 = load double, ptr %274, align 8
%276 = load ptr, ptr %12, align 8
%277 = getelementptr inbounds double, ptr %276, i64 32
store double %275, ptr %277, align 8
%278 = load ptr, ptr %12, align 8
%279 = getelementptr inbounds double, ptr %278, i64 36
%280 = load double, ptr %279, align 8
%281 = load ptr, ptr %12, align 8
%282 = getelementptr inbounds double, ptr %281, i64 39
%283 = load double, ptr %282, align 8
%284 = fmul double 0x3FEBB67AE8584CAE, %283
%285 = fneg double %284
%286 = call double @llvm.fmuladd.f64(double 0x3FEBB67AE8584CAE, double %280, double %285)
%287 = load ptr, ptr %12, align 8
%288 = getelementptr inbounds double, ptr %287, i64 33
store double %286, ptr %288, align 8
%289 = load ptr, ptr %12, align 8
%290 = getelementptr inbounds double, ptr %289, i64 37
%291 = load double, ptr %290, align 8
%292 = load ptr, ptr %12, align 8
%293 = getelementptr inbounds double, ptr %292, i64 34
store double %291, ptr %293, align 8
%294 = load ptr, ptr %12, align 8
%295 = getelementptr inbounds double, ptr %294, i64 47
%296 = load double, ptr %295, align 8
%297 = load ptr, ptr %12, align 8
%298 = getelementptr inbounds double, ptr %297, i64 42
%299 = load double, ptr %298, align 8
%300 = call double @llvm.fmuladd.f64(double -5.000000e-01, double %299, double %296)
%301 = load ptr, ptr %12, align 8
%302 = getelementptr inbounds double, ptr %301, i64 45
%303 = load double, ptr %302, align 8
%304 = call double @llvm.fmuladd.f64(double -5.000000e-01, double %303, double %300)
%305 = load ptr, ptr %12, align 8
%306 = getelementptr inbounds double, ptr %305, i64 35
store double %304, ptr %306, align 8
%307 = load ptr, ptr %12, align 8
%308 = getelementptr inbounds double, ptr %307, i64 44
%309 = load double, ptr %308, align 8
%310 = load ptr, ptr %12, align 8
%311 = getelementptr inbounds double, ptr %310, i64 36
store double %309, ptr %311, align 8
%312 = load ptr, ptr %12, align 8
%313 = getelementptr inbounds double, ptr %312, i64 46
%314 = load double, ptr %313, align 8
%315 = load ptr, ptr %12, align 8
%316 = getelementptr inbounds double, ptr %315, i64 37
store double %314, ptr %316, align 8
%317 = load ptr, ptr %12, align 8
%318 = getelementptr inbounds double, ptr %317, i64 42
%319 = load double, ptr %318, align 8
%320 = load ptr, ptr %12, align 8
%321 = getelementptr inbounds double, ptr %320, i64 45
%322 = load double, ptr %321, align 8
%323 = fmul double 0x3FEBB67AE8584CAE, %322
%324 = fneg double %323
%325 = call double @llvm.fmuladd.f64(double 0x3FEBB67AE8584CAE, double %319, double %324)
%326 = load ptr, ptr %12, align 8
%327 = getelementptr inbounds double, ptr %326, i64 38
store double %325, ptr %327, align 8
%328 = load ptr, ptr %12, align 8
%329 = getelementptr inbounds double, ptr %328, i64 43
%330 = load double, ptr %329, align 8
%331 = load ptr, ptr %12, align 8
%332 = getelementptr inbounds double, ptr %331, i64 39
store double %330, ptr %332, align 8
%333 = load ptr, ptr %12, align 8
%334 = getelementptr inbounds double, ptr %333, i64 53
%335 = load double, ptr %334, align 8
%336 = load ptr, ptr %12, align 8
%337 = getelementptr inbounds double, ptr %336, i64 48
%338 = load double, ptr %337, align 8
%339 = call double @llvm.fmuladd.f64(double -5.000000e-01, double %338, double %335)
%340 = load ptr, ptr %12, align 8
%341 = getelementptr inbounds double, ptr %340, i64 51
%342 = load double, ptr %341, align 8
%343 = call double @llvm.fmuladd.f64(double -5.000000e-01, double %342, double %339)
%344 = load ptr, ptr %12, align 8
%345 = getelementptr inbounds double, ptr %344, i64 40
store double %343, ptr %345, align 8
%346 = load ptr, ptr %12, align 8
%347 = getelementptr inbounds double, ptr %346, i64 50
%348 = load double, ptr %347, align 8
%349 = load ptr, ptr %12, align 8
%350 = getelementptr inbounds double, ptr %349, i64 41
store double %348, ptr %350, align 8
%351 = load ptr, ptr %12, align 8
%352 = getelementptr inbounds double, ptr %351, i64 52
%353 = load double, ptr %352, align 8
%354 = load ptr, ptr %12, align 8
%355 = getelementptr inbounds double, ptr %354, i64 42
store double %353, ptr %355, align 8
%356 = load ptr, ptr %12, align 8
%357 = getelementptr inbounds double, ptr %356, i64 48
%358 = load double, ptr %357, align 8
%359 = load ptr, ptr %12, align 8
%360 = getelementptr inbounds double, ptr %359, i64 51
%361 = load double, ptr %360, align 8
%362 = fmul double 0x3FEBB67AE8584CAE, %361
%363 = fneg double %362
%364 = call double @llvm.fmuladd.f64(double 0x3FEBB67AE8584CAE, double %358, double %363)
%365 = load ptr, ptr %12, align 8
%366 = getelementptr inbounds double, ptr %365, i64 43
store double %364, ptr %366, align 8
%367 = load ptr, ptr %12, align 8
%368 = getelementptr inbounds double, ptr %367, i64 49
%369 = load double, ptr %368, align 8
%370 = load ptr, ptr %12, align 8
%371 = getelementptr inbounds double, ptr %370, i64 44
store double %369, ptr %371, align 8
%372 = load ptr, ptr %12, align 8
%373 = getelementptr inbounds double, ptr %372, i64 59
%374 = load double, ptr %373, align 8
%375 = load ptr, ptr %12, align 8
%376 = getelementptr inbounds double, ptr %375, i64 54
%377 = load double, ptr %376, align 8
%378 = call double @llvm.fmuladd.f64(double -5.000000e-01, double %377, double %374)
%379 = load ptr, ptr %12, align 8
%380 = getelementptr inbounds double, ptr %379, i64 57
%381 = load double, ptr %380, align 8
%382 = call double @llvm.fmuladd.f64(double -5.000000e-01, double %381, double %378)
%383 = load ptr, ptr %12, align 8
%384 = getelementptr inbounds double, ptr %383, i64 45
store double %382, ptr %384, align 8
%385 = load ptr, ptr %12, align 8
%386 = getelementptr inbounds double, ptr %385, i64 56
%387 = load double, ptr %386, align 8
%388 = load ptr, ptr %12, align 8
%389 = getelementptr inbounds double, ptr %388, i64 46
store double %387, ptr %389, align 8
%390 = load ptr, ptr %12, align 8
%391 = getelementptr inbounds double, ptr %390, i64 58
%392 = load double, ptr %391, align 8
%393 = load ptr, ptr %12, align 8
%394 = getelementptr inbounds double, ptr %393, i64 47
store double %392, ptr %394, align 8
%395 = load ptr, ptr %12, align 8
%396 = getelementptr inbounds double, ptr %395, i64 54
%397 = load double, ptr %396, align 8
%398 = load ptr, ptr %12, align 8
%399 = getelementptr inbounds double, ptr %398, i64 57
%400 = load double, ptr %399, align 8
%401 = fmul double 0x3FEBB67AE8584CAE, %400
%402 = fneg double %401
%403 = call double @llvm.fmuladd.f64(double 0x3FEBB67AE8584CAE, double %397, double %402)
%404 = load ptr, ptr %12, align 8
%405 = getelementptr inbounds double, ptr %404, i64 48
store double %403, ptr %405, align 8
%406 = load ptr, ptr %12, align 8
%407 = getelementptr inbounds double, ptr %406, i64 55
%408 = load double, ptr %407, align 8
%409 = load ptr, ptr %12, align 8
%410 = getelementptr inbounds double, ptr %409, i64 49
store double %408, ptr %410, align 8
ret void
}
declare i32 @gint2_nai_cF_cD(ptr noundef, double noundef, ptr noundef, double noundef, ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpo2xa19sp.c'
source_filename = "/tmp/tmpo2xa19sp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @my_atoi(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
br label %5
5: ; preds = %11, %1
%6 = load ptr, ptr %2, align 8
%7 = load i8, ptr %6, align 1
%8 = call i64 @isspace(i8 noundef zeroext %7)
%9 = icmp ne i64 %8, 0
br i1 %9, label %10, label %14
10: ; preds = %5
br label %11
11: ; preds = %10
%12 = load ptr, ptr %2, align 8
%13 = getelementptr inbounds i8, ptr %12, i32 1
store ptr %13, ptr %2, align 8
br label %5, !llvm.loop !6
14: ; preds = %5
%15 = load ptr, ptr %2, align 8
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp eq i32 %17, 45
%19 = zext i1 %18 to i64
%20 = select i1 %18, i32 -1, i32 1
store i32 %20, ptr %4, align 4
%21 = load ptr, ptr %2, 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 %30, label %25
25: ; preds = %14
%26 = load ptr, ptr %2, align 8
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp eq i32 %28, 43
br i1 %29, label %30, label %33
30: ; preds = %25, %14
%31 = load ptr, ptr %2, align 8
%32 = getelementptr inbounds i8, ptr %31, i32 1
store ptr %32, ptr %2, align 8
br label %33
33: ; preds = %30, %25
br label %34
34: ; preds = %39, %33
%35 = load ptr, ptr %2, align 8
%36 = load i8, ptr %35, align 1
%37 = call i64 @isdigit(i8 noundef zeroext %36)
%38 = icmp ne i64 %37, 0
br i1 %38, label %39, label %49
39: ; preds = %34
%40 = load i32, ptr %3, align 4
%41 = mul nsw i32 %40, 10
%42 = load ptr, ptr %2, align 8
%43 = load i8, ptr %42, align 1
%44 = sext i8 %43 to i32
%45 = add nsw i32 %41, %44
%46 = sub nsw i32 %45, 48
store i32 %46, ptr %3, align 4
%47 = load ptr, ptr %2, align 8
%48 = getelementptr inbounds i8, ptr %47, i32 1
store ptr %48, ptr %2, align 8
br label %34, !llvm.loop !8
49: ; preds = %34
%50 = load i32, ptr %4, align 4
%51 = load i32, ptr %3, align 4
%52 = mul nsw i32 %50, %51
ret i32 %52
}
declare i64 @isspace(i8 noundef zeroext) #1
declare i64 @isdigit(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpo2xa19sp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @my_atoi(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%5 = load ptr, ptr %2, align 8
%6 = load i8, ptr %5, align 1
%7 = call i64 @isspace(i8 noundef zeroext %6)
%8 = icmp ne i64 %7, 0
br i1 %8, label %.lr.ph, label %17
.lr.ph: ; preds = %1
br label %9
9: ; preds = %.lr.ph, %10
br label %10
10: ; preds = %9
%11 = load ptr, ptr %2, align 8
%12 = getelementptr inbounds i8, ptr %11, i32 1
store ptr %12, ptr %2, align 8
%13 = load ptr, ptr %2, align 8
%14 = load i8, ptr %13, align 1
%15 = call i64 @isspace(i8 noundef zeroext %14)
%16 = icmp ne i64 %15, 0
br i1 %16, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %10
br label %17
17: ; preds = %._crit_edge, %1
%18 = load ptr, ptr %2, align 8
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp eq i32 %20, 45
%22 = zext i1 %21 to i64
%23 = select i1 %21, i32 -1, i32 1
store i32 %23, ptr %4, align 4
%24 = load ptr, ptr %2, 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 %33, label %28
28: ; preds = %17
%29 = load ptr, ptr %2, align 8
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp eq i32 %31, 43
br i1 %32, label %33, label %36
33: ; preds = %28, %17
%34 = load ptr, ptr %2, align 8
%35 = getelementptr inbounds i8, ptr %34, i32 1
store ptr %35, ptr %2, align 8
br label %36
36: ; preds = %33, %28
%37 = load ptr, ptr %2, align 8
%38 = load i8, ptr %37, align 1
%39 = call i64 @isdigit(i8 noundef zeroext %38)
%40 = icmp ne i64 %39, 0
br i1 %40, label %.lr.ph2, label %55
.lr.ph2: ; preds = %36
br label %41
41: ; preds = %.lr.ph2, %41
%42 = load i32, ptr %3, align 4
%43 = mul nsw i32 %42, 10
%44 = load ptr, ptr %2, align 8
%45 = load i8, ptr %44, align 1
%46 = sext i8 %45 to i32
%47 = add nsw i32 %43, %46
%48 = sub nsw i32 %47, 48
store i32 %48, ptr %3, align 4
%49 = load ptr, ptr %2, align 8
%50 = getelementptr inbounds i8, ptr %49, i32 1
store ptr %50, ptr %2, align 8
%51 = load ptr, ptr %2, align 8
%52 = load i8, ptr %51, align 1
%53 = call i64 @isdigit(i8 noundef zeroext %52)
%54 = icmp ne i64 %53, 0
br i1 %54, label %41, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %41
br label %55
55: ; preds = %._crit_edge3, %36
%56 = load i32, ptr %4, align 4
%57 = load i32, ptr %3, align 4
%58 = mul nsw i32 %56, %57
ret i32 %58
}
declare i64 @isspace(i8 noundef zeroext) #1
declare i64 @isdigit(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpbyhij8jw.c'
source_filename = "/tmp/tmpbyhij8jw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ED_strtod(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = 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 i32 0, ptr %8, align 4
%12 = load ptr, ptr %6, align 8
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = icmp eq i32 %14, 46
br i1 %15, label %16, label %20
16: ; preds = %3
%17 = load ptr, ptr %5, align 8
%18 = call double @strtod(ptr noundef %17, ptr noundef %9)
%19 = load ptr, ptr %7, align 8
store double %18, ptr %19, align 8
br label %62
20: ; preds = %3
%21 = load ptr, ptr %5, align 8
%22 = call ptr @strchr(ptr noundef %21, i8 noundef signext 46)
%23 = icmp eq ptr null, %22
br i1 %23, label %24, label %28
24: ; preds = %20
%25 = load ptr, ptr %5, align 8
%26 = call double @strtod(ptr noundef %25, ptr noundef %9)
%27 = load ptr, ptr %7, align 8
store double %26, ptr %27, align 8
br label %61
28: ; preds = %20
%29 = load ptr, ptr %5, align 8
%30 = call i32 @strlen(ptr noundef %29)
%31 = add nsw i32 %30, 1
%32 = sext i32 %31 to i64
%33 = mul i64 %32, 1
%34 = trunc i64 %33 to i32
%35 = call ptr @malloc(i32 noundef %34)
store ptr %35, ptr %10, align 8
%36 = load ptr, ptr %10, align 8
%37 = icmp ne ptr %36, null
br i1 %37, label %38, label %59
38: ; preds = %28
%39 = load ptr, ptr %10, align 8
%40 = load ptr, ptr %5, align 8
%41 = call i32 @strcpy(ptr noundef %39, ptr noundef %40)
%42 = load ptr, ptr %10, align 8
%43 = call ptr @strchr(ptr noundef %42, i8 noundef signext 46)
store ptr %43, ptr %11, align 8
%44 = load ptr, ptr %6, align 8
%45 = load i8, ptr %44, align 1
%46 = load ptr, ptr %11, align 8
store i8 %45, ptr %46, align 1
%47 = load ptr, ptr %10, align 8
%48 = call double @strtod(ptr noundef %47, ptr noundef %9)
%49 = load ptr, ptr %7, align 8
store double %48, ptr %49, align 8
%50 = load ptr, ptr %9, align 8
%51 = load i8, ptr %50, align 1
%52 = sext i8 %51 to i32
%53 = icmp ne i32 %52, 0
br i1 %53, label %54, label %56
54: ; preds = %38
%55 = load ptr, ptr %7, align 8
store double 0.000000e+00, ptr %55, align 8
store i32 1, ptr %8, align 4
br label %56
56: ; preds = %54, %38
%57 = load ptr, ptr %10, align 8
%58 = call i32 @free(ptr noundef %57)
br label %60
59: ; preds = %28
store i32 2, ptr %8, align 4
br label %60
60: ; preds = %59, %56
br label %61
61: ; preds = %60, %24
br label %62
62: ; preds = %61, %16
%63 = load i32, ptr %4, align 4
ret i32 %63
}
declare double @strtod(ptr noundef, ptr noundef) #1
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @strcpy(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/tmpbyhij8jw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ED_strtod(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = 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 i32 0, ptr %8, align 4
%12 = load ptr, ptr %6, align 8
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = icmp eq i32 %14, 46
br i1 %15, label %16, label %20
16: ; preds = %3
%17 = load ptr, ptr %5, align 8
%18 = call double @strtod(ptr noundef %17, ptr noundef %9)
%19 = load ptr, ptr %7, align 8
store double %18, ptr %19, align 8
br label %62
20: ; preds = %3
%21 = load ptr, ptr %5, align 8
%22 = call ptr @strchr(ptr noundef %21, i8 noundef signext 46)
%23 = icmp eq ptr null, %22
br i1 %23, label %24, label %28
24: ; preds = %20
%25 = load ptr, ptr %5, align 8
%26 = call double @strtod(ptr noundef %25, ptr noundef %9)
%27 = load ptr, ptr %7, align 8
store double %26, ptr %27, align 8
br label %61
28: ; preds = %20
%29 = load ptr, ptr %5, align 8
%30 = call i32 @strlen(ptr noundef %29)
%31 = add nsw i32 %30, 1
%32 = sext i32 %31 to i64
%33 = mul i64 %32, 1
%34 = trunc i64 %33 to i32
%35 = call ptr @malloc(i32 noundef %34)
store ptr %35, ptr %10, align 8
%36 = load ptr, ptr %10, align 8
%37 = icmp ne ptr %36, null
br i1 %37, label %38, label %59
38: ; preds = %28
%39 = load ptr, ptr %10, align 8
%40 = load ptr, ptr %5, align 8
%41 = call i32 @strcpy(ptr noundef %39, ptr noundef %40)
%42 = load ptr, ptr %10, align 8
%43 = call ptr @strchr(ptr noundef %42, i8 noundef signext 46)
store ptr %43, ptr %11, align 8
%44 = load ptr, ptr %6, align 8
%45 = load i8, ptr %44, align 1
%46 = load ptr, ptr %11, align 8
store i8 %45, ptr %46, align 1
%47 = load ptr, ptr %10, align 8
%48 = call double @strtod(ptr noundef %47, ptr noundef %9)
%49 = load ptr, ptr %7, align 8
store double %48, ptr %49, align 8
%50 = load ptr, ptr %9, align 8
%51 = load i8, ptr %50, align 1
%52 = sext i8 %51 to i32
%53 = icmp ne i32 %52, 0
br i1 %53, label %54, label %56
54: ; preds = %38
%55 = load ptr, ptr %7, align 8
store double 0.000000e+00, ptr %55, align 8
store i32 1, ptr %8, align 4
br label %56
56: ; preds = %54, %38
%57 = load ptr, ptr %10, align 8
%58 = call i32 @free(ptr noundef %57)
br label %60
59: ; preds = %28
store i32 2, ptr %8, align 4
br label %60
60: ; preds = %59, %56
br label %61
61: ; preds = %60, %24
br label %62
62: ; preds = %61, %16
%63 = load i32, ptr %4, align 4
ret i32 %63
}
declare double @strtod(ptr noundef, ptr noundef) #1
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @strcpy(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/tmpebmjojh9.c'
source_filename = "/tmp/tmpebmjojh9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CLOCK_MONOTONIC = 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/tmpebmjojh9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CLOCK_MONOTONIC = 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/tmpz1ob3cal.c'
source_filename = "/tmp/tmpz1ob3cal.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hash(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @strlen(ptr noundef %6)
%8 = sub nsw i32 %7, 1
store i32 %8, ptr %4, align 4
store i64 42, ptr %3, align 8
store i32 0, ptr %5, align 4
br label %9
9: ; preds = %26, %1
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %13, label %29
13: ; preds = %9
%14 = load i64, ptr %3, align 8
%15 = load ptr, ptr %2, align 8
%16 = load i32, ptr %5, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = load i32, ptr %5, align 4
%22 = add nsw i32 %21, 1
%23 = mul nsw i32 %20, %22
%24 = sext i32 %23 to i64
%25 = add nsw i64 %14, %24
store i64 %25, ptr %3, align 8
br label %26
26: ; preds = %13
%27 = load i32, ptr %5, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %5, align 4
br label %9, !llvm.loop !6
29: ; preds = %9
%30 = load i64, ptr %3, align 8
ret i64 %30
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpz1ob3cal.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hash(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @strlen(ptr noundef %6)
%8 = sub nsw i32 %7, 1
store i32 %8, ptr %4, align 4
store i64 42, ptr %3, align 8
store i32 0, ptr %5, align 4
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %.lr.ph, label %31
.lr.ph: ; preds = %1
br label %12
12: ; preds = %.lr.ph, %25
%13 = load i64, ptr %3, align 8
%14 = load ptr, ptr %2, align 8
%15 = load i32, ptr %5, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = load i32, ptr %5, align 4
%21 = add nsw i32 %20, 1
%22 = mul nsw i32 %19, %21
%23 = sext i32 %22 to i64
%24 = add nsw i64 %13, %23
store i64 %24, ptr %3, align 8
br label %25
25: ; preds = %12
%26 = load i32, ptr %5, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %5, align 4
%28 = load i32, ptr %5, align 4
%29 = load i32, ptr %4, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %31
31: ; preds = %._crit_edge, %1
%32 = load i64, ptr %3, align 8
ret i64 %32
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpyd8zp7v5.c'
source_filename = "/tmp/tmpyd8zp7v5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_vm() #0 {
%1 = call i32 (...) @free_memory()
%2 = call i32 (...) @free_devices()
ret void
}
declare i32 @free_memory(...) #1
declare i32 @free_devices(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyd8zp7v5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_vm() #0 {
%1 = call i32 (...) @free_memory()
%2 = call i32 (...) @free_devices()
ret void
}
declare i32 @free_memory(...) #1
declare i32 @free_devices(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpoy5rccnk.c'
source_filename = "/tmp/tmpoy5rccnk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lp_sconfig(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call ptr @lp_internal_sconfig(i32 noundef 0, ptr noundef %3)
ret ptr %4
}
declare ptr @lp_internal_sconfig(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/tmpoy5rccnk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lp_sconfig(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call ptr @lp_internal_sconfig(i32 noundef 0, ptr noundef %3)
ret ptr %4
}
declare ptr @lp_internal_sconfig(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/tmpab6feu6f.c'
source_filename = "/tmp/tmpab6feu6f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"/PHPMYADMIN/scripts/setup.php\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"/PMA/scripts/setup.php\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"/PMA2005/scripts/setup.php\00", align 1
@.str.3 = private unnamed_addr constant [33 x i8] c"/SSLMySQLAdmin/scripts/setup.php\00", align 1
@.str.4 = private unnamed_addr constant [23 x i8] c"/SQL/scripts/setup.php\00", align 1
@.str.5 = private unnamed_addr constant [36 x i8] c"/admin/phpmyadmin/scripts/setup.php\00", align 1
@.str.6 = private unnamed_addr constant [25 x i8] c"/admin/scripts/setup.php\00", align 1
@.str.7 = private unnamed_addr constant [28 x i8] c"/bbs/data/scripts/setup.php\00", align 1
@.str.8 = private unnamed_addr constant [27 x i8] c"/cpadmin/scripts/setup.php\00", align 1
@.str.9 = private unnamed_addr constant [29 x i8] c"/cpadmindb/scripts/setup.php\00", align 1
@.str.10 = private unnamed_addr constant [29 x i8] c"/admin/pma/scripts/setup.php\00", align 1
@.str.11 = private unnamed_addr constant [31 x i8] c"/cpanelmysql/scripts/setup.php\00", align 1
@.str.12 = private unnamed_addr constant [36 x i8] c"/cpanelphpmyadmin/scripts/setup.php\00", align 1
@.str.13 = private unnamed_addr constant [29 x i8] c"/cpanelsql/scripts/setup.php\00", align 1
@.str.14 = private unnamed_addr constant [32 x i8] c"/cpphpmyadmin/scripts/setup.php\00", align 1
@.str.15 = private unnamed_addr constant [22 x i8] c"/db/scripts/setup.php\00", align 1
@.str.16 = private unnamed_addr constant [27 x i8] c"/dbadmin/scripts/setup.php\00", align 1
@.str.17 = private unnamed_addr constant [27 x i8] c"/myadmin/scripts/setup.php\00", align 1
@.str.18 = private unnamed_addr constant [31 x i8] c"/mysql-admin/scripts/setup.php\00", align 1
@.str.19 = private unnamed_addr constant [25 x i8] c"/mysql/scripts/setup.php\00", align 1
@.str.20 = private unnamed_addr constant [30 x i8] c"/mysqladmin/scripts/setup.php\00", align 1
@.str.21 = private unnamed_addr constant [36 x i8] c"/mysqladminconfig/scripts/setup.php\00", align 1
@.str.22 = private unnamed_addr constant [32 x i8] c"/mysqlmanager/scripts/setup.php\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @is_injection(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = call i64 @strcmp(ptr noundef %4, ptr noundef @.str)
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %8
7: ; preds = %1
store i32 1, ptr %2, align 4
br label %141
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = call i64 @strcmp(ptr noundef %9, ptr noundef @.str.1)
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %8
store i32 1, ptr %2, align 4
br label %141
13: ; preds = %8
%14 = load ptr, ptr %3, align 8
%15 = call i64 @strcmp(ptr noundef %14, ptr noundef @.str.2)
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %13
store i32 1, ptr %2, align 4
br label %141
18: ; preds = %13
%19 = load ptr, ptr %3, align 8
%20 = call i64 @strcmp(ptr noundef %19, ptr noundef @.str.3)
%21 = icmp eq i64 %20, 0
br i1 %21, label %22, label %23
22: ; preds = %18
store i32 1, ptr %2, align 4
br label %141
23: ; preds = %18
%24 = load ptr, ptr %3, align 8
%25 = call i64 @strcmp(ptr noundef %24, ptr noundef @.str.4)
%26 = icmp eq i64 %25, 0
br i1 %26, label %27, label %28
27: ; preds = %23
store i32 1, ptr %2, align 4
br label %141
28: ; preds = %23
%29 = load ptr, ptr %3, align 8
%30 = call i64 @strcmp(ptr noundef %29, ptr noundef @.str.5)
%31 = icmp eq i64 %30, 0
br i1 %31, label %32, label %33
32: ; preds = %28
store i32 1, ptr %2, align 4
br label %141
33: ; preds = %28
%34 = load ptr, ptr %3, align 8
%35 = call i64 @strcmp(ptr noundef %34, ptr noundef @.str.6)
%36 = icmp eq i64 %35, 0
br i1 %36, label %37, label %38
37: ; preds = %33
store i32 1, ptr %2, align 4
br label %141
38: ; preds = %33
%39 = load ptr, ptr %3, align 8
%40 = call i64 @strcmp(ptr noundef %39, ptr noundef @.str.7)
%41 = icmp eq i64 %40, 0
br i1 %41, label %42, label %43
42: ; preds = %38
store i32 1, ptr %2, align 4
br label %141
43: ; preds = %38
%44 = load ptr, ptr %3, align 8
%45 = call i64 @strcmp(ptr noundef %44, ptr noundef @.str.8)
%46 = icmp eq i64 %45, 0
br i1 %46, label %47, label %48
47: ; preds = %43
store i32 1, ptr %2, align 4
br label %141
48: ; preds = %43
%49 = load ptr, ptr %3, align 8
%50 = call i64 @strcmp(ptr noundef %49, ptr noundef @.str.9)
%51 = icmp eq i64 %50, 0
br i1 %51, label %52, label %53
52: ; preds = %48
store i32 1, ptr %2, align 4
br label %141
53: ; preds = %48
%54 = load ptr, ptr %3, align 8
%55 = call i64 @strcmp(ptr noundef %54, ptr noundef @.str.10)
%56 = icmp eq i64 %55, 0
br i1 %56, label %57, label %58
57: ; preds = %53
store i32 1, ptr %2, align 4
br label %141
58: ; preds = %53
%59 = load ptr, ptr %3, align 8
%60 = call i64 @strcmp(ptr noundef %59, ptr noundef @.str.11)
%61 = icmp eq i64 %60, 0
br i1 %61, label %62, label %63
62: ; preds = %58
store i32 1, ptr %2, align 4
br label %141
63: ; preds = %58
%64 = load ptr, ptr %3, align 8
%65 = call i64 @strcmp(ptr noundef %64, ptr noundef @.str.12)
%66 = icmp eq i64 %65, 0
br i1 %66, label %67, label %68
67: ; preds = %63
store i32 1, ptr %2, align 4
br label %141
68: ; preds = %63
%69 = load ptr, ptr %3, align 8
%70 = call i64 @strcmp(ptr noundef %69, ptr noundef @.str.13)
%71 = icmp eq i64 %70, 0
br i1 %71, label %72, label %73
72: ; preds = %68
store i32 1, ptr %2, align 4
br label %141
73: ; preds = %68
%74 = load ptr, ptr %3, align 8
%75 = call i64 @strcmp(ptr noundef %74, ptr noundef @.str.14)
%76 = icmp eq i64 %75, 0
br i1 %76, label %77, label %78
77: ; preds = %73
store i32 1, ptr %2, align 4
br label %141
78: ; preds = %73
%79 = load ptr, ptr %3, align 8
%80 = call i64 @strcmp(ptr noundef %79, ptr noundef @.str.15)
%81 = icmp eq i64 %80, 0
br i1 %81, label %82, label %83
82: ; preds = %78
store i32 1, ptr %2, align 4
br label %141
83: ; preds = %78
%84 = load ptr, ptr %3, align 8
%85 = call i64 @strcmp(ptr noundef %84, ptr noundef @.str.16)
%86 = icmp eq i64 %85, 0
br i1 %86, label %87, label %88
87: ; preds = %83
store i32 1, ptr %2, align 4
br label %141
88: ; preds = %83
%89 = load ptr, ptr %3, align 8
%90 = call i64 @strcmp(ptr noundef %89, ptr noundef @.str.17)
%91 = icmp eq i64 %90, 0
br i1 %91, label %92, label %93
92: ; preds = %88
store i32 1, ptr %2, align 4
br label %141
93: ; preds = %88
%94 = load ptr, ptr %3, align 8
%95 = call i64 @strcmp(ptr noundef %94, ptr noundef @.str.18)
%96 = icmp eq i64 %95, 0
br i1 %96, label %97, label %98
97: ; preds = %93
store i32 1, ptr %2, align 4
br label %141
98: ; preds = %93
%99 = load ptr, ptr %3, align 8
%100 = call i64 @strcmp(ptr noundef %99, ptr noundef @.str.19)
%101 = icmp eq i64 %100, 0
br i1 %101, label %102, label %103
102: ; preds = %98
store i32 1, ptr %2, align 4
br label %141
103: ; preds = %98
%104 = load ptr, ptr %3, align 8
%105 = call i64 @strcmp(ptr noundef %104, ptr noundef @.str.20)
%106 = icmp eq i64 %105, 0
br i1 %106, label %107, label %108
107: ; preds = %103
store i32 1, ptr %2, align 4
br label %141
108: ; preds = %103
%109 = load ptr, ptr %3, align 8
%110 = call i64 @strcmp(ptr noundef %109, ptr noundef @.str.21)
%111 = icmp eq i64 %110, 0
br i1 %111, label %112, label %113
112: ; preds = %108
store i32 1, ptr %2, align 4
br label %141
113: ; preds = %108
%114 = load ptr, ptr %3, align 8
%115 = call i64 @strcmp(ptr noundef %114, ptr noundef @.str.22)
%116 = icmp eq i64 %115, 0
br i1 %116, label %117, label %118
117: ; preds = %113
store i32 1, ptr %2, align 4
br label %141
118: ; preds = %113
br label %119
119: ; preds = %118
br label %120
120: ; preds = %119
br label %121
121: ; preds = %120
br label %122
122: ; preds = %121
br label %123
123: ; preds = %122
br label %124
124: ; preds = %123
br label %125
125: ; preds = %124
br label %126
126: ; preds = %125
br label %127
127: ; preds = %126
br label %128
128: ; preds = %127
br label %129
129: ; preds = %128
br label %130
130: ; preds = %129
br label %131
131: ; preds = %130
br label %132
132: ; preds = %131
br label %133
133: ; preds = %132
br label %134
134: ; preds = %133
br label %135
135: ; preds = %134
br label %136
136: ; preds = %135
br label %137
137: ; preds = %136
br label %138
138: ; preds = %137
br label %139
139: ; preds = %138
br label %140
140: ; preds = %139
store i32 0, ptr %2, align 4
br label %141
141: ; preds = %140, %117, %112, %107, %102, %97, %92, %87, %82, %77, %72, %67, %62, %57, %52, %47, %42, %37, %32, %27, %22, %17, %12, %7
%142 = load i32, ptr %2, align 4
ret i32 %142
}
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/tmpab6feu6f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"/PHPMYADMIN/scripts/setup.php\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"/PMA/scripts/setup.php\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"/PMA2005/scripts/setup.php\00", align 1
@.str.3 = private unnamed_addr constant [33 x i8] c"/SSLMySQLAdmin/scripts/setup.php\00", align 1
@.str.4 = private unnamed_addr constant [23 x i8] c"/SQL/scripts/setup.php\00", align 1
@.str.5 = private unnamed_addr constant [36 x i8] c"/admin/phpmyadmin/scripts/setup.php\00", align 1
@.str.6 = private unnamed_addr constant [25 x i8] c"/admin/scripts/setup.php\00", align 1
@.str.7 = private unnamed_addr constant [28 x i8] c"/bbs/data/scripts/setup.php\00", align 1
@.str.8 = private unnamed_addr constant [27 x i8] c"/cpadmin/scripts/setup.php\00", align 1
@.str.9 = private unnamed_addr constant [29 x i8] c"/cpadmindb/scripts/setup.php\00", align 1
@.str.10 = private unnamed_addr constant [29 x i8] c"/admin/pma/scripts/setup.php\00", align 1
@.str.11 = private unnamed_addr constant [31 x i8] c"/cpanelmysql/scripts/setup.php\00", align 1
@.str.12 = private unnamed_addr constant [36 x i8] c"/cpanelphpmyadmin/scripts/setup.php\00", align 1
@.str.13 = private unnamed_addr constant [29 x i8] c"/cpanelsql/scripts/setup.php\00", align 1
@.str.14 = private unnamed_addr constant [32 x i8] c"/cpphpmyadmin/scripts/setup.php\00", align 1
@.str.15 = private unnamed_addr constant [22 x i8] c"/db/scripts/setup.php\00", align 1
@.str.16 = private unnamed_addr constant [27 x i8] c"/dbadmin/scripts/setup.php\00", align 1
@.str.17 = private unnamed_addr constant [27 x i8] c"/myadmin/scripts/setup.php\00", align 1
@.str.18 = private unnamed_addr constant [31 x i8] c"/mysql-admin/scripts/setup.php\00", align 1
@.str.19 = private unnamed_addr constant [25 x i8] c"/mysql/scripts/setup.php\00", align 1
@.str.20 = private unnamed_addr constant [30 x i8] c"/mysqladmin/scripts/setup.php\00", align 1
@.str.21 = private unnamed_addr constant [36 x i8] c"/mysqladminconfig/scripts/setup.php\00", align 1
@.str.22 = private unnamed_addr constant [32 x i8] c"/mysqlmanager/scripts/setup.php\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @is_injection(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = call i64 @strcmp(ptr noundef %4, ptr noundef @.str)
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %8
7: ; preds = %1
store i32 1, ptr %2, align 4
br label %141
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = call i64 @strcmp(ptr noundef %9, ptr noundef @.str.1)
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %8
store i32 1, ptr %2, align 4
br label %141
13: ; preds = %8
%14 = load ptr, ptr %3, align 8
%15 = call i64 @strcmp(ptr noundef %14, ptr noundef @.str.2)
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %13
store i32 1, ptr %2, align 4
br label %141
18: ; preds = %13
%19 = load ptr, ptr %3, align 8
%20 = call i64 @strcmp(ptr noundef %19, ptr noundef @.str.3)
%21 = icmp eq i64 %20, 0
br i1 %21, label %22, label %23
22: ; preds = %18
store i32 1, ptr %2, align 4
br label %141
23: ; preds = %18
%24 = load ptr, ptr %3, align 8
%25 = call i64 @strcmp(ptr noundef %24, ptr noundef @.str.4)
%26 = icmp eq i64 %25, 0
br i1 %26, label %27, label %28
27: ; preds = %23
store i32 1, ptr %2, align 4
br label %141
28: ; preds = %23
%29 = load ptr, ptr %3, align 8
%30 = call i64 @strcmp(ptr noundef %29, ptr noundef @.str.5)
%31 = icmp eq i64 %30, 0
br i1 %31, label %32, label %33
32: ; preds = %28
store i32 1, ptr %2, align 4
br label %141
33: ; preds = %28
%34 = load ptr, ptr %3, align 8
%35 = call i64 @strcmp(ptr noundef %34, ptr noundef @.str.6)
%36 = icmp eq i64 %35, 0
br i1 %36, label %37, label %38
37: ; preds = %33
store i32 1, ptr %2, align 4
br label %141
38: ; preds = %33
%39 = load ptr, ptr %3, align 8
%40 = call i64 @strcmp(ptr noundef %39, ptr noundef @.str.7)
%41 = icmp eq i64 %40, 0
br i1 %41, label %42, label %43
42: ; preds = %38
store i32 1, ptr %2, align 4
br label %141
43: ; preds = %38
%44 = load ptr, ptr %3, align 8
%45 = call i64 @strcmp(ptr noundef %44, ptr noundef @.str.8)
%46 = icmp eq i64 %45, 0
br i1 %46, label %47, label %48
47: ; preds = %43
store i32 1, ptr %2, align 4
br label %141
48: ; preds = %43
%49 = load ptr, ptr %3, align 8
%50 = call i64 @strcmp(ptr noundef %49, ptr noundef @.str.9)
%51 = icmp eq i64 %50, 0
br i1 %51, label %52, label %53
52: ; preds = %48
store i32 1, ptr %2, align 4
br label %141
53: ; preds = %48
%54 = load ptr, ptr %3, align 8
%55 = call i64 @strcmp(ptr noundef %54, ptr noundef @.str.10)
%56 = icmp eq i64 %55, 0
br i1 %56, label %57, label %58
57: ; preds = %53
store i32 1, ptr %2, align 4
br label %141
58: ; preds = %53
%59 = load ptr, ptr %3, align 8
%60 = call i64 @strcmp(ptr noundef %59, ptr noundef @.str.11)
%61 = icmp eq i64 %60, 0
br i1 %61, label %62, label %63
62: ; preds = %58
store i32 1, ptr %2, align 4
br label %141
63: ; preds = %58
%64 = load ptr, ptr %3, align 8
%65 = call i64 @strcmp(ptr noundef %64, ptr noundef @.str.12)
%66 = icmp eq i64 %65, 0
br i1 %66, label %67, label %68
67: ; preds = %63
store i32 1, ptr %2, align 4
br label %141
68: ; preds = %63
%69 = load ptr, ptr %3, align 8
%70 = call i64 @strcmp(ptr noundef %69, ptr noundef @.str.13)
%71 = icmp eq i64 %70, 0
br i1 %71, label %72, label %73
72: ; preds = %68
store i32 1, ptr %2, align 4
br label %141
73: ; preds = %68
%74 = load ptr, ptr %3, align 8
%75 = call i64 @strcmp(ptr noundef %74, ptr noundef @.str.14)
%76 = icmp eq i64 %75, 0
br i1 %76, label %77, label %78
77: ; preds = %73
store i32 1, ptr %2, align 4
br label %141
78: ; preds = %73
%79 = load ptr, ptr %3, align 8
%80 = call i64 @strcmp(ptr noundef %79, ptr noundef @.str.15)
%81 = icmp eq i64 %80, 0
br i1 %81, label %82, label %83
82: ; preds = %78
store i32 1, ptr %2, align 4
br label %141
83: ; preds = %78
%84 = load ptr, ptr %3, align 8
%85 = call i64 @strcmp(ptr noundef %84, ptr noundef @.str.16)
%86 = icmp eq i64 %85, 0
br i1 %86, label %87, label %88
87: ; preds = %83
store i32 1, ptr %2, align 4
br label %141
88: ; preds = %83
%89 = load ptr, ptr %3, align 8
%90 = call i64 @strcmp(ptr noundef %89, ptr noundef @.str.17)
%91 = icmp eq i64 %90, 0
br i1 %91, label %92, label %93
92: ; preds = %88
store i32 1, ptr %2, align 4
br label %141
93: ; preds = %88
%94 = load ptr, ptr %3, align 8
%95 = call i64 @strcmp(ptr noundef %94, ptr noundef @.str.18)
%96 = icmp eq i64 %95, 0
br i1 %96, label %97, label %98
97: ; preds = %93
store i32 1, ptr %2, align 4
br label %141
98: ; preds = %93
%99 = load ptr, ptr %3, align 8
%100 = call i64 @strcmp(ptr noundef %99, ptr noundef @.str.19)
%101 = icmp eq i64 %100, 0
br i1 %101, label %102, label %103
102: ; preds = %98
store i32 1, ptr %2, align 4
br label %141
103: ; preds = %98
%104 = load ptr, ptr %3, align 8
%105 = call i64 @strcmp(ptr noundef %104, ptr noundef @.str.20)
%106 = icmp eq i64 %105, 0
br i1 %106, label %107, label %108
107: ; preds = %103
store i32 1, ptr %2, align 4
br label %141
108: ; preds = %103
%109 = load ptr, ptr %3, align 8
%110 = call i64 @strcmp(ptr noundef %109, ptr noundef @.str.21)
%111 = icmp eq i64 %110, 0
br i1 %111, label %112, label %113
112: ; preds = %108
store i32 1, ptr %2, align 4
br label %141
113: ; preds = %108
%114 = load ptr, ptr %3, align 8
%115 = call i64 @strcmp(ptr noundef %114, ptr noundef @.str.22)
%116 = icmp eq i64 %115, 0
br i1 %116, label %117, label %118
117: ; preds = %113
store i32 1, ptr %2, align 4
br label %141
118: ; preds = %113
br label %119
119: ; preds = %118
br label %120
120: ; preds = %119
br label %121
121: ; preds = %120
br label %122
122: ; preds = %121
br label %123
123: ; preds = %122
br label %124
124: ; preds = %123
br label %125
125: ; preds = %124
br label %126
126: ; preds = %125
br label %127
127: ; preds = %126
br label %128
128: ; preds = %127
br label %129
129: ; preds = %128
br label %130
130: ; preds = %129
br label %131
131: ; preds = %130
br label %132
132: ; preds = %131
br label %133
133: ; preds = %132
br label %134
134: ; preds = %133
br label %135
135: ; preds = %134
br label %136
136: ; preds = %135
br label %137
137: ; preds = %136
br label %138
138: ; preds = %137
br label %139
139: ; preds = %138
br label %140
140: ; preds = %139
store i32 0, ptr %2, align 4
br label %141
141: ; preds = %140, %117, %112, %107, %102, %97, %92, %87, %82, %77, %72, %67, %62, %57, %52, %47, %42, %37, %32, %27, %22, %17, %12, %7
%142 = load i32, ptr %2, align 4
ret i32 %142
}
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/tmp4vc3an3n.c'
source_filename = "/tmp/tmp4vc3an3n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @spg_get_symmetry_with_collinear_spin(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef %8, double noundef %9) #0 {
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca i32, align 4
%20 = alloca double, align 8
store ptr %0, ptr %11, align 8
store ptr %1, ptr %12, align 8
store ptr %2, ptr %13, align 8
store i32 %3, ptr %14, align 4
store ptr %4, ptr %15, align 8
store ptr %5, ptr %16, align 8
store ptr %6, ptr %17, align 8
store ptr %7, ptr %18, align 8
store i32 %8, ptr %19, align 4
store double %9, ptr %20, align 8
%21 = load ptr, ptr %11, align 8
%22 = load ptr, ptr %12, align 8
%23 = load ptr, ptr %13, align 8
%24 = load i32, ptr %14, align 4
%25 = load ptr, ptr %15, align 8
%26 = load ptr, ptr %16, align 8
%27 = load ptr, ptr %17, align 8
%28 = load ptr, ptr %18, align 8
%29 = load i32, ptr %19, align 4
%30 = load double, ptr %20, align 8
%31 = call i32 @get_symmetry_with_collinear_spin(ptr noundef %21, ptr noundef %22, ptr noundef %23, i32 noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28, i32 noundef %29, double noundef %30, double noundef -1.000000e+00)
ret i32 %31
}
declare i32 @get_symmetry_with_collinear_spin(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, double 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4vc3an3n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @spg_get_symmetry_with_collinear_spin(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef %8, double noundef %9) #0 {
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca i32, align 4
%20 = alloca double, align 8
store ptr %0, ptr %11, align 8
store ptr %1, ptr %12, align 8
store ptr %2, ptr %13, align 8
store i32 %3, ptr %14, align 4
store ptr %4, ptr %15, align 8
store ptr %5, ptr %16, align 8
store ptr %6, ptr %17, align 8
store ptr %7, ptr %18, align 8
store i32 %8, ptr %19, align 4
store double %9, ptr %20, align 8
%21 = load ptr, ptr %11, align 8
%22 = load ptr, ptr %12, align 8
%23 = load ptr, ptr %13, align 8
%24 = load i32, ptr %14, align 4
%25 = load ptr, ptr %15, align 8
%26 = load ptr, ptr %16, align 8
%27 = load ptr, ptr %17, align 8
%28 = load ptr, ptr %18, align 8
%29 = load i32, ptr %19, align 4
%30 = load double, ptr %20, align 8
%31 = call i32 @get_symmetry_with_collinear_spin(ptr noundef %21, ptr noundef %22, ptr noundef %23, i32 noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28, i32 noundef %29, double noundef %30, double noundef -1.000000e+00)
ret i32 %31
}
declare i32 @get_symmetry_with_collinear_spin(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, double 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"}
|
; ModuleID = '/tmp/tmpjx1llve_.c'
source_filename = "/tmp/tmpjx1llve_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @RNAdistance_cmdline_parser_init(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 @clear_given(ptr noundef %3)
%5 = load ptr, ptr %2, align 8
%6 = call i32 @clear_args(ptr noundef %5)
%7 = load ptr, ptr %2, align 8
%8 = call i32 @init_args_info(ptr noundef %7)
ret void
}
declare i32 @clear_given(ptr noundef) #1
declare i32 @clear_args(ptr noundef) #1
declare i32 @init_args_info(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjx1llve_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @RNAdistance_cmdline_parser_init(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 @clear_given(ptr noundef %3)
%5 = load ptr, ptr %2, align 8
%6 = call i32 @clear_args(ptr noundef %5)
%7 = load ptr, ptr %2, align 8
%8 = call i32 @init_args_info(ptr noundef %7)
ret void
}
declare i32 @clear_given(ptr noundef) #1
declare i32 @clear_args(ptr noundef) #1
declare i32 @init_args_info(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvms5sizj.c'
source_filename = "/tmp/tmpvms5sizj.c"
target datalayout = "e-m:e-p270: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/tmpvms5sizj.c"
target datalayout = "e-m:e-p270: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/tmpb6t8qn16.c'
source_filename = "/tmp/tmpb6t8qn16.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter #%d: \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 @not_random_add(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%8 = load i32, ptr %6, align 4
%9 = add nsw i32 %8, 1
%10 = call i32 @printf(ptr noundef @.str, i32 noundef %9)
%11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %7)
%12 = load ptr, ptr %4, align 8
%13 = load ptr, ptr %12, align 8
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %24
15: ; preds = %3
%16 = load ptr, ptr %4, align 8
%17 = load ptr, ptr %16, align 8
%18 = load i32, ptr %6, align 4
%19 = call ptr @push(ptr noundef %17, i32 noundef %18)
%20 = load ptr, ptr %4, align 8
store ptr %19, ptr %20, align 8
%21 = load ptr, ptr %4, align 8
%22 = load ptr, ptr %21, align 8
%23 = load ptr, ptr %5, align 8
store ptr %22, ptr %23, align 8
br label %32
24: ; preds = %3
%25 = load ptr, ptr %4, align 8
%26 = load ptr, ptr %25, align 8
%27 = load ptr, ptr %5, align 8
%28 = load ptr, ptr %27, align 8
%29 = load i32, ptr %7, align 4
%30 = call ptr @append(ptr noundef %26, ptr noundef %28, i32 noundef %29)
%31 = load ptr, ptr %5, align 8
store ptr %30, ptr %31, align 8
br label %32
32: ; preds = %24, %15
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare ptr @push(ptr noundef, i32 noundef) #1
declare ptr @append(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/tmpb6t8qn16.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter #%d: \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 @not_random_add(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%8 = load i32, ptr %6, align 4
%9 = add nsw i32 %8, 1
%10 = call i32 @printf(ptr noundef @.str, i32 noundef %9)
%11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %7)
%12 = load ptr, ptr %4, align 8
%13 = load ptr, ptr %12, align 8
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %24
15: ; preds = %3
%16 = load ptr, ptr %4, align 8
%17 = load ptr, ptr %16, align 8
%18 = load i32, ptr %6, align 4
%19 = call ptr @push(ptr noundef %17, i32 noundef %18)
%20 = load ptr, ptr %4, align 8
store ptr %19, ptr %20, align 8
%21 = load ptr, ptr %4, align 8
%22 = load ptr, ptr %21, align 8
%23 = load ptr, ptr %5, align 8
store ptr %22, ptr %23, align 8
br label %32
24: ; preds = %3
%25 = load ptr, ptr %4, align 8
%26 = load ptr, ptr %25, align 8
%27 = load ptr, ptr %5, align 8
%28 = load ptr, ptr %27, align 8
%29 = load i32, ptr %7, align 4
%30 = call ptr @append(ptr noundef %26, ptr noundef %28, i32 noundef %29)
%31 = load ptr, ptr %5, align 8
store ptr %30, ptr %31, align 8
br label %32
32: ; preds = %24, %15
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare ptr @push(ptr noundef, i32 noundef) #1
declare ptr @append(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/tmpczk8id64.c'
source_filename = "/tmp/tmpczk8id64.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@LOG_ERR = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [32 x i8] c"vul() -> tmp = 0x%x buf = 0x%x\0A\00", align 1
@.str.1 = private unnamed_addr constant [49 x i8] c"vul() -> error while reading input buf [%s] (%d)\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"quit\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"bye bye ...\0A\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @vul() #0 {
%1 = alloca [1024 x i8], align 16
%2 = alloca [1024 x i8], align 16
%3 = alloca i32, align 4
store i32 0, ptr %3, align 4
%4 = load i32, ptr @LOG_ERR, align 4
%5 = getelementptr inbounds [1024 x i8], ptr %1, i64 0, i64 0
%6 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0
%7 = call i32 (i32, ptr, ptr, ...) @syslog(i32 noundef %4, ptr noundef @.str, ptr noundef %5, ptr noundef %6)
br label %8
8: ; preds = %0, %28
%9 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0
%10 = call i32 @memset(ptr noundef %9, i32 noundef 0, i32 noundef 1024)
%11 = getelementptr inbounds [1024 x i8], ptr %1, i64 0, i64 0
%12 = call i32 @memset(ptr noundef %11, i32 noundef 0, i32 noundef 1024)
%13 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0
%14 = call i32 @read(i32 noundef 0, ptr noundef %13, i32 noundef 1024)
store i32 %14, ptr %3, align 4
%15 = icmp sle i32 %14, 0
br i1 %15, label %16, label %22
16: ; preds = %8
%17 = load i32, ptr @LOG_ERR, align 4
%18 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0
%19 = load i32, ptr %3, align 4
%20 = call i32 (i32, ptr, ptr, ...) @syslog(i32 noundef %17, ptr noundef @.str.1, ptr noundef %18, i32 noundef %19)
%21 = call i32 @exit(i32 noundef -1) #3
unreachable
22: ; preds = %8
%23 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0
%24 = call i32 @strncmp(ptr noundef %23, ptr noundef @.str.2, i32 noundef 4)
%25 = icmp ne i32 %24, 0
br i1 %25, label %28, label %26
26: ; preds = %22
%27 = call i32 (ptr, ...) @respond(ptr noundef @.str.3)
ret i32 0
28: ; preds = %22
%29 = getelementptr inbounds [1024 x i8], ptr %1, i64 0, i64 0
%30 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0
%31 = call i32 @snprintf(ptr noundef %29, i32 noundef 1023, ptr noundef %30)
%32 = getelementptr inbounds [1024 x i8], ptr %1, i64 0, i64 0
%33 = call i32 (ptr, ...) @respond(ptr noundef @.str.4, ptr noundef %32)
br label %8
}
declare i32 @syslog(i32 noundef, ptr noundef, ptr noundef, ...) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @respond(ptr noundef, ...) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpczk8id64.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@LOG_ERR = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [32 x i8] c"vul() -> tmp = 0x%x buf = 0x%x\0A\00", align 1
@.str.1 = private unnamed_addr constant [49 x i8] c"vul() -> error while reading input buf [%s] (%d)\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"quit\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"bye bye ...\0A\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @vul() #0 {
%1 = alloca [1024 x i8], align 16
%2 = alloca [1024 x i8], align 16
%3 = alloca i32, align 4
store i32 0, ptr %3, align 4
%4 = load i32, ptr @LOG_ERR, align 4
%5 = getelementptr inbounds [1024 x i8], ptr %1, i64 0, i64 0
%6 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0
%7 = call i32 (i32, ptr, ptr, ...) @syslog(i32 noundef %4, ptr noundef @.str, ptr noundef %5, ptr noundef %6)
%8 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0
%9 = call i32 @memset(ptr noundef %8, i32 noundef 0, i32 noundef 1024)
%10 = getelementptr inbounds [1024 x i8], ptr %1, i64 0, i64 0
%11 = call i32 @memset(ptr noundef %10, i32 noundef 0, i32 noundef 1024)
%12 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0
%13 = call i32 @read(i32 noundef 0, ptr noundef %12, i32 noundef 1024)
store i32 %13, ptr %3, align 4
%14 = icmp sle i32 %13, 0
br i1 %14, label %15, label %.lr.ph
.lr.ph: ; preds = %0
br label %21
._crit_edge: ; preds = %27
br label %15
15: ; preds = %._crit_edge, %0
%16 = load i32, ptr @LOG_ERR, align 4
%17 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0
%18 = load i32, ptr %3, align 4
%19 = call i32 (i32, ptr, ptr, ...) @syslog(i32 noundef %16, ptr noundef @.str.1, ptr noundef %17, i32 noundef %18)
%20 = call i32 @exit(i32 noundef -1) #3
unreachable
21: ; preds = %.lr.ph, %27
%22 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0
%23 = call i32 @strncmp(ptr noundef %22, ptr noundef @.str.2, i32 noundef 4)
%24 = icmp ne i32 %23, 0
br i1 %24, label %27, label %25
25: ; preds = %21
%26 = call i32 (ptr, ...) @respond(ptr noundef @.str.3)
ret i32 0
27: ; preds = %21
%28 = getelementptr inbounds [1024 x i8], ptr %1, i64 0, i64 0
%29 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0
%30 = call i32 @snprintf(ptr noundef %28, i32 noundef 1023, ptr noundef %29)
%31 = getelementptr inbounds [1024 x i8], ptr %1, i64 0, i64 0
%32 = call i32 (ptr, ...) @respond(ptr noundef @.str.4, ptr noundef %31)
%33 = call i32 @memset(ptr noundef %8, i32 noundef 0, i32 noundef 1024)
%34 = call i32 @memset(ptr noundef %10, i32 noundef 0, i32 noundef 1024)
%35 = call i32 @read(i32 noundef 0, ptr noundef %12, i32 noundef 1024)
store i32 %35, ptr %3, align 4
%36 = icmp sle i32 %35, 0
br i1 %36, label %._crit_edge, label %21
}
declare i32 @syslog(i32 noundef, ptr noundef, ptr noundef, ...) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @respond(ptr noundef, ...) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpkyjrd242.c'
source_filename = "/tmp/tmpkyjrd242.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wcscnchrnul(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
store ptr %0, ptr %6, align 8
store i64 %1, ptr %7, align 8
store i64 %2, ptr %8, align 8
store i64 %3, ptr %9, align 8
br label %10
10: ; preds = %34, %4
%11 = load ptr, ptr %6, align 8
%12 = load i64, ptr %11, align 8
%13 = load i64, ptr %7, align 8
%14 = icmp eq i64 %12, %13
br i1 %14, label %15, label %17
15: ; preds = %10
%16 = load ptr, ptr %6, align 8
store ptr %16, ptr %5, align 8
br label %37
17: ; preds = %10
%18 = load ptr, ptr %6, align 8
%19 = load i64, ptr %18, align 8
%20 = icmp ne i64 %19, 0
br i1 %20, label %21, label %30
21: ; preds = %17
%22 = load ptr, ptr %6, align 8
%23 = load i64, ptr %22, align 8
%24 = load i64, ptr %8, align 8
%25 = icmp eq i64 %23, %24
br i1 %25, label %30, label %26
26: ; preds = %21
%27 = load i64, ptr %9, align 8
%28 = add i64 %27, -1
store i64 %28, ptr %9, align 8
%29 = icmp ne i64 %27, 0
br i1 %29, label %32, label %30
30: ; preds = %26, %21, %17
%31 = load ptr, ptr %6, align 8
store ptr %31, ptr %5, align 8
br label %37
32: ; preds = %26
br label %33
33: ; preds = %32
br label %34
34: ; preds = %33
%35 = load ptr, ptr %6, align 8
%36 = getelementptr inbounds i64, ptr %35, i32 1
store ptr %36, ptr %6, align 8
br label %10
37: ; preds = %30, %15
%38 = load ptr, ptr %5, align 8
ret ptr %38
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkyjrd242.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wcscnchrnul(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
store ptr %0, ptr %6, align 8
store i64 %1, ptr %7, align 8
store i64 %2, ptr %8, align 8
store i64 %3, ptr %9, align 8
%10 = load ptr, ptr %6, align 8
%11 = load i64, ptr %10, align 8
%12 = load i64, ptr %7, align 8
%13 = icmp eq i64 %11, %12
br i1 %13, label %14, label %.lr.ph
.lr.ph: ; preds = %4
br label %16
._crit_edge: ; preds = %33
br label %14
14: ; preds = %._crit_edge, %4
%15 = load ptr, ptr %6, align 8
store ptr %15, ptr %5, align 8
br label %40
16: ; preds = %.lr.ph, %33
%17 = load ptr, ptr %6, align 8
%18 = load i64, ptr %17, align 8
%19 = icmp ne i64 %18, 0
br i1 %19, label %20, label %29
20: ; preds = %16
%21 = load ptr, ptr %6, align 8
%22 = load i64, ptr %21, align 8
%23 = load i64, ptr %8, align 8
%24 = icmp eq i64 %22, %23
br i1 %24, label %29, label %25
25: ; preds = %20
%26 = load i64, ptr %9, align 8
%27 = add i64 %26, -1
store i64 %27, ptr %9, align 8
%28 = icmp ne i64 %26, 0
br i1 %28, label %31, label %29
29: ; preds = %25, %20, %16
%30 = load ptr, ptr %6, align 8
store ptr %30, ptr %5, align 8
br label %40
31: ; preds = %25
br label %32
32: ; preds = %31
br label %33
33: ; preds = %32
%34 = load ptr, ptr %6, align 8
%35 = getelementptr inbounds i64, ptr %34, i32 1
store ptr %35, ptr %6, align 8
%36 = load ptr, ptr %6, align 8
%37 = load i64, ptr %36, align 8
%38 = load i64, ptr %7, align 8
%39 = icmp eq i64 %37, %38
br i1 %39, label %._crit_edge, label %16
40: ; preds = %29, %14
%41 = load ptr, ptr %5, align 8
ret ptr %41
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfe7rf426.c'
source_filename = "/tmp/tmpfe7rf426.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @output_sum(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 @printf(ptr noundef @.str, i32 noundef %3)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfe7rf426.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @output_sum(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 @printf(ptr noundef @.str, i32 noundef %3)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpeu_t5dmc.c'
source_filename = "/tmp/tmpeu_t5dmc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @has_option(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 2, ptr %6, align 4
br label %7
7: ; preds = %26, %2
%8 = load ptr, ptr %4, align 8
%9 = load i32, ptr %6, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds ptr, ptr %8, i64 %10
%12 = load ptr, ptr %11, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %29
14: ; preds = %7
%15 = load ptr, ptr %4, align 8
%16 = load i32, ptr %6, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds ptr, ptr %15, i64 %17
%19 = load ptr, ptr %18, align 8
%20 = load ptr, ptr %5, align 8
%21 = call i32 @strcmp(ptr noundef %19, ptr noundef %20)
%22 = icmp ne i32 %21, 0
br i1 %22, label %25, label %23
23: ; preds = %14
%24 = load i32, ptr %6, align 4
store i32 %24, ptr %3, align 4
br label %30
25: ; preds = %14
br label %26
26: ; preds = %25
%27 = load i32, ptr %6, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %6, align 4
br label %7, !llvm.loop !6
29: ; preds = %7
store i32 0, ptr %3, align 4
br label %30
30: ; preds = %29, %23
%31 = load i32, ptr %3, align 4
ret i32 %31
}
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpeu_t5dmc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @has_option(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %6, align 4
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds ptr, ptr %7, i64 %9
%11 = load ptr, ptr %10, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %.lr.ph, label %34
.lr.ph: ; preds = %2
br label %13
13: ; preds = %.lr.ph, %25
%14 = load ptr, ptr %4, align 8
%15 = load i32, ptr %6, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds ptr, ptr %14, i64 %16
%18 = load ptr, ptr %17, align 8
%19 = load ptr, ptr %5, align 8
%20 = call i32 @strcmp(ptr noundef %18, ptr noundef %19)
%21 = icmp ne i32 %20, 0
br i1 %21, label %24, label %22
22: ; preds = %13
%23 = load i32, ptr %6, align 4
store i32 %23, ptr %3, align 4
br label %35
24: ; preds = %13
br label %25
25: ; preds = %24
%26 = load i32, ptr %6, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %6, align 4
%28 = load ptr, ptr %4, align 8
%29 = load i32, ptr %6, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds ptr, ptr %28, i64 %30
%32 = load ptr, ptr %31, align 8
%33 = icmp ne ptr %32, null
br i1 %33, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %34
34: ; preds = %._crit_edge, %2
store i32 0, ptr %3, align 4
br label %35
35: ; preds = %34, %22
%36 = load i32, ptr %3, align 4
ret i32 %36
}
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"}
|
; ModuleID = '/tmp/tmpumpc5vx4.c'
source_filename = "/tmp/tmpumpc5vx4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hugo_strcpy(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i64 @strlen(ptr noundef %6)
store i64 %7, ptr %5, align 8
%8 = load ptr, ptr %3, align 8
%9 = load ptr, ptr %4, align 8
%10 = load i64, ptr %5, align 8
%11 = call i32 @memcpy(ptr noundef %8, ptr noundef %9, i64 noundef %10)
%12 = load ptr, ptr %3, align 8
%13 = load i64, ptr %5, align 8
%14 = getelementptr inbounds i8, ptr %12, i64 %13
store i8 0, ptr %14, align 1
ret void
}
declare i64 @strlen(ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpumpc5vx4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hugo_strcpy(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i64 @strlen(ptr noundef %6)
store i64 %7, ptr %5, align 8
%8 = load ptr, ptr %3, align 8
%9 = load ptr, ptr %4, align 8
%10 = load i64, ptr %5, align 8
%11 = call i32 @memcpy(ptr noundef %8, ptr noundef %9, i64 noundef %10)
%12 = load ptr, ptr %3, align 8
%13 = load i64, ptr %5, align 8
%14 = getelementptr inbounds i8, ptr %12, i64 %13
store i8 0, ptr %14, align 1
ret void
}
declare i64 @strlen(ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpm9gnxon7.c'
source_filename = "/tmp/tmpm9gnxon7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 float @scan2float() #0 {
%1 = alloca [200 x i8], align 16
%2 = alloca float, align 4
store float 0.000000e+00, ptr %2, align 4
%3 = getelementptr inbounds [200 x i8], ptr %1, i64 0, i64 0
%4 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%5 = getelementptr inbounds [200 x i8], ptr %1, i64 0, i64 0
%6 = call float @atof(ptr noundef %5)
store float %6, ptr %2, align 4
%7 = load float, ptr %2, align 4
ret float %7
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare float @atof(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpm9gnxon7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 float @scan2float() #0 {
%1 = alloca [200 x i8], align 16
%2 = alloca float, align 4
store float 0.000000e+00, ptr %2, align 4
%3 = getelementptr inbounds [200 x i8], ptr %1, i64 0, i64 0
%4 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%5 = getelementptr inbounds [200 x i8], ptr %1, i64 0, i64 0
%6 = call float @atof(ptr noundef %5)
store float %6, ptr %2, align 4
%7 = load float, ptr %2, align 4
ret float %7
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare float @atof(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpz8hcjdsw.c'
source_filename = "/tmp/tmpz8hcjdsw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%i\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
store i32 -1, ptr %2, align 4
store i32 6, ptr %3, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp sge i32 %4, 0
br i1 %5, label %6, label %8
6: ; preds = %0
%7 = load i32, ptr %2, align 4
br label %11
8: ; preds = %0
%9 = load i32, ptr %2, align 4
%10 = sub nsw i32 0, %9
br label %11
11: ; preds = %8, %6
%12 = phi i32 [ %7, %6 ], [ %10, %8 ]
%13 = call i32 @printf(ptr noundef @.str, i32 noundef %12)
%14 = load i32, ptr %2, align 4
%15 = load i32, ptr %3, align 4
%16 = add nsw i32 %14, %15
%17 = icmp sge i32 %16, 0
br i1 %17, label %18, label %22
18: ; preds = %11
%19 = load i32, ptr %2, align 4
%20 = load i32, ptr %3, align 4
%21 = add nsw i32 %19, %20
br label %27
22: ; preds = %11
%23 = load i32, ptr %2, align 4
%24 = load i32, ptr %3, align 4
%25 = add nsw i32 %23, %24
%26 = sub nsw i32 0, %25
br label %27
27: ; preds = %22, %18
%28 = phi i32 [ %21, %18 ], [ %26, %22 ]
%29 = call i32 @printf(ptr noundef @.str, i32 noundef %28)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpz8hcjdsw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%i\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
store i32 -1, ptr %2, align 4
store i32 6, ptr %3, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp sge i32 %4, 0
br i1 %5, label %6, label %8
6: ; preds = %0
%7 = load i32, ptr %2, align 4
br label %11
8: ; preds = %0
%9 = load i32, ptr %2, align 4
%10 = sub nsw i32 0, %9
br label %11
11: ; preds = %8, %6
%12 = phi i32 [ %7, %6 ], [ %10, %8 ]
%13 = call i32 @printf(ptr noundef @.str, i32 noundef %12)
%14 = load i32, ptr %2, align 4
%15 = load i32, ptr %3, align 4
%16 = add nsw i32 %14, %15
%17 = icmp sge i32 %16, 0
br i1 %17, label %18, label %22
18: ; preds = %11
%19 = load i32, ptr %2, align 4
%20 = load i32, ptr %3, align 4
%21 = add nsw i32 %19, %20
br label %27
22: ; preds = %11
%23 = load i32, ptr %2, align 4
%24 = load i32, ptr %3, align 4
%25 = add nsw i32 %23, %24
%26 = sub nsw i32 0, %25
br label %27
27: ; preds = %22, %18
%28 = phi i32 [ %21, %18 ], [ %26, %22 ]
%29 = call i32 @printf(ptr noundef @.str, i32 noundef %28)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbjqc9_n8.c'
source_filename = "/tmp/tmpbjqc9_n8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_sum(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca double, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store i64 0, ptr %5, align 8
store double 0.000000e+00, ptr %6, align 8
store i64 0, ptr %5, align 8
br label %7
7: ; preds = %18, %2
%8 = load i64, ptr %5, align 8
%9 = load i64, ptr %4, align 8
%10 = icmp ult i64 %8, %9
br i1 %10, label %11, label %21
11: ; preds = %7
%12 = load ptr, ptr %3, align 8
%13 = load i64, ptr %5, align 8
%14 = getelementptr inbounds double, ptr %12, i64 %13
%15 = load double, ptr %14, align 8
%16 = load double, ptr %6, align 8
%17 = fadd double %16, %15
store double %17, ptr %6, align 8
br label %18
18: ; preds = %11
%19 = load i64, ptr %5, align 8
%20 = add i64 %19, 1
store i64 %20, ptr %5, align 8
br label %7, !llvm.loop !6
21: ; preds = %7
%22 = load double, ptr %6, align 8
ret double %22
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpbjqc9_n8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_sum(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca double, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store i64 0, ptr %5, align 8
store double 0.000000e+00, ptr %6, align 8
store i64 0, ptr %5, align 8
%7 = load i64, ptr %5, align 8
%8 = load i64, ptr %4, align 8
%9 = icmp ult i64 %7, %8
br i1 %9, label %.lr.ph, label %23
.lr.ph: ; preds = %2
br label %10
10: ; preds = %.lr.ph, %17
%11 = load ptr, ptr %3, align 8
%12 = load i64, ptr %5, align 8
%13 = getelementptr inbounds double, ptr %11, i64 %12
%14 = load double, ptr %13, align 8
%15 = load double, ptr %6, align 8
%16 = fadd double %15, %14
store double %16, ptr %6, align 8
br label %17
17: ; preds = %10
%18 = load i64, ptr %5, align 8
%19 = add i64 %18, 1
store i64 %19, ptr %5, align 8
%20 = load i64, ptr %5, align 8
%21 = load i64, ptr %4, align 8
%22 = icmp ult i64 %20, %21
br i1 %22, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %23
23: ; preds = %._crit_edge, %2
%24 = load double, ptr %6, align 8
ret double %24
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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_dkzgpjf.c'
source_filename = "/tmp/tmp_dkzgpjf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getCountryOrParentCountry(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp sgt i32 %5, 0
br i1 %6, label %7, label %19
7: ; preds = %1
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %8, 533
br i1 %9, label %10, label %19
10: ; preds = %7
%11 = load i32, ptr %3, align 4
%12 = call i32 @getParentCountryOf(i32 noundef %11)
store i32 %12, ptr %4, align 4
%13 = load i32, ptr %4, align 4
%14 = icmp sgt i32 %13, 0
br i1 %14, label %15, label %17
15: ; preds = %10
%16 = load i32, ptr %4, align 4
store i32 %16, ptr %2, align 4
br label %20
17: ; preds = %10
%18 = load i32, ptr %3, align 4
store i32 %18, ptr %2, align 4
br label %20
19: ; preds = %7, %1
store i32 -1, ptr %2, align 4
br label %20
20: ; preds = %19, %17, %15
%21 = load i32, ptr %2, align 4
ret i32 %21
}
declare i32 @getParentCountryOf(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_dkzgpjf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getCountryOrParentCountry(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp sgt i32 %5, 0
br i1 %6, label %7, label %19
7: ; preds = %1
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %8, 533
br i1 %9, label %10, label %19
10: ; preds = %7
%11 = load i32, ptr %3, align 4
%12 = call i32 @getParentCountryOf(i32 noundef %11)
store i32 %12, ptr %4, align 4
%13 = load i32, ptr %4, align 4
%14 = icmp sgt i32 %13, 0
br i1 %14, label %15, label %17
15: ; preds = %10
%16 = load i32, ptr %4, align 4
store i32 %16, ptr %2, align 4
br label %20
17: ; preds = %10
%18 = load i32, ptr %3, align 4
store i32 %18, ptr %2, align 4
br label %20
19: ; preds = %7, %1
store i32 -1, ptr %2, align 4
br label %20
20: ; preds = %19, %17, %15
%21 = load i32, ptr %2, align 4
ret i32 %21
}
declare i32 @getParentCountryOf(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/tmpvvsxkbdc.c'
source_filename = "/tmp/tmpvvsxkbdc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__NR_security = 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/tmpvvsxkbdc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__NR_security = 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/tmpjipj7hr0.c'
source_filename = "/tmp/tmpjipj7hr0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @checkParity(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr 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 ptr, align 8
%10 = alloca [100 x i32], align 16
%11 = alloca [100 x i32], align 16
%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
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 400, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %11, i8 0, i64 400, i1 false)
store i32 0, ptr %12, align 4
br label %18
18: ; preds = %58, %4
%19 = load i32, ptr %12, align 4
%20 = load i32, ptr %7, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %22, label %61
22: ; preds = %18
store i32 0, ptr %13, align 4
br label %23
23: ; preds = %54, %22
%24 = load i32, ptr %13, align 4
%25 = load i32, ptr %7, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %27, label %57
27: ; preds = %23
%28 = load ptr, ptr %6, align 8
%29 = load i32, ptr %12, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds [100 x i32], ptr %28, i64 %30
%32 = load i32, ptr %13, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [100 x i32], ptr %31, i64 0, i64 %33
%35 = load i32, ptr %34, align 4
%36 = load i32, ptr %13, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds [100 x i32], ptr %10, i64 0, i64 %37
%39 = load i32, ptr %38, align 4
%40 = add nsw i32 %39, %35
store i32 %40, ptr %38, align 4
%41 = load ptr, ptr %6, align 8
%42 = load i32, ptr %12, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds [100 x i32], ptr %41, i64 %43
%45 = load i32, ptr %13, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds [100 x i32], ptr %44, i64 0, i64 %46
%48 = load i32, ptr %47, align 4
%49 = load i32, ptr %12, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds [100 x i32], ptr %11, i64 0, i64 %50
%52 = load i32, ptr %51, align 4
%53 = add nsw i32 %52, %48
store i32 %53, ptr %51, align 4
br label %54
54: ; preds = %27
%55 = load i32, ptr %13, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %13, align 4
br label %23, !llvm.loop !6
57: ; preds = %23
br label %58
58: ; preds = %57
%59 = load i32, ptr %12, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %12, align 4
br label %18, !llvm.loop !8
61: ; preds = %18
%62 = getelementptr inbounds [100 x i32], ptr %11, i64 0, i64 0
%63 = load i32, ptr %7, align 4
%64 = call i32 @countOdd(ptr noundef %62, i32 noundef %63, ptr noundef %15)
store i32 %64, ptr %14, align 4
%65 = getelementptr inbounds [100 x i32], ptr %10, i64 0, i64 0
%66 = load i32, ptr %7, align 4
%67 = call i32 @countOdd(ptr noundef %65, i32 noundef %66, ptr noundef %17)
store i32 %67, ptr %16, align 4
%68 = load i32, ptr %14, align 4
%69 = icmp eq i32 %68, 0
br i1 %69, label %70, label %74
70: ; preds = %61
%71 = load i32, ptr %16, align 4
%72 = icmp eq i32 %71, 0
br i1 %72, label %73, label %74
73: ; preds = %70
store i32 0, ptr %5, align 4
br label %86
74: ; preds = %70, %61
%75 = load i32, ptr %14, align 4
%76 = icmp sgt i32 %75, 1
br i1 %76, label %80, label %77
77: ; preds = %74
%78 = load i32, ptr %16, align 4
%79 = icmp sgt i32 %78, 1
br i1 %79, label %80, label %81
80: ; preds = %77, %74
store i32 2, ptr %5, align 4
br label %86
81: ; preds = %77
%82 = load i32, ptr %15, align 4
%83 = load ptr, ptr %8, align 8
store i32 %82, ptr %83, align 4
%84 = load i32, ptr %17, align 4
%85 = load ptr, ptr %9, align 8
store i32 %84, ptr %85, align 4
store i32 1, ptr %5, align 4
br label %86
86: ; preds = %81, %80, %73
%87 = load i32, ptr %5, align 4
ret i32 %87
}
; 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 @countOdd(ptr noundef, i32 noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjipj7hr0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @checkParity(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr 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 ptr, align 8
%10 = alloca [100 x i32], align 16
%11 = alloca [100 x i32], align 16
%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
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 400, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %11, i8 0, i64 400, i1 false)
store i32 0, ptr %12, align 4
%18 = load i32, ptr %12, align 4
%19 = load i32, ptr %7, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %.lr.ph2, label %65
.lr.ph2: ; preds = %4
br label %21
21: ; preds = %.lr.ph2, %59
store i32 0, ptr %13, align 4
%22 = load i32, ptr %13, align 4
%23 = load i32, ptr %7, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %.lr.ph, label %58
.lr.ph: ; preds = %21
br label %25
25: ; preds = %.lr.ph, %52
%26 = load ptr, ptr %6, align 8
%27 = load i32, ptr %12, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [100 x i32], ptr %26, i64 %28
%30 = load i32, ptr %13, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds [100 x i32], ptr %29, i64 0, i64 %31
%33 = load i32, ptr %32, align 4
%34 = load i32, ptr %13, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [100 x i32], ptr %10, i64 0, i64 %35
%37 = load i32, ptr %36, align 4
%38 = add nsw i32 %37, %33
store i32 %38, ptr %36, align 4
%39 = load ptr, ptr %6, align 8
%40 = load i32, ptr %12, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds [100 x i32], ptr %39, i64 %41
%43 = load i32, ptr %13, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds [100 x i32], ptr %42, i64 0, i64 %44
%46 = load i32, ptr %45, align 4
%47 = load i32, ptr %12, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds [100 x i32], ptr %11, i64 0, i64 %48
%50 = load i32, ptr %49, align 4
%51 = add nsw i32 %50, %46
store i32 %51, ptr %49, align 4
br label %52
52: ; preds = %25
%53 = load i32, ptr %13, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %13, align 4
%55 = load i32, ptr %13, align 4
%56 = load i32, ptr %7, align 4
%57 = icmp slt i32 %55, %56
br i1 %57, label %25, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %52
br label %58
58: ; preds = %._crit_edge, %21
br label %59
59: ; preds = %58
%60 = load i32, ptr %12, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %12, align 4
%62 = load i32, ptr %12, align 4
%63 = load i32, ptr %7, align 4
%64 = icmp slt i32 %62, %63
br i1 %64, label %21, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %59
br label %65
65: ; preds = %._crit_edge3, %4
%66 = getelementptr inbounds [100 x i32], ptr %11, i64 0, i64 0
%67 = load i32, ptr %7, align 4
%68 = call i32 @countOdd(ptr noundef %66, i32 noundef %67, ptr noundef %15)
store i32 %68, ptr %14, align 4
%69 = getelementptr inbounds [100 x i32], ptr %10, i64 0, i64 0
%70 = load i32, ptr %7, align 4
%71 = call i32 @countOdd(ptr noundef %69, i32 noundef %70, ptr noundef %17)
store i32 %71, ptr %16, align 4
%72 = load i32, ptr %14, align 4
%73 = icmp eq i32 %72, 0
br i1 %73, label %74, label %78
74: ; preds = %65
%75 = load i32, ptr %16, align 4
%76 = icmp eq i32 %75, 0
br i1 %76, label %77, label %78
77: ; preds = %74
store i32 0, ptr %5, align 4
br label %90
78: ; preds = %74, %65
%79 = load i32, ptr %14, align 4
%80 = icmp sgt i32 %79, 1
br i1 %80, label %84, label %81
81: ; preds = %78
%82 = load i32, ptr %16, align 4
%83 = icmp sgt i32 %82, 1
br i1 %83, label %84, label %85
84: ; preds = %81, %78
store i32 2, ptr %5, align 4
br label %90
85: ; preds = %81
%86 = load i32, ptr %15, align 4
%87 = load ptr, ptr %8, align 8
store i32 %86, ptr %87, align 4
%88 = load i32, ptr %17, align 4
%89 = load ptr, ptr %9, align 8
store i32 %88, ptr %89, align 4
store i32 1, ptr %5, align 4
br label %90
90: ; preds = %85, %84, %77
%91 = load i32, ptr %5, align 4
ret i32 %91
}
; 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 @countOdd(ptr noundef, i32 noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpb8evuazz.c'
source_filename = "/tmp/tmpb8evuazz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"nothing\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"doing cleanup on %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [49 x i8] c"/home/julia/coccinelle/tools/distributed/cleanup\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cleanup(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = call ptr @malloc(i32 noundef 24)
store ptr %4, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = getelementptr inbounds ptr, ptr %5, i64 0
store ptr @.str, ptr %6, align 8
%7 = load ptr, ptr %2, align 8
%8 = getelementptr inbounds ptr, ptr %7, i64 1
%9 = load ptr, ptr %8, align 8
%10 = load ptr, ptr %3, align 8
%11 = getelementptr inbounds ptr, ptr %10, i64 1
store ptr %9, ptr %11, align 8
%12 = load ptr, ptr %3, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 2
store ptr null, ptr %13, align 8
%14 = load ptr, ptr %2, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 1
%16 = load ptr, ptr %15, align 8
%17 = call i32 @printf(ptr noundef @.str.1, ptr noundef %16)
%18 = load ptr, ptr %3, align 8
%19 = call i32 @execvp(ptr noundef @.str.2, ptr noundef %18)
ret void
}
declare ptr @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @execvp(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/tmpb8evuazz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"nothing\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"doing cleanup on %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [49 x i8] c"/home/julia/coccinelle/tools/distributed/cleanup\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cleanup(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = call ptr @malloc(i32 noundef 24)
store ptr %4, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = getelementptr inbounds ptr, ptr %5, i64 0
store ptr @.str, ptr %6, align 8
%7 = load ptr, ptr %2, align 8
%8 = getelementptr inbounds ptr, ptr %7, i64 1
%9 = load ptr, ptr %8, align 8
%10 = load ptr, ptr %3, align 8
%11 = getelementptr inbounds ptr, ptr %10, i64 1
store ptr %9, ptr %11, align 8
%12 = load ptr, ptr %3, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 2
store ptr null, ptr %13, align 8
%14 = load ptr, ptr %2, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 1
%16 = load ptr, ptr %15, align 8
%17 = call i32 @printf(ptr noundef @.str.1, ptr noundef %16)
%18 = load ptr, ptr %3, align 8
%19 = call i32 @execvp(ptr noundef @.str.2, ptr noundef %18)
ret void
}
declare ptr @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @execvp(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/tmp2142hfif.c'
source_filename = "/tmp/tmp2142hfif.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [1272 x i8] c"\0AToACME - converts other assemblers' source codes to ACME format.\0ARelease 0.14 (19 Feb 2017), Copyright (C) 1999-2017 Marco Baye.\0APlatform independent version.\0AThanks to Stefan H\C3\BCbner for fixing the AssBlaster macro conversion code.\0AThanks to Andreas Paul for helping with the Giga-Assembler mode.\0AThanks to Arndt Dettke for helping with the Hypra-Assembler mode.\0AThanks to Hoogo for helping with the Professional Assembler mode.\0A\0AThe newest version can be found at the ACME homepage:\0Ahttp://sourceforge.net/projects/acme-crossass/\0A\0AToACME comes with ABSOLUTELY NO WARRANTY; for details read the help file.\0AThis is free software, and you are welcome to redistribute it under\0Acertain conditions; as outlined in the GNU General Public License.\0A\0ASyntax: %s FORMAT_ID INPUT_FILE OUTPUT_FILE\0A\0AFormat ID: source file format quality\0A--------------------------------------------------\0Aobject object code files poor\0Ahypra C64: Hypra-Assembler ok\0Agiga C64: Giga-Assembler ok\0Avis C64: VisAss untested\0Aab3 C64: AssBlaster 3.0 to 3.2 good\0Af8ab C64: Flash8-AssBlaster ok\0Aprof C64: Professional Assembler poor (work in progress)\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @version_show_info(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/tmp2142hfif.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [1272 x i8] c"\0AToACME - converts other assemblers' source codes to ACME format.\0ARelease 0.14 (19 Feb 2017), Copyright (C) 1999-2017 Marco Baye.\0APlatform independent version.\0AThanks to Stefan H\C3\BCbner for fixing the AssBlaster macro conversion code.\0AThanks to Andreas Paul for helping with the Giga-Assembler mode.\0AThanks to Arndt Dettke for helping with the Hypra-Assembler mode.\0AThanks to Hoogo for helping with the Professional Assembler mode.\0A\0AThe newest version can be found at the ACME homepage:\0Ahttp://sourceforge.net/projects/acme-crossass/\0A\0AToACME comes with ABSOLUTELY NO WARRANTY; for details read the help file.\0AThis is free software, and you are welcome to redistribute it under\0Acertain conditions; as outlined in the GNU General Public License.\0A\0ASyntax: %s FORMAT_ID INPUT_FILE OUTPUT_FILE\0A\0AFormat ID: source file format quality\0A--------------------------------------------------\0Aobject object code files poor\0Ahypra C64: Hypra-Assembler ok\0Agiga C64: Giga-Assembler ok\0Avis C64: VisAss untested\0Aab3 C64: AssBlaster 3.0 to 3.2 good\0Af8ab C64: Flash8-AssBlaster ok\0Aprof C64: Professional Assembler poor (work in progress)\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @version_show_info(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/tmpgvl0a0j_.c'
source_filename = "/tmp/tmpgvl0a0j_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getVecSpace(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = sext i32 %5 to i64
%7 = mul i64 8, %6
%8 = trunc i64 %7 to i32
%9 = call i64 @malloc(i32 noundef %8)
%10 = inttoptr i64 %9 to ptr
store ptr %10, ptr %3, align 8
store i32 0, ptr %4, align 4
br label %11
11: ; preds = %20, %1
%12 = load i32, ptr %4, align 4
%13 = load i32, ptr %2, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %15, label %23
15: ; preds = %11
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %4, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds double, ptr %16, i64 %18
store double 0.000000e+00, ptr %19, align 8
br label %20
20: ; preds = %15
%21 = load i32, ptr %4, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %4, align 4
br label %11, !llvm.loop !6
23: ; preds = %11
%24 = load ptr, ptr %3, align 8
ret ptr %24
}
declare i64 @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgvl0a0j_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getVecSpace(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = sext i32 %5 to i64
%7 = mul i64 8, %6
%8 = trunc i64 %7 to i32
%9 = call i64 @malloc(i32 noundef %8)
%10 = inttoptr i64 %9 to ptr
store ptr %10, ptr %3, align 8
store i32 0, ptr %4, align 4
%11 = load i32, ptr %4, align 4
%12 = load i32, ptr %2, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %.lr.ph, label %25
.lr.ph: ; preds = %1
br label %14
14: ; preds = %.lr.ph, %19
%15 = load ptr, ptr %3, align 8
%16 = load i32, ptr %4, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds double, ptr %15, i64 %17
store double 0.000000e+00, ptr %18, align 8
br label %19
19: ; preds = %14
%20 = load i32, ptr %4, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %4, align 4
%22 = load i32, ptr %4, align 4
%23 = load i32, ptr %2, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %25
25: ; preds = %._crit_edge, %1
%26 = load ptr, ptr %3, align 8
ret ptr %26
}
declare i64 @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp46um38_u.c'
source_filename = "/tmp/tmp46um38_u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @check_error(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %2
%8 = load ptr, ptr %4, align 8
%9 = call i32 @perror(ptr noundef %8)
br label %10
10: ; preds = %7, %2
%11 = load i32, ptr %3, align 4
ret i32 %11
}
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp46um38_u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @check_error(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %2
%8 = load ptr, ptr %4, align 8
%9 = call i32 @perror(ptr noundef %8)
br label %10
10: ; preds = %7, %2
%11 = load i32, ptr %3, align 4
ret i32 %11
}
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxslx4zxq.c'
source_filename = "/tmp/tmpxslx4zxq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [35 x i8] c"_POSIX_SEMAPHORES is not defined \0A\00", align 1
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i64, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca [200 x i8], align 16
%13 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 1, ptr %7, align 4
store i32 1, ptr %8, align 4
store i64 0, ptr %9, align 8
store i32 0, ptr %11, align 4
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str)
ret i32 2
}
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/tmpxslx4zxq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [35 x i8] c"_POSIX_SEMAPHORES is not defined \0A\00", align 1
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i64, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca [200 x i8], align 16
%13 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 1, ptr %7, align 4
store i32 1, ptr %8, align 4
store i64 0, ptr %9, align 8
store i32 0, ptr %11, align 4
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str)
ret i32 2
}
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/tmpr0_1gg09.c'
source_filename = "/tmp/tmpr0_1gg09.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Example2:\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [16 x i8], align 16
store i32 0, ptr %1, align 4
%3 = call i32 @alarm(i32 noundef 10)
%4 = call i32 @write(i32 noundef 1, ptr noundef @.str, i32 noundef 10)
%5 = getelementptr inbounds [16 x i8], ptr %2, i64 0, i64 0
%6 = call i32 @read(i32 noundef 0, ptr noundef %5, i32 noundef 256)
%7 = call i32 (...) @destroy_main()
ret i32 0
}
declare i32 @alarm(i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @destroy_main(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpr0_1gg09.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Example2:\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [16 x i8], align 16
store i32 0, ptr %1, align 4
%3 = call i32 @alarm(i32 noundef 10)
%4 = call i32 @write(i32 noundef 1, ptr noundef @.str, i32 noundef 10)
%5 = getelementptr inbounds [16 x i8], ptr %2, i64 0, i64 0
%6 = call i32 @read(i32 noundef 0, ptr noundef %5, i32 noundef 256)
%7 = call i32 (...) @destroy_main()
ret i32 0
}
declare i32 @alarm(i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @destroy_main(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvuev2g8b.c'
source_filename = "/tmp/tmpvuev2g8b.c"
target datalayout = "e-m:e-p270: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/tmpvuev2g8b.c"
target datalayout = "e-m:e-p270: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.