llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmpqfkxr9r_.c'
source_filename = "/tmp/tmpqfkxr9r_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"-help\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"\0ACommand Line arguments are:\0A\00", align 1
@.str.2 = private unnamed_addr constant [66 x i8] c" File of test image names, one name per line in the file ... %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [66 x i8] c" Name of file to create with names grouped by subject ...... %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @readArgs(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%9 = load i32, ptr %5, align 4
%10 = icmp sle i32 %9, 1
br i1 %10, label %11, label %16
11: ; preds = %4
%12 = load ptr, ptr %6, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 0
%14 = load ptr, ptr %13, align 8
%15 = call i32 @usage(ptr noundef %14)
br label %16
16: ; preds = %11, %4
%17 = load ptr, ptr %6, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 1
%19 = load ptr, ptr %18, align 8
%20 = call i64 @strcmp(ptr noundef %19, ptr noundef @.str)
%21 = icmp eq i64 %20, 0
br i1 %21, label %25, label %22
22: ; preds = %16
%23 = load i32, ptr %5, align 4
%24 = icmp slt i32 %23, 3
br i1 %24, label %25, label %30
25: ; preds = %22, %16
%26 = load ptr, ptr %6, align 8
%27 = getelementptr inbounds ptr, ptr %26, i64 0
%28 = load ptr, ptr %27, align 8
%29 = call i32 @usage(ptr noundef %28)
br label %30
30: ; preds = %25, %22
%31 = load ptr, ptr %6, align 8
%32 = getelementptr inbounds ptr, ptr %31, i64 1
%33 = load ptr, ptr %32, align 8
%34 = load ptr, ptr %7, align 8
store ptr %33, ptr %34, align 8
%35 = load ptr, ptr %6, align 8
%36 = getelementptr inbounds ptr, ptr %35, i64 2
%37 = load ptr, ptr %36, align 8
%38 = load ptr, ptr %8, align 8
store ptr %37, ptr %38, align 8
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%40 = load ptr, ptr %7, align 8
%41 = load ptr, ptr %40, align 8
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %41)
%43 = load ptr, ptr %8, align 8
%44 = load ptr, ptr %43, align 8
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %44)
ret void
}
declare i32 @usage(ptr noundef) #1
declare i64 @strcmp(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/tmpqfkxr9r_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"-help\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"\0ACommand Line arguments are:\0A\00", align 1
@.str.2 = private unnamed_addr constant [66 x i8] c" File of test image names, one name per line in the file ... %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [66 x i8] c" Name of file to create with names grouped by subject ...... %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @readArgs(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%9 = load i32, ptr %5, align 4
%10 = icmp sle i32 %9, 1
br i1 %10, label %11, label %16
11: ; preds = %4
%12 = load ptr, ptr %6, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 0
%14 = load ptr, ptr %13, align 8
%15 = call i32 @usage(ptr noundef %14)
br label %16
16: ; preds = %11, %4
%17 = load ptr, ptr %6, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 1
%19 = load ptr, ptr %18, align 8
%20 = call i64 @strcmp(ptr noundef %19, ptr noundef @.str)
%21 = icmp eq i64 %20, 0
br i1 %21, label %25, label %22
22: ; preds = %16
%23 = load i32, ptr %5, align 4
%24 = icmp slt i32 %23, 3
br i1 %24, label %25, label %30
25: ; preds = %22, %16
%26 = load ptr, ptr %6, align 8
%27 = getelementptr inbounds ptr, ptr %26, i64 0
%28 = load ptr, ptr %27, align 8
%29 = call i32 @usage(ptr noundef %28)
br label %30
30: ; preds = %25, %22
%31 = load ptr, ptr %6, align 8
%32 = getelementptr inbounds ptr, ptr %31, i64 1
%33 = load ptr, ptr %32, align 8
%34 = load ptr, ptr %7, align 8
store ptr %33, ptr %34, align 8
%35 = load ptr, ptr %6, align 8
%36 = getelementptr inbounds ptr, ptr %35, i64 2
%37 = load ptr, ptr %36, align 8
%38 = load ptr, ptr %8, align 8
store ptr %37, ptr %38, align 8
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%40 = load ptr, ptr %7, align 8
%41 = load ptr, ptr %40, align 8
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %41)
%43 = load ptr, ptr %8, align 8
%44 = load ptr, ptr %43, align 8
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %44)
ret void
}
declare i32 @usage(ptr noundef) #1
declare i64 @strcmp(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/tmpzb83b7y3.c'
source_filename = "/tmp/tmpzb83b7y3.c"
target datalayout = "e-m:e-p270: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/tmpzb83b7y3.c"
target datalayout = "e-m:e-p270: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/tmphh8g857j.c'
source_filename = "/tmp/tmphh8g857j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @replace_string(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %4, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %9, label %8
8: ; preds = %2
store i32 -1, ptr %3, align 4
br label %25
9: ; preds = %2
%10 = load ptr, ptr %4, align 8
%11 = load ptr, ptr %10, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %17
13: ; preds = %9
%14 = load ptr, ptr %4, align 8
%15 = load ptr, ptr %14, align 8
%16 = call i32 @free(ptr noundef %15)
br label %17
17: ; preds = %13, %9
%18 = load ptr, ptr %5, align 8
%19 = call ptr @strdup(ptr noundef %18)
%20 = load ptr, ptr %4, align 8
store ptr %19, ptr %20, align 8
%21 = icmp ne ptr %19, null
br i1 %21, label %24, label %22
22: ; preds = %17
%23 = call i32 (...) @out_of_memory()
br label %24
24: ; preds = %22, %17
store i32 0, ptr %3, align 4
br label %25
25: ; preds = %24, %8
%26 = load i32, ptr %3, align 4
ret i32 %26
}
declare i32 @free(ptr noundef) #1
declare ptr @strdup(ptr noundef) #1
declare i32 @out_of_memory(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphh8g857j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @replace_string(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %4, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %9, label %8
8: ; preds = %2
store i32 -1, ptr %3, align 4
br label %25
9: ; preds = %2
%10 = load ptr, ptr %4, align 8
%11 = load ptr, ptr %10, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %17
13: ; preds = %9
%14 = load ptr, ptr %4, align 8
%15 = load ptr, ptr %14, align 8
%16 = call i32 @free(ptr noundef %15)
br label %17
17: ; preds = %13, %9
%18 = load ptr, ptr %5, align 8
%19 = call ptr @strdup(ptr noundef %18)
%20 = load ptr, ptr %4, align 8
store ptr %19, ptr %20, align 8
%21 = icmp ne ptr %19, null
br i1 %21, label %24, label %22
22: ; preds = %17
%23 = call i32 (...) @out_of_memory()
br label %24
24: ; preds = %22, %17
store i32 0, ptr %3, align 4
br label %25
25: ; preds = %24, %8
%26 = load i32, ptr %3, align 4
ret i32 %26
}
declare i32 @free(ptr noundef) #1
declare ptr @strdup(ptr noundef) #1
declare i32 @out_of_memory(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprshtm4rx.c'
source_filename = "/tmp/tmprshtm4rx.c"
target datalayout = "e-m:e-p270: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 { i64, i64 }
@stdin = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @InputIsReady() #0 {
%1 = alloca i32, align 4
%2 = alloca %struct.timeval, align 8
%3 = alloca i32, align 4
%4 = call i32 @FD_ZERO(ptr noundef %1)
%5 = load i32, ptr @stdin, align 4
%6 = call i64 @fileno(i32 noundef %5)
%7 = call i32 @FD_SET(i64 noundef %6, ptr noundef %1)
%8 = getelementptr inbounds %struct.timeval, ptr %2, i32 0, i32 1
store i64 0, ptr %8, align 8
%9 = getelementptr inbounds %struct.timeval, ptr %2, i32 0, i32 0
store i64 0, ptr %9, align 8
%10 = load i32, ptr @stdin, align 4
%11 = call i64 @fileno(i32 noundef %10)
%12 = add nsw i64 %11, 1
%13 = call i32 @select(i64 noundef %12, ptr noundef %1, i32 noundef 0, i32 noundef 0, ptr noundef %2)
store i32 %13, ptr %3, align 4
%14 = load i32, ptr %3, align 4
%15 = trunc i32 %14 to i8
ret i8 %15
}
declare i32 @FD_ZERO(ptr noundef) #1
declare i32 @FD_SET(i64 noundef, ptr noundef) #1
declare i64 @fileno(i32 noundef) #1
declare i32 @select(i64 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprshtm4rx.c"
target datalayout = "e-m:e-p270: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 { i64, i64 }
@stdin = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @InputIsReady() #0 {
%1 = alloca i32, align 4
%2 = alloca %struct.timeval, align 8
%3 = alloca i32, align 4
%4 = call i32 @FD_ZERO(ptr noundef %1)
%5 = load i32, ptr @stdin, align 4
%6 = call i64 @fileno(i32 noundef %5)
%7 = call i32 @FD_SET(i64 noundef %6, ptr noundef %1)
%8 = getelementptr inbounds %struct.timeval, ptr %2, i32 0, i32 1
store i64 0, ptr %8, align 8
%9 = getelementptr inbounds %struct.timeval, ptr %2, i32 0, i32 0
store i64 0, ptr %9, align 8
%10 = load i32, ptr @stdin, align 4
%11 = call i64 @fileno(i32 noundef %10)
%12 = add nsw i64 %11, 1
%13 = call i32 @select(i64 noundef %12, ptr noundef %1, i32 noundef 0, i32 noundef 0, ptr noundef %2)
store i32 %13, ptr %3, align 4
%14 = load i32, ptr %3, align 4
%15 = trunc i32 %14 to i8
ret i8 %15
}
declare i32 @FD_ZERO(ptr noundef) #1
declare i32 @FD_SET(i64 noundef, ptr noundef) #1
declare i64 @fileno(i32 noundef) #1
declare i32 @select(i64 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzk7x5ovq.c'
source_filename = "/tmp/tmpzk7x5ovq.c"
target datalayout = "e-m:e-p270: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/tmpzk7x5ovq.c"
target datalayout = "e-m:e-p270: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/tmpenzfw6f6.c'
source_filename = "/tmp/tmpenzfw6f6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strsort(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i64, align 8
%6 = alloca i8, align 1
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%10 = load ptr, ptr %3, align 8
%11 = call i64 @strlen(ptr noundef %10)
store i64 %11, ptr %5, align 8
%12 = load i32, ptr %4, align 4
%13 = icmp sgt i32 %12, 0
br i1 %13, label %14, label %65
14: ; preds = %2
store i64 0, ptr %7, align 8
br label %15
15: ; preds = %61, %14
%16 = load i64, ptr %7, align 8
%17 = load i64, ptr %5, align 8
%18 = icmp ult i64 %16, %17
br i1 %18, label %19, label %64
19: ; preds = %15
%20 = load i64, ptr %7, align 8
store i64 %20, ptr %9, align 8
%21 = load i64, ptr %7, align 8
%22 = add i64 %21, 1
store i64 %22, ptr %8, align 8
br label %23
23: ; preds = %42, %19
%24 = load i64, ptr %8, align 8
%25 = load i64, ptr %5, align 8
%26 = icmp ult i64 %24, %25
br i1 %26, label %27, label %45
27: ; preds = %23
%28 = load ptr, ptr %3, align 8
%29 = load i64, ptr %8, align 8
%30 = getelementptr inbounds i8, ptr %28, i64 %29
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = load ptr, ptr %3, align 8
%34 = load i64, ptr %9, align 8
%35 = getelementptr inbounds i8, ptr %33, i64 %34
%36 = load i8, ptr %35, align 1
%37 = sext i8 %36 to i32
%38 = icmp sgt i32 %32, %37
br i1 %38, label %39, label %41
39: ; preds = %27
%40 = load i64, ptr %8, align 8
store i64 %40, ptr %9, align 8
br label %41
41: ; preds = %39, %27
br label %42
42: ; preds = %41
%43 = load i64, ptr %8, align 8
%44 = add i64 %43, 1
store i64 %44, ptr %8, align 8
br label %23, !llvm.loop !6
45: ; preds = %23
%46 = load ptr, ptr %3, align 8
%47 = load i64, ptr %7, align 8
%48 = getelementptr inbounds i8, ptr %46, i64 %47
%49 = load i8, ptr %48, align 1
store i8 %49, ptr %6, align 1
%50 = load ptr, ptr %3, align 8
%51 = load i64, ptr %9, align 8
%52 = getelementptr inbounds i8, ptr %50, i64 %51
%53 = load i8, ptr %52, align 1
%54 = load ptr, ptr %3, align 8
%55 = load i64, ptr %7, align 8
%56 = getelementptr inbounds i8, ptr %54, i64 %55
store i8 %53, ptr %56, align 1
%57 = load i8, ptr %6, align 1
%58 = load ptr, ptr %3, align 8
%59 = load i64, ptr %9, align 8
%60 = getelementptr inbounds i8, ptr %58, i64 %59
store i8 %57, ptr %60, align 1
br label %61
61: ; preds = %45
%62 = load i64, ptr %7, align 8
%63 = add i64 %62, 1
store i64 %63, ptr %7, align 8
br label %15, !llvm.loop !8
64: ; preds = %15
br label %116
65: ; preds = %2
store i64 0, ptr %7, align 8
br label %66
66: ; preds = %112, %65
%67 = load i64, ptr %7, align 8
%68 = load i64, ptr %5, align 8
%69 = icmp ult i64 %67, %68
br i1 %69, label %70, label %115
70: ; preds = %66
%71 = load i64, ptr %7, align 8
store i64 %71, ptr %9, align 8
%72 = load i64, ptr %7, align 8
%73 = add i64 %72, 1
store i64 %73, ptr %8, align 8
br label %74
74: ; preds = %93, %70
%75 = load i64, ptr %8, align 8
%76 = load i64, ptr %5, align 8
%77 = icmp ult i64 %75, %76
br i1 %77, label %78, label %96
78: ; preds = %74
%79 = load ptr, ptr %3, align 8
%80 = load i64, ptr %8, align 8
%81 = getelementptr inbounds i8, ptr %79, i64 %80
%82 = load i8, ptr %81, align 1
%83 = sext i8 %82 to i32
%84 = load ptr, ptr %3, align 8
%85 = load i64, ptr %9, align 8
%86 = getelementptr inbounds i8, ptr %84, i64 %85
%87 = load i8, ptr %86, align 1
%88 = sext i8 %87 to i32
%89 = icmp slt i32 %83, %88
br i1 %89, label %90, label %92
90: ; preds = %78
%91 = load i64, ptr %8, align 8
store i64 %91, ptr %9, align 8
br label %92
92: ; preds = %90, %78
br label %93
93: ; preds = %92
%94 = load i64, ptr %8, align 8
%95 = add i64 %94, 1
store i64 %95, ptr %8, align 8
br label %74, !llvm.loop !9
96: ; preds = %74
%97 = load ptr, ptr %3, align 8
%98 = load i64, ptr %7, align 8
%99 = getelementptr inbounds i8, ptr %97, i64 %98
%100 = load i8, ptr %99, align 1
store i8 %100, ptr %6, align 1
%101 = load ptr, ptr %3, align 8
%102 = load i64, ptr %9, align 8
%103 = getelementptr inbounds i8, ptr %101, i64 %102
%104 = load i8, ptr %103, align 1
%105 = load ptr, ptr %3, align 8
%106 = load i64, ptr %7, align 8
%107 = getelementptr inbounds i8, ptr %105, i64 %106
store i8 %104, ptr %107, align 1
%108 = load i8, ptr %6, align 1
%109 = load ptr, ptr %3, align 8
%110 = load i64, ptr %9, align 8
%111 = getelementptr inbounds i8, ptr %109, i64 %110
store i8 %108, ptr %111, align 1
br label %112
112: ; preds = %96
%113 = load i64, ptr %7, align 8
%114 = add i64 %113, 1
store i64 %114, ptr %7, align 8
br label %66, !llvm.loop !10
115: ; preds = %66
br label %116
116: ; preds = %115, %64
ret void
}
declare i64 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpenzfw6f6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strsort(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i64, align 8
%6 = alloca i8, align 1
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%10 = load ptr, ptr %3, align 8
%11 = call i64 @strlen(ptr noundef %10)
store i64 %11, ptr %5, align 8
%12 = load i32, ptr %4, align 4
%13 = icmp sgt i32 %12, 0
br i1 %13, label %14, label %69
14: ; preds = %2
store i64 0, ptr %7, align 8
%15 = load i64, ptr %7, align 8
%16 = load i64, ptr %5, align 8
%17 = icmp ult i64 %15, %16
br i1 %17, label %.lr.ph8, label %68
.lr.ph8: ; preds = %14
br label %18
18: ; preds = %.lr.ph8, %62
%19 = load i64, ptr %7, align 8
store i64 %19, ptr %9, align 8
%20 = load i64, ptr %7, align 8
%21 = add i64 %20, 1
store i64 %21, ptr %8, align 8
%22 = load i64, ptr %8, align 8
%23 = load i64, ptr %5, align 8
%24 = icmp ult i64 %22, %23
br i1 %24, label %.lr.ph5, label %46
.lr.ph5: ; preds = %18
br label %25
25: ; preds = %.lr.ph5, %40
%26 = load ptr, ptr %3, align 8
%27 = load i64, ptr %8, align 8
%28 = getelementptr inbounds i8, ptr %26, i64 %27
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = load ptr, ptr %3, align 8
%32 = load i64, ptr %9, align 8
%33 = getelementptr inbounds i8, ptr %31, i64 %32
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = icmp sgt i32 %30, %35
br i1 %36, label %37, label %39
37: ; preds = %25
%38 = load i64, ptr %8, align 8
store i64 %38, ptr %9, align 8
br label %39
39: ; preds = %37, %25
br label %40
40: ; preds = %39
%41 = load i64, ptr %8, align 8
%42 = add i64 %41, 1
store i64 %42, ptr %8, align 8
%43 = load i64, ptr %8, align 8
%44 = load i64, ptr %5, align 8
%45 = icmp ult i64 %43, %44
br i1 %45, label %25, label %._crit_edge6, !llvm.loop !6
._crit_edge6: ; preds = %40
br label %46
46: ; preds = %._crit_edge6, %18
%47 = load ptr, ptr %3, align 8
%48 = load i64, ptr %7, align 8
%49 = getelementptr inbounds i8, ptr %47, i64 %48
%50 = load i8, ptr %49, align 1
store i8 %50, ptr %6, align 1
%51 = load ptr, ptr %3, align 8
%52 = load i64, ptr %9, align 8
%53 = getelementptr inbounds i8, ptr %51, i64 %52
%54 = load i8, ptr %53, align 1
%55 = load ptr, ptr %3, align 8
%56 = load i64, ptr %7, align 8
%57 = getelementptr inbounds i8, ptr %55, i64 %56
store i8 %54, ptr %57, align 1
%58 = load i8, ptr %6, align 1
%59 = load ptr, ptr %3, align 8
%60 = load i64, ptr %9, align 8
%61 = getelementptr inbounds i8, ptr %59, i64 %60
store i8 %58, ptr %61, align 1
br label %62
62: ; preds = %46
%63 = load i64, ptr %7, align 8
%64 = add i64 %63, 1
store i64 %64, ptr %7, align 8
%65 = load i64, ptr %7, align 8
%66 = load i64, ptr %5, align 8
%67 = icmp ult i64 %65, %66
br i1 %67, label %18, label %._crit_edge9, !llvm.loop !8
._crit_edge9: ; preds = %62
br label %68
68: ; preds = %._crit_edge9, %14
br label %124
69: ; preds = %2
store i64 0, ptr %7, align 8
%70 = load i64, ptr %7, align 8
%71 = load i64, ptr %5, align 8
%72 = icmp ult i64 %70, %71
br i1 %72, label %.lr.ph2, label %123
.lr.ph2: ; preds = %69
br label %73
73: ; preds = %.lr.ph2, %117
%74 = load i64, ptr %7, align 8
store i64 %74, ptr %9, align 8
%75 = load i64, ptr %7, align 8
%76 = add i64 %75, 1
store i64 %76, ptr %8, align 8
%77 = load i64, ptr %8, align 8
%78 = load i64, ptr %5, align 8
%79 = icmp ult i64 %77, %78
br i1 %79, label %.lr.ph, label %101
.lr.ph: ; preds = %73
br label %80
80: ; preds = %.lr.ph, %95
%81 = load ptr, ptr %3, align 8
%82 = load i64, ptr %8, align 8
%83 = getelementptr inbounds i8, ptr %81, i64 %82
%84 = load i8, ptr %83, align 1
%85 = sext i8 %84 to i32
%86 = load ptr, ptr %3, align 8
%87 = load i64, ptr %9, align 8
%88 = getelementptr inbounds i8, ptr %86, i64 %87
%89 = load i8, ptr %88, align 1
%90 = sext i8 %89 to i32
%91 = icmp slt i32 %85, %90
br i1 %91, label %92, label %94
92: ; preds = %80
%93 = load i64, ptr %8, align 8
store i64 %93, ptr %9, align 8
br label %94
94: ; preds = %92, %80
br label %95
95: ; preds = %94
%96 = load i64, ptr %8, align 8
%97 = add i64 %96, 1
store i64 %97, ptr %8, align 8
%98 = load i64, ptr %8, align 8
%99 = load i64, ptr %5, align 8
%100 = icmp ult i64 %98, %99
br i1 %100, label %80, label %._crit_edge, !llvm.loop !9
._crit_edge: ; preds = %95
br label %101
101: ; preds = %._crit_edge, %73
%102 = load ptr, ptr %3, align 8
%103 = load i64, ptr %7, align 8
%104 = getelementptr inbounds i8, ptr %102, i64 %103
%105 = load i8, ptr %104, align 1
store i8 %105, ptr %6, align 1
%106 = load ptr, ptr %3, align 8
%107 = load i64, ptr %9, align 8
%108 = getelementptr inbounds i8, ptr %106, i64 %107
%109 = load i8, ptr %108, align 1
%110 = load ptr, ptr %3, align 8
%111 = load i64, ptr %7, align 8
%112 = getelementptr inbounds i8, ptr %110, i64 %111
store i8 %109, ptr %112, align 1
%113 = load i8, ptr %6, align 1
%114 = load ptr, ptr %3, align 8
%115 = load i64, ptr %9, align 8
%116 = getelementptr inbounds i8, ptr %114, i64 %115
store i8 %113, ptr %116, align 1
br label %117
117: ; preds = %101
%118 = load i64, ptr %7, align 8
%119 = add i64 %118, 1
store i64 %119, ptr %7, align 8
%120 = load i64, ptr %7, align 8
%121 = load i64, ptr %5, align 8
%122 = icmp ult i64 %120, %121
br i1 %122, label %73, label %._crit_edge3, !llvm.loop !10
._crit_edge3: ; preds = %117
br label %123
123: ; preds = %._crit_edge3, %69
br label %124
124: ; preds = %123, %68
ret void
}
declare i64 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmp3cqx4e7x.c'
source_filename = "/tmp/tmp3cqx4e7x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @a2i(i8 noundef signext %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca i8, align 1
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store i8 %0, ptr %5, align 1
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
%12 = load ptr, ptr %6, align 8
%13 = load ptr, ptr %12, align 8
store ptr %13, ptr %9, align 8
store i32 0, ptr %10, align 4
br label %14
14: ; preds = %23, %4
%15 = load i8, ptr %5, align 1
%16 = call i32 @a2d(i8 noundef signext %15)
store i32 %16, ptr %11, align 4
%17 = icmp sge i32 %16, 0
br i1 %17, label %18, label %32
18: ; preds = %14
%19 = load i32, ptr %11, align 4
%20 = load i32, ptr %7, align 4
%21 = icmp sgt i32 %19, %20
br i1 %21, label %22, label %23
22: ; preds = %18
br label %32
23: ; preds = %18
%24 = load i32, ptr %10, align 4
%25 = load i32, ptr %7, align 4
%26 = mul nsw i32 %24, %25
%27 = load i32, ptr %11, align 4
%28 = add nsw i32 %26, %27
store i32 %28, ptr %10, align 4
%29 = load ptr, ptr %9, align 8
%30 = getelementptr inbounds i8, ptr %29, i32 1
store ptr %30, ptr %9, align 8
%31 = load i8, ptr %29, align 1
store i8 %31, ptr %5, align 1
br label %14, !llvm.loop !6
32: ; preds = %22, %14
%33 = load ptr, ptr %9, align 8
%34 = load ptr, ptr %6, align 8
store ptr %33, ptr %34, align 8
%35 = load i32, ptr %10, align 4
%36 = load ptr, ptr %8, align 8
store i32 %35, ptr %36, align 4
%37 = load i8, ptr %5, align 1
ret i8 %37
}
declare i32 @a2d(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/tmp3cqx4e7x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @a2i(i8 noundef signext %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca i8, align 1
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store i8 %0, ptr %5, align 1
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
%12 = load ptr, ptr %6, align 8
%13 = load ptr, ptr %12, align 8
store ptr %13, ptr %9, align 8
store i32 0, ptr %10, align 4
%14 = load i8, ptr %5, align 1
%15 = call i32 @a2d(i8 noundef signext %14)
store i32 %15, ptr %11, align 4
%16 = icmp sge i32 %15, 0
br i1 %16, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %4
br label %17
17: ; preds = %.lr.ph, %22
%18 = load i32, ptr %11, align 4
%19 = load i32, ptr %7, align 4
%20 = icmp sgt i32 %18, %19
br i1 %20, label %21, label %22
21: ; preds = %17
br label %34
22: ; preds = %17
%23 = load i32, ptr %10, align 4
%24 = load i32, ptr %7, align 4
%25 = mul nsw i32 %23, %24
%26 = load i32, ptr %11, align 4
%27 = add nsw i32 %25, %26
store i32 %27, ptr %10, align 4
%28 = load ptr, ptr %9, align 8
%29 = getelementptr inbounds i8, ptr %28, i32 1
store ptr %29, ptr %9, align 8
%30 = load i8, ptr %28, align 1
store i8 %30, ptr %5, align 1
%31 = load i8, ptr %5, align 1
%32 = call i32 @a2d(i8 noundef signext %31)
store i32 %32, ptr %11, align 4
%33 = icmp sge i32 %32, 0
br i1 %33, label %17, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %22
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %4
br label %34
34: ; preds = %.loopexit, %21
%35 = load ptr, ptr %9, align 8
%36 = load ptr, ptr %6, align 8
store ptr %35, ptr %36, align 8
%37 = load i32, ptr %10, align 4
%38 = load ptr, ptr %8, align 8
store i32 %37, ptr %38, align 4
%39 = load i8, ptr %5, align 1
ret i8 %39
}
declare i32 @a2d(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/tmp8cu7zqh2.c'
source_filename = "/tmp/tmp8cu7zqh2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @user_delete(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp ne ptr %3, null
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load ptr, ptr %2, align 8
%7 = call i32 @free(ptr noundef %6)
br label %8
8: ; preds = %5, %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/tmp8cu7zqh2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @user_delete(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp ne ptr %3, null
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load ptr, ptr %2, align 8
%7 = call i32 @free(ptr noundef %6)
br label %8
8: ; preds = %5, %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/tmp20gx5ut6.c'
source_filename = "/tmp/tmp20gx5ut6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_WLocale_thousands_sep(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
ret i32 44
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp20gx5ut6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_WLocale_thousands_sep(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
ret i32 44
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwj7dag31.c'
source_filename = "/tmp/tmpwj7dag31.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"(i|zu|ll)\00", align 1
@REG_EXTENDED = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [2 x i8] c"a\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"\22%s\22 matches? %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"no\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"yes\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"i\00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c"zu\00", align 1
@.str.7 = private unnamed_addr constant [3 x i8] c"ll\00", align 1
@.str.8 = private unnamed_addr constant [4 x i8] c"lln\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i64, align 8
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store i64 2, ptr %1, align 8
%7 = load i32, ptr @REG_EXTENDED, align 4
%8 = call i32 @regcomp(ptr noundef %2, ptr noundef @.str, i32 noundef %7)
%9 = load i64, ptr %1, align 8
%10 = call ptr @llvm.stacksave()
store ptr %10, ptr %3, align 8
%11 = alloca i32, i64 %9, align 16
store i64 %9, ptr %4, align 8
store ptr @.str.1, ptr %6, align 8
%12 = load ptr, ptr %6, align 8
%13 = load i64, ptr %1, align 8
%14 = call i32 @regexec(ptr noundef %2, ptr noundef %12, i64 noundef %13, ptr noundef %11, i32 noundef 0)
store i32 %14, ptr %5, align 4
%15 = load ptr, ptr %6, align 8
%16 = load i32, ptr %5, align 4
%17 = icmp ne i32 %16, 0
%18 = zext i1 %17 to i64
%19 = select i1 %17, ptr @.str.3, ptr @.str.4
%20 = call i32 @printf(ptr noundef @.str.2, ptr noundef %15, ptr noundef %19)
store ptr @.str.5, ptr %6, align 8
%21 = load ptr, ptr %6, align 8
%22 = load i64, ptr %1, align 8
%23 = call i32 @regexec(ptr noundef %2, ptr noundef %21, i64 noundef %22, ptr noundef %11, i32 noundef 0)
store i32 %23, ptr %5, align 4
%24 = load ptr, ptr %6, align 8
%25 = load i32, ptr %5, align 4
%26 = icmp ne i32 %25, 0
%27 = zext i1 %26 to i64
%28 = select i1 %26, ptr @.str.3, ptr @.str.4
%29 = call i32 @printf(ptr noundef @.str.2, ptr noundef %24, ptr noundef %28)
store ptr @.str.6, ptr %6, align 8
%30 = load ptr, ptr %6, align 8
%31 = load i64, ptr %1, align 8
%32 = call i32 @regexec(ptr noundef %2, ptr noundef %30, i64 noundef %31, ptr noundef %11, i32 noundef 0)
store i32 %32, ptr %5, align 4
%33 = load ptr, ptr %6, align 8
%34 = load i32, ptr %5, align 4
%35 = icmp ne i32 %34, 0
%36 = zext i1 %35 to i64
%37 = select i1 %35, ptr @.str.3, ptr @.str.4
%38 = call i32 @printf(ptr noundef @.str.2, ptr noundef %33, ptr noundef %37)
store ptr @.str.7, ptr %6, align 8
%39 = load ptr, ptr %6, align 8
%40 = load i64, ptr %1, align 8
%41 = call i32 @regexec(ptr noundef %2, ptr noundef %39, i64 noundef %40, ptr noundef %11, i32 noundef 0)
store i32 %41, ptr %5, align 4
%42 = load ptr, ptr %6, align 8
%43 = load i32, ptr %5, align 4
%44 = icmp ne i32 %43, 0
%45 = zext i1 %44 to i64
%46 = select i1 %44, ptr @.str.3, ptr @.str.4
%47 = call i32 @printf(ptr noundef @.str.2, ptr noundef %42, ptr noundef %46)
store ptr @.str.8, ptr %6, align 8
%48 = load ptr, ptr %6, align 8
%49 = load i64, ptr %1, align 8
%50 = call i32 @regexec(ptr noundef %2, ptr noundef %48, i64 noundef %49, ptr noundef %11, i32 noundef 0)
store i32 %50, ptr %5, align 4
%51 = load ptr, ptr %6, align 8
%52 = load i32, ptr %5, align 4
%53 = icmp ne i32 %52, 0
%54 = zext i1 %53 to i64
%55 = select i1 %53, ptr @.str.3, ptr @.str.4
%56 = call i32 @printf(ptr noundef @.str.2, ptr noundef %51, ptr noundef %55)
%57 = load ptr, ptr %3, align 8
call void @llvm.stackrestore(ptr %57)
ret i32 0
}
declare i32 @regcomp(ptr noundef, ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @regexec(ptr noundef, ptr noundef, i64 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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 willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwj7dag31.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"(i|zu|ll)\00", align 1
@REG_EXTENDED = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [2 x i8] c"a\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"\22%s\22 matches? %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"no\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"yes\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"i\00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c"zu\00", align 1
@.str.7 = private unnamed_addr constant [3 x i8] c"ll\00", align 1
@.str.8 = private unnamed_addr constant [4 x i8] c"lln\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i64, align 8
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store i64 2, ptr %1, align 8
%7 = load i32, ptr @REG_EXTENDED, align 4
%8 = call i32 @regcomp(ptr noundef %2, ptr noundef @.str, i32 noundef %7)
%9 = load i64, ptr %1, align 8
%10 = call ptr @llvm.stacksave()
store ptr %10, ptr %3, align 8
%11 = alloca i32, i64 %9, align 16
store i64 %9, ptr %4, align 8
store ptr @.str.1, ptr %6, align 8
%12 = load ptr, ptr %6, align 8
%13 = load i64, ptr %1, align 8
%14 = call i32 @regexec(ptr noundef %2, ptr noundef %12, i64 noundef %13, ptr noundef %11, i32 noundef 0)
store i32 %14, ptr %5, align 4
%15 = load ptr, ptr %6, align 8
%16 = load i32, ptr %5, align 4
%17 = icmp ne i32 %16, 0
%18 = zext i1 %17 to i64
%19 = select i1 %17, ptr @.str.3, ptr @.str.4
%20 = call i32 @printf(ptr noundef @.str.2, ptr noundef %15, ptr noundef %19)
store ptr @.str.5, ptr %6, align 8
%21 = load ptr, ptr %6, align 8
%22 = load i64, ptr %1, align 8
%23 = call i32 @regexec(ptr noundef %2, ptr noundef %21, i64 noundef %22, ptr noundef %11, i32 noundef 0)
store i32 %23, ptr %5, align 4
%24 = load ptr, ptr %6, align 8
%25 = load i32, ptr %5, align 4
%26 = icmp ne i32 %25, 0
%27 = zext i1 %26 to i64
%28 = select i1 %26, ptr @.str.3, ptr @.str.4
%29 = call i32 @printf(ptr noundef @.str.2, ptr noundef %24, ptr noundef %28)
store ptr @.str.6, ptr %6, align 8
%30 = load ptr, ptr %6, align 8
%31 = load i64, ptr %1, align 8
%32 = call i32 @regexec(ptr noundef %2, ptr noundef %30, i64 noundef %31, ptr noundef %11, i32 noundef 0)
store i32 %32, ptr %5, align 4
%33 = load ptr, ptr %6, align 8
%34 = load i32, ptr %5, align 4
%35 = icmp ne i32 %34, 0
%36 = zext i1 %35 to i64
%37 = select i1 %35, ptr @.str.3, ptr @.str.4
%38 = call i32 @printf(ptr noundef @.str.2, ptr noundef %33, ptr noundef %37)
store ptr @.str.7, ptr %6, align 8
%39 = load ptr, ptr %6, align 8
%40 = load i64, ptr %1, align 8
%41 = call i32 @regexec(ptr noundef %2, ptr noundef %39, i64 noundef %40, ptr noundef %11, i32 noundef 0)
store i32 %41, ptr %5, align 4
%42 = load ptr, ptr %6, align 8
%43 = load i32, ptr %5, align 4
%44 = icmp ne i32 %43, 0
%45 = zext i1 %44 to i64
%46 = select i1 %44, ptr @.str.3, ptr @.str.4
%47 = call i32 @printf(ptr noundef @.str.2, ptr noundef %42, ptr noundef %46)
store ptr @.str.8, ptr %6, align 8
%48 = load ptr, ptr %6, align 8
%49 = load i64, ptr %1, align 8
%50 = call i32 @regexec(ptr noundef %2, ptr noundef %48, i64 noundef %49, ptr noundef %11, i32 noundef 0)
store i32 %50, ptr %5, align 4
%51 = load ptr, ptr %6, align 8
%52 = load i32, ptr %5, align 4
%53 = icmp ne i32 %52, 0
%54 = zext i1 %53 to i64
%55 = select i1 %53, ptr @.str.3, ptr @.str.4
%56 = call i32 @printf(ptr noundef @.str.2, ptr noundef %51, ptr noundef %55)
%57 = load ptr, ptr %3, align 8
call void @llvm.stackrestore(ptr %57)
ret i32 0
}
declare i32 @regcomp(ptr noundef, ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @regexec(ptr noundef, ptr noundef, i64 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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 willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbgxpmsfk.c'
source_filename = "/tmp/tmpbgxpmsfk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c"pragma232_omp_parallel %llu ns\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @bpnn_layerforward(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca float, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i64, 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 i32 %3, ptr %9, align 4
store i32 %4, ptr %10, align 4
%16 = load ptr, ptr %6, align 8
%17 = getelementptr inbounds float, ptr %16, i64 0
store float 1.000000e+00, ptr %17, align 4
%18 = call i64 (...) @current_time_ns()
store i64 %18, ptr %14, align 8
store i32 1, ptr %12, align 4
br label %19
19: ; preds = %55, %5
%20 = load i32, ptr %12, align 4
%21 = load i32, ptr %10, align 4
%22 = icmp sle i32 %20, %21
br i1 %22, label %23, label %58
23: ; preds = %19
store float 0.000000e+00, ptr %11, align 4
store i32 0, ptr %13, align 4
br label %24
24: ; preds = %45, %23
%25 = load i32, ptr %13, align 4
%26 = load i32, ptr %9, align 4
%27 = icmp sle i32 %25, %26
br i1 %27, label %28, label %48
28: ; preds = %24
%29 = load ptr, ptr %8, align 8
%30 = load i32, ptr %13, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds ptr, ptr %29, i64 %31
%33 = load ptr, ptr %32, align 8
%34 = load i32, ptr %12, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds float, ptr %33, i64 %35
%37 = load float, ptr %36, align 4
%38 = load ptr, ptr %6, align 8
%39 = load i32, ptr %13, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds float, ptr %38, i64 %40
%42 = load float, ptr %41, align 4
%43 = load float, ptr %11, align 4
%44 = call float @llvm.fmuladd.f32(float %37, float %42, float %43)
store float %44, ptr %11, align 4
br label %45
45: ; preds = %28
%46 = load i32, ptr %13, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %13, align 4
br label %24, !llvm.loop !6
48: ; preds = %24
%49 = load float, ptr %11, align 4
%50 = call float @squash(float noundef %49)
%51 = load ptr, ptr %7, align 8
%52 = load i32, ptr %12, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds float, ptr %51, i64 %53
store float %50, ptr %54, align 4
br label %55
55: ; preds = %48
%56 = load i32, ptr %12, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %12, align 4
br label %19, !llvm.loop !8
58: ; preds = %19
%59 = call i64 (...) @current_time_ns()
store i64 %59, ptr %15, align 8
%60 = load i64, ptr %15, align 8
%61 = load i64, ptr %14, align 8
%62 = sub i64 %60, %61
%63 = call i32 @printf(ptr noundef @.str, i64 noundef %62)
ret void
}
declare i64 @current_time_ns(...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
declare float @squash(float noundef) #1
declare i32 @printf(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbgxpmsfk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c"pragma232_omp_parallel %llu ns\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @bpnn_layerforward(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca float, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i64, 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 i32 %3, ptr %9, align 4
store i32 %4, ptr %10, align 4
%16 = load ptr, ptr %6, align 8
%17 = getelementptr inbounds float, ptr %16, i64 0
store float 1.000000e+00, ptr %17, align 4
%18 = call i64 (...) @current_time_ns()
store i64 %18, ptr %14, align 8
store i32 1, ptr %12, align 4
%19 = load i32, ptr %12, align 4
%20 = load i32, ptr %10, align 4
%21 = icmp sle i32 %19, %20
br i1 %21, label %.lr.ph2, label %62
.lr.ph2: ; preds = %5
br label %22
22: ; preds = %.lr.ph2, %56
store float 0.000000e+00, ptr %11, align 4
store i32 0, ptr %13, align 4
%23 = load i32, ptr %13, align 4
%24 = load i32, ptr %9, align 4
%25 = icmp sle i32 %23, %24
br i1 %25, label %.lr.ph, label %49
.lr.ph: ; preds = %22
br label %26
26: ; preds = %.lr.ph, %43
%27 = load ptr, ptr %8, align 8
%28 = load i32, ptr %13, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds ptr, ptr %27, i64 %29
%31 = load ptr, ptr %30, align 8
%32 = load i32, ptr %12, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds float, ptr %31, i64 %33
%35 = load float, ptr %34, align 4
%36 = load ptr, ptr %6, align 8
%37 = load i32, ptr %13, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds float, ptr %36, i64 %38
%40 = load float, ptr %39, align 4
%41 = load float, ptr %11, align 4
%42 = call float @llvm.fmuladd.f32(float %35, float %40, float %41)
store float %42, ptr %11, align 4
br label %43
43: ; preds = %26
%44 = load i32, ptr %13, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %13, align 4
%46 = load i32, ptr %13, align 4
%47 = load i32, ptr %9, align 4
%48 = icmp sle i32 %46, %47
br i1 %48, label %26, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %43
br label %49
49: ; preds = %._crit_edge, %22
%50 = load float, ptr %11, align 4
%51 = call float @squash(float noundef %50)
%52 = load ptr, ptr %7, align 8
%53 = load i32, ptr %12, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds float, ptr %52, i64 %54
store float %51, ptr %55, align 4
br label %56
56: ; preds = %49
%57 = load i32, ptr %12, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %12, align 4
%59 = load i32, ptr %12, align 4
%60 = load i32, ptr %10, align 4
%61 = icmp sle i32 %59, %60
br i1 %61, label %22, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %56
br label %62
62: ; preds = %._crit_edge3, %5
%63 = call i64 (...) @current_time_ns()
store i64 %63, ptr %15, align 8
%64 = load i64, ptr %15, align 8
%65 = load i64, ptr %14, align 8
%66 = sub i64 %64, %65
%67 = call i32 @printf(ptr noundef @.str, i64 noundef %66)
ret void
}
declare i64 @current_time_ns(...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
declare float @squash(float noundef) #1
declare i32 @printf(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpapuljhwe.c'
source_filename = "/tmp/tmpapuljhwe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"0.015d0\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"0.0015d0\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"0.001d0\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"0.00067d0\00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"0.00030d0\00", align 1
@.str.5 = private unnamed_addr constant [9 x i8] c"0.0001d0\00", align 1
@.str.6 = private unnamed_addr constant [45 x i8] c"setparams: Internal error: invalid class %c\0A\00", align 1
@.str.7 = private unnamed_addr constant [39 x i8] c"%sinteger problem_size, niter_default\0A\00", align 1
@.str.8 = private unnamed_addr constant [9 x i8] c" \00", align 1
@.str.9 = private unnamed_addr constant [49 x i8] c"%sparameter (problem_size=%d, niter_default=%d)\0A\00", align 1
@.str.10 = private unnamed_addr constant [31 x i8] c"%sdouble precision dt_default\0A\00", align 1
@.str.11 = private unnamed_addr constant [31 x i8] c"%sparameter (dt_default = %s)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @write_sp_info(ptr noundef %0, i8 noundef signext %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i8 %1, ptr %4, align 1
%8 = load i8, ptr %4, align 1
%9 = sext i8 %8 to i32
%10 = icmp eq i32 %9, 83
br i1 %10, label %11, label %12
11: ; preds = %2
store i32 12, ptr %5, align 4
store ptr @.str, ptr %7, align 8
store i32 100, ptr %6, align 4
br label %52
12: ; preds = %2
%13 = load i8, ptr %4, align 1
%14 = sext i8 %13 to i32
%15 = icmp eq i32 %14, 87
br i1 %15, label %16, label %17
16: ; preds = %12
store i32 36, ptr %5, align 4
store ptr @.str.1, ptr %7, align 8
store i32 400, ptr %6, align 4
br label %51
17: ; preds = %12
%18 = load i8, ptr %4, align 1
%19 = sext i8 %18 to i32
%20 = icmp eq i32 %19, 65
br i1 %20, label %21, label %22
21: ; preds = %17
store i32 64, ptr %5, align 4
store ptr @.str.1, ptr %7, align 8
store i32 400, ptr %6, align 4
br label %50
22: ; preds = %17
%23 = load i8, ptr %4, align 1
%24 = sext i8 %23 to i32
%25 = icmp eq i32 %24, 66
br i1 %25, label %26, label %27
26: ; preds = %22
store i32 102, ptr %5, align 4
store ptr @.str.2, ptr %7, align 8
store i32 400, ptr %6, align 4
br label %49
27: ; preds = %22
%28 = load i8, ptr %4, align 1
%29 = sext i8 %28 to i32
%30 = icmp eq i32 %29, 67
br i1 %30, label %31, label %32
31: ; preds = %27
store i32 162, ptr %5, align 4
store ptr @.str.3, ptr %7, align 8
store i32 400, ptr %6, align 4
br label %48
32: ; preds = %27
%33 = load i8, ptr %4, align 1
%34 = sext i8 %33 to i32
%35 = icmp eq i32 %34, 68
br i1 %35, label %36, label %37
36: ; preds = %32
store i32 408, ptr %5, align 4
store ptr @.str.4, ptr %7, align 8
store i32 500, ptr %6, align 4
br label %47
37: ; preds = %32
%38 = load i8, ptr %4, align 1
%39 = sext i8 %38 to i32
%40 = icmp eq i32 %39, 69
br i1 %40, label %41, label %42
41: ; preds = %37
store i32 1020, ptr %5, align 4
store ptr @.str.5, ptr %7, align 8
store i32 500, ptr %6, align 4
br label %46
42: ; preds = %37
%43 = load i8, ptr %4, align 1
%44 = call i32 @printf(ptr noundef @.str.6, i8 noundef signext %43)
%45 = call i32 @exit(i32 noundef 1) #3
unreachable
46: ; preds = %41
br label %47
47: ; preds = %46, %36
br label %48
48: ; preds = %47, %31
br label %49
49: ; preds = %48, %26
br label %50
50: ; preds = %49, %21
br label %51
51: ; preds = %50, %16
br label %52
52: ; preds = %51, %11
%53 = load ptr, ptr %3, align 8
%54 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %53, ptr noundef @.str.7, ptr noundef @.str.8)
%55 = load ptr, ptr %3, align 8
%56 = load i32, ptr %5, align 4
%57 = load i32, ptr %6, align 4
%58 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %55, ptr noundef @.str.9, ptr noundef @.str.8, i32 noundef %56, i32 noundef %57)
%59 = load ptr, ptr %3, align 8
%60 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %59, ptr noundef @.str.10, ptr noundef @.str.8)
%61 = load ptr, ptr %3, align 8
%62 = load ptr, ptr %7, align 8
%63 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %61, ptr noundef @.str.11, ptr noundef @.str.8, ptr noundef %62)
ret void
}
declare i32 @printf(ptr noundef, i8 noundef signext) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @fprintf(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" }
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/tmpapuljhwe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"0.015d0\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"0.0015d0\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"0.001d0\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"0.00067d0\00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"0.00030d0\00", align 1
@.str.5 = private unnamed_addr constant [9 x i8] c"0.0001d0\00", align 1
@.str.6 = private unnamed_addr constant [45 x i8] c"setparams: Internal error: invalid class %c\0A\00", align 1
@.str.7 = private unnamed_addr constant [39 x i8] c"%sinteger problem_size, niter_default\0A\00", align 1
@.str.8 = private unnamed_addr constant [9 x i8] c" \00", align 1
@.str.9 = private unnamed_addr constant [49 x i8] c"%sparameter (problem_size=%d, niter_default=%d)\0A\00", align 1
@.str.10 = private unnamed_addr constant [31 x i8] c"%sdouble precision dt_default\0A\00", align 1
@.str.11 = private unnamed_addr constant [31 x i8] c"%sparameter (dt_default = %s)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @write_sp_info(ptr noundef %0, i8 noundef signext %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i8 %1, ptr %4, align 1
%8 = load i8, ptr %4, align 1
%9 = sext i8 %8 to i32
%10 = icmp eq i32 %9, 83
br i1 %10, label %11, label %12
11: ; preds = %2
store i32 12, ptr %5, align 4
store ptr @.str, ptr %7, align 8
store i32 100, ptr %6, align 4
br label %52
12: ; preds = %2
%13 = load i8, ptr %4, align 1
%14 = sext i8 %13 to i32
%15 = icmp eq i32 %14, 87
br i1 %15, label %16, label %17
16: ; preds = %12
store i32 36, ptr %5, align 4
store ptr @.str.1, ptr %7, align 8
store i32 400, ptr %6, align 4
br label %51
17: ; preds = %12
%18 = load i8, ptr %4, align 1
%19 = sext i8 %18 to i32
%20 = icmp eq i32 %19, 65
br i1 %20, label %21, label %22
21: ; preds = %17
store i32 64, ptr %5, align 4
store ptr @.str.1, ptr %7, align 8
store i32 400, ptr %6, align 4
br label %50
22: ; preds = %17
%23 = load i8, ptr %4, align 1
%24 = sext i8 %23 to i32
%25 = icmp eq i32 %24, 66
br i1 %25, label %26, label %27
26: ; preds = %22
store i32 102, ptr %5, align 4
store ptr @.str.2, ptr %7, align 8
store i32 400, ptr %6, align 4
br label %49
27: ; preds = %22
%28 = load i8, ptr %4, align 1
%29 = sext i8 %28 to i32
%30 = icmp eq i32 %29, 67
br i1 %30, label %31, label %32
31: ; preds = %27
store i32 162, ptr %5, align 4
store ptr @.str.3, ptr %7, align 8
store i32 400, ptr %6, align 4
br label %48
32: ; preds = %27
%33 = load i8, ptr %4, align 1
%34 = sext i8 %33 to i32
%35 = icmp eq i32 %34, 68
br i1 %35, label %36, label %37
36: ; preds = %32
store i32 408, ptr %5, align 4
store ptr @.str.4, ptr %7, align 8
store i32 500, ptr %6, align 4
br label %47
37: ; preds = %32
%38 = load i8, ptr %4, align 1
%39 = sext i8 %38 to i32
%40 = icmp eq i32 %39, 69
br i1 %40, label %41, label %42
41: ; preds = %37
store i32 1020, ptr %5, align 4
store ptr @.str.5, ptr %7, align 8
store i32 500, ptr %6, align 4
br label %46
42: ; preds = %37
%43 = load i8, ptr %4, align 1
%44 = call i32 @printf(ptr noundef @.str.6, i8 noundef signext %43)
%45 = call i32 @exit(i32 noundef 1) #3
unreachable
46: ; preds = %41
br label %47
47: ; preds = %46, %36
br label %48
48: ; preds = %47, %31
br label %49
49: ; preds = %48, %26
br label %50
50: ; preds = %49, %21
br label %51
51: ; preds = %50, %16
br label %52
52: ; preds = %51, %11
%53 = load ptr, ptr %3, align 8
%54 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %53, ptr noundef @.str.7, ptr noundef @.str.8)
%55 = load ptr, ptr %3, align 8
%56 = load i32, ptr %5, align 4
%57 = load i32, ptr %6, align 4
%58 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %55, ptr noundef @.str.9, ptr noundef @.str.8, i32 noundef %56, i32 noundef %57)
%59 = load ptr, ptr %3, align 8
%60 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %59, ptr noundef @.str.10, ptr noundef @.str.8)
%61 = load ptr, ptr %3, align 8
%62 = load ptr, ptr %7, align 8
%63 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %61, ptr noundef @.str.11, ptr noundef @.str.8, ptr noundef %62)
ret void
}
declare i32 @printf(ptr noundef, i8 noundef signext) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @fprintf(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" }
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/tmpiwd47m94.c'
source_filename = "/tmp/tmpiwd47m94.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Debug_UserLog(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = call i32 @puts(ptr noundef %5)
ret void
}
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpiwd47m94.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Debug_UserLog(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = call i32 @puts(ptr noundef %5)
ret void
}
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdjf9l5pn.c'
source_filename = "/tmp/tmpdjf9l5pn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @asn1_get_octet_der(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
store ptr %0, ptr %8, align 8
store i32 %1, ptr %9, align 4
store ptr %2, ptr %10, align 8
store ptr %3, ptr %11, align 8
store i32 %4, ptr %12, align 4
store ptr %5, ptr %13, align 8
%15 = load i32, ptr %9, align 4
%16 = icmp sle i32 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %6
store i32 6, ptr %7, align 4
br label %48
18: ; preds = %6
%19 = load ptr, ptr %8, align 8
%20 = load i32, ptr %9, align 4
%21 = call i32 @asn1_get_length_der(ptr noundef %19, i32 noundef %20, ptr noundef %14)
%22 = load ptr, ptr %13, align 8
store i32 %21, ptr %22, align 4
%23 = load ptr, ptr %13, align 8
%24 = load i32, ptr %23, align 4
%25 = icmp slt i32 %24, 0
br i1 %25, label %26, label %27
26: ; preds = %18
store i32 4, ptr %7, align 4
br label %48
27: ; preds = %18
%28 = load ptr, ptr %13, align 8
%29 = load i32, ptr %28, align 4
%30 = load i32, ptr %14, align 4
%31 = add nsw i32 %29, %30
%32 = load ptr, ptr %10, align 8
store i32 %31, ptr %32, align 4
%33 = load i32, ptr %12, align 4
%34 = load ptr, ptr %13, align 8
%35 = load i32, ptr %34, align 4
%36 = icmp sge i32 %33, %35
br i1 %36, label %37, label %46
37: ; preds = %27
%38 = load ptr, ptr %11, align 8
%39 = load ptr, ptr %8, align 8
%40 = load i32, ptr %14, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i8, ptr %39, i64 %41
%43 = load ptr, ptr %13, align 8
%44 = load i32, ptr %43, align 4
%45 = call i32 @memcpy(ptr noundef %38, ptr noundef %42, i32 noundef %44)
br label %47
46: ; preds = %27
store i32 12, ptr %7, align 4
br label %48
47: ; preds = %37
store i32 0, ptr %7, align 4
br label %48
48: ; preds = %47, %46, %26, %17
%49 = load i32, ptr %7, align 4
ret i32 %49
}
declare i32 @asn1_get_length_der(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdjf9l5pn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @asn1_get_octet_der(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
store ptr %0, ptr %8, align 8
store i32 %1, ptr %9, align 4
store ptr %2, ptr %10, align 8
store ptr %3, ptr %11, align 8
store i32 %4, ptr %12, align 4
store ptr %5, ptr %13, align 8
%15 = load i32, ptr %9, align 4
%16 = icmp sle i32 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %6
store i32 6, ptr %7, align 4
br label %48
18: ; preds = %6
%19 = load ptr, ptr %8, align 8
%20 = load i32, ptr %9, align 4
%21 = call i32 @asn1_get_length_der(ptr noundef %19, i32 noundef %20, ptr noundef %14)
%22 = load ptr, ptr %13, align 8
store i32 %21, ptr %22, align 4
%23 = load ptr, ptr %13, align 8
%24 = load i32, ptr %23, align 4
%25 = icmp slt i32 %24, 0
br i1 %25, label %26, label %27
26: ; preds = %18
store i32 4, ptr %7, align 4
br label %48
27: ; preds = %18
%28 = load ptr, ptr %13, align 8
%29 = load i32, ptr %28, align 4
%30 = load i32, ptr %14, align 4
%31 = add nsw i32 %29, %30
%32 = load ptr, ptr %10, align 8
store i32 %31, ptr %32, align 4
%33 = load i32, ptr %12, align 4
%34 = load ptr, ptr %13, align 8
%35 = load i32, ptr %34, align 4
%36 = icmp sge i32 %33, %35
br i1 %36, label %37, label %46
37: ; preds = %27
%38 = load ptr, ptr %11, align 8
%39 = load ptr, ptr %8, align 8
%40 = load i32, ptr %14, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i8, ptr %39, i64 %41
%43 = load ptr, ptr %13, align 8
%44 = load i32, ptr %43, align 4
%45 = call i32 @memcpy(ptr noundef %38, ptr noundef %42, i32 noundef %44)
br label %47
46: ; preds = %27
store i32 12, ptr %7, align 4
br label %48
47: ; preds = %37
store i32 0, ptr %7, align 4
br label %48
48: ; preds = %47, %46, %26, %17
%49 = load i32, ptr %7, align 4
ret i32 %49
}
declare i32 @asn1_get_length_der(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp27pwrkpu.c'
source_filename = "/tmp/tmp27pwrkpu.c"
target datalayout = "e-m:e-p270: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.buff = private unnamed_addr constant [10 x i8] c"\01\02\03\04\05\06\07\08\09\0A", align 1
@.str = private unnamed_addr constant [15 x i8] c"%p %p %p %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca [10 x i8], align 1
%2 = alloca i8, align 1
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %1, ptr align 1 @__const.main.buff, i64 10, i1 false)
store i8 0, ptr %2, align 1
%3 = getelementptr inbounds [10 x i8], ptr %1, i64 0, i64 0
%4 = getelementptr inbounds i8, ptr %3, i64 -1
store i8 16, ptr %4, align 1
%5 = getelementptr inbounds [10 x i8], ptr %1, i64 0, i64 10
store i8 16, ptr %5, align 1
%6 = getelementptr inbounds [10 x i8], ptr %1, i64 0, i64 0
%7 = getelementptr inbounds [10 x i8], ptr %1, i64 0, i64 9
%8 = load i8, ptr %2, align 1
%9 = call i32 @printf(ptr noundef @.str, ptr noundef %6, ptr noundef %7, ptr noundef %2, i8 noundef signext %8)
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, ptr noundef, ptr noundef, ptr noundef, i8 noundef signext) #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/tmp27pwrkpu.c"
target datalayout = "e-m:e-p270: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.buff = private unnamed_addr constant [10 x i8] c"\01\02\03\04\05\06\07\08\09\0A", align 1
@.str = private unnamed_addr constant [15 x i8] c"%p %p %p %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca [10 x i8], align 1
%2 = alloca i8, align 1
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %1, ptr align 1 @__const.main.buff, i64 10, i1 false)
store i8 0, ptr %2, align 1
%3 = getelementptr inbounds [10 x i8], ptr %1, i64 0, i64 0
%4 = getelementptr inbounds i8, ptr %3, i64 -1
store i8 16, ptr %4, align 1
%5 = getelementptr inbounds [10 x i8], ptr %1, i64 0, i64 10
store i8 16, ptr %5, align 1
%6 = getelementptr inbounds [10 x i8], ptr %1, i64 0, i64 0
%7 = getelementptr inbounds [10 x i8], ptr %1, i64 0, i64 9
%8 = load i8, ptr %2, align 1
%9 = call i32 @printf(ptr noundef @.str, ptr noundef %6, ptr noundef %7, ptr noundef %2, i8 noundef signext %8)
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, ptr noundef, ptr noundef, ptr noundef, i8 noundef signext) #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/tmpoe8_9_ye.c'
source_filename = "/tmp/tmpoe8_9_ye.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @QSufSortSuffixSort(ptr noalias noundef %0, ptr noalias noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%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 i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store i32 %2, ptr %9, align 4
store i32 %3, ptr %10, align 4
store i32 %4, ptr %11, align 4
store i32 %5, ptr %12, align 4
store i32 1, ptr %19, align 4
%21 = load i32, ptr %10, align 4
%22 = load i32, ptr %11, align 4
%23 = sub nsw i32 %21, %22
%24 = add nsw i32 %23, 1
store i32 %24, ptr %18, align 4
%25 = load i32, ptr %12, align 4
%26 = icmp ne i32 %25, 0
br i1 %26, label %47, label %27
27: ; preds = %6
%28 = load ptr, ptr %7, align 8
%29 = load ptr, ptr %8, align 8
%30 = load i32, ptr %9, align 4
%31 = load i32, ptr %10, align 4
%32 = load i32, ptr %11, align 4
%33 = load i32, ptr %9, align 4
%34 = call i32 @QSufSortTransform(ptr noundef %28, ptr noundef %29, i32 noundef %30, i32 noundef %31, i32 noundef %32, i32 noundef %33, ptr noundef %17)
store i32 %34, ptr %20, align 4
%35 = load ptr, ptr %7, align 8
%36 = load ptr, ptr %8, align 8
%37 = load i32, ptr %9, align 4
%38 = load i32, ptr %20, align 4
%39 = call i32 @QSufSortBucketSort(ptr noundef %35, ptr noundef %36, i32 noundef %37, i32 noundef %38)
%40 = load ptr, ptr %8, align 8
%41 = getelementptr inbounds i32, ptr %40, i64 0
store i32 -1, ptr %41, align 4
%42 = load ptr, ptr %7, align 8
%43 = load i32, ptr %9, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i32, ptr %42, i64 %44
store i32 0, ptr %45, align 4
%46 = load i32, ptr %17, align 4
store i32 %46, ptr %19, align 4
br label %47
47: ; preds = %27, %6
br label %48
48: ; preds = %113, %47
%49 = load ptr, ptr %8, align 8
%50 = getelementptr inbounds i32, ptr %49, i64 0
%51 = load i32, ptr %50, align 4
%52 = load i32, ptr %9, align 4
%53 = sub nsw i32 0, %52
%54 = icmp sge i32 %51, %53
br i1 %54, label %55, label %116
55: ; preds = %48
store i32 0, ptr %13, align 4
store i32 0, ptr %16, align 4
br label %56
56: ; preds = %98, %55
%57 = load ptr, ptr %8, align 8
%58 = load i32, ptr %13, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i32, ptr %57, i64 %59
%61 = load i32, ptr %60, align 4
store i32 %61, ptr %15, align 4
%62 = load i32, ptr %15, align 4
%63 = icmp slt i32 %62, 0
br i1 %63, label %64, label %71
64: ; preds = %56
%65 = load i32, ptr %15, align 4
%66 = load i32, ptr %13, align 4
%67 = sub nsw i32 %66, %65
store i32 %67, ptr %13, align 4
%68 = load i32, ptr %15, align 4
%69 = load i32, ptr %16, align 4
%70 = add nsw i32 %69, %68
store i32 %70, ptr %16, align 4
br label %97
71: ; preds = %56
%72 = load i32, ptr %16, align 4
%73 = icmp ne i32 %72, 0
br i1 %73, label %74, label %82
74: ; preds = %71
%75 = load i32, ptr %16, align 4
%76 = load ptr, ptr %8, align 8
%77 = load i32, ptr %13, align 4
%78 = load i32, ptr %16, align 4
%79 = add nsw i32 %77, %78
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds i32, ptr %76, i64 %80
store i32 %75, ptr %81, align 4
store i32 0, ptr %16, align 4
br label %82
82: ; preds = %74, %71
%83 = load ptr, ptr %7, align 8
%84 = load i32, ptr %15, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds i32, ptr %83, i64 %85
%87 = load i32, ptr %86, align 4
%88 = add nsw i32 %87, 1
store i32 %88, ptr %14, align 4
%89 = load ptr, ptr %7, align 8
%90 = load ptr, ptr %8, align 8
%91 = load i32, ptr %13, align 4
%92 = load i32, ptr %14, align 4
%93 = sub nsw i32 %92, 1
%94 = load i32, ptr %19, align 4
%95 = call i32 @QSufSortSortSplit(ptr noundef %89, ptr noundef %90, i32 noundef %91, i32 noundef %93, i32 noundef %94)
%96 = load i32, ptr %14, align 4
store i32 %96, ptr %13, align 4
br label %97
97: ; preds = %82, %64
br label %98
98: ; preds = %97
%99 = load i32, ptr %13, align 4
%100 = load i32, ptr %9, align 4
%101 = icmp sle i32 %99, %100
br i1 %101, label %56, label %102, !llvm.loop !6
102: ; preds = %98
%103 = load i32, ptr %16, align 4
%104 = icmp ne i32 %103, 0
br i1 %104, label %105, label %113
105: ; preds = %102
%106 = load i32, ptr %16, align 4
%107 = load ptr, ptr %8, align 8
%108 = load i32, ptr %13, align 4
%109 = load i32, ptr %16, align 4
%110 = add nsw i32 %108, %109
%111 = sext i32 %110 to i64
%112 = getelementptr inbounds i32, ptr %107, i64 %111
store i32 %106, ptr %112, align 4
br label %113
113: ; preds = %105, %102
%114 = load i32, ptr %19, align 4
%115 = mul nsw i32 %114, 2
store i32 %115, ptr %19, align 4
br label %48, !llvm.loop !8
116: ; preds = %48
ret void
}
declare i32 @QSufSortTransform(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @QSufSortBucketSort(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @QSufSortSortSplit(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpoe8_9_ye.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @QSufSortSuffixSort(ptr noalias noundef %0, ptr noalias noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%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 i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store i32 %2, ptr %9, align 4
store i32 %3, ptr %10, align 4
store i32 %4, ptr %11, align 4
store i32 %5, ptr %12, align 4
store i32 1, ptr %19, align 4
%21 = load i32, ptr %10, align 4
%22 = load i32, ptr %11, align 4
%23 = sub nsw i32 %21, %22
%24 = add nsw i32 %23, 1
store i32 %24, ptr %18, align 4
%25 = load i32, ptr %12, align 4
%26 = icmp ne i32 %25, 0
br i1 %26, label %47, label %27
27: ; preds = %6
%28 = load ptr, ptr %7, align 8
%29 = load ptr, ptr %8, align 8
%30 = load i32, ptr %9, align 4
%31 = load i32, ptr %10, align 4
%32 = load i32, ptr %11, align 4
%33 = load i32, ptr %9, align 4
%34 = call i32 @QSufSortTransform(ptr noundef %28, ptr noundef %29, i32 noundef %30, i32 noundef %31, i32 noundef %32, i32 noundef %33, ptr noundef %17)
store i32 %34, ptr %20, align 4
%35 = load ptr, ptr %7, align 8
%36 = load ptr, ptr %8, align 8
%37 = load i32, ptr %9, align 4
%38 = load i32, ptr %20, align 4
%39 = call i32 @QSufSortBucketSort(ptr noundef %35, ptr noundef %36, i32 noundef %37, i32 noundef %38)
%40 = load ptr, ptr %8, align 8
%41 = getelementptr inbounds i32, ptr %40, i64 0
store i32 -1, ptr %41, align 4
%42 = load ptr, ptr %7, align 8
%43 = load i32, ptr %9, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i32, ptr %42, i64 %44
store i32 0, ptr %45, align 4
%46 = load i32, ptr %17, align 4
store i32 %46, ptr %19, align 4
br label %47
47: ; preds = %27, %6
%48 = load ptr, ptr %8, align 8
%49 = load i32, ptr %48, align 4
%50 = load i32, ptr %9, align 4
%51 = sub nsw i32 0, %50
%52 = icmp sge i32 %49, %51
br i1 %52, label %.lr.ph, label %120
.lr.ph: ; preds = %47
br label %53
53: ; preds = %.lr.ph, %111
store i32 0, ptr %13, align 4
store i32 0, ptr %16, align 4
br label %54
54: ; preds = %96, %53
%55 = load ptr, ptr %8, align 8
%56 = load i32, ptr %13, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i32, ptr %55, i64 %57
%59 = load i32, ptr %58, align 4
store i32 %59, ptr %15, align 4
%60 = load i32, ptr %15, align 4
%61 = icmp slt i32 %60, 0
br i1 %61, label %62, label %69
62: ; preds = %54
%63 = load i32, ptr %15, align 4
%64 = load i32, ptr %13, align 4
%65 = sub nsw i32 %64, %63
store i32 %65, ptr %13, align 4
%66 = load i32, ptr %15, align 4
%67 = load i32, ptr %16, align 4
%68 = add nsw i32 %67, %66
store i32 %68, ptr %16, align 4
br label %95
69: ; preds = %54
%70 = load i32, ptr %16, align 4
%71 = icmp ne i32 %70, 0
br i1 %71, label %72, label %80
72: ; preds = %69
%73 = load i32, ptr %16, align 4
%74 = load ptr, ptr %8, align 8
%75 = load i32, ptr %13, align 4
%76 = load i32, ptr %16, align 4
%77 = add nsw i32 %75, %76
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds i32, ptr %74, i64 %78
store i32 %73, ptr %79, align 4
store i32 0, ptr %16, align 4
br label %80
80: ; preds = %72, %69
%81 = load ptr, ptr %7, align 8
%82 = load i32, ptr %15, align 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds i32, ptr %81, i64 %83
%85 = load i32, ptr %84, align 4
%86 = add nsw i32 %85, 1
store i32 %86, ptr %14, align 4
%87 = load ptr, ptr %7, align 8
%88 = load ptr, ptr %8, align 8
%89 = load i32, ptr %13, align 4
%90 = load i32, ptr %14, align 4
%91 = sub nsw i32 %90, 1
%92 = load i32, ptr %19, align 4
%93 = call i32 @QSufSortSortSplit(ptr noundef %87, ptr noundef %88, i32 noundef %89, i32 noundef %91, i32 noundef %92)
%94 = load i32, ptr %14, align 4
store i32 %94, ptr %13, align 4
br label %95
95: ; preds = %80, %62
br label %96
96: ; preds = %95
%97 = load i32, ptr %13, align 4
%98 = load i32, ptr %9, align 4
%99 = icmp sle i32 %97, %98
br i1 %99, label %54, label %100, !llvm.loop !6
100: ; preds = %96
%101 = load i32, ptr %16, align 4
%102 = icmp ne i32 %101, 0
br i1 %102, label %103, label %111
103: ; preds = %100
%104 = load i32, ptr %16, align 4
%105 = load ptr, ptr %8, align 8
%106 = load i32, ptr %13, align 4
%107 = load i32, ptr %16, align 4
%108 = add nsw i32 %106, %107
%109 = sext i32 %108 to i64
%110 = getelementptr inbounds i32, ptr %105, i64 %109
store i32 %104, ptr %110, align 4
br label %111
111: ; preds = %103, %100
%112 = load i32, ptr %19, align 4
%113 = mul nsw i32 %112, 2
store i32 %113, ptr %19, align 4
%114 = load ptr, ptr %8, align 8
%115 = getelementptr inbounds i32, ptr %114, i64 0
%116 = load i32, ptr %115, align 4
%117 = load i32, ptr %9, align 4
%118 = sub nsw i32 0, %117
%119 = icmp sge i32 %116, %118
br i1 %119, label %53, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %111
br label %120
120: ; preds = %._crit_edge, %47
ret void
}
declare i32 @QSufSortTransform(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @QSufSortBucketSort(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @QSufSortSortSplit(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp9ouc0evw.c'
source_filename = "/tmp/tmp9ouc0evw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_INET = dso_local global i32 0, align 4
@F_SETFL = dso_local global i32 0, align 4
@INADDR_ANY = dso_local global i32 0, align 4
@O_NONBLOCK = dso_local global i32 0, align 4
@SOCK_STREAM = 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/tmp9ouc0evw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_INET = dso_local global i32 0, align 4
@F_SETFL = dso_local global i32 0, align 4
@INADDR_ANY = dso_local global i32 0, align 4
@O_NONBLOCK = dso_local global i32 0, align 4
@SOCK_STREAM = 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/tmp177zh5lh.c'
source_filename = "/tmp/tmp177zh5lh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @baseFilenameSansExtensionNew(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%9 = load ptr, ptr %4, align 8
%10 = call ptr @baseFilename(ptr noundef %9)
store ptr %10, ptr %7, align 8
%11 = load ptr, ptr %7, align 8
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds i8, ptr %12, i64 0
%14 = load i8, ptr %13, align 1
%15 = call ptr @strrchr(ptr noundef %11, i8 noundef signext %14)
store ptr %15, ptr %6, align 8
%16 = load ptr, ptr %6, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %18, label %33
18: ; preds = %2
%19 = load ptr, ptr %6, align 8
%20 = load ptr, ptr %5, align 8
%21 = call i64 @strcmp(ptr noundef %19, ptr noundef %20)
%22 = icmp eq i64 %21, 0
br i1 %22, label %23, label %33
23: ; preds = %18
%24 = load ptr, ptr %7, align 8
%25 = load ptr, ptr %6, align 8
%26 = load ptr, ptr %7, align 8
%27 = ptrtoint ptr %25 to i64
%28 = ptrtoint ptr %26 to i64
%29 = sub i64 %27, %28
%30 = trunc i64 %29 to i32
%31 = call ptr @eStrndup(ptr noundef %24, i32 noundef %30)
store ptr %31, ptr %8, align 8
%32 = load ptr, ptr %8, align 8
store ptr %32, ptr %3, align 8
br label %34
33: ; preds = %18, %2
store ptr null, ptr %3, align 8
br label %34
34: ; preds = %33, %23
%35 = load ptr, ptr %3, align 8
ret ptr %35
}
declare ptr @baseFilename(ptr noundef) #1
declare ptr @strrchr(ptr noundef, i8 noundef signext) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare ptr @eStrndup(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/tmp177zh5lh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @baseFilenameSansExtensionNew(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%9 = load ptr, ptr %4, align 8
%10 = call ptr @baseFilename(ptr noundef %9)
store ptr %10, ptr %7, align 8
%11 = load ptr, ptr %7, align 8
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds i8, ptr %12, i64 0
%14 = load i8, ptr %13, align 1
%15 = call ptr @strrchr(ptr noundef %11, i8 noundef signext %14)
store ptr %15, ptr %6, align 8
%16 = load ptr, ptr %6, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %18, label %33
18: ; preds = %2
%19 = load ptr, ptr %6, align 8
%20 = load ptr, ptr %5, align 8
%21 = call i64 @strcmp(ptr noundef %19, ptr noundef %20)
%22 = icmp eq i64 %21, 0
br i1 %22, label %23, label %33
23: ; preds = %18
%24 = load ptr, ptr %7, align 8
%25 = load ptr, ptr %6, align 8
%26 = load ptr, ptr %7, align 8
%27 = ptrtoint ptr %25 to i64
%28 = ptrtoint ptr %26 to i64
%29 = sub i64 %27, %28
%30 = trunc i64 %29 to i32
%31 = call ptr @eStrndup(ptr noundef %24, i32 noundef %30)
store ptr %31, ptr %8, align 8
%32 = load ptr, ptr %8, align 8
store ptr %32, ptr %3, align 8
br label %34
33: ; preds = %18, %2
store ptr null, ptr %3, align 8
br label %34
34: ; preds = %33, %23
%35 = load ptr, ptr %3, align 8
ret ptr %35
}
declare ptr @baseFilename(ptr noundef) #1
declare ptr @strrchr(ptr noundef, i8 noundef signext) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare ptr @eStrndup(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/tmpexctc44z.c'
source_filename = "/tmp/tmpexctc44z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@main.global_cpuid = internal global i32 0, align 4
@main.barreira = internal global i32 0, align 4
@main.barreira2 = internal global i32 0, align 4
@main.global_potencia = internal global i32 8, align 4
@main.valor = internal global double 2.000000e-01, align 8
@main.x = internal global ptr null, align 8
@main.resultado_final = internal global double 0.000000e+00, align 8
@.str = private unnamed_addr constant [28 x i8] c"Core %d est\C3\A1 funcionando!\0A\00", align 1
@.str.1 = private unnamed_addr constant [34 x i8] c"Resultado Final:\0ASeno(%f) = %.4f\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
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca i32, align 4
%15 = 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 double 0.000000e+00, ptr %13, align 8
%16 = call i32 (...) @glock()
%17 = load i32, ptr @main.global_cpuid, align 4
store i32 %17, ptr %14, align 4
%18 = load i32, ptr @main.global_cpuid, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr @main.global_cpuid, align 4
%20 = load i32, ptr %14, align 4
%21 = sitofp i32 %20 to double
%22 = call i32 (ptr, double, ...) @printf(ptr noundef @.str, double noundef %21)
%23 = call i32 (...) @flock()
br label %24
24: ; preds = %27, %2
%25 = load i32, ptr @main.global_cpuid, align 4
%26 = icmp ne i32 %25, 8
br i1 %26, label %27, label %28
27: ; preds = %24
br label %24, !llvm.loop !6
28: ; preds = %24
store i32 0, ptr %7, align 4
br label %29
29: ; preds = %145, %28
%30 = load i32, ptr %7, align 4
%31 = icmp slt i32 %30, 50
br i1 %31, label %32, label %148
32: ; preds = %29
%33 = load i32, ptr @main.global_potencia, align 4
%34 = load i32, ptr @main.global_cpuid, align 4
%35 = sdiv i32 %33, %34
store i32 %35, ptr %15, align 4
%36 = load i32, ptr %14, align 4
%37 = icmp eq i32 %36, 0
br i1 %37, label %38, label %78
38: ; preds = %32
%39 = load ptr, ptr @main.x, align 8
%40 = icmp eq ptr %39, null
br i1 %40, label %41, label %47
41: ; preds = %38
%42 = load i32, ptr @main.global_potencia, align 4
%43 = sext i32 %42 to i64
%44 = mul i64 8, %43
%45 = trunc i64 %44 to i32
%46 = call ptr @malloc(i32 noundef %45)
store ptr %46, ptr @main.x, align 8
br label %47
47: ; preds = %41, %38
%48 = load double, ptr @main.valor, align 8
%49 = load ptr, ptr @main.x, align 8
%50 = getelementptr inbounds double, ptr %49, i64 0
store double %48, ptr %50, align 8
store i32 1, ptr %6, align 4
br label %51
51: ; preds = %72, %47
%52 = load i32, ptr %6, align 4
%53 = load i32, ptr @main.global_potencia, align 4
%54 = icmp slt i32 %52, %53
br i1 %54, label %55, label %75
55: ; preds = %51
%56 = load ptr, ptr @main.x, align 8
%57 = load i32, ptr %6, align 4
%58 = sub nsw i32 %57, 1
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds double, ptr %56, i64 %59
%61 = load double, ptr %60, align 8
%62 = load double, ptr @main.valor, align 8
%63 = fmul double %61, %62
%64 = load double, ptr @main.valor, align 8
%65 = fmul double %63, %64
%66 = load ptr, ptr @main.x, align 8
%67 = load i32, ptr %6, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds double, ptr %66, i64 %68
store double %65, ptr %69, align 8
%70 = load i32, ptr @main.barreira2, align 4
%71 = add nsw i32 %70, 1
store i32 %71, ptr @main.barreira2, align 4
br label %72
72: ; preds = %55
%73 = load i32, ptr %6, align 4
%74 = add nsw i32 %73, 1
store i32 %74, ptr %6, align 4
br label %51, !llvm.loop !8
75: ; preds = %51
%76 = load i32, ptr @main.barreira2, align 4
%77 = add nsw i32 %76, 1
store i32 %77, ptr @main.barreira2, align 4
br label %78
78: ; preds = %75, %32
br label %79
79: ; preds = %82, %78
%80 = load i32, ptr @main.barreira2, align 4
%81 = icmp ne i32 %80, 8
br i1 %81, label %82, label %83
82: ; preds = %79
br label %79, !llvm.loop !9
83: ; preds = %79
%84 = load i32, ptr %14, align 4
%85 = mul nsw i32 2, %84
%86 = add nsw i32 %85, 1
store i32 %86, ptr %8, align 4
%87 = load i32, ptr %8, align 4
%88 = call double @fatorial(i32 noundef %87)
store double %88, ptr %11, align 8
%89 = load double, ptr %11, align 8
store double %89, ptr %12, align 8
%90 = load i32, ptr %14, align 4
%91 = srem i32 %90, 2
%92 = icmp eq i32 %91, 0
br i1 %92, label %93, label %102
93: ; preds = %83
%94 = load ptr, ptr @main.x, align 8
%95 = load i32, ptr %14, align 4
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds double, ptr %94, i64 %96
%98 = load double, ptr %97, align 8
store double %98, ptr %13, align 8
%99 = load double, ptr %13, align 8
%100 = load double, ptr %11, align 8
%101 = fdiv double %99, %100
store double %101, ptr %13, align 8
br label %112
102: ; preds = %83
%103 = load ptr, ptr @main.x, align 8
%104 = load i32, ptr %14, align 4
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds double, ptr %103, i64 %105
%107 = load double, ptr %106, align 8
store double %107, ptr %13, align 8
%108 = load double, ptr %13, align 8
%109 = load double, ptr %11, align 8
%110 = fdiv double %108, %109
%111 = fmul double %110, -1.000000e+00
store double %111, ptr %13, align 8
br label %112
112: ; preds = %102, %93
%113 = call i32 (...) @glock()
%114 = load double, ptr %13, align 8
%115 = load double, ptr @main.resultado_final, align 8
%116 = fadd double %115, %114
store double %116, ptr @main.resultado_final, align 8
%117 = load i32, ptr @main.barreira, align 4
%118 = add nsw i32 %117, 1
store i32 %118, ptr @main.barreira, align 4
%119 = call i32 (...) @flock()
br label %120
120: ; preds = %123, %112
%121 = load i32, ptr @main.barreira, align 4
%122 = icmp ne i32 %121, 8
br i1 %122, label %123, label %124
123: ; preds = %120
br label %120, !llvm.loop !10
124: ; preds = %120
%125 = load i32, ptr %14, align 4
%126 = icmp eq i32 %125, 0
br i1 %126, label %127, label %131
127: ; preds = %124
%128 = load double, ptr @main.valor, align 8
%129 = load double, ptr @main.resultado_final, align 8
%130 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.1, double noundef %128, double noundef %129)
br label %131
131: ; preds = %127, %124
%132 = call i32 (...) @glock()
%133 = load i32, ptr %14, align 4
%134 = icmp eq i32 %133, 0
br i1 %134, label %135, label %138
135: ; preds = %131
store i32 0, ptr @main.barreira2, align 4
store double 0.000000e+00, ptr @main.resultado_final, align 8
%136 = load double, ptr @main.valor, align 8
%137 = fadd double %136, 5.000000e-02
store double %137, ptr @main.valor, align 8
store i32 0, ptr @main.barreira, align 4
br label %138
138: ; preds = %135, %131
%139 = call i32 (...) @flock()
br label %140
140: ; preds = %143, %138
%141 = load i32, ptr @main.barreira, align 4
%142 = icmp ne i32 %141, 0
br i1 %142, label %143, label %144
143: ; preds = %140
br label %140, !llvm.loop !11
144: ; preds = %140
br label %145
145: ; preds = %144
%146 = load i32, ptr %7, align 4
%147 = add nsw i32 %146, 1
store i32 %147, ptr %7, align 4
br label %29, !llvm.loop !12
148: ; preds = %29
store i32 0, ptr %6, align 4
br label %149
149: ; preds = %153, %148
%150 = load i32, ptr %6, align 4
%151 = icmp slt i32 %150, 50000
br i1 %151, label %152, label %156
152: ; preds = %149
br label %153
153: ; preds = %152
%154 = load i32, ptr %6, align 4
%155 = add nsw i32 %154, 1
store i32 %155, ptr %6, align 4
br label %149, !llvm.loop !13
156: ; preds = %149
%157 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @glock(...) #1
declare i32 @printf(ptr noundef, double noundef, ...) #1
declare i32 @flock(...) #1
declare ptr @malloc(i32 noundef) #1
declare double @fatorial(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpexctc44z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@main.global_cpuid = internal global i32 0, align 4
@main.barreira = internal global i32 0, align 4
@main.barreira2 = internal global i32 0, align 4
@main.global_potencia = internal global i32 8, align 4
@main.valor = internal global double 2.000000e-01, align 8
@main.x = internal global ptr null, align 8
@main.resultado_final = internal global double 0.000000e+00, align 8
@.str = private unnamed_addr constant [28 x i8] c"Core %d est\C3\A1 funcionando!\0A\00", align 1
@.str.1 = private unnamed_addr constant [34 x i8] c"Resultado Final:\0ASeno(%f) = %.4f\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
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca i32, align 4
%15 = 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 double 0.000000e+00, ptr %13, align 8
%16 = call i32 (...) @glock()
%17 = load i32, ptr @main.global_cpuid, align 4
store i32 %17, ptr %14, align 4
%18 = load i32, ptr @main.global_cpuid, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr @main.global_cpuid, align 4
%20 = load i32, ptr %14, align 4
%21 = sitofp i32 %20 to double
%22 = call i32 (ptr, double, ...) @printf(ptr noundef @.str, double noundef %21)
%23 = call i32 (...) @flock()
br label %24
24: ; preds = %2
store i32 0, ptr %7, align 4
%25 = load i32, ptr %7, align 4
%26 = icmp slt i32 %25, 50
br i1 %26, label %.lr.ph2, label %135
.lr.ph2: ; preds = %24
br label %27
27: ; preds = %.lr.ph2, %130
%28 = load i32, ptr @main.global_potencia, align 4
%29 = load i32, ptr @main.global_cpuid, align 4
%30 = sdiv i32 %28, %29
store i32 %30, ptr %15, align 4
%31 = load i32, ptr %14, align 4
%32 = icmp eq i32 %31, 0
br i1 %32, label %33, label %75
33: ; preds = %27
%34 = load ptr, ptr @main.x, align 8
%35 = icmp eq ptr %34, null
br i1 %35, label %36, label %42
36: ; preds = %33
%37 = load i32, ptr @main.global_potencia, align 4
%38 = sext i32 %37 to i64
%39 = mul i64 8, %38
%40 = trunc i64 %39 to i32
%41 = call ptr @malloc(i32 noundef %40)
store ptr %41, ptr @main.x, align 8
br label %42
42: ; preds = %36, %33
%43 = load double, ptr @main.valor, align 8
%44 = load ptr, ptr @main.x, align 8
%45 = getelementptr inbounds double, ptr %44, i64 0
store double %43, ptr %45, align 8
store i32 1, ptr %6, align 4
%46 = load i32, ptr %6, align 4
%47 = load i32, ptr @main.global_potencia, align 4
%48 = icmp slt i32 %46, %47
br i1 %48, label %.lr.ph, label %72
.lr.ph: ; preds = %42
br label %49
49: ; preds = %.lr.ph, %66
%50 = load ptr, ptr @main.x, align 8
%51 = load i32, ptr %6, align 4
%52 = sub nsw i32 %51, 1
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds double, ptr %50, i64 %53
%55 = load double, ptr %54, align 8
%56 = load double, ptr @main.valor, align 8
%57 = fmul double %55, %56
%58 = load double, ptr @main.valor, align 8
%59 = fmul double %57, %58
%60 = load ptr, ptr @main.x, align 8
%61 = load i32, ptr %6, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds double, ptr %60, i64 %62
store double %59, ptr %63, align 8
%64 = load i32, ptr @main.barreira2, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr @main.barreira2, align 4
br label %66
66: ; preds = %49
%67 = load i32, ptr %6, align 4
%68 = add nsw i32 %67, 1
store i32 %68, ptr %6, align 4
%69 = load i32, ptr %6, align 4
%70 = load i32, ptr @main.global_potencia, align 4
%71 = icmp slt i32 %69, %70
br i1 %71, label %49, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %66
br label %72
72: ; preds = %._crit_edge, %42
%73 = load i32, ptr @main.barreira2, align 4
%74 = add nsw i32 %73, 1
store i32 %74, ptr @main.barreira2, align 4
br label %75
75: ; preds = %72, %27
br label %76
76: ; preds = %75
%77 = load i32, ptr %14, align 4
%78 = mul nsw i32 2, %77
%79 = add nsw i32 %78, 1
store i32 %79, ptr %8, align 4
%80 = load i32, ptr %8, align 4
%81 = call double @fatorial(i32 noundef %80)
store double %81, ptr %11, align 8
%82 = load double, ptr %11, align 8
store double %82, ptr %12, align 8
%83 = load i32, ptr %14, align 4
%84 = srem i32 %83, 2
%85 = icmp eq i32 %84, 0
br i1 %85, label %86, label %95
86: ; preds = %76
%87 = load ptr, ptr @main.x, align 8
%88 = load i32, ptr %14, align 4
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds double, ptr %87, i64 %89
%91 = load double, ptr %90, align 8
store double %91, ptr %13, align 8
%92 = load double, ptr %13, align 8
%93 = load double, ptr %11, align 8
%94 = fdiv double %92, %93
store double %94, ptr %13, align 8
br label %105
95: ; preds = %76
%96 = load ptr, ptr @main.x, align 8
%97 = load i32, ptr %14, align 4
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds double, ptr %96, i64 %98
%100 = load double, ptr %99, align 8
store double %100, ptr %13, align 8
%101 = load double, ptr %13, align 8
%102 = load double, ptr %11, align 8
%103 = fdiv double %101, %102
%104 = fmul double %103, -1.000000e+00
store double %104, ptr %13, align 8
br label %105
105: ; preds = %95, %86
%106 = call i32 (...) @glock()
%107 = load double, ptr %13, align 8
%108 = load double, ptr @main.resultado_final, align 8
%109 = fadd double %108, %107
store double %109, ptr @main.resultado_final, align 8
%110 = load i32, ptr @main.barreira, align 4
%111 = add nsw i32 %110, 1
store i32 %111, ptr @main.barreira, align 4
%112 = call i32 (...) @flock()
br label %113
113: ; preds = %105
%114 = load i32, ptr %14, align 4
%115 = icmp eq i32 %114, 0
br i1 %115, label %116, label %120
116: ; preds = %113
%117 = load double, ptr @main.valor, align 8
%118 = load double, ptr @main.resultado_final, align 8
%119 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.1, double noundef %117, double noundef %118)
br label %120
120: ; preds = %116, %113
%121 = call i32 (...) @glock()
%122 = load i32, ptr %14, align 4
%123 = icmp eq i32 %122, 0
br i1 %123, label %124, label %127
124: ; preds = %120
store i32 0, ptr @main.barreira2, align 4
store double 0.000000e+00, ptr @main.resultado_final, align 8
%125 = load double, ptr @main.valor, align 8
%126 = fadd double %125, 5.000000e-02
store double %126, ptr @main.valor, align 8
store i32 0, ptr @main.barreira, align 4
br label %127
127: ; preds = %124, %120
%128 = call i32 (...) @flock()
br label %129
129: ; preds = %127
br label %130
130: ; preds = %129
%131 = load i32, ptr %7, align 4
%132 = add nsw i32 %131, 1
store i32 %132, ptr %7, align 4
%133 = load i32, ptr %7, align 4
%134 = icmp slt i32 %133, 50
br i1 %134, label %27, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %130
br label %135
135: ; preds = %._crit_edge3, %24
store i32 0, ptr %6, align 4
%136 = load i32, ptr %6, align 4
%137 = icmp slt i32 %136, 50000
br i1 %137, label %.lr.ph5, label %144
.lr.ph5: ; preds = %135
br label %138
138: ; preds = %.lr.ph5, %139
br label %139
139: ; preds = %138
%140 = load i32, ptr %6, align 4
%141 = add nsw i32 %140, 1
store i32 %141, ptr %6, align 4
%142 = load i32, ptr %6, align 4
%143 = icmp slt i32 %142, 50000
br i1 %143, label %138, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %139
br label %144
144: ; preds = %._crit_edge6, %135
%145 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @glock(...) #1
declare i32 @printf(ptr noundef, double noundef, ...) #1
declare i32 @flock(...) #1
declare ptr @malloc(i32 noundef) #1
declare double @fatorial(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpjq7_8dto.c'
source_filename = "/tmp/tmpjq7_8dto.c"
target datalayout = "e-m:e-p270: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/tmpjq7_8dto.c"
target datalayout = "e-m:e-p270: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/tmp8flg1h8e.c'
source_filename = "/tmp/tmp8flg1h8e.c"
target datalayout = "e-m:e-p270: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/tmp8flg1h8e.c"
target datalayout = "e-m:e-p270: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/tmp21584omb.c'
source_filename = "/tmp/tmp21584omb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"F\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"P\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"R\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"Z\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"S\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"Q\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca i64, align 8
store i32 0, ptr %1, align 4
%4 = call i64 (...) @fork()
store i64 %4, ptr %2, align 8
%5 = load i64, ptr %2, align 8
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %18
7: ; preds = %0
%8 = call i64 (...) @fork()
store i64 %8, ptr %3, align 8
%9 = load i64, ptr %3, align 8
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %14
11: ; preds = %7
%12 = call i32 @puts(ptr noundef @.str)
%13 = call i32 @puts(ptr noundef @.str.1)
br label %17
14: ; preds = %7
%15 = call i32 @puts(ptr noundef @.str.2)
%16 = call i32 @puts(ptr noundef @.str.3)
br label %17
17: ; preds = %14, %11
br label %21
18: ; preds = %0
%19 = call i32 @puts(ptr noundef @.str.4)
%20 = call i32 @puts(ptr noundef @.str.5)
br label %21
21: ; preds = %18, %17
%22 = call i32 @sleep(i32 noundef 15)
ret i32 0
}
declare i64 @fork(...) #1
declare i32 @puts(ptr 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp21584omb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"F\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"P\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"R\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"Z\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"S\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"Q\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca i64, align 8
store i32 0, ptr %1, align 4
%4 = call i64 (...) @fork()
store i64 %4, ptr %2, align 8
%5 = load i64, ptr %2, align 8
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %18
7: ; preds = %0
%8 = call i64 (...) @fork()
store i64 %8, ptr %3, align 8
%9 = load i64, ptr %3, align 8
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %14
11: ; preds = %7
%12 = call i32 @puts(ptr noundef @.str)
%13 = call i32 @puts(ptr noundef @.str.1)
br label %17
14: ; preds = %7
%15 = call i32 @puts(ptr noundef @.str.2)
%16 = call i32 @puts(ptr noundef @.str.3)
br label %17
17: ; preds = %14, %11
br label %21
18: ; preds = %0
%19 = call i32 @puts(ptr noundef @.str.4)
%20 = call i32 @puts(ptr noundef @.str.5)
br label %21
21: ; preds = %18, %17
%22 = call i32 @sleep(i32 noundef 15)
ret i32 0
}
declare i64 @fork(...) #1
declare i32 @puts(ptr 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"}
|
; ModuleID = '/tmp/tmp1ip4mow3.c'
source_filename = "/tmp/tmp1ip4mow3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"%u(%u,%u,b%03u\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c")\00", align 1
@.str.2 = private unnamed_addr constant [40 x i8] c"_SLE4442_PrWrite iDoRemoteFunc ret = %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @_vRcSLE4442_PrWrite(i8 noundef zeroext %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i8, align 1
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
store i8 %0, ptr %4, align 1
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%10 = call ptr @malloc(i32 noundef 512)
store ptr %10, ptr %9, align 8
%11 = load ptr, ptr %9, align 8
%12 = load i8, ptr %4, align 1
%13 = zext i8 %12 to i32
%14 = load i32, ptr %5, align 4
%15 = load i32, ptr %5, align 4
%16 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %11, ptr noundef @.str, i32 noundef 9206, i32 noundef %13, i32 noundef %14, i32 noundef %15)
store i32 %16, ptr %7, align 4
%17 = load ptr, ptr %9, align 8
%18 = load i32, ptr %7, align 4
%19 = zext i32 %18 to i64
%20 = getelementptr inbounds i8, ptr %17, i64 %19
%21 = load ptr, ptr %6, align 8
%22 = load i32, ptr %5, align 4
%23 = call i32 @memcpy(ptr noundef %20, ptr noundef %21, i32 noundef %22)
%24 = load i32, ptr %5, align 4
%25 = load i32, ptr %7, align 4
%26 = add i32 %25, %24
store i32 %26, ptr %7, align 4
%27 = load ptr, ptr %9, align 8
%28 = load i32, ptr %7, align 4
%29 = zext i32 %28 to i64
%30 = getelementptr inbounds i8, ptr %27, i64 %29
%31 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %30, ptr noundef @.str.1)
%32 = load i32, ptr %7, align 4
%33 = add i32 %32, %31
store i32 %33, ptr %7, align 4
%34 = load ptr, ptr %9, align 8
%35 = load i32, ptr %7, align 4
%36 = call i32 @iDoRemoteFunc(ptr noundef %34, i32 noundef %35, i32 noundef 1)
store i32 %36, ptr %8, align 4
%37 = load ptr, ptr %9, align 8
%38 = call i32 @free(ptr noundef %37)
%39 = load i32, ptr %8, align 4
%40 = icmp ne i32 %39, 0
br i1 %40, label %41, label %44
41: ; preds = %3
%42 = load i32, ptr %8, align 4
%43 = call i32 @vWriteLogTxt(ptr noundef @.str.2, i32 noundef %42)
br label %44
44: ; preds = %41, %3
ret void
}
declare ptr @malloc(i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @iDoRemoteFunc(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @vWriteLogTxt(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/tmp1ip4mow3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"%u(%u,%u,b%03u\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c")\00", align 1
@.str.2 = private unnamed_addr constant [40 x i8] c"_SLE4442_PrWrite iDoRemoteFunc ret = %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @_vRcSLE4442_PrWrite(i8 noundef zeroext %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i8, align 1
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
store i8 %0, ptr %4, align 1
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%10 = call ptr @malloc(i32 noundef 512)
store ptr %10, ptr %9, align 8
%11 = load ptr, ptr %9, align 8
%12 = load i8, ptr %4, align 1
%13 = zext i8 %12 to i32
%14 = load i32, ptr %5, align 4
%15 = load i32, ptr %5, align 4
%16 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %11, ptr noundef @.str, i32 noundef 9206, i32 noundef %13, i32 noundef %14, i32 noundef %15)
store i32 %16, ptr %7, align 4
%17 = load ptr, ptr %9, align 8
%18 = load i32, ptr %7, align 4
%19 = zext i32 %18 to i64
%20 = getelementptr inbounds i8, ptr %17, i64 %19
%21 = load ptr, ptr %6, align 8
%22 = load i32, ptr %5, align 4
%23 = call i32 @memcpy(ptr noundef %20, ptr noundef %21, i32 noundef %22)
%24 = load i32, ptr %5, align 4
%25 = load i32, ptr %7, align 4
%26 = add i32 %25, %24
store i32 %26, ptr %7, align 4
%27 = load ptr, ptr %9, align 8
%28 = load i32, ptr %7, align 4
%29 = zext i32 %28 to i64
%30 = getelementptr inbounds i8, ptr %27, i64 %29
%31 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %30, ptr noundef @.str.1)
%32 = load i32, ptr %7, align 4
%33 = add i32 %32, %31
store i32 %33, ptr %7, align 4
%34 = load ptr, ptr %9, align 8
%35 = load i32, ptr %7, align 4
%36 = call i32 @iDoRemoteFunc(ptr noundef %34, i32 noundef %35, i32 noundef 1)
store i32 %36, ptr %8, align 4
%37 = load ptr, ptr %9, align 8
%38 = call i32 @free(ptr noundef %37)
%39 = load i32, ptr %8, align 4
%40 = icmp ne i32 %39, 0
br i1 %40, label %41, label %44
41: ; preds = %3
%42 = load i32, ptr %8, align 4
%43 = call i32 @vWriteLogTxt(ptr noundef @.str.2, i32 noundef %42)
br label %44
44: ; preds = %41, %3
ret void
}
declare ptr @malloc(i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @iDoRemoteFunc(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @vWriteLogTxt(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/tmpsj6wqnby.c'
source_filename = "/tmp/tmpsj6wqnby.c"
target datalayout = "e-m:e-p270: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/tmpsj6wqnby.c"
target datalayout = "e-m:e-p270: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/tmpg5p53jxf.c'
source_filename = "/tmp/tmpg5p53jxf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [28 x i8] c"Enter an ASCII code value: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [36 x i8] c"ASCII code value %d represents %c.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%5 = load i32, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %5, i32 noundef %6)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpg5p53jxf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [28 x i8] c"Enter an ASCII code value: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [36 x i8] c"ASCII code value %d represents %c.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%5 = load i32, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %5, i32 noundef %6)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3tcjogc3.c'
source_filename = "/tmp/tmp3tcjogc3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_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
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"socket() failed: %s\0A.\00", align 1
@errno = dso_local global i32 0, align 4
@EXIT_FAILURE = dso_local global i32 0, align 4
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = load i32, ptr @AF_INET, align 4
%4 = load i32, ptr @SOCK_STREAM, align 4
%5 = load i32, ptr @IPPROTO_TCP, align 4
%6 = call i32 @socket(i32 noundef %3, i32 noundef %4, i32 noundef %5)
store i32 %6, ptr %2, align 4
%7 = icmp slt i32 %6, 0
br i1 %7, label %8, label %14
8: ; preds = %0
%9 = load i32, ptr @stderr, align 4
%10 = load i32, ptr @errno, align 4
%11 = call ptr @strerror(i32 noundef %10)
%12 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str, ptr noundef %11)
%13 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %13, ptr %1, align 4
br label %21
14: ; preds = %0
%15 = call i32 @dup(i32 noundef 42)
%16 = icmp ne i32 %15, -1
br i1 %16, label %17, label %19
17: ; preds = %14
%18 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %18, ptr %1, align 4
br label %21
19: ; preds = %14
%20 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %20, ptr %1, align 4
br label %21
21: ; preds = %19, %17, %8
%22 = load i32, ptr %1, align 4
ret i32 %22
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @strerror(i32 noundef) #1
declare i32 @dup(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/tmp3tcjogc3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_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
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"socket() failed: %s\0A.\00", align 1
@errno = dso_local global i32 0, align 4
@EXIT_FAILURE = dso_local global i32 0, align 4
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = load i32, ptr @AF_INET, align 4
%4 = load i32, ptr @SOCK_STREAM, align 4
%5 = load i32, ptr @IPPROTO_TCP, align 4
%6 = call i32 @socket(i32 noundef %3, i32 noundef %4, i32 noundef %5)
store i32 %6, ptr %2, align 4
%7 = icmp slt i32 %6, 0
br i1 %7, label %8, label %14
8: ; preds = %0
%9 = load i32, ptr @stderr, align 4
%10 = load i32, ptr @errno, align 4
%11 = call ptr @strerror(i32 noundef %10)
%12 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str, ptr noundef %11)
%13 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %13, ptr %1, align 4
br label %21
14: ; preds = %0
%15 = call i32 @dup(i32 noundef 42)
%16 = icmp ne i32 %15, -1
br i1 %16, label %17, label %19
17: ; preds = %14
%18 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %18, ptr %1, align 4
br label %21
19: ; preds = %14
%20 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %20, ptr %1, align 4
br label %21
21: ; preds = %19, %17, %8
%22 = load i32, ptr %1, align 4
ret i32 %22
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @strerror(i32 noundef) #1
declare i32 @dup(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_vwuup7d.c'
source_filename = "/tmp/tmp_vwuup7d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_vwuup7d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_v_l9bh6.c'
source_filename = "/tmp/tmp_v_l9bh6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [27 x i8] c"%s: sudoku already solved\0A\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"%s: sudoku has no free field\0A\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"sudoku read:\00", align 1
@.str.3 = private unnamed_addr constant [32 x i8] c"%s: sudoku could not be solved\0A\00", align 1
@.str.4 = private unnamed_addr constant [15 x i8] c"sudoku solved:\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = call ptr (...) @sudoku_alloc()
store ptr %8, ptr %6, align 8
store i32 1, ptr %7, align 4
br label %9
9: ; preds = %64, %2
%10 = load i32, ptr %7, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %13, label %67
13: ; preds = %9
%14 = load ptr, ptr %5, align 8
%15 = load i32, ptr %7, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds ptr, ptr %14, i64 %16
%18 = load ptr, ptr %17, align 8
%19 = load ptr, ptr %6, align 8
%20 = call i32 @sudoku_read(ptr noundef %18, ptr noundef %19)
%21 = load ptr, ptr %6, align 8
%22 = call i64 @all_fixed(ptr noundef %21)
%23 = icmp ne i64 %22, 0
br i1 %23, label %24, label %45
24: ; preds = %13
%25 = load ptr, ptr %6, align 8
%26 = call i64 @is_valid(ptr noundef %25)
%27 = icmp ne i64 %26, 0
br i1 %27, label %28, label %36
28: ; preds = %24
%29 = load i32, ptr @stderr, align 4
%30 = load ptr, ptr %5, align 8
%31 = load i32, ptr %7, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds ptr, ptr %30, i64 %32
%34 = load ptr, ptr %33, align 8
%35 = call i32 @fprintf(i32 noundef %29, ptr noundef @.str, ptr noundef %34)
br label %44
36: ; preds = %24
%37 = load i32, ptr @stderr, align 4
%38 = load ptr, ptr %5, align 8
%39 = load i32, ptr %7, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds ptr, ptr %38, i64 %40
%42 = load ptr, ptr %41, align 8
%43 = call i32 @fprintf(i32 noundef %37, ptr noundef @.str.1, ptr noundef %42)
br label %44
44: ; preds = %36, %28
br label %64
45: ; preds = %13
%46 = call i32 @puts(ptr noundef @.str.2)
%47 = load ptr, ptr %6, align 8
%48 = call i32 @sudoku_print(ptr noundef %47)
%49 = load ptr, ptr %6, align 8
%50 = call i32 @sudoku_solve(ptr noundef %49)
%51 = icmp ne i32 %50, 0
br i1 %51, label %60, label %52
52: ; preds = %45
%53 = load i32, ptr @stderr, align 4
%54 = load ptr, ptr %5, align 8
%55 = load i32, ptr %7, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds ptr, ptr %54, i64 %56
%58 = load ptr, ptr %57, align 8
%59 = call i32 @fprintf(i32 noundef %53, ptr noundef @.str.3, ptr noundef %58)
br label %64
60: ; preds = %45
%61 = call i32 @puts(ptr noundef @.str.4)
%62 = load ptr, ptr %6, align 8
%63 = call i32 @sudoku_print(ptr noundef %62)
br label %64
64: ; preds = %60, %52, %44
%65 = load i32, ptr %7, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %7, align 4
br label %9, !llvm.loop !6
67: ; preds = %9
%68 = load ptr, ptr %6, align 8
%69 = call i32 @sudoku_free(ptr noundef %68)
ret i32 0
}
declare ptr @sudoku_alloc(...) #1
declare i32 @sudoku_read(ptr noundef, ptr noundef) #1
declare i64 @all_fixed(ptr noundef) #1
declare i64 @is_valid(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @puts(ptr noundef) #1
declare i32 @sudoku_print(ptr noundef) #1
declare i32 @sudoku_solve(ptr noundef) #1
declare i32 @sudoku_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/tmp_v_l9bh6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [27 x i8] c"%s: sudoku already solved\0A\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"%s: sudoku has no free field\0A\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"sudoku read:\00", align 1
@.str.3 = private unnamed_addr constant [32 x i8] c"%s: sudoku could not be solved\0A\00", align 1
@.str.4 = private unnamed_addr constant [15 x i8] c"sudoku solved:\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = call ptr (...) @sudoku_alloc()
store ptr %8, ptr %6, align 8
store i32 1, ptr %7, align 4
%9 = load i32, ptr %7, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %.lr.ph, label %69
.lr.ph: ; preds = %2
br label %12
12: ; preds = %.lr.ph, %63
%13 = load ptr, ptr %5, align 8
%14 = load i32, ptr %7, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds ptr, ptr %13, i64 %15
%17 = load ptr, ptr %16, align 8
%18 = load ptr, ptr %6, align 8
%19 = call i32 @sudoku_read(ptr noundef %17, ptr noundef %18)
%20 = load ptr, ptr %6, align 8
%21 = call i64 @all_fixed(ptr noundef %20)
%22 = icmp ne i64 %21, 0
br i1 %22, label %23, label %44
23: ; preds = %12
%24 = load ptr, ptr %6, align 8
%25 = call i64 @is_valid(ptr noundef %24)
%26 = icmp ne i64 %25, 0
br i1 %26, label %27, label %35
27: ; preds = %23
%28 = load i32, ptr @stderr, align 4
%29 = load ptr, ptr %5, align 8
%30 = load i32, ptr %7, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds ptr, ptr %29, i64 %31
%33 = load ptr, ptr %32, align 8
%34 = call i32 @fprintf(i32 noundef %28, ptr noundef @.str, ptr noundef %33)
br label %43
35: ; preds = %23
%36 = load i32, ptr @stderr, 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 ptr, ptr %37, i64 %39
%41 = load ptr, ptr %40, align 8
%42 = call i32 @fprintf(i32 noundef %36, ptr noundef @.str.1, ptr noundef %41)
br label %43
43: ; preds = %35, %27
br label %63
44: ; preds = %12
%45 = call i32 @puts(ptr noundef @.str.2)
%46 = load ptr, ptr %6, align 8
%47 = call i32 @sudoku_print(ptr noundef %46)
%48 = load ptr, ptr %6, align 8
%49 = call i32 @sudoku_solve(ptr noundef %48)
%50 = icmp ne i32 %49, 0
br i1 %50, label %59, label %51
51: ; preds = %44
%52 = load i32, ptr @stderr, align 4
%53 = load ptr, ptr %5, align 8
%54 = load i32, ptr %7, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds ptr, ptr %53, i64 %55
%57 = load ptr, ptr %56, align 8
%58 = call i32 @fprintf(i32 noundef %52, ptr noundef @.str.3, ptr noundef %57)
br label %63
59: ; preds = %44
%60 = call i32 @puts(ptr noundef @.str.4)
%61 = load ptr, ptr %6, align 8
%62 = call i32 @sudoku_print(ptr noundef %61)
br label %63
63: ; preds = %59, %51, %43
%64 = load i32, ptr %7, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %7, align 4
%66 = load i32, ptr %7, align 4
%67 = load i32, ptr %4, align 4
%68 = icmp slt i32 %66, %67
br i1 %68, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %63
br label %69
69: ; preds = %._crit_edge, %2
%70 = load ptr, ptr %6, align 8
%71 = call i32 @sudoku_free(ptr noundef %70)
ret i32 0
}
declare ptr @sudoku_alloc(...) #1
declare i32 @sudoku_read(ptr noundef, ptr noundef) #1
declare i64 @all_fixed(ptr noundef) #1
declare i64 @is_valid(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @puts(ptr noundef) #1
declare i32 @sudoku_print(ptr noundef) #1
declare i32 @sudoku_solve(ptr noundef) #1
declare i32 @sudoku_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/tmposiggoro.c'
source_filename = "/tmp/tmposiggoro.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINVAL = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
@V4L2_BUF_TYPE_VIDEO_CAPTURE = dso_local global i32 0, align 4
@VIDIOC_STREAMOFF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @stop_streaming(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 0
br i1 %6, label %7, label %9
7: ; preds = %1
%8 = load i32, ptr @EINVAL, align 4
store i32 %8, ptr @errno, align 4
store i32 -1, ptr %2, align 4
br label %14
9: ; preds = %1
%10 = load i32, ptr @V4L2_BUF_TYPE_VIDEO_CAPTURE, align 4
store i32 %10, ptr %4, align 4
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr @VIDIOC_STREAMOFF, align 4
%13 = call i32 @xioctl(i32 noundef %11, i32 noundef %12, ptr noundef %4)
store i32 %13, ptr %2, align 4
br label %14
14: ; preds = %9, %7
%15 = load i32, ptr %2, align 4
ret i32 %15
}
declare i32 @xioctl(i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmposiggoro.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINVAL = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
@V4L2_BUF_TYPE_VIDEO_CAPTURE = dso_local global i32 0, align 4
@VIDIOC_STREAMOFF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @stop_streaming(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 0
br i1 %6, label %7, label %9
7: ; preds = %1
%8 = load i32, ptr @EINVAL, align 4
store i32 %8, ptr @errno, align 4
store i32 -1, ptr %2, align 4
br label %14
9: ; preds = %1
%10 = load i32, ptr @V4L2_BUF_TYPE_VIDEO_CAPTURE, align 4
store i32 %10, ptr %4, align 4
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr @VIDIOC_STREAMOFF, align 4
%13 = call i32 @xioctl(i32 noundef %11, i32 noundef %12, ptr noundef %4)
store i32 %13, ptr %2, align 4
br label %14
14: ; preds = %9, %7
%15 = load i32, ptr %2, align 4
ret i32 %15
}
declare i32 @xioctl(i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpddsz0zvf.c'
source_filename = "/tmp/tmpddsz0zvf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"move\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"$25,$2\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"j\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"$25\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Jump_Ret() #0 {
%1 = call i32 @Inst_Printf(ptr noundef @.str, ptr noundef @.str.1)
%2 = call i32 @Inst_Printf(ptr noundef @.str.2, ptr noundef @.str.3)
ret void
}
declare i32 @Inst_Printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpddsz0zvf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"move\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"$25,$2\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"j\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"$25\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Jump_Ret() #0 {
%1 = call i32 @Inst_Printf(ptr noundef @.str, ptr noundef @.str.1)
%2 = call i32 @Inst_Printf(ptr noundef @.str.2, ptr noundef @.str.3)
ret void
}
declare i32 @Inst_Printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmps98i2_pw.c'
source_filename = "/tmp/tmps98i2_pw.c"
target datalayout = "e-m:e-p270: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/tmps98i2_pw.c"
target datalayout = "e-m:e-p270: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/tmpudgpx_g0.c'
source_filename = "/tmp/tmpudgpx_g0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"test\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @dummy() #0 {
%1 = call i32 @printf(ptr noundef @.str, i32 noundef 1)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpudgpx_g0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"test\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @dummy() #0 {
%1 = call i32 @printf(ptr noundef @.str, i32 noundef 1)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphnyn6wlz.c'
source_filename = "/tmp/tmphnyn6wlz.c"
target datalayout = "e-m:e-p270: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/tmphnyn6wlz.c"
target datalayout = "e-m:e-p270: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/tmp4uvmr_xn.c'
source_filename = "/tmp/tmp4uvmr_xn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"reading input files \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @read_input() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4uvmr_xn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"reading input files \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @read_input() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwwxn17ao.c'
source_filename = "/tmp/tmpwwxn17ao.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
store i8 1, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = call signext i8 @f(i8 noundef signext %3)
%5 = sext i8 %4 to i32
store i32 %5, ptr %1, align 4
%6 = load i32, ptr %1, align 4
%7 = load i32, ptr %1, align 4
%8 = trunc i32 %7 to i8
%9 = call signext i8 @f(i8 noundef signext %8)
%10 = sext i8 %9 to i32
%11 = add nsw i32 %6, %10
%12 = trunc i32 %11 to i8
store i8 %12, ptr %2, align 1
%13 = load i8, ptr %2, align 1
%14 = sext i8 %13 to i32
%15 = call signext i8 @f(i8 noundef signext 81)
%16 = sext i8 %15 to i32
%17 = add nsw i32 %14, %16
store i32 %17, ptr %1, align 4
%18 = load i32, ptr %1, align 4
%19 = call i32 @print_int(i32 noundef %18)
%20 = call i32 @print_string(ptr noundef @.str)
ret void
}
declare signext i8 @f(i8 noundef signext) #1
declare i32 @print_int(i32 noundef) #1
declare i32 @print_string(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwwxn17ao.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
store i8 1, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = call signext i8 @f(i8 noundef signext %3)
%5 = sext i8 %4 to i32
store i32 %5, ptr %1, align 4
%6 = load i32, ptr %1, align 4
%7 = load i32, ptr %1, align 4
%8 = trunc i32 %7 to i8
%9 = call signext i8 @f(i8 noundef signext %8)
%10 = sext i8 %9 to i32
%11 = add nsw i32 %6, %10
%12 = trunc i32 %11 to i8
store i8 %12, ptr %2, align 1
%13 = load i8, ptr %2, align 1
%14 = sext i8 %13 to i32
%15 = call signext i8 @f(i8 noundef signext 81)
%16 = sext i8 %15 to i32
%17 = add nsw i32 %14, %16
store i32 %17, ptr %1, align 4
%18 = load i32, ptr %1, align 4
%19 = call i32 @print_int(i32 noundef %18)
%20 = call i32 @print_string(ptr noundef @.str)
ret void
}
declare signext i8 @f(i8 noundef signext) #1
declare i32 @print_int(i32 noundef) #1
declare i32 @print_string(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsmy57v9l.c'
source_filename = "/tmp/tmpsmy57v9l.c"
target datalayout = "e-m:e-p270: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, i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @now() #0 {
%1 = alloca %struct.timeval, align 8
%2 = call i32 @gettimeofday(ptr noundef %1, i32 noundef 0)
%3 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 1
%4 = load i64, ptr %3, align 8
%5 = sitofp i64 %4 to double
%6 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0
%7 = load i32, ptr %6, align 8
%8 = sitofp i32 %7 to double
%9 = fdiv double %8, 1.000000e+06
%10 = fadd double %5, %9
ret double %10
}
declare i32 @gettimeofday(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/tmpsmy57v9l.c"
target datalayout = "e-m:e-p270: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, i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @now() #0 {
%1 = alloca %struct.timeval, align 8
%2 = call i32 @gettimeofday(ptr noundef %1, i32 noundef 0)
%3 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 1
%4 = load i64, ptr %3, align 8
%5 = sitofp i64 %4 to double
%6 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0
%7 = load i32, ptr %6, align 8
%8 = sitofp i32 %7 to double
%9 = fdiv double %8, 1.000000e+06
%10 = fadd double %5, %9
ret double %10
}
declare i32 @gettimeofday(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/tmp8p912dn6.c'
source_filename = "/tmp/tmp8p912dn6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [105 x i8] c"%%TEST_FAILED%% time=0 testname=testInitialiseValeur (Test_gestionfichier) message=error message sample\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @testInitialiseValeur() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = load ptr, ptr %1, align 8
%6 = load ptr, ptr %2, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i32 @InitialiseValeur(ptr noundef %5, ptr noundef %6, ptr noundef %7)
store i32 %8, ptr %4, align 4
%9 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @InitialiseValeur(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/tmp8p912dn6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [105 x i8] c"%%TEST_FAILED%% time=0 testname=testInitialiseValeur (Test_gestionfichier) message=error message sample\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @testInitialiseValeur() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = load ptr, ptr %1, align 8
%6 = load ptr, ptr %2, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i32 @InitialiseValeur(ptr noundef %5, ptr noundef %6, ptr noundef %7)
store i32 %8, ptr %4, align 4
%9 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @InitialiseValeur(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/tmp762ok1cr.c'
source_filename = "/tmp/tmp762ok1cr.c"
target datalayout = "e-m:e-p270: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/tmp762ok1cr.c"
target datalayout = "e-m:e-p270: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/tmpmcau0ius.c'
source_filename = "/tmp/tmpmcau0ius.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %4, align 4
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
br label %6
6: ; preds = %9, %0
%7 = load i32, ptr %2, align 4
%8 = icmp sgt i32 %7, 0
br i1 %8, label %9, label %16
9: ; preds = %6
%10 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr %4, align 4
%13 = add nsw i32 %12, %11
store i32 %13, ptr %4, align 4
%14 = load i32, ptr %2, align 4
%15 = add nsw i32 %14, -1
store i32 %15, ptr %2, align 4
br label %6, !llvm.loop !6
16: ; preds = %6
%17 = load i32, ptr %4, align 4
%18 = call i32 @printf(ptr noundef @.str, i32 noundef %17)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmcau0ius.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %4, align 4
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%6 = load i32, ptr %2, align 4
%7 = icmp sgt i32 %6, 0
br i1 %7, label %.lr.ph, label %17
.lr.ph: ; preds = %0
br label %8
8: ; preds = %.lr.ph, %8
%9 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%10 = load i32, ptr %3, align 4
%11 = load i32, ptr %4, align 4
%12 = add nsw i32 %11, %10
store i32 %12, ptr %4, align 4
%13 = load i32, ptr %2, align 4
%14 = add nsw i32 %13, -1
store i32 %14, ptr %2, align 4
%15 = load i32, ptr %2, align 4
%16 = icmp sgt i32 %15, 0
br i1 %16, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %8
br label %17
17: ; preds = %._crit_edge, %0
%18 = load i32, ptr %4, align 4
%19 = call i32 @printf(ptr noundef @.str, i32 noundef %18)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp83zexlc4.c'
source_filename = "/tmp/tmp83zexlc4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%8 = load i32, ptr %2, align 4
%9 = zext i32 %8 to i64
%10 = call ptr @llvm.stacksave()
store ptr %10, ptr %3, align 8
%11 = alloca i32, i64 %9, align 16
store i64 %9, ptr %4, align 8
store i32 0, ptr %5, align 4
br label %12
12: ; preds = %21, %0
%13 = load i32, ptr %5, align 4
%14 = load i32, ptr %2, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %16, label %24
16: ; preds = %12
%17 = load i32, ptr %5, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i32, ptr %11, i64 %18
%20 = call i32 @scanf(ptr noundef @.str, ptr noundef %19)
br label %21
21: ; preds = %16
%22 = load i32, ptr %5, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %5, align 4
br label %12, !llvm.loop !6
24: ; preds = %12
%25 = load i32, ptr %2, align 4
%26 = sub nsw i32 %25, 1
store i32 %26, ptr %6, align 4
br label %27
27: ; preds = %36, %24
%28 = load i32, ptr %6, align 4
%29 = icmp sge i32 %28, 0
br i1 %29, label %30, label %39
30: ; preds = %27
%31 = load i32, ptr %6, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i32, ptr %11, i64 %32
%34 = load i32, ptr %33, align 4
%35 = call i32 @printf(ptr noundef @.str.1, i32 noundef %34)
br label %36
36: ; preds = %30
%37 = load i32, ptr %6, align 4
%38 = add nsw i32 %37, -1
store i32 %38, ptr %6, align 4
br label %27, !llvm.loop !8
39: ; preds = %27
store i32 0, ptr %1, align 4
%40 = load ptr, ptr %3, align 8
call void @llvm.stackrestore(ptr %40)
%41 = load i32, ptr %1, align 4
ret i32 %41
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @printf(ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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 willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp83zexlc4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%8 = load i32, ptr %2, align 4
%9 = zext i32 %8 to i64
%10 = call ptr @llvm.stacksave()
store ptr %10, ptr %3, align 8
%11 = alloca i32, i64 %9, align 16
store i64 %9, ptr %4, align 8
store i32 0, ptr %5, align 4
%12 = load i32, ptr %5, align 4
%13 = load i32, ptr %2, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %.lr.ph, label %26
.lr.ph: ; preds = %0
br label %15
15: ; preds = %.lr.ph, %20
%16 = load i32, ptr %5, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i32, ptr %11, i64 %17
%19 = call i32 @scanf(ptr noundef @.str, ptr noundef %18)
br label %20
20: ; preds = %15
%21 = load i32, ptr %5, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %5, align 4
%23 = load i32, ptr %5, align 4
%24 = load i32, ptr %2, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %26
26: ; preds = %._crit_edge, %0
%27 = load i32, ptr %2, align 4
%28 = sub nsw i32 %27, 1
store i32 %28, ptr %6, align 4
%29 = load i32, ptr %6, align 4
%30 = icmp sge i32 %29, 0
br i1 %30, label %.lr.ph2, label %42
.lr.ph2: ; preds = %26
br label %31
31: ; preds = %.lr.ph2, %37
%32 = load i32, ptr %6, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i32, ptr %11, i64 %33
%35 = load i32, ptr %34, align 4
%36 = call i32 @printf(ptr noundef @.str.1, i32 noundef %35)
br label %37
37: ; preds = %31
%38 = load i32, ptr %6, align 4
%39 = add nsw i32 %38, -1
store i32 %39, ptr %6, align 4
%40 = load i32, ptr %6, align 4
%41 = icmp sge i32 %40, 0
br i1 %41, label %31, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %37
br label %42
42: ; preds = %._crit_edge3, %26
store i32 0, ptr %1, align 4
%43 = load ptr, ptr %3, align 8
call void @llvm.stackrestore(ptr %43)
%44 = load i32, ptr %1, align 4
ret i32 %44
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @printf(ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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 willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmprxp4kuyp.c'
source_filename = "/tmp/tmprxp4kuyp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [54 x i8] c"Number %d converted to a string of width %d is: \22%s\22\0A\00", align 1
@INT_MIN = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [256 x i8], align 16
store i32 0, ptr %1, align 4
store i32 12, ptr %3, align 4
call void @llvm.memset.p0.i64(ptr align 16 %4, i8 0, i64 256, i1 false)
store i32 -234, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%7 = load i32, ptr %3, align 4
%8 = call i32 @itoa(i32 noundef %5, ptr noundef %6, i32 noundef %7)
%9 = load i32, ptr %2, align 4
%10 = load i32, ptr %3, align 4
%11 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%12 = call i32 @printf(ptr noundef @.str, i32 noundef %9, i32 noundef %10, ptr noundef %11)
store i32 1043, ptr %2, align 4
%13 = load i32, ptr %2, align 4
%14 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%15 = load i32, ptr %3, align 4
%16 = call i32 @itoa(i32 noundef %13, ptr noundef %14, i32 noundef %15)
%17 = load i32, ptr %2, align 4
%18 = load i32, ptr %3, align 4
%19 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%20 = call i32 @printf(ptr noundef @.str, i32 noundef %17, i32 noundef %18, ptr noundef %19)
%21 = load i32, ptr @INT_MIN, align 4
store i32 %21, ptr %2, align 4
%22 = load i32, ptr %2, align 4
%23 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%24 = load i32, ptr %3, align 4
%25 = call i32 @itoa(i32 noundef %22, ptr noundef %23, i32 noundef %24)
%26 = load i32, ptr %2, align 4
%27 = load i32, ptr %3, align 4
%28 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%29 = call i32 @printf(ptr noundef @.str, i32 noundef %26, i32 noundef %27, ptr noundef %28)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @itoa(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprxp4kuyp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [54 x i8] c"Number %d converted to a string of width %d is: \22%s\22\0A\00", align 1
@INT_MIN = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [256 x i8], align 16
store i32 0, ptr %1, align 4
store i32 12, ptr %3, align 4
call void @llvm.memset.p0.i64(ptr align 16 %4, i8 0, i64 256, i1 false)
store i32 -234, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%7 = load i32, ptr %3, align 4
%8 = call i32 @itoa(i32 noundef %5, ptr noundef %6, i32 noundef %7)
%9 = load i32, ptr %2, align 4
%10 = load i32, ptr %3, align 4
%11 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%12 = call i32 @printf(ptr noundef @.str, i32 noundef %9, i32 noundef %10, ptr noundef %11)
store i32 1043, ptr %2, align 4
%13 = load i32, ptr %2, align 4
%14 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%15 = load i32, ptr %3, align 4
%16 = call i32 @itoa(i32 noundef %13, ptr noundef %14, i32 noundef %15)
%17 = load i32, ptr %2, align 4
%18 = load i32, ptr %3, align 4
%19 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%20 = call i32 @printf(ptr noundef @.str, i32 noundef %17, i32 noundef %18, ptr noundef %19)
%21 = load i32, ptr @INT_MIN, align 4
store i32 %21, ptr %2, align 4
%22 = load i32, ptr %2, align 4
%23 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%24 = load i32, ptr %3, align 4
%25 = call i32 @itoa(i32 noundef %22, ptr noundef %23, i32 noundef %24)
%26 = load i32, ptr %2, align 4
%27 = load i32, ptr %3, align 4
%28 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%29 = call i32 @printf(ptr noundef @.str, i32 noundef %26, i32 noundef %27, ptr noundef %28)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @itoa(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6rgthvyb.c'
source_filename = "/tmp/tmp6rgthvyb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6rgthvyb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvmvyrwuq.c'
source_filename = "/tmp/tmpvmvyrwuq.c"
target datalayout = "e-m:e-p270: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/tmpvmvyrwuq.c"
target datalayout = "e-m:e-p270: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/tmprsplq9s5.c'
source_filename = "/tmp/tmprsplq9s5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"#declare rock_map = \0Acolor_map {\0A\00", align 1
@.str.1 = private unnamed_addr constant [54 x i8] c"[%4.3f color %4.3f*rock_color + <%4.3f,%4.3f,%4.3f>]\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"}\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
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca float, align 4
%14 = alloca float, align 4
%15 = alloca float, align 4
%16 = alloca float, align 4
%17 = alloca float, align 4
%18 = alloca float, align 4
%19 = alloca float, align 4
%20 = alloca float, 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 10, ptr %6, align 4
%21 = load i32, ptr %4, align 4
%22 = icmp sgt i32 %21, 1
br i1 %22, label %23, label %28
23: ; preds = %2
%24 = load ptr, ptr %5, align 8
%25 = getelementptr inbounds ptr, ptr %24, i64 1
%26 = load ptr, ptr %25, align 8
%27 = call i32 @atoi(ptr noundef %26)
store i32 %27, ptr %6, align 4
br label %28
28: ; preds = %23, %2
%29 = load i32, ptr %6, align 4
%30 = icmp ne i32 %29, 0
br i1 %30, label %32, label %31
31: ; preds = %28
store i32 10, ptr %6, align 4
br label %32
32: ; preds = %31, %28
%33 = load i32, ptr %4, align 4
%34 = icmp sgt i32 %33, 2
br i1 %34, label %35, label %40
35: ; preds = %32
%36 = load ptr, ptr %5, align 8
%37 = getelementptr inbounds ptr, ptr %36, i64 2
%38 = load ptr, ptr %37, align 8
%39 = call i32 @atoi(ptr noundef %38)
store i32 %39, ptr %8, align 4
br label %41
40: ; preds = %32
store i32 100, ptr %8, align 4
br label %41
41: ; preds = %40, %35
%42 = load i32, ptr %4, align 4
%43 = icmp sgt i32 %42, 3
br i1 %43, label %44, label %49
44: ; preds = %41
%45 = load ptr, ptr %5, align 8
%46 = getelementptr inbounds ptr, ptr %45, i64 3
%47 = load ptr, ptr %46, align 8
%48 = call i32 @atoi(ptr noundef %47)
store i32 %48, ptr %12, align 4
br label %50
49: ; preds = %41
store i32 20, ptr %12, align 4
br label %50
50: ; preds = %49, %44
%51 = load i32, ptr %4, align 4
%52 = icmp sgt i32 %51, 4
br i1 %52, label %53, label %58
53: ; preds = %50
%54 = load ptr, ptr %5, align 8
%55 = getelementptr inbounds ptr, ptr %54, i64 4
%56 = load ptr, ptr %55, align 8
%57 = call i32 @atoi(ptr noundef %56)
store i32 %57, ptr %9, align 4
br label %59
58: ; preds = %50
store i32 10, ptr %9, align 4
br label %59
59: ; preds = %58, %53
%60 = load i32, ptr %4, align 4
%61 = icmp sgt i32 %60, 5
br i1 %61, label %62, label %67
62: ; preds = %59
%63 = load ptr, ptr %5, align 8
%64 = getelementptr inbounds ptr, ptr %63, i64 5
%65 = load ptr, ptr %64, align 8
%66 = call i32 @atoi(ptr noundef %65)
store i32 %66, ptr %10, align 4
br label %68
67: ; preds = %59
store i32 10, ptr %10, align 4
br label %68
68: ; preds = %67, %62
%69 = load i32, ptr %4, align 4
%70 = icmp sgt i32 %69, 6
br i1 %70, label %71, label %76
71: ; preds = %68
%72 = load ptr, ptr %5, align 8
%73 = getelementptr inbounds ptr, ptr %72, i64 6
%74 = load ptr, ptr %73, align 8
%75 = call i32 @atoi(ptr noundef %74)
store i32 %75, ptr %11, align 4
br label %77
76: ; preds = %68
store i32 10, ptr %11, align 4
br label %77
77: ; preds = %76, %71
%78 = load i32, ptr %6, align 4
%79 = sitofp i32 %78 to float
%80 = fdiv float 1.000000e+00, %79
store float %80, ptr %13, align 4
%81 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%82 = load i32, ptr %8, align 4
%83 = sitofp i32 %82 to float
%84 = fdiv float %83, 1.000000e+02
store float %84, ptr %15, align 4
store i32 0, ptr %7, align 4
br label %85
85: ; preds = %145, %77
%86 = load i32, ptr %7, align 4
%87 = load i32, ptr %6, align 4
%88 = icmp slt i32 %86, %87
br i1 %88, label %89, label %148
89: ; preds = %85
%90 = load i32, ptr %7, align 4
%91 = sitofp i32 %90 to float
%92 = load float, ptr %13, align 4
%93 = fmul float %91, %92
store float %93, ptr %14, align 4
%94 = load float, ptr %15, align 4
%95 = call i32 (...) @rand()
%96 = srem i32 %95, 1000
%97 = sitofp i32 %96 to float
%98 = load i32, ptr %6, align 4
%99 = sitofp i32 %98 to double
%100 = fmul double %99, 1.000000e+03
%101 = fptrunc double %100 to float
%102 = fdiv float %97, %101
%103 = fmul float %94, %102
store float %103, ptr %20, align 4
%104 = load float, ptr %14, align 4
%105 = load float, ptr %20, align 4
%106 = fadd float %104, %105
store float %106, ptr %14, align 4
%107 = load i32, ptr %9, align 4
%108 = call i32 (...) @rand()
%109 = srem i32 %108, 100
%110 = mul nsw i32 %107, %109
%111 = sitofp i32 %110 to float
%112 = fdiv float %111, 1.000000e+04
store float %112, ptr %16, align 4
%113 = load i32, ptr %10, align 4
%114 = call i32 (...) @rand()
%115 = srem i32 %114, 100
%116 = mul nsw i32 %113, %115
%117 = sitofp i32 %116 to float
%118 = fdiv float %117, 1.000000e+04
store float %118, ptr %17, align 4
%119 = load i32, ptr %11, align 4
%120 = call i32 (...) @rand()
%121 = srem i32 %120, 100
%122 = mul nsw i32 %119, %121
%123 = sitofp i32 %122 to float
%124 = fdiv float %123, 1.000000e+04
store float %124, ptr %18, align 4
%125 = load i32, ptr %12, align 4
%126 = call i32 (...) @rand()
%127 = srem i32 %126, 100
%128 = mul nsw i32 %125, %127
%129 = sitofp i32 %128 to float
%130 = fdiv float %129, 1.000000e+04
%131 = fpext float %130 to double
%132 = fsub double 1.000000e+00, %131
%133 = fptrunc double %132 to float
store float %133, ptr %19, align 4
%134 = load float, ptr %14, align 4
%135 = fpext float %134 to double
%136 = load float, ptr %19, align 4
%137 = fpext float %136 to double
%138 = load float, ptr %16, align 4
%139 = fpext float %138 to double
%140 = load float, ptr %17, align 4
%141 = fpext float %140 to double
%142 = load float, ptr %18, align 4
%143 = fpext float %142 to double
%144 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %135, double noundef %137, double noundef %139, double noundef %141, double noundef %143)
br label %145
145: ; preds = %89
%146 = load i32, ptr %7, align 4
%147 = add nsw i32 %146, 1
store i32 %147, ptr %7, align 4
br label %85, !llvm.loop !6
148: ; preds = %85
%149 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%150 = load i32, ptr %3, align 4
ret i32 %150
}
declare i32 @atoi(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprsplq9s5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"#declare rock_map = \0Acolor_map {\0A\00", align 1
@.str.1 = private unnamed_addr constant [54 x i8] c"[%4.3f color %4.3f*rock_color + <%4.3f,%4.3f,%4.3f>]\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"}\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
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca float, align 4
%14 = alloca float, align 4
%15 = alloca float, align 4
%16 = alloca float, align 4
%17 = alloca float, align 4
%18 = alloca float, align 4
%19 = alloca float, align 4
%20 = alloca float, 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 10, ptr %6, align 4
%21 = load i32, ptr %4, align 4
%22 = icmp sgt i32 %21, 1
br i1 %22, label %23, label %28
23: ; preds = %2
%24 = load ptr, ptr %5, align 8
%25 = getelementptr inbounds ptr, ptr %24, i64 1
%26 = load ptr, ptr %25, align 8
%27 = call i32 @atoi(ptr noundef %26)
store i32 %27, ptr %6, align 4
br label %28
28: ; preds = %23, %2
%29 = load i32, ptr %6, align 4
%30 = icmp ne i32 %29, 0
br i1 %30, label %32, label %31
31: ; preds = %28
store i32 10, ptr %6, align 4
br label %32
32: ; preds = %31, %28
%33 = load i32, ptr %4, align 4
%34 = icmp sgt i32 %33, 2
br i1 %34, label %35, label %40
35: ; preds = %32
%36 = load ptr, ptr %5, align 8
%37 = getelementptr inbounds ptr, ptr %36, i64 2
%38 = load ptr, ptr %37, align 8
%39 = call i32 @atoi(ptr noundef %38)
store i32 %39, ptr %8, align 4
br label %41
40: ; preds = %32
store i32 100, ptr %8, align 4
br label %41
41: ; preds = %40, %35
%42 = load i32, ptr %4, align 4
%43 = icmp sgt i32 %42, 3
br i1 %43, label %44, label %49
44: ; preds = %41
%45 = load ptr, ptr %5, align 8
%46 = getelementptr inbounds ptr, ptr %45, i64 3
%47 = load ptr, ptr %46, align 8
%48 = call i32 @atoi(ptr noundef %47)
store i32 %48, ptr %12, align 4
br label %50
49: ; preds = %41
store i32 20, ptr %12, align 4
br label %50
50: ; preds = %49, %44
%51 = load i32, ptr %4, align 4
%52 = icmp sgt i32 %51, 4
br i1 %52, label %53, label %58
53: ; preds = %50
%54 = load ptr, ptr %5, align 8
%55 = getelementptr inbounds ptr, ptr %54, i64 4
%56 = load ptr, ptr %55, align 8
%57 = call i32 @atoi(ptr noundef %56)
store i32 %57, ptr %9, align 4
br label %59
58: ; preds = %50
store i32 10, ptr %9, align 4
br label %59
59: ; preds = %58, %53
%60 = load i32, ptr %4, align 4
%61 = icmp sgt i32 %60, 5
br i1 %61, label %62, label %67
62: ; preds = %59
%63 = load ptr, ptr %5, align 8
%64 = getelementptr inbounds ptr, ptr %63, i64 5
%65 = load ptr, ptr %64, align 8
%66 = call i32 @atoi(ptr noundef %65)
store i32 %66, ptr %10, align 4
br label %68
67: ; preds = %59
store i32 10, ptr %10, align 4
br label %68
68: ; preds = %67, %62
%69 = load i32, ptr %4, align 4
%70 = icmp sgt i32 %69, 6
br i1 %70, label %71, label %76
71: ; preds = %68
%72 = load ptr, ptr %5, align 8
%73 = getelementptr inbounds ptr, ptr %72, i64 6
%74 = load ptr, ptr %73, align 8
%75 = call i32 @atoi(ptr noundef %74)
store i32 %75, ptr %11, align 4
br label %77
76: ; preds = %68
store i32 10, ptr %11, align 4
br label %77
77: ; preds = %76, %71
%78 = load i32, ptr %6, align 4
%79 = sitofp i32 %78 to float
%80 = fdiv float 1.000000e+00, %79
store float %80, ptr %13, align 4
%81 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%82 = load i32, ptr %8, align 4
%83 = sitofp i32 %82 to float
%84 = fdiv float %83, 1.000000e+02
store float %84, ptr %15, align 4
store i32 0, ptr %7, align 4
%85 = load i32, ptr %7, align 4
%86 = load i32, ptr %6, align 4
%87 = icmp slt i32 %85, %86
br i1 %87, label %.lr.ph, label %150
.lr.ph: ; preds = %77
br label %88
88: ; preds = %.lr.ph, %144
%89 = load i32, ptr %7, align 4
%90 = sitofp i32 %89 to float
%91 = load float, ptr %13, align 4
%92 = fmul float %90, %91
store float %92, ptr %14, align 4
%93 = load float, ptr %15, align 4
%94 = call i32 (...) @rand()
%95 = srem i32 %94, 1000
%96 = sitofp i32 %95 to float
%97 = load i32, ptr %6, align 4
%98 = sitofp i32 %97 to double
%99 = fmul double %98, 1.000000e+03
%100 = fptrunc double %99 to float
%101 = fdiv float %96, %100
%102 = fmul float %93, %101
store float %102, ptr %20, align 4
%103 = load float, ptr %14, align 4
%104 = load float, ptr %20, align 4
%105 = fadd float %103, %104
store float %105, ptr %14, align 4
%106 = load i32, ptr %9, align 4
%107 = call i32 (...) @rand()
%108 = srem i32 %107, 100
%109 = mul nsw i32 %106, %108
%110 = sitofp i32 %109 to float
%111 = fdiv float %110, 1.000000e+04
store float %111, ptr %16, align 4
%112 = load i32, ptr %10, align 4
%113 = call i32 (...) @rand()
%114 = srem i32 %113, 100
%115 = mul nsw i32 %112, %114
%116 = sitofp i32 %115 to float
%117 = fdiv float %116, 1.000000e+04
store float %117, ptr %17, align 4
%118 = load i32, ptr %11, align 4
%119 = call i32 (...) @rand()
%120 = srem i32 %119, 100
%121 = mul nsw i32 %118, %120
%122 = sitofp i32 %121 to float
%123 = fdiv float %122, 1.000000e+04
store float %123, ptr %18, align 4
%124 = load i32, ptr %12, align 4
%125 = call i32 (...) @rand()
%126 = srem i32 %125, 100
%127 = mul nsw i32 %124, %126
%128 = sitofp i32 %127 to float
%129 = fdiv float %128, 1.000000e+04
%130 = fpext float %129 to double
%131 = fsub double 1.000000e+00, %130
%132 = fptrunc double %131 to float
store float %132, ptr %19, align 4
%133 = load float, ptr %14, align 4
%134 = fpext float %133 to double
%135 = load float, ptr %19, align 4
%136 = fpext float %135 to double
%137 = load float, ptr %16, align 4
%138 = fpext float %137 to double
%139 = load float, ptr %17, align 4
%140 = fpext float %139 to double
%141 = load float, ptr %18, align 4
%142 = fpext float %141 to double
%143 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %134, double noundef %136, double noundef %138, double noundef %140, double noundef %142)
br label %144
144: ; preds = %88
%145 = load i32, ptr %7, align 4
%146 = add nsw i32 %145, 1
store i32 %146, ptr %7, align 4
%147 = load i32, ptr %7, align 4
%148 = load i32, ptr %6, align 4
%149 = icmp slt i32 %147, %148
br i1 %149, label %88, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %144
br label %150
150: ; preds = %._crit_edge, %77
%151 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%152 = load i32, ptr %3, align 4
ret i32 %152
}
declare i32 @atoi(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpkg6k23v5.c'
source_filename = "/tmp/tmpkg6k23v5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bsp_csi_int_get_status(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 = load ptr, ptr %6, align 8
%10 = call i32 @csi_int_get_status(i32 noundef %7, i32 noundef %8, ptr noundef %9)
ret void
}
declare i32 @csi_int_get_status(i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkg6k23v5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bsp_csi_int_get_status(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 = load ptr, ptr %6, align 8
%10 = call i32 @csi_int_get_status(i32 noundef %7, i32 noundef %8, ptr noundef %9)
ret void
}
declare i32 @csi_int_get_status(i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpksjc2x9q.c'
source_filename = "/tmp/tmpksjc2x9q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @saa7114_decoder_software_reset() #0 {
%1 = call i32 @saa7114_write_reg(i32 noundef 136, i32 noundef 192)
%2 = call i32 @saa7114_write_reg(i32 noundef 136, i32 noundef 240)
ret i32 0
}
declare i32 @saa7114_write_reg(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/tmpksjc2x9q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @saa7114_decoder_software_reset() #0 {
%1 = call i32 @saa7114_write_reg(i32 noundef 136, i32 noundef 192)
%2 = call i32 @saa7114_write_reg(i32 noundef 136, i32 noundef 240)
ret i32 0
}
declare i32 @saa7114_write_reg(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/tmpllkmuxtd.c'
source_filename = "/tmp/tmpllkmuxtd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 void @inline_c_Main_2_774c6cfaab943fece0afecfb8ec3fb8e2e9850c7() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %2
2: ; preds = %7, %0
%3 = load i32, ptr %1, align 4
%4 = icmp slt i32 %3, 10
br i1 %4, label %5, label %10
5: ; preds = %2
%6 = call i32 @printf(ptr noundef @.str)
br label %7
7: ; preds = %5
%8 = load i32, ptr %1, align 4
%9 = add nsw i32 %8, 1
store i32 %9, ptr %1, align 4
br label %2, !llvm.loop !6
10: ; preds = %2
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpllkmuxtd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 void @inline_c_Main_2_774c6cfaab943fece0afecfb8ec3fb8e2e9850c7() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = load i32, ptr %1, align 4
%3 = icmp slt i32 %2, 10
br i1 %3, label %.lr.ph, label %11
.lr.ph: ; preds = %0
br label %4
4: ; preds = %.lr.ph, %6
%5 = call i32 @printf(ptr noundef @.str)
br label %6
6: ; preds = %4
%7 = load i32, ptr %1, align 4
%8 = add nsw i32 %7, 1
store i32 %8, ptr %1, align 4
%9 = load i32, ptr %1, align 4
%10 = icmp slt i32 %9, 10
br i1 %10, label %4, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %6
br label %11
11: ; preds = %._crit_edge, %0
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpcomck9gn.c'
source_filename = "/tmp/tmpcomck9gn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [151 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bartoszbielawski/preload-example/refs/heads/master/preload.c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @callPrintfX() #0 {
%1 = call i32 @p(ptr noundef @.str)
ret void
}
declare i32 @p(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcomck9gn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [151 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bartoszbielawski/preload-example/refs/heads/master/preload.c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @callPrintfX() #0 {
%1 = call i32 @p(ptr noundef @.str)
ret void
}
declare i32 @p(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxebbwapn.c'
source_filename = "/tmp/tmpxebbwapn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @shift_overflow(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 @INT_MAX, align 4
%6 = load i32, ptr %4, align 4
%7 = ashr i32 %5, %6
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %7, %8
%10 = zext i1 %9 to i32
ret i32 %10
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxebbwapn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @shift_overflow(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 @INT_MAX, align 4
%6 = load i32, ptr %4, align 4
%7 = ashr i32 %5, %6
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %7, %8
%10 = zext i1 %9 to i32
ret i32 %10
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0gun9r73.c'
source_filename = "/tmp/tmp0gun9r73.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EFAULT = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0gun9r73.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EFAULT = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpizcdf1_j.c'
source_filename = "/tmp/tmpizcdf1_j.c"
target datalayout = "e-m:e-p270: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 { double, i64 }
@.str = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"wb\00", align 1
@SEEK_END = dso_local global i32 0, align 4
@SEEK_SET = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [42 x i8] c"RSA decrypting in file %s to out file %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [42 x i8] c"RSA encrypting in file %s to out file %s\0A\00", align 1
@RSA_PKCS1_PADDING = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [18 x i8] c"../doc/rsa_us.txt\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"a\00", align 1
@.str.6 = private unnamed_addr constant [15 x i8] c"encode: %f us\0A\00", align 1
@.str.7 = private unnamed_addr constant [15 x i8] c"decode: %f us\0A\00", align 1
@.str.8 = private unnamed_addr constant [11 x i8] c"I/O error\0A\00", align 1
@.str.9 = private unnamed_addr constant [16 x i8] c"open %s failed\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @RsaEncDec(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 %struct.timeval, align 8
%10 = alloca %struct.timeval, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
%20 = alloca double, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%21 = call i32 @gettimeofday(ptr noundef %9, ptr noundef null)
store i32 0, ptr %11, align 4
store i32 0, ptr %12, align 4
store i32 0, ptr %13, align 4
store i32 0, ptr %14, align 4
%22 = load ptr, ptr %5, align 8
%23 = call ptr @fopen(ptr noundef %22, ptr noundef @.str)
store ptr %23, ptr %17, align 8
%24 = load ptr, ptr %6, align 8
%25 = call ptr @fopen(ptr noundef %24, ptr noundef @.str.1)
store ptr %25, ptr %18, align 8
store ptr null, ptr %19, align 8
%26 = load ptr, ptr %17, align 8
%27 = icmp ne ptr %26, null
br i1 %27, label %28, label %148
28: ; preds = %4
%29 = load ptr, ptr %18, align 8
%30 = icmp ne ptr %29, null
br i1 %30, label %31, label %148
31: ; preds = %28
%32 = load ptr, ptr %17, align 8
%33 = load i32, ptr @SEEK_END, align 4
%34 = call i32 @fseek(ptr noundef %32, i32 noundef 0, i32 noundef %33)
%35 = load ptr, ptr %17, align 8
%36 = call i32 @ftell(ptr noundef %35)
store i32 %36, ptr %13, align 4
%37 = load ptr, ptr %17, align 8
%38 = load i32, ptr @SEEK_SET, align 4
%39 = call i32 @fseek(ptr noundef %37, i32 noundef 0, i32 noundef %38)
%40 = load i32, ptr %13, align 4
%41 = call i64 @malloc(i32 noundef %40)
%42 = inttoptr i64 %41 to ptr
store ptr %42, ptr %15, align 8
%43 = load ptr, ptr %15, align 8
%44 = load i32, ptr %13, align 4
%45 = load ptr, ptr %17, align 8
%46 = call i32 @fread(ptr noundef %43, i32 noundef 1, i32 noundef %44, ptr noundef %45)
%47 = load ptr, ptr %17, align 8
%48 = call i32 @fclose(ptr noundef %47)
%49 = call i64 @malloc(i32 noundef 256)
%50 = inttoptr i64 %49 to ptr
store ptr %50, ptr %16, align 8
%51 = load i32, ptr %8, align 4
%52 = icmp eq i32 %51, 0
br i1 %52, label %53, label %57
53: ; preds = %31
%54 = load ptr, ptr %5, align 8
%55 = load ptr, ptr %6, align 8
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %54, ptr noundef %55)
br label %61
57: ; preds = %31
%58 = load ptr, ptr %5, align 8
%59 = load ptr, ptr %6, align 8
%60 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %58, ptr noundef %59)
br label %61
61: ; preds = %57, %53
br label %62
62: ; preds = %113, %61
%63 = load i32, ptr %14, align 4
%64 = load i32, ptr %13, align 4
%65 = icmp slt i32 %63, %64
br i1 %65, label %66, label %114
66: ; preds = %62
%67 = load ptr, ptr %16, align 8
%68 = call i32 @memset(ptr noundef %67, i32 noundef 0, i32 noundef 256)
%69 = load i32, ptr %8, align 4
%70 = icmp eq i32 %69, 0
br i1 %70, label %71, label %83
71: ; preds = %66
%72 = load ptr, ptr %15, align 8
%73 = load i32, ptr %14, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds i8, ptr %72, i64 %74
%76 = load ptr, ptr %16, align 8
%77 = load ptr, ptr %7, align 8
%78 = load ptr, ptr %77, align 8
%79 = load i32, ptr @RSA_PKCS1_PADDING, align 4
%80 = call i32 @RSA_private_decrypt(i32 noundef 256, ptr noundef %75, ptr noundef %76, ptr noundef %78, i32 noundef %79)
store i32 %80, ptr %12, align 4
%81 = load i32, ptr %14, align 4
%82 = add nsw i32 %81, 256
store i32 %82, ptr %14, align 4
br label %95
83: ; preds = %66
%84 = load ptr, ptr %15, align 8
%85 = load i32, ptr %14, align 4
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds i8, ptr %84, i64 %86
%88 = load ptr, ptr %16, align 8
%89 = load ptr, ptr %7, align 8
%90 = load ptr, ptr %89, align 8
%91 = load i32, ptr @RSA_PKCS1_PADDING, align 4
%92 = call i32 @RSA_public_encrypt(i32 noundef 128, ptr noundef %87, ptr noundef %88, ptr noundef %90, i32 noundef %91)
store i32 %92, ptr %12, align 4
%93 = load i32, ptr %14, align 4
%94 = add nsw i32 %93, 128
store i32 %94, ptr %14, align 4
br label %95
95: ; preds = %83, %71
%96 = load i32, ptr %12, align 4
%97 = icmp ne i32 %96, -1
br i1 %97, label %98, label %103
98: ; preds = %95
%99 = load ptr, ptr %16, align 8
%100 = load i32, ptr %12, align 4
%101 = load ptr, ptr %18, align 8
%102 = call i32 @fwrite(ptr noundef %99, i32 noundef 1, i32 noundef %100, ptr noundef %101)
br label %113
103: ; preds = %95
%104 = load i32, ptr %11, align 4
%105 = load i32, ptr %14, align 4
%106 = add nsw i32 %104, %105
%107 = load i32, ptr %13, align 4
%108 = icmp slt i32 %106, %107
br i1 %108, label %109, label %112
109: ; preds = %103
%110 = load i32, ptr @stderr, align 4
%111 = call i32 @ERR_print_errors_fp(i32 noundef %110)
store i32 2, ptr %11, align 4
br label %112
112: ; preds = %109, %103
br label %113
113: ; preds = %112, %98
br label %62, !llvm.loop !6
114: ; preds = %62
%115 = load ptr, ptr %15, align 8
%116 = call i32 @free(ptr noundef %115)
%117 = load ptr, ptr %16, align 8
%118 = call i32 @free(ptr noundef %117)
%119 = load ptr, ptr %18, align 8
%120 = call i32 @fclose(ptr noundef %119)
%121 = call i32 @gettimeofday(ptr noundef %10, ptr noundef null)
%122 = getelementptr inbounds %struct.timeval, ptr %10, i32 0, i32 0
%123 = load double, ptr %122, align 8
%124 = getelementptr inbounds %struct.timeval, ptr %9, i32 0, i32 0
%125 = load double, ptr %124, align 8
%126 = fsub double %123, %125
%127 = getelementptr inbounds %struct.timeval, ptr %10, i32 0, i32 1
%128 = load i64, ptr %127, align 8
%129 = getelementptr inbounds %struct.timeval, ptr %9, i32 0, i32 1
%130 = load i64, ptr %129, align 8
%131 = sub nsw i64 %128, %130
%132 = sitofp i64 %131 to double
%133 = call double @llvm.fmuladd.f64(double %126, double 1.000000e+06, double %132)
store double %133, ptr %20, align 8
%134 = call ptr @fopen(ptr noundef @.str.4, ptr noundef @.str.5)
store ptr %134, ptr %19, align 8
%135 = load i32, ptr %8, align 4
%136 = icmp ne i32 %135, 0
br i1 %136, label %137, label %141
137: ; preds = %114
%138 = load ptr, ptr %19, align 8
%139 = load double, ptr %20, align 8
%140 = call i32 @fprintf(ptr noundef %138, ptr noundef @.str.6, double noundef %139)
br label %145
141: ; preds = %114
%142 = load ptr, ptr %19, align 8
%143 = load double, ptr %20, align 8
%144 = call i32 @fprintf(ptr noundef %142, ptr noundef @.str.7, double noundef %143)
br label %145
145: ; preds = %141, %137
%146 = load ptr, ptr %19, align 8
%147 = call i32 @fclose(ptr noundef %146)
br label %168
148: ; preds = %28, %4
%149 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%150 = load ptr, ptr %17, align 8
%151 = icmp ne ptr %150, null
br i1 %151, label %158, label %152
152: ; preds = %148
%153 = load ptr, ptr %5, align 8
%154 = icmp ne ptr %153, null
br i1 %154, label %155, label %158
155: ; preds = %152
%156 = load ptr, ptr %5, align 8
%157 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %156)
br label %158
158: ; preds = %155, %152, %148
%159 = load ptr, ptr %18, align 8
%160 = icmp ne ptr %159, null
br i1 %160, label %167, label %161
161: ; preds = %158
%162 = load ptr, ptr %6, align 8
%163 = icmp ne ptr %162, null
br i1 %163, label %164, label %167
164: ; preds = %161
%165 = load ptr, ptr %6, align 8
%166 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %165)
br label %167
167: ; preds = %164, %161, %158
store i32 1, ptr %11, align 4
br label %168
168: ; preds = %167, %145
%169 = load i32, ptr %11, align 4
ret i32 %169
}
declare i32 @gettimeofday(ptr noundef, ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @ftell(ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @RSA_private_decrypt(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @RSA_public_encrypt(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @ERR_print_errors_fp(i32 noundef) #1
declare i32 @free(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(ptr noundef, ptr noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpizcdf1_j.c"
target datalayout = "e-m:e-p270: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 { double, i64 }
@.str = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"wb\00", align 1
@SEEK_END = dso_local global i32 0, align 4
@SEEK_SET = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [42 x i8] c"RSA decrypting in file %s to out file %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [42 x i8] c"RSA encrypting in file %s to out file %s\0A\00", align 1
@RSA_PKCS1_PADDING = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [18 x i8] c"../doc/rsa_us.txt\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"a\00", align 1
@.str.6 = private unnamed_addr constant [15 x i8] c"encode: %f us\0A\00", align 1
@.str.7 = private unnamed_addr constant [15 x i8] c"decode: %f us\0A\00", align 1
@.str.8 = private unnamed_addr constant [11 x i8] c"I/O error\0A\00", align 1
@.str.9 = private unnamed_addr constant [16 x i8] c"open %s failed\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @RsaEncDec(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 %struct.timeval, align 8
%10 = alloca %struct.timeval, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
%20 = alloca double, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%21 = call i32 @gettimeofday(ptr noundef %9, ptr noundef null)
store i32 0, ptr %11, align 4
store i32 0, ptr %12, align 4
store i32 0, ptr %13, align 4
store i32 0, ptr %14, align 4
%22 = load ptr, ptr %5, align 8
%23 = call ptr @fopen(ptr noundef %22, ptr noundef @.str)
store ptr %23, ptr %17, align 8
%24 = load ptr, ptr %6, align 8
%25 = call ptr @fopen(ptr noundef %24, ptr noundef @.str.1)
store ptr %25, ptr %18, align 8
store ptr null, ptr %19, align 8
%26 = load ptr, ptr %17, align 8
%27 = icmp ne ptr %26, null
br i1 %27, label %28, label %150
28: ; preds = %4
%29 = load ptr, ptr %18, align 8
%30 = icmp ne ptr %29, null
br i1 %30, label %31, label %150
31: ; preds = %28
%32 = load ptr, ptr %17, align 8
%33 = load i32, ptr @SEEK_END, align 4
%34 = call i32 @fseek(ptr noundef %32, i32 noundef 0, i32 noundef %33)
%35 = load ptr, ptr %17, align 8
%36 = call i32 @ftell(ptr noundef %35)
store i32 %36, ptr %13, align 4
%37 = load ptr, ptr %17, align 8
%38 = load i32, ptr @SEEK_SET, align 4
%39 = call i32 @fseek(ptr noundef %37, i32 noundef 0, i32 noundef %38)
%40 = load i32, ptr %13, align 4
%41 = call i64 @malloc(i32 noundef %40)
%42 = inttoptr i64 %41 to ptr
store ptr %42, ptr %15, align 8
%43 = load ptr, ptr %15, align 8
%44 = load i32, ptr %13, align 4
%45 = load ptr, ptr %17, align 8
%46 = call i32 @fread(ptr noundef %43, i32 noundef 1, i32 noundef %44, ptr noundef %45)
%47 = load ptr, ptr %17, align 8
%48 = call i32 @fclose(ptr noundef %47)
%49 = call i64 @malloc(i32 noundef 256)
%50 = inttoptr i64 %49 to ptr
store ptr %50, ptr %16, align 8
%51 = load i32, ptr %8, align 4
%52 = icmp eq i32 %51, 0
br i1 %52, label %53, label %57
53: ; preds = %31
%54 = load ptr, ptr %5, align 8
%55 = load ptr, ptr %6, align 8
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %54, ptr noundef %55)
br label %61
57: ; preds = %31
%58 = load ptr, ptr %5, align 8
%59 = load ptr, ptr %6, align 8
%60 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %58, ptr noundef %59)
br label %61
61: ; preds = %57, %53
%62 = load i32, ptr %14, align 4
%63 = load i32, ptr %13, align 4
%64 = icmp slt i32 %62, %63
br i1 %64, label %.lr.ph, label %116
.lr.ph: ; preds = %61
br label %65
65: ; preds = %.lr.ph, %112
%66 = load ptr, ptr %16, align 8
%67 = call i32 @memset(ptr noundef %66, i32 noundef 0, i32 noundef 256)
%68 = load i32, ptr %8, align 4
%69 = icmp eq i32 %68, 0
br i1 %69, label %70, label %82
70: ; preds = %65
%71 = load ptr, ptr %15, align 8
%72 = load i32, ptr %14, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds i8, ptr %71, i64 %73
%75 = load ptr, ptr %16, align 8
%76 = load ptr, ptr %7, align 8
%77 = load ptr, ptr %76, align 8
%78 = load i32, ptr @RSA_PKCS1_PADDING, align 4
%79 = call i32 @RSA_private_decrypt(i32 noundef 256, ptr noundef %74, ptr noundef %75, ptr noundef %77, i32 noundef %78)
store i32 %79, ptr %12, align 4
%80 = load i32, ptr %14, align 4
%81 = add nsw i32 %80, 256
store i32 %81, ptr %14, align 4
br label %94
82: ; preds = %65
%83 = load ptr, ptr %15, align 8
%84 = load i32, ptr %14, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds i8, ptr %83, i64 %85
%87 = load ptr, ptr %16, align 8
%88 = load ptr, ptr %7, align 8
%89 = load ptr, ptr %88, align 8
%90 = load i32, ptr @RSA_PKCS1_PADDING, align 4
%91 = call i32 @RSA_public_encrypt(i32 noundef 128, ptr noundef %86, ptr noundef %87, ptr noundef %89, i32 noundef %90)
store i32 %91, ptr %12, align 4
%92 = load i32, ptr %14, align 4
%93 = add nsw i32 %92, 128
store i32 %93, ptr %14, align 4
br label %94
94: ; preds = %82, %70
%95 = load i32, ptr %12, align 4
%96 = icmp ne i32 %95, -1
br i1 %96, label %97, label %102
97: ; preds = %94
%98 = load ptr, ptr %16, align 8
%99 = load i32, ptr %12, align 4
%100 = load ptr, ptr %18, align 8
%101 = call i32 @fwrite(ptr noundef %98, i32 noundef 1, i32 noundef %99, ptr noundef %100)
br label %112
102: ; preds = %94
%103 = load i32, ptr %11, align 4
%104 = load i32, ptr %14, align 4
%105 = add nsw i32 %103, %104
%106 = load i32, ptr %13, align 4
%107 = icmp slt i32 %105, %106
br i1 %107, label %108, label %111
108: ; preds = %102
%109 = load i32, ptr @stderr, align 4
%110 = call i32 @ERR_print_errors_fp(i32 noundef %109)
store i32 2, ptr %11, align 4
br label %111
111: ; preds = %108, %102
br label %112
112: ; preds = %111, %97
%113 = load i32, ptr %14, align 4
%114 = load i32, ptr %13, align 4
%115 = icmp slt i32 %113, %114
br i1 %115, label %65, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %112
br label %116
116: ; preds = %._crit_edge, %61
%117 = load ptr, ptr %15, align 8
%118 = call i32 @free(ptr noundef %117)
%119 = load ptr, ptr %16, align 8
%120 = call i32 @free(ptr noundef %119)
%121 = load ptr, ptr %18, align 8
%122 = call i32 @fclose(ptr noundef %121)
%123 = call i32 @gettimeofday(ptr noundef %10, ptr noundef null)
%124 = getelementptr inbounds %struct.timeval, ptr %10, i32 0, i32 0
%125 = load double, ptr %124, align 8
%126 = getelementptr inbounds %struct.timeval, ptr %9, i32 0, i32 0
%127 = load double, ptr %126, align 8
%128 = fsub double %125, %127
%129 = getelementptr inbounds %struct.timeval, ptr %10, i32 0, i32 1
%130 = load i64, ptr %129, align 8
%131 = getelementptr inbounds %struct.timeval, ptr %9, i32 0, i32 1
%132 = load i64, ptr %131, align 8
%133 = sub nsw i64 %130, %132
%134 = sitofp i64 %133 to double
%135 = call double @llvm.fmuladd.f64(double %128, double 1.000000e+06, double %134)
store double %135, ptr %20, align 8
%136 = call ptr @fopen(ptr noundef @.str.4, ptr noundef @.str.5)
store ptr %136, ptr %19, align 8
%137 = load i32, ptr %8, align 4
%138 = icmp ne i32 %137, 0
br i1 %138, label %139, label %143
139: ; preds = %116
%140 = load ptr, ptr %19, align 8
%141 = load double, ptr %20, align 8
%142 = call i32 @fprintf(ptr noundef %140, ptr noundef @.str.6, double noundef %141)
br label %147
143: ; preds = %116
%144 = load ptr, ptr %19, align 8
%145 = load double, ptr %20, align 8
%146 = call i32 @fprintf(ptr noundef %144, ptr noundef @.str.7, double noundef %145)
br label %147
147: ; preds = %143, %139
%148 = load ptr, ptr %19, align 8
%149 = call i32 @fclose(ptr noundef %148)
br label %170
150: ; preds = %28, %4
%151 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%152 = load ptr, ptr %17, align 8
%153 = icmp ne ptr %152, null
br i1 %153, label %160, label %154
154: ; preds = %150
%155 = load ptr, ptr %5, align 8
%156 = icmp ne ptr %155, null
br i1 %156, label %157, label %160
157: ; preds = %154
%158 = load ptr, ptr %5, align 8
%159 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %158)
br label %160
160: ; preds = %157, %154, %150
%161 = load ptr, ptr %18, align 8
%162 = icmp ne ptr %161, null
br i1 %162, label %169, label %163
163: ; preds = %160
%164 = load ptr, ptr %6, align 8
%165 = icmp ne ptr %164, null
br i1 %165, label %166, label %169
166: ; preds = %163
%167 = load ptr, ptr %6, align 8
%168 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %167)
br label %169
169: ; preds = %166, %163, %160
store i32 1, ptr %11, align 4
br label %170
170: ; preds = %169, %147
%171 = load i32, ptr %11, align 4
ret i32 %171
}
declare i32 @gettimeofday(ptr noundef, ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @ftell(ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @RSA_private_decrypt(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @RSA_public_encrypt(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @ERR_print_errors_fp(i32 noundef) #1
declare i32 @free(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(ptr noundef, ptr noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmprgi47cwv.c'
source_filename = "/tmp/tmprgi47cwv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"O_RDONLY\09\09\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [11 x i8] c"O_WRONLY\09\09\00", align 1
@O_WRONLY = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [10 x i8] c"O_RDWR\09\09\09\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.4 = private unnamed_addr constant [11 x i8] c"O_APPEND\09\09\00", align 1
@O_APPEND = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [11 x i8] c"O_TRUNC\09\09\09\00", align 1
@O_TRUNC = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [11 x i8] c"O_CREAT\09\09\09\00", align 1
@O_CREAT = dso_local global i32 0, align 4
@.str.7 = private unnamed_addr constant [26 x i8] c"O_WRONLY|O_APPEND|O_CREAT\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 = load i32, ptr @O_RDONLY, align 4
%3 = call i32 @display_flags(ptr noundef @.str, i32 noundef %2)
%4 = load i32, ptr @O_WRONLY, align 4
%5 = call i32 @display_flags(ptr noundef @.str.1, i32 noundef %4)
%6 = load i32, ptr @O_RDWR, align 4
%7 = call i32 @display_flags(ptr noundef @.str.2, i32 noundef %6)
%8 = call i32 @printf(ptr noundef @.str.3)
%9 = load i32, ptr @O_APPEND, align 4
%10 = call i32 @display_flags(ptr noundef @.str.4, i32 noundef %9)
%11 = load i32, ptr @O_TRUNC, align 4
%12 = call i32 @display_flags(ptr noundef @.str.5, i32 noundef %11)
%13 = load i32, ptr @O_CREAT, align 4
%14 = call i32 @display_flags(ptr noundef @.str.6, i32 noundef %13)
%15 = call i32 @printf(ptr noundef @.str.3)
%16 = load i32, ptr @O_WRONLY, align 4
%17 = load i32, ptr @O_APPEND, align 4
%18 = or i32 %16, %17
%19 = load i32, ptr @O_CREAT, align 4
%20 = or i32 %18, %19
%21 = call i32 @display_flags(ptr noundef @.str.7, i32 noundef %20)
ret i32 0
}
declare i32 @display_flags(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprgi47cwv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"O_RDONLY\09\09\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [11 x i8] c"O_WRONLY\09\09\00", align 1
@O_WRONLY = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [10 x i8] c"O_RDWR\09\09\09\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.4 = private unnamed_addr constant [11 x i8] c"O_APPEND\09\09\00", align 1
@O_APPEND = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [11 x i8] c"O_TRUNC\09\09\09\00", align 1
@O_TRUNC = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [11 x i8] c"O_CREAT\09\09\09\00", align 1
@O_CREAT = dso_local global i32 0, align 4
@.str.7 = private unnamed_addr constant [26 x i8] c"O_WRONLY|O_APPEND|O_CREAT\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 = load i32, ptr @O_RDONLY, align 4
%3 = call i32 @display_flags(ptr noundef @.str, i32 noundef %2)
%4 = load i32, ptr @O_WRONLY, align 4
%5 = call i32 @display_flags(ptr noundef @.str.1, i32 noundef %4)
%6 = load i32, ptr @O_RDWR, align 4
%7 = call i32 @display_flags(ptr noundef @.str.2, i32 noundef %6)
%8 = call i32 @printf(ptr noundef @.str.3)
%9 = load i32, ptr @O_APPEND, align 4
%10 = call i32 @display_flags(ptr noundef @.str.4, i32 noundef %9)
%11 = load i32, ptr @O_TRUNC, align 4
%12 = call i32 @display_flags(ptr noundef @.str.5, i32 noundef %11)
%13 = load i32, ptr @O_CREAT, align 4
%14 = call i32 @display_flags(ptr noundef @.str.6, i32 noundef %13)
%15 = call i32 @printf(ptr noundef @.str.3)
%16 = load i32, ptr @O_WRONLY, align 4
%17 = load i32, ptr @O_APPEND, align 4
%18 = or i32 %16, %17
%19 = load i32, ptr @O_CREAT, align 4
%20 = or i32 %18, %19
%21 = call i32 @display_flags(ptr noundef @.str.7, i32 noundef %20)
ret i32 0
}
declare i32 @display_flags(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpuiix31ey.c'
source_filename = "/tmp/tmpuiix31ey.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@FE_ALL_EXCEPT = dso_local global i32 0, align 4
@FE_DFL_ENV = 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/tmpuiix31ey.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@FE_ALL_EXCEPT = dso_local global i32 0, align 4
@FE_DFL_ENV = 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/tmpljacjf8u.c'
source_filename = "/tmp/tmpljacjf8u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @hash(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i64, align 8
store ptr %0, ptr %2, align 8
store i64 42, ptr %4, align 8
store i32 0, ptr %3, align 4
br label %5
5: ; preds = %23, %1
%6 = load i32, ptr %3, align 4
%7 = load ptr, ptr %2, align 8
%8 = call i32 @strlen(ptr noundef %7)
%9 = icmp slt i32 %6, %8
br i1 %9, label %10, label %26
10: ; preds = %5
%11 = load i64, ptr %4, align 8
%12 = load ptr, ptr %2, align 8
%13 = load i32, ptr %3, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i8, ptr %12, i64 %14
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = load i32, ptr %3, align 4
%19 = add nsw i32 %18, 1
%20 = mul nsw i32 %17, %19
%21 = sext i32 %20 to i64
%22 = add nsw i64 %11, %21
store i64 %22, ptr %4, align 8
br label %23
23: ; preds = %10
%24 = load i32, ptr %3, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %3, align 4
br label %5, !llvm.loop !6
26: ; preds = %5
%27 = load i64, ptr %4, align 8
ret i64 %27
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpljacjf8u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @hash(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i64, align 8
store ptr %0, ptr %2, align 8
store i64 42, ptr %4, align 8
store i32 0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = load ptr, ptr %2, align 8
%7 = call i32 @strlen(ptr noundef %6)
%8 = icmp slt i32 %5, %7
br i1 %8, label %.lr.ph, label %29
.lr.ph: ; preds = %1
br label %9
9: ; preds = %.lr.ph, %22
%10 = load i64, ptr %4, align 8
%11 = load ptr, ptr %2, align 8
%12 = load i32, ptr %3, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i8, ptr %11, i64 %13
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = load i32, ptr %3, align 4
%18 = add nsw i32 %17, 1
%19 = mul nsw i32 %16, %18
%20 = sext i32 %19 to i64
%21 = add nsw i64 %10, %20
store i64 %21, ptr %4, align 8
br label %22
22: ; preds = %9
%23 = load i32, ptr %3, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %3, align 4
%25 = load i32, ptr %3, align 4
%26 = load ptr, ptr %2, align 8
%27 = call i32 @strlen(ptr noundef %26)
%28 = icmp slt i32 %25, %27
br i1 %28, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %29
29: ; preds = %._crit_edge, %1
%30 = load i64, ptr %4, align 8
ret i64 %30
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmprjg99hw_.c'
source_filename = "/tmp/tmprjg99hw_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"12 %ld \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = call i32 @factorial(i32 noundef 12)
%2 = call i32 @printf(ptr noundef @.str, i32 noundef %1)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @factorial(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/tmprjg99hw_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"12 %ld \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = call i32 @factorial(i32 noundef 12)
%2 = call i32 @printf(ptr noundef @.str, i32 noundef %1)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @factorial(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/tmp5jzdrct6.c'
source_filename = "/tmp/tmp5jzdrct6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"Sqrt(%g) = %g sqrt(%g) = %g\0A\00", align 1
@.str.1 = private unnamed_addr constant [48 x i8] c"Warning! Computed value does not match actual!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @TestSqrt(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %2, align 8
%5 = load double, ptr %2, align 8
%6 = call double @Sqrt(double noundef %5)
store double %6, ptr %3, align 8
%7 = load double, ptr %2, align 8
%8 = call double @sqrt(double noundef %7) #3
store double %8, ptr %4, align 8
%9 = load double, ptr %2, align 8
%10 = load double, ptr %3, align 8
%11 = load double, ptr %2, align 8
%12 = load double, ptr %4, align 8
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %9, double noundef %10, double noundef %11, double noundef %12)
%14 = load double, ptr %3, align 8
%15 = load double, ptr %4, align 8
%16 = call i32 @ApproximatelyEqual(double noundef %14, double noundef %15)
%17 = icmp ne i32 %16, 0
br i1 %17, label %20, label %18
18: ; preds = %1
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %20
20: ; preds = %18, %1
ret void
}
declare double @Sqrt(double noundef) #1
; Function Attrs: nounwind
declare double @sqrt(double noundef) #2
declare i32 @printf(ptr noundef, ...) #1
declare i32 @ApproximatelyEqual(double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5jzdrct6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"Sqrt(%g) = %g sqrt(%g) = %g\0A\00", align 1
@.str.1 = private unnamed_addr constant [48 x i8] c"Warning! Computed value does not match actual!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @TestSqrt(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %2, align 8
%5 = load double, ptr %2, align 8
%6 = call double @Sqrt(double noundef %5)
store double %6, ptr %3, align 8
%7 = load double, ptr %2, align 8
%8 = call double @sqrt(double noundef %7) #3
store double %8, ptr %4, align 8
%9 = load double, ptr %2, align 8
%10 = load double, ptr %3, align 8
%11 = load double, ptr %2, align 8
%12 = load double, ptr %4, align 8
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %9, double noundef %10, double noundef %11, double noundef %12)
%14 = load double, ptr %3, align 8
%15 = load double, ptr %4, align 8
%16 = call i32 @ApproximatelyEqual(double noundef %14, double noundef %15)
%17 = icmp ne i32 %16, 0
br i1 %17, label %20, label %18
18: ; preds = %1
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %20
20: ; preds = %18, %1
ret void
}
declare double @Sqrt(double noundef) #1
; Function Attrs: nounwind
declare double @sqrt(double noundef) #2
declare i32 @printf(ptr noundef, ...) #1
declare i32 @ApproximatelyEqual(double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp35a5zdtc.c'
source_filename = "/tmp/tmp35a5zdtc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_next_available_frame() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store ptr inttoptr (i64 3242196992 to ptr), ptr %2, align 8
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %23, %0
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 1048576
br i1 %6, label %7, label %11
7: ; preds = %4
%8 = load i32, ptr %1, align 4
%9 = icmp ne i32 %8, 0
%10 = xor i1 %9, true
br label %11
11: ; preds = %7, %4
%12 = phi i1 [ false, %4 ], [ %10, %7 ]
br i1 %12, label %13, label %26
13: ; preds = %11
%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 = icmp ne i8 %18, 0
br i1 %19, label %22, label %20
20: ; preds = %13
%21 = load i32, ptr %3, align 4
store i32 %21, ptr %1, align 4
br label %22
22: ; preds = %20, %13
br label %23
23: ; preds = %22
%24 = load i32, ptr %3, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %3, align 4
br label %4, !llvm.loop !6
26: ; preds = %11
%27 = load i32, ptr %1, align 4
%28 = call ptr @frame_to_address(i32 noundef %27)
ret ptr %28
}
declare ptr @frame_to_address(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/tmp35a5zdtc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_next_available_frame() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store ptr inttoptr (i64 3242196992 to ptr), ptr %2, align 8
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %23, %0
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 1048576
br i1 %6, label %7, label %11
7: ; preds = %4
%8 = load i32, ptr %1, align 4
%9 = icmp ne i32 %8, 0
%10 = xor i1 %9, true
br label %11
11: ; preds = %7, %4
%12 = phi i1 [ false, %4 ], [ %10, %7 ]
br i1 %12, label %13, label %26
13: ; preds = %11
%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 = icmp ne i8 %18, 0
br i1 %19, label %22, label %20
20: ; preds = %13
%21 = load i32, ptr %3, align 4
store i32 %21, ptr %1, align 4
br label %22
22: ; preds = %20, %13
br label %23
23: ; preds = %22
%24 = load i32, ptr %3, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %3, align 4
br label %4, !llvm.loop !6
26: ; preds = %11
%27 = load i32, ptr %1, align 4
%28 = call ptr @frame_to_address(i32 noundef %27)
ret ptr %28
}
declare ptr @frame_to_address(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/tmp2z1r_isc.c'
source_filename = "/tmp/tmp2z1r_isc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ETIMEDOUT = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2z1r_isc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ETIMEDOUT = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpaabx0eav.c'
source_filename = "/tmp/tmpaabx0eav.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @feupdateenv(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpaabx0eav.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @feupdateenv(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_ev05qsc.c'
source_filename = "/tmp/tmp_ev05qsc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @write_msr_all_cores(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
br label %8
8: ; preds = %17, %3
%9 = load i32, ptr %7, align 4
%10 = icmp slt i32 %9, 8
br i1 %10, label %11, label %20
11: ; preds = %8
%12 = load i32, ptr %4, align 4
%13 = load i32, ptr %7, align 4
%14 = load i32, ptr %5, align 4
%15 = load i32, ptr %6, align 4
%16 = call i32 @write_msr_single_core(i32 noundef %12, i32 noundef %13, i32 noundef %14, i32 noundef %15)
br label %17
17: ; preds = %11
%18 = load i32, ptr %7, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %7, align 4
br label %8, !llvm.loop !6
20: ; preds = %8
ret void
}
declare i32 @write_msr_single_core(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_ev05qsc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @write_msr_all_cores(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
%8 = load i32, ptr %7, align 4
%9 = icmp slt i32 %8, 8
br i1 %9, label %.lr.ph, label %21
.lr.ph: ; preds = %3
br label %10
10: ; preds = %.lr.ph, %16
%11 = load i32, ptr %4, align 4
%12 = load i32, ptr %7, align 4
%13 = load i32, ptr %5, align 4
%14 = load i32, ptr %6, align 4
%15 = call i32 @write_msr_single_core(i32 noundef %11, i32 noundef %12, i32 noundef %13, i32 noundef %14)
br label %16
16: ; preds = %10
%17 = load i32, ptr %7, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %7, align 4
%19 = load i32, ptr %7, align 4
%20 = icmp slt i32 %19, 8
br i1 %20, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %21
21: ; preds = %._crit_edge, %3
ret void
}
declare i32 @write_msr_single_core(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp77hkhhx0.c'
source_filename = "/tmp/tmp77hkhhx0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 i64, align 8
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store i64 0, ptr %2, align 8
store i64 94, ptr %3, align 8
%5 = load i64, ptr %3, align 8
%6 = mul i64 %5, 8
%7 = call ptr @malloc(i64 noundef %6)
store ptr %7, ptr %4, align 8
br label %8
8: ; preds = %12, %0
%9 = load i64, ptr %2, align 8
%10 = load i64, ptr %3, align 8
%11 = icmp ult i64 %9, %10
br i1 %11, label %12, label %20
12: ; preds = %8
%13 = load i64, ptr %2, align 8
%14 = add i64 %13, 1
%15 = call i64 @fibonacci(i64 noundef %14)
%16 = load ptr, ptr %4, align 8
%17 = load i64, ptr %2, align 8
%18 = add i64 %17, 1
store i64 %18, ptr %2, align 8
%19 = getelementptr inbounds i64, ptr %16, i64 %17
store i64 %15, ptr %19, align 8
br label %8, !llvm.loop !6
20: ; preds = %8
%21 = load ptr, ptr %4, align 8
%22 = load i64, ptr %3, align 8
%23 = call i32 @print_array(ptr noundef %21, i64 noundef %22)
ret i32 0
}
declare ptr @malloc(i64 noundef) #1
declare i64 @fibonacci(i64 noundef) #1
declare i32 @print_array(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp77hkhhx0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 i64, align 8
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store i64 0, ptr %2, align 8
store i64 94, ptr %3, align 8
%5 = load i64, ptr %3, align 8
%6 = mul i64 %5, 8
%7 = call ptr @malloc(i64 noundef %6)
store ptr %7, ptr %4, align 8
%8 = load i64, ptr %2, align 8
%9 = load i64, ptr %3, align 8
%10 = icmp ult i64 %8, %9
br i1 %10, label %.lr.ph, label %22
.lr.ph: ; preds = %0
br label %11
11: ; preds = %.lr.ph, %11
%12 = load i64, ptr %2, align 8
%13 = add i64 %12, 1
%14 = call i64 @fibonacci(i64 noundef %13)
%15 = load ptr, ptr %4, align 8
%16 = load i64, ptr %2, align 8
%17 = add i64 %16, 1
store i64 %17, ptr %2, align 8
%18 = getelementptr inbounds i64, ptr %15, i64 %16
store i64 %14, ptr %18, align 8
%19 = load i64, ptr %2, align 8
%20 = load i64, ptr %3, align 8
%21 = icmp ult i64 %19, %20
br i1 %21, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %11
br label %22
22: ; preds = %._crit_edge, %0
%23 = load ptr, ptr %4, align 8
%24 = load i64, ptr %3, align 8
%25 = call i32 @print_array(ptr noundef %23, i64 noundef %24)
ret i32 0
}
declare ptr @malloc(i64 noundef) #1
declare i64 @fibonacci(i64 noundef) #1
declare i32 @print_array(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpkouznhm7.c'
source_filename = "/tmp/tmpkouznhm7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c"There was an unexpected error.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @failure_() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkouznhm7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c"There was an unexpected error.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @failure_() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyc55l60n.c'
source_filename = "/tmp/tmpyc55l60n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @FillMD5Area(ptr noundef %0, i8 noundef signext %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i8, align 1
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca [128 x i8], align 16
%10 = alloca i64, align 8
%11 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store i8 %1, ptr %6, align 1
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%12 = load ptr, ptr %7, align 8
%13 = call i64 @strlen(ptr noundef %12)
store i64 %13, ptr %11, align 8
%14 = load i64, ptr %11, align 8
%15 = add i64 1, %14
%16 = add i64 %15, 16
store i64 %16, ptr %10, align 8
%17 = load i64, ptr %10, align 8
%18 = icmp uge i64 128, %17
%19 = zext i1 %18 to i32
%20 = call i32 @assert(i32 noundef %19)
%21 = load i8, ptr %6, align 1
%22 = getelementptr inbounds [128 x i8], ptr %9, i64 0, i64 0
store i8 %21, ptr %22, align 16
%23 = getelementptr inbounds [128 x i8], ptr %9, i64 0, i64 0
%24 = getelementptr inbounds i8, ptr %23, i64 1
%25 = load ptr, ptr %7, align 8
%26 = load i64, ptr %11, align 8
%27 = trunc i64 %26 to i32
%28 = call i32 @memcpy(ptr noundef %24, ptr noundef %25, i32 noundef %27)
%29 = getelementptr inbounds [128 x i8], ptr %9, i64 0, i64 0
%30 = getelementptr inbounds i8, ptr %29, i64 1
%31 = load i64, ptr %11, align 8
%32 = getelementptr inbounds i8, ptr %30, i64 %31
%33 = load ptr, ptr %8, align 8
%34 = call i32 @memcpy(ptr noundef %32, ptr noundef %33, i32 noundef 16)
%35 = getelementptr inbounds [128 x i8], ptr %9, i64 0, i64 0
%36 = load i64, ptr %10, align 8
%37 = load ptr, ptr %5, align 8
%38 = call i32 @MD5(ptr noundef %35, i64 noundef %36, ptr noundef %37)
ret void
}
declare i64 @strlen(ptr noundef) #1
declare i32 @assert(i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @MD5(ptr noundef, i64 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/tmpyc55l60n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @FillMD5Area(ptr noundef %0, i8 noundef signext %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i8, align 1
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca [128 x i8], align 16
%10 = alloca i64, align 8
%11 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store i8 %1, ptr %6, align 1
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%12 = load ptr, ptr %7, align 8
%13 = call i64 @strlen(ptr noundef %12)
store i64 %13, ptr %11, align 8
%14 = load i64, ptr %11, align 8
%15 = add i64 1, %14
%16 = add i64 %15, 16
store i64 %16, ptr %10, align 8
%17 = load i64, ptr %10, align 8
%18 = icmp uge i64 128, %17
%19 = zext i1 %18 to i32
%20 = call i32 @assert(i32 noundef %19)
%21 = load i8, ptr %6, align 1
%22 = getelementptr inbounds [128 x i8], ptr %9, i64 0, i64 0
store i8 %21, ptr %22, align 16
%23 = getelementptr inbounds [128 x i8], ptr %9, i64 0, i64 0
%24 = getelementptr inbounds i8, ptr %23, i64 1
%25 = load ptr, ptr %7, align 8
%26 = load i64, ptr %11, align 8
%27 = trunc i64 %26 to i32
%28 = call i32 @memcpy(ptr noundef %24, ptr noundef %25, i32 noundef %27)
%29 = getelementptr inbounds [128 x i8], ptr %9, i64 0, i64 0
%30 = getelementptr inbounds i8, ptr %29, i64 1
%31 = load i64, ptr %11, align 8
%32 = getelementptr inbounds i8, ptr %30, i64 %31
%33 = load ptr, ptr %8, align 8
%34 = call i32 @memcpy(ptr noundef %32, ptr noundef %33, i32 noundef 16)
%35 = getelementptr inbounds [128 x i8], ptr %9, i64 0, i64 0
%36 = load i64, ptr %10, align 8
%37 = load ptr, ptr %5, align 8
%38 = call i32 @MD5(ptr noundef %35, i64 noundef %36, ptr noundef %37)
ret void
}
declare i64 @strlen(ptr noundef) #1
declare i32 @assert(i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @MD5(ptr noundef, i64 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/tmpgdzx53cf.c'
source_filename = "/tmp/tmpgdzx53cf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @selection_sort(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %8
8: ; preds = %52, %2
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %4, align 4
%11 = sub nsw i32 %10, 1
%12 = icmp slt i32 %9, %11
br i1 %12, label %13, label %55
13: ; preds = %8
%14 = load ptr, ptr %3, align 8
%15 = load i32, ptr %5, align 4
%16 = add nsw i32 %15, 1
%17 = load i32, ptr %4, align 4
%18 = sub nsw i32 %17, 1
%19 = call i32 @min(ptr noundef %14, i32 noundef %16, i32 noundef %18)
store i32 %19, ptr %6, align 4
%20 = load ptr, ptr %3, align 8
%21 = load i32, ptr %5, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i32, ptr %20, i64 %22
%24 = load i32, ptr %23, align 4
%25 = load ptr, ptr %3, align 8
%26 = load i32, ptr %6, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i32, ptr %25, i64 %27
%29 = load i32, ptr %28, align 4
%30 = icmp sgt i32 %24, %29
br i1 %30, label %31, label %51
31: ; preds = %13
%32 = load ptr, ptr %3, align 8
%33 = load i32, ptr %5, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i32, ptr %32, i64 %34
%36 = load i32, ptr %35, align 4
store i32 %36, ptr %7, align 4
%37 = load ptr, ptr %3, align 8
%38 = load i32, ptr %6, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i32, ptr %37, i64 %39
%41 = load i32, ptr %40, align 4
%42 = load ptr, ptr %3, align 8
%43 = load i32, ptr %5, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i32, ptr %42, i64 %44
store i32 %41, ptr %45, align 4
%46 = load i32, ptr %7, align 4
%47 = load ptr, ptr %3, align 8
%48 = load i32, ptr %6, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i32, ptr %47, i64 %49
store i32 %46, ptr %50, align 4
br label %51
51: ; preds = %31, %13
br label %52
52: ; preds = %51
%53 = load i32, ptr %5, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %5, align 4
br label %8, !llvm.loop !6
55: ; preds = %8
ret void
}
declare i32 @min(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/tmpgdzx53cf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @selection_sort(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %4, align 4
%10 = sub nsw i32 %9, 1
%11 = icmp slt i32 %8, %10
br i1 %11, label %.lr.ph, label %58
.lr.ph: ; preds = %2
br label %12
12: ; preds = %.lr.ph, %51
%13 = load ptr, ptr %3, align 8
%14 = load i32, ptr %5, align 4
%15 = add nsw i32 %14, 1
%16 = load i32, ptr %4, align 4
%17 = sub nsw i32 %16, 1
%18 = call i32 @min(ptr noundef %13, i32 noundef %15, i32 noundef %17)
store i32 %18, ptr %6, align 4
%19 = load ptr, ptr %3, align 8
%20 = load i32, ptr %5, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i32, ptr %19, i64 %21
%23 = load i32, ptr %22, align 4
%24 = load ptr, ptr %3, align 8
%25 = load i32, ptr %6, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i32, ptr %24, i64 %26
%28 = load i32, ptr %27, align 4
%29 = icmp sgt i32 %23, %28
br i1 %29, label %30, label %50
30: ; preds = %12
%31 = load ptr, ptr %3, align 8
%32 = load i32, ptr %5, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i32, ptr %31, i64 %33
%35 = load i32, ptr %34, align 4
store i32 %35, ptr %7, align 4
%36 = load ptr, ptr %3, align 8
%37 = load i32, ptr %6, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i32, ptr %36, i64 %38
%40 = load i32, ptr %39, align 4
%41 = load ptr, ptr %3, align 8
%42 = load i32, ptr %5, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i32, ptr %41, i64 %43
store i32 %40, ptr %44, align 4
%45 = load i32, ptr %7, align 4
%46 = load ptr, ptr %3, align 8
%47 = load i32, ptr %6, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i32, ptr %46, i64 %48
store i32 %45, ptr %49, align 4
br label %50
50: ; preds = %30, %12
br label %51
51: ; preds = %50
%52 = load i32, ptr %5, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %5, align 4
%54 = load i32, ptr %5, align 4
%55 = load i32, ptr %4, align 4
%56 = sub nsw i32 %55, 1
%57 = icmp slt i32 %54, %56
br i1 %57, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %51
br label %58
58: ; preds = %._crit_edge, %2
ret void
}
declare i32 @min(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/tmpqg0r8c00.c'
source_filename = "/tmp/tmpqg0r8c00.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong willreturn memory(none) uwtable
define dso_local x86_fp80 @rintl(x86_fp80 noundef %0) #0 {
%2 = alloca x86_fp80, align 16
store x86_fp80 %0, ptr %2, align 16
%3 = load x86_fp80, ptr %2, align 16
%4 = fptrunc x86_fp80 %3 to double
%5 = call x86_fp80 @rint(double noundef %4)
ret x86_fp80 %5
}
declare x86_fp80 @rint(double noundef) #1
attributes #0 = { noinline nounwind sspstrong willreturn memory(none) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqg0r8c00.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong willreturn memory(none) uwtable
define dso_local x86_fp80 @rintl(x86_fp80 noundef %0) #0 {
%2 = alloca x86_fp80, align 16
store x86_fp80 %0, ptr %2, align 16
%3 = load x86_fp80, ptr %2, align 16
%4 = fptrunc x86_fp80 %3 to double
%5 = call x86_fp80 @rint(double noundef %4)
ret x86_fp80 %5
}
declare x86_fp80 @rint(double noundef) #1
attributes #0 = { noinline nounwind sspstrong willreturn memory(none) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpc530lgv4.c'
source_filename = "/tmp/tmpc530lgv4.c"
target datalayout = "e-m:e-p270: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/tmpc530lgv4.c"
target datalayout = "e-m:e-p270: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/tmp8nagtkxh.c'
source_filename = "/tmp/tmp8nagtkxh.c"
target datalayout = "e-m:e-p270: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/tmp8nagtkxh.c"
target datalayout = "e-m:e-p270: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/tmpnquaep93.c'
source_filename = "/tmp/tmpnquaep93.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@F_GETFL = dso_local global i32 0, align 4
@O_NONBLOCK = dso_local global i32 0, align 4
@F_SETFL = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
@EINTR = dso_local global i32 0, align 4
@EPIPE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sock_brecv(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 0, ptr %8, align 4
%13 = load i32, ptr %7, align 4
store i32 %13, ptr %11, align 4
%14 = load i32, ptr %5, align 4
%15 = load i32, ptr @F_GETFL, align 4
%16 = call i32 @fcntl(i32 noundef %14, i32 noundef %15, i32 noundef 0)
store i32 %16, ptr %9, align 4
%17 = load i32, ptr %9, align 4
%18 = load i32, ptr @O_NONBLOCK, align 4
%19 = and i32 %17, %18
%20 = icmp ne i32 %19, 0
br i1 %20, label %21, label %29
21: ; preds = %3
%22 = load i32, ptr %5, align 4
%23 = load i32, ptr @F_SETFL, align 4
%24 = load i32, ptr %9, align 4
%25 = load i32, ptr @O_NONBLOCK, align 4
%26 = xor i32 %25, -1
%27 = and i32 %24, %26
%28 = call i32 @fcntl(i32 noundef %22, i32 noundef %23, i32 noundef %27)
store i32 1, ptr %8, align 4
br label %29
29: ; preds = %21, %3
br label %30
30: ; preds = %73, %29
%31 = load i32, ptr %11, align 4
%32 = icmp ne i32 %31, 0
br i1 %32, label %33, label %81
33: ; preds = %30
br label %34
34: ; preds = %44, %33
%35 = load i32, ptr %5, align 4
%36 = load ptr, ptr %6, align 8
%37 = load i32, ptr %11, align 4
%38 = call i32 @recv(i32 noundef %35, ptr noundef %36, i32 noundef %37, i32 noundef 0)
store i32 %38, ptr %10, align 4
%39 = icmp slt i32 %38, 0
br i1 %39, label %40, label %58
40: ; preds = %34
%41 = load i32, ptr @errno, align 4
%42 = load i32, ptr @EINTR, align 4
%43 = icmp eq i32 %41, %42
br i1 %43, label %44, label %45
44: ; preds = %40
br label %34
45: ; preds = %40
%46 = load i32, ptr @errno, align 4
store i32 %46, ptr %12, align 4
%47 = load i32, ptr %8, align 4
%48 = icmp ne i32 %47, 0
br i1 %48, label %49, label %56
49: ; preds = %45
%50 = load i32, ptr %5, align 4
%51 = load i32, ptr @F_SETFL, align 4
%52 = load i32, ptr %9, align 4
%53 = load i32, ptr @O_NONBLOCK, align 4
%54 = or i32 %52, %53
%55 = call i32 @fcntl(i32 noundef %50, i32 noundef %51, i32 noundef %54)
br label %56
56: ; preds = %49, %45
%57 = load i32, ptr %12, align 4
store i32 %57, ptr @errno, align 4
store i32 -1, ptr %4, align 4
br label %95
58: ; preds = %34
%59 = load i32, ptr %10, align 4
%60 = icmp ne i32 %59, 0
br i1 %60, label %73, label %61
61: ; preds = %58
%62 = load i32, ptr %8, align 4
%63 = icmp ne i32 %62, 0
br i1 %63, label %64, label %71
64: ; preds = %61
%65 = load i32, ptr %5, align 4
%66 = load i32, ptr @F_SETFL, align 4
%67 = load i32, ptr %9, align 4
%68 = load i32, ptr @O_NONBLOCK, align 4
%69 = or i32 %67, %68
%70 = call i32 @fcntl(i32 noundef %65, i32 noundef %66, i32 noundef %69)
br label %71
71: ; preds = %64, %61
%72 = load i32, ptr @EPIPE, align 4
store i32 %72, ptr @errno, align 4
store i32 -1, ptr %4, align 4
br label %95
73: ; preds = %58
%74 = load i32, ptr %10, align 4
%75 = load i32, ptr %11, align 4
%76 = sub nsw i32 %75, %74
store i32 %76, ptr %11, align 4
%77 = load i32, ptr %10, align 4
%78 = load ptr, ptr %6, align 8
%79 = sext i32 %77 to i64
%80 = getelementptr i8, ptr %78, i64 %79
store ptr %80, ptr %6, align 8
br label %30, !llvm.loop !6
81: ; preds = %30
%82 = load i32, ptr %8, align 4
%83 = icmp ne i32 %82, 0
br i1 %83, label %84, label %91
84: ; preds = %81
%85 = load i32, ptr %5, align 4
%86 = load i32, ptr @F_SETFL, align 4
%87 = load i32, ptr %9, align 4
%88 = load i32, ptr @O_NONBLOCK, align 4
%89 = or i32 %87, %88
%90 = call i32 @fcntl(i32 noundef %85, i32 noundef %86, i32 noundef %89)
br label %91
91: ; preds = %84, %81
%92 = load i32, ptr %7, align 4
%93 = load i32, ptr %11, align 4
%94 = sub nsw i32 %92, %93
store i32 %94, ptr %4, align 4
br label %95
95: ; preds = %91, %71, %56
%96 = load i32, ptr %4, align 4
ret i32 %96
}
declare i32 @fcntl(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnquaep93.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@F_GETFL = dso_local global i32 0, align 4
@O_NONBLOCK = dso_local global i32 0, align 4
@F_SETFL = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
@EINTR = dso_local global i32 0, align 4
@EPIPE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sock_brecv(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 0, ptr %8, align 4
%13 = load i32, ptr %7, align 4
store i32 %13, ptr %11, align 4
%14 = load i32, ptr %5, align 4
%15 = load i32, ptr @F_GETFL, align 4
%16 = call i32 @fcntl(i32 noundef %14, i32 noundef %15, i32 noundef 0)
store i32 %16, ptr %9, align 4
%17 = load i32, ptr %9, align 4
%18 = load i32, ptr @O_NONBLOCK, align 4
%19 = and i32 %17, %18
%20 = icmp ne i32 %19, 0
br i1 %20, label %21, label %29
21: ; preds = %3
%22 = load i32, ptr %5, align 4
%23 = load i32, ptr @F_SETFL, align 4
%24 = load i32, ptr %9, align 4
%25 = load i32, ptr @O_NONBLOCK, align 4
%26 = xor i32 %25, -1
%27 = and i32 %24, %26
%28 = call i32 @fcntl(i32 noundef %22, i32 noundef %23, i32 noundef %27)
store i32 1, ptr %8, align 4
br label %29
29: ; preds = %21, %3
%30 = load i32, ptr %11, align 4
%31 = icmp ne i32 %30, 0
br i1 %31, label %.lr.ph2, label %86
.lr.ph2: ; preds = %29
br label %32
32: ; preds = %.lr.ph2, %76
%33 = load i32, ptr %5, align 4
%34 = load ptr, ptr %6, align 8
%35 = load i32, ptr %11, align 4
%36 = call i32 @recv(i32 noundef %33, ptr noundef %34, i32 noundef %35, i32 noundef 0)
store i32 %36, ptr %10, align 4
%37 = icmp slt i32 %36, 0
br i1 %37, label %.lr.ph, label %61
.lr.ph: ; preds = %32
br label %44
38: ; preds = %44
%39 = load i32, ptr %5, align 4
%40 = load ptr, ptr %6, align 8
%41 = load i32, ptr %11, align 4
%42 = call i32 @recv(i32 noundef %39, ptr noundef %40, i32 noundef %41, i32 noundef 0)
store i32 %42, ptr %10, align 4
%43 = icmp slt i32 %42, 0
br i1 %43, label %44, label %._crit_edge
44: ; preds = %.lr.ph, %38
%45 = load i32, ptr @errno, align 4
%46 = load i32, ptr @EINTR, align 4
%47 = icmp eq i32 %45, %46
br i1 %47, label %38, label %48
48: ; preds = %44
%49 = load i32, ptr @errno, align 4
store i32 %49, ptr %12, align 4
%50 = load i32, ptr %8, align 4
%51 = icmp ne i32 %50, 0
br i1 %51, label %52, label %59
52: ; preds = %48
%53 = load i32, ptr %5, align 4
%54 = load i32, ptr @F_SETFL, align 4
%55 = load i32, ptr %9, align 4
%56 = load i32, ptr @O_NONBLOCK, align 4
%57 = or i32 %55, %56
%58 = call i32 @fcntl(i32 noundef %53, i32 noundef %54, i32 noundef %57)
br label %59
59: ; preds = %52, %48
%60 = load i32, ptr %12, align 4
store i32 %60, ptr @errno, align 4
store i32 -1, ptr %4, align 4
br label %100
._crit_edge: ; preds = %38
br label %61
61: ; preds = %._crit_edge, %32
%62 = load i32, ptr %10, align 4
%63 = icmp ne i32 %62, 0
br i1 %63, label %76, label %64
64: ; preds = %61
%65 = load i32, ptr %8, align 4
%66 = icmp ne i32 %65, 0
br i1 %66, label %67, label %74
67: ; preds = %64
%68 = load i32, ptr %5, align 4
%69 = load i32, ptr @F_SETFL, align 4
%70 = load i32, ptr %9, align 4
%71 = load i32, ptr @O_NONBLOCK, align 4
%72 = or i32 %70, %71
%73 = call i32 @fcntl(i32 noundef %68, i32 noundef %69, i32 noundef %72)
br label %74
74: ; preds = %67, %64
%75 = load i32, ptr @EPIPE, align 4
store i32 %75, ptr @errno, align 4
store i32 -1, ptr %4, align 4
br label %100
76: ; preds = %61
%77 = load i32, ptr %10, align 4
%78 = load i32, ptr %11, align 4
%79 = sub nsw i32 %78, %77
store i32 %79, ptr %11, align 4
%80 = load i32, ptr %10, align 4
%81 = load ptr, ptr %6, align 8
%82 = sext i32 %80 to i64
%83 = getelementptr i8, ptr %81, i64 %82
store ptr %83, ptr %6, align 8
%84 = load i32, ptr %11, align 4
%85 = icmp ne i32 %84, 0
br i1 %85, label %32, label %._crit_edge3, !llvm.loop !6
._crit_edge3: ; preds = %76
br label %86
86: ; preds = %._crit_edge3, %29
%87 = load i32, ptr %8, align 4
%88 = icmp ne i32 %87, 0
br i1 %88, label %89, label %96
89: ; preds = %86
%90 = load i32, ptr %5, align 4
%91 = load i32, ptr @F_SETFL, align 4
%92 = load i32, ptr %9, align 4
%93 = load i32, ptr @O_NONBLOCK, align 4
%94 = or i32 %92, %93
%95 = call i32 @fcntl(i32 noundef %90, i32 noundef %91, i32 noundef %94)
br label %96
96: ; preds = %89, %86
%97 = load i32, ptr %7, align 4
%98 = load i32, ptr %11, align 4
%99 = sub nsw i32 %97, %98
store i32 %99, ptr %4, align 4
br label %100
100: ; preds = %96, %74, %59
%101 = load i32, ptr %4, align 4
ret i32 %101
}
declare i32 @fcntl(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpvo0ffl3a.c'
source_filename = "/tmp/tmpvo0ffl3a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 @CAN1_RX1_IRQHandler() #0 {
%1 = call i32 (...) @default_handler()
ret void
}
declare i32 @default_handler(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvo0ffl3a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 @CAN1_RX1_IRQHandler() #0 {
%1 = call i32 (...) @default_handler()
ret void
}
declare i32 @default_handler(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdd_89ljg.c'
source_filename = "/tmp/tmpdd_89ljg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
@EBADF = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @freopen(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 i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
br label %9
9: ; preds = %3
br label %10
10: ; preds = %9
%11 = load ptr, ptr %7, align 8
%12 = call i32 @fclose(ptr noundef %11)
store i32 %12, ptr %8, align 4
%13 = load i32, ptr %8, align 4
%14 = icmp slt i32 %13, 0
br i1 %14, label %15, label %20
15: ; preds = %10
%16 = load i64, ptr @errno, align 8
%17 = load i64, ptr @EBADF, align 8
%18 = icmp ne i64 %16, %17
br i1 %18, label %19, label %20
19: ; preds = %15
store ptr null, ptr %4, align 8
br label %25
20: ; preds = %15, %10
%21 = load ptr, ptr %5, align 8
%22 = load ptr, ptr %6, align 8
%23 = load ptr, ptr %7, align 8
%24 = call ptr @op_freopen(ptr noundef %21, ptr noundef %22, ptr noundef %23)
store ptr %24, ptr %4, align 8
br label %25
25: ; preds = %20, %19
%26 = load ptr, ptr %4, align 8
ret ptr %26
}
declare i32 @fclose(ptr noundef) #1
declare ptr @op_freopen(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/tmpdd_89ljg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
@EBADF = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @freopen(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 i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
br label %9
9: ; preds = %3
br label %10
10: ; preds = %9
%11 = load ptr, ptr %7, align 8
%12 = call i32 @fclose(ptr noundef %11)
store i32 %12, ptr %8, align 4
%13 = load i32, ptr %8, align 4
%14 = icmp slt i32 %13, 0
br i1 %14, label %15, label %20
15: ; preds = %10
%16 = load i64, ptr @errno, align 8
%17 = load i64, ptr @EBADF, align 8
%18 = icmp ne i64 %16, %17
br i1 %18, label %19, label %20
19: ; preds = %15
store ptr null, ptr %4, align 8
br label %25
20: ; preds = %15, %10
%21 = load ptr, ptr %5, align 8
%22 = load ptr, ptr %6, align 8
%23 = load ptr, ptr %7, align 8
%24 = call ptr @op_freopen(ptr noundef %21, ptr noundef %22, ptr noundef %23)
store ptr %24, ptr %4, align 8
br label %25
25: ; preds = %20, %19
%26 = load ptr, ptr %4, align 8
ret ptr %26
}
declare i32 @fclose(ptr noundef) #1
declare ptr @op_freopen(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/tmp35_1umdj.c'
source_filename = "/tmp/tmp35_1umdj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@SEEK_END = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [46 x i8] c"The vector length is %d\0AThere are %d vectors\0A\00", align 1
@SEEK_SET = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [45 x i8] c"Can't allocate memory while reading file %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"Incompatible vector\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @hvecs_read(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%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 i64, align 8
%12 = alloca i64, align 8
%13 = alloca i64, align 8
%14 = alloca i64, align 8
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i64, align 8
%20 = alloca i64, align 8
%21 = alloca ptr, 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
store i64 4, ptr %11, align 8
store i64 0, ptr %12, align 8
store i32 0, ptr %15, align 4
store i32 0, ptr %16, align 4
store i32 0, ptr %17, align 4
store i32 0, ptr %18, align 4
store i64 0, ptr %19, align 8
%22 = load ptr, ptr %6, align 8
%23 = call ptr @fopen(ptr noundef %22, ptr noundef @.str)
store ptr %23, ptr %21, align 8
%24 = load ptr, ptr %21, align 8
%25 = icmp eq ptr %24, null
br i1 %25, label %26, label %28
26: ; preds = %4
%27 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %27, ptr %5, align 4
br label %134
28: ; preds = %4
%29 = load i64, ptr %10, align 8
%30 = load ptr, ptr %21, align 8
%31 = call i64 @fread(ptr noundef %18, i64 noundef %29, i64 noundef 1, ptr noundef %30)
store i64 %31, ptr %12, align 8
%32 = load i64, ptr %12, align 8
%33 = icmp ne i64 %32, 1
br i1 %33, label %34, label %36
34: ; preds = %28
%35 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %35, ptr %5, align 4
br label %134
36: ; preds = %28
%37 = load i32, ptr %18, align 4
%38 = load ptr, ptr %9, align 8
store i32 %37, ptr %38, align 4
%39 = load i32, ptr %18, align 4
%40 = sext i32 %39 to i64
store i64 %40, ptr %14, align 8
%41 = load ptr, ptr %21, align 8
%42 = load i32, ptr @SEEK_END, align 4
%43 = call i64 @fseeko(ptr noundef %41, i32 noundef 0, i32 noundef %42)
store i64 %43, ptr %20, align 8
%44 = load ptr, ptr %21, align 8
%45 = call i64 @ftello(ptr noundef %44)
store i64 %45, ptr %19, align 8
%46 = load i64, ptr %19, align 8
%47 = trunc i64 %46 to i32
%48 = sext i32 %47 to i64
%49 = load i64, ptr %10, align 8
%50 = load ptr, ptr %9, align 8
%51 = load i32, ptr %50, align 4
%52 = sext i32 %51 to i64
%53 = load i64, ptr %11, align 8
%54 = mul i64 %52, %53
%55 = add i64 %49, %54
%56 = udiv i64 %48, %55
%57 = trunc i64 %56 to i32
store i32 %57, ptr %15, align 4
%58 = load i32, ptr %15, align 4
%59 = load ptr, ptr %8, align 8
store i32 %58, ptr %59, align 4
%60 = load i32, ptr %15, align 4
%61 = sext i32 %60 to i64
store i64 %61, ptr %13, align 8
%62 = load i32, ptr %18, align 4
%63 = load i32, ptr %15, align 4
%64 = call i32 @printf(ptr noundef @.str.1, i32 noundef %62, i32 noundef %63)
%65 = load ptr, ptr %21, align 8
%66 = load i32, ptr @SEEK_SET, align 4
%67 = call i64 @fseeko(ptr noundef %65, i32 noundef 0, i32 noundef %66)
store i64 %67, ptr %20, align 8
%68 = load i64, ptr %13, align 8
%69 = load i64, ptr %14, align 8
%70 = mul i64 %68, %69
%71 = load i64, ptr %11, align 8
%72 = call i64 @calloc(i64 noundef %70, i64 noundef %71)
%73 = inttoptr i64 %72 to ptr
%74 = load ptr, ptr %7, align 8
store ptr %73, ptr %74, align 8
%75 = load ptr, ptr %7, align 8
%76 = load ptr, ptr %75, align 8
%77 = icmp eq ptr %76, null
br i1 %77, label %78, label %83
78: ; preds = %36
%79 = load i32, ptr @stderr, align 4
%80 = load ptr, ptr %6, align 8
%81 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %79, ptr noundef @.str.2, ptr noundef %80)
%82 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %82, ptr %5, align 4
br label %134
83: ; preds = %36
store i32 0, ptr %16, align 4
br label %84
84: ; preds = %122, %83
%85 = load i32, ptr %16, align 4
%86 = load i32, ptr %15, align 4
%87 = icmp slt i32 %85, %86
br i1 %87, label %88, label %125
88: ; preds = %84
%89 = load i64, ptr %10, align 8
%90 = load ptr, ptr %21, align 8
%91 = call i64 @fread(ptr noundef %17, i64 noundef %89, i64 noundef 1, ptr noundef %90)
store i64 %91, ptr %12, align 8
%92 = load i64, ptr %12, align 8
%93 = icmp ne i64 %92, 1
br i1 %93, label %99, label %94
94: ; preds = %88
%95 = load i32, ptr %17, align 4
%96 = load ptr, ptr %9, align 8
%97 = load i32, ptr %96, align 4
%98 = icmp ne i32 %95, %97
br i1 %98, label %99, label %102
99: ; preds = %94, %88
%100 = load i32, ptr @stderr, align 4
%101 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %100, ptr noundef @.str.3)
br label %102
102: ; preds = %99, %94
%103 = load ptr, ptr %7, align 8
%104 = load ptr, ptr %103, align 8
%105 = load i32, ptr %16, align 4
%106 = load ptr, ptr %9, align 8
%107 = load i32, ptr %106, align 4
%108 = mul nsw i32 %105, %107
%109 = sext i32 %108 to i64
%110 = getelementptr inbounds i32, ptr %104, i64 %109
%111 = load i64, ptr %11, align 8
%112 = load i64, ptr %14, align 8
%113 = load ptr, ptr %21, align 8
%114 = call i64 @fread(ptr noundef %110, i64 noundef %111, i64 noundef %112, ptr noundef %113)
store i64 %114, ptr %12, align 8
%115 = load i64, ptr %12, align 8
%116 = load i64, ptr %14, align 8
%117 = icmp ne i64 %115, %116
br i1 %117, label %118, label %121
118: ; preds = %102
%119 = load i32, ptr @stderr, align 4
%120 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %119, ptr noundef @.str.3)
br label %121
121: ; preds = %118, %102
br label %122
122: ; preds = %121
%123 = load i32, ptr %16, align 4
%124 = add nsw i32 %123, 1
store i32 %124, ptr %16, align 4
br label %84, !llvm.loop !6
125: ; preds = %84
%126 = load ptr, ptr %21, align 8
%127 = call i32 @fclose(ptr noundef %126)
store i32 %127, ptr %16, align 4
%128 = load i32, ptr %16, align 4
%129 = icmp ne i32 %128, 0
br i1 %129, label %130, label %132
130: ; preds = %125
%131 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %131, ptr %5, align 4
br label %134
132: ; preds = %125
%133 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %133, ptr %5, align 4
br label %134
134: ; preds = %132, %130, %78, %34, %26
%135 = load i32, ptr %5, align 4
ret i32 %135
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i64 @fread(ptr noundef, i64 noundef, i64 noundef, ptr noundef) #1
declare i64 @fseeko(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @ftello(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @calloc(i64 noundef, i64 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp35_1umdj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@SEEK_END = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [46 x i8] c"The vector length is %d\0AThere are %d vectors\0A\00", align 1
@SEEK_SET = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [45 x i8] c"Can't allocate memory while reading file %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"Incompatible vector\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @hvecs_read(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%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 i64, align 8
%12 = alloca i64, align 8
%13 = alloca i64, align 8
%14 = alloca i64, align 8
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i64, align 8
%20 = alloca i64, align 8
%21 = alloca ptr, 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
store i64 4, ptr %11, align 8
store i64 0, ptr %12, align 8
store i32 0, ptr %15, align 4
store i32 0, ptr %16, align 4
store i32 0, ptr %17, align 4
store i32 0, ptr %18, align 4
store i64 0, ptr %19, align 8
%22 = load ptr, ptr %6, align 8
%23 = call ptr @fopen(ptr noundef %22, ptr noundef @.str)
store ptr %23, ptr %21, align 8
%24 = load ptr, ptr %21, align 8
%25 = icmp eq ptr %24, null
br i1 %25, label %26, label %28
26: ; preds = %4
%27 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %27, ptr %5, align 4
br label %136
28: ; preds = %4
%29 = load i64, ptr %10, align 8
%30 = load ptr, ptr %21, align 8
%31 = call i64 @fread(ptr noundef %18, i64 noundef %29, i64 noundef 1, ptr noundef %30)
store i64 %31, ptr %12, align 8
%32 = load i64, ptr %12, align 8
%33 = icmp ne i64 %32, 1
br i1 %33, label %34, label %36
34: ; preds = %28
%35 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %35, ptr %5, align 4
br label %136
36: ; preds = %28
%37 = load i32, ptr %18, align 4
%38 = load ptr, ptr %9, align 8
store i32 %37, ptr %38, align 4
%39 = load i32, ptr %18, align 4
%40 = sext i32 %39 to i64
store i64 %40, ptr %14, align 8
%41 = load ptr, ptr %21, align 8
%42 = load i32, ptr @SEEK_END, align 4
%43 = call i64 @fseeko(ptr noundef %41, i32 noundef 0, i32 noundef %42)
store i64 %43, ptr %20, align 8
%44 = load ptr, ptr %21, align 8
%45 = call i64 @ftello(ptr noundef %44)
store i64 %45, ptr %19, align 8
%46 = load i64, ptr %19, align 8
%47 = trunc i64 %46 to i32
%48 = sext i32 %47 to i64
%49 = load i64, ptr %10, align 8
%50 = load ptr, ptr %9, align 8
%51 = load i32, ptr %50, align 4
%52 = sext i32 %51 to i64
%53 = load i64, ptr %11, align 8
%54 = mul i64 %52, %53
%55 = add i64 %49, %54
%56 = udiv i64 %48, %55
%57 = trunc i64 %56 to i32
store i32 %57, ptr %15, align 4
%58 = load i32, ptr %15, align 4
%59 = load ptr, ptr %8, align 8
store i32 %58, ptr %59, align 4
%60 = load i32, ptr %15, align 4
%61 = sext i32 %60 to i64
store i64 %61, ptr %13, align 8
%62 = load i32, ptr %18, align 4
%63 = load i32, ptr %15, align 4
%64 = call i32 @printf(ptr noundef @.str.1, i32 noundef %62, i32 noundef %63)
%65 = load ptr, ptr %21, align 8
%66 = load i32, ptr @SEEK_SET, align 4
%67 = call i64 @fseeko(ptr noundef %65, i32 noundef 0, i32 noundef %66)
store i64 %67, ptr %20, align 8
%68 = load i64, ptr %13, align 8
%69 = load i64, ptr %14, align 8
%70 = mul i64 %68, %69
%71 = load i64, ptr %11, align 8
%72 = call i64 @calloc(i64 noundef %70, i64 noundef %71)
%73 = inttoptr i64 %72 to ptr
%74 = load ptr, ptr %7, align 8
store ptr %73, ptr %74, align 8
%75 = load ptr, ptr %7, align 8
%76 = load ptr, ptr %75, align 8
%77 = icmp eq ptr %76, null
br i1 %77, label %78, label %83
78: ; preds = %36
%79 = load i32, ptr @stderr, align 4
%80 = load ptr, ptr %6, align 8
%81 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %79, ptr noundef @.str.2, ptr noundef %80)
%82 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %82, ptr %5, align 4
br label %136
83: ; preds = %36
store i32 0, ptr %16, align 4
%84 = load i32, ptr %16, align 4
%85 = load i32, ptr %15, align 4
%86 = icmp slt i32 %84, %85
br i1 %86, label %.lr.ph, label %127
.lr.ph: ; preds = %83
br label %87
87: ; preds = %.lr.ph, %121
%88 = load i64, ptr %10, align 8
%89 = load ptr, ptr %21, align 8
%90 = call i64 @fread(ptr noundef %17, i64 noundef %88, i64 noundef 1, ptr noundef %89)
store i64 %90, ptr %12, align 8
%91 = load i64, ptr %12, align 8
%92 = icmp ne i64 %91, 1
br i1 %92, label %98, label %93
93: ; preds = %87
%94 = load i32, ptr %17, align 4
%95 = load ptr, ptr %9, align 8
%96 = load i32, ptr %95, align 4
%97 = icmp ne i32 %94, %96
br i1 %97, label %98, label %101
98: ; preds = %93, %87
%99 = load i32, ptr @stderr, align 4
%100 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %99, ptr noundef @.str.3)
br label %101
101: ; preds = %98, %93
%102 = load ptr, ptr %7, align 8
%103 = load ptr, ptr %102, align 8
%104 = load i32, ptr %16, align 4
%105 = load ptr, ptr %9, align 8
%106 = load i32, ptr %105, align 4
%107 = mul nsw i32 %104, %106
%108 = sext i32 %107 to i64
%109 = getelementptr inbounds i32, ptr %103, i64 %108
%110 = load i64, ptr %11, align 8
%111 = load i64, ptr %14, align 8
%112 = load ptr, ptr %21, align 8
%113 = call i64 @fread(ptr noundef %109, i64 noundef %110, i64 noundef %111, ptr noundef %112)
store i64 %113, ptr %12, align 8
%114 = load i64, ptr %12, align 8
%115 = load i64, ptr %14, align 8
%116 = icmp ne i64 %114, %115
br i1 %116, label %117, label %120
117: ; preds = %101
%118 = load i32, ptr @stderr, align 4
%119 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %118, ptr noundef @.str.3)
br label %120
120: ; preds = %117, %101
br label %121
121: ; preds = %120
%122 = load i32, ptr %16, align 4
%123 = add nsw i32 %122, 1
store i32 %123, ptr %16, align 4
%124 = load i32, ptr %16, align 4
%125 = load i32, ptr %15, align 4
%126 = icmp slt i32 %124, %125
br i1 %126, label %87, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %121
br label %127
127: ; preds = %._crit_edge, %83
%128 = load ptr, ptr %21, align 8
%129 = call i32 @fclose(ptr noundef %128)
store i32 %129, ptr %16, align 4
%130 = load i32, ptr %16, align 4
%131 = icmp ne i32 %130, 0
br i1 %131, label %132, label %134
132: ; preds = %127
%133 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %133, ptr %5, align 4
br label %136
134: ; preds = %127
%135 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %135, ptr %5, align 4
br label %136
136: ; preds = %134, %132, %78, %34, %26
%137 = load i32, ptr %5, align 4
ret i32 %137
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i64 @fread(ptr noundef, i64 noundef, i64 noundef, ptr noundef) #1
declare i64 @fseeko(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @ftello(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @calloc(i64 noundef, i64 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp_m_agobi.c'
source_filename = "/tmp/tmp_m_agobi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @backspace(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @strlen(ptr noundef %4)
store i32 %5, ptr %3, align 4
%6 = load ptr, ptr %2, align 8
%7 = load i32, ptr %3, align 4
%8 = sub nsw i32 %7, 1
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds i8, ptr %6, i64 %9
store i8 0, ptr %10, align 1
ret void
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_m_agobi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @backspace(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @strlen(ptr noundef %4)
store i32 %5, ptr %3, align 4
%6 = load ptr, ptr %2, align 8
%7 = load i32, ptr %3, align 4
%8 = sub nsw i32 %7, 1
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds i8, ptr %6, i64 %9
store i8 0, ptr %10, align 1
ret void
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpchdwg2fd.c'
source_filename = "/tmp/tmpchdwg2fd.c"
target datalayout = "e-m:e-p270: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/tmpchdwg2fd.c"
target datalayout = "e-m:e-p270: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/tmpkaq35efn.c'
source_filename = "/tmp/tmpkaq35efn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [46 x i8] c"M21_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 @M21_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/tmpkaq35efn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [46 x i8] c"M21_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 @M21_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/tmp7rzf_kei.c'
source_filename = "/tmp/tmp7rzf_kei.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [36 x i8] c"the month you entered is not valid\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @takeMonth(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca [1 x i8], align 1
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 0, ptr %6, align 4
store i32 2, ptr %5, align 4
br label %8
8: ; preds = %22, %1
%9 = load i32, ptr %5, align 4
%10 = icmp slt i32 %9, 4
br i1 %10, label %11, label %25
11: ; preds = %8
%12 = load ptr, ptr %3, align 8
%13 = load i32, ptr %5, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i8, ptr %12, i64 %14
%16 = load i8, ptr %15, align 1
%17 = load i32, ptr %6, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [1 x i8], ptr %4, i64 0, i64 %18
store i8 %16, ptr %19, align 1
%20 = load i32, ptr %6, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %6, align 4
br label %22
22: ; preds = %11
%23 = load i32, ptr %5, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %5, align 4
br label %8, !llvm.loop !6
25: ; preds = %8
%26 = getelementptr inbounds [1 x i8], ptr %4, i64 0, i64 0
%27 = call i32 @atoi(ptr noundef %26)
store i32 %27, ptr %7, align 4
%28 = load i32, ptr %7, align 4
%29 = icmp sgt i32 %28, 0
br i1 %29, label %30, label %35
30: ; preds = %25
%31 = load i32, ptr %7, align 4
%32 = icmp slt i32 %31, 13
br i1 %32, label %33, label %35
33: ; preds = %30
%34 = load i32, ptr %7, align 4
store i32 %34, ptr %2, align 4
br label %37
35: ; preds = %30, %25
%36 = call i32 @printf(ptr noundef @.str)
store i32 0, ptr %2, align 4
br label %37
37: ; preds = %35, %33
%38 = load i32, ptr %2, align 4
ret i32 %38
}
declare i32 @atoi(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7rzf_kei.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [36 x i8] c"the month you entered is not valid\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @takeMonth(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca [1 x i8], align 1
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 0, ptr %6, align 4
store i32 2, ptr %5, align 4
%8 = load i32, ptr %5, align 4
%9 = icmp slt i32 %8, 4
br i1 %9, label %.lr.ph, label %26
.lr.ph: ; preds = %1
br label %10
10: ; preds = %.lr.ph, %21
%11 = load ptr, ptr %3, align 8
%12 = load i32, ptr %5, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i8, ptr %11, i64 %13
%15 = load i8, ptr %14, align 1
%16 = load i32, ptr %6, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [1 x i8], ptr %4, i64 0, i64 %17
store i8 %15, ptr %18, align 1
%19 = load i32, ptr %6, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %6, align 4
br label %21
21: ; preds = %10
%22 = load i32, ptr %5, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %5, align 4
%24 = load i32, ptr %5, align 4
%25 = icmp slt i32 %24, 4
br i1 %25, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %26
26: ; preds = %._crit_edge, %1
%27 = getelementptr inbounds [1 x i8], ptr %4, i64 0, i64 0
%28 = call i32 @atoi(ptr noundef %27)
store i32 %28, ptr %7, align 4
%29 = load i32, ptr %7, align 4
%30 = icmp sgt i32 %29, 0
br i1 %30, label %31, label %36
31: ; preds = %26
%32 = load i32, ptr %7, align 4
%33 = icmp slt i32 %32, 13
br i1 %33, label %34, label %36
34: ; preds = %31
%35 = load i32, ptr %7, align 4
store i32 %35, ptr %2, align 4
br label %38
36: ; preds = %31, %26
%37 = call i32 @printf(ptr noundef @.str)
store i32 0, ptr %2, align 4
br label %38
38: ; preds = %36, %34
%39 = load i32, ptr %2, align 4
ret i32 %39
}
declare i32 @atoi(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpalenixx3.c'
source_filename = "/tmp/tmpalenixx3.c"
target datalayout = "e-m:e-p270: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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @output_header(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = load i32, ptr @stdout, align 4
%5 = call i32 @putc(i8 noundef signext %3, i32 noundef %4)
ret void
}
declare i32 @putc(i8 noundef signext, 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/tmpalenixx3.c"
target datalayout = "e-m:e-p270: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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @output_header(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = load i32, ptr @stdout, align 4
%5 = call i32 @putc(i8 noundef signext %3, i32 noundef %4)
ret void
}
declare i32 @putc(i8 noundef signext, 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/tmpieiuqr3p.c'
source_filename = "/tmp/tmpieiuqr3p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"a = %p sizeof = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @test_fn(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = call i32 @printf(ptr noundef @.str, ptr noundef %4, i32 noundef 8)
%6 = load i32, ptr %2, align 4
ret i32 %6
}
declare i32 @printf(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/tmpieiuqr3p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"a = %p sizeof = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @test_fn(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = call i32 @printf(ptr noundef @.str, ptr noundef %4, i32 noundef 8)
%6 = load i32, ptr %2, align 4
ret i32 %6
}
declare i32 @printf(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/tmp8ucl84pm.c'
source_filename = "/tmp/tmp8ucl84pm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = call i32 (...) @gnu_get_libc_version()
%6 = call i32 @puts(i32 noundef %5)
ret i32 0
}
declare i32 @puts(i32 noundef) #1
declare i32 @gnu_get_libc_version(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8ucl84pm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = call i32 (...) @gnu_get_libc_version()
%6 = call i32 @puts(i32 noundef %5)
ret i32 0
}
declare i32 @puts(i32 noundef) #1
declare i32 @gnu_get_libc_version(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpml83qmnf.c'
source_filename = "/tmp/tmpml83qmnf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @UARTConfigSetExpClk(i64 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3) #0 {
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
store i64 %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store i64 %3, ptr %8, align 8
%10 = load i64, ptr %5, align 8
%11 = call i32 @UARTDisable(i64 noundef %10)
%12 = load i64, ptr %6, align 8
%13 = mul i64 %12, 8
%14 = load i64, ptr %7, align 8
%15 = udiv i64 %13, %14
%16 = add i64 %15, 1
%17 = udiv i64 %16, 2
store i64 %17, ptr %9, align 8
%18 = load i64, ptr %9, align 8
%19 = udiv i64 %18, 64
%20 = load i64, ptr %5, align 8
%21 = add i64 %20, 36
%22 = inttoptr i64 %21 to ptr
store volatile i64 %19, ptr %22, align 8
%23 = load i64, ptr %9, align 8
%24 = urem i64 %23, 64
%25 = load i64, ptr %5, align 8
%26 = add i64 %25, 40
%27 = inttoptr i64 %26 to ptr
store volatile i64 %24, ptr %27, align 8
%28 = load i64, ptr %8, align 8
%29 = load i64, ptr %5, align 8
%30 = add i64 %29, 44
%31 = inttoptr i64 %30 to ptr
store volatile i64 %28, ptr %31, align 8
%32 = load i64, ptr %5, align 8
%33 = add i64 %32, 24
%34 = inttoptr i64 %33 to ptr
store volatile i64 0, ptr %34, align 8
%35 = load i64, ptr %5, align 8
%36 = call i32 @UARTEnable(i64 noundef %35)
ret void
}
declare i32 @UARTDisable(i64 noundef) #1
declare i32 @UARTEnable(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/tmpml83qmnf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @UARTConfigSetExpClk(i64 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3) #0 {
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
store i64 %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store i64 %3, ptr %8, align 8
%10 = load i64, ptr %5, align 8
%11 = call i32 @UARTDisable(i64 noundef %10)
%12 = load i64, ptr %6, align 8
%13 = mul i64 %12, 8
%14 = load i64, ptr %7, align 8
%15 = udiv i64 %13, %14
%16 = add i64 %15, 1
%17 = udiv i64 %16, 2
store i64 %17, ptr %9, align 8
%18 = load i64, ptr %9, align 8
%19 = udiv i64 %18, 64
%20 = load i64, ptr %5, align 8
%21 = add i64 %20, 36
%22 = inttoptr i64 %21 to ptr
store volatile i64 %19, ptr %22, align 8
%23 = load i64, ptr %9, align 8
%24 = urem i64 %23, 64
%25 = load i64, ptr %5, align 8
%26 = add i64 %25, 40
%27 = inttoptr i64 %26 to ptr
store volatile i64 %24, ptr %27, align 8
%28 = load i64, ptr %8, align 8
%29 = load i64, ptr %5, align 8
%30 = add i64 %29, 44
%31 = inttoptr i64 %30 to ptr
store volatile i64 %28, ptr %31, align 8
%32 = load i64, ptr %5, align 8
%33 = add i64 %32, 24
%34 = inttoptr i64 %33 to ptr
store volatile i64 0, ptr %34, align 8
%35 = load i64, ptr %5, align 8
%36 = call i32 @UARTEnable(i64 noundef %35)
ret void
}
declare i32 @UARTDisable(i64 noundef) #1
declare i32 @UARTEnable(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/tmpfasaiko6.c'
source_filename = "/tmp/tmpfasaiko6.c"
target datalayout = "e-m:e-p270: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/tmpfasaiko6.c"
target datalayout = "e-m:e-p270: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/tmp0xjcv_vi.c'
source_filename = "/tmp/tmp0xjcv_vi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [414 x i8] c"1\0A2\0AFizz\0A4\0ABuzz\0AFizz\0A7\0A8\0AFizz\0ABuzz\0A11\0AFizz\0A13\0A14\0AFizzBuzz\0A16\0A17\0AFizz\0A19\0ABuzz\0AFizz\0A22\0A23\0AFizz\0ABuzz\0A26\0AFizz\0A28\0A29\0AFizzBuzz\0A31\0A32\0AFizz\0A34\0ABuzz\0AFizz\0A37\0A38\0AFizz\0ABuzz\0A41\0AFizz\0A43\0A44\0AFizzBuzz\0A46\0A47\0AFizz\0A49\0ABuzz\0AFizz\0A52\0A53\0AFizz\0ABuzz\0A56\0AFizz\0A58\0A59\0AFizzBuzz\0A61\0A62\0AFizz\0A64\0ABuzz\0AFizz\0A67\0A68\0AFizz\0ABuzz\0A71\0AFizz\0A73\0A74\0AFizzBuzz\0A76\0A77\0AFizz\0A79\0ABuzz\0AFizz\0A82\0A83\0AFizz\0ABuzz\0A86\0AFizz\0A88\0A89\0AFizzBuzz\0A91\0A92\0AFizz\0A94\0ABuzz\0AFizz\0A97\0A98\0AFizz\0ABuzz\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)
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/tmp0xjcv_vi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [414 x i8] c"1\0A2\0AFizz\0A4\0ABuzz\0AFizz\0A7\0A8\0AFizz\0ABuzz\0A11\0AFizz\0A13\0A14\0AFizzBuzz\0A16\0A17\0AFizz\0A19\0ABuzz\0AFizz\0A22\0A23\0AFizz\0ABuzz\0A26\0AFizz\0A28\0A29\0AFizzBuzz\0A31\0A32\0AFizz\0A34\0ABuzz\0AFizz\0A37\0A38\0AFizz\0ABuzz\0A41\0AFizz\0A43\0A44\0AFizzBuzz\0A46\0A47\0AFizz\0A49\0ABuzz\0AFizz\0A52\0A53\0AFizz\0ABuzz\0A56\0AFizz\0A58\0A59\0AFizzBuzz\0A61\0A62\0AFizz\0A64\0ABuzz\0AFizz\0A67\0A68\0AFizz\0ABuzz\0A71\0AFizz\0A73\0A74\0AFizzBuzz\0A76\0A77\0AFizz\0A79\0ABuzz\0AFizz\0A82\0A83\0AFizz\0ABuzz\0A86\0AFizz\0A88\0A89\0AFizzBuzz\0A91\0A92\0AFizz\0A94\0ABuzz\0AFizz\0A97\0A98\0AFizz\0ABuzz\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)
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/tmpvgsvcy37.c'
source_filename = "/tmp/tmpvgsvcy37.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"_bool\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @gen_convert_primary_reg_value_to_bool() #0 {
%1 = call i32 @gen_call(ptr noundef @.str)
ret void
}
declare i32 @gen_call(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvgsvcy37.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"_bool\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @gen_convert_primary_reg_value_to_bool() #0 {
%1 = call i32 @gen_call(ptr noundef @.str)
ret void
}
declare i32 @gen_call(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp10mgjb7_.c'
source_filename = "/tmp/tmp10mgjb7_.c"
target datalayout = "e-m:e-p270: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_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i16 @get_XFontSetExtents_max_ink_extent_y(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds %struct.TYPE_4__, ptr %3, i32 0, i32 0
%5 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i32 0, i32 0
%6 = load i64, ptr %5, align 8
%7 = trunc i64 %6 to i16
ret i16 %7
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp10mgjb7_.c"
target datalayout = "e-m:e-p270: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_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i16 @get_XFontSetExtents_max_ink_extent_y(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds %struct.TYPE_4__, ptr %3, i32 0, i32 0
%5 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i32 0, i32 0
%6 = load i64, ptr %5, align 8
%7 = trunc i64 %6 to i16
ret i16 %7
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdtx_zm64.c'
source_filename = "/tmp/tmpdtx_zm64.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ca_compute_nbars(i32 noundef %0, double noundef %1, double noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
store i32 %0, ptr %7, align 4
store double %1, ptr %8, align 8
store double %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
store i32 0, ptr %13, align 4
br label %14
14: ; preds = %37, %6
%15 = load i32, ptr %13, align 4
%16 = load i32, ptr %7, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %18, label %40
18: ; preds = %14
%19 = load double, ptr %8, align 8
%20 = load double, ptr %9, align 8
%21 = load ptr, ptr %10, align 8
%22 = load i32, ptr %13, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds double, ptr %21, i64 %23
%25 = load double, ptr %24, align 8
%26 = load ptr, ptr %11, align 8
%27 = load i32, ptr %13, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds double, ptr %26, i64 %28
%30 = load double, ptr %29, align 8
%31 = call double @scattering_rate(double noundef %20, double noundef %25, double noundef %30)
%32 = fmul double %19, %31
%33 = load ptr, ptr %12, align 8
%34 = load i32, ptr %13, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds double, ptr %33, i64 %35
store double %32, ptr %36, align 8
br label %37
37: ; preds = %18
%38 = load i32, ptr %13, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %13, align 4
br label %14, !llvm.loop !6
40: ; preds = %14
ret void
}
declare double @scattering_rate(double noundef, double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdtx_zm64.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ca_compute_nbars(i32 noundef %0, double noundef %1, double noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
store i32 %0, ptr %7, align 4
store double %1, ptr %8, align 8
store double %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
store i32 0, ptr %13, align 4
%14 = load i32, ptr %13, align 4
%15 = load i32, ptr %7, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %.lr.ph, label %42
.lr.ph: ; preds = %6
br label %17
17: ; preds = %.lr.ph, %36
%18 = load double, ptr %8, align 8
%19 = load double, ptr %9, align 8
%20 = load ptr, ptr %10, align 8
%21 = load i32, ptr %13, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds double, ptr %20, i64 %22
%24 = load double, ptr %23, align 8
%25 = load ptr, ptr %11, align 8
%26 = load i32, ptr %13, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds double, ptr %25, i64 %27
%29 = load double, ptr %28, align 8
%30 = call double @scattering_rate(double noundef %19, double noundef %24, double noundef %29)
%31 = fmul double %18, %30
%32 = load ptr, ptr %12, align 8
%33 = load i32, ptr %13, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds double, ptr %32, i64 %34
store double %31, ptr %35, align 8
br label %36
36: ; preds = %17
%37 = load i32, ptr %13, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %13, align 4
%39 = load i32, ptr %13, align 4
%40 = load i32, ptr %7, align 4
%41 = icmp slt i32 %39, %40
br i1 %41, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %36
br label %42
42: ; preds = %._crit_edge, %6
ret void
}
declare double @scattering_rate(double noundef, double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpfklo7j3i.c'
source_filename = "/tmp/tmpfklo7j3i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d -> %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
store i32 1, ptr %1, align 4
br label %2
2: ; preds = %10, %0
%3 = load i32, ptr %1, align 4
%4 = icmp slt i32 %3, 10000
br i1 %4, label %5, label %13
5: ; preds = %2
%6 = load i32, ptr %1, align 4
%7 = load i32, ptr %1, align 4
%8 = call i32 @intlen(i32 noundef %7)
%9 = call i32 @printf(ptr noundef @.str, i32 noundef %6, i32 noundef %8)
br label %10
10: ; preds = %5
%11 = load i32, ptr %1, align 4
%12 = mul nsw i32 %11, 9
store i32 %12, ptr %1, align 4
br label %2, !llvm.loop !6
13: ; preds = %2
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @intlen(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/tmpfklo7j3i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d -> %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
store i32 1, ptr %1, align 4
%2 = load i32, ptr %1, align 4
%3 = icmp slt i32 %2, 10000
br i1 %3, label %.lr.ph, label %14
.lr.ph: ; preds = %0
br label %4
4: ; preds = %.lr.ph, %9
%5 = load i32, ptr %1, align 4
%6 = load i32, ptr %1, align 4
%7 = call i32 @intlen(i32 noundef %6)
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %5, i32 noundef %7)
br label %9
9: ; preds = %4
%10 = load i32, ptr %1, align 4
%11 = mul nsw i32 %10, 9
store i32 %11, ptr %1, align 4
%12 = load i32, ptr %1, align 4
%13 = icmp slt i32 %12, 10000
br i1 %13, label %4, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %9
br label %14
14: ; preds = %._crit_edge, %0
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @intlen(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/tmpsxkj28vw.c'
source_filename = "/tmp/tmpsxkj28vw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"const char* error_numbers[%d] = {\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"\0A\09\22%d\22\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"\0A};\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @printf(ptr noundef @.str, i32 noundef 101)
store i32 0, ptr %2, align 4
br label %4
4: ; preds = %19, %0
%5 = load i32, ptr %2, align 4
%6 = icmp sle i32 %5, 100
br i1 %6, label %7, label %22
7: ; preds = %4
%8 = load i32, ptr %2, align 4
%9 = icmp ne i32 %8, 0
br i1 %9, label %10, label %12
10: ; preds = %7
%11 = call i32 @putchar(i8 noundef signext 44)
br label %12
12: ; preds = %10, %7
%13 = load i32, ptr %2, align 4
%14 = call i32 @strerror(i32 noundef %13)
%15 = call i64 @strlen(i32 noundef %14)
%16 = icmp sgt i64 %15, 0
%17 = zext i1 %16 to i32
%18 = call i32 @printf(ptr noundef @.str.1, i32 noundef %17)
br label %19
19: ; preds = %12
%20 = load i32, ptr %2, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %2, align 4
br label %4, !llvm.loop !6
22: ; preds = %4
%23 = call i32 @puts(ptr noundef @.str.2)
%24 = load i32, ptr %1, align 4
ret i32 %24
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @putchar(i8 noundef signext) #1
declare i64 @strlen(i32 noundef) #1
declare i32 @strerror(i32 noundef) #1
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpsxkj28vw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"const char* error_numbers[%d] = {\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"\0A\09\22%d\22\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"\0A};\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @printf(ptr noundef @.str, i32 noundef 101)
store i32 0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp sle i32 %4, 100
br i1 %5, label %.lr.ph, label %23
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %18
%7 = load i32, ptr %2, align 4
%8 = icmp ne i32 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %6
%10 = call i32 @putchar(i8 noundef signext 44)
br label %11
11: ; preds = %9, %6
%12 = load i32, ptr %2, align 4
%13 = call i32 @strerror(i32 noundef %12)
%14 = call i64 @strlen(i32 noundef %13)
%15 = icmp sgt i64 %14, 0
%16 = zext i1 %15 to i32
%17 = call i32 @printf(ptr noundef @.str.1, i32 noundef %16)
br label %18
18: ; preds = %11
%19 = load i32, ptr %2, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %2, align 4
%21 = load i32, ptr %2, align 4
%22 = icmp sle i32 %21, 100
br i1 %22, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %23
23: ; preds = %._crit_edge, %0
%24 = call i32 @puts(ptr noundef @.str.2)
%25 = load i32, ptr %1, align 4
ret i32 %25
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @putchar(i8 noundef signext) #1
declare i64 @strlen(i32 noundef) #1
declare i32 @strerror(i32 noundef) #1
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp_kfg4gr0.c'
source_filename = "/tmp/tmp_kfg4gr0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @copyMemory(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%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 %6, align 8
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
store i32 %4, ptr %10, align 4
store i32 0, ptr %11, align 4
br label %13
13: ; preds = %18, %5
%14 = load i32, ptr %11, align 4
%15 = load i32, ptr %10, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %17, label %21
17: ; preds = %13
br label %18
18: ; preds = %17
%19 = load i32, ptr %11, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %11, align 4
br label %13, !llvm.loop !6
21: ; preds = %13
%22 = load ptr, ptr %8, align 8
%23 = load i32, ptr %9, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds ptr, ptr %22, i64 %24
%26 = load ptr, ptr %6, align 8
%27 = load i32, ptr %7, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds ptr, ptr %26, i64 %28
%30 = load i32, ptr %10, align 4
%31 = sext i32 %30 to i64
%32 = mul i64 %31, 8
%33 = call i32 @memcpy(ptr noundef %25, ptr noundef %29, i64 noundef %32)
store i32 0, ptr %12, align 4
br label %34
34: ; preds = %39, %21
%35 = load i32, ptr %12, align 4
%36 = load i32, ptr %10, align 4
%37 = icmp slt i32 %35, %36
br i1 %37, label %38, label %42
38: ; preds = %34
br label %39
39: ; preds = %38
%40 = load i32, ptr %12, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %12, align 4
br label %34, !llvm.loop !8
42: ; preds = %34
ret void
}
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_kfg4gr0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @copyMemory(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%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 %6, align 8
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
store i32 %4, ptr %10, align 4
store i32 0, ptr %11, align 4
%13 = load i32, ptr %11, align 4
%14 = load i32, ptr %10, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %.lr.ph, label %23
.lr.ph: ; preds = %5
br label %16
16: ; preds = %.lr.ph, %17
br label %17
17: ; preds = %16
%18 = load i32, ptr %11, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %11, align 4
%20 = load i32, ptr %11, align 4
%21 = load i32, ptr %10, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %23
23: ; preds = %._crit_edge, %5
%24 = load ptr, ptr %8, align 8
%25 = load i32, ptr %9, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds ptr, ptr %24, i64 %26
%28 = load ptr, ptr %6, align 8
%29 = load i32, ptr %7, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds ptr, ptr %28, i64 %30
%32 = load i32, ptr %10, align 4
%33 = sext i32 %32 to i64
%34 = mul i64 %33, 8
%35 = call i32 @memcpy(ptr noundef %27, ptr noundef %31, i64 noundef %34)
store i32 0, ptr %12, align 4
%36 = load i32, ptr %12, align 4
%37 = load i32, ptr %10, align 4
%38 = icmp slt i32 %36, %37
br i1 %38, label %.lr.ph2, label %46
.lr.ph2: ; preds = %23
br label %39
39: ; preds = %.lr.ph2, %40
br label %40
40: ; preds = %39
%41 = load i32, ptr %12, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %12, align 4
%43 = load i32, ptr %12, align 4
%44 = load i32, ptr %10, align 4
%45 = icmp slt i32 %43, %44
br i1 %45, label %39, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %40
br label %46
46: ; preds = %._crit_edge3, %23
ret void
}
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp3zpkpijq.c'
source_filename = "/tmp/tmp3zpkpijq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [24 x i8] c"%s: bad HEX record: %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"%s: too short hex line\0A\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"%s: bad HEX checksum\0A\00", align 1
@.str.4 = private unnamed_addr constant [46 x i8] c"%s: invalid HEX linear address record length\0A\00", align 1
@.str.5 = private unnamed_addr constant [33 x i8] c"%s: unknown HEX record type: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @read_hex(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [256 x i8], align 16
%6 = alloca [16 x i8], align 16
%7 = alloca i8, align 1
%8 = alloca i8, align 1
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%13 = load ptr, ptr %3, align 8
%14 = call ptr @fopen(ptr noundef %13, ptr noundef @.str)
store ptr %14, ptr %4, align 8
%15 = load ptr, ptr %4, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %21, label %17
17: ; preds = %1
%18 = load ptr, ptr %3, align 8
%19 = call i32 @perror(ptr noundef %18)
%20 = call i32 @exit(i32 noundef 1) #3
unreachable
21: ; preds = %1
store i32 0, ptr %10, align 4
br label %22
22: ; preds = %572, %536, %145, %32, %21
%23 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%24 = load ptr, ptr %4, align 8
%25 = call i64 @fgets(ptr noundef %23, i32 noundef 256, ptr noundef %24)
%26 = icmp ne i64 %25, 0
br i1 %26, label %27, label %573
27: ; preds = %22
%28 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%29 = load i8, ptr %28, align 16
%30 = zext i8 %29 to i32
%31 = icmp eq i32 %30, 10
br i1 %31, label %32, label %33
32: ; preds = %27
br label %22, !llvm.loop !6
33: ; preds = %27
%34 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%35 = load i8, ptr %34, align 16
%36 = zext i8 %35 to i32
%37 = icmp ne i32 %36, 58
br i1 %37, label %38, label %41
38: ; preds = %33
%39 = load ptr, ptr %4, align 8
%40 = call i32 @fclose(ptr noundef %39)
store i32 0, ptr %2, align 4
br label %576
41: ; preds = %33
%42 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 1
%43 = load i8, ptr %42, align 1
%44 = call i32 @isxdigit(i8 noundef zeroext %43)
%45 = icmp ne i32 %44, 0
br i1 %45, label %46, label %81
46: ; preds = %41
%47 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 2
%48 = load i8, ptr %47, align 2
%49 = call i32 @isxdigit(i8 noundef zeroext %48)
%50 = icmp ne i32 %49, 0
br i1 %50, label %51, label %81
51: ; preds = %46
%52 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 3
%53 = load i8, ptr %52, align 1
%54 = call i32 @isxdigit(i8 noundef zeroext %53)
%55 = icmp ne i32 %54, 0
br i1 %55, label %56, label %81
56: ; preds = %51
%57 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 4
%58 = load i8, ptr %57, align 4
%59 = call i32 @isxdigit(i8 noundef zeroext %58)
%60 = icmp ne i32 %59, 0
br i1 %60, label %61, label %81
61: ; preds = %56
%62 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 5
%63 = load i8, ptr %62, align 1
%64 = call i32 @isxdigit(i8 noundef zeroext %63)
%65 = icmp ne i32 %64, 0
br i1 %65, label %66, label %81
66: ; preds = %61
%67 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 6
%68 = load i8, ptr %67, align 2
%69 = call i32 @isxdigit(i8 noundef zeroext %68)
%70 = icmp ne i32 %69, 0
br i1 %70, label %71, label %81
71: ; preds = %66
%72 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 7
%73 = load i8, ptr %72, align 1
%74 = call i32 @isxdigit(i8 noundef zeroext %73)
%75 = icmp ne i32 %74, 0
br i1 %75, label %76, label %81
76: ; preds = %71
%77 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 8
%78 = load i8, ptr %77, align 8
%79 = call i32 @isxdigit(i8 noundef zeroext %78)
%80 = icmp ne i32 %79, 0
br i1 %80, label %87, label %81
81: ; preds = %76, %71, %66, %61, %56, %51, %46, %41
%82 = load i32, ptr @stderr, align 4
%83 = load ptr, ptr %3, align 8
%84 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%85 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %82, ptr noundef @.str.1, ptr noundef %83, ptr noundef %84)
%86 = call i32 @exit(i32 noundef 1) #3
unreachable
87: ; preds = %76
%88 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%89 = getelementptr inbounds i8, ptr %88, i64 7
%90 = getelementptr inbounds i8, ptr %89, i64 0
%91 = load i8, ptr %90, align 1
%92 = call i64 @isdigit(i8 noundef zeroext %91)
%93 = icmp ne i64 %92, 0
br i1 %93, label %94, label %101
94: ; preds = %87
%95 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%96 = getelementptr inbounds i8, ptr %95, i64 7
%97 = getelementptr inbounds i8, ptr %96, i64 0
%98 = load i8, ptr %97, align 1
%99 = zext i8 %98 to i32
%100 = sub nsw i32 %99, 48
br label %109
101: ; preds = %87
%102 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%103 = getelementptr inbounds i8, ptr %102, i64 7
%104 = getelementptr inbounds i8, ptr %103, i64 0
%105 = load i8, ptr %104, align 1
%106 = call i32 @tolower(i8 noundef zeroext %105)
%107 = add nsw i32 %106, 10
%108 = sub nsw i32 %107, 97
br label %109
109: ; preds = %101, %94
%110 = phi i32 [ %100, %94 ], [ %108, %101 ]
%111 = shl i32 %110, 4
%112 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%113 = getelementptr inbounds i8, ptr %112, i64 7
%114 = getelementptr inbounds i8, ptr %113, i64 1
%115 = load i8, ptr %114, align 1
%116 = call i64 @isdigit(i8 noundef zeroext %115)
%117 = icmp ne i64 %116, 0
br i1 %117, label %118, label %125
118: ; preds = %109
%119 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%120 = getelementptr inbounds i8, ptr %119, i64 7
%121 = getelementptr inbounds i8, ptr %120, i64 1
%122 = load i8, ptr %121, align 1
%123 = zext i8 %122 to i32
%124 = sub nsw i32 %123, 48
br label %133
125: ; preds = %109
%126 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%127 = getelementptr inbounds i8, ptr %126, i64 7
%128 = getelementptr inbounds i8, ptr %127, i64 1
%129 = load i8, ptr %128, align 1
%130 = call i32 @tolower(i8 noundef zeroext %129)
%131 = add nsw i32 %130, 10
%132 = sub nsw i32 %131, 97
br label %133
133: ; preds = %125, %118
%134 = phi i32 [ %124, %118 ], [ %132, %125 ]
%135 = add nsw i32 %111, %134
%136 = trunc i32 %135 to i8
store i8 %136, ptr %7, align 1
%137 = load i8, ptr %7, align 1
%138 = zext i8 %137 to i32
%139 = icmp eq i32 %138, 1
br i1 %139, label %140, label %141
140: ; preds = %133
br label %573
141: ; preds = %133
%142 = load i8, ptr %7, align 1
%143 = zext i8 %142 to i32
%144 = icmp eq i32 %143, 5
br i1 %144, label %145, label %146
145: ; preds = %141
br label %22, !llvm.loop !6
146: ; preds = %141
%147 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%148 = getelementptr inbounds i8, ptr %147, i64 1
%149 = getelementptr inbounds i8, ptr %148, i64 0
%150 = load i8, ptr %149, align 1
%151 = call i64 @isdigit(i8 noundef zeroext %150)
%152 = icmp ne i64 %151, 0
br i1 %152, label %153, label %160
153: ; preds = %146
%154 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%155 = getelementptr inbounds i8, ptr %154, i64 1
%156 = getelementptr inbounds i8, ptr %155, i64 0
%157 = load i8, ptr %156, align 1
%158 = zext i8 %157 to i32
%159 = sub nsw i32 %158, 48
br label %168
160: ; preds = %146
%161 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%162 = getelementptr inbounds i8, ptr %161, i64 1
%163 = getelementptr inbounds i8, ptr %162, i64 0
%164 = load i8, ptr %163, align 1
%165 = call i32 @tolower(i8 noundef zeroext %164)
%166 = add nsw i32 %165, 10
%167 = sub nsw i32 %166, 97
br label %168
168: ; preds = %160, %153
%169 = phi i32 [ %159, %153 ], [ %167, %160 ]
%170 = shl i32 %169, 4
%171 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%172 = getelementptr inbounds i8, ptr %171, i64 1
%173 = getelementptr inbounds i8, ptr %172, i64 1
%174 = load i8, ptr %173, align 1
%175 = call i64 @isdigit(i8 noundef zeroext %174)
%176 = icmp ne i64 %175, 0
br i1 %176, label %177, label %184
177: ; preds = %168
%178 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%179 = getelementptr inbounds i8, ptr %178, i64 1
%180 = getelementptr inbounds i8, ptr %179, i64 1
%181 = load i8, ptr %180, align 1
%182 = zext i8 %181 to i32
%183 = sub nsw i32 %182, 48
br label %192
184: ; preds = %168
%185 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%186 = getelementptr inbounds i8, ptr %185, i64 1
%187 = getelementptr inbounds i8, ptr %186, i64 1
%188 = load i8, ptr %187, align 1
%189 = call i32 @tolower(i8 noundef zeroext %188)
%190 = add nsw i32 %189, 10
%191 = sub nsw i32 %190, 97
br label %192
192: ; preds = %184, %177
%193 = phi i32 [ %183, %177 ], [ %191, %184 ]
%194 = add nsw i32 %170, %193
store i32 %194, ptr %11, align 4
%195 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%196 = call i32 @strlen(ptr noundef %195)
%197 = load i32, ptr %11, align 4
%198 = mul nsw i32 %197, 2
%199 = add nsw i32 %198, 11
%200 = icmp slt i32 %196, %199
br i1 %200, label %201, label %206
201: ; preds = %192
%202 = load i32, ptr @stderr, align 4
%203 = load ptr, ptr %3, align 8
%204 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %202, ptr noundef @.str.2, ptr noundef %203)
%205 = call i32 @exit(i32 noundef 1) #3
unreachable
206: ; preds = %192
%207 = load i32, ptr %10, align 4
%208 = shl i32 %207, 16
%209 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%210 = getelementptr inbounds i8, ptr %209, i64 3
%211 = getelementptr inbounds i8, ptr %210, i64 0
%212 = load i8, ptr %211, align 1
%213 = call i64 @isdigit(i8 noundef zeroext %212)
%214 = icmp ne i64 %213, 0
br i1 %214, label %215, label %222
215: ; preds = %206
%216 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%217 = getelementptr inbounds i8, ptr %216, i64 3
%218 = getelementptr inbounds i8, ptr %217, i64 0
%219 = load i8, ptr %218, align 1
%220 = zext i8 %219 to i32
%221 = sub nsw i32 %220, 48
br label %230
222: ; preds = %206
%223 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%224 = getelementptr inbounds i8, ptr %223, i64 3
%225 = getelementptr inbounds i8, ptr %224, i64 0
%226 = load i8, ptr %225, align 1
%227 = call i32 @tolower(i8 noundef zeroext %226)
%228 = add nsw i32 %227, 10
%229 = sub nsw i32 %228, 97
br label %230
230: ; preds = %222, %215
%231 = phi i32 [ %221, %215 ], [ %229, %222 ]
%232 = shl i32 %231, 4
%233 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%234 = getelementptr inbounds i8, ptr %233, i64 3
%235 = getelementptr inbounds i8, ptr %234, i64 1
%236 = load i8, ptr %235, align 1
%237 = call i64 @isdigit(i8 noundef zeroext %236)
%238 = icmp ne i64 %237, 0
br i1 %238, label %239, label %246
239: ; preds = %230
%240 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%241 = getelementptr inbounds i8, ptr %240, i64 3
%242 = getelementptr inbounds i8, ptr %241, i64 1
%243 = load i8, ptr %242, align 1
%244 = zext i8 %243 to i32
%245 = sub nsw i32 %244, 48
br label %254
246: ; preds = %230
%247 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%248 = getelementptr inbounds i8, ptr %247, i64 3
%249 = getelementptr inbounds i8, ptr %248, i64 1
%250 = load i8, ptr %249, align 1
%251 = call i32 @tolower(i8 noundef zeroext %250)
%252 = add nsw i32 %251, 10
%253 = sub nsw i32 %252, 97
br label %254
254: ; preds = %246, %239
%255 = phi i32 [ %245, %239 ], [ %253, %246 ]
%256 = add nsw i32 %232, %255
%257 = shl i32 %256, 8
%258 = or i32 %208, %257
%259 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%260 = getelementptr inbounds i8, ptr %259, i64 5
%261 = getelementptr inbounds i8, ptr %260, i64 0
%262 = load i8, ptr %261, align 1
%263 = call i64 @isdigit(i8 noundef zeroext %262)
%264 = icmp ne i64 %263, 0
br i1 %264, label %265, label %272
265: ; preds = %254
%266 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%267 = getelementptr inbounds i8, ptr %266, i64 5
%268 = getelementptr inbounds i8, ptr %267, i64 0
%269 = load i8, ptr %268, align 1
%270 = zext i8 %269 to i32
%271 = sub nsw i32 %270, 48
br label %280
272: ; preds = %254
%273 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%274 = getelementptr inbounds i8, ptr %273, i64 5
%275 = getelementptr inbounds i8, ptr %274, i64 0
%276 = load i8, ptr %275, align 1
%277 = call i32 @tolower(i8 noundef zeroext %276)
%278 = add nsw i32 %277, 10
%279 = sub nsw i32 %278, 97
br label %280
280: ; preds = %272, %265
%281 = phi i32 [ %271, %265 ], [ %279, %272 ]
%282 = shl i32 %281, 4
%283 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%284 = getelementptr inbounds i8, ptr %283, i64 5
%285 = getelementptr inbounds i8, ptr %284, i64 1
%286 = load i8, ptr %285, align 1
%287 = call i64 @isdigit(i8 noundef zeroext %286)
%288 = icmp ne i64 %287, 0
br i1 %288, label %289, label %296
289: ; preds = %280
%290 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%291 = getelementptr inbounds i8, ptr %290, i64 5
%292 = getelementptr inbounds i8, ptr %291, i64 1
%293 = load i8, ptr %292, align 1
%294 = zext i8 %293 to i32
%295 = sub nsw i32 %294, 48
br label %304
296: ; preds = %280
%297 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%298 = getelementptr inbounds i8, ptr %297, i64 5
%299 = getelementptr inbounds i8, ptr %298, i64 1
%300 = load i8, ptr %299, align 1
%301 = call i32 @tolower(i8 noundef zeroext %300)
%302 = add nsw i32 %301, 10
%303 = sub nsw i32 %302, 97
br label %304
304: ; preds = %296, %289
%305 = phi i32 [ %295, %289 ], [ %303, %296 ]
%306 = add nsw i32 %282, %305
%307 = or i32 %258, %306
store i32 %307, ptr %9, align 4
store i8 0, ptr %8, align 1
store i32 0, ptr %12, align 4
br label %308
308: ; preds = %410, %304
%309 = load i32, ptr %12, align 4
%310 = load i32, ptr %11, align 4
%311 = icmp slt i32 %309, %310
br i1 %311, label %312, label %413
312: ; preds = %308
%313 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%314 = getelementptr inbounds i8, ptr %313, i64 9
%315 = load i32, ptr %12, align 4
%316 = sext i32 %315 to i64
%317 = getelementptr inbounds i8, ptr %314, i64 %316
%318 = load i32, ptr %12, align 4
%319 = sext i32 %318 to i64
%320 = getelementptr inbounds i8, ptr %317, i64 %319
%321 = getelementptr inbounds i8, ptr %320, i64 0
%322 = load i8, ptr %321, align 1
%323 = call i64 @isdigit(i8 noundef zeroext %322)
%324 = icmp ne i64 %323, 0
br i1 %324, label %325, label %338
325: ; preds = %312
%326 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%327 = getelementptr inbounds i8, ptr %326, i64 9
%328 = load i32, ptr %12, align 4
%329 = sext i32 %328 to i64
%330 = getelementptr inbounds i8, ptr %327, i64 %329
%331 = load i32, ptr %12, align 4
%332 = sext i32 %331 to i64
%333 = getelementptr inbounds i8, ptr %330, i64 %332
%334 = getelementptr inbounds i8, ptr %333, i64 0
%335 = load i8, ptr %334, align 1
%336 = zext i8 %335 to i32
%337 = sub nsw i32 %336, 48
br label %352
338: ; preds = %312
%339 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%340 = getelementptr inbounds i8, ptr %339, i64 9
%341 = load i32, ptr %12, align 4
%342 = sext i32 %341 to i64
%343 = getelementptr inbounds i8, ptr %340, i64 %342
%344 = load i32, ptr %12, align 4
%345 = sext i32 %344 to i64
%346 = getelementptr inbounds i8, ptr %343, i64 %345
%347 = getelementptr inbounds i8, ptr %346, i64 0
%348 = load i8, ptr %347, align 1
%349 = call i32 @tolower(i8 noundef zeroext %348)
%350 = add nsw i32 %349, 10
%351 = sub nsw i32 %350, 97
br label %352
352: ; preds = %338, %325
%353 = phi i32 [ %337, %325 ], [ %351, %338 ]
%354 = shl i32 %353, 4
%355 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%356 = getelementptr inbounds i8, ptr %355, i64 9
%357 = load i32, ptr %12, align 4
%358 = sext i32 %357 to i64
%359 = getelementptr inbounds i8, ptr %356, i64 %358
%360 = load i32, ptr %12, align 4
%361 = sext i32 %360 to i64
%362 = getelementptr inbounds i8, ptr %359, i64 %361
%363 = getelementptr inbounds i8, ptr %362, i64 1
%364 = load i8, ptr %363, align 1
%365 = call i64 @isdigit(i8 noundef zeroext %364)
%366 = icmp ne i64 %365, 0
br i1 %366, label %367, label %380
367: ; preds = %352
%368 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%369 = getelementptr inbounds i8, ptr %368, i64 9
%370 = load i32, ptr %12, align 4
%371 = sext i32 %370 to i64
%372 = getelementptr inbounds i8, ptr %369, i64 %371
%373 = load i32, ptr %12, align 4
%374 = sext i32 %373 to i64
%375 = getelementptr inbounds i8, ptr %372, i64 %374
%376 = getelementptr inbounds i8, ptr %375, i64 1
%377 = load i8, ptr %376, align 1
%378 = zext i8 %377 to i32
%379 = sub nsw i32 %378, 48
br label %394
380: ; preds = %352
%381 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%382 = getelementptr inbounds i8, ptr %381, i64 9
%383 = load i32, ptr %12, align 4
%384 = sext i32 %383 to i64
%385 = getelementptr inbounds i8, ptr %382, i64 %384
%386 = load i32, ptr %12, align 4
%387 = sext i32 %386 to i64
%388 = getelementptr inbounds i8, ptr %385, i64 %387
%389 = getelementptr inbounds i8, ptr %388, i64 1
%390 = load i8, ptr %389, align 1
%391 = call i32 @tolower(i8 noundef zeroext %390)
%392 = add nsw i32 %391, 10
%393 = sub nsw i32 %392, 97
br label %394
394: ; preds = %380, %367
%395 = phi i32 [ %379, %367 ], [ %393, %380 ]
%396 = add nsw i32 %354, %395
%397 = trunc i32 %396 to i8
%398 = load i32, ptr %12, align 4
%399 = sext i32 %398 to i64
%400 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 %399
store i8 %397, ptr %400, align 1
%401 = load i32, ptr %12, align 4
%402 = sext i32 %401 to i64
%403 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 %402
%404 = load i8, ptr %403, align 1
%405 = zext i8 %404 to i32
%406 = load i8, ptr %8, align 1
%407 = zext i8 %406 to i32
%408 = add nsw i32 %407, %405
%409 = trunc i32 %408 to i8
store i8 %409, ptr %8, align 1
br label %410
410: ; preds = %394
%411 = load i32, ptr %12, align 4
%412 = add nsw i32 %411, 1
store i32 %412, ptr %12, align 4
br label %308, !llvm.loop !8
413: ; preds = %308
%414 = load i8, ptr %7, align 1
%415 = zext i8 %414 to i32
%416 = load i32, ptr %11, align 4
%417 = add nsw i32 %415, %416
%418 = load i32, ptr %9, align 4
%419 = and i32 %418, 255
%420 = add i32 %417, %419
%421 = load i32, ptr %9, align 4
%422 = lshr i32 %421, 8
%423 = and i32 %422, 255
%424 = add i32 %420, %423
%425 = load i8, ptr %8, align 1
%426 = zext i8 %425 to i32
%427 = add i32 %426, %424
%428 = trunc i32 %427 to i8
store i8 %428, ptr %8, align 1
%429 = load i8, ptr %8, align 1
%430 = zext i8 %429 to i32
%431 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%432 = getelementptr inbounds i8, ptr %431, i64 9
%433 = load i32, ptr %11, align 4
%434 = sext i32 %433 to i64
%435 = getelementptr inbounds i8, ptr %432, i64 %434
%436 = load i32, ptr %11, align 4
%437 = sext i32 %436 to i64
%438 = getelementptr inbounds i8, ptr %435, i64 %437
%439 = getelementptr inbounds i8, ptr %438, i64 0
%440 = load i8, ptr %439, align 1
%441 = call i64 @isdigit(i8 noundef zeroext %440)
%442 = icmp ne i64 %441, 0
br i1 %442, label %443, label %456
443: ; preds = %413
%444 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%445 = getelementptr inbounds i8, ptr %444, i64 9
%446 = load i32, ptr %11, align 4
%447 = sext i32 %446 to i64
%448 = getelementptr inbounds i8, ptr %445, i64 %447
%449 = load i32, ptr %11, align 4
%450 = sext i32 %449 to i64
%451 = getelementptr inbounds i8, ptr %448, i64 %450
%452 = getelementptr inbounds i8, ptr %451, i64 0
%453 = load i8, ptr %452, align 1
%454 = zext i8 %453 to i32
%455 = sub nsw i32 %454, 48
br label %470
456: ; preds = %413
%457 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%458 = getelementptr inbounds i8, ptr %457, i64 9
%459 = load i32, ptr %11, align 4
%460 = sext i32 %459 to i64
%461 = getelementptr inbounds i8, ptr %458, i64 %460
%462 = load i32, ptr %11, align 4
%463 = sext i32 %462 to i64
%464 = getelementptr inbounds i8, ptr %461, i64 %463
%465 = getelementptr inbounds i8, ptr %464, i64 0
%466 = load i8, ptr %465, align 1
%467 = call i32 @tolower(i8 noundef zeroext %466)
%468 = add nsw i32 %467, 10
%469 = sub nsw i32 %468, 97
br label %470
470: ; preds = %456, %443
%471 = phi i32 [ %455, %443 ], [ %469, %456 ]
%472 = shl i32 %471, 4
%473 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%474 = getelementptr inbounds i8, ptr %473, i64 9
%475 = load i32, ptr %11, align 4
%476 = sext i32 %475 to i64
%477 = getelementptr inbounds i8, ptr %474, i64 %476
%478 = load i32, ptr %11, align 4
%479 = sext i32 %478 to i64
%480 = getelementptr inbounds i8, ptr %477, i64 %479
%481 = getelementptr inbounds i8, ptr %480, i64 1
%482 = load i8, ptr %481, align 1
%483 = call i64 @isdigit(i8 noundef zeroext %482)
%484 = icmp ne i64 %483, 0
br i1 %484, label %485, label %498
485: ; preds = %470
%486 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%487 = getelementptr inbounds i8, ptr %486, i64 9
%488 = load i32, ptr %11, align 4
%489 = sext i32 %488 to i64
%490 = getelementptr inbounds i8, ptr %487, i64 %489
%491 = load i32, ptr %11, align 4
%492 = sext i32 %491 to i64
%493 = getelementptr inbounds i8, ptr %490, i64 %492
%494 = getelementptr inbounds i8, ptr %493, i64 1
%495 = load i8, ptr %494, align 1
%496 = zext i8 %495 to i32
%497 = sub nsw i32 %496, 48
br label %512
498: ; preds = %470
%499 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%500 = getelementptr inbounds i8, ptr %499, i64 9
%501 = load i32, ptr %11, align 4
%502 = sext i32 %501 to i64
%503 = getelementptr inbounds i8, ptr %500, i64 %502
%504 = load i32, ptr %11, align 4
%505 = sext i32 %504 to i64
%506 = getelementptr inbounds i8, ptr %503, i64 %505
%507 = getelementptr inbounds i8, ptr %506, i64 1
%508 = load i8, ptr %507, align 1
%509 = call i32 @tolower(i8 noundef zeroext %508)
%510 = add nsw i32 %509, 10
%511 = sub nsw i32 %510, 97
br label %512
512: ; preds = %498, %485
%513 = phi i32 [ %497, %485 ], [ %511, %498 ]
%514 = add nsw i32 %472, %513
%515 = sub nsw i32 0, %514
%516 = trunc i32 %515 to i8
%517 = zext i8 %516 to i32
%518 = icmp ne i32 %430, %517
br i1 %518, label %519, label %524
519: ; preds = %512
%520 = load i32, ptr @stderr, align 4
%521 = load ptr, ptr %3, align 8
%522 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %520, ptr noundef @.str.3, ptr noundef %521)
%523 = call i32 @exit(i32 noundef 1) #3
unreachable
524: ; preds = %512
%525 = load i8, ptr %7, align 1
%526 = zext i8 %525 to i32
%527 = icmp eq i32 %526, 4
br i1 %527, label %528, label %545
528: ; preds = %524
%529 = load i32, ptr %11, align 4
%530 = icmp ne i32 %529, 2
br i1 %530, label %531, label %536
531: ; preds = %528
%532 = load i32, ptr @stderr, align 4
%533 = load ptr, ptr %3, align 8
%534 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %532, ptr noundef @.str.4, ptr noundef %533)
%535 = call i32 @exit(i32 noundef 1) #3
unreachable
536: ; preds = %528
%537 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0
%538 = load i8, ptr %537, align 16
%539 = zext i8 %538 to i32
%540 = shl i32 %539, 8
%541 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 1
%542 = load i8, ptr %541, align 1
%543 = zext i8 %542 to i32
%544 = or i32 %540, %543
store i32 %544, ptr %10, align 4
br label %22, !llvm.loop !6
545: ; preds = %524
%546 = load i8, ptr %7, align 1
%547 = zext i8 %546 to i32
%548 = icmp ne i32 %547, 0
br i1 %548, label %549, label %556
549: ; preds = %545
%550 = load i32, ptr @stderr, align 4
%551 = load ptr, ptr %3, align 8
%552 = load i8, ptr %7, align 1
%553 = zext i8 %552 to i32
%554 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %550, ptr noundef @.str.5, ptr noundef %551, i32 noundef %553)
%555 = call i32 @exit(i32 noundef 1) #3
unreachable
556: ; preds = %545
store i32 0, ptr %12, align 4
br label %557
557: ; preds = %569, %556
%558 = load i32, ptr %12, align 4
%559 = load i32, ptr %11, align 4
%560 = icmp slt i32 %558, %559
br i1 %560, label %561, label %572
561: ; preds = %557
%562 = load i32, ptr %9, align 4
%563 = add i32 %562, 1
store i32 %563, ptr %9, align 4
%564 = load i32, ptr %12, align 4
%565 = sext i32 %564 to i64
%566 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 %565
%567 = load i8, ptr %566, align 1
%568 = call i32 @store_data(i32 noundef %562, i8 noundef zeroext %567)
br label %569
569: ; preds = %561
%570 = load i32, ptr %12, align 4
%571 = add nsw i32 %570, 1
store i32 %571, ptr %12, align 4
br label %557, !llvm.loop !9
572: ; preds = %557
br label %22, !llvm.loop !6
573: ; preds = %140, %22
%574 = load ptr, ptr %4, align 8
%575 = call i32 @fclose(ptr noundef %574)
store i32 1, ptr %2, align 4
br label %576
576: ; preds = %573, %38
%577 = load i32, ptr %2, align 4
ret i32 %577
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @isxdigit(i8 noundef zeroext) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ...) #1
declare i64 @isdigit(i8 noundef zeroext) #1
declare i32 @tolower(i8 noundef zeroext) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @store_data(i32 noundef, i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3zpkpijq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [24 x i8] c"%s: bad HEX record: %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"%s: too short hex line\0A\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"%s: bad HEX checksum\0A\00", align 1
@.str.4 = private unnamed_addr constant [46 x i8] c"%s: invalid HEX linear address record length\0A\00", align 1
@.str.5 = private unnamed_addr constant [33 x i8] c"%s: unknown HEX record type: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @read_hex(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [256 x i8], align 16
%6 = alloca [16 x i8], align 16
%7 = alloca i8, align 1
%8 = alloca i8, align 1
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%13 = load ptr, ptr %3, align 8
%14 = call ptr @fopen(ptr noundef %13, ptr noundef @.str)
store ptr %14, ptr %4, align 8
%15 = load ptr, ptr %4, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %21, label %17
17: ; preds = %1
%18 = load ptr, ptr %3, align 8
%19 = call i32 @perror(ptr noundef %18)
%20 = call i32 @exit(i32 noundef 1) #3
unreachable
21: ; preds = %1
store i32 0, ptr %10, align 4
%22 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%23 = load ptr, ptr %4, align 8
%24 = call i64 @fgets(ptr noundef %22, i32 noundef 256, ptr noundef %23)
%25 = icmp ne i64 %24, 0
br i1 %25, label %.lr.ph5, label %.loopexit
.lr.ph5: ; preds = %21
br label %26
26: ; preds = %.lr.ph5, %.backedge
%27 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%28 = load i8, ptr %27, align 16
%29 = zext i8 %28 to i32
%30 = icmp eq i32 %29, 10
br i1 %30, label %31, label %35
31: ; preds = %26
br label %.backedge
.backedge: ; preds = %31, %147, %540, %578
%32 = load ptr, ptr %4, align 8
%33 = call i64 @fgets(ptr noundef %22, i32 noundef 256, ptr noundef %32)
%34 = icmp ne i64 %33, 0
br i1 %34, label %26, label %..loopexit_crit_edge, !llvm.loop !6
35: ; preds = %26
%36 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%37 = load i8, ptr %36, align 16
%38 = zext i8 %37 to i32
%39 = icmp ne i32 %38, 58
br i1 %39, label %40, label %43
40: ; preds = %35
%41 = load ptr, ptr %4, align 8
%42 = call i32 @fclose(ptr noundef %41)
store i32 0, ptr %2, align 4
br label %582
43: ; preds = %35
%44 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 1
%45 = load i8, ptr %44, align 1
%46 = call i32 @isxdigit(i8 noundef zeroext %45)
%47 = icmp ne i32 %46, 0
br i1 %47, label %48, label %83
48: ; preds = %43
%49 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 2
%50 = load i8, ptr %49, align 2
%51 = call i32 @isxdigit(i8 noundef zeroext %50)
%52 = icmp ne i32 %51, 0
br i1 %52, label %53, label %83
53: ; preds = %48
%54 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 3
%55 = load i8, ptr %54, align 1
%56 = call i32 @isxdigit(i8 noundef zeroext %55)
%57 = icmp ne i32 %56, 0
br i1 %57, label %58, label %83
58: ; preds = %53
%59 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 4
%60 = load i8, ptr %59, align 4
%61 = call i32 @isxdigit(i8 noundef zeroext %60)
%62 = icmp ne i32 %61, 0
br i1 %62, label %63, label %83
63: ; preds = %58
%64 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 5
%65 = load i8, ptr %64, align 1
%66 = call i32 @isxdigit(i8 noundef zeroext %65)
%67 = icmp ne i32 %66, 0
br i1 %67, label %68, label %83
68: ; preds = %63
%69 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 6
%70 = load i8, ptr %69, align 2
%71 = call i32 @isxdigit(i8 noundef zeroext %70)
%72 = icmp ne i32 %71, 0
br i1 %72, label %73, label %83
73: ; preds = %68
%74 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 7
%75 = load i8, ptr %74, align 1
%76 = call i32 @isxdigit(i8 noundef zeroext %75)
%77 = icmp ne i32 %76, 0
br i1 %77, label %78, label %83
78: ; preds = %73
%79 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 8
%80 = load i8, ptr %79, align 8
%81 = call i32 @isxdigit(i8 noundef zeroext %80)
%82 = icmp ne i32 %81, 0
br i1 %82, label %89, label %83
83: ; preds = %78, %73, %68, %63, %58, %53, %48, %43
%84 = load i32, ptr @stderr, align 4
%85 = load ptr, ptr %3, align 8
%86 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%87 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %84, ptr noundef @.str.1, ptr noundef %85, ptr noundef %86)
%88 = call i32 @exit(i32 noundef 1) #3
unreachable
89: ; preds = %78
%90 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%91 = getelementptr inbounds i8, ptr %90, i64 7
%92 = getelementptr inbounds i8, ptr %91, i64 0
%93 = load i8, ptr %92, align 1
%94 = call i64 @isdigit(i8 noundef zeroext %93)
%95 = icmp ne i64 %94, 0
br i1 %95, label %96, label %103
96: ; preds = %89
%97 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%98 = getelementptr inbounds i8, ptr %97, i64 7
%99 = getelementptr inbounds i8, ptr %98, i64 0
%100 = load i8, ptr %99, align 1
%101 = zext i8 %100 to i32
%102 = sub nsw i32 %101, 48
br label %111
103: ; preds = %89
%104 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%105 = getelementptr inbounds i8, ptr %104, i64 7
%106 = getelementptr inbounds i8, ptr %105, i64 0
%107 = load i8, ptr %106, align 1
%108 = call i32 @tolower(i8 noundef zeroext %107)
%109 = add nsw i32 %108, 10
%110 = sub nsw i32 %109, 97
br label %111
111: ; preds = %103, %96
%112 = phi i32 [ %102, %96 ], [ %110, %103 ]
%113 = shl i32 %112, 4
%114 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%115 = getelementptr inbounds i8, ptr %114, i64 7
%116 = getelementptr inbounds i8, ptr %115, i64 1
%117 = load i8, ptr %116, align 1
%118 = call i64 @isdigit(i8 noundef zeroext %117)
%119 = icmp ne i64 %118, 0
br i1 %119, label %120, label %127
120: ; preds = %111
%121 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%122 = getelementptr inbounds i8, ptr %121, i64 7
%123 = getelementptr inbounds i8, ptr %122, i64 1
%124 = load i8, ptr %123, align 1
%125 = zext i8 %124 to i32
%126 = sub nsw i32 %125, 48
br label %135
127: ; preds = %111
%128 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%129 = getelementptr inbounds i8, ptr %128, i64 7
%130 = getelementptr inbounds i8, ptr %129, i64 1
%131 = load i8, ptr %130, align 1
%132 = call i32 @tolower(i8 noundef zeroext %131)
%133 = add nsw i32 %132, 10
%134 = sub nsw i32 %133, 97
br label %135
135: ; preds = %127, %120
%136 = phi i32 [ %126, %120 ], [ %134, %127 ]
%137 = add nsw i32 %113, %136
%138 = trunc i32 %137 to i8
store i8 %138, ptr %7, align 1
%139 = load i8, ptr %7, align 1
%140 = zext i8 %139 to i32
%141 = icmp eq i32 %140, 1
br i1 %141, label %142, label %143
142: ; preds = %135
br label %579
143: ; preds = %135
%144 = load i8, ptr %7, align 1
%145 = zext i8 %144 to i32
%146 = icmp eq i32 %145, 5
br i1 %146, label %147, label %148
147: ; preds = %143
br label %.backedge
148: ; preds = %143
%149 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%150 = getelementptr inbounds i8, ptr %149, i64 1
%151 = getelementptr inbounds i8, ptr %150, i64 0
%152 = load i8, ptr %151, align 1
%153 = call i64 @isdigit(i8 noundef zeroext %152)
%154 = icmp ne i64 %153, 0
br i1 %154, label %155, label %162
155: ; preds = %148
%156 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%157 = getelementptr inbounds i8, ptr %156, i64 1
%158 = getelementptr inbounds i8, ptr %157, i64 0
%159 = load i8, ptr %158, align 1
%160 = zext i8 %159 to i32
%161 = sub nsw i32 %160, 48
br label %170
162: ; preds = %148
%163 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%164 = getelementptr inbounds i8, ptr %163, i64 1
%165 = getelementptr inbounds i8, ptr %164, i64 0
%166 = load i8, ptr %165, align 1
%167 = call i32 @tolower(i8 noundef zeroext %166)
%168 = add nsw i32 %167, 10
%169 = sub nsw i32 %168, 97
br label %170
170: ; preds = %162, %155
%171 = phi i32 [ %161, %155 ], [ %169, %162 ]
%172 = shl i32 %171, 4
%173 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%174 = getelementptr inbounds i8, ptr %173, i64 1
%175 = getelementptr inbounds i8, ptr %174, i64 1
%176 = load i8, ptr %175, align 1
%177 = call i64 @isdigit(i8 noundef zeroext %176)
%178 = icmp ne i64 %177, 0
br i1 %178, label %179, label %186
179: ; preds = %170
%180 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%181 = getelementptr inbounds i8, ptr %180, i64 1
%182 = getelementptr inbounds i8, ptr %181, i64 1
%183 = load i8, ptr %182, align 1
%184 = zext i8 %183 to i32
%185 = sub nsw i32 %184, 48
br label %194
186: ; preds = %170
%187 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%188 = getelementptr inbounds i8, ptr %187, i64 1
%189 = getelementptr inbounds i8, ptr %188, i64 1
%190 = load i8, ptr %189, align 1
%191 = call i32 @tolower(i8 noundef zeroext %190)
%192 = add nsw i32 %191, 10
%193 = sub nsw i32 %192, 97
br label %194
194: ; preds = %186, %179
%195 = phi i32 [ %185, %179 ], [ %193, %186 ]
%196 = add nsw i32 %172, %195
store i32 %196, ptr %11, align 4
%197 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%198 = call i32 @strlen(ptr noundef %197)
%199 = load i32, ptr %11, align 4
%200 = mul nsw i32 %199, 2
%201 = add nsw i32 %200, 11
%202 = icmp slt i32 %198, %201
br i1 %202, label %203, label %208
203: ; preds = %194
%204 = load i32, ptr @stderr, align 4
%205 = load ptr, ptr %3, align 8
%206 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %204, ptr noundef @.str.2, ptr noundef %205)
%207 = call i32 @exit(i32 noundef 1) #3
unreachable
208: ; preds = %194
%209 = load i32, ptr %10, align 4
%210 = shl i32 %209, 16
%211 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%212 = getelementptr inbounds i8, ptr %211, i64 3
%213 = getelementptr inbounds i8, ptr %212, i64 0
%214 = load i8, ptr %213, align 1
%215 = call i64 @isdigit(i8 noundef zeroext %214)
%216 = icmp ne i64 %215, 0
br i1 %216, label %217, label %224
217: ; preds = %208
%218 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%219 = getelementptr inbounds i8, ptr %218, i64 3
%220 = getelementptr inbounds i8, ptr %219, i64 0
%221 = load i8, ptr %220, align 1
%222 = zext i8 %221 to i32
%223 = sub nsw i32 %222, 48
br label %232
224: ; preds = %208
%225 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%226 = getelementptr inbounds i8, ptr %225, i64 3
%227 = getelementptr inbounds i8, ptr %226, i64 0
%228 = load i8, ptr %227, align 1
%229 = call i32 @tolower(i8 noundef zeroext %228)
%230 = add nsw i32 %229, 10
%231 = sub nsw i32 %230, 97
br label %232
232: ; preds = %224, %217
%233 = phi i32 [ %223, %217 ], [ %231, %224 ]
%234 = shl i32 %233, 4
%235 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%236 = getelementptr inbounds i8, ptr %235, i64 3
%237 = getelementptr inbounds i8, ptr %236, i64 1
%238 = load i8, ptr %237, align 1
%239 = call i64 @isdigit(i8 noundef zeroext %238)
%240 = icmp ne i64 %239, 0
br i1 %240, label %241, label %248
241: ; preds = %232
%242 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%243 = getelementptr inbounds i8, ptr %242, i64 3
%244 = getelementptr inbounds i8, ptr %243, i64 1
%245 = load i8, ptr %244, align 1
%246 = zext i8 %245 to i32
%247 = sub nsw i32 %246, 48
br label %256
248: ; preds = %232
%249 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%250 = getelementptr inbounds i8, ptr %249, i64 3
%251 = getelementptr inbounds i8, ptr %250, i64 1
%252 = load i8, ptr %251, align 1
%253 = call i32 @tolower(i8 noundef zeroext %252)
%254 = add nsw i32 %253, 10
%255 = sub nsw i32 %254, 97
br label %256
256: ; preds = %248, %241
%257 = phi i32 [ %247, %241 ], [ %255, %248 ]
%258 = add nsw i32 %234, %257
%259 = shl i32 %258, 8
%260 = or i32 %210, %259
%261 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%262 = getelementptr inbounds i8, ptr %261, i64 5
%263 = getelementptr inbounds i8, ptr %262, i64 0
%264 = load i8, ptr %263, align 1
%265 = call i64 @isdigit(i8 noundef zeroext %264)
%266 = icmp ne i64 %265, 0
br i1 %266, label %267, label %274
267: ; preds = %256
%268 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%269 = getelementptr inbounds i8, ptr %268, i64 5
%270 = getelementptr inbounds i8, ptr %269, i64 0
%271 = load i8, ptr %270, align 1
%272 = zext i8 %271 to i32
%273 = sub nsw i32 %272, 48
br label %282
274: ; preds = %256
%275 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%276 = getelementptr inbounds i8, ptr %275, i64 5
%277 = getelementptr inbounds i8, ptr %276, i64 0
%278 = load i8, ptr %277, align 1
%279 = call i32 @tolower(i8 noundef zeroext %278)
%280 = add nsw i32 %279, 10
%281 = sub nsw i32 %280, 97
br label %282
282: ; preds = %274, %267
%283 = phi i32 [ %273, %267 ], [ %281, %274 ]
%284 = shl i32 %283, 4
%285 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%286 = getelementptr inbounds i8, ptr %285, i64 5
%287 = getelementptr inbounds i8, ptr %286, i64 1
%288 = load i8, ptr %287, align 1
%289 = call i64 @isdigit(i8 noundef zeroext %288)
%290 = icmp ne i64 %289, 0
br i1 %290, label %291, label %298
291: ; preds = %282
%292 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%293 = getelementptr inbounds i8, ptr %292, i64 5
%294 = getelementptr inbounds i8, ptr %293, i64 1
%295 = load i8, ptr %294, align 1
%296 = zext i8 %295 to i32
%297 = sub nsw i32 %296, 48
br label %306
298: ; preds = %282
%299 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%300 = getelementptr inbounds i8, ptr %299, i64 5
%301 = getelementptr inbounds i8, ptr %300, i64 1
%302 = load i8, ptr %301, align 1
%303 = call i32 @tolower(i8 noundef zeroext %302)
%304 = add nsw i32 %303, 10
%305 = sub nsw i32 %304, 97
br label %306
306: ; preds = %298, %291
%307 = phi i32 [ %297, %291 ], [ %305, %298 ]
%308 = add nsw i32 %284, %307
%309 = or i32 %260, %308
store i32 %309, ptr %9, align 4
store i8 0, ptr %8, align 1
store i32 0, ptr %12, align 4
%310 = load i32, ptr %12, align 4
%311 = load i32, ptr %11, align 4
%312 = icmp slt i32 %310, %311
br i1 %312, label %.lr.ph, label %417
.lr.ph: ; preds = %306
br label %313
313: ; preds = %.lr.ph, %411
%314 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%315 = getelementptr inbounds i8, ptr %314, i64 9
%316 = load i32, ptr %12, align 4
%317 = sext i32 %316 to i64
%318 = getelementptr inbounds i8, ptr %315, i64 %317
%319 = load i32, ptr %12, align 4
%320 = sext i32 %319 to i64
%321 = getelementptr inbounds i8, ptr %318, i64 %320
%322 = getelementptr inbounds i8, ptr %321, i64 0
%323 = load i8, ptr %322, align 1
%324 = call i64 @isdigit(i8 noundef zeroext %323)
%325 = icmp ne i64 %324, 0
br i1 %325, label %326, label %339
326: ; preds = %313
%327 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%328 = getelementptr inbounds i8, ptr %327, i64 9
%329 = load i32, ptr %12, align 4
%330 = sext i32 %329 to i64
%331 = getelementptr inbounds i8, ptr %328, i64 %330
%332 = load i32, ptr %12, align 4
%333 = sext i32 %332 to i64
%334 = getelementptr inbounds i8, ptr %331, i64 %333
%335 = getelementptr inbounds i8, ptr %334, i64 0
%336 = load i8, ptr %335, align 1
%337 = zext i8 %336 to i32
%338 = sub nsw i32 %337, 48
br label %353
339: ; preds = %313
%340 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%341 = getelementptr inbounds i8, ptr %340, i64 9
%342 = load i32, ptr %12, align 4
%343 = sext i32 %342 to i64
%344 = getelementptr inbounds i8, ptr %341, i64 %343
%345 = load i32, ptr %12, align 4
%346 = sext i32 %345 to i64
%347 = getelementptr inbounds i8, ptr %344, i64 %346
%348 = getelementptr inbounds i8, ptr %347, i64 0
%349 = load i8, ptr %348, align 1
%350 = call i32 @tolower(i8 noundef zeroext %349)
%351 = add nsw i32 %350, 10
%352 = sub nsw i32 %351, 97
br label %353
353: ; preds = %339, %326
%354 = phi i32 [ %338, %326 ], [ %352, %339 ]
%355 = shl i32 %354, 4
%356 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%357 = getelementptr inbounds i8, ptr %356, i64 9
%358 = load i32, ptr %12, align 4
%359 = sext i32 %358 to i64
%360 = getelementptr inbounds i8, ptr %357, i64 %359
%361 = load i32, ptr %12, align 4
%362 = sext i32 %361 to i64
%363 = getelementptr inbounds i8, ptr %360, i64 %362
%364 = getelementptr inbounds i8, ptr %363, i64 1
%365 = load i8, ptr %364, align 1
%366 = call i64 @isdigit(i8 noundef zeroext %365)
%367 = icmp ne i64 %366, 0
br i1 %367, label %368, label %381
368: ; preds = %353
%369 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%370 = getelementptr inbounds i8, ptr %369, i64 9
%371 = load i32, ptr %12, align 4
%372 = sext i32 %371 to i64
%373 = getelementptr inbounds i8, ptr %370, i64 %372
%374 = load i32, ptr %12, align 4
%375 = sext i32 %374 to i64
%376 = getelementptr inbounds i8, ptr %373, i64 %375
%377 = getelementptr inbounds i8, ptr %376, i64 1
%378 = load i8, ptr %377, align 1
%379 = zext i8 %378 to i32
%380 = sub nsw i32 %379, 48
br label %395
381: ; preds = %353
%382 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%383 = getelementptr inbounds i8, ptr %382, i64 9
%384 = load i32, ptr %12, align 4
%385 = sext i32 %384 to i64
%386 = getelementptr inbounds i8, ptr %383, i64 %385
%387 = load i32, ptr %12, align 4
%388 = sext i32 %387 to i64
%389 = getelementptr inbounds i8, ptr %386, i64 %388
%390 = getelementptr inbounds i8, ptr %389, i64 1
%391 = load i8, ptr %390, align 1
%392 = call i32 @tolower(i8 noundef zeroext %391)
%393 = add nsw i32 %392, 10
%394 = sub nsw i32 %393, 97
br label %395
395: ; preds = %381, %368
%396 = phi i32 [ %380, %368 ], [ %394, %381 ]
%397 = add nsw i32 %355, %396
%398 = trunc i32 %397 to i8
%399 = load i32, ptr %12, align 4
%400 = sext i32 %399 to i64
%401 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 %400
store i8 %398, ptr %401, align 1
%402 = load i32, ptr %12, align 4
%403 = sext i32 %402 to i64
%404 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 %403
%405 = load i8, ptr %404, align 1
%406 = zext i8 %405 to i32
%407 = load i8, ptr %8, align 1
%408 = zext i8 %407 to i32
%409 = add nsw i32 %408, %406
%410 = trunc i32 %409 to i8
store i8 %410, ptr %8, align 1
br label %411
411: ; preds = %395
%412 = load i32, ptr %12, align 4
%413 = add nsw i32 %412, 1
store i32 %413, ptr %12, align 4
%414 = load i32, ptr %12, align 4
%415 = load i32, ptr %11, align 4
%416 = icmp slt i32 %414, %415
br i1 %416, label %313, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %411
br label %417
417: ; preds = %._crit_edge, %306
%418 = load i8, ptr %7, align 1
%419 = zext i8 %418 to i32
%420 = load i32, ptr %11, align 4
%421 = add nsw i32 %419, %420
%422 = load i32, ptr %9, align 4
%423 = and i32 %422, 255
%424 = add i32 %421, %423
%425 = load i32, ptr %9, align 4
%426 = lshr i32 %425, 8
%427 = and i32 %426, 255
%428 = add i32 %424, %427
%429 = load i8, ptr %8, align 1
%430 = zext i8 %429 to i32
%431 = add i32 %430, %428
%432 = trunc i32 %431 to i8
store i8 %432, ptr %8, align 1
%433 = load i8, ptr %8, align 1
%434 = zext i8 %433 to i32
%435 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%436 = getelementptr inbounds i8, ptr %435, i64 9
%437 = load i32, ptr %11, align 4
%438 = sext i32 %437 to i64
%439 = getelementptr inbounds i8, ptr %436, i64 %438
%440 = load i32, ptr %11, align 4
%441 = sext i32 %440 to i64
%442 = getelementptr inbounds i8, ptr %439, i64 %441
%443 = getelementptr inbounds i8, ptr %442, i64 0
%444 = load i8, ptr %443, align 1
%445 = call i64 @isdigit(i8 noundef zeroext %444)
%446 = icmp ne i64 %445, 0
br i1 %446, label %447, label %460
447: ; preds = %417
%448 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%449 = getelementptr inbounds i8, ptr %448, i64 9
%450 = load i32, ptr %11, align 4
%451 = sext i32 %450 to i64
%452 = getelementptr inbounds i8, ptr %449, i64 %451
%453 = load i32, ptr %11, align 4
%454 = sext i32 %453 to i64
%455 = getelementptr inbounds i8, ptr %452, i64 %454
%456 = getelementptr inbounds i8, ptr %455, i64 0
%457 = load i8, ptr %456, align 1
%458 = zext i8 %457 to i32
%459 = sub nsw i32 %458, 48
br label %474
460: ; preds = %417
%461 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%462 = getelementptr inbounds i8, ptr %461, i64 9
%463 = load i32, ptr %11, align 4
%464 = sext i32 %463 to i64
%465 = getelementptr inbounds i8, ptr %462, i64 %464
%466 = load i32, ptr %11, align 4
%467 = sext i32 %466 to i64
%468 = getelementptr inbounds i8, ptr %465, i64 %467
%469 = getelementptr inbounds i8, ptr %468, i64 0
%470 = load i8, ptr %469, align 1
%471 = call i32 @tolower(i8 noundef zeroext %470)
%472 = add nsw i32 %471, 10
%473 = sub nsw i32 %472, 97
br label %474
474: ; preds = %460, %447
%475 = phi i32 [ %459, %447 ], [ %473, %460 ]
%476 = shl i32 %475, 4
%477 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%478 = getelementptr inbounds i8, ptr %477, i64 9
%479 = load i32, ptr %11, align 4
%480 = sext i32 %479 to i64
%481 = getelementptr inbounds i8, ptr %478, i64 %480
%482 = load i32, ptr %11, align 4
%483 = sext i32 %482 to i64
%484 = getelementptr inbounds i8, ptr %481, i64 %483
%485 = getelementptr inbounds i8, ptr %484, i64 1
%486 = load i8, ptr %485, align 1
%487 = call i64 @isdigit(i8 noundef zeroext %486)
%488 = icmp ne i64 %487, 0
br i1 %488, label %489, label %502
489: ; preds = %474
%490 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%491 = getelementptr inbounds i8, ptr %490, i64 9
%492 = load i32, ptr %11, align 4
%493 = sext i32 %492 to i64
%494 = getelementptr inbounds i8, ptr %491, i64 %493
%495 = load i32, ptr %11, align 4
%496 = sext i32 %495 to i64
%497 = getelementptr inbounds i8, ptr %494, i64 %496
%498 = getelementptr inbounds i8, ptr %497, i64 1
%499 = load i8, ptr %498, align 1
%500 = zext i8 %499 to i32
%501 = sub nsw i32 %500, 48
br label %516
502: ; preds = %474
%503 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%504 = getelementptr inbounds i8, ptr %503, i64 9
%505 = load i32, ptr %11, align 4
%506 = sext i32 %505 to i64
%507 = getelementptr inbounds i8, ptr %504, i64 %506
%508 = load i32, ptr %11, align 4
%509 = sext i32 %508 to i64
%510 = getelementptr inbounds i8, ptr %507, i64 %509
%511 = getelementptr inbounds i8, ptr %510, i64 1
%512 = load i8, ptr %511, align 1
%513 = call i32 @tolower(i8 noundef zeroext %512)
%514 = add nsw i32 %513, 10
%515 = sub nsw i32 %514, 97
br label %516
516: ; preds = %502, %489
%517 = phi i32 [ %501, %489 ], [ %515, %502 ]
%518 = add nsw i32 %476, %517
%519 = sub nsw i32 0, %518
%520 = trunc i32 %519 to i8
%521 = zext i8 %520 to i32
%522 = icmp ne i32 %434, %521
br i1 %522, label %523, label %528
523: ; preds = %516
%524 = load i32, ptr @stderr, align 4
%525 = load ptr, ptr %3, align 8
%526 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %524, ptr noundef @.str.3, ptr noundef %525)
%527 = call i32 @exit(i32 noundef 1) #3
unreachable
528: ; preds = %516
%529 = load i8, ptr %7, align 1
%530 = zext i8 %529 to i32
%531 = icmp eq i32 %530, 4
br i1 %531, label %532, label %549
532: ; preds = %528
%533 = load i32, ptr %11, align 4
%534 = icmp ne i32 %533, 2
br i1 %534, label %535, label %540
535: ; preds = %532
%536 = load i32, ptr @stderr, align 4
%537 = load ptr, ptr %3, align 8
%538 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %536, ptr noundef @.str.4, ptr noundef %537)
%539 = call i32 @exit(i32 noundef 1) #3
unreachable
540: ; preds = %532
%541 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0
%542 = load i8, ptr %541, align 16
%543 = zext i8 %542 to i32
%544 = shl i32 %543, 8
%545 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 1
%546 = load i8, ptr %545, align 1
%547 = zext i8 %546 to i32
%548 = or i32 %544, %547
store i32 %548, ptr %10, align 4
br label %.backedge
549: ; preds = %528
%550 = load i8, ptr %7, align 1
%551 = zext i8 %550 to i32
%552 = icmp ne i32 %551, 0
br i1 %552, label %553, label %560
553: ; preds = %549
%554 = load i32, ptr @stderr, align 4
%555 = load ptr, ptr %3, align 8
%556 = load i8, ptr %7, align 1
%557 = zext i8 %556 to i32
%558 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %554, ptr noundef @.str.5, ptr noundef %555, i32 noundef %557)
%559 = call i32 @exit(i32 noundef 1) #3
unreachable
560: ; preds = %549
store i32 0, ptr %12, align 4
%561 = load i32, ptr %12, align 4
%562 = load i32, ptr %11, align 4
%563 = icmp slt i32 %561, %562
br i1 %563, label %.lr.ph2, label %578
.lr.ph2: ; preds = %560
br label %564
564: ; preds = %.lr.ph2, %572
%565 = load i32, ptr %9, align 4
%566 = add i32 %565, 1
store i32 %566, ptr %9, align 4
%567 = load i32, ptr %12, align 4
%568 = sext i32 %567 to i64
%569 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 %568
%570 = load i8, ptr %569, align 1
%571 = call i32 @store_data(i32 noundef %565, i8 noundef zeroext %570)
br label %572
572: ; preds = %564
%573 = load i32, ptr %12, align 4
%574 = add nsw i32 %573, 1
store i32 %574, ptr %12, align 4
%575 = load i32, ptr %12, align 4
%576 = load i32, ptr %11, align 4
%577 = icmp slt i32 %575, %576
br i1 %577, label %564, label %._crit_edge3, !llvm.loop !9
._crit_edge3: ; preds = %572
br label %578
578: ; preds = %._crit_edge3, %560
br label %.backedge
..loopexit_crit_edge: ; preds = %.backedge
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %21
br label %579
579: ; preds = %.loopexit, %142
%580 = load ptr, ptr %4, align 8
%581 = call i32 @fclose(ptr noundef %580)
store i32 1, ptr %2, align 4
br label %582
582: ; preds = %579, %40
%583 = load i32, ptr %2, align 4
ret i32 %583
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @isxdigit(i8 noundef zeroext) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ...) #1
declare i64 @isdigit(i8 noundef zeroext) #1
declare i32 @tolower(i8 noundef zeroext) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @store_data(i32 noundef, i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpecihpgmp.c'
source_filename = "/tmp/tmpecihpgmp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"test\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"bla\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @str07(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store ptr @.str, ptr %5, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @strcat(ptr noundef %6, ptr noundef @.str.1)
%8 = load ptr, ptr %3, align 8
%9 = load ptr, ptr %5, align 8
%10 = call i32 @strcat(ptr noundef %8, ptr noundef %9)
%11 = load ptr, ptr %3, align 8
%12 = load ptr, ptr %4, align 8
%13 = call i32 @strcat(ptr noundef %11, ptr noundef %12)
%14 = load ptr, ptr %3, align 8
%15 = load ptr, ptr %4, align 8
%16 = call i32 @strcpy(ptr noundef %14, ptr noundef %15)
ret void
}
declare i32 @strcat(ptr noundef, ptr noundef) #1
declare i32 @strcpy(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/tmpecihpgmp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"test\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"bla\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @str07(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store ptr @.str, ptr %5, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @strcat(ptr noundef %6, ptr noundef @.str.1)
%8 = load ptr, ptr %3, align 8
%9 = load ptr, ptr %5, align 8
%10 = call i32 @strcat(ptr noundef %8, ptr noundef %9)
%11 = load ptr, ptr %3, align 8
%12 = load ptr, ptr %4, align 8
%13 = call i32 @strcat(ptr noundef %11, ptr noundef %12)
%14 = load ptr, ptr %3, align 8
%15 = load ptr, ptr %4, align 8
%16 = call i32 @strcpy(ptr noundef %14, ptr noundef %15)
ret void
}
declare i32 @strcat(ptr noundef, ptr noundef) #1
declare i32 @strcpy(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/tmpz45fv0yb.c'
source_filename = "/tmp/tmpz45fv0yb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @wrapc_filemtime(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca %struct.stat, align 4
store i32 %0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = call i64 @fstat(i32 noundef %5, ptr noundef %4)
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %11
8: ; preds = %1
%9 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0
%10 = load i32, ptr %9, align 4
store i32 %10, ptr %2, align 4
br label %12
11: ; preds = %1
store i32 -1, ptr %2, align 4
br label %12
12: ; preds = %11, %8
%13 = load i32, ptr %2, align 4
ret i32 %13
}
declare i64 @fstat(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/tmpz45fv0yb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @wrapc_filemtime(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca %struct.stat, align 4
store i32 %0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = call i64 @fstat(i32 noundef %5, ptr noundef %4)
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %11
8: ; preds = %1
%9 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0
%10 = load i32, ptr %9, align 4
store i32 %10, ptr %2, align 4
br label %12
11: ; preds = %1
store i32 -1, ptr %2, align 4
br label %12
12: ; preds = %11, %8
%13 = load i32, ptr %2, align 4
ret i32 %13
}
declare i64 @fstat(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/tmpyg3qswkr.c'
source_filename = "/tmp/tmpyg3qswkr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"[Mod(\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c",2^127-1),Mod(\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c",2^127-1)]\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printpoint(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 @printf(ptr noundef @.str)
%4 = load ptr, ptr %2, align 8
%5 = call i32 @printdouble(ptr noundef %4)
%6 = call i32 @printf(ptr noundef @.str.1)
%7 = load ptr, ptr %2, align 8
%8 = getelementptr inbounds double, ptr %7, i64 5
%9 = call i32 @printdouble(ptr noundef %8)
%10 = call i32 @printf(ptr noundef @.str.1)
%11 = load ptr, ptr %2, align 8
%12 = getelementptr inbounds double, ptr %11, i64 10
%13 = call i32 @printdouble(ptr noundef %12)
%14 = call i32 @printf(ptr noundef @.str.1)
%15 = load ptr, ptr %2, align 8
%16 = getelementptr inbounds double, ptr %15, i64 15
%17 = call i32 @printdouble(ptr noundef %16)
%18 = call i32 @printf(ptr noundef @.str.2)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @printdouble(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyg3qswkr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"[Mod(\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c",2^127-1),Mod(\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c",2^127-1)]\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printpoint(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 @printf(ptr noundef @.str)
%4 = load ptr, ptr %2, align 8
%5 = call i32 @printdouble(ptr noundef %4)
%6 = call i32 @printf(ptr noundef @.str.1)
%7 = load ptr, ptr %2, align 8
%8 = getelementptr inbounds double, ptr %7, i64 5
%9 = call i32 @printdouble(ptr noundef %8)
%10 = call i32 @printf(ptr noundef @.str.1)
%11 = load ptr, ptr %2, align 8
%12 = getelementptr inbounds double, ptr %11, i64 10
%13 = call i32 @printdouble(ptr noundef %12)
%14 = call i32 @printf(ptr noundef @.str.1)
%15 = load ptr, ptr %2, align 8
%16 = getelementptr inbounds double, ptr %15, i64 15
%17 = call i32 @printdouble(ptr noundef %16)
%18 = call i32 @printf(ptr noundef @.str.2)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @printdouble(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpoy9pbupd.c'
source_filename = "/tmp/tmpoy9pbupd.c"
target datalayout = "e-m:e-p270: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 = call i32 (...) @test_voidStack()
%7 = call i32 (...) @test_resetStack()
%8 = call i32 (...) @test_peekStack()
%9 = call i32 (...) @test_popStack()
%10 = call i32 (...) @test_lengthStack()
%11 = call i32 (...) @test_general()
%12 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %12
}
declare i32 @test_voidStack(...) #1
declare i32 @test_resetStack(...) #1
declare i32 @test_peekStack(...) #1
declare i32 @test_popStack(...) #1
declare i32 @test_lengthStack(...) #1
declare i32 @test_general(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpoy9pbupd.c"
target datalayout = "e-m:e-p270: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 = call i32 (...) @test_voidStack()
%7 = call i32 (...) @test_resetStack()
%8 = call i32 (...) @test_peekStack()
%9 = call i32 (...) @test_popStack()
%10 = call i32 (...) @test_lengthStack()
%11 = call i32 (...) @test_general()
%12 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %12
}
declare i32 @test_voidStack(...) #1
declare i32 @test_resetStack(...) #1
declare i32 @test_peekStack(...) #1
declare i32 @test_popStack(...) #1
declare i32 @test_lengthStack(...) #1
declare i32 @test_general(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkmts_0rp.c'
source_filename = "/tmp/tmpkmts_0rp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [46 x i8] c"Please enter 3 numbers separated by spaces > \00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"%d%d%d\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"%d is the median\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3, ptr noundef %4)
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %3, align 4
%9 = icmp sgt i32 %7, %8
br i1 %9, label %10, label %21
10: ; preds = %0
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr %4, align 4
%13 = icmp sgt i32 %11, %12
br i1 %13, label %14, label %21
14: ; preds = %10
%15 = load i32, ptr %3, align 4
%16 = load i32, ptr %4, align 4
%17 = icmp sgt i32 %15, %16
br i1 %17, label %18, label %21
18: ; preds = %14
%19 = load i32, ptr %3, align 4
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %19)
br label %111
21: ; preds = %14, %10, %0
%22 = load i32, ptr %2, align 4
%23 = load i32, ptr %3, align 4
%24 = icmp sgt i32 %22, %23
br i1 %24, label %25, label %36
25: ; preds = %21
%26 = load i32, ptr %2, align 4
%27 = load i32, ptr %4, align 4
%28 = icmp sgt i32 %26, %27
br i1 %28, label %29, label %36
29: ; preds = %25
%30 = load i32, ptr %4, align 4
%31 = load i32, ptr %3, align 4
%32 = icmp sgt i32 %30, %31
br i1 %32, label %33, label %36
33: ; preds = %29
%34 = load i32, ptr %4, align 4
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %34)
br label %110
36: ; preds = %29, %25, %21
%37 = load i32, ptr %3, align 4
%38 = load i32, ptr %2, align 4
%39 = icmp sgt i32 %37, %38
br i1 %39, label %40, label %51
40: ; preds = %36
%41 = load i32, ptr %3, align 4
%42 = load i32, ptr %4, align 4
%43 = icmp sgt i32 %41, %42
br i1 %43, label %44, label %51
44: ; preds = %40
%45 = load i32, ptr %4, align 4
%46 = load i32, ptr %2, align 4
%47 = icmp sgt i32 %45, %46
br i1 %47, label %48, label %51
48: ; preds = %44
%49 = load i32, ptr %4, align 4
%50 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %49)
br label %109
51: ; preds = %44, %40, %36
%52 = load i32, ptr %3, align 4
%53 = load i32, ptr %2, align 4
%54 = icmp sgt i32 %52, %53
br i1 %54, label %55, label %66
55: ; preds = %51
%56 = load i32, ptr %3, align 4
%57 = load i32, ptr %4, align 4
%58 = icmp sgt i32 %56, %57
br i1 %58, label %59, label %66
59: ; preds = %55
%60 = load i32, ptr %2, align 4
%61 = load i32, ptr %4, align 4
%62 = icmp sgt i32 %60, %61
br i1 %62, label %63, label %66
63: ; preds = %59
%64 = load i32, ptr %2, align 4
%65 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %64)
br label %108
66: ; preds = %59, %55, %51
%67 = load i32, ptr %4, align 4
%68 = load i32, ptr %2, align 4
%69 = icmp sgt i32 %67, %68
br i1 %69, label %70, label %81
70: ; preds = %66
%71 = load i32, ptr %4, align 4
%72 = load i32, ptr %3, align 4
%73 = icmp sgt i32 %71, %72
br i1 %73, label %74, label %81
74: ; preds = %70
%75 = load i32, ptr %2, align 4
%76 = load i32, ptr %3, align 4
%77 = icmp sgt i32 %75, %76
br i1 %77, label %78, label %81
78: ; preds = %74
%79 = load i32, ptr %2, align 4
%80 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %79)
br label %107
81: ; preds = %74, %70, %66
%82 = load i32, ptr %4, align 4
%83 = load i32, ptr %2, align 4
%84 = icmp sgt i32 %82, %83
br i1 %84, label %85, label %96
85: ; preds = %81
%86 = load i32, ptr %4, align 4
%87 = load i32, ptr %3, align 4
%88 = icmp sgt i32 %86, %87
br i1 %88, label %89, label %96
89: ; preds = %85
%90 = load i32, ptr %3, align 4
%91 = load i32, ptr %2, align 4
%92 = icmp sgt i32 %90, %91
br i1 %92, label %93, label %96
93: ; preds = %89
%94 = load i32, ptr %3, align 4
%95 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %94)
br label %106
96: ; preds = %89, %85, %81
%97 = load i32, ptr %3, align 4
store i32 %97, ptr %2, align 4
%98 = icmp ne i32 %97, 0
br i1 %98, label %99, label %105
99: ; preds = %96
%100 = load i32, ptr %4, align 4
store i32 %100, ptr %3, align 4
%101 = icmp ne i32 %100, 0
br i1 %101, label %102, label %105
102: ; preds = %99
%103 = load i32, ptr %2, align 4
%104 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %103)
br label %105
105: ; preds = %102, %99, %96
br label %106
106: ; preds = %105, %93
br label %107
107: ; preds = %106, %78
br label %108
108: ; preds = %107, %63
br label %109
109: ; preds = %108, %48
br label %110
110: ; preds = %109, %33
br label %111
111: ; preds = %110, %18
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(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/tmpkmts_0rp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [46 x i8] c"Please enter 3 numbers separated by spaces > \00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"%d%d%d\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"%d is the median\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3, ptr noundef %4)
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %3, align 4
%9 = icmp sgt i32 %7, %8
br i1 %9, label %10, label %21
10: ; preds = %0
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr %4, align 4
%13 = icmp sgt i32 %11, %12
br i1 %13, label %14, label %21
14: ; preds = %10
%15 = load i32, ptr %3, align 4
%16 = load i32, ptr %4, align 4
%17 = icmp sgt i32 %15, %16
br i1 %17, label %18, label %21
18: ; preds = %14
%19 = load i32, ptr %3, align 4
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %19)
br label %111
21: ; preds = %14, %10, %0
%22 = load i32, ptr %2, align 4
%23 = load i32, ptr %3, align 4
%24 = icmp sgt i32 %22, %23
br i1 %24, label %25, label %36
25: ; preds = %21
%26 = load i32, ptr %2, align 4
%27 = load i32, ptr %4, align 4
%28 = icmp sgt i32 %26, %27
br i1 %28, label %29, label %36
29: ; preds = %25
%30 = load i32, ptr %4, align 4
%31 = load i32, ptr %3, align 4
%32 = icmp sgt i32 %30, %31
br i1 %32, label %33, label %36
33: ; preds = %29
%34 = load i32, ptr %4, align 4
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %34)
br label %110
36: ; preds = %29, %25, %21
%37 = load i32, ptr %3, align 4
%38 = load i32, ptr %2, align 4
%39 = icmp sgt i32 %37, %38
br i1 %39, label %40, label %51
40: ; preds = %36
%41 = load i32, ptr %3, align 4
%42 = load i32, ptr %4, align 4
%43 = icmp sgt i32 %41, %42
br i1 %43, label %44, label %51
44: ; preds = %40
%45 = load i32, ptr %4, align 4
%46 = load i32, ptr %2, align 4
%47 = icmp sgt i32 %45, %46
br i1 %47, label %48, label %51
48: ; preds = %44
%49 = load i32, ptr %4, align 4
%50 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %49)
br label %109
51: ; preds = %44, %40, %36
%52 = load i32, ptr %3, align 4
%53 = load i32, ptr %2, align 4
%54 = icmp sgt i32 %52, %53
br i1 %54, label %55, label %66
55: ; preds = %51
%56 = load i32, ptr %3, align 4
%57 = load i32, ptr %4, align 4
%58 = icmp sgt i32 %56, %57
br i1 %58, label %59, label %66
59: ; preds = %55
%60 = load i32, ptr %2, align 4
%61 = load i32, ptr %4, align 4
%62 = icmp sgt i32 %60, %61
br i1 %62, label %63, label %66
63: ; preds = %59
%64 = load i32, ptr %2, align 4
%65 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %64)
br label %108
66: ; preds = %59, %55, %51
%67 = load i32, ptr %4, align 4
%68 = load i32, ptr %2, align 4
%69 = icmp sgt i32 %67, %68
br i1 %69, label %70, label %81
70: ; preds = %66
%71 = load i32, ptr %4, align 4
%72 = load i32, ptr %3, align 4
%73 = icmp sgt i32 %71, %72
br i1 %73, label %74, label %81
74: ; preds = %70
%75 = load i32, ptr %2, align 4
%76 = load i32, ptr %3, align 4
%77 = icmp sgt i32 %75, %76
br i1 %77, label %78, label %81
78: ; preds = %74
%79 = load i32, ptr %2, align 4
%80 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %79)
br label %107
81: ; preds = %74, %70, %66
%82 = load i32, ptr %4, align 4
%83 = load i32, ptr %2, align 4
%84 = icmp sgt i32 %82, %83
br i1 %84, label %85, label %96
85: ; preds = %81
%86 = load i32, ptr %4, align 4
%87 = load i32, ptr %3, align 4
%88 = icmp sgt i32 %86, %87
br i1 %88, label %89, label %96
89: ; preds = %85
%90 = load i32, ptr %3, align 4
%91 = load i32, ptr %2, align 4
%92 = icmp sgt i32 %90, %91
br i1 %92, label %93, label %96
93: ; preds = %89
%94 = load i32, ptr %3, align 4
%95 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %94)
br label %106
96: ; preds = %89, %85, %81
%97 = load i32, ptr %3, align 4
store i32 %97, ptr %2, align 4
%98 = icmp ne i32 %97, 0
br i1 %98, label %99, label %105
99: ; preds = %96
%100 = load i32, ptr %4, align 4
store i32 %100, ptr %3, align 4
%101 = icmp ne i32 %100, 0
br i1 %101, label %102, label %105
102: ; preds = %99
%103 = load i32, ptr %2, align 4
%104 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %103)
br label %105
105: ; preds = %102, %99, %96
br label %106
106: ; preds = %105, %93
br label %107
107: ; preds = %106, %78
br label %108
108: ; preds = %107, %63
br label %109
109: ; preds = %108, %48
br label %110
110: ; preds = %109, %33
br label %111
111: ; preds = %110, %18
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(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/tmp1k7qo0lw.c'
source_filename = "/tmp/tmp1k7qo0lw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"*\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"#\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
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%7 = load i32, ptr %2, align 4
%8 = sub nsw i32 %7, 2
store i32 %8, ptr %4, align 4
%9 = load i32, ptr %4, align 4
%10 = load i32, ptr %4, align 4
%11 = mul nsw i32 %9, %10
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %11)
%13 = load i32, ptr %2, align 4
store i32 %13, ptr %4, align 4
br label %14
14: ; preds = %75, %0
%15 = load i32, ptr %3, align 4
%16 = load i32, ptr %2, align 4
%17 = icmp sle i32 %15, %16
br i1 %17, label %18, label %76
18: ; preds = %14
%19 = load i32, ptr %3, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %3, align 4
%21 = load i32, ptr %4, align 4
%22 = add nsw i32 %21, -1
store i32 %22, ptr %4, align 4
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%24 = load i32, ptr %4, align 4
store i32 %24, ptr %5, align 4
br label %25
25: ; preds = %30, %18
%26 = load i32, ptr %5, align 4
%27 = icmp sge i32 %26, 1
br i1 %27, label %28, label %33
28: ; preds = %25
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %30
30: ; preds = %28
%31 = load i32, ptr %5, align 4
%32 = add nsw i32 %31, -1
store i32 %32, ptr %5, align 4
br label %25, !llvm.loop !6
33: ; preds = %25
%34 = load i32, ptr %3, align 4
%35 = icmp eq i32 %34, 1
br i1 %35, label %36, label %38
36: ; preds = %33
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %75
38: ; preds = %33
%39 = load i32, ptr %3, align 4
%40 = load i32, ptr %2, align 4
%41 = icmp eq i32 %39, %40
br i1 %41, label %42, label %55
42: ; preds = %38
%43 = load i32, ptr %2, align 4
%44 = mul nsw i32 %43, 2
%45 = sub nsw i32 %44, 1
store i32 %45, ptr %5, align 4
br label %46
46: ; preds = %51, %42
%47 = load i32, ptr %5, align 4
%48 = icmp sge i32 %47, 1
br i1 %48, label %49, label %54
49: ; preds = %46
%50 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %51
51: ; preds = %49
%52 = load i32, ptr %5, align 4
%53 = add nsw i32 %52, -1
store i32 %53, ptr %5, align 4
br label %46, !llvm.loop !8
54: ; preds = %46
br label %76
55: ; preds = %38
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%57 = load i32, ptr %3, align 4
%58 = add nsw i32 %57, -1
store i32 %58, ptr %3, align 4
%59 = load i32, ptr %3, align 4
%60 = mul nsw i32 %59, 2
%61 = sub nsw i32 %60, 1
store i32 %61, ptr %5, align 4
br label %62
62: ; preds = %67, %55
%63 = load i32, ptr %5, align 4
%64 = icmp sge i32 %63, 1
br i1 %64, label %65, label %70
65: ; preds = %62
%66 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %67
67: ; preds = %65
%68 = load i32, ptr %5, align 4
%69 = add nsw i32 %68, -1
store i32 %69, ptr %5, align 4
br label %62, !llvm.loop !9
70: ; preds = %62
%71 = load i32, ptr %3, align 4
%72 = add nsw i32 %71, 1
store i32 %72, ptr %3, align 4
%73 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %74
74: ; preds = %70
br label %75
75: ; preds = %74, %36
br label %14, !llvm.loop !10
76: ; preds = %54, %14
%77 = load i32, ptr %1, align 4
ret i32 %77
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1k7qo0lw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"*\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"#\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
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%7 = load i32, ptr %2, align 4
%8 = sub nsw i32 %7, 2
store i32 %8, ptr %4, align 4
%9 = load i32, ptr %4, align 4
%10 = load i32, ptr %4, align 4
%11 = mul nsw i32 %9, %10
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %11)
%13 = load i32, ptr %2, align 4
store i32 %13, ptr %4, align 4
%14 = load i32, ptr %3, align 4
%15 = load i32, ptr %2, align 4
%16 = icmp sle i32 %14, %15
br i1 %16, label %.lr.ph5, label %.loopexit
.lr.ph5: ; preds = %0
br label %17
17: ; preds = %.lr.ph5, %77
%18 = load i32, ptr %3, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %3, align 4
%20 = load i32, ptr %4, align 4
%21 = add nsw i32 %20, -1
store i32 %21, ptr %4, align 4
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%23 = load i32, ptr %4, align 4
store i32 %23, ptr %5, align 4
%24 = load i32, ptr %5, align 4
%25 = icmp sge i32 %24, 1
br i1 %25, label %.lr.ph, label %33
.lr.ph: ; preds = %17
br label %26
26: ; preds = %.lr.ph, %28
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %28
28: ; preds = %26
%29 = load i32, ptr %5, align 4
%30 = add nsw i32 %29, -1
store i32 %30, ptr %5, align 4
%31 = load i32, ptr %5, align 4
%32 = icmp sge i32 %31, 1
br i1 %32, label %26, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %28
br label %33
33: ; preds = %._crit_edge, %17
%34 = load i32, ptr %3, align 4
%35 = icmp eq i32 %34, 1
br i1 %35, label %36, label %38
36: ; preds = %33
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %77
38: ; preds = %33
%39 = load i32, ptr %3, align 4
%40 = load i32, ptr %2, align 4
%41 = icmp eq i32 %39, %40
br i1 %41, label %42, label %56
42: ; preds = %38
%43 = load i32, ptr %2, align 4
%44 = mul nsw i32 %43, 2
%45 = sub nsw i32 %44, 1
store i32 %45, ptr %5, align 4
%46 = load i32, ptr %5, align 4
%47 = icmp sge i32 %46, 1
br i1 %47, label %.lr.ph7, label %55
.lr.ph7: ; preds = %42
br label %48
48: ; preds = %.lr.ph7, %50
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %50
50: ; preds = %48
%51 = load i32, ptr %5, align 4
%52 = add nsw i32 %51, -1
store i32 %52, ptr %5, align 4
%53 = load i32, ptr %5, align 4
%54 = icmp sge i32 %53, 1
br i1 %54, label %48, label %._crit_edge8, !llvm.loop !8
._crit_edge8: ; preds = %50
br label %55
55: ; preds = %._crit_edge8, %42
br label %81
56: ; preds = %38
%57 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%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 = mul nsw i32 %60, 2
%62 = sub nsw i32 %61, 1
store i32 %62, ptr %5, align 4
%63 = load i32, ptr %5, align 4
%64 = icmp sge i32 %63, 1
br i1 %64, label %.lr.ph2, label %72
.lr.ph2: ; preds = %56
br label %65
65: ; preds = %.lr.ph2, %67
%66 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %67
67: ; preds = %65
%68 = load i32, ptr %5, align 4
%69 = add nsw i32 %68, -1
store i32 %69, ptr %5, align 4
%70 = load i32, ptr %5, align 4
%71 = icmp sge i32 %70, 1
br i1 %71, label %65, label %._crit_edge3, !llvm.loop !9
._crit_edge3: ; preds = %67
br label %72
72: ; preds = %._crit_edge3, %56
%73 = load i32, ptr %3, align 4
%74 = add nsw i32 %73, 1
store i32 %74, ptr %3, align 4
%75 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %76
76: ; preds = %72
br label %77
77: ; preds = %76, %36
%78 = load i32, ptr %3, align 4
%79 = load i32, ptr %2, align 4
%80 = icmp sle i32 %78, %79
br i1 %80, label %17, label %..loopexit_crit_edge, !llvm.loop !10
..loopexit_crit_edge: ; preds = %77
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %0
br label %81
81: ; preds = %.loopexit, %55
%82 = load i32, ptr %1, align 4
ret i32 %82
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpyux8qdyq.c'
source_filename = "/tmp/tmpyux8qdyq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@UINT_MAX = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [9 x i8] c"testing\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
store i32 0, ptr %6, align 4
br label %9
9: ; preds = %33, %2
%10 = load i32, ptr %6, align 4
%11 = load i32, ptr @UINT_MAX, align 4
%12 = icmp ult i32 %10, %11
br i1 %12, label %13, label %36
13: ; preds = %9
store i32 0, ptr %7, align 4
br label %14
14: ; preds = %29, %13
%15 = load i32, ptr %7, align 4
%16 = load i32, ptr @UINT_MAX, align 4
%17 = icmp ult i32 %15, %16
br i1 %17, label %18, label %32
18: ; preds = %14
store i32 0, ptr %8, align 4
br label %19
19: ; preds = %25, %18
%20 = load i32, ptr %8, align 4
%21 = load i32, ptr @UINT_MAX, align 4
%22 = icmp ult i32 %20, %21
br i1 %22, label %23, label %28
23: ; preds = %19
%24 = call i32 @printf(ptr noundef @.str)
br label %25
25: ; preds = %23
%26 = load i32, ptr %8, align 4
%27 = add i32 %26, 1
store i32 %27, ptr %8, align 4
br label %19, !llvm.loop !6
28: ; preds = %19
br label %29
29: ; preds = %28
%30 = load i32, ptr %7, align 4
%31 = add i32 %30, 1
store i32 %31, ptr %7, align 4
br label %14, !llvm.loop !8
32: ; preds = %14
br label %33
33: ; preds = %32
%34 = load i32, ptr %6, align 4
%35 = add i32 %34, 1
store i32 %35, ptr %6, align 4
br label %9, !llvm.loop !9
36: ; preds = %9
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyux8qdyq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@UINT_MAX = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [9 x i8] c"testing\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
store i32 0, ptr %6, align 4
%9 = load i32, ptr %6, align 4
%10 = load i32, ptr @UINT_MAX, align 4
%11 = icmp ult i32 %9, %10
br i1 %11, label %.lr.ph5, label %42
.lr.ph5: ; preds = %2
br label %12
12: ; preds = %.lr.ph5, %36
store i32 0, ptr %7, align 4
%13 = load i32, ptr %7, align 4
%14 = load i32, ptr @UINT_MAX, align 4
%15 = icmp ult i32 %13, %14
br i1 %15, label %.lr.ph2, label %35
.lr.ph2: ; preds = %12
br label %16
16: ; preds = %.lr.ph2, %29
store i32 0, ptr %8, align 4
%17 = load i32, ptr %8, align 4
%18 = load i32, ptr @UINT_MAX, align 4
%19 = icmp ult i32 %17, %18
br i1 %19, label %.lr.ph, label %28
.lr.ph: ; preds = %16
br label %20
20: ; preds = %.lr.ph, %22
%21 = call i32 @printf(ptr noundef @.str)
br label %22
22: ; preds = %20
%23 = load i32, ptr %8, align 4
%24 = add i32 %23, 1
store i32 %24, ptr %8, align 4
%25 = load i32, ptr %8, align 4
%26 = load i32, ptr @UINT_MAX, align 4
%27 = icmp ult i32 %25, %26
br i1 %27, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %28
28: ; preds = %._crit_edge, %16
br label %29
29: ; preds = %28
%30 = load i32, ptr %7, align 4
%31 = add i32 %30, 1
store i32 %31, ptr %7, align 4
%32 = load i32, ptr %7, align 4
%33 = load i32, ptr @UINT_MAX, align 4
%34 = icmp ult i32 %32, %33
br i1 %34, label %16, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %29
br label %35
35: ; preds = %._crit_edge3, %12
br label %36
36: ; preds = %35
%37 = load i32, ptr %6, align 4
%38 = add i32 %37, 1
store i32 %38, ptr %6, align 4
%39 = load i32, ptr %6, align 4
%40 = load i32, ptr @UINT_MAX, align 4
%41 = icmp ult i32 %39, %40
br i1 %41, label %12, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %36
br label %42
42: ; preds = %._crit_edge6, %2
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpp02hzwqv.c'
source_filename = "/tmp/tmpp02hzwqv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INADDR_ANY = dso_local global i32 0, align 4
@IPPROTO_TCP = dso_local global i32 0, align 4
@PF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@SOL_SOCKET = dso_local global i32 0, align 4
@SO_REUSEADDR = 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/tmpp02hzwqv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INADDR_ANY = dso_local global i32 0, align 4
@IPPROTO_TCP = dso_local global i32 0, align 4
@PF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@SOL_SOCKET = dso_local global i32 0, align 4
@SO_REUSEADDR = 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/tmp_amjzy9m.c'
source_filename = "/tmp/tmp_amjzy9m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [81 x i8] c"\0AUsage: To Select the Position: Row 1, Column 2:: Type on Terminal: 1 2 (enter)\0A\00", align 1
@.str.1 = private unnamed_addr constant [37 x i8] c"\0ASelect Your Choice: (ROWNO COLNO)\0A\0A\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
@.str.3 = private unnamed_addr constant [30 x i8] c"\0AInvalid User I/P, Try Again\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @user_play(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
%5 = call i32 @printf(ptr noundef @.str)
%6 = call i32 @printf(ptr noundef @.str.1)
%7 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %3, ptr noundef %4)
%8 = load ptr, ptr %2, align 8
%9 = load i32, ptr %3, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds ptr, ptr %8, i64 %10
%12 = load ptr, ptr %11, align 8
%13 = load i32, ptr %4, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i8, ptr %12, i64 %14
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp ne i32 %17, 79
br i1 %18, label %19, label %22
19: ; preds = %1
%20 = call i32 @printf(ptr noundef @.str.3)
%21 = load ptr, ptr %2, align 8
call void @user_play(ptr noundef %21)
br label %31
22: ; preds = %1
%23 = load ptr, ptr %2, align 8
%24 = load i32, ptr %3, 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 %4, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i8, ptr %27, i64 %29
store i8 88, ptr %30, align 1
br label %31
31: ; preds = %22, %19
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(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/tmp_amjzy9m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [81 x i8] c"\0AUsage: To Select the Position: Row 1, Column 2:: Type on Terminal: 1 2 (enter)\0A\00", align 1
@.str.1 = private unnamed_addr constant [37 x i8] c"\0ASelect Your Choice: (ROWNO COLNO)\0A\0A\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
@.str.3 = private unnamed_addr constant [30 x i8] c"\0AInvalid User I/P, Try Again\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @user_play(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
%5 = call i32 @printf(ptr noundef @.str)
%6 = call i32 @printf(ptr noundef @.str.1)
%7 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %3, ptr noundef %4)
%8 = load ptr, ptr %2, align 8
%9 = load i32, ptr %3, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds ptr, ptr %8, i64 %10
%12 = load ptr, ptr %11, align 8
%13 = load i32, ptr %4, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i8, ptr %12, i64 %14
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp ne i32 %17, 79
br i1 %18, label %19, label %22
19: ; preds = %1
%20 = call i32 @printf(ptr noundef @.str.3)
%21 = load ptr, ptr %2, align 8
call void @user_play(ptr noundef %21)
br label %31
22: ; preds = %1
%23 = load ptr, ptr %2, align 8
%24 = load i32, ptr %3, 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 %4, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i8, ptr %27, i64 %29
store i8 88, ptr %30, align 1
br label %31
31: ; preds = %22, %19
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(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/tmppvrlpw6c.c'
source_filename = "/tmp/tmppvrlpw6c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @foo()
%3 = call i32 (...) @have_a_very_merry_interrupt()
ret i32 0
}
declare i32 @foo(...) #1
declare i32 @have_a_very_merry_interrupt(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppvrlpw6c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @foo()
%3 = call i32 (...) @have_a_very_merry_interrupt()
ret i32 0
}
declare i32 @foo(...) #1
declare i32 @have_a_very_merry_interrupt(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpssew4m8s.c'
source_filename = "/tmp/tmpssew4m8s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gNewPtrClear(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = add nsw i32 %4, 8
%6 = call i64 @NewPtrClear(i32 noundef %5)
%7 = inttoptr i64 %6 to ptr
store ptr %7, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
ret ptr %8
}
declare i64 @NewPtrClear(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/tmpssew4m8s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gNewPtrClear(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = add nsw i32 %4, 8
%6 = call i64 @NewPtrClear(i32 noundef %5)
%7 = inttoptr i64 %6 to ptr
store ptr %7, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
ret ptr %8
}
declare i64 @NewPtrClear(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/tmpfc8dzcll.c'
source_filename = "/tmp/tmpfc8dzcll.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [169 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_isxdigit.c\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"isxdigit should be 0 for k\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isxdigit_0x6b() #0 {
%1 = call i64 @isxdigit(i32 noundef 107)
%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 540, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isxdigit(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/tmpfc8dzcll.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [169 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_isxdigit.c\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"isxdigit should be 0 for k\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isxdigit_0x6b() #0 {
%1 = call i64 @isxdigit(i32 noundef 107)
%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 540, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isxdigit(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"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.